@arcgis/core 5.2.0-next.15 → 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 (830) 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/{d9d4754062758789f186.js → 05016e5a1de384994001.js} +2 -2
  51. package/assets/esri/core/workers/chunks/05b6b2c0b76afb100e33.js +1 -0
  52. package/assets/esri/core/workers/chunks/{8927fb4aa68f7e541a39.js → 05d597dd117766beadd8.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{b045bffb4f2eb9203183.js → 05e1f1628a3726eca03d.js} +1 -1
  54. package/assets/esri/core/workers/chunks/0a52373c4ba652e0ee0f.js +1 -0
  55. package/assets/esri/core/workers/chunks/0b522e05668bef729b1b.js +1 -0
  56. package/assets/esri/core/workers/chunks/0d42322362e76f674d94.js +2 -0
  57. package/assets/esri/core/workers/chunks/{81e3bd1a0634ddc2b833.js → 0f10d7d592c36ee2d1ea.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{cdf6ad970dc1893dac58.js → 110135b0562a3b5708b9.js} +1 -1
  59. package/assets/esri/core/workers/chunks/122892f365f5327d290c.js +1 -0
  60. package/assets/esri/core/workers/chunks/1305690054214a9cf48d.js +1 -0
  61. package/assets/esri/core/workers/chunks/168c15cf462f9abcbdd2.js +1 -0
  62. package/assets/esri/core/workers/chunks/169bfafec4d59be2beb0.js +1 -0
  63. package/assets/esri/core/workers/chunks/1c689bb502657b1f173b.js +1 -0
  64. package/assets/esri/core/workers/chunks/1d2609ce6220b5af5526.js +1 -0
  65. package/assets/esri/core/workers/chunks/1d38b2fcd85ac9ebd7c6.js +1 -0
  66. package/assets/esri/core/workers/chunks/1e109a521ca8772fdf04.js +1 -0
  67. package/assets/esri/core/workers/chunks/1ea840b7ac1ffaa0c389.js +1 -0
  68. package/assets/esri/core/workers/chunks/1f48438b3055afeb710f.js +1 -0
  69. package/assets/esri/core/workers/chunks/{c2cd80b712f29e8cbb8d.js → 1ff57bf19f021f5fd246.js} +1 -1
  70. package/assets/esri/core/workers/chunks/2353fbc1ff4481dcfb1f.js +1 -0
  71. package/assets/esri/core/workers/chunks/2509da565e5a2b43ac7f.js +1 -0
  72. package/assets/esri/core/workers/chunks/255c8e937e7a123ebb04.js +1 -0
  73. package/assets/esri/core/workers/chunks/256cc116e3be4feee593.js +1 -0
  74. package/assets/esri/core/workers/chunks/26aa8190ac439f634c5b.js +1 -0
  75. package/assets/esri/core/workers/chunks/{a442534ac0956a68b769.js → 282930645ce525d5bc92.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{45b560ca01fb566ba560.js → 2a8d791aef3123e6a3c4.js} +1 -1
  77. package/assets/esri/core/workers/chunks/2b781de7b467c61849b2.js +1 -0
  78. package/assets/esri/core/workers/chunks/2baee42e1797a709fe4b.js +1 -0
  79. package/assets/esri/core/workers/chunks/2c017eae434254610c8e.js +1 -0
  80. package/assets/esri/core/workers/chunks/2d7a4b669804d0c5029b.js +1 -0
  81. package/assets/esri/core/workers/chunks/2f40193d1b2e534c5226.js +1 -0
  82. package/assets/esri/core/workers/chunks/303e723e829ea7088d43.js +1 -0
  83. package/assets/esri/core/workers/chunks/35533c8ef541f7643497.js +2 -0
  84. package/assets/esri/core/workers/chunks/36913f0f944a9eb82cd3.js +1 -0
  85. package/assets/esri/core/workers/chunks/{cc62e5095e328bed3e01.js → 3aa0a34d2b7dbf2e2c66.js} +1 -1
  86. package/assets/esri/core/workers/chunks/3d4ad7c728e02aa90551.js +1 -0
  87. package/assets/esri/core/workers/chunks/{3526ab3b1f87c24ae6f8.js → 4162a2bb774e6ba2c0db.js} +1 -1
  88. package/assets/esri/core/workers/chunks/436d51b9f1b1b5abc4bc.js +1 -0
  89. package/assets/esri/core/workers/chunks/43ef6dee2e1d9ed7885e.js +1 -0
  90. package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +1 -0
  91. package/assets/esri/core/workers/chunks/4b96aa2dc5b88846bb53.js +1 -0
  92. package/assets/esri/core/workers/chunks/4ea325c829d3b82854b1.js +1 -0
  93. package/assets/esri/core/workers/chunks/51a53011478e0cf96e0b.js +1 -0
  94. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +1 -0
  95. package/assets/esri/core/workers/chunks/5481af25fd46914498df.js +1 -0
  96. package/assets/esri/core/workers/chunks/54f54623532f633dc0e2.js +1 -0
  97. package/assets/esri/core/workers/chunks/5809e70a8e57e9b05959.js +1 -0
  98. package/assets/esri/core/workers/chunks/589b31cc5c663a288942.js +1 -0
  99. package/assets/esri/core/workers/chunks/58ce4bcfb15f378b1b9f.js +1 -0
  100. package/assets/esri/core/workers/chunks/58e0e50b6c3abaa4798f.js +1 -0
  101. package/assets/esri/core/workers/chunks/595bc41ff36c77324d01.js +261 -0
  102. package/assets/esri/core/workers/chunks/599bd80379423c99799d.js +1 -0
  103. package/assets/esri/core/workers/chunks/5bf01e0eff8a78b65e9e.js +1 -0
  104. package/assets/esri/core/workers/chunks/5dfeefee96659832398a.js +1 -0
  105. package/assets/esri/core/workers/chunks/{011a4d4201696fa10408.js → 5ea1113b7bdcf94b2822.js} +1 -1
  106. package/assets/esri/core/workers/chunks/5fab14c5f1febebb75f1.js +1 -0
  107. package/assets/esri/core/workers/chunks/609edb4da427ec37bcf7.js +1 -0
  108. package/assets/esri/core/workers/chunks/60d4a3f770bb1e01cd10.js +1 -0
  109. package/assets/esri/core/workers/chunks/63858dfcff1177e597e7.js +1 -0
  110. package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +1 -0
  111. package/assets/esri/core/workers/chunks/68b77b36daae2b4b4237.js +1 -0
  112. package/assets/esri/core/workers/chunks/{11c3b1e8ca21ad62fdd1.js → 6db5ee9c589265b23b60.js} +1 -1
  113. package/assets/esri/core/workers/chunks/6dc60afb0c39bbb001a3.js +1 -0
  114. package/assets/esri/core/workers/chunks/{5bfae465872760e7af6d.js → 6f240fe78b299e6c4fcc.js} +1 -1
  115. package/assets/esri/core/workers/chunks/70cb825bb37f1977d2ab.js +1 -0
  116. package/assets/esri/core/workers/chunks/71a593fa116770e58832.js +1 -0
  117. package/assets/esri/core/workers/chunks/71f09e34d56c9fe5c307.js +1 -0
  118. package/assets/esri/core/workers/chunks/{72cfb186e50537bcdd19.js → 75915f81caaf9e5345a9.js} +1 -1
  119. package/assets/esri/core/workers/chunks/7832d94f35b79e27ee51.js +1 -0
  120. package/assets/esri/core/workers/chunks/{e5f8c73349407c25956b.js → 7c61b18e43c789aaecc6.js} +1 -1
  121. package/assets/esri/core/workers/chunks/818a481ce579f519de1c.js +1 -0
  122. package/assets/esri/core/workers/chunks/831455798b177678720c.js +1 -0
  123. package/assets/esri/core/workers/chunks/83ce38342796bd6d73ce.js +1 -0
  124. package/assets/esri/core/workers/chunks/84a0bb53fcbd99b5aa0c.js +1 -0
  125. package/assets/esri/core/workers/chunks/87b86375f8557418dbe6.js +1 -0
  126. package/assets/esri/core/workers/chunks/8817d25c7f4cf0e6c6bd.js +1 -0
  127. package/assets/esri/core/workers/chunks/{0b55fc5050e718371e05.js → 888af532ad48fd86f285.js} +1 -1
  128. package/assets/esri/core/workers/chunks/{9331969046f2b277d620.js → 8a39dd585742960d3ca2.js} +1 -1
  129. package/assets/esri/core/workers/chunks/8ade399db21938822a7c.js +1 -0
  130. package/assets/esri/core/workers/chunks/8c62e2dabd1f1e13d244.js +1 -0
  131. package/assets/esri/core/workers/chunks/{5cb1b950249d651f3837.js → 8dcb3e77f76d8396706b.js} +1 -1
  132. package/assets/esri/core/workers/chunks/909e88c27d80777b047c.js +1 -0
  133. package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +1 -0
  134. package/assets/esri/core/workers/chunks/91c543443cd6768ad6ff.js +1 -0
  135. package/assets/esri/core/workers/chunks/9230ad807020fc2bbf8e.js +1 -0
  136. package/assets/esri/core/workers/chunks/92458803531fdfe1557a.js +1 -0
  137. package/assets/esri/core/workers/chunks/{976ab2be6c244768c08a.js → 940ebb13618d38c6b459.js} +1 -1
  138. package/assets/esri/core/workers/chunks/987594539981483a7c5e.js +1 -0
  139. package/assets/esri/core/workers/chunks/99c002015c2127e6cbfc.js +2 -0
  140. package/assets/esri/core/workers/chunks/9da1a514e042eb642d35.js +1 -0
  141. package/assets/esri/core/workers/chunks/a1509e2e7809b6754b4f.js +1 -0
  142. package/assets/esri/core/workers/chunks/{a4f3bcfabd4ad127abf2.js → a3195521a83565c7c2d3.js} +1 -1
  143. package/assets/esri/core/workers/chunks/a3393780655152102c45.js +1 -0
  144. package/assets/esri/core/workers/chunks/{52175ff9e8c2c136f90a.js → a3ecde3794a7db3cf283.js} +1 -1
  145. package/assets/esri/core/workers/chunks/a4d918b47cd4ee0e1666.js +1 -0
  146. package/assets/esri/core/workers/chunks/a844c4e031e77db11478.js +1 -0
  147. package/assets/esri/core/workers/chunks/{bfd1aef8ac795e1ce227.js → a892b3be70f482bef0ba.js} +1 -1
  148. package/assets/esri/core/workers/chunks/a8ef7acb6d3d1f45e14c.js +1 -0
  149. package/assets/esri/core/workers/chunks/a99ce2f12c8204ee542a.js +1 -0
  150. package/assets/esri/core/workers/chunks/aba7a053015a9738d8a0.js +1 -0
  151. package/assets/esri/core/workers/chunks/{c8460bdf60aca749ed05.js → ac16016964be3b684e98.js} +1 -1
  152. package/assets/esri/core/workers/chunks/ac7ecd90330090c90005.js +1 -0
  153. package/assets/esri/core/workers/chunks/adce59e4111bae4225f7.js +1 -0
  154. package/assets/esri/core/workers/chunks/af3b060fdfa3b6174340.js +1 -0
  155. package/assets/esri/core/workers/chunks/b0212df1fe8d9448f3d6.js +1 -0
  156. package/assets/esri/core/workers/chunks/b289c46ce2dc04d32e81.js +1 -0
  157. package/assets/esri/core/workers/chunks/{c983e5ce0ff952b65d7f.js → b2b342b06d502fc61ea5.js} +1 -1
  158. package/assets/esri/core/workers/chunks/{67ebde34377f98d17cda.js → b5571e93bc136dac8ee1.js} +1 -1
  159. package/assets/esri/core/workers/chunks/ba1c4a8794ac55942e35.js +1 -0
  160. package/assets/esri/core/workers/chunks/bbcad2fde838819ffc7b.js +1 -0
  161. package/assets/esri/core/workers/chunks/bd260798b8de09a1eeb2.js +1 -0
  162. package/assets/esri/core/workers/chunks/{44d0ca9d4c5f1722688c.js → bf67e0f6064fb9d94ac8.js} +1 -1
  163. package/assets/esri/core/workers/chunks/{0bf72e9d0a6deceeb406.js → bfa6f4c08e7571bb1f37.js} +1 -1
  164. package/assets/esri/core/workers/chunks/c030a974a63155f450e9.js +1 -0
  165. package/assets/esri/core/workers/chunks/c0b7b9d115dccb2924ff.js +1 -0
  166. package/assets/esri/core/workers/chunks/c2db773201adca204f95.js +1 -0
  167. package/assets/esri/core/workers/chunks/c318e6dbb8651433038f.js +2 -0
  168. package/assets/esri/core/workers/chunks/c4a2ec2e5897300163ac.js +1 -0
  169. package/assets/esri/core/workers/chunks/{8b0a01ebc86ab226f01f.js → c538435216d253f7702e.js} +1 -1
  170. package/assets/esri/core/workers/chunks/c5e172d3baf5414868f0.js +1 -0
  171. package/assets/esri/core/workers/chunks/c63b315c6b76b4860fc5.js +1 -0
  172. package/assets/esri/core/workers/chunks/c8091e8fd7ca43a4490a.js +1 -0
  173. package/assets/esri/core/workers/chunks/{2413b383b7f2bdcd4ced.js → c8672a54c98d472aa24d.js} +1 -1
  174. package/assets/esri/core/workers/chunks/cf9a132c4c37e62de3d7.js +1 -0
  175. package/assets/esri/core/workers/chunks/d0321dd4b5b2d863eecd.js +1 -0
  176. package/assets/esri/core/workers/chunks/{886ae23a1d8fa21e531f.js → d750e4abeb777caa8c36.js} +1 -1
  177. package/assets/esri/core/workers/chunks/{bd36c57dd0cd28dee55f.js → d7acbc2ddff4cee8a465.js} +1 -1
  178. package/assets/esri/core/workers/chunks/{cb8c4d8334fab9bd9a04.js → d90bc34d97bb21c29c40.js} +1 -1
  179. package/assets/esri/core/workers/chunks/d9fcc63df008f687848a.js +1 -0
  180. package/assets/esri/core/workers/chunks/db96a0c66578b2d1b715.js +1 -0
  181. package/assets/esri/core/workers/chunks/{6a1b6f8c868f8edce1d7.js → dd3b0070081eaf805d95.js} +1 -1
  182. package/assets/esri/core/workers/chunks/dd5dddf7e422216d3806.js +1 -0
  183. package/assets/esri/core/workers/chunks/de83c177f8a1234a5b2e.js +1 -0
  184. package/assets/esri/core/workers/chunks/{07ca020796c57cefda62.js → dfb19701b488089874fd.js} +1 -1
  185. package/assets/esri/core/workers/chunks/e2f33945d838183a2192.js +1 -0
  186. package/assets/esri/core/workers/chunks/{d97c0c18202b8c578f8c.js → e5471373f89fd7cb9844.js} +1 -1
  187. package/assets/esri/core/workers/chunks/e65d291bab13f7f5323b.js +1 -0
  188. package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +1 -0
  189. package/assets/esri/core/workers/chunks/ecbf84a1f42e6188faab.js +1 -0
  190. package/assets/esri/core/workers/chunks/efaa1d05705f6b450e8f.js +1 -0
  191. package/assets/esri/core/workers/chunks/efaf998d18479a0380ae.js +1 -0
  192. package/assets/esri/core/workers/chunks/f0573db9a3d3e1499a7e.js +1 -0
  193. package/assets/esri/core/workers/chunks/f07722efd7fa2b75d4dd.js +1 -0
  194. package/assets/esri/core/workers/chunks/{520e0e5307eef27becc6.js → f0924613f818dd165ad9.js} +1 -1
  195. package/assets/esri/core/workers/chunks/f3fd40df92e59f7c687c.js +1 -0
  196. package/assets/esri/core/workers/chunks/{3d20c86f1fe877bf884b.js → f59b76fde2cbd17f64b3.js} +1 -1
  197. package/assets/esri/core/workers/chunks/f6afc597eaf2afa9a4a0.js +1 -0
  198. package/assets/esri/core/workers/chunks/{ed2a1c371dfc5d4a744e.js → f7f820483e45c05ab9e4.js} +2 -2
  199. package/assets/esri/core/workers/chunks/f98bb3885bfc7f18f26c.js +1 -0
  200. package/assets/esri/core/workers/chunks/f9b44ff9bb4f7a88ab56.js +1 -0
  201. package/assets/esri/core/workers/chunks/{b102beeeb7a919f68b51.js → fb81705cec1be2431876.js} +1 -1
  202. package/assets/esri/core/workers/chunks/fd53ef66176ae164e221.js +1 -0
  203. package/assets/esri/core/workers/chunks/fd956a58787020d610af.js +1 -0
  204. package/assets/esri/core/workers/chunks/fdec3a2e100688c42e41.js +1 -0
  205. package/assets/esri/core/workers/chunks/fe6385115d76e16e8da0.js +1 -0
  206. package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +1 -0
  207. package/assets/esri/core/workers/chunks/{d9695794cfaa014a55b1.js → ff00ac01f0baaecaa890.js} +1 -1
  208. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  209. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +62 -90
  210. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +0 -2
  211. package/assets/esri/themes/dark/main.css +1 -1
  212. package/assets/esri/themes/light/main.css +1 -1
  213. package/assets/esri/themes/light/view.css +1 -1
  214. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ar.json +1 -1
  215. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bg.json +1 -1
  216. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bs.json +1 -1
  217. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ca.json +1 -1
  218. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_cs.json +1 -1
  219. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_da.json +1 -1
  220. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_de.json +1 -1
  221. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_el.json +1 -1
  222. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_es.json +1 -1
  223. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_et.json +1 -1
  224. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fi.json +1 -1
  225. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  226. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_he.json +1 -1
  227. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hr.json +1 -1
  228. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hu.json +1 -1
  229. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_id.json +1 -1
  230. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_it.json +1 -1
  231. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ja.json +1 -1
  232. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ko.json +1 -1
  233. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lt.json +1 -1
  234. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lv.json +1 -1
  235. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_nl.json +1 -1
  236. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_no.json +1 -1
  237. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pl.json +1 -1
  238. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-BR.json +1 -1
  239. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-PT.json +1 -1
  240. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ro.json +1 -1
  241. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ru.json +1 -1
  242. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sk.json +1 -1
  243. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sl.json +1 -1
  244. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sr.json +1 -1
  245. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sv.json +1 -1
  246. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_th.json +1 -1
  247. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_tr.json +1 -1
  248. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_uk.json +1 -1
  249. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_vi.json +1 -1
  250. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-CN.json +1 -1
  251. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-HK.json +1 -1
  252. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-TW.json +1 -1
  253. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ar.json +1 -1
  254. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bg.json +1 -1
  255. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bs.json +1 -1
  256. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ca.json +1 -1
  257. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_cs.json +1 -1
  258. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_da.json +1 -1
  259. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_de.json +1 -1
  260. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_el.json +1 -1
  261. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_es.json +1 -1
  262. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_et.json +1 -1
  263. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fi.json +1 -1
  264. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fr.json +1 -1
  265. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_he.json +1 -1
  266. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hr.json +1 -1
  267. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hu.json +1 -1
  268. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_id.json +1 -1
  269. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_it.json +1 -1
  270. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ja.json +1 -1
  271. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ko.json +1 -1
  272. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lt.json +1 -1
  273. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lv.json +1 -1
  274. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_nl.json +1 -1
  275. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_no.json +1 -1
  276. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pl.json +1 -1
  277. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-BR.json +1 -1
  278. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-PT.json +1 -1
  279. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ro.json +1 -1
  280. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ru.json +1 -1
  281. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sk.json +1 -1
  282. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sl.json +1 -1
  283. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sr.json +1 -1
  284. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sv.json +1 -1
  285. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_th.json +1 -1
  286. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_tr.json +1 -1
  287. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_uk.json +1 -1
  288. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_vi.json +1 -1
  289. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-CN.json +1 -1
  290. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-HK.json +1 -1
  291. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-TW.json +1 -1
  292. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  293. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  294. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  295. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  296. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  297. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  298. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  299. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  300. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  301. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  302. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  303. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  304. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  305. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  306. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  307. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  308. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  309. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  310. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  311. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  312. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  313. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  314. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  315. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  316. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  317. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  318. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  319. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  320. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  321. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  322. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  323. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  324. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  325. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  326. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  327. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  328. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  329. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  330. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  331. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  332. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  333. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  334. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  335. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  336. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  337. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  338. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  339. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  340. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  341. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  342. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  343. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  344. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  345. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  346. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  347. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  348. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  349. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  350. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  351. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  352. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  353. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  354. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  355. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  356. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  357. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  358. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  359. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  360. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  361. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  362. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  363. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  364. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  365. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  366. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  367. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  368. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  369. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  370. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  371. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  372. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  373. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  374. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  375. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  376. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  377. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  378. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  379. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  380. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  381. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  382. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  383. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  384. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  385. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  386. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  387. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  388. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  389. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  390. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  391. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  392. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  393. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  394. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  395. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  396. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  397. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  398. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  399. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  400. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  401. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  402. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  403. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  404. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  405. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  406. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  407. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  408. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  409. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ar.json +1 -1
  410. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bg.json +1 -1
  411. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bs.json +1 -1
  412. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ca.json +1 -1
  413. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_cs.json +1 -1
  414. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_da.json +1 -1
  415. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_de.json +1 -1
  416. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_el.json +1 -1
  417. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_es.json +1 -1
  418. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_et.json +1 -1
  419. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fi.json +1 -1
  420. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fr.json +1 -1
  421. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_he.json +1 -1
  422. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hr.json +1 -1
  423. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hu.json +1 -1
  424. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_id.json +1 -1
  425. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_it.json +1 -1
  426. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ja.json +1 -1
  427. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ko.json +1 -1
  428. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lt.json +1 -1
  429. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lv.json +1 -1
  430. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_nl.json +1 -1
  431. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_no.json +1 -1
  432. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pl.json +1 -1
  433. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-BR.json +1 -1
  434. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-PT.json +1 -1
  435. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ro.json +1 -1
  436. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ru.json +1 -1
  437. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sk.json +1 -1
  438. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sl.json +1 -1
  439. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sr.json +1 -1
  440. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sv.json +1 -1
  441. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_th.json +1 -1
  442. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_tr.json +1 -1
  443. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_uk.json +1 -1
  444. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_vi.json +1 -1
  445. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-CN.json +1 -1
  446. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-HK.json +1 -1
  447. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-TW.json +1 -1
  448. package/chunks/Bufferer-CclWhXVb.js +2 -0
  449. package/chunks/Distance2DCalculator-DjIp2uQi.js +2 -0
  450. package/chunks/Envelope.js +1 -1
  451. package/chunks/Envelope2D.js +1 -1
  452. package/chunks/GaussianSplatComposition.glsl.js +1 -1
  453. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +2 -0
  454. package/chunks/GeodeticUtils.js +1 -1
  455. package/chunks/Geometry.js +1 -1
  456. package/chunks/{GeometryCleaner-BEJM7I4l.js → GeometryCleaner-CIE8Wfmb.js} +1 -1
  457. package/chunks/GlowComposition.glsl.js +1 -1
  458. package/chunks/MultiPathImpl.js +1 -1
  459. package/chunks/OITBlend.glsl.js +1 -1
  460. package/chunks/OITDimOpaque.glsl.js +1 -1
  461. package/chunks/OperatorClip.js +1 -1
  462. package/chunks/OperatorCrosses.js +1 -1
  463. package/chunks/OperatorCut.js +1 -1
  464. package/chunks/OperatorDefinitions.js +1 -1
  465. package/chunks/OperatorDensify.js +1 -1
  466. package/chunks/OperatorGeneralize.js +1 -1
  467. package/chunks/OperatorGeodesicBuffer.js +1 -1
  468. package/chunks/OperatorGeodeticArea.js +1 -1
  469. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  470. package/chunks/OperatorGeodeticDistance.js +1 -1
  471. package/chunks/OperatorGeodeticLength.js +1 -1
  472. package/chunks/OperatorGraphicBuffer.js +2 -0
  473. package/chunks/OperatorIntegrate.js +1 -1
  474. package/chunks/OperatorIntersects.js +1 -1
  475. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  476. package/chunks/OperatorOverlaps.js +1 -1
  477. package/chunks/OperatorProximity.js +1 -1
  478. package/chunks/OperatorProximityGeodesic.js +1 -1
  479. package/chunks/OperatorShapePreservingLength.js +1 -1
  480. package/chunks/OperatorShapePreservingProject.js +1 -1
  481. package/chunks/OperatorSimplifyOGC.js +1 -1
  482. package/chunks/OperatorTouches.js +1 -1
  483. package/chunks/OperatorWithin.js +1 -1
  484. package/chunks/Point2D.js +1 -1
  485. package/chunks/ProjectionTransformation.js +1 -1
  486. package/chunks/{SideCalculator2D-BNwb5gvz.js → SideCalculator2D-DX0718xq.js} +1 -1
  487. package/chunks/SimpleGeometryCursor.js +1 -1
  488. package/chunks/SpatialReference.js +1 -1
  489. package/chunks/Transformation2D.js +1 -1
  490. package/chunks/centroidOperator.js +1 -1
  491. package/chunks/containsOperator.js +1 -1
  492. package/chunks/disjointOperator.js +1 -1
  493. package/chunks/distanceOperator.js +1 -1
  494. package/chunks/equalsOperator.js +1 -1
  495. package/chunks/languageUtils.js +1 -1
  496. package/config.js +1 -1
  497. package/core/has.js +1 -1
  498. package/core/screenUtils.js +1 -1
  499. package/editing/types.d.ts +22 -2
  500. package/form/elements/UtilityNetworkAssociationsElement.d.ts +0 -1
  501. package/geometry/Mesh.d.ts +1 -1
  502. package/geometry/operators/extendOperator.js +1 -1
  503. package/geometry/operators/gx/operatorAffineTransform.js +1 -1
  504. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  505. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  506. package/geometry/operators/gx/operatorBoundary.js +1 -1
  507. package/geometry/operators/gx/operatorBuffer.js +1 -1
  508. package/geometry/operators/gx/operatorConvexHull.js +1 -1
  509. package/geometry/operators/gx/operatorDifference.js +1 -1
  510. package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
  511. package/geometry/operators/gx/operatorIntersection.js +1 -1
  512. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  513. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  514. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  515. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  516. package/geometry/operators/gx/operatorOffset.js +1 -1
  517. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  518. package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
  519. package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
  520. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  521. package/geometry/operators/gx/operatorUnion.js +1 -1
  522. package/geometry/operators/isNearOperator.js +1 -1
  523. package/geometry/operators/json/containsOperator.js +1 -1
  524. package/geometry/operators/json/disjointOperator.js +1 -1
  525. package/geometry/operators/reshapeOperator.js +1 -1
  526. package/geometry/operators/support/apiConverter.js +1 -1
  527. package/geometry/operators/support/initNoPeFactory.js +1 -1
  528. package/geometry/operators/support/jsonConverter.js +1 -1
  529. package/geometry/support/aaBoundingRect.js +1 -1
  530. package/graphic/AnnotationFeatureGraphicOrigin.d.ts +5 -2
  531. package/graphic/AnnotationFeatureGraphicOrigin.js +1 -1
  532. package/graphic/DimensionFeatureGraphicOrigin.js +1 -1
  533. package/graphic/graphicOrigins.js +1 -1
  534. package/graphic/isAnnotationFeatureGraphicOrigin.d.ts +29 -0
  535. package/graphic/isAnnotationFeatureGraphicOrigin.js +2 -0
  536. package/graphic/isDimensionFeatureGraphicOrigin.d.ts +29 -0
  537. package/graphic/isDimensionFeatureGraphicOrigin.js +2 -0
  538. package/interfaces.d.ts +3 -3
  539. package/kernel.js +1 -1
  540. package/layers/AnnotationFeatureLayer.d.ts +73 -0
  541. package/layers/AnnotationFeatureLayer.js +1 -1
  542. package/layers/FeatureLayer.d.ts +7 -4
  543. package/layers/FeatureLayer.js +1 -1
  544. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  545. package/layers/ParquetLayer.js +1 -1
  546. package/layers/SubtypeGroupLayer.d.ts +7 -4
  547. package/layers/SubtypeGroupLayer.js +1 -1
  548. package/layers/graphics/applyEditsUtils.js +1 -1
  549. package/layers/graphics/data/QueryEngine.js +1 -1
  550. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  551. package/layers/graphics/sources/ParquetSource.js +1 -1
  552. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  553. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  554. package/layers/orientedImagery/transformations/utils.js +1 -1
  555. package/layers/support/{AnnotationSublayer.d.ts → AnnotationFeatureSublayer.d.ts} +12 -12
  556. package/layers/support/AnnotationFeatureSublayer.js +2 -0
  557. package/layers/support/EditingCapabilities.js +1 -1
  558. package/layers/support/ParquetPortalItemData.js +1 -1
  559. package/layers/support/SubtypeSublayer.d.ts +7 -4
  560. package/layers/support/SubtypeSublayer.js +1 -1
  561. package/layers/support/featureLayerUtils.js +1 -1
  562. package/networks/UtilityNetwork.js +1 -1
  563. package/package.json +3 -3
  564. package/popup/Feature.d.ts +57 -6
  565. package/popup/Features.d.ts +86 -7
  566. package/popup/content/UtilityNetworkAssociationsContent.d.ts +0 -1
  567. package/popup/support/UtilityNetworkAssociationType.d.ts +0 -1
  568. package/rest/print.js +1 -1
  569. package/rest/query/operations/query.js +1 -1
  570. package/smartMapping/renderers/location.js +1 -1
  571. package/smartMapping/renderers/opacity.js +1 -1
  572. package/smartMapping/renderers/predominance.js +1 -1
  573. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  574. package/smartMapping/renderers/support/rendererUtils.d.ts +3 -1
  575. package/smartMapping/renderers/support/rendererUtils.js +1 -1
  576. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  577. package/support/revision.js +1 -1
  578. package/symbols/WebStyleSymbol.js +1 -1
  579. package/symbols/cim/effects/EffectOffset.js +1 -1
  580. package/symbols/support/symbolUtils.js +1 -1
  581. package/symbols/support/webStyleSymbolCache.js +2 -0
  582. package/third-party-notices.txt +0 -32
  583. package/undoredo/support/ApplySet.js +1 -1
  584. package/undoredo/support/ApplySetItem.js +1 -1
  585. package/views/2d/analysis/AreaMeasurement/AreaMeasurementTool.js +1 -1
  586. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  587. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  588. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  589. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
  590. package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +1 -1
  591. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterVertexPack.js +1 -1
  592. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  593. package/views/2d/engine/webgl/util/AnnotationMatcher.js +1 -1
  594. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
  595. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  596. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  597. package/views/2d/layers/support/annodime/annotationGraphic.js +1 -1
  598. package/views/2d/layers/support/annodime/cimAnnotations.js +1 -1
  599. package/views/2d/layers/support/annodime/utils.js +1 -1
  600. package/views/2d/support/hitTestUtils.js +1 -1
  601. package/views/2d/unitBezier.js +1 -1
  602. package/views/3d/analysis/LineOfSight/LineOfSightPlacementController.js +2 -0
  603. package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +1 -1
  604. package/views/3d/analysis/LineOfSight/LineOfSightTool2.js +1 -1
  605. package/views/3d/analysis/LineOfSight/lineOfSightPlacementUtils.js +2 -0
  606. package/views/3d/analysis/Viewshed/ViewshedDrawToolRenderer.js +1 -1
  607. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  608. package/views/3d/analysis/Viewshed/ViewshedPlacementPointPlugin.js +1 -1
  609. package/views/3d/analysis/Viewshed/ViewshedPlacementRootPlugin.js +1 -1
  610. package/views/3d/analysis/Viewshed/placementUtils.js +1 -1
  611. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  612. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  613. package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
  614. package/views/3d/layers/graphics/SymbolComplexity.js +1 -1
  615. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  616. package/views/3d/support/QualityProfile.js +1 -1
  617. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  618. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  619. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +14 -6
  620. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +2 -1
  621. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  622. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  623. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  624. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  625. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  626. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  627. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  628. package/views/3d/webgl-engine/materials/PolygonOffset.js +1 -1
  629. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  630. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +6 -7
  631. package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +1 -1
  632. package/views/LinkChartView.d.ts +3 -1
  633. package/views/View2D.d.ts +3 -1
  634. package/views/draw/support/editingSessionUtils.js +1 -1
  635. package/views/interactive/snapping/SnappingManager.js +1 -1
  636. package/views/interactive/snapping/candidates/dehydrated/{DehydratedVertexSnappingCandidate.js → DehydratedFeatureSnappingCandidate.js} +1 -1
  637. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -3
  638. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  639. package/widgets/BatchAttributeForm/attachmentUtils.d.ts +9 -0
  640. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  641. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  642. package/widgets/BatchAttributeForm/css.js +1 -1
  643. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +3 -3
  644. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  645. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  646. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  647. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  648. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  649. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  650. package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +1 -1
  651. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  652. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  653. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  654. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  655. package/widgets/BatchAttributeForm/types.d.ts +92 -7
  656. package/widgets/BatchAttributeForm.js +1 -1
  657. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  658. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  659. package/widgets/Editor/EditorViewModel.d.ts +1 -1
  660. package/widgets/Editor/EditorViewModel.js +1 -1
  661. package/widgets/Editor/Edits.js +1 -1
  662. package/widgets/Editor/MergeFeaturesWorkflow.js +1 -1
  663. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  664. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  665. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  666. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  667. package/widgets/Editor/UpdateWorkflow.js +1 -1
  668. package/widgets/Editor/UpdateWorkflowData.js +1 -1
  669. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  670. package/widgets/Editor/support/EditorItem.js +1 -1
  671. package/widgets/Editor/support/SketchController.js +1 -1
  672. package/widgets/Editor/support/attachmentUtils.js +2 -0
  673. package/widgets/Editor/workflowUtils.js +1 -1
  674. package/widgets/Editor.js +1 -1
  675. package/widgets/Feature/FeatureViewModel.d.ts +0 -1
  676. package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +0 -1
  677. package/widgets/Features/FeaturesViewModel.d.ts +0 -1
  678. package/widgets/Features/FeaturesViewModel.js +1 -1
  679. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  680. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  681. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  682. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  683. package/widgets/OrientedImageryViewer.js +1 -1
  684. package/widgets/Popup.js +1 -1
  685. package/widgets/Sketch/SketchViewModel.d.ts +10 -1
  686. package/widgets/Sketch/SketchViewModel.js +1 -1
  687. package/widgets/Sketch.js +1 -1
  688. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  689. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  690. package/assets/components/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
  691. package/assets/components/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
  692. package/assets/components/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
  693. package/assets/components/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
  694. package/assets/components/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
  695. package/assets/components/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
  696. package/assets/components/assets/icon/orientedImagerySceneOnly16.json +0 -1
  697. package/assets/components/assets/icon/orientedImagerySceneOnly24.json +0 -1
  698. package/assets/components/assets/icon/orientedImagerySceneOnly32.json +0 -1
  699. package/assets/components/assets/icon/parquetFeatureLayer16.json +0 -1
  700. package/assets/components/assets/icon/parquetFeatureLayer24.json +0 -1
  701. package/assets/components/assets/icon/parquetFeatureLayer32.json +0 -1
  702. package/assets/esri/core/workers/chunks/013708f40f811158d42c.js +0 -1
  703. package/assets/esri/core/workers/chunks/03354e9256b2f77fd4f2.js +0 -1
  704. package/assets/esri/core/workers/chunks/0436fe89adc78696251c.js +0 -1
  705. package/assets/esri/core/workers/chunks/079b412d07d02504f1db.js +0 -1
  706. package/assets/esri/core/workers/chunks/0826d36dfbfa28442b70.js +0 -1
  707. package/assets/esri/core/workers/chunks/0ded58ccb83f624f1460.js +0 -1
  708. package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +0 -1
  709. package/assets/esri/core/workers/chunks/152f1c08197955224ad3.js +0 -1
  710. package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +0 -1
  711. package/assets/esri/core/workers/chunks/181e948d076a9a7aae8a.js +0 -1
  712. package/assets/esri/core/workers/chunks/18e7784f13a57a75585a.js +0 -1
  713. package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +0 -1
  714. package/assets/esri/core/workers/chunks/1d81e667a580c5cdeda1.js +0 -262
  715. package/assets/esri/core/workers/chunks/1dacc0b64bd27ce2de3a.js +0 -1
  716. package/assets/esri/core/workers/chunks/1eeb1edca0ad5db6917c.js +0 -1
  717. package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +0 -1
  718. package/assets/esri/core/workers/chunks/27c6def22c2b0791ce9e.js +0 -1
  719. package/assets/esri/core/workers/chunks/2bc4aff77c830061e16e.js +0 -1
  720. package/assets/esri/core/workers/chunks/2c3fc2805f6de0963789.js +0 -1
  721. package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +0 -1
  722. package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +0 -1
  723. package/assets/esri/core/workers/chunks/3248001d9dfb9153699e.js +0 -1
  724. package/assets/esri/core/workers/chunks/33b4f5dfe1a16b59b010.js +0 -1
  725. package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +0 -1
  726. package/assets/esri/core/workers/chunks/36dd3ad3ef2fbfc15cbd.js +0 -1
  727. package/assets/esri/core/workers/chunks/39974d1e5d3820ef1680.js +0 -1
  728. package/assets/esri/core/workers/chunks/42e5e00610f281ca8ffa.js +0 -1
  729. package/assets/esri/core/workers/chunks/4301cb9670fa7c907460.js +0 -1
  730. package/assets/esri/core/workers/chunks/493a0981e90a5799fb5b.js +0 -1
  731. package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +0 -1
  732. package/assets/esri/core/workers/chunks/4cc78493805671708a9b.js +0 -1
  733. package/assets/esri/core/workers/chunks/4e788fc6cb2ea936f676.js +0 -1
  734. package/assets/esri/core/workers/chunks/4efef5fa8bf23aaf34cd.js +0 -1
  735. package/assets/esri/core/workers/chunks/5100b5a6a506c704dfaf.js +0 -1
  736. package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +0 -1
  737. package/assets/esri/core/workers/chunks/52afd43bbe23e358efb5.js +0 -1
  738. package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +0 -1
  739. package/assets/esri/core/workers/chunks/5359ff9492383c5bd9b1.js +0 -1
  740. package/assets/esri/core/workers/chunks/54d7f07e3348ddb6d9a2.js +0 -1
  741. package/assets/esri/core/workers/chunks/57b7e5fde972d3ad7884.js +0 -1
  742. package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +0 -1
  743. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
  744. package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +0 -1
  745. package/assets/esri/core/workers/chunks/5d8924fdcdb473d261cd.js +0 -1
  746. package/assets/esri/core/workers/chunks/62de9e83331fb10aac6a.js +0 -2
  747. package/assets/esri/core/workers/chunks/62e77e3c5ca9b4887923.js +0 -2
  748. package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +0 -1
  749. package/assets/esri/core/workers/chunks/641cddee377599916de2.js +0 -2
  750. package/assets/esri/core/workers/chunks/65520a443e3811255bea.js +0 -1
  751. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +0 -1
  752. package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +0 -1
  753. package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +0 -1
  754. package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +0 -1
  755. package/assets/esri/core/workers/chunks/737de87bfb9b5f5a9c6c.js +0 -1
  756. package/assets/esri/core/workers/chunks/7748743d4be047094d67.js +0 -1
  757. package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +0 -1
  758. package/assets/esri/core/workers/chunks/79f2d4b3af5776ec2045.js +0 -1
  759. package/assets/esri/core/workers/chunks/7a8ed08cd173963b3112.js +0 -1
  760. package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +0 -1
  761. package/assets/esri/core/workers/chunks/7cadb872b9ca96eedca5.js +0 -1
  762. package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +0 -1
  763. package/assets/esri/core/workers/chunks/7ed3d6c72f23c628df3b.js +0 -1
  764. package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +0 -1
  765. package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +0 -1
  766. package/assets/esri/core/workers/chunks/859bc873e7af911a518f.js +0 -1
  767. package/assets/esri/core/workers/chunks/8e99f937fd36cf2cd05f.js +0 -1
  768. package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +0 -1
  769. package/assets/esri/core/workers/chunks/94fac056e14caed09682.js +0 -1
  770. package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +0 -1
  771. package/assets/esri/core/workers/chunks/97d2bdbea39cbcf8fd0f.js +0 -1
  772. package/assets/esri/core/workers/chunks/99101789035f1787c630.js +0 -1
  773. package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +0 -1
  774. package/assets/esri/core/workers/chunks/a0208e35b217808777c4.js +0 -1
  775. package/assets/esri/core/workers/chunks/a320998f18922a35899f.js +0 -1
  776. package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +0 -1
  777. package/assets/esri/core/workers/chunks/a5abba59e738c3240c22.js +0 -1
  778. package/assets/esri/core/workers/chunks/a63bba226de6c5e464b0.js +0 -1
  779. package/assets/esri/core/workers/chunks/a9f29ff36a7ae5bae686.js +0 -1
  780. package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +0 -1
  781. package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +0 -1
  782. package/assets/esri/core/workers/chunks/af8ef6701631ed5e5b80.js +0 -1
  783. package/assets/esri/core/workers/chunks/b666027b9022fa346a79.js +0 -1
  784. package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +0 -1
  785. package/assets/esri/core/workers/chunks/b803e7b0d489bb628d72.js +0 -1
  786. package/assets/esri/core/workers/chunks/bb24972603fb35dd8dcf.js +0 -1
  787. package/assets/esri/core/workers/chunks/bcc097271f5cdf0a97a7.js +0 -1
  788. package/assets/esri/core/workers/chunks/c0cbc50e5afd68bd485c.js +0 -1
  789. package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +0 -1
  790. package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +0 -1
  791. package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +0 -1
  792. package/assets/esri/core/workers/chunks/cf8ce21dc649021e97f6.js +0 -1
  793. package/assets/esri/core/workers/chunks/d78b7cac322755e87eb8.js +0 -1
  794. package/assets/esri/core/workers/chunks/dddb57ff637643ccfc87.js +0 -1
  795. package/assets/esri/core/workers/chunks/df18b0a653b328d8d052.js +0 -1
  796. package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +0 -1
  797. package/assets/esri/core/workers/chunks/e3b713a590cce6245ee2.js +0 -1
  798. package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +0 -1
  799. package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +0 -1
  800. package/assets/esri/core/workers/chunks/e4e2f479c0c45ae1b2c3.js +0 -1
  801. package/assets/esri/core/workers/chunks/e656fd5ecf9ac059a87b.js +0 -1
  802. package/assets/esri/core/workers/chunks/e92698f50089484c4901.js +0 -1
  803. package/assets/esri/core/workers/chunks/e9c5c295b6bf10e942a4.js +0 -1
  804. package/assets/esri/core/workers/chunks/eb91dc957c328674e119.js +0 -1
  805. package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +0 -1
  806. package/assets/esri/core/workers/chunks/edcde00495727d506c46.js +0 -1
  807. package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +0 -1
  808. package/assets/esri/core/workers/chunks/f0832b413612c77a62ca.js +0 -1
  809. package/assets/esri/core/workers/chunks/f116331c6eca937aac8e.js +0 -1
  810. package/assets/esri/core/workers/chunks/f334bf192dff5af10a70.js +0 -1
  811. package/assets/esri/core/workers/chunks/f518835b2dc89a48cfb1.js +0 -1
  812. package/assets/esri/core/workers/chunks/f5731ad4cfbbf1cc569a.js +0 -2
  813. package/assets/esri/core/workers/chunks/f76b1fc36f5606cac2c8.js +0 -1
  814. package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +0 -1
  815. package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +0 -1
  816. package/assets/esri/core/workers/chunks/f98118127469449ca145.js +0 -1
  817. package/assets/esri/core/workers/chunks/f9e22cf59e2e2782d70f.js +0 -1
  818. package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +0 -1
  819. package/assets/esri/core/workers/chunks/fea3b6bef761ef78630e.js +0 -1
  820. package/chunks/Bufferer-Dw9Qi4T1.js +0 -2
  821. package/chunks/Distance2DCalculator-CXhBP-8I.js +0 -2
  822. package/chunks/GeodeticDistanceCalculator-Ce-woMPw.js +0 -2
  823. package/layers/support/AnnotationSublayer.js +0 -2
  824. package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +0 -2
  825. /package/assets/esri/core/workers/chunks/{d9d4754062758789f186.js.LICENSE.txt → 05016e5a1de384994001.js.LICENSE.txt} +0 -0
  826. /package/assets/esri/core/workers/chunks/{62e77e3c5ca9b4887923.js.LICENSE.txt → 0d42322362e76f674d94.js.LICENSE.txt} +0 -0
  827. /package/assets/esri/core/workers/chunks/{62de9e83331fb10aac6a.js.LICENSE.txt → 35533c8ef541f7643497.js.LICENSE.txt} +0 -0
  828. /package/assets/esri/core/workers/chunks/{641cddee377599916de2.js.LICENSE.txt → 99c002015c2127e6cbfc.js.LICENSE.txt} +0 -0
  829. /package/assets/esri/core/workers/chunks/{f5731ad4cfbbf1cc569a.js.LICENSE.txt → c318e6dbb8651433038f.js.LICENSE.txt} +0 -0
  830. /package/chunks/{Centroid-DZi-eb9F.js → Centroid-CA-TwbbN.js} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1512,1550,1666,1948,3931,5611,6061,6312,7992,8125,9169,9285],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},68925(t,e,n){n.d(e,{c:()=>u,e:()=>i});var r=n(4576),s=n(90756),o=n(78125);function i(t,e){const n=(0,o.getSpatialReference)(t);return(0,s.g)((0,o.fromGeometry)(t),(0,o.fromPolyline)(e),(0,o.fromSpatialReference)(n)).map(t=>(0,o.toGeometry)(t,n)).filter(r.Ru)}const a=(0,s.f)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},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:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:s,create:r,fromValues:function(t,e,n,r,s,o,i,a,u,c,h,l,m,f,g,p){return[t,e,n,r,s,o,i,a,u,c,h,l,m,f,g,p]}},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 o(t,e,n){return[t,e,n]}function i(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 c(){return o(1,1,1)}function h(){return o(1,0,0)}function l(){return o(0,1,0)}function m(){return o(0,0,1)}n.d(e,{CN:()=>i,Cb:()=>y,Cw:()=>p,JP:()=>d,S:()=>c,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>o,o8:()=>s,uY:()=>f,vt:()=>r});const f=[0,0,0],g=c(),p=h(),d=l(),y=m();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:p,UNIT_Y:d,UNIT_Z:y,ZEROS:f,clone:s,create:r,freeze:i,fromArray:a,fromValues:o,ones:c,unitX:h,unitY:l,unitZ:m,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>w,Bw:()=>o,C:()=>i,Cc:()=>b,DI:()=>_,Il:()=>L,Io:()=>x,Ln:()=>y,Om:()=>P,Qr:()=>l,Re:()=>c,S8:()=>E,T9:()=>p,WQ:()=>u,Z0:()=>I,_S:()=>f,aI:()=>T,ei:()=>A,fw:()=>V,g7:()=>O,gL:()=>S,hG:()=>v,hZ:()=>a,hs:()=>d,jb:()=>N,jk:()=>g,lo:()=>X,lw:()=>h,m3:()=>M,oW:()=>Y,t2:()=>R,tn:()=>m,uE:()=>B,xg:()=>z,ze:()=>C});var r=n(51850),s=n(34304);function o(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(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 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 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 l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function m(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function f(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 p(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 y(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 x(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 v(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 M(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 _(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function E(t,e){const n=e[0],r=e[1],s=e[2];let o=n*n+r*r+s*s;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function P(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function w(t,e,n){const r=e[0],s=e[1],o=e[2],i=n[0],a=n[1],u=n[2];return t[0]=s*u-o*a,t[1]=o*i-r*u,t[2]=r*a-s*i,t}function b(t,e,n,r){const s=e[0],o=e[1],i=e[2];return t[0]=s+r*(n[0]-s),t[1]=o+r*(n[1]-o),t[2]=i+r*(n[2]-i),t}function I(t,e,n){const r=e[0],s=e[1],o=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*o+n[12],t[1]=n[1]*r+n[5]*s+n[9]*o+n[13],t[2]=n[2]*r+n[6]*s+n[10]*o+n[14],t}function A(t,e,n){const r=e[0],s=e[1],o=e[2];return t[0]=r*n[0]+s*n[3]+o*n[6],t[1]=r*n[1]+s*n[4]+o*n[7],t[2]=r*n[2]+s*n[5]+o*n[8],t}function S(t,e,n){return V(t,e,n[0],n[1],n[2],n[3])}function V(t,e,n,r,s,o){const i=e[0],a=e[1],u=e[2],c=r*u-s*a,h=s*i-n*u,l=n*a-r*i,m=r*l-s*h,f=s*c-n*l,g=n*h-r*c,p=2*o;return t[0]=i+c*p+2*m,t[1]=a+h*p+2*f,t[2]=u+l*p+2*g,t}function O(t,e){E(Z,t),E(G,e);const n=P(Z,G);return n>1?0:n<-1?Math.PI:Math.acos(n)}const Z=(0,r.vt)(),G=(0,r.vt)();function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function T(t,e){if(t===e)return!0;const n=t[0],r=t[1],o=t[2],i=e[0],a=e[1],u=e[2],c=(0,s.FD)();return Math.abs(n-i)<=c*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-u)<=c*Math.max(1,Math.abs(o),Math.abs(u))}function Y(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],o=n[2]-e[2];let i=r*r+s*s+o*o;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=s*i,t[2]=o*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const N=c,F=h,k=l,z=x,X=v,L=o,B=M;Object.freeze(Object.defineProperty({__proto__:null,abs:m,add:u,angle:O,bezier:function(t,e,n,r,s,o){const i=1-o,a=i*i,u=o*o,c=a*i,h=3*o*a,l=3*u*i,m=u*o;return t[0]=e[0]*c+n[0]*h+r[0]*l+s[0]*m,t[1]=e[1]*c+n[1]*h+r[1]*l+s[1]*m,t[2]=e[2]*c+n[2]*h+r[2]*l+s[2]*m,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:i,cross:w,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],o=e[2],i=n[0],a=n[1],u=n[2],c=s*u-o*a,h=o*i-r*u,l=r*a-s*i,m=Math.sqrt(c*c+h*h+l*l);return t[0]=c/m,t[1]=h/m,t[2]=l/m,t},direction:Y,dist:z,distance:x,div:k,divide:l,dot:P,equals:T,exactEquals:R,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,o){const i=o*o,a=i*(2*o-3)+1,u=i*(o-2)+o,c=i*(o-1),h=i*(3-2*o);return t[0]=e[0]*a+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*a+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*a+n[2]*u+r[2]*c+s[2]*h,t},inverse:_,len:L,length:o,lerp:b,max:p,min:g,mul:F,multiply:h,negate:C,normalize:E,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,o=2*n()-1,i=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=o*e,t},rotateX:function(t,e,n,r){const s=[],o=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],o[0]=s[0],o[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),o[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],o=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],o[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),o[1]=s[1],o[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],o=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],o[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),o[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),o[2]=s[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[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:y,set:a,sign:f,sqrDist:X,sqrLen:B,squaredDistance:v,squaredLength:M,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:N,subtract:c,transformMat3:A,transformMat4:I,transformQuat:S,transformQuatValues:V},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>f,i5:()=>m,lM:()=>o,qK:()=>h});var r=n(34275);const s=16;function o(t){if(!t)return 0;let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function i(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 c(t,8);let n=l;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=h;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?i(t):h;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+m:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return l+t.length*e}const h=32,l=16,m=145,f=64},87992(t,e,n){n.d(e,{JR:()=>w,ME:()=>_,MY:()=>b,NO:()=>C,Nh:()=>P,V2:()=>O,_s:()=>Z,e6:()=>R,gh:()=>E,tr:()=>Y,uX:()=>d});var r=n(5482),s=n(69397),o=n(16930),i=(n(70328),n(19419)),a=n(60408),u=n(21325),c=n(513),h=n(50954),l=n(79567),m=n(52006),f=n(49663),g=n(46068),p=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:o,partCount:i,partOffsets:a,partFlags:u,segmentFlags:c,segmentIndices:h,segmentParams:l,segmentCountArc:m,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=o,this.partCount=i,this.partOffsets=a,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=h,this.segmentParams=l,this.segmentCountArc=m,this.segmentCountBezier=f}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:o,segmentCountBezier:i}=this,a=O(t,e,n,r,s,this.hasCurves(),o,i);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(c.subarray(0,e),0),a.vertexM?.set(h.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 y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new x(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class x{constructor(t){this.geometry=t,this.index=-1,this._readVertex=S(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=S(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++],o=e[n++];return{b:[this.end,[t,r],[s,o]]}}const r=e[n++],s=e[n++],o=e[n++],i=e[n++],a=e[n++],u=e[n++];n++,n++;const c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===o)return{c:[this.end,[c,h]]};const l=2&r?0:1,m=1&r?0:1;return{a:[this.end,[a,u],l,m,i,s,o]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(n,new I(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:o,vertexM:a}=t,u=A(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new I(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,m.yP)(n)}const[o,a,c,h]=s;e={xmin:o,ymin:a,xmax:c,ymax:h,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,o,i;t=r=1/0,o=i=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),o=Math.max(o,n),r=Math.min(r,a),i=Math.max(i,a)}e={xmin:t,ymin:r,xmax:o,ymax:i,spatialReference:u}}if(o){let t=1/0,n=-1/0;for(const e of o)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 _(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:o,z:i,m:a}=t,u=[s,o];null!=i&&u.push(i),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,V(e[0],(0,m.yP)(e.at(-1)))&&--t),t),0));const s=O(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,m.Ed)(t)),{hasZ:o,hasM:i,vertexXY:u,vertexZ:c,vertexM:h}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],o&&(c[g]=t[2]),i&&(h[g]=t[f]),++g}s.spatialReference=t.spatialReference??void 0;const f=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!o&&!i){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])l(t);return s}const p="polygon"===r,{partOffsets:d}=s;let y=0;if(!(0,m.Ed)(t)){for(const t of n){if(d[y++]=g,0===t.length)continue;let e=t.length;if(p&&V(t[0],t.at(-1))&&--e,o||i)for(let n=0;n<e;++n)l(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[y]=g,s}function x(t){const e=v+t;if(e<=(s.segmentParams?.length??0))return;let n=e*N;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let v=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const o=g-1;(0,m.wY)(r)?(x(10),++s.segmentCountArc,v=Z(n,r,s,o,v),n=r.a[0]):(0,m.DA)(r)?(x(10),++s.segmentCountArc,v=G(n,r,s,o,v),n=r.a[0]):(0,m.aO)(r)?(x(10),++s.segmentCountArc,v=R(n,r,s,o,v),n=r.c[0]):(0,m.n1)(r)?(x(4),++s.segmentCountBezier,v=Y(0,r,s,o,v),n=r.b[0]):n=r}p&&V(e,n)||l(n)}return s.partOffsets[y]=g,s}function E(t){const e=S(t),{vertexCount:n,partCount:r,hasZ:s,hasM:o}=t,i=A(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:i}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:i,hasZ:s,hasM:o}}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],o=new Array;for(;a<r;)o.push(e(a++));u&&o.length>0&&o.push(o[0]),n.push(o)}return u?{rings:n,hasZ:s,hasM:o,spatialReference:i}:{paths:n,hasZ:s,hasM:o,spatialReference:i}}const c=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);c.push(t)}return u?{rings:[],curveRings:c,hasZ:s,hasM:o,spatialReference:i}:{paths:[],curvePaths:c,hasZ:s,hasM:o,spatialReference:i}}function P(t,{lengths:e,coords:n,hasZ:r,hasM:s},o){const i=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?i:0);r??=!1,s??=!1;const c=O(t,u,i,r,s,!1,0,0);if(c.spatialReference=o??void 0,!c.isMultipart()){for(let t=0,e=0;t<u;++t)c.vertexXY[2*t]=n[e++],c.vertexXY[2*t+1]=n[e++],r&&(c.vertexZ[t]=n[e++]),s&&(c.vertexM[t]=n[e++]);return c}const h=2+Number(r)+Number(s);let l=0,m=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[m],o=e+t-Number(a);c.partOffsets[++m]=o;for(let t=e;t<o;++t)c.vertexXY[2*t]=n[l++],c.vertexXY[2*t+1]=n[l++],r&&(c.vertexZ[t]=n[l++]),s&&(c.vertexM[t]=n[l++]);a&&(l+=h)}return c}function w({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:o,partOffsets:i,hasZ:a,hasM:u}){const c=new p.A([],[],a,u);o=Math.max(o,1);const h="polygon"===t;let l=0;for(let t=0;t<o;++t){const o=i?.[t+1]??e,m=c.coords.length;for(let t=l;t<o;++t)c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=l;c.coords.push(n[2*t],n[2*t+1]),a&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-m)/c.stride),l=o}return"point"===t&&(c.lengths.length=0),c}function b(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 o=s.isCustomWkid()?0:s.getOldID();if(o<=0)return{wkt:e};let i=t.getLatestVerticalID();return(i<=0||i===o)&&(i=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:o,latestVcsWkid:i}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class I{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 A({spatialReference:t}){return t instanceof o.A?t.toJSON():t}function S({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 V(t,e){return t.every((t,n)=>t===e[n])}function O(t,e,n,r,s,o,i,a){i??=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:i,segmentCountBezier:a});let c=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(c+=Float64Array.BYTES_PER_ELEMENT*e),s&&(c+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),o&&(c+=e*Int8Array.BYTES_PER_ELEMENT,c+=e*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const h=new ArrayBuffer(c);let l=0;return u.vertexXY=new Float64Array(h,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,l,e),l+=u.vertexM.byteLength),o&&(u.segmentParams=new Float64Array(h,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,l,e),u.segmentIndices.fill(F),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),o&&(u.segmentFlags=new Int8Array(h,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function Z(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},o,i){n[o]=4,r[o]=i;const[a,[u,c],h,l,m,f,p]=e.a;let d=4;l||(d|=1),h||(d|=2);const y=(0,g.SW)(t,e),[x,v]=(0,g.Uk)(y,.5);return s[i++]=d,s[i++]=f,s[i++]=p,s[i++]=m,s[i++]=u,s[i++]=c,s[i++]=y.u2-y.u1,s[i++]=y.u1,s[i++]=x,s[i++]=v,i}function G(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},o,i){n[o]=4,r[o]=i;const a=(0,f.io)(t,e);return T(a,4,...(0,c.mq)(a,.5),s,i)}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},o,i){return n[o]=4,r[o]=i,T((0,h.pM)(t,e),0,...e.c[1],s,i)}function T(t,e,n,r,s,o){const{cx:i,cy:a,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[o++]=e,s[o++]=h,s[o++]=1,s[o++]=0,s[o++]=i,s[o++]=a,s[o++]=c-u,s[o++]=u,s[o++]=n,s[o++]=r,o}function Y(t,{b:[e,[n,r],[s,o]]},{segmentFlags:i,segmentIndices:a,segmentParams:u},c,h){return i[c]=2,a[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=o,h}const N=1.61803,F=-1},37817(t,e,n){n.d(e,{execute:()=>r.e}),n(4576),n(90756),n(78125);var r=n(68925)},90756(t,e,n){n.d(e,{g:()=>m,f:()=>f});var r=n(61691),s=n(55537),o=n(88885),i=n(95213),a=n(15756),u=a.C;function c(t,e){return{m_geometry:t,m_side:e}}class h extends r.G{constructor(t,e,n,r,s){super(),this.m_cutIndex=-1,this.m_cuts=[],this.m_progressTracker=s,this.m_cuttee=e.clone(),this.m_cutter=new o.a({copy:n}),this.m_bConsiderTouch=t;const a=(0,i.g)(e,n);this.m_tolerance=(0,i.c)(r,a,!0)}next(){return-1===this.m_cutIndex&&this.generateCuts(),++this.m_cutIndex<this.m_cuts.length?this.m_cuts[this.m_cutIndex]:null}getGeometryID(){return this.m_cutIndex}tock(){return!0}getRank(){return 1}generateCuts(){switch(this.m_cuttee.getGeometryType()){case s.G.enumPolyline:this.generatePolylineCuts();break;case s.G.enumPolygon:this.generatePolygonCuts()}}generatePolylineCuts(){const t=new o.a,e=new o.a,n=new o.a;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const r=[];!function(t,e,n,r,s,i){if(e.isEmpty()){const t=c(e,0);return void s.push(t)}if(n.isEmpty()){const t=c(e,0);return void s.push(t)}const h=[],l=new o.E;{const o=l.createGeometryUserIndex(),m=l.addGeometry(e),f=l.addGeometry(n),g=new a.T(i);let p=0,d=null;if(l.hasCurves()){d=new u;const t=l.getEnvelope2D(i);p=(0,a.l)(r.total());const e=(0,a.k)(r.total(),t);(0,a.n)(l,e,r.total(),12e3,d,null,i)}l.dbgVerifyCurves(),g.setEditShapeCrackAndCluster(l,r),g.cut(t,o,m,f,h);for(const t of h){null!==d&&d.stitchCurves(l,t,p,!1);const e=c(l.getGeometry(t),(0,a.D)(l.getGeometryUserIndex(t,o)));s.push(e)}null!==d&&d.clearStitcher(l)}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?t.add(i.m_geometry,!1):2===i.m_side||4===i.m_side?e.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.d)("")}n.isEmpty()||t.isEmpty()&&e.isEmpty()&&!(this.m_cuts.length>=3)||this.m_cuts.push(n),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}generatePolygonCuts(){const t=new o.P,e=new o.P,n=new o.P;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const r=[];!function(t,e,n,r,s,i){if(e.isEmpty()){const t=c(e,0);return void s.push(t)}if(n.isEmpty()){const t=c(e,0);return void s.push(t)}const h=[],l=new o.E;{const t=l.createGeometryUserIndex(),m=l.addGeometry(e),f=l.addGeometry(n),g=new a.T(i);let p=0,d=null;if(l.hasCurves()){d=new u;const t=l.getEnvelope2D(i);p=(0,a.l)(r.total());const e=(0,a.k)(r.total(),t);(0,a.n)(l,e,r.total(),12e3,d,null,i)}l.dbgVerifyCurves(),g.setEditShapeCrackAndCluster(l,r),g.cut(!1,t,m,f,h),null!==d&&d.stitchCurves(l,o.n,p,!0);let y=l.getGeometry(m);const x=new o.P,v=new o.P,M=[];for(let e=0;e<h.length;e++){let n=null;{const s=new o.E,u=s.addGeometry(y),c=s.addGeometry(l.getGeometry(h[e]));if(s.hasCurves()){const t=s.getEnvelope2D(i);p=(0,a.l)(r.total());const e=(0,a.k)(r.total(),t);(0,a.n)(s,e,r.total(),12e3,d,null,i)}g.setEditShapeCrackAndCluster(s,r);const m=g.intersection(u,c);if(null!==d&&d.stitchCurves(s,o.n,p,!0),n=s.getGeometry(m),n.isEmpty())continue;const f=l.getGeometryUserIndex(h[e],t);2===f?x.add(n,!1):1===f?v.add(n,!1):M.push(n)}{const t=new o.E,n=t.addGeometry(y),s=t.addGeometry(l.getGeometry(h[e]));if(t.hasCurves()){const e=t.getEnvelope2D(i);p=(0,a.l)(r.total());const n=(0,a.k)(r.total(),e);(0,a.n)(t,n,r.total(),12e3,d,null,i)}g.setEditShapeCrackAndCluster(t,r);const u=g.difference(n,s);null!==d&&d.stitchCurves(t,o.n,p,!0),y=t.getGeometry(u)}}if(!y.isEmpty()&&h.length>0&&M.push(y),x.isEmpty()&&v.isEmpty())return;if(!x.isEmpty()){const t=c(x,1);s.push(t)}if(!v.isEmpty()){const t=c(v,2);s.push(t)}for(let t=0,e=M.length;t<e;++t){const e=c(M[t],3);s.push(e)}}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?t.add(i.m_geometry,!1):2===i.m_side?e.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.d)("")}(0,s.g)(n.isEmpty()||1===r.length),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}}const l=new class{getOperatorType(){return 10005}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e,n,r,s){return new h(t,e,n,r,s)}};function m(t,e,n){const r=l.execute(!0,t,e,n,null);return Array.from(r)}function f(){return l.supportsCurves()}},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>d,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>x,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>_,getSpatialReference:()=>g,toExtent:()=>P,toGeometry:()=>E,toMultipoint:()=>w,toPoint:()=>b,toPolygon:()=>I,toPolyline:()=>A});var r=n(83661),s=(n(79187),n(55537)),o=n(95213),i=n(88885),a=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),m=(n(90293),n(83299));const f="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return x(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return d(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function d(t){if(!t.getCacheValue(f)){const e=new o.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(f,e)}return t.getCacheValue(f)}function y(t){if(!t.getCacheValue(f)){const e=new i.M,n=new o.P,r=t.points,s=t.hasM,a=t.hasZ,u=a?3:2;for(let t=0,o=r.length;t<o;t++){const o=r[t];n.setXYCoords(o[0],o[1]),a&&n.setZ(o[2]??0),s&&n.setM(o[u]??NaN),e.add(n)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function x(t){if(!t.getCacheValue(f)){const e=new o.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function v(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,o=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(f,o)}return t.getCacheValue(f)}function M(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,o=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,o)}return t.getCacheValue(f)}function C(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,o=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(f,o)}return t.getCacheValue(f)}function _(t){return t.cache?(t.cache[f]??=(0,m.fromSpatialReference)(t),t.cache[f]):(0,m.fromSpatialReference)(t)}function E(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return b(t,e);case s.G.enumEnvelope:return P(t,e);case s.G.enumMultiPoint:return w(t,e);case s.G.enumPolyline:return A(t,e);case s.G.enumPolygon:return I(t,e)}return null}function P(t,e){if(t.isEmpty())return null;const n=new a.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(f,t),n}function w(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],a=new o.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const c=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return c.setCacheValue(f,t),c}function b(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(f,t),n}function I(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}function A(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(f,t),n}},4197(t,e,n){n.d(e,{Vj:()=>h,cj:()=>c,jh:()=>o,l5:()=>a,yH:()=>u});var r=n(34275),s=n(9093);function o(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(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 i(t);if(0===t.length)return i(e);const n=o(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 c(t){return[...t]}function h(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:()=>v,DC:()=>l,Ej:()=>f,Ie:()=>y,Jt:()=>x,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>d,iT:()=>m,is:()=>M,qv:()=>_,vI:()=>p,vY:()=>a,v_:()=>E,vt:()=>o,w1:()=>c}),n(35522);var r=n(5443),s=(n(19419),n(4197));function o(t=E){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,a=o()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=i,a}function a(t,e=o()){return function(t,e,n,r=o()){return d(r,_),function(t,e,n=0,r=e.length/3){let s=t[0],o=t[1],i=t[2],a=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),o=Math.min(o,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=o,t[2]=i,t[3]=a,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,o,i,a,u]=t;return e[0]=n,e[1]=r,e[2]=o,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=o,e[9]=n,e[10]=a,e[11]=u,e[12]=i,e[13]=r,e[14]=o,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=a,e[20]=o,e[21]=i,e[22]=a,e[23]=u,e}function c(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 h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function m(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 f(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 p(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 y(t){return t?d(t,_):o(_)}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function v(t,e,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 M(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!M(t)||!M(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 _=[1/0,1/0,1/0,-1/0,-1/0,-1/0],E=[0,0,0,0,0,0];o()},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 o=n-t,i=r-e;return new s([5],[t,e,o,0,0,i,-o,0,0,-i])}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],o=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+o),s=a,o=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,o=this.coords.slice(0,r*n);return t?(t.set(o),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(o),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)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[447],{66344(e,t,i){i.d(t,{q:()=>n});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,r,a){t=e.id+t;const n=this._db.get(t);if(n&&(this._size-=n.size,e.size-=n.size,this._db.delete(t),n.entry!==i&&this._notifyRemove(t,n.entry,n.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return s||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(a,-4)- -3;this._db.set(t,new o(i,r,l)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const r=e.lifetime;i[r]=(i[r]||0)+e.size,this._clients.forEach(i=>{const{id:r,name:o}=i;if(s.startsWith(r)){const i=t[o]||0;t[o]=i+e.size}})});const s={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[i]||0;t[i]=r,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const r=this._clients.get(e.split(a)[0])?.removeFunc,o=r?.(t,s,i);return"number"==typeof o?o:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let r=!0;for(;r;){r=!1;for(const[o,n]of this._db)if(0===n.lifetime&&(!s||o.startsWith(s))){const s=t??this._clients.get(o.split(a)[0]);if(this._purgeItem(o,n,s),i.size<=.9*e)return;r||=this._db.has(o)}}for(const[r,o]of this._db)if(!s||r.startsWith(s)){const s=t??this._clients.get(r.split(a)[0]);if(this._purgeItem(r,o,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class o{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const a=":";class n{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new r(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},7656(e,t,i){i.r(t),i.d(t,{default:()=>B});var s=i(5482),r=i(11254),o=i(7762),a=i(49186),n=i(81583),l=i(25728),h=i(17676),d=i(86211),u=i(91429),p=i(56507),m=i(35666),c=i(5443),y=i(83960),f=i(21325),g=i(4146),v=i(52136),_=i(98534),b=i(18768),S=i(63074),x=i(69208),z=i(34287),w=i(8303),I=i(54310),M=i(25036),C=i(91921),O=i(82935),Z=i(10873),E=i(69622),A=i(39516);function L(e,t){return"floorInfo"in t&&t.floorInfo?.floorField?function(e,t){if(!e?.length)return null;const i=e.filter(e=>""!==e).map(e=>`'${e}'`);return i.push("''"),`${t} IN (${i.join(",")}) OR ${t} IS NULL`}(e,t.floorInfo.floorField):null}var T=i(63389);const R={visible:"visibleSublayers",definitionExpression:"layerDefs",labelingInfo:"hasDynamicLayers",labelsVisible:"hasDynamicLayers",opacity:"hasDynamicLayers",minScale:"visibleSublayers",maxScale:"visibleSublayers",renderer:"hasDynamicLayers",source:"hasDynamicLayers"};let F=class extends E.A{constructor(e){super(e),this.floors=null,this.scale=0}destroy(){this.layer=null}get dynamicLayers(){if(!this.hasDynamicLayers)return null;const e=this.visibleSublayers.map(e=>{const t=L(this.floors,e);return e.toExportImageJSON(t)});return e.length?JSON.stringify(e):null}get hasDynamicLayers(){return this.layer&&(0,T.Sk)(this.visibleSublayers,this.layer.serviceSublayers,this.layer.gdbVersion)}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.removeHandles("layer"),e&&this.addHandles([e.allSublayers.on("change",()=>this.notifyChange("visibleSublayers")),e.on("sublayer-update",e=>this.notifyChange(R[e.propertyName]))],"layer"))}get layers(){const e=this.visibleSublayers;return e?e.length?"show:"+e.map(e=>e.id).join(","):"show:-1":null}get layerDefs(){const e=!!this.floors?.length,t=this.visibleSublayers.filter(t=>null!=t.definitionExpression||e&&null!=t.floorInfo);return t.length?JSON.stringify(t.reduce((e,t)=>{const i=L(this.floors,t),s=(0,A.mA)(i,t.definitionExpression);return null!=s&&(e[t.id]=s),e},{})):null}get version(){this.commitProperty("layers"),this.commitProperty("layerDefs"),this.commitProperty("dynamicLayers");const e=this.layer;return e&&(e.commitProperty("dpi"),e.commitProperty("imageFormat"),e.commitProperty("imageTransparency"),e.commitProperty("gdbVersion")),(this._get("version")||0)+1}get visibleSublayers(){const e=[];if(!this.layer)return e;const t=this.layer.sublayers,i=this.scale,s=t=>{t.visible&&(0===i||(0,y.zx)(i,t.minScale,t.maxScale))&&(t.sublayers?t.sublayers.forEach(s):e.unshift(t))};t?.forEach(s);const r=this._get("visibleSublayers");return!r||r.length!==e.length||r.some((t,i)=>e[i]!==t)?e:r}toJSON(){const e=this.layer;let t={dpi:e.dpi,format:e.imageFormat,transparent:e.imageTransparency,gdbVersion:e.gdbVersion||null};return this.hasDynamicLayers&&this.dynamicLayers?t.dynamicLayers=this.dynamicLayers:t={...t,layers:this.layers,layerDefs:this.layerDefs},t}};(0,s.Cg)([(0,u.MZ)({readOnly:!0})],F.prototype,"dynamicLayers",null),(0,s.Cg)([(0,u.MZ)()],F.prototype,"floors",void 0),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],F.prototype,"hasDynamicLayers",null),(0,s.Cg)([(0,u.MZ)()],F.prototype,"layer",null),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],F.prototype,"layers",null),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],F.prototype,"layerDefs",null),(0,s.Cg)([(0,u.MZ)({type:Number})],F.prototype,"scale",void 0),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],F.prototype,"version",null),(0,s.Cg)([(0,u.MZ)({readOnly:!0})],F.prototype,"visibleSublayers",null),F=(0,s.Cg)([(0,u.$K)("esri.layers.support.ExportImageParameters")],F);var N=i(33446),P=i(15775),j=i(91908),k=i(88625),D=i(79677),U=i(56400),J=i(36005),V=i(43937);let $=class extends((0,S.dM)((0,O.e)((0,M.j)((0,C.I)((0,_.V)((0,b.b)((0,z.q)((0,w.A)((0,l.M)((0,I.J)((0,v.p)((0,x.d)(g.A))))))))))))){constructor(...e){super(...e),this._exportImageParameters=new F({layer:this}),this.dateFieldsTimeZone=null,this.datesInUnknownTimezone=!1,this.dpi=96,this.elevationInfo=new k.A({mode:"on-the-ground"}),this.gdbVersion=null,this.imageFormat="png24",this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.isReference=null,this.labelsVisible=!1,this.operationalLayerType="ArcGISMapServiceLayer",this.preferredTimeZone=null,this.sourceJSON=null,this.sublayers=null,this.type="map-image",this.url=null,this._debouncedSaveOperations=(0,h.sg)(async(e,t,s)=>{const{save:r,saveAs:o}=await i.e(390).then(i.bind(i,10390));switch(e){case 0:return r(this,t);case 1:return o(this,s,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(h.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}destroy(){this._exportImageParameters.destroy()}readImageFormat(e,t){const i=t.supportedImageFormatTypes;return i&&i.includes("PNG32")?"png32":"png24"}get loaded(){return super.loaded}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}writeSublayers(e,t,i,s){if(!this.loaded||!e)return;const r=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray();let o=!1;const a=(0,m.aB)(s.origin);let n;if(this.capabilities?.operations.supportsExportMap&&this.capabilities?.exportMap?.supportsDynamicLayers)if(3===a){const e=this.createSublayersForOrigin("service").sublayers;o=(0,T.Zx)(r,e,2)}else if(a>3){const e=this.createSublayersForOrigin("portal-item");o=(0,T.Zx)(r,e.sublayers,(0,m.aB)(e.origin)),n=e.originWithPartialOverrides}const l=[],h={writeSublayerStructure:o,...s,minimumWritableOrigin:n};let d=o||this.hasVisibleLayersForOrigin(a);r.forEach(e=>{const t=e.write({},h);l.push(t),d=d||"user"===e.originOf("visible")}),l.some(e=>Object.keys(e).length>1)&&(t.layers=l),d&&(t.visibleLayers=r.filter(e=>e.visible).map(e=>e.id))}createExportImageParameters(e,t,i,s){const r=s?.pixelRatio||1;e&&this.version>=10&&(e=e.clone().shiftCentralMeridian()),this._exportImageParameters.floors=s?.floors??null,this._exportImageParameters.scale=s?.scale||(0,y.X_)({extent:e,width:t})*r;const o=this._exportImageParameters.toJSON(),a=!s?.rotation||this.version<10.3?{}:{rotation:-s.rotation},n=e?.spatialReference,l=(0,f.YX)(n);if(s?.scale&&e){const i=e.width/t*((0,d.GA)(e?.spatialReference)*d.dy);o.dpi=s.scale/i}o.dpi*=r;const h={};if(s?.timeExtent){const{start:e,end:t}=s.timeExtent.toJSON();h.time=e&&t&&e===t?""+e:`${e??"null"},${t??"null"}`}else this.timeInfo&&!this.timeInfo.hasLiveData&&(h.time="null,null");return{bbox:e?e.xmin+","+e.ymin+","+e.xmax+","+e.ymax:void 0,bboxSR:l,imageSR:l,size:t+","+i,...o,...a,...h}}async fetchImage(e,t,i,s){const{data:r}=await this._fetchImage("image",e,t,i,s);return r}async fetchImageBitmap(e,t,i,s){const{data:r,url:o}=await this._fetchImage("blob",e,t,i,s);return(0,N.mn)(r,o,s)}async fetchRecomputedExtents(e={}){const t={...e,query:{returnUpdates:!0,f:"json",...this.customParameters,token:this.apiKey}},{data:i}=await(0,r.A)(this.url,t),{extent:s,fullExtent:o,timeExtent:a}=i,n=s||o;return{fullExtent:n&&c.A.fromJSON(n),timeExtent:a&&D.A.fromJSON({start:a[0],end:a[1]})}}loadAll(){return(0,n.g)(this,e=>{e(this.allSublayers),e(this.subtables)})}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}serviceSupportsSpatialReference(e){return(0,j.D)(this,e)}async _fetchImage(e,t,i,s,o){const n={responseType:e,signal:o?.signal??null,query:{...this.parsedUrl.query,...this.createExportImageParameters(t,i,s,o),f:"image",...this.refreshParameters,...this.customParameters,token:this.apiKey}},l=this.parsedUrl.path+"/export";if(null!=n.query?.dynamicLayers&&!this.capabilities?.exportMap?.supportsDynamicLayers)throw new a.A("mapimagelayer:dynamiclayer-not-supported",`service ${this.url} doesn't support dynamic layers, which is required to be able to change the sublayer's order, rendering, labeling or source.`,{query:n.query});try{const{data:e}=await(0,r.A)(l,n);return{data:e,url:l}}catch(e){if((0,h.zf)(e))throw e;throw new a.A("mapimagelayer:image-fetch-error",`Unable to load image: ${l}`,{error:e})}}async _fetchService(e){if(this.sourceJSON)return void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});const{data:t,ssl:i}=await(0,r.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},signal:e});i&&(this.url=this.url.replace(/^http:/i,"https:")),this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})}hasVisibleLayersForOrigin(e){return!(null==e||!this.sublayersSourceJSON[e]?.visibleLayers)}};(0,s.Cg)([(0,u.MZ)((0,U.P6)("dateFieldsTimeReference"))],$.prototype,"dateFieldsTimeZone",void 0),(0,s.Cg)([(0,u.MZ)({type:Boolean})],$.prototype,"datesInUnknownTimezone",void 0),(0,s.Cg)([(0,u.MZ)()],$.prototype,"dpi",void 0),(0,s.Cg)([(0,u.MZ)()],$.prototype,"elevationInfo",void 0),(0,s.Cg)([(0,u.MZ)()],$.prototype,"gdbVersion",void 0),(0,s.Cg)([(0,u.MZ)()],$.prototype,"imageFormat",void 0),(0,s.Cg)([(0,J.w)("imageFormat",["supportedImageFormatTypes"])],$.prototype,"readImageFormat",null),(0,s.Cg)([(0,u.MZ)({json:{origins:{service:{read:{source:"maxImageHeight"}}}}})],$.prototype,"imageMaxHeight",void 0),(0,s.Cg)([(0,u.MZ)({json:{origins:{service:{read:{source:"maxImageWidth"}}}}})],$.prototype,"imageMaxWidth",void 0),(0,s.Cg)([(0,u.MZ)()],$.prototype,"imageTransparency",void 0),(0,s.Cg)([(0,u.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],$.prototype,"isReference",void 0),(0,s.Cg)([(0,u.MZ)({json:{read:!1,write:!1}})],$.prototype,"labelsVisible",void 0),(0,s.Cg)([(0,u.MZ)({type:["ArcGISMapServiceLayer"]})],$.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,u.MZ)({json:{read:!1,write:!1}})],$.prototype,"popupEnabled",void 0),(0,s.Cg)([(0,u.MZ)((0,U.P6)("preferredTimeReference"))],$.prototype,"preferredTimeZone",void 0),(0,s.Cg)([(0,u.MZ)()],$.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,u.MZ)({type:o.A.ofType(P.A),json:{write:{ignoreOrigin:!0}}})],$.prototype,"sublayers",void 0),(0,s.Cg)([(0,V.K)("sublayers",{layers:{type:[P.A]},visibleLayers:{type:[p.jz]}})],$.prototype,"writeSublayers",null),(0,s.Cg)([(0,u.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],$.prototype,"listMode",void 0),(0,s.Cg)([(0,u.MZ)({json:{read:!1},readOnly:!0,value:"map-image"})],$.prototype,"type",void 0),(0,s.Cg)([(0,u.MZ)(Z.OZ)],$.prototype,"url",void 0),$=(0,s.Cg)([(0,u.$K)("esri.layers.MapImageLayer")],$);const B=$},82935(e,t,i){i.d(t,{B:()=>p,e:()=>m});var s=i(5482),r=i(91429),o=i(89317),a=i(30524),n=i(96184),l=i(73133),h=i(79677),d=i(10184),u=i(36005);const p={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.K}}},m=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const s=i.timeOffset,r=l.j.fromJSON(i.timeOffsetUnits);return s&&r?new d.A({value:s,unit:r}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,a.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,s.Cg)([(0,r.MZ)({type:h.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,s.Cg)([(0,r.MZ)({type:d.A})],i.prototype,"timeOffset",void 0),(0,s.Cg)([(0,u.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,s.Cg)([(0,r.MZ)({value:null,type:n.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],i.prototype,"timeInfo",null),(0,s.Cg)([(0,r.MZ)(p)],i.prototype,"useViewTime",void 0),i=(0,s.Cg)([(0,r.$K)("esri.layers.mixins.TemporalLayer")],i),i}},96184(e,t,i){i.d(t,{A:()=>m});var s=i(5482),r=i(69540),o=i(25482),a=i(91429),n=i(79677),l=i(10184),h=i(56400),d=i(36005),u=i(43937);function p(e,t){return l.A.fromJSON({value:e,unit:t})}let m=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?n.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?p(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?p(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],m.prototype,"cumulative",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"endField",void 0),(0,s.Cg)([(0,a.MZ)({type:n.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"fullTimeExtent",void 0),(0,s.Cg)([(0,d.w)("fullTimeExtent",["timeExtent"])],m.prototype,"readFullTimeExtent",null),(0,s.Cg)([(0,u.K)("fullTimeExtent")],m.prototype,"writeFullTimeExtent",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hasLiveData",void 0),(0,s.Cg)([(0,a.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"interval",void 0),(0,s.Cg)([(0,d.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],m.prototype,"readInterval",null),(0,s.Cg)([(0,u.K)("interval")],m.prototype,"writeInterval",null),(0,s.Cg)([(0,a.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"startField",void 0),(0,s.Cg)([(0,a.MZ)((0,h.P6)("timeReference",!0))],m.prototype,"timeZone",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"trackIdField",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],m.prototype,"useTime",void 0),(0,s.Cg)([(0,a.MZ)({type:[Date],json:{read:!1}})],m.prototype,"stops",void 0),m=(0,s.Cg)([(0,a.$K)("esri.layers.support.TimeInfo")],m)},91908(e,t,i){i.d(t,{D:()=>o});var s=i(60694);const r=[];function o(e,t){if((0,s.Wo)(e.url??""))return!0;const{wkid:i}=t;for(const t of r){if((e.version??0)>=t[0])return!0;if("function"==typeof t[1]&&(t[1]=t[1]()),t[1].has(i))return!1}return!0}r.push([10.91,()=>{const e=new Set([9709,9716,9741,9761,9766]);for(let t=9712;t<=9713;t++)e.add(t);for(let t=9748;t<=9749;t++)e.add(t);for(let t=20904;t<=20932;t++)e.add(t);for(let t=21004;t<=21032;t++)e.add(t);for(let t=21207;t<=21264;t++)e.add(t);for(let t=21307;t<=21364;t++)e.add(t);for(let t=23301;t<=23333;t++)e.add(t);for(let t=102759;t<=102760;t++)e.add(t);for(let t=102934;t<=102955;t++)e.add(t);return e}]),r.push([10.9,()=>{const e=new Set([9300,9354,9364,9367,9373,9377,9387,9456,9473,9498,9678,9680,29874,103599,103872,104028]);for(let t=9356;t<=9360;t++)e.add(t);for(let t=9404;t<=9407;t++)e.add(t);for(let t=9476;t<=9482;t++)e.add(t);for(let t=9487;t<=9494;t++)e.add(t);for(let t=9697;t<=9699;t++)e.add(t);return e}]),r.push([10.81,()=>{const e=new Set([9265,9333,103598,103699]);for(let t=9248;t<=9254;t++)e.add(t);for(let t=9271;t<=9273;t++)e.add(t);for(let t=9284;t<=9285;t++)e.add(t);for(let t=21453;t<=21463;t++)e.add(t);return e}]),r.push([10.8,()=>{const e=new Set([8088,8395,8428,8433,8531,8687,8692,8694,8699,8900,9003,9006,9009,9012,9017,9191]);for(let t=8035;t<=8036;t++)e.add(t);for(let t=8455;t<=8456;t++)e.add(t);for(let t=8518;t<=8529;t++)e.add(t);for(let t=8533;t<=8536;t++)e.add(t);for(let t=8538;t<=8540;t++)e.add(t);for(let t=8677;t<=8679;t++)e.add(t);for(let t=8902;t<=8903;t++)e.add(t);for(let t=8907;t<=8910;t++)e.add(t);for(let t=8949;t<=8951;t++)e.add(t);for(let t=8972;t<=8987;t++)e.add(t);for(let t=9039;t<=9040;t++)e.add(t);for(let t=9068;t<=9069;t++)e.add(t);for(let t=9140;t<=9141;t++)e.add(t);for(let t=9148;t<=9150;t++)e.add(t);for(let t=9153;t<=9159;t++)e.add(t);for(let t=9205;t<=9218;t++)e.add(t);for(let t=9221;t<=9222;t++)e.add(t);for(let t=54098;t<=54101;t++)e.add(t);return e}]),r.push([10.71,()=>{const e=new Set([6316]);for(let t=8351;t<=8353;t++)e.add(t);for(let t=9294;t<=9297;t++)e.add(t);for(let t=22619;t<=22621;t++)e.add(t);for(let t=103586;t<=103594;t++)e.add(t);return e}])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5779],{68197(e,t,r){r.d(t,{A:()=>u});var i=r(40876),n=r(4576),o=r(34727),s=r(56507);function a(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function l(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,i=new u){return i.r=Math.round(e.r+(t.r-e.r)*r),i.g=Math.round(e.g+(t.g-e.g)*r),i.b=Math.round(e.b+(t.b-e.b)*r),i.a=e.a+(t.a-e.a)*r,i._sanitize()}static fromRgb(e,t){const r=(0,i.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,i.oW)(e);return r?u.fromArray(r,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,i.Eq)(e);return r?u.fromArray(r,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,n.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,i=3===r||4===r,n=4===r||8===r,o=`#${l(this.r,i)}${l(this.g,i)}${l(this.b,i)}${n?l(Math.round(255*this.a),i):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),r=a(this.g),i=a(this.b);return 0===e||1!==this.a?[t,r,i,a(255*this.a)]:[t,r,i]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(e,t,r,i){this.r=e,this.g=t,this.b=r,this.a=i}}u.prototype.declaredClass="esri.Color"},52106(e,t,r){r.d(t,{A:()=>C});var i,n,o=r(5482),s=r(37838),a=r(69540),l=r(51447),u=r(25482),c=r(53966),d=r(36708),p=r(24326),h=r(91429),f=r(12195),m=r(65864),g=r(50498),y=r(55156),M=r(60950),b=r(54339),v=r(94128),I=r(33910);function w(e){if(null==e)return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let C=class extends((0,a.OU)(u.o)){static{i=v.Z}static{n=this}constructor(e){super(e),this[i]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,M.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:w(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const n={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(n.action=i),"attributes"===e&&(n.attributeName=i),this.layer.graphicChanged(n)}_watchMeshGeometryChanges(){this.addHandles([(0,d.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,d.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,o.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,m.rS)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],C.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,h.MZ)({value:null})],C.prototype,"attributes",null),(0,o.Cg)([(0,h.MZ)({value:null,types:g.yR,json:{read:m.rS}})],C.prototype,"geometry",null),(0,o.Cg)([(0,h.MZ)()],C.prototype,"distance",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean})],C.prototype,"isAggregate",void 0),(0,o.Cg)([(0,h.MZ)({clonable:!1})],C.prototype,"layer",void 0),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],C.prototype,"origin",void 0),(0,o.Cg)([(0,h.MZ)({type:s.A,value:null})],C.prototype,"popupTemplate",null),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],C.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,h.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],C.prototype,"statisticsAggregatedIds",void 0),(0,o.Cg)([(0,h.MZ)({value:null,types:I.Es})],C.prototype,"symbol",null),(0,o.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],C.prototype,"_version",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean,value:!0})],C.prototype,"visible",null),C=n=(0,o.Cg)([(0,h.$K)("esri.Graphic")],C)},40876(e,t,r){r.d(t,{Eq:()=>h,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>n,Vm:()=>f,ay:()=>l,c1:()=>g,c4:()=>s,iw:()=>b,j5:()=>u,lT:()=>d,oW:()=>c,xV:()=>v});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return!!i[e]||!!i[e.toLowerCase()]}function o(e){return i[e]??i[e.toLowerCase()]}function s(e){return[...o(e)]}function a(e,t,r){r<0&&++r,r>1&&--r;const i=6*r;return i<1?e+(t-e)*i:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,i=1){const n=(e%360+360)%360/360,o=r<=.5?r*(t+1):r+t-r*t,s=2*r-o;return[Math.round(255*a(s,o,n+1/3)),Math.round(255*a(s,o,n)),Math.round(255*a(s,o,n-1/3)),i]}function u(e){const t=e.length>5,r=t?8:4,i=(1<<r)-1,n=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&i,s>>=r,a[3]=n*l/255),l=s&i,s>>=r,a[2]=n*l,l=s&i,s>>=r,a[1]=n*l,l=s&i,s>>=r,a[0]=n*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),n=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,i+16*i,(n+16*n)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),p(t)}return p(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function p(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?m(e[3]):1,e}function h(e){let t=n(e)?o(e):null;return t??=d(e),t??=c(e),t}function f(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const M=2.2,b=1/M;function v(e){return e**b}},66344(e,t,r){r.d(t,{q:()=>a});const i=!!(0,r(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const r=this._db.get(e.id+t);return r?.size??0}put(e,t,r,n,s){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==r&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,r,n,0);if(void 0===r)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return i||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,r,0,0);const l=1+Math.max(s,-4)- -3;this._db.set(t,new o(r,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const r=this._db.get(t);if(!r)return;this._size-=r.size,e.size-=r.size;let i=r.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,r.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}r.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const r=this._db.get(t);if(r)return this._size-=r.size,e.size-=r.size,this._db.delete(t),++this._hit,r.entry;++this._miss}get(e,t){t=e.id+t;const r=this._db.get(t);if(void 0!==r)return this._db.delete(t),r.lives=r.lifetime,this._db.set(t,r),++this._hit,r.entry;++this._miss}peek(e,t){const r=this._db.get(e.id+t);return r?++this._hit:++this._miss,r?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},r=new Array;this._db.forEach((e,i)=>{const n=e.lifetime;r[n]=(r[n]||0)+e.size,this._clients.forEach(r=>{const{id:n,name:o}=r;if(i.startsWith(n)){const r=t[o]||0;t[o]=r+e.size}})});const i={};this._clients.forEach(e=>{const r=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[r]||0;t[r]=n,i[r]=Math.round(100*e.hitRate)+"%"}else i[r]="0%"});const n=Object.keys(t);n.sort((e,r)=>t[r]-t[e]),n.forEach(r=>e[r]=Math.round(t[r]/2**20)+"MB / "+i[r]);for(let t=r.length-1;t>=0;--t){const i=r[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,r)=>{r.startsWith(t)&&(this._size-=e.size,this._db.delete(r),this._notifyRemove(r,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,r]of this._db)t.startsWith(e.id)&&(yield r.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,r,i){const n=this._clients.get(e.split(s)[0])?.removeFunc,o=n?.(t,i,r);return"number"==typeof o?o:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const r=t??this;if(r.size<=e)return;const i=t?.id;let n=!0;for(;n;){n=!1;for(const[o,a]of this._db)if(0===a.lifetime&&(!i||o.startsWith(i))){const i=t??this._clients.get(o.split(s)[0]);if(this._purgeItem(o,a,i),r.size<=.9*e)return;n||=this._db.has(o)}}for(const[n,o]of this._db)if(!i||n.startsWith(i)){const i=t??this._clients.get(n.split(s)[0]);if(this._purgeItem(n,o,i),r.size<=.9*e)return}}_purgeItem(e,t,r){if(this._db.delete(e),t.lives<=1){this._size-=t.size,r&&(r.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,r&&(r.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class o{constructor(e,t,r){this.entry=e,this.size=t,this.lifetime=r,this.lives=r}}const s=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,r=1){this._storage.put(this,e,t,r,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},9093(e,t,r){function i(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function n(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>n,vt:()=>i,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:n,create:i,fromValues:function(e,t,r,i,n,o,s,a,l,u,c,d,p,h,f,m){return[e,t,r,i,n,o,s,a,l,u,c,d,p,h,f,m]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,r){r.d(t,{$A:()=>x,Bw:()=>o,C:()=>s,Cc:()=>A,DI:()=>w,Il:()=>D,Io:()=>M,Ln:()=>y,Om:()=>S,Qr:()=>d,Re:()=>u,S8:()=>C,T9:()=>m,WQ:()=>l,Z0:()=>_,_S:()=>h,aI:()=>O,ei:()=>k,fw:()=>P,g7:()=>z,gL:()=>T,hG:()=>b,hZ:()=>a,hs:()=>g,jb:()=>L,jk:()=>f,lo:()=>U,lw:()=>c,m3:()=>v,oW:()=>j,t2:()=>E,tn:()=>p,uE:()=>q,xg:()=>G,ze:()=>I});var i=r(51850),n=r(34304);function o(e){const t=e[0],r=e[1],i=e[2];return Math.sqrt(t*t+r*r+i*i)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,r,i){return e[0]=t,e[1]=r,e[2]=i,e}function l(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function d(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function p(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function m(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function g(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function y(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e[2]=t[2]+r[2]*i,e}function M(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+i*i+n*n)}function b(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return r*r+i*i+n*n}function v(e){const t=e[0],r=e[1],i=e[2];return t*t+r*r+i*i}function I(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function w(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function C(e,t){const r=t[0],i=t[1],n=t[2];let o=r*r+i*i+n*n;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function x(e,t,r){const i=t[0],n=t[1],o=t[2],s=r[0],a=r[1],l=r[2];return e[0]=n*l-o*a,e[1]=o*s-i*l,e[2]=i*a-n*s,e}function A(e,t,r,i){const n=t[0],o=t[1],s=t[2];return e[0]=n+i*(r[0]-n),e[1]=o+i*(r[1]-o),e[2]=s+i*(r[2]-s),e}function _(e,t,r){const i=t[0],n=t[1],o=t[2];return e[0]=r[0]*i+r[4]*n+r[8]*o+r[12],e[1]=r[1]*i+r[5]*n+r[9]*o+r[13],e[2]=r[2]*i+r[6]*n+r[10]*o+r[14],e}function k(e,t,r){const i=t[0],n=t[1],o=t[2];return e[0]=i*r[0]+n*r[3]+o*r[6],e[1]=i*r[1]+n*r[4]+o*r[7],e[2]=i*r[2]+n*r[5]+o*r[8],e}function T(e,t,r){return P(e,t,r[0],r[1],r[2],r[3])}function P(e,t,r,i,n,o){const s=t[0],a=t[1],l=t[2],u=i*l-n*a,c=n*s-r*l,d=r*a-i*s,p=i*d-n*c,h=n*u-r*d,f=r*c-i*u,m=2*o;return e[0]=s+u*m+2*p,e[1]=a+c*m+2*h,e[2]=l+d*m+2*f,e}function z(e,t){C(R,e),C(F,t);const r=S(R,F);return r>1?0:r<-1?Math.PI:Math.acos(r)}const R=(0,i.vt)(),F=(0,i.vt)();function E(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const r=e[0],i=e[1],o=e[2],s=t[0],a=t[1],l=t[2],u=(0,n.FD)();return Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-a)<=u*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function j(e,t,r){const i=r[0]-t[0],n=r[1]-t[1],o=r[2]-t[2];let s=i*i+n*n+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=i*s,e[1]=n*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,Z=c,N=d,G=M,U=b,D=o,q=v;Object.freeze(Object.defineProperty({__proto__:null,abs:p,add:l,angle:z,bezier:function(e,t,r,i,n,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,d=3*l*s,p=l*o;return e[0]=t[0]*u+r[0]*c+i[0]*d+n[0]*p,e[1]=t[1]*u+r[1]*c+i[1]*d+n[1]*p,e[2]=t[2]*u+r[2]*c+i[2]*d+n[2]*p,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:s,cross:x,crossAndNormalize:function(e,t,r){const i=t[0],n=t[1],o=t[2],s=r[0],a=r[1],l=r[2],u=n*l-o*a,c=o*s-i*l,d=i*a-n*s,p=Math.sqrt(u*u+c*c+d*d);return e[0]=u/p,e[1]=c/p,e[2]=d/p,e},direction:j,dist:G,distance:M,div:N,divide:d,dot:S,equals:O,exactEquals:E,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,i,n,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return e[0]=t[0]*a+r[0]*l+i[0]*u+n[0]*c,e[1]=t[1]*a+r[1]*l+i[1]*u+n[1]*c,e[2]=t[2]*a+r[2]*l+i[2]*u+n[2]*c,e},inverse:w,len:D,length:o,lerp:A,max:m,min:f,mul:Z,multiply:c,negate:I,normalize:C,random:function(e,t=1){const r=n.Ov,i=2*r()*Math.PI,o=2*r()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(i)*s,e[1]=Math.sin(i)*s,e[2]=o*t,e},rotateX:function(e,t,r,i){const n=[],o=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],o[0]=n[0],o[1]=n[1]*Math.cos(i)-n[2]*Math.sin(i),o[2]=n[1]*Math.sin(i)+n[2]*Math.cos(i),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateY:function(e,t,r,i){const n=[],o=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],o[0]=n[2]*Math.sin(i)+n[0]*Math.cos(i),o[1]=n[1],o[2]=n[2]*Math.cos(i)-n[0]*Math.sin(i),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateZ:function(e,t,r,i){const n=[],o=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],o[0]=n[0]*Math.cos(i)-n[1]*Math.sin(i),o[1]=n[0]*Math.sin(i)+n[1]*Math.cos(i),o[2]=n[2],e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:a,sign:h,sqrDist:U,sqrLen:q,squaredDistance:b,squaredLength:v,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:k,transformMat4:_,transformQuat:T,transformQuatValues:P},Symbol.toStringTag,{value:"Module"}))},13069(e,t,r){r.d(t,{AG:()=>a,lk:()=>n,vD:()=>s,yS:()=>o});const i="randomUUID"in crypto;function n(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${n().toUpperCase()}}`}function s(){return`{${n()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),o=r(69540),s=r(25482),a=r(91429),l=r(99157);let u=i=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,n.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=i=(0,n.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>l});var i,n=r(5482),o=r(69540),s=r(25482),a=r(91429);let l=i=class extends((0,o.OU)(s.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,n.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],l.prototype,"isInverse",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,n.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=i=(0,n.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>n});var i=r(49208);function n(e,t,r,n,o,s,a=Math.floor(e.length/3)){const l=(0,i.jd)(t,o);if(null==l)return!1;if(l===i.pO){if(e===n&&r===s)return!0;const t=r+3*a;for(let i=r,o=s;i<t;i++,o++)n[o]=e[i]??0;return!0}const u=r+3*a;for(let t=r,i=s;t<u;t+=3,i+=3)l(e,t,n,i);return!0}},49208(e,t,r){r.d(t,{Tp:()=>d,jd:()=>c,pO:()=>h,w5:()=>u});var i=r(34727),n=r(86211),o=r(73941),s=r(79258),a=r(34403),l=r(21325);const u={2:{5:h,7:null,9:null,10:h,1:I,6:null,8:null,0:null,3:m,11:g,2:h,4:A},5:{5:h,7:null,9:null,10:h,1:I,6:null,8:null,0:null,3:m,11:g,2:h,4:A},7:{5:null,7:h,9:null,10:h,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,r,i){const n=e[t]/R,o=z-2*Math.atan(Math.exp(-e[t+1]/R)),s=R+(e[t+2]??0),a=Math.cos(o)*s;r[i]=Math.cos(n)*a,r[i+1]=Math.sin(n)*a,r[i+2]=Math.sin(o)*s},6:null,8:null,0:null,3:h,11:function(e,t,r,i){f(e,t,r,i),g(r,i,r,i)},2:f,4:function(e,t,r,i){f(e,t,r,i),A(r,i,r,i)}},4:{5:_,7:null,9:null,10:_,1:function(e,t,r,i){_(e,t,r,i),I(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){_(e,t,r,i),m(r,i,r,i)},11:function(e,t,r,i){_(e,t,r,i),g(r,i,r,i)},2:_,4:h},1:{5:x,7:null,9:null,10:x,1:h,6:null,8:null,0:null,3:function(e,t,r,i){x(e,t,r,i),m(r,i,r,i)},11:function(e,t,r,i){x(e,t,r,i),g(r,i,r,i)},2:x,4:function(e,t,r,i){x(e,t,r,i),A(r,i,r,i)}},6:{5:null,7:S,9:null,10:S,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:h,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:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:I,6:v,8:b,0:null,3:m,11:g,2:h,4:A},11:{5:y,7:null,9:null,10:y,1:function(e,t,r,i){y(e,t,r,i),I(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){y(e,t,r,i),m(r,i,r,i)},11:h,2:y,4:function(e,t,r,i){y(e,t,r,i),A(r,i,r,i)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(k.source.spatialReference===e&&k.dest.spatialReference===t)return k;const r=p(e,k.source),i=p(t,k.dest);return 0===r&&0===i?(0,l.aI)(e,t)?k.projector=h:k.projector=null:k.projector=u[r][i],k}function p(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,n.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,r,i){e!==r&&(r[i++]=e[t++],r[i++]=e[t++],r[i]=e[t]??0)}function f(e,t,r,i){r[i]=P*(e[t]/R),r[i+1]=P*(z-2*Math.atan(Math.exp(-e[t+1]/R))),r[i+2]=e[t+2]??0}function m(e,t,r,n){!function(e,t,r,n,o){const s=.4999999*Math.PI,a=(0,i.qE)(T*e[t+1],-s,s),l=Math.sin(a);r[n++]=T*e[t]*o.radius,r[n++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[n]=e[t+2]??0}(e,t,r,n,s.$O)}function g(e,t,r,i){r[i]=e[t]*F,r[i+1]=e[t+1]*F,r[i+2]=e[t+2]??0}function y(e,t,r,i){r[i]=e[t]*E,r[i+1]=e[t+1]*E,r[i+2]=e[t+2]??0}function M(e,t,r,i,n){const o=n+(e[t+2]??0),s=T*e[t],a=T*e[t+1],l=Math.cos(a)*o;r[i]=Math.cos(s)*l,r[i+1]=Math.sin(s)*l,r[i+2]=Math.sin(a)*o}function b(e,t,r,i){M(e,t,r,i,s.Sw.radius)}function v(e,t,r,i){M(e,t,r,i,s.sH.radius)}function I(e,t,r,i){M(e,t,r,i,s.$O.radius)}function w(e,t,r,n,o){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,i.YN)(l/(0===u?1:u)),d=Math.atan2(a,s);r[n++]=P*d,r[n++]=P*c,r[n]=u-o}function C(e,t,r,i){w(e,t,r,i,s.Sw.radius)}function S(e,t,r,i){w(e,t,r,i,s.sH.radius)}function x(e,t,r,i){w(e,t,r,i,s.$O.radius)}function A(e,t,r,i){!function(e,t,r,i,n){const o=T*e[t],s=T*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=n.radius/Math.sqrt(1-n.eccentricitySquared*l*l);r[i++]=(c+a)*u*Math.cos(o),r[i++]=(c+a)*u*Math.sin(o),r[i++]=(c*(1-n.eccentricitySquared)+a)*l}(e,t,r,i,s.$O)}function _(e,t,r,i){const n=a.TP,o=e[t],l=e[t+1],u=e[t+2]??0;let c,d,p,h,f,m,g,y,M,b,v,I,w,C,S,x,A,_,k,T,z;c=Math.abs(u),d=o*o+l*l,p=Math.sqrt(d),h=d+u*u,f=Math.sqrt(h),T=Math.atan2(l,o),m=u*u/h,g=d/h,C=n.a2/f,S=n.a3-n.a4/f,g>.3?(y=c/f*(1+g*(n.a1+C+m*S)/f),k=Math.asin(y),b=y*y,M=Math.sqrt(1-b)):(M=p/f*(1-m*(n.a5-C-g*S)/f),k=Math.acos(M),b=1-M*M,y=Math.sqrt(b)),v=1-s.$O.eccentricitySquared*b,I=s.$O.radius/Math.sqrt(v),w=n.a6*I,C=p-I*M,S=c-w*y,A=M*C+y*S,x=M*S-y*C,_=x/(w/v+A),k+=_,z=A+x*_/2,u<0&&(k=-k),r[i++]=P*T,r[i++]=P*k,r[i]=z}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},T=(0,i.kU)(1),P=(0,i.KJ)(1),z=.5*Math.PI,R=s.$O.radius,F=R*Math.PI/180,E=180/(R*Math.PI)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>K,initializeProjection:()=>J,isEqualBaseGCS:()=>B,isLoaded:()=>R,isLoadedOrLoad:()=>F,isLoadedOrLoadFor:()=>E,load:()=>j,project:()=>L,projectAsync:()=>V,projectExtent:()=>ne,projectMany:()=>Z,projectMultipoint:()=>Q,projectOrLoad:()=>G,projectOrLoadMany:()=>U,projectPoint:()=>W,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>O,test:()=>$,tryProject:()=>N,unload:()=>q});var i=r(49186),n=r(17676),o=r(62788),s=r(95488),a=r(51850),l=r(21276),u=r(73941),c=r(5443),d=r(91075),p=r(48526),h=r(86738),f=r(39829),m=r(82799),g=r(16930),y=r(98764),M=r(159),b=r(9762),v=r(49208);function I(e,t,r,i,n,o){return w[0]=e,w[1]=t,w[2]=r,(0,b.projectBuffer)(w,i,0,n,o,0)}const w=(0,a.vt)();var C=r(60408),S=r(21325),x=r(52006);let A=null,_=null,k=null,T=null,P={};const z=new s.I;function R(){return!!(_?.isLoaded()&&k?.isLoaded()&&T?.isLoaded())}function F(){return!!R()||((0,o.gc)(z),j(),!1)}function E(e,t){return!e||!t||K(e,t)||F()}function O(e,t){return!K(e,t)&&!R()}async function j(e){null==A&&(A=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(_=e,_.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(k=e,k.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(T=e,T.load()))])),await A,(0,n.Te)(e),z.notify()}function L(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),Z(e,e[0].spatialReference,t,r)):((0,l.f)(e),Z([e],e.spatialReference,t,r)[0])}function Z(e,t,r,i){if(null==t||null==r)return e;if(K(t,r,i))return e.map(e=>H(e,t,r));if(null==i?.geographicTransformation&&(0,u.jA)(t))return Z(e.map(e=>H(e,t,g.A.WGS84)),g.A.WGS84,r,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(r))return Z(e,t,g.A.WGS84).map(e=>H(e,g.A.WGS84,r));if(!R())throw new D;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:T.getTransformation(t,r,i.areaOfInterestExtent)||new M.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,r);let n=P[e];n||(n=T.getTransformation(t,r)||new M.A,P[e]=n),i={geographicTransformation:n,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?_.executeMany(e,r,i):k.executeMany(e,r,i)}function N(e,t,r){try{return L(e,t,r)}catch(e){return null}}function G(e,t){const r=U([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function U(e,t,r){if(!R())for(const r of e)if(null!=r&&!(0,S.aI)(r.spatialReference,t)&&(0,S.fn)(r.spatialReference)&&(0,S.fn)(t)&&!K(r.spatialReference,t))return(0,o.gc)(z),{pending:j(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,S.aI)(e.spatialReference,t)?e:(0,S.fn)(e.spatialReference)&&(0,S.fn)(t)?L(e,t,r):null)}}class D extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){A=null,_=null,k=null,T=null,P={}}const $={get loadPromise(){return A}};async function V(e,t,r){if((0,n.Te)(r),!e)return e;const i=U(Array.isArray(e)?e:[e],t,r);if(i.pending)return await i.pending,(0,n.Te)(r),V(e,t,r);const o=i.geometries??[];return Array.isArray(e)?o:o[0]}function K(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,S.aI)(e,t)||(0,S.fn)(e)&&(0,S.fn)(t)&&!!(0,v.jd)(e,t))}function B(e,t){if((0,S.aI)(e,t))return!0;if(!(0,S.fn)(e)||!(0,S.fn)(t))return!1;const r=(0,S.oT)(e)||(0,S.K8)(e)||(0,S.x1)(e),i=(0,S.oT)(t)||(0,S.K8)(t)||(0,S.x1)(t);return r&&i}async function J(e,t,r,i){if(R())return(0,n.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:r,options:n}of e)if(t&&r&&!K(t,r,n))return j(i)}else if(e&&t&&!K(e,t,r))return j(i);return(0,n.NO)(i)}function H(e,t,r){return e?(0,C.fT)(e)?Y(e,t,new h.A,r,0):(0,C.ZC)(e)?oe(e,t,new c.A,r,0):(0,C.Bi)(e)?ie(e,t,new f.A,r,0):(0,C.Rg)(e)?te(e,t,new m.A,r,0):(0,C.U9)(e)?X(e,t,new p.A,r,0):null:null}function W(e,t,r=t.spatialReference,i=0){return null!=r&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,r,i)}function Y(e,t,r,i,n){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:n,(0,b.projectBuffer)(ue,t,0,ue,i,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=i,void 0!==o||(0,u.xP)(i)?(r.z=ue[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function Q(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,i)}function X(e,t,r,i,n){const{points:o,hasZ:s,hasM:a}=e,l=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:n);if(!(0,b.projectBuffer)(c,t,0,c,i,0,u))return null;const d=le(s,i);for(let e=0;e<u;++e){const t=3*e,r=c[t],i=c[t+1];d&&a?l.push([r,i,c[t+2],o[e][3]]):d?l.push([r,i,c[t+2]]):a?l.push([r,i,o[e][2]]):l.push([r,i])}return r.points=l,r.spatialReference=i,r.hasZ=s,r.hasM=a,r}function ee(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,i)}function te(e,t,r,i,n){const{curvePaths:o,paths:s,hasZ:a,hasM:l}=e;if(!(o?ae(o,a??!1,l??!1,t,r.curvePaths=[],i,n):se(s,a??!1,l??!1,t,r.paths,i,n)))return null;const u=le(a,i);return r.spatialReference=i,r.hasZ=u,r.hasM=l,r}function re(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=ie(e,e.spatialReference,t,r,i)}function ie(e,t,r,i,n){const{curveRings:o,rings:s,hasZ:a,hasM:l}=e;return(o?ae(o,a??!1,l??!1,t,r.curveRings=[],i,n):se(s,a??!1,l??!1,t,r.rings,i,n))?(r.spatialReference=i,r.hasZ=le(a,i),r.hasM=l,r):null}function ne(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=oe(e,e.spatialReference,t,r,i)}function oe(e,t,r,i,n){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!I(o,s,u?e.zmin:n,t,ue,i))return null;const d=le(u,i);return r.xmin=ue[0],r.ymin=ue[1],d&&(r.zmin=ue[2]),I(a,l,u?e.zmax:n,t,ue,i)?(r.xmax=ue[0],r.ymax=ue[1],d&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=i,r):null}function se(e,t,r,i,n,o,s=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(a,i,0,a,o,0))return!1;let l=0;n.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const i of t){const t=a.slice(l,l+=3);c||t.pop(),r&&t.push(i[u]),e.push(t)}n.push(e)}return!0}function ae(e,t,r,i,n,o,s=0){const a=new Array;for(const r of e)for(const e of r){if((0,x.FG)(e))return!1;if((0,x.aO)(e)){const[r,i]=e.c;a.push(r[0],r[1],t?r[2]:s,i[0],i[1],s);continue}if((0,x.n1)(e)){const[r,i,n]=e.b;a.push(r[0],r[1],t?r[2]:s,i[0],i[1],s,n[0],n[1],s);continue}const r=e;a.push(r[0],r[1],t?r[2]:s)}if(!(0,b.projectBuffer)(a,i,0,a,o,0))return!1;let l=0;n.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const i of t){const t=a.slice(l,l+=3);if(c||t.pop(),r&&t.push((0,x.yP)(i)[u]),(0,x.FG)(i))return!1;if((0,x.aO)(i)){const r=a[l++],i=a[l++];++l,e.push({c:[t,[r,i]]});continue}if((0,x.n1)(i)){const r=a[l++],i=a[l++];++l;const n=a[l++],o=a[l++];++l,e.push({b:[t,[r,i],[n,o]]});continue}e.push(t)}n.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,S.aI)(t,y.Y0)}const ue=(0,a.vt)()},98764(e,t,r){r.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var i=r(73941),n=r(16930),o=r(21325);const s=new n.A(i.fv),a=new n.A(i.FY),l=new n.A(i.LJ),u=new n.A(i.Ro);function c(e){const t=d.get(e);if(t)return t;let r=s;if(e)if(e===a)r=a;else if(e===l)r=l;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,o.tl)(t)||(0,o.tl)(i)?r=a:((0,o.ZL)(t)||(0,o.ZL)(i))&&(r=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===p?r=a:e===h&&(r=l)}}}return d.set(e,r),r}const d=new Map,p=a.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,r){r.d(t,{Vj:()=>c,cj:()=>u,jh:()=>o,l5:()=>a,yH:()=>l});var i=r(34275),n=r(9093);function o(e){return e<=i.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=i.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e,t){if(0===t.length)return s(e);if(0===e.length)return s(t);const r=o(e.length+t.length);for(let t=0;t<e.length;++t)r[t]=e[t];for(let i=0;i<t.length;++i)r[e.length+i]=t[i];return r}function u(e){return[...e]}function c(e){const t=(0,n.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},70328(e,t,r){r.d(t,{BI:()=>b,DC:()=>d,Ej:()=>h,Ie:()=>y,Jt:()=>M,Ne:()=>f,RF:()=>c,aI:()=>I,fA:()=>s,gE:()=>l,hZ:()=>g,iT:()=>p,is:()=>v,qv:()=>w,vI:()=>m,vY:()=>a,v_:()=>C,vt:()=>o,w1:()=>u}),r(35522);var i=r(5443),n=(r(19419),r(4197));function o(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,i,n,s,a=o()){return a[0]=e,a[1]=t,a[2]=r,a[3]=i,a[4]=n,a[5]=s,a}function a(e,t=o()){return function(e,t,r,i=o()){return g(i,w),function(e,t,r=0,i=t.length/3){let n=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<i;e++)n=Math.min(n,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=n,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(i,e,t,r),i}(e,0,e.length/3,t)}function l(e,t=(0,n.jh)(24)){const[r,i,o,s,a,l]=e;return t[0]=r,t[1]=i,t[2]=o,t[3]=r,t[4]=i,t[5]=l,t[6]=r,t[7]=a,t[8]=o,t[9]=r,t[10]=a,t[11]=l,t[12]=s,t[13]=i,t[14]=o,t[15]=s,t[16]=i,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new i.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function f(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function m(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function y(e){return e?g(e,w):o(w)}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=n,e[5]=Number.POSITIVE_INFINITY,e}function v(e){return 6===e.length}function I(e,t,r){if(null==e||null==t)return e===t;if(!v(e)||!v(t))return!1;if(r){for(let i=0;i<e.length;i++)if(!r(e[i],t[i]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];o()},34403(e,t,r){r.d(t,{TP:()=>s});var i=r(79258);Math.PI;const n=i.$O.radius,o=i.$O.eccentricitySquared,s={a1:n*o,a2:n*o*n*o,a3:n*o*o/2,a4:n*o*n*o*2.5,a5:n*o+n*o*o/2,a6:1-o};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius},50498(e,t,r){r.d(t,{Ye:()=>d,gy:()=>c,iI:()=>h,yR:()=>p});var i=r(66552),n=r(5443),o=r(91075),s=r(48526),a=r(86738),l=r(39829),u=r(82799);const c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),d=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:o.A,key:"type",typeMap:{extent:n.A,multipoint:s.A,point:a.A,polyline:u.A,polygon:l.A}},h=new i.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,r){r.d(t,{I:()=>n,e:()=>i});const i=Symbol("idFieldsProviderSymbol");function n(e){return(t=e)&&i in t?e[i]:void 0;var t}},79457(e,t,r){r.r(t),r.d(t,{default:()=>le});var i=r(5482),n=r(37838),o=r(11254),s=r(69540),a=r(49186),l=r(36563),u=r(4718),c=r(53966),d=r(25728),p=r(17676),h=r(84952),f=r(91429),m=r(56507),g=r(5443),y=r(16930),M=r(50498),b=r(55156),v=r(60950),I=r(89808),w=r(99959);const C=Symbol("isStreamGraphicOrigin");var S;class x extends w.A{get[(S=C,v.ym)](){return this.layer}get[b.e](){return this.layer}get[I.Q](){return this.layer}constructor(e){super(),this[S]=!0,this.type="stream",this.layer=e}get id(){return this.layer.id}}var A,_=r(4146),k=r(18768),T=r(63074),P=r(69208),z=r(6455),R=r(87718),F=r(56658),E=r(34287),O=r(8303),j=r(54310),L=r(25036),Z=r(82935),N=r(63396),G=r(10873),U=r(25747),D=r(15426),q=r(20437),$=r(17036),V=r(30524),K=r(9916),B=r(46499),J=r(39383),H=r(25482);let W=class extends H.o{static{A=this}constructor(e){super(e),this.age=null,this.ageReceived=null,this.displayCount=null,this.maxObservations=1}clone(){return new A({age:this.age,ageReceived:this.ageReceived,displayCount:this.displayCount,maxObservations:this.maxObservations})}};(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"age",void 0),(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"ageReceived",void 0),(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"displayCount",void 0),(0,i.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"maxObservations",void 0),W=A=(0,i.Cg)([(0,f.$K)("esri.layers.support.PurgeOptions")],W);var Y=r(72691),Q=r(65494),X=r(8947),ee=r(41214),te=r(97552),re=r(30291),ie=r(88625),ne=r(59923),oe=r(36005);const se=(0,$.p)();let ae=class extends((0,z.FJ)((0,F.J)((0,R.F)((0,T.dM)((0,Z.e)((0,N.d)((0,L.j)((0,j.J)((0,k.b)((0,E.q)((0,O.A)((0,d.M)((0,P.d)((0,s.OU)(_.A))))))))))))))){constructor(...e){super(...e),this.copyright=null,this.definitionExpression=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.geometryDefinition=null,this.geometryType=null,this.graphicOrigin=new x(this),this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.maxReconnectionAttempts=0,this.maxReconnectionInterval=20,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.operationalLayerType="ArcGISStreamLayer",this.outFields=["*"],this.popupEnabled=!0,this.popupTemplate=null,this.purgeOptions=new W,this.refreshInterval=0,this.screenSizePerspectiveEnabled=!0,this.source=null,this.sourceJSON=null,this.spatialReference=y.A.WGS84,this.type="stream",this.url=null,this.updateInterval=300,this.useViewTime=!0,this.webSocketUrl=null,this._debouncedSaveOperations=(0,p.sg)(async(e,t,i)=>{const{save:n,saveAs:o}=await r.e(7301).then(r.bind(r,87301));switch(e){case 0:return n(this,t);case 1:return o(this,i,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){if(!("WebSocket"in globalThis))return this.addResolvingPromise(Promise.reject(new a.A("stream-layer:websocket-unsupported","WebSocket is not supported in this browser. StreamLayer will not have real-time connection with the stream service."))),Promise.resolve(this);const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Stream Service","Feed"]},e).catch(p.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get defaultPopupTemplate(){return this.createPopupTemplate()}set featureReduction(e){const t=this._normalizeFeatureReduction(e);this._set("featureReduction",t)}set renderer(e){(0,V.yp)(e,this.fieldsIndex),this._set("renderer",e)}readRenderer(e,t,r){t=t.layerDefinition||t;const i=t.drawingInfo?.renderer;if(i){const e=(0,Q.L)(i,t,r)||void 0;return e||c.A.getLogger(this).error("Failed to create renderer",{rendererDefinition:t.drawingInfo.renderer,layer:this,context:r}),e}return(0,D.PD)(t,r)}async connect(e){const[{createConnection:t}]=await Promise.all([Promise.all([r.e(893),r.e(4401)]).then(r.bind(r,60986)),this.load()]),i=e?.spatialReference?.toJSON()??this.spatialReference.toJSON(),n=t(this.getStreamConnectionSource(e),i),o=(0,l.vE)([this.on("send-message-to-socket",e=>n.sendMessageToSocket(e)),this.on("send-message-to-client",e=>n.sendMessageToClient(e))]);return n.once("destroy",o.remove),n}getStreamConnectionSource(e){const{customParameters:t=null,definitionExpression:r=null,geometryDefinition:i=null,maxReconnectionAttempts:n=0,maxReconnectionInterval:o=20}=e||this.createConnectionParameters(),s=this.geometryType?M.gy.toJSON(this.geometryType):null,l=this.spatialReference.toJSON();if(this.source){if(!this.timeInfo?.trackIdField)throw new a.A("stream-layer:missing-metadata","TrackIdField required for Kusto data source.");return{type:"kusto",database:this.database,table:this.source.table,trackIdField:this.timeInfo.trackIdField,geometryEncoding:this.source.geometryEncoding.toJSON(),sourceSpatialReference:l,refreshInterval:this.source.refreshInterval}}return this.webSocketUrl?{type:"custom",url:(0,h.An)(this.webSocketUrl),customParameters:t,definitionExpression:r,geometryDefinition:i,geometryType:s,maxReconnectionAttempts:n,maxReconnectionInterval:o,sourceSpatialReference:l}:this.parsedUrl?{type:"geoevent",url:this.parsedUrl,customParameters:t,definitionExpression:r,geometryDefinition:i,geometryType:s,maxReconnectionAttempts:n,maxReconnectionInterval:o,sourceSpatialReference:l}:{type:"client",geometryType:s,sourceSpatialReference:this.spatialReference.toJSON()}}createConnectionParameters(){return{spatialReference:this.spatialReference,customParameters:this.customParameters,definitionExpression:this.definitionExpression,geometryDefinition:this.geometryDefinition,maxReconnectionAttempts:this.maxReconnectionAttempts,maxReconnectionInterval:this.maxReconnectionInterval}}createPopupTemplate(e){return(0,re.tn)(this,e)}createQuery(){const e=new te.A;return e.returnGeometry=!0,e.outFields=["*"],e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,t){if(!this.fields)return null;let r=null;return this.fields.some(t=>(t.name===e&&(r=t.domain),!!r)),r}getField(e){return this.fieldsIndex.get(e)}serviceSupportsSpatialReference(e){return!0}sendMessageToSocket(e){this.emit("send-message-to-socket",e)}sendMessageToClient(e){this.emit("send-message-to-client",e)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){return this.webSocketUrl?((0,ne.U4)(t,this,"a custom websocket connection cannot be written to web scenes and web maps"),null):this.source?((0,ne.U4)(t,this,"a custom source cannot be written to web scenes and web maps"),null):this.parsedUrl?super.write(e,t):((0,ne.U4)(t,this,"a client-side only connection without a url cannot be written to web scenes and web maps"),null)}async _fetchService(e){if(this.source){const e=await(0,K.ZF)(this.source.workspace,this.source.database,this.source.table,{fields:this.fields,source:this.source,database:this.database});if(this.database=e.database,!e.fields)throw new a.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(this.fields=e.fields,!e.source)throw new a.A("stream-layer:missing-metadata","Unable to infer Kusto source.",{layerInfo:e});if(!e.source.geometryEncoding)throw new a.A("stream-layer:missing-metadata","Unable to infer Kusto geometry encoding.",{layerInfo:e});this.source=e.source}if(this.parsedUrl){if(!this.sourceJSON){const{data:t}=await(0,o.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,...this.parsedUrl.query},responseType:"json",signal:e});this.sourceJSON=t}}else{if(!this.timeInfo?.trackIdField)throw new a.A("stream-layer:missing-metadata","The stream layer trackIdField must be specified.");if(!this.fields)throw new a.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(!this.objectIdField){const e=this.fields.find(e=>"oid"===e.type)?.name;e&&(this.objectIdField=e)}if(this.fields.some(e=>e.name===this.objectIdField)||this.fields.push(new q.A({name:this.objectIdField,alias:this.objectIdField,type:"oid"})),!this.geometryType)throw new a.A("stream-layer:missing-metadata","The stream layer geometryType must be specified.")}return this.read(this.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,V.yp)(this.renderer,this.fieldsIndex),(0,V.sv)(this.timeInfo,this.fieldsIndex),this.objectIdField||(this.objectIdField=Y.DN),(0,X.L)(this,{origin:"service"})}};(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"copyright",void 0),(0,i.Cg)([(0,f.MZ)()],ae.prototype,"database",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],ae.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,f.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],ae.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"displayField",void 0),(0,i.Cg)([(0,f.MZ)({type:ie.A})],ae.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,f.MZ)({json:{origins:{"web-map":{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],ae.prototype,"featureReduction",null),(0,i.Cg)([(0,f.MZ)(se.fields)],ae.prototype,"fields",void 0),(0,i.Cg)([(0,f.MZ)(se.fieldsIndex)],ae.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,f.MZ)({type:g.A,json:{name:"layerDefinition.definitionGeometry",write:!0}})],ae.prototype,"geometryDefinition",void 0),(0,i.Cg)([(0,f.MZ)({type:M.gy.apiValues,json:{read:{reader:M.gy.read}}})],ae.prototype,"geometryType",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0,clonable:!1})],ae.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,f.MZ)(G.kF)],ae.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,f.MZ)({type:[B.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:J.w},write:!0}})],ae.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,f.MZ)(G.fV)],ae.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:["show","hide"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],ae.prototype,"listMode",void 0),(0,i.Cg)([(0,f.MZ)({type:m.jz})],ae.prototype,"maxReconnectionAttempts",void 0),(0,i.Cg)([(0,f.MZ)({type:m.jz})],ae.prototype,"maxReconnectionInterval",void 0),(0,i.Cg)([(0,f.MZ)(G.hG)],ae.prototype,"maxScale",void 0),(0,i.Cg)([(0,f.MZ)(G.hn)],ae.prototype,"minScale",void 0),(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"objectIdField",void 0),(0,i.Cg)([(0,f.MZ)({value:"ArcGISStreamLayer",type:["ArcGISStreamLayer"]})],ae.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,f.MZ)({readOnly:!0})],ae.prototype,"outFields",void 0),(0,i.Cg)([(0,f.MZ)(G.M6)],ae.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:n.A,json:{name:"popupInfo",write:!0}})],ae.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,f.MZ)({type:W})],ae.prototype,"purgeOptions",void 0),(0,i.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],ae.prototype,"refreshInterval",void 0),(0,i.Cg)([(0,f.MZ)({types:ee.Hg,json:{origins:{service:{write:{target:"drawingInfo.renderer",enabled:!1}},"web-scene":{name:"layerDefinition.drawingInfo.renderer",types:ee.XJ,write:!0}},write:{target:"layerDefinition.drawingInfo.renderer"}}})],ae.prototype,"renderer",null),(0,i.Cg)([(0,oe.w)("service","renderer",["drawingInfo.renderer","defaultSymbol"]),(0,oe.w)("renderer",["layerDefinition.drawingInfo.renderer","layerDefinition.defaultSymbol"])],ae.prototype,"readRenderer",null),(0,i.Cg)([(0,f.MZ)((()=>{const e=(0,u.o8)(G.PY);return e.json.origins["portal-item"]={read:!1,write:!1},e})())],ae.prototype,"screenSizePerspectiveEnabled",void 0),(0,i.Cg)([(0,f.MZ)({type:U.A,json:{write:!1}})],ae.prototype,"source",void 0),(0,i.Cg)([(0,f.MZ)()],ae.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,f.MZ)({type:y.A,json:{origins:{service:{read:{source:"spatialReference"}}}}})],ae.prototype,"spatialReference",void 0),(0,i.Cg)([(0,f.MZ)({json:{read:!1}})],ae.prototype,"type",void 0),(0,i.Cg)([(0,f.MZ)(G.OZ)],ae.prototype,"url",void 0),(0,i.Cg)([(0,f.MZ)({type:Number})],ae.prototype,"updateInterval",void 0),(0,i.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],ae.prototype,"useViewTime",void 0),(0,i.Cg)([(0,f.MZ)({type:String})],ae.prototype,"webSocketUrl",void 0),ae=(0,i.Cg)([(0,f.$K)("esri.layers.StreamLayer")],ae);const le=ae},54339(e,t,r){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function n(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>n})},18768(e,t,r){r.d(t,{b:()=>a});var i=r(5482),n=r(53966),o=r(91429),s=r(60694);const a=e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,s.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,s.Jf)(e,n.A.getLogger(this)))}};return(0,i.Cg)([(0,o.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,o.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.ArcGISService")],r),r}},69208(e,t,r){r.d(t,{d:()=>o});var i=r(5482),n=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,n.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},6455(e,t,r){r.d(t,{FJ:()=>y,Dp:()=>M,KV:()=>b});var i=r(5482),n=r(93637),o=r(91429),s=r(89317),a=r(69540),l=r(7762),u=r(25482),c=r(83960),d=r(13069);const p={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let h=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.id=(0,d.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:p})],h.prototype,"maxScale",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:p})],h.prototype,"minScale",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,i.Cg)([(0,o.$K)("esri.layers.support.DisplayFilter")],h);var f=r(41560),m=r(43937);let g=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(l.A.ofType(h)),this.mode="manual"}writeFilters(e,t,r,i){const n=e.toArray();"scale"===this.mode&&n.sort((e,t)=>{const r=(0,c.oW)(t.minScale,e.minScale),i=e.maxScale-t.maxScale;return 0===r?i:r}),t[r]=n.map(e=>e.toJSON(i))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,o.MZ)({type:l.A.ofType(h),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,i.Cg)([(0,m.K)("filters")],g.prototype,"writeFilters",null),(0,i.Cg)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,i.Cg)([(0,o.$K)("esri.layers.support.DisplayFilterInfo")],g);const y=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,i.Cg)([(0,o.MZ)(M)],r.prototype,"displayFilterEnabled",void 0),(0,i.Cg)([(0,o.MZ)(b)],r.prototype,"displayFilterInfo",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},M={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,r){(0,n.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},b={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},8303(e,t,r){r.d(t,{A:()=>w});var i=r(5482),n=r(92602),o=r(70333),s=r(11254),a=r(60999),l=r(49186),u=r(36563),c=r(53966),d=r(97768),p=r(17676),h=r(84952),f=r(91429),m=r(77548),g=r(20655),y=r(80812),M=r(41318),b=r(10407),v=r(36005),I=r(43937);const w=e=>{const t=e;let w=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,d.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new y.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,p.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||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 r.e(1204).then(r.bind(r,41204)),i=new AbortController,n=(0,u.rE)(i);return this.addHandles(n,"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,p.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,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!n.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!o.id?.findCredential(this.url),n=e===r.id;if(n&&r.portal.user)return this._getUserPrivileges(r,i);let s,a;if(n)s=r.portal.url;else try{s=await(0,m.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!s||!(0,h.b8)(s,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(o.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const l=!0,u=!1,c=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:c}};try{if(n?await r.reload():(r=new y.default({id:e,portal:{url:s}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,p.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,b.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const r=C.credential===t?C.user:await this._fetchEditingUser(e);return C.credential=t,C.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=o.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,n=g.A.getDefault();if(n&&n.loaded&&(0,h.S8)(n.restUrl)===(0,h.S8)(i))return n.user;const l=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,a.Ke)((0,s.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?M.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&i&&!(0,h.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,f.MZ)({type:y.default})],w.prototype,"portalItem",null),(0,i.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],w.prototype,"readPortalItem",null),(0,i.Cg)([(0,I.K)("web-document","portalItem",{itemId:{type:String}})],w.prototype,"writePortalItem",null),(0,i.Cg)([(0,f.MZ)({clonable:!1})],w.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasUpdateItemPrivileges",void 0),w=(0,i.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],w),w},C={credential:null,user:null}},82935(e,t,r){r.d(t,{B:()=>p,e:()=>h});var i=r(5482),n=r(91429),o=r(89317),s=r(30524),a=r(96184),l=r(73133),u=r(79677),c=r(10184),d=r(36005);const p={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.K}}},h=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const i=r.timeOffset,n=l.j.fromJSON(r.timeOffsetUnits);return i&&n?new c.A({value:i,unit:n}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,n.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,i.Cg)([(0,n.MZ)({type:c.A})],r.prototype,"timeOffset",void 0),(0,i.Cg)([(0,d.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,i.Cg)([(0,n.MZ)({value:null,type:a.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,i.Cg)([(0,n.MZ)(p)],r.prototype,"useViewTime",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.TemporalLayer")],r),r}},63396(e,t,r){r.d(t,{d:()=>w});var i=r(5482),n=r(91429),o=r(60950),s=r(99959);class a extends s.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[o.ym](){return this.trackInfoProvider.trackInfo}}var l=r(37838),u=r(69540),c=r(25482),d=r(93637),p=r(50820),h=r(10873),f=r(46499),m=r(41214);let g=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,i.Cg)([(0,n.MZ)({type:[f.A],json:{write:!0}})],g.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,n.MZ)(h.kF)],g.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,n.MZ)({types:m.Hg,json:{write:!0}})],g.prototype,"renderer",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"visible",void 0),g=(0,i.Cg)([(0,n.$K)("esri.layers.support.TrackPartInfo")],g);var y=r(96576),M=r(59868),b=r(10184),v=r(43937);let I=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new g({renderer:new y.A({symbol:M.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new g({renderer:new y.A({symbol:M.UK.clone()})}),this.trackLines=new g({renderer:new y.A({symbol:M.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const i=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,d.sM)(r,i,t)}};(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],I.prototype,"enabled",void 0),(0,i.Cg)([(0,n.MZ)({type:[p.A],json:{write:!0}})],I.prototype,"fields",void 0),(0,i.Cg)([(0,v.K)("fields")],I.prototype,"writeFields",null),(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],I.prototype,"latestObservations",void 0),(0,i.Cg)([(0,n.MZ)({type:b.A,json:{write:!0}})],I.prototype,"maxDisplayDuration",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:!0}})],I.prototype,"maxDisplayObservationsPerTrack",void 0),(0,i.Cg)([(0,n.MZ)(h.M6)],I.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,n.MZ)({type:l.A,json:{name:"popupInfo",write:!0}})],I.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],I.prototype,"previousObservations",void 0),(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],I.prototype,"trackLines",void 0),(0,i.Cg)([(0,n.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],I.prototype,"timeField",void 0),I=(0,i.Cg)([(0,n.$K)("esri.layers.support.TrackInfo")],I);const w=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new a(this),this.trackInfo=null}};return(0,i.Cg)([(0,n.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,i.Cg)([(0,n.MZ)({type:I})],r.prototype,"trackInfo",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.TrackableLayer")],r),r}},30279(e,t,r){r.d(t,{A:()=>u});var i=r(5482),n=r(69540),o=r(25482),s=r(10107),a=r(64108),l=r(62044);let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.alias=null,this.name=void 0,this.fieldFormat=null}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:String,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({types:l.fg,json:{write:!0}})],u.prototype,"fieldFormat",void 0),u=(0,i.Cg)([(0,a.$)("esri.layers.support.FieldConfiguration")],u)},9075(e,t,r){r.d(t,{A:()=>a});var i=r(5482),n=r(69540),o=r(25482),s=r(91429);let a=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.type="location",this.xField=null,this.yField=null}};(0,i.Cg)([(0,s.MZ)({type:["location"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"xField",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"yField",void 0),a=(0,i.Cg)([(0,s.$K)("esri.layers.support.GeometryEncodingLocation")],a)},96184(e,t,r){r.d(t,{A:()=>h});var i=r(5482),n=r(69540),o=r(25482),s=r(91429),a=r(79677),l=r(10184),u=r(56400),c=r(36005),d=r(43937);function p(e,t){return l.A.fromJSON({value:e,unit:t})}let h=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?a.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?p(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?p(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,i.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,i.Cg)([(0,d.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,i.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,i.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,i.Cg)([(0,d.K)("interval")],h.prototype,"writeInterval",null),(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,i.Cg)([(0,s.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,i.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,i.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],h)},16194(e,t,r){r.d(t,{QX:()=>l,sS:()=>c,xY:()=>u});var i=r(4718),n=r(30279),o=r(62044),s=r(30524),a=r(41227);function l(e){const{popupTemplate:t,fieldsIndex:r}=e,i=t?.fieldInfos;if(!i?.length||!r)return;const s=[];for(const e of i){const{fieldName:t,label:i}=e,a=r.get(t);if(!a)continue;const l=i&&i!==a.alias?i:null,u=(0,o.iu)(e,a);(l||u)&&s.push(new n.A({name:a.name,alias:l,fieldFormat:u}))}return s.length?s:null}function u(e){const{fields:t}=e;if(!t?.length)return;const r=[];for(const e of t){const t=(0,o.qH)(e)?(0,o.$P)(e):null;t&&r.push(new n.A({name:e.name,fieldFormat:t}))}return r.length?r:null}function c(e,t){const{popupTemplate:r,fieldsIndex:n}=e;if(!r||!n)return;const s=function(e,t,r){t??=[],r=(0,i.o8)(r)??[];let n=!1;const s=new Map;for(const r of t){const t=e.fieldsIndex.get(r.name);t&&s.set(t.name,r)}for(const t of r){const r=e.fieldsIndex.get(t.fieldName);if(!r)continue;const i=s.get(r.name);t.label=i?.alias||r.alias,t.format=(0,o.qH)(r)&&i?.fieldFormat?(0,o.PK)(i.fieldFormat,r):null,n=!0,s.delete(r.name)}for(const t of s.values()){const i=d(e,t);i&&(r.push(i),n=!0)}return n?r:null}(e,t,r.fieldInfos);if(!s)return;const a=r.clone();return a.fieldInfos=s,a}function d(e,t){const{name:r,alias:i,fieldFormat:n}=t,l=e.fieldsIndex.get(r);if(!l||!i&&!n)return;const u=i||l.alias,c=(0,o.qH)(l)&&n?(0,o.PK)(n,l):null;return new a.A({fieldName:l.name,label:u,format:c,visible:!1,isEditable:(0,s.R$)(l,e)})}},17036(e,t,r){r.d(t,{p:()=>l});var i=r(44208),n=r(53966),o=r(20437),s=r(95466),a=r(30524);function l(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,i.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");n.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||n.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,a.DB)(this.fieldsIndex,e)}}}}},54625(e,t,r){r.d(t,{A0:()=>s,bD:()=>o,i_:()=>n});var i=r(30524);function n(e,t,r){t=(0,i.rS)(t)?.toLowerCase(),r=(0,i.rS)(r)?.toLowerCase();const n=e.map(e=>e.toLowerCase()),a=t?e[n.indexOf(t)]:null,l=r?e[n.indexOf(r)]:null;return{longitudeFieldName:a||e[n.indexOf(s.find(e=>n.includes(e)))],latitudeFieldName:l||e[n.indexOf(o.find(e=>n.includes(e)))]}}const o=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],s=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"]},5757(e,t,r){r.d(t,{B:()=>n,P:()=>i});const i=Symbol("PopupTemplateInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>s,OM:()=>u,Sm:()=>c,Y:()=>a,bK:()=>l,mm:()=>p,sQ:()=>d});var i=r(91218),n=r(16930),o=r(28735);function s(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,p.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?s(e,t):u(e,t)}async function d(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);const r=n.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const p={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:r,itemControl:i}=e,n=t.user?.privileges;let o=!n||n.includes("features:user:edit"),s=!!r&&!!n?.includes("features:user:fullEdit");const a="update"===i||"admin"===i;return a?s=o=!0:s&&(o=!0),{features:{edit:o,fullEdit:s},content:{updateItem:a}}}},8947(e,t,r){r.d(t,{L:()=>s});var i=r(60999),n=r(17676),o=r(67076);async function s(e,t,r){const s=e&&e.getAtOrigin&&e.getAtOrigin("renderer",t.origin);if(s&&"unique-value"===s.type&&s.styleOrigin){const a=await(0,i.Ke)(s.populateFromStyle());if((0,n.Te)(r),!1===a.ok){const r=a.error;t?.messages&&t.messages.push(new o.A("renderer:style-reference",`Failed to create unique value renderer from style reference: ${r.message}`,{error:r,context:t})),e.clear("renderer",t?.origin)}}}},98205(e,t,r){r.d(t,{KZ:()=>a,eh:()=>s,gf:()=>o,of:()=>n,uY:()=>i});const i=Symbol("SizeVariableInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){const r=t||s(e),i=e.valueUnit||"unknown";return"unknown"===r?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}},41366(e,t,r){r.d(t,{K:()=>d,Q:()=>l});var i=r(5482),n=r(66552),o=r(53966),s=r(91429),a=r(93223);const l=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",d=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},28076(e,t,r){r.d(t,{D:()=>n});var i=r(13337);const n={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}}},13337(e,t,r){r.d(t,{h:()=>i});const i={Relative:0,Absolute:1}},93397(e,t,r){r.d(t,{$w:()=>m,Bu:()=>x,DW:()=>I,FH:()=>z,FM:()=>a,Kn:()=>b,MM:()=>d,Nl:()=>A,O2:()=>_,UE:()=>k,YC:()=>F,YF:()=>T,_1:()=>C,_d:()=>v,_h:()=>s,bs:()=>R,e6:()=>u,gQ:()=>o,jn:()=>h,lW:()=>c,ll:()=>L,mA:()=>p,oI:()=>q,pM:()=>w,pV:()=>M,pk:()=>O,rB:()=>j,xo:()=>S,yX:()=>D,z9:()=>y,zb:()=>P,zr:()=>f});var i=r(28076);function n(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function o(e,t){const r=[];let i=0,o=-1;do{if(o=e.indexOf("[",i),o>=i){if(o>i){const t=e.slice(i,o);r.push([t,null,n(t)])}if(i=o+1,o=e.indexOf("]",i),o>=i){if(o>i){const n=t[e.slice(i,o)];n&&r.push([null,n,!1])}i=o+1}}}while(-1!==o);if(i<e.length){const t=e.slice(i);r.push([t,null,n(t)])}return r}function s(e,t,r){let i="",n=null;for(const r of t){const[t,o,s]=r;if(null!=t&&""!==t)s?n=t:(null!=n&&(i+=n,n=null),i+=t);else{const t=e.readAttribute(o);null!=t&&""!==t&&(null!==n&&(i+=n,n=null),i+=t)}}return l(i,r)}function a(e,t,r,i){let n="",o=null;for(const i of t){const[t,s,a]=i;if(null!=t&&""!==t)a?o=t:(null!=o&&(n+=o,o=null),n+=t);else{let t=s;null!=r&&(t=E(s,r));const i=e.attributes[t];null!=i&&""!==i&&(null!=o&&(n+=o,o=null),n+=i)}}return l(n,i)}function l(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function u(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function c(e){return e.data?.symbol??null}function d(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function p(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function h(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function f(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const m=(e,t=0)=>null==e||isNaN(e)?t:e;class g{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function y(e){return new g(e)}function M(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function b(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function v(e){let t="normal",r="normal";if(e){const i=e.toLowerCase();i.includes("italic")?t="italic":i.includes("oblique")&&(t="oblique"),i.includes("bold")?r="bold":i.includes("light")&&(r="lighter")}return{style:t,weight:r}}function I(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function w(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=w(t);if(null!=e)return e}break;case"CIMTextSymbol":return w(e.symbol);case"CIMSolidFill":return e.color}return null}function C(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=C(e);if(null!=t)return t}break}case"CIMTextSymbol":return C(e.symbol);case"CIMSolidStroke":return e.color}}function S(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=S(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return S(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function x(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function A(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function _(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const k=e=>e.includes("data:image/svg+xml");function T(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function P(e,t,r,i,n,o,s=!0){const{infos:a}=o;let l=1,u=0,c=0,d=0,p=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:r,rotation:i,size:n,frameHeight:o,rotateClockWise:h,scaleSymbolsProportionally:f}of a)p=e?1:l,c=G(t,r,u,p,c),d=N(t,r,u,p,d),o&&(f||s)&&(l*=n/o),u=U(i,h,u);const h=G(i,n,u,p,c),f=N(i,n,u,p,d);return{size:e*l,rotation:U(t,r,u),offsetX:h,offsetY:f}}function z(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function R(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return R(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return R(e.symbol)}}return"Normal"}function F(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const r of e.symbolLayers)if(r)switch(r.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const r of e.symbolLayers)if(r)switch(r.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=r.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(r.markerPlacement&&f(r.markerPlacement)){const e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=r.height;null!=e&&e>t&&(t=e)}}return t}}}function E(e,t){if(null!==t){const r=t.get(e);return r?r.name:e}return e}function O(e){return e.map(e=>({...e,propertyName:T(e.propertyName)}))}function j(e){const t={};for(const r in e){const i=e[r];t[T(r)]=i}return t}function L(e){if(!e)return 0;let t=0;for(const r of e)t+=Z(r);return t}function Z(e){if(!e)return 0;if(function(e){return e.type.startsWith("PRI")}(e))return e.inflateSize??256;switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(m(e.offsetX)),Math.abs(m(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function N(e,t,r,i,n){const o=r*Math.PI/180;if(o){const r=Math.cos(o);return(Math.sin(o)*e+r*t)*i+n}return t*i+n}function G(e,t,r,i,n){const o=r*Math.PI/180;return o?(Math.cos(o)*e-Math.sin(o)*t)*i+n:e*i+n}function U(e,t,r){return t?r-e:r+e}function D(e,t){return Math.max(Math.min((e??t)/100,1),0)}function q(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}},93470(e,t,r){r.d(t,{Cb:()=>o,HW:()=>c,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>i,nC:()=>u,yM:()=>s});const i=[252,146,31,255],n=[153,153,153,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},c={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2600,3202,7548],{66344(e,t,i){i.d(t,{q:()=>a});const r=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return r||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new s(i,n,l)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let r=i.entry.usedMemory;for(;r>this._maxSize;){const e=this._notifyRemove(t,i.entry,r,1);if(!(null!=e&&e>0))return void this._db.delete(t);r=e}i.size=r,this._size+=r,e.size+=r,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,r)=>{const n=e.lifetime;i[n]=(i[n]||0)+e.size,this._clients.forEach(i=>{const{id:n,name:s}=i;if(r.startsWith(n)){const i=t[s]||0;t[s]=i+e.size}})});const r={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[i]||0;t[i]=n,r[i]=Math.round(100*e.hitRate)+"%"}else r[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+r[i]);for(let t=i.length-1;t>=0;--t){const r=i[t];r&&(e["Priority "+(t+-3-1)]=Math.round(r/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,r){const n=this._clients.get(e.split(o)[0])?.removeFunc,s=n?.(t,r,i);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const r=t?.id;let n=!0;for(;n;){n=!1;for(const[s,a]of this._db)if(0===a.lifetime&&(!r||s.startsWith(r))){const r=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,a,r),i.size<=.9*e)return;n||=this._db.has(s)}}for(const[n,s]of this._db)if(!r||n.startsWith(r)){const r=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,s,r),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const r=this._notifyRemove(e,t.entry,t.size,1);null!=r&&r>0&&(this._size+=r,i&&(i.size+=r),t.lives=t.lifetime,t.size=r,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class s{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},46140(e,t,i){i.d(t,{A:()=>n});var r=i(49186);class n{constructor(e,t,i=""){this.major=e,this.minor=t,this._context=i}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",i=this._context&&this._context+" ";throw new r.A(t+"unsupported-version",`Required major ${i}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new n(this.major,this.minor,this._context)}static parse(e,t=""){const[i,s]=e.split("."),o=/^\s*\d+\s*$/;if(!i?.match||!o.test(i))throw new r.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new r.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const a=parseInt(i,10),l=parseInt(s,10);return new n(a,l,t)}}},6797(e,t,i){i.d(t,{Ui:()=>h});var r=i(69622),n=i(7762),s=i(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof r.A}function l(e){return e instanceof n.A?Object.keys(e.items):a(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function c(e,t){return e instanceof n.A?e.items[t]:e[t]}function u(e){return e?e.declaredClass:null}function d(e,t){const i=e.diff;if(i&&"function"==typeof i)return i(e,t);const r=l(e),n=l(t);if(0===r.length&&0===n.length)return;if(!r.length||!n.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=n.filter(e=>!r.includes(e)),h=r.filter(e=>!n.includes(e)),f=r.filter(i=>n.includes(i)&&c(e,i)!==c(t,i)).concat(s,h).sort(),p=u(e);if(p&&o.has(p)&&f.length)return{type:"complete",oldValue:e,newValue:t};let m;const y=a(e)&&a(t);for(const r of f){const n=c(e,r),s=c(t,r);let o;if((y||"function"!=typeof n&&"function"!=typeof s)&&n!==s&&(null!=n||null!=s)){if(i&&i[r]&&"function"==typeof i[r])o=i[r]?.(n,s);else if(n instanceof Date&&s instanceof Date){if(n.getTime()===s.getTime())continue;o={type:"complete",oldValue:n,newValue:s}}else o="object"==typeof n&&"object"==typeof s&&u(n)===u(s)?d(n,s):{type:"complete",oldValue:n,newValue:s};null!=o&&(null!=m?m.diff[r]=o:m={type:"partial",diff:{[r]:o}})}}return m}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&u(e)!==u(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},16494(e,t,i){i.d(t,{Nd:()=>a,W5:()=>o});var r=i(17632);const n=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),s=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],o=new r.I({whiteList:n,onTagAttr:(e,t,i)=>{const r=`${t}="${i}"`;if(s.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},62815(e,t,i){i.d(t,{N:()=>a,d:()=>l});var r=i(86211),n=i(73941),s=i(21325),o=i(52006);function a(e,t,i){const r=l(t,i);if(1!==r)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,r);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const i of e.curvePaths)for(const e of i){const i=(0,o.yP)(e);i.length>2&&(i[2]*=t)}if(e.paths)for(const i of e.paths)for(const e of i)e.length>2&&(e[2]*=t)}}(e,r);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const i of e.curveRings)for(const e of i){const i=(0,o.yP)(e);i.length>2&&(i[2]*=t)}if(e.rings)for(const i of e.rings)for(const e of i)e.length>2&&(e[2]*=t)}}(e,r);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const i of e.points)i.length>2&&(i[2]*=t)}(e,r);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,r);default:return}}function l(e,t){return null==e||null==t||(0,s.aI)(e,t)||(0,n.xP)(e)||(0,n.xP)(t)?1:(0,r.G9)(e)/(0,r.G9)(t)}},4146(e,t,i){i.d(t,{A:()=>b});var r=i(5482),n=i(11254),s=i(49186),o=i(65529),a=i(4902),l=i(92474),c=i(53966),u=i(17676),d=i(84952),h=i(91429),f=i(5443),p=i(16930),m=i(92602),y=i(79677);let g=0,b=class extends((0,o.Zt)((0,a.s)(l.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new f.A(-180,-90,180,90,p.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=p.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([i.e(812),i.e(7982)]).then(i.bind(i,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:r}=await Promise.all([i.e(812),i.e(5613),i.e(909)]).then(i.bind(i,45613));try{return await r(t)}catch(e){const i=t?.portalItem,r=i?.id||"unset",n=i?.portal?.url||m.A.portalUrl;throw c.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+n+"', id: '"+r+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,u.zf)(e)||c.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,d.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,n.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,r.Cg)([(0,h.MZ)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"effectiveVisible",null),(0,r.Cg)([(0,h.MZ)({type:f.A})],b.prototype,"fullExtent",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,r.Cg)([(0,h.MZ)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,h.MZ)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,r.Cg)([(0,h.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,r.Cg)([(0,h.MZ)({clonable:!1})],b.prototype,"parent",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,r.Cg)([(0,h.MZ)({type:p.A})],b.prototype,"spatialReference",void 0),(0,r.Cg)([(0,h.MZ)({type:String})],b.prototype,"title",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)()],b.prototype,"url",void 0),(0,r.Cg)([(0,h.MZ)({type:y.A})],b.prototype,"visibilityTimeExtent",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,r.Cg)([(0,h.$K)("esri.layers.Layer")],b)},52136(e,t,i){i.d(t,{p:()=>s});var r=i(5482),n=i(91429);const s=e=>{const t=e;let i=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r.Cg)([(0,n.MZ)({type:String})],i.prototype,"apiKey",null),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],i),i}},47685(e,t,i){i.d(t,{Mk:()=>f,Zk:()=>d,w6:()=>y});var r=i(5482),n=i(65529),s=i(4718),o=i(91429),a=i(20816);const l=new n.bk;function c(e){return l.on("apply-edits",new WeakRef(e))}function u(e){return l.on("update-moment",new WeakRef(e))}function d(e,t,i=null,r=!1){const n=Promise.withResolvers();return r=null==t||r,l.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:i,mayReceiveServiceEdits:r,result:n.promise}),n}const h=Symbol();function f(e){return null!=e&&"object"==typeof e&&h in e}function p(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function m(e,t,i){const r=new URL(e).host,n=a.Z3.get(r),s=e=>!e||e===n;return s(t)&&s(i)||t===i}const y=e=>{var t;const i=e;let n=class extends i{static{t=h}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:i,gdbVersion:r,mayReceiveServiceEdits:n,result:o}=e,a=t===this.url,l=null!=i&&null!=this.layerId&&i===this.layerId,c=p(this),u=p(this)&&m(t,r,this.gdbVersion);if(!a||c&&!u||!l&&!n)return;const d=o.then(e=>{if(this.lastEditsEventDate=new Date,l&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,s.o8)(e)),e;const i=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(i){const{adds:t,updates:r,deletes:n}=i.editedFeatures,o={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:n?n.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:r?r.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return this.emit("edits",o),o}const n={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,n.historicMoment)&&this.emit("edits",n),n}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,r,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));this.emit("apply-edits",{result:d})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:i,moment:r}=e,n=t===this.url,s=p(this),o=p(this)&&m(t,i,this.gdbVersion),a=p(this)&&!m(t,this.gdbVersion,null);n&&s&&o&&a&&"historicMoment"in this&&this.historicMoment!==r&&(this.historicMoment=r)},this.when().then(()=>{this.addHandles(c(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(u(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,i){return"historicMoment"in this&&this.historicMoment!==i&&(0,a.w5)(e,t)}};return(0,r.Cg)([(0,o.MZ)()],n.prototype,"lastEditsEventDate",void 0),n=(0,r.Cg)([(0,o.$K)("esri.layers.mixins.EditBusLayer")],n),n}},32756(e,t,i){i.d(t,{Rr:()=>a,fY:()=>c,ne:()=>l});var r=i(5482),n=i(93637),s=i(91429),o=i(91880);function a(e,t,i){if(!e)return null;const r=e.find(e=>!!e.field);if(!r)return null;const n=new o.A;return n.read(r,i),[n]}const l={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,i,r){const s=e.find(e=>!!e.field);s&&(0,n.sM)(i,[s.toJSON()],t)}}}},c=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,r.Cg)([(0,s.MZ)(l)],i.prototype,"orderBy",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],i),i}},28032(e,t,i){i.d(t,{A:()=>l});var r=i(5482),n=i(69540),s=i(25482),o=i(91429),a=i(56400);let l=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"creatorField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"creationDateField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"editorField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"editDateField",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"realm",void 0),(0,r.Cg)([(0,o.MZ)((0,a.P6)("dateFieldsTimeReference",!0))],l.prototype,"timeZone",void 0),l=(0,r.Cg)([(0,o.$K)("esri.layers.support.EditFieldsInfo")],l)},29005(e,t,i){i.d(t,{A:()=>c});var r=i(5482),n=i(69540),s=i(66552),o=i(25482),a=i(91429);const l=new s.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let c=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"description",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],c.prototype,"drawingTool",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"prototype",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"thumbnail",void 0),c=(0,r.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],c)},33143(e,t,i){i.d(t,{A:()=>d});var r=i(5482),n=i(69540),s=i(25482),o=i(91429),a=i(8631),l=i(29005),c=i(36005),u=i(43937);let d=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const i of Object.keys(e))t[i]=(0,a.r)(e[i]);return t}writeDomains(e,t){const i={};for(const t of Object.keys(e))e[t]&&(i[t]=e[t]?.toJSON());t.domains=i}};(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,r.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,r.Cg)([(0,c.w)("domains")],d.prototype,"readDomains",null),(0,r.Cg)([(0,u.K)("domains")],d.prototype,"writeDomains",null),(0,r.Cg)([(0,o.MZ)({type:[l.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,r.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],d)},37352(e,t,i){i.d(t,{A:()=>l});var r,n=i(5482),s=i(7762),o=i(25482),a=i(91429);let l=r=class extends o.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,n.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,n.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=r=(0,n.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},91880(e,t,i){i.d(t,{A:()=>c});var r,n=i(5482),s=i(66552),o=i(25482),a=i(91429);const l=new s.J({asc:"ascending",desc:"descending"});let c=class extends o.o{static{r=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new r({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],c.prototype,"valueExpression",void 0),(0,n.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],c.prototype,"order",void 0),c=r=(0,n.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],c)},45067(e,t,i){i.d(t,{A:()=>u});var r=i(5482),n=i(69540),s=i(66552),o=i(25482),a=i(91429);const l=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),c=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"cardinality",void 0),(0,r.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],u.prototype,"catalogId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],u.prototype,"composite",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],u.prototype,"id",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyField",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],u.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],u.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:c.read,write:c.write}})],u.prototype,"role",void 0),u=(0,r.Cg)([(0,a.$K)("esri.layers.support.Relationship")],u)},17311(e,t,i){i.d(t,{A:()=>f});var r=i(5482),n=i(69622),s=i(4576),o=i(60999),a=i(7762),l=i(16494),c=i(91429),u=i(30524),d=i(43668);const h=/<br\s*\/*>/gi;let f=class extends n.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,o.UT)(()=>(0,d.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([i.e(4560),i.e(9301)]).then(i.bind(i,99301)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const i=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(i.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:i,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(i,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const i=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of i){const i=t.split("."),r=this.fieldsIndex.get(i.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const i of t){const t=this.fieldsIndex.get(i);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,i){const r=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],i)).get(r)??""}async getTitles(e,t,i){const r=new Map,n=i?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:s}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);i?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:o,workingTitle:a}=this,c=a&&o;t.forEach(t=>{const u=t.getObjectId()??t.attributes[e.objectIdField];let d=c?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:o,globalAttributes:this._createFormattedAttributes(e,t,n).global,layer:e,text:a}):"";i?.removeHTML&&(d=l.Nd.sanitize(d).replaceAll(h," ")),r.set(u,d)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const i=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(s.Ru);if(i.length!==t.length)return t;if(t.some(e=>!(0,u.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=i;const n=await e.queryFeatures(r);if(n?.features.length===t.length)return n.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const i of e){if(!i.fieldName)continue;const e=this.fieldsIndex.get(i.fieldName),r=e?.name??i.fieldName;i.fieldName=r,t.set(r.toLowerCase(),i)}return t}_createFormattedAttributes(e,t,i="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],n={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const i=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{n[`expression/${e.name}`]=e.func({vars:{$feature:i}})}catch{}}const s={...t.attributes,...n};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:s,graphic:t,timeZone:i,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,u.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,c.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,r.Cg)([(0,c.MZ)()],f.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,c.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,c.MZ)()],f.prototype,"displayField",void 0),(0,r.Cg)([(0,c.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,c.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,c.MZ)()],f.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,c.MZ)()],f.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,c.MZ)()],f.prototype,"fields",void 0),(0,r.Cg)([(0,c.MZ)()],f.prototype,"objectIdField",void 0),(0,r.Cg)([(0,c.MZ)()],f.prototype,"requiredFields",null),f=(0,r.Cg)([(0,c.$K)("esri.layers.support.TitleCreator")],f)},41560(e,t,i){i.d(t,{Ch:()=>o,mW:()=>s});var r=i(34727),n=i(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,i){const s=function(e){if("manual"===c(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:i,maxScale:r}of e.filters)t[0]=Math.max(t[0],u(i)),t[1]=Math.min(t[1],d(r));return t}(e);if(s&&((0,r.gg)(t,s[0])||(0,r.ZH)(i,s[1])))return"";const o=Array.from(a(e,t,i)),l=function(e,t,i){if(0===e.length)return!0;const n=u(e.at(0)?.minScale),s=d(e.at(-1)?.maxScale);if((0,r.ZH)(n,t)||(0,r.gg)(s,i))return!0;for(let t=0;t<e.length-1;t++){const i=e[t],n=e[t+1];if((0,r.ZH)(u(n.minScale),d(i.maxScale)))return!0}return!1}(o,t,i)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,n.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,i){if("manual"===c(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)l(r.minScale,r.maxScale,t,i)&&(yield r)}}function l(e,t,i,n){return e=u(e),i=u(i),t=d(t),!(!(0,r.Sp)(i,e)&&(n??i)>e||(0,r.Hx)(t,i)||void 0!==n&&(0,r.Sp)(n,e))}function c(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},77548(e,t,i){i.d(t,{Gh:()=>E,tk:()=>x,BR:()=>T,p2:()=>_,qd:()=>F,wI:()=>S,G$:()=>k,$x:()=>A,Ov:()=>M,cM:()=>h,UC:()=>f,W_:()=>w,Qz:()=>p,OP:()=>z,TU:()=>b,F2:()=>m,XX:()=>g,Qi:()=>v,jy:()=>C});var r=i(70333),n=i(11254),s=i(7762),o=(i(84952),i(36563)),a=i(36708),l=i(4146);const c=new WeakMap;function u(e){return!e.destroyed&&(c.has(e)||e.addHandles([(0,a.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof l.A)&&("catalog-dynamic-group"===t.type||u(t))},t=>c.set(e,t),a.pc),(0,o.hA)(()=>c.delete(e))]),c.get(e))}function d(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function h(e){return d(e,"knowledge-graph")&&"layers"in e}function f(e){return d(e,"knowledge-graph-sublayer")}function p(e){return d(e,"link-chart")&&"layers"in e}function m(e){return d(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)}i(16215);const g={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function b(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function M(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function w(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 v(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function C(e){return function(e){return d(e,"catalog-footprint")}(e)||function(e){return d(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return d(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function I(e){const t=e?.type;return"binning"===t||"cluster"===t}function _(e,t){if(!C(e))return;const i=t?.graphic,r="featureReduction"in e?e.featureReduction:null;if(i){if(i.isAggregate){const e=i.origin;return e&&"featureReductionProvider"in e&&r?I(r)?r:null:void 0}return e}return t?.checkFeatureReduction&&r?I(r)?r:null:e}async function S(e,t){const i=r.id?.findServerInfo(e);if(null!=i?.currentVersion)return i.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const o=`${e.slice(0,s)}/rest/info`,a=null!=t?t.signal:null,{data:l}=await(0,n.A)(o,{query:{f:"json"},responseType:"json",signal:a});return l?.owningSystemUrl||null}function T(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 x(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 F(e){const t=new s.A;for(const i of e.allLayers.concat(e.allTables))u(i)||y(i)||"annotation-feature"===i.type||"dimension-feature"===i.type||("charts"in i&&t.push(i),"subtype-group"===i.type&&t.push(...i.sublayers));return t}function A(e,t){return null}function k(e){return null}function z(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function E(e,t){if(!t||!z(e))return;const i=(e.url,null);i&&(e.url=i)}},73681(e,t,i){i.d(t,{n:()=>l});var r=i(49186),n=i(53966),s=i(46140),o=i(95466),a=i(55674);class l{static async from(e,t,i){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,u=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const h=new Set(e.authoringInfo.symbol);for(const e of Object.keys(i))h.delete(e);h.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:h});const f=await(0,a.xR)(e.expression,null,d);if(!f)throw new r.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const p=!o||!o.greaterEqual(4,0);p&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const m=new c(i,p);return new l(p,u,f,m)}constructor(e,t,i,r){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=i,this._reader=r}get itemNames(){return this._itemNames}evaluate(e,t,i,r){try{return this._reader.bind(e,i,r),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class c extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},58501(e,t,i){i.d(t,{q:()=>n});var r=i(62815);function n(e,t,i){if(!i?.features||!i.hasZ)return;const n=(0,r.N)(i.geometryType,t,e.outSpatialReference);if(n)for(const e of i.features)n(e.geometry)}},41366(e,t,i){i.d(t,{K:()=>d,Q:()=>l});var r=i(5482),n=i(66552),s=i(53966),o=i(91429),a=i(93223);const l=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),c="percent-of-total",u="field",d=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&u||i&&c||null,t&&i&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==u&&e!==c||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],i.prototype,"normalizationField",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],i.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],i.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],i.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],i.prototype,"normalizationType",null),i=(0,r.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],i),i}},55674(e,t,i){i.d(t,{Ad:()=>f,Gj:()=>y,QY:()=>h,lL:()=>g,xR:()=>p});var r=i(66131),n=i(49186),s=(i(44208),i(44729)),o=i(15032),a=i(65864),l=i(95466),c=i(43668),u=i(98623);const d=["geometry","scale","timeProperties"];function h(e,t){if(null!=t)for(const i of d)t.hasArcadeDependency(i)&&e.add(i);return e}function f(e,t){return m.create(e,t,null,["$feature","$view"])}function p(e,t,i){return m.create(e,t,i,["$feature","$view","$config"])}class m{static async create(e,t,i,r){const{arcade:s,Dictionary:o}=await(0,c.l)();let a;try{a=s.parseScript(e)}catch(t){throw new n.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=s.scriptUsesGeometryEngine(a);l&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,a,null,!1,l);const u={vars:r.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=s.compileScript(a,u);let h=null;null!=i&&(h=new o(i),h.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new m(e,s,a,d,t,f,h,o)}constructor(e,t,i,r,n,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=i,this._compiled=r,this._spatialReference=n,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new y,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const i=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=i?r.lY.epochToArcadeDate(n,i):r.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=i?r.lY.epochToArcadeDate(s,i):r.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:i})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class y{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,i){const r=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=r.fields,this._boundSchema.fieldsIndex=r,this._boundSchema.spatialReference=i}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===u.L5}field(e,t=!0){const i=this._getField(e);if(i){const t=this._boundTarget.attributes[i.name];if(null==t)return null;switch(i.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return r.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?r.lY.unknownEpochToArcadeDate(t):r.lY.epochToArcadeDate(t,this.contextTimeZone??u.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const i in e)t.push({name:i,alias:i,type:"string"==typeof e[i]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},16215(e,t,i){i.d(t,{S:()=>n,Y:()=>r});const r=Symbol("BasemapInstance");function n(e){return null!=e&&"object"==typeof e&&r in e}},28076(e,t,i){i.d(t,{D:()=>n});var r=i(13337);const n={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:r.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}}},13337(e,t,i){i.d(t,{h:()=>r});const r={Relative:0,Absolute:1}},93397(e,t,i){i.d(t,{$w:()=>m,Bu:()=>S,DW:()=>v,FH:()=>z,FM:()=>a,Kn:()=>M,MM:()=>d,Nl:()=>T,O2:()=>x,UE:()=>F,YC:()=>P,YF:()=>A,_1:()=>I,_d:()=>w,_h:()=>o,bs:()=>E,e6:()=>c,gQ:()=>s,jn:()=>f,lW:()=>u,ll:()=>Z,mA:()=>h,oI:()=>$,pM:()=>C,pV:()=>b,pk:()=>R,rB:()=>L,xo:()=>_,yX:()=>U,z9:()=>g,zb:()=>k,zr:()=>p});var r=i(28076);function n(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function s(e,t){const i=[];let r=0,s=-1;do{if(s=e.indexOf("[",r),s>=r){if(s>r){const t=e.slice(r,s);i.push([t,null,n(t)])}if(r=s+1,s=e.indexOf("]",r),s>=r){if(s>r){const n=t[e.slice(r,s)];n&&i.push([null,n,!1])}r=s+1}}}while(-1!==s);if(r<e.length){const t=e.slice(r);i.push([t,null,n(t)])}return i}function o(e,t,i){let r="",n=null;for(const i of t){const[t,s,o]=i;if(null!=t&&""!==t)o?n=t:(null!=n&&(r+=n,n=null),r+=t);else{const t=e.readAttribute(s);null!=t&&""!==t&&(null!==n&&(r+=n,n=null),r+=t)}}return l(r,i)}function a(e,t,i,r){let n="",s=null;for(const r of t){const[t,o,a]=r;if(null!=t&&""!==t)a?s=t:(null!=s&&(n+=s,s=null),n+=t);else{let t=o;null!=i&&(t=j(o,i));const r=e.attributes[t];null!=r&&""!==r&&(null!=s&&(n+=s,s=null),n+=r)}}return l(n,r)}function l(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function c(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function u(e){return e.data?.symbol??null}function d(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function h(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function f(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function p(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const m=(e,t=0)=>null==e||isNaN(e)?t:e;class y{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function g(e){return new y(e)}function b(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function M(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function w(e){let t="normal",i="normal";if(e){const r=e.toLowerCase();r.includes("italic")?t="italic":r.includes("oblique")&&(t="oblique"),r.includes("bold")?i="bold":r.includes("light")&&(i="lighter")}return{style:t,weight:i}}function v(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function C(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=C(t);if(null!=e)return e}break;case"CIMTextSymbol":return C(e.symbol);case"CIMSolidFill":return e.color}return null}function I(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=I(e);if(null!=t)return t}break}case"CIMTextSymbol":return I(e.symbol);case"CIMSolidStroke":return e.color}}function _(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=_(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return _(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function S(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function T(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function x(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const F=e=>e.includes("data:image/svg+xml");function A(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function k(e,t,i,r,n,s,o=!0){const{infos:a}=s;let l=1,c=0,u=0,d=0,h=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:i,rotation:r,size:n,frameHeight:s,rotateClockWise:f,scaleSymbolsProportionally:p}of a)h=e?1:l,u=N(t,i,c,h,u),d=O(t,i,c,h,d),s&&(p||o)&&(l*=n/s),c=G(r,f,c);const f=N(r,n,c,h,u),p=O(r,n,c,h,d);return{size:e*l,rotation:G(t,i,c),offsetX:f,offsetY:p}}function z(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function E(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return E(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return E(e.symbol)}}return"Normal"}function P(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const i of e.symbolLayers)if(i)switch(i.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=i.size??r.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const i of e.symbolLayers)if(i)switch(i.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=i.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(i.markerPlacement&&p(i.markerPlacement)){const e=i.size??r.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=i.height;null!=e&&e>t&&(t=e)}}return t}}}function j(e,t){if(null!==t){const i=t.get(e);return i?i.name:e}return e}function R(e){return e.map(e=>({...e,propertyName:A(e.propertyName)}))}function L(e){const t={};for(const i in e){const r=e[i];t[A(i)]=r}return t}function Z(e){if(!e)return 0;let t=0;for(const i of e)t+=D(i);return t}function D(e){if(!e)return 0;if(function(e){return e.type.startsWith("PRI")}(e))return e.inflateSize??256;switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(m(e.offsetX)),Math.abs(m(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function O(e,t,i,r,n){const s=i*Math.PI/180;if(s){const i=Math.cos(s);return(Math.sin(s)*e+i*t)*r+n}return t*r+n}function N(e,t,i,r,n){const s=i*Math.PI/180;return s?(Math.cos(s)*e-Math.sin(s)*t)*r+n:e*r+n}function G(e,t,i){return t?i-e:i+e}function U(e,t){return Math.max(Math.min((e??t)/100,1),0)}function $(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}},93470(e,t,i){i.d(t,{Cb:()=>s,HW:()=>u,JR:()=>n,JZ:()=>l,WR:()=>a,b6:()=>d,fT:()=>r,nC:()=>c,yM:()=>o});const r=[252,146,31,255],n=[153,153,153,255],s={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},o={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},a={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},l={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},c={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},u={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},79677(e,t,i){i.d(t,{A:()=>h});var r,n=i(5482),s=i(25482),o=i(88930),a=i(91429),l=i(98623),c=i(10184),u=i(36005),d=i(43937);let h=class extends s.o{static{r=this}static get allTime(){return f}static get empty(){return p}static fromArray(e){return new r({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(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,i=this.end?.getTime()??this.end,r=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===r&&i===n}expandTo(e,t=l.qU){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let i=this.start;i&&(i=(0,o.lL)(i,new c.A({value:1,unit:e}),t));let n=this.end;if(n){const i=(0,o.lL)(n,new c.A({value:1,unit:e}),t);n=n.getTime()===i.getTime()?i:(0,o.S1)(i,1,e,t)}return new r({start:i,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,i=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let o,a;return n>=t&&n<=i?o=n:t>=n&&t<=s&&(o=t),i>=n&&i<=s?a=i:s>=t&&s<=i&&(a=s),null==o||null==a||isNaN(o)||isNaN(a)?r.empty:new r({start:o===-1/0?null:new Date(o),end:a===1/0?null:new Date(a)})}offset(e,t,i=l.qU){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const n=new r,{start:s,end:a}=this;return null!=s&&(n.start=(0,o.S1)(s,e,t,i)),null!=a&&(n.end=(0,o.S1)(a,e,t,i)),n}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 f.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,i=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:i})}};(0,n.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"end",void 0),(0,n.Cg)([(0,u.w)("end")],h.prototype,"readEnd",null),(0,n.Cg)([(0,d.K)("end")],h.prototype,"writeEnd",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isAllTime",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isEmpty",null),(0,n.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"start",void 0),(0,n.Cg)([(0,u.w)("start")],h.prototype,"readStart",null),(0,n.Cg)([(0,d.K)("start")],h.prototype,"writeStart",null),h=r=(0,n.Cg)([(0,a.$K)("esri.time.TimeExtent")],h);const f=new h,p=new h({start:void 0,end:void 0})},10184(e,t,i){i.d(t,{A:()=>u});var r=i(5482),n=i(69540),s=i(25482),o=i(88930),a=i(91429),l=i(73133),c=i(93223);let u=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.t)(this.value,this.unit,"milliseconds")}};(0,r.Cg)([(0,c.e)(l.j,{nonNullable:!0})],u.prototype,"unit",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0},nonNullable:!0})],u.prototype,"value",void 0),u=(0,r.Cg)([(0,a.$K)("esri.time.TimeInterval")],u)},20816(e,t,i){i.d(t,{TA:()=>n,We:()=>a,Z3:()=>s,ZJ:()=>l,w5:()=>c});var r=i(11254);const n=(0,i(13069).vD)(),s=new Map,o=new Map;async function a(e,t,i){if(!e||!i)return!1;if(!t)return!0;const n=new URL(e).host;let o=s.get(n);if(!o){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");o=(await(0,r.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return o===t}async function l(e,t,r=!1){if(!e||!t)return!0;const s=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),a=o.get(s)?.entries();if(a)for(const[e,o]of a)if(o.name===t){const t=!o.stack?.hasForwardEdits();if(!t&&r){const[{deleteForwardEdits:t},{default:r}]=await Promise.all([i.e(2186).then(i.bind(i,32186)),i.e(2558).then(i.bind(i,32558))]),a=await t(s,e,new r({sessionId:n,moment:o.moment}));return a.success&&o.stack?.clearForwardEdits(),a.success}return t}return!0}function c(e,t){if(!e)return!1;const i=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),r=o.get(i)?.entries();if(r)for(const[e,i]of r)if(i.name===t)return"edit"===i.lockType;return!1}new Map}}]);