@arcgis/core 5.1.0-next.70 → 5.1.0-next.71

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 (479) hide show
  1. package/assets/components/assets/combobox/t9n/messages.ar.json +1 -1
  2. package/assets/components/assets/combobox/t9n/messages.bg.json +1 -1
  3. package/assets/components/assets/combobox/t9n/messages.bs.json +1 -1
  4. package/assets/components/assets/combobox/t9n/messages.ca.json +1 -1
  5. package/assets/components/assets/combobox/t9n/messages.cs.json +1 -1
  6. package/assets/components/assets/combobox/t9n/messages.da.json +1 -1
  7. package/assets/components/assets/combobox/t9n/messages.de.json +1 -1
  8. package/assets/components/assets/combobox/t9n/messages.el.json +1 -1
  9. package/assets/components/assets/combobox/t9n/messages.en.json +1 -1
  10. package/assets/components/assets/combobox/t9n/messages.es.json +1 -1
  11. package/assets/components/assets/combobox/t9n/messages.et.json +1 -1
  12. package/assets/components/assets/combobox/t9n/messages.fi.json +1 -1
  13. package/assets/components/assets/combobox/t9n/messages.fr.json +1 -1
  14. package/assets/components/assets/combobox/t9n/messages.he.json +1 -1
  15. package/assets/components/assets/combobox/t9n/messages.hr.json +1 -1
  16. package/assets/components/assets/combobox/t9n/messages.hu.json +1 -1
  17. package/assets/components/assets/combobox/t9n/messages.id.json +1 -1
  18. package/assets/components/assets/combobox/t9n/messages.it.json +1 -1
  19. package/assets/components/assets/combobox/t9n/messages.ja.json +1 -1
  20. package/assets/components/assets/combobox/t9n/messages.json +1 -1
  21. package/assets/components/assets/combobox/t9n/messages.ko.json +1 -1
  22. package/assets/components/assets/combobox/t9n/messages.lt.json +1 -1
  23. package/assets/components/assets/combobox/t9n/messages.lv.json +1 -1
  24. package/assets/components/assets/combobox/t9n/messages.nl.json +1 -1
  25. package/assets/components/assets/combobox/t9n/messages.no.json +1 -1
  26. package/assets/components/assets/combobox/t9n/messages.pl.json +1 -1
  27. package/assets/components/assets/combobox/t9n/messages.pt-BR.json +1 -1
  28. package/assets/components/assets/combobox/t9n/messages.pt-PT.json +1 -1
  29. package/assets/components/assets/combobox/t9n/messages.ro.json +1 -1
  30. package/assets/components/assets/combobox/t9n/messages.ru.json +1 -1
  31. package/assets/components/assets/combobox/t9n/messages.sk.json +1 -1
  32. package/assets/components/assets/combobox/t9n/messages.sl.json +1 -1
  33. package/assets/components/assets/combobox/t9n/messages.sr.json +1 -1
  34. package/assets/components/assets/combobox/t9n/messages.sv.json +1 -1
  35. package/assets/components/assets/combobox/t9n/messages.th.json +1 -1
  36. package/assets/components/assets/combobox/t9n/messages.tr.json +1 -1
  37. package/assets/components/assets/combobox/t9n/messages.uk.json +1 -1
  38. package/assets/components/assets/combobox/t9n/messages.vi.json +1 -1
  39. package/assets/components/assets/combobox/t9n/messages.zh-CN.json +1 -1
  40. package/assets/components/assets/combobox/t9n/messages.zh-HK.json +1 -1
  41. package/assets/components/assets/combobox/t9n/messages.zh-TW.json +1 -1
  42. package/assets/components/assets/icon/addToLivestreamVideoLayer16.json +1 -0
  43. package/assets/components/assets/icon/addToLivestreamVideoLayer24.json +1 -0
  44. package/assets/components/assets/icon/addToLivestreamVideoLayer32.json +1 -0
  45. package/assets/components/assets/icon/addToVideoLayer16.json +1 -0
  46. package/assets/components/assets/icon/addToVideoLayer24.json +1 -0
  47. package/assets/components/assets/icon/addToVideoLayer32.json +1 -0
  48. package/assets/components/assets/icon/arcgisQuickcapture16.json +1 -0
  49. package/assets/components/assets/icon/arcgisQuickcapture24.json +1 -0
  50. package/assets/components/assets/icon/arcgisQuickcapture32.json +1 -0
  51. package/assets/components/assets/icon/arcgisSurvey12316.json +1 -0
  52. package/assets/components/assets/icon/arcgisSurvey12324.json +1 -0
  53. package/assets/components/assets/icon/arcgisSurvey12332.json +1 -0
  54. package/assets/components/assets/icon/bicycleTravelMode16.json +1 -0
  55. package/assets/components/assets/icon/bicycleTravelMode16F.json +1 -0
  56. package/assets/components/assets/icon/bicycleTravelMode24.json +1 -0
  57. package/assets/components/assets/icon/bicycleTravelMode24F.json +1 -0
  58. package/assets/components/assets/icon/bicycleTravelMode32.json +1 -0
  59. package/assets/components/assets/icon/bicycleTravelMode32F.json +1 -0
  60. package/assets/components/assets/icon/busTravelMode16.json +1 -0
  61. package/assets/components/assets/icon/busTravelMode16F.json +1 -0
  62. package/assets/components/assets/icon/busTravelMode24.json +1 -0
  63. package/assets/components/assets/icon/busTravelMode24F.json +1 -0
  64. package/assets/components/assets/icon/busTravelMode32.json +1 -0
  65. package/assets/components/assets/icon/busTravelMode32F.json +1 -0
  66. package/assets/components/assets/icon/carTravelMode16.json +1 -0
  67. package/assets/components/assets/icon/carTravelMode16F.json +1 -0
  68. package/assets/components/assets/icon/carTravelMode24.json +1 -0
  69. package/assets/components/assets/icon/carTravelMode24F.json +1 -0
  70. package/assets/components/assets/icon/carTravelMode32.json +1 -0
  71. package/assets/components/assets/icon/carTravelMode32F.json +1 -0
  72. package/assets/components/assets/icon/conditionalRulesDown16.json +1 -0
  73. package/assets/components/assets/icon/conditionalRulesDown24.json +1 -0
  74. package/assets/components/assets/icon/conditionalRulesDown32.json +1 -0
  75. package/assets/components/assets/icon/emergency16.json +1 -0
  76. package/assets/components/assets/icon/emergency16F.json +1 -0
  77. package/assets/components/assets/icon/emergency24.json +1 -0
  78. package/assets/components/assets/icon/emergency24F.json +1 -0
  79. package/assets/components/assets/icon/emergency32.json +1 -0
  80. package/assets/components/assets/icon/emergency32F.json +1 -0
  81. package/assets/components/assets/icon/eyedropper16.json +1 -1
  82. package/assets/components/assets/icon/eyedropper24.json +1 -1
  83. package/assets/components/assets/icon/eyedropper32.json +1 -1
  84. package/assets/components/assets/icon/featureDetailsSet16.json +1 -0
  85. package/assets/components/assets/icon/featureDetailsSet24.json +1 -0
  86. package/assets/components/assets/icon/featureDetailsSet32.json +1 -0
  87. package/assets/components/assets/icon/fileBim16.json +1 -0
  88. package/assets/components/assets/icon/fileBim24.json +1 -0
  89. package/assets/components/assets/icon/fileBim32.json +1 -0
  90. package/assets/components/assets/icon/fileDwg16.json +1 -0
  91. package/assets/components/assets/icon/fileDwg24.json +1 -0
  92. package/assets/components/assets/icon/fileDwg32.json +1 -0
  93. package/assets/components/assets/icon/fileRvt16.json +1 -0
  94. package/assets/components/assets/icon/fileRvt24.json +1 -0
  95. package/assets/components/assets/icon/fileRvt32.json +1 -0
  96. package/assets/components/assets/icon/gradient16.json +1 -0
  97. package/assets/components/assets/icon/gradient24.json +1 -0
  98. package/assets/components/assets/icon/gradient32.json +1 -0
  99. package/assets/components/assets/icon/layerStreamSetting16.json +1 -0
  100. package/assets/components/assets/icon/layerStreamSetting24.json +1 -0
  101. package/assets/components/assets/icon/layerStreamSetting32.json +1 -0
  102. package/assets/components/assets/icon/mopedTravelMode16.json +1 -0
  103. package/assets/components/assets/icon/mopedTravelMode16F.json +1 -0
  104. package/assets/components/assets/icon/mopedTravelMode24.json +1 -0
  105. package/assets/components/assets/icon/mopedTravelMode24F.json +1 -0
  106. package/assets/components/assets/icon/mopedTravelMode32.json +1 -0
  107. package/assets/components/assets/icon/mopedTravelMode32F.json +1 -0
  108. package/assets/components/assets/icon/motorcycleTravelMode16.json +1 -0
  109. package/assets/components/assets/icon/motorcycleTravelMode16F.json +1 -0
  110. package/assets/components/assets/icon/motorcycleTravelMode24.json +1 -0
  111. package/assets/components/assets/icon/motorcycleTravelMode24F.json +1 -0
  112. package/assets/components/assets/icon/motorcycleTravelMode32.json +1 -0
  113. package/assets/components/assets/icon/motorcycleTravelMode32F.json +1 -0
  114. package/assets/components/assets/icon/publish16.json +1 -0
  115. package/assets/components/assets/icon/publish24.json +1 -0
  116. package/assets/components/assets/icon/publish32.json +1 -0
  117. package/assets/components/assets/icon/scooterTravelMode16.json +1 -0
  118. package/assets/components/assets/icon/scooterTravelMode16F.json +1 -0
  119. package/assets/components/assets/icon/scooterTravelMode24.json +1 -0
  120. package/assets/components/assets/icon/scooterTravelMode24F.json +1 -0
  121. package/assets/components/assets/icon/scooterTravelMode32.json +1 -0
  122. package/assets/components/assets/icon/scooterTravelMode32F.json +1 -0
  123. package/assets/components/assets/icon/shuttleTravelMode16.json +1 -0
  124. package/assets/components/assets/icon/shuttleTravelMode16F.json +1 -0
  125. package/assets/components/assets/icon/shuttleTravelMode24.json +1 -0
  126. package/assets/components/assets/icon/shuttleTravelMode24F.json +1 -0
  127. package/assets/components/assets/icon/shuttleTravelMode32.json +1 -0
  128. package/assets/components/assets/icon/shuttleTravelMode32F.json +1 -0
  129. package/assets/components/assets/icon/strollerTravelMode16.json +1 -0
  130. package/assets/components/assets/icon/strollerTravelMode16F.json +1 -0
  131. package/assets/components/assets/icon/strollerTravelMode24.json +1 -0
  132. package/assets/components/assets/icon/strollerTravelMode24F.json +1 -0
  133. package/assets/components/assets/icon/strollerTravelMode32.json +1 -0
  134. package/assets/components/assets/icon/strollerTravelMode32F.json +1 -0
  135. package/assets/components/assets/icon/trainTravelMode16.json +1 -0
  136. package/assets/components/assets/icon/trainTravelMode16F.json +1 -0
  137. package/assets/components/assets/icon/trainTravelMode24.json +1 -0
  138. package/assets/components/assets/icon/trainTravelMode24F.json +1 -0
  139. package/assets/components/assets/icon/trainTravelMode32.json +1 -0
  140. package/assets/components/assets/icon/trainTravelMode32F.json +1 -0
  141. package/assets/components/assets/icon/tramTravelMode16.json +1 -0
  142. package/assets/components/assets/icon/tramTravelMode16F.json +1 -0
  143. package/assets/components/assets/icon/tramTravelMode24.json +1 -0
  144. package/assets/components/assets/icon/tramTravelMode24F.json +1 -0
  145. package/assets/components/assets/icon/tramTravelMode32.json +1 -0
  146. package/assets/components/assets/icon/tramTravelMode32F.json +1 -0
  147. package/assets/components/assets/icon/truckTravelMode16.json +1 -0
  148. package/assets/components/assets/icon/truckTravelMode16F.json +1 -0
  149. package/assets/components/assets/icon/truckTravelMode24.json +1 -0
  150. package/assets/components/assets/icon/truckTravelMode24F.json +1 -0
  151. package/assets/components/assets/icon/truckTravelMode32.json +1 -0
  152. package/assets/components/assets/icon/truckTravelMode32F.json +1 -0
  153. package/assets/components/assets/icon/velocityServer16.json +1 -0
  154. package/assets/components/assets/icon/velocityServer24.json +1 -0
  155. package/assets/components/assets/icon/velocityServer32.json +1 -0
  156. package/assets/components/assets/icon/walkingTravelMode16.json +1 -0
  157. package/assets/components/assets/icon/walkingTravelMode16F.json +1 -0
  158. package/assets/components/assets/icon/walkingTravelMode24.json +1 -0
  159. package/assets/components/assets/icon/walkingTravelMode24F.json +1 -0
  160. package/assets/components/assets/icon/walkingTravelMode32.json +1 -0
  161. package/assets/components/assets/icon/walkingTravelMode32F.json +1 -0
  162. package/assets/components/assets/icon/wheelchairTravelMode16.json +1 -0
  163. package/assets/components/assets/icon/wheelchairTravelMode16F.json +1 -0
  164. package/assets/components/assets/icon/wheelchairTravelMode24.json +1 -0
  165. package/assets/components/assets/icon/wheelchairTravelMode24F.json +1 -0
  166. package/assets/components/assets/icon/wheelchairTravelMode32.json +1 -0
  167. package/assets/components/assets/icon/wheelchairTravelMode32F.json +1 -0
  168. package/assets/esri/core/workers/RemoteClient.js +1 -1
  169. package/assets/esri/core/workers/chunks/09ecb36e44096e577af8.js +1 -0
  170. package/assets/esri/core/workers/chunks/0b1454a77a6a682541dc.js +2 -0
  171. package/assets/esri/core/workers/chunks/{d82b543c96f09ded3bf9.js.LICENSE.txt → 0b1454a77a6a682541dc.js.LICENSE.txt} +6 -1
  172. package/assets/esri/core/workers/chunks/0ca06ea649bbdb93ff49.js +1 -0
  173. package/assets/esri/core/workers/chunks/10308c9f3f0d709d96bc.js +1 -0
  174. package/assets/esri/core/workers/chunks/{03e20ac54d6f141b5001.js → 11241781baaed346af52.js} +1 -1
  175. package/assets/esri/core/workers/chunks/123e920e4460124ec3bb.js +288 -0
  176. package/assets/esri/core/workers/chunks/{fc64ae69581e4c38fa8a.js → 141edf5ed890105a079b.js} +1 -1
  177. package/assets/esri/core/workers/chunks/160b9a76b75875507c86.js +1 -0
  178. package/assets/esri/core/workers/chunks/16dfdee05704df249e95.js +1 -0
  179. package/assets/esri/core/workers/chunks/17ef955dc48e329aa184.js +1 -0
  180. package/assets/esri/core/workers/chunks/18001536ed345955121a.js +1 -0
  181. package/assets/esri/core/workers/chunks/1c7183551f5269bdcf13.js +30 -0
  182. package/assets/esri/core/workers/chunks/1d9560eb8b21b9e76616.js +1 -0
  183. package/assets/esri/core/workers/chunks/{b364ec104dd59faa41b6.js → 1f82a0f134ea912fc686.js} +1 -1
  184. package/assets/esri/core/workers/chunks/231f502cd15f30d12be2.js +1 -0
  185. package/assets/esri/core/workers/chunks/238f51d0b36f998017b8.js +1 -0
  186. package/assets/esri/core/workers/chunks/2cee6d751c5e73fe09d4.js +1 -0
  187. package/assets/esri/core/workers/chunks/31071a43e2c03984d619.js +1 -0
  188. package/assets/esri/core/workers/chunks/36031cb53c486630f3c9.js +1 -0
  189. package/assets/esri/core/workers/chunks/3697e51e1e4cf442f39a.js +1 -0
  190. package/assets/esri/core/workers/chunks/3a58708217a9c11836ab.js +1 -0
  191. package/assets/esri/core/workers/chunks/3b1446286a9b87f34761.js +1 -0
  192. package/assets/esri/core/workers/chunks/3b7cda16e656db450f11.js +1 -0
  193. package/assets/esri/core/workers/chunks/3e972ae291df1844017d.js +1 -0
  194. package/assets/esri/core/workers/chunks/{73e000cc3c4da10e9937.js → 3f7fd58ee7d71989fc83.js} +1 -1
  195. package/assets/esri/core/workers/chunks/416e031bafc0189544fa.js +1 -0
  196. package/assets/esri/core/workers/chunks/427dec43ef2d67467699.js +1 -0
  197. package/assets/esri/core/workers/chunks/{746b3e98bad32c366a27.js → 444f0f51b3ee0b9845a5.js} +1 -1
  198. package/assets/esri/core/workers/chunks/4d51261d6131c07402cd.js +1 -0
  199. package/assets/esri/core/workers/chunks/{8ccf2f65d8ed3c48ffff.js → 4d8670f6fa8952b7bab6.js} +1 -1
  200. package/assets/esri/core/workers/chunks/{f209a7076d67cbf4d205.js → 4e676e888a935c507d90.js} +1 -1
  201. package/assets/esri/core/workers/chunks/50d5d6654ada9f28345d.js +1 -0
  202. package/assets/esri/core/workers/chunks/54c6e870262469d0d702.js +1 -0
  203. package/assets/esri/core/workers/chunks/55ee78923987ed17ea8c.js +1 -0
  204. package/assets/esri/core/workers/chunks/58b3c888c8bfedbe6443.js +1 -0
  205. package/assets/esri/core/workers/chunks/58c79e15ca95238a4b43.js +1 -0
  206. package/assets/esri/core/workers/chunks/6118706b9a038e9a06b8.js +1 -0
  207. package/assets/esri/core/workers/chunks/628f56c09838eb9c573b.js +1 -0
  208. package/assets/esri/core/workers/chunks/{f11ea0d3de93ec0392af.js → 6ac5ec3ecbca8860338b.js} +1 -1
  209. package/assets/esri/core/workers/chunks/6d15229b3fa84a7acf4d.js +599 -0
  210. package/assets/esri/core/workers/chunks/6dac8dfcd63fc757ae2d.js +1 -0
  211. package/assets/esri/core/workers/chunks/6e70e922331704b92a08.js +1 -0
  212. package/assets/esri/core/workers/chunks/6f67c9f68101a084b683.js +30 -0
  213. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
  214. package/assets/esri/core/workers/chunks/7314c0131403cac84ad7.js +1 -0
  215. package/assets/esri/core/workers/chunks/73545bb13c70f6a347a4.js +1 -0
  216. package/assets/esri/core/workers/chunks/74be994d789c57031631.js +1 -0
  217. package/assets/esri/core/workers/chunks/7bacdd65a6cc4d284e0a.js +2 -0
  218. package/assets/esri/core/workers/chunks/7c7c11c0fde8b63e330b.js +1 -0
  219. package/assets/esri/core/workers/chunks/7ca32806e47be15109a4.js +1 -0
  220. package/assets/esri/core/workers/chunks/7cb6d8f7eaf762279632.js +1 -0
  221. package/assets/esri/core/workers/chunks/7d6ed65bbcd279448191.js +1 -0
  222. package/assets/esri/core/workers/chunks/7e6ccf9f3e756186e93e.js +1 -0
  223. package/assets/esri/core/workers/chunks/81f149e45c79b9b086fb.js +1 -0
  224. package/assets/esri/core/workers/chunks/824051af00e7a1f05ed0.js +1 -0
  225. package/assets/esri/core/workers/chunks/84fa25f66a6949290221.js +1 -0
  226. package/assets/esri/core/workers/chunks/852aabbf671d2ca9cd33.js +1 -0
  227. package/assets/esri/core/workers/chunks/85edbb072a2ce6c1bb30.js +2 -0
  228. package/assets/esri/core/workers/chunks/{2d2c10c31cc1460dd96a.js → 88827e23f8938342781c.js} +1 -1
  229. package/assets/esri/core/workers/chunks/{bc2c7cb99e227ddbd3a6.js → 89345a682dea60ef1643.js} +1 -1
  230. package/assets/esri/core/workers/chunks/8985402c328b90af5724.js +1 -0
  231. package/assets/esri/core/workers/chunks/89fdf9ad10ca8fbb08a5.js +1 -0
  232. package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +1 -0
  233. package/assets/esri/core/workers/chunks/8b094330323d9b16fb5d.js +1 -0
  234. package/assets/esri/core/workers/chunks/8b73f4d2f99c0b54cced.js +1 -0
  235. package/assets/esri/core/workers/chunks/90aed8c4b266832f84ca.js +1 -0
  236. package/assets/esri/core/workers/chunks/916a8f3eed1fafdc7242.js +1 -0
  237. package/assets/esri/core/workers/chunks/9187d1caca1fd2d713e0.js +1 -0
  238. package/assets/esri/core/workers/chunks/943cf0653a2b7de16a4f.js +1 -0
  239. package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +1 -0
  240. package/assets/esri/core/workers/chunks/967758a05170545cd371.js +1 -0
  241. package/assets/esri/core/workers/chunks/9776c2db337222ceceef.js +1 -0
  242. package/assets/esri/core/workers/chunks/990853e9df38fdfc58b5.js +1 -0
  243. package/assets/esri/core/workers/chunks/9a21ba0c45a96b94c05e.js +1 -0
  244. package/assets/esri/core/workers/chunks/{e0a63b5861e8c975097e.js → 9aaf78b831f8739bc127.js} +1 -1
  245. package/assets/esri/core/workers/chunks/9b56162ac67c992193ce.js +1 -0
  246. package/assets/esri/core/workers/chunks/{4d378d4e021a33b0047e.js → 9be4438ce2c7180adadf.js} +1 -1
  247. package/assets/esri/core/workers/chunks/a169d9fe66b5865911d9.js +1 -0
  248. package/assets/esri/core/workers/chunks/a1e6187c239fdc7553ed.js +1 -0
  249. package/assets/esri/core/workers/chunks/a5a46d0a0831497cf1b4.js +1 -0
  250. package/assets/esri/core/workers/chunks/a5afcd633b32e6ee31a7.js +1 -0
  251. package/assets/esri/core/workers/chunks/a5d8d6f3c0c8de474efd.js +1 -0
  252. package/assets/esri/core/workers/chunks/a65d576e90179a2b5400.js +1 -0
  253. package/assets/esri/core/workers/chunks/a760be8fa6c6ea6b745c.js +1 -0
  254. package/assets/esri/core/workers/chunks/a8782286ce3c0d6c20e6.js +1 -0
  255. package/assets/esri/core/workers/chunks/{38328a785365c4783b1e.js → a994a3c912a33b2f4100.js} +1 -1
  256. package/assets/esri/core/workers/chunks/{678c9f15712cf3d3bb9e.js → aa1a3a849aba84cf585b.js} +1 -1
  257. package/assets/esri/core/workers/chunks/abcc5fb71be2bd94878c.js +1 -0
  258. package/assets/esri/core/workers/chunks/ae0a572cbbdd9815ee2e.js +1 -0
  259. package/assets/esri/core/workers/chunks/aecb05df4ad1454f5435.js +1 -0
  260. package/assets/esri/core/workers/chunks/aecb105db7cec2c9c4c5.js +1 -0
  261. package/assets/esri/core/workers/chunks/b19f33e026a2a43b17c4.js +1 -0
  262. package/assets/esri/core/workers/chunks/b1a21a4d7d73ad7d0e47.js +1 -0
  263. package/assets/esri/core/workers/chunks/b2983f521d8c96becd8a.js +1 -0
  264. package/assets/esri/core/workers/chunks/b5922991d2f450e6a9d9.js +1 -0
  265. package/assets/esri/core/workers/chunks/b8643976a7f984552d94.js +1 -0
  266. package/assets/esri/core/workers/chunks/ba4259aa050169c1d523.js +1 -0
  267. package/assets/esri/core/workers/chunks/bc53ce9a643f82d516c2.js +1 -0
  268. package/assets/esri/core/workers/chunks/{81b2985b83be8f8f1090.js → c06d021180418f2014de.js} +1 -1
  269. package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +1 -0
  270. package/assets/esri/core/workers/chunks/{0e2e4cb34ac6aac88ebf.js → c178e2cfc34603661b1d.js} +1 -1
  271. package/assets/esri/core/workers/chunks/c3e80c0e29ac6a7a6f80.js +1 -0
  272. package/assets/esri/core/workers/chunks/c46a4adea39636a96d03.js +1 -0
  273. package/assets/esri/core/workers/chunks/c6030271bd6d39b6e1db.js +1 -0
  274. package/assets/esri/core/workers/chunks/c9065cee85eb8dde6a42.js +1 -0
  275. package/assets/esri/core/workers/chunks/c92352b0e39576ca317a.js +1 -0
  276. package/assets/esri/core/workers/chunks/c92b40a532e708e506cc.js +1 -0
  277. package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +1 -0
  278. package/assets/esri/core/workers/chunks/cca095f0c623e037002d.js +1 -0
  279. package/assets/esri/core/workers/chunks/ce2aa75e084ee56f5e29.js +1 -0
  280. package/assets/esri/core/workers/chunks/ce44e172e2847fd8df14.js +1 -0
  281. package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +1 -0
  282. package/assets/esri/core/workers/chunks/cff7e921649aef715c78.js +1 -0
  283. package/assets/esri/core/workers/chunks/d05a7ce6c1d4b883ed4c.js +30 -0
  284. package/assets/esri/core/workers/chunks/d4a9eb4470cc6a1f67fc.js +2 -0
  285. package/assets/esri/core/workers/chunks/{478879ba965798f61bf3.js → d69110ec4078c583a05e.js} +1 -1
  286. package/assets/esri/core/workers/chunks/d8c0d18f0132872decd3.js +1 -0
  287. package/assets/esri/core/workers/chunks/db0061a6d5bf454cc509.js +1 -0
  288. package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +1 -0
  289. package/assets/esri/core/workers/chunks/dcfafcf4386f2940d000.js +1 -0
  290. package/assets/esri/core/workers/chunks/deb8a0b306d7b9c86b97.js +1 -0
  291. package/assets/esri/core/workers/chunks/df8143b72ef94806c992.js +1 -0
  292. package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +1 -0
  293. package/assets/esri/core/workers/chunks/e2b034c391c603f7f825.js +1 -0
  294. package/assets/esri/core/workers/chunks/e77d958cb62536b8eebc.js +1 -0
  295. package/assets/esri/core/workers/chunks/e797d45eba0884dc7e6f.js +1 -0
  296. package/assets/esri/core/workers/chunks/{453280ea87a696a4df81.js → e81a3da05fcff97b4752.js} +1 -1
  297. package/assets/esri/core/workers/chunks/e957d52cb9643961a843.js +1127 -0
  298. package/assets/esri/core/workers/chunks/{915a5e8aecf25f3bc72b.js → eb3cdc4ff45243fc3cc5.js} +1 -1
  299. package/assets/esri/core/workers/chunks/eb9982bc866976fef960.js +1 -0
  300. package/assets/esri/core/workers/chunks/{edc2e87968c958bc852b.js → ec4669a0edeca94710e0.js} +1 -1
  301. package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +1 -0
  302. package/assets/esri/core/workers/chunks/f09a41ad239d467d9438.js +2 -0
  303. package/assets/esri/core/workers/chunks/f52443cd203e687551da.js +1 -0
  304. package/assets/esri/core/workers/chunks/f653970d983f17fb764b.js +1 -0
  305. package/assets/esri/core/workers/chunks/f6912532aae1638cbe8f.js +1 -0
  306. package/assets/esri/core/workers/chunks/f6d5dd2eef0d9918096e.js +1 -0
  307. package/assets/esri/core/workers/chunks/f89976ec97938bf86996.js +1 -0
  308. package/assets/esri/core/workers/chunks/f9edc685099f51363f41.js +1 -0
  309. package/assets/esri/core/workers/chunks/fa687ba2d66fcc2501da.js +1 -0
  310. package/assets/esri/core/workers/chunks/fe68c28d3c61f116ff23.js +1 -0
  311. package/assets/esri/core/workers/chunks/fef5dc19736f12dfa99a.js +1 -0
  312. package/assets/esri/core/workers/chunks/ffcd4fca7f67e1f943f1.js +1 -0
  313. package/assets/esri/themes/dark/main.css +1 -1
  314. package/assets/esri/themes/light/main.css +1 -1
  315. package/assets/esri/themes/light/view.css +1 -1
  316. package/chunks/OITDim.glsl.js +3 -4
  317. package/config.js +1 -1
  318. package/core/workers/WorkerHandle.js +1 -1
  319. package/geometry/Mesh.js +1 -1
  320. package/geometry/support/DoubleArray.js +1 -1
  321. package/geometry/support/triangulationUtilsDeprecated.js +1 -1
  322. package/kernel.js +1 -1
  323. package/package.json +3 -3
  324. package/popup/Feature.d.ts +2 -0
  325. package/popup/Feature.js +1 -1
  326. package/popup/actions.js +1 -1
  327. package/support/revision.js +1 -1
  328. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  329. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  330. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  331. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  332. package/views/2d/layers/imagery/ImageryView2D.js +1 -1
  333. package/views/2d/layers/imagery/VectorFieldView2D.js +1 -1
  334. package/views/3d/FocusAreasView.js +1 -1
  335. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementController.js +1 -1
  336. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  337. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  338. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  339. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  340. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  341. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  342. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  343. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  344. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  345. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  346. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  347. package/views/3d/layers/graphics/tessellationUtils.js +1 -1
  348. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  349. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  350. package/views/3d/support/renderInfoUtils/polygonDeprecated.js +1 -1
  351. package/views/3d/terrain/PatchRenderData.js +1 -1
  352. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  353. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  354. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  355. package/views/3d/webgl-engine/lib/SamplerRepository.js +2 -0
  356. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  357. package/views/ViewAnimation.d.ts +2 -21
  358. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  359. package/views/support/rasterHitTestUtils.js +2 -0
  360. package/views/webgl/Sampler.js +1 -1
  361. package/widgets/support/widgetUtils.js +1 -1
  362. package/assets/esri/core/workers/chunks/01be1315c60810651783.js +0 -1
  363. package/assets/esri/core/workers/chunks/0dd12d6af0cf7707109c.js +0 -2
  364. package/assets/esri/core/workers/chunks/155f57fe9886ef322e2a.js +0 -1
  365. package/assets/esri/core/workers/chunks/170f4d83555d238e365b.js +0 -1
  366. package/assets/esri/core/workers/chunks/171cca726a763c770469.js +0 -1
  367. package/assets/esri/core/workers/chunks/1761dc5799850ca7b66c.js +0 -1
  368. package/assets/esri/core/workers/chunks/17d54e77001ccb48a258.js +0 -1
  369. package/assets/esri/core/workers/chunks/19afacc9a741038e4bfb.js +0 -1
  370. package/assets/esri/core/workers/chunks/1a198c9e17f7a058669e.js +0 -1
  371. package/assets/esri/core/workers/chunks/1ae4e43a399e1974f106.js +0 -1
  372. package/assets/esri/core/workers/chunks/1c742bfe3b0aa51823d1.js +0 -1
  373. package/assets/esri/core/workers/chunks/1d8777266fb1c5cfca55.js +0 -1
  374. package/assets/esri/core/workers/chunks/1f76c06af4682c85bc21.js +0 -1
  375. package/assets/esri/core/workers/chunks/205e957ffd7e95f530f7.js +0 -1
  376. package/assets/esri/core/workers/chunks/210629f3c28d4339c655.js +0 -1
  377. package/assets/esri/core/workers/chunks/21a8e2a11ffacc226e2b.js +0 -1
  378. package/assets/esri/core/workers/chunks/27643750dce502fedef3.js +0 -1
  379. package/assets/esri/core/workers/chunks/29b1a4ce7646b403008e.js +0 -1
  380. package/assets/esri/core/workers/chunks/2a65bbe6c63c384cbf5f.js +0 -1
  381. package/assets/esri/core/workers/chunks/2fa69ca3ba8c442dd7d6.js +0 -1
  382. package/assets/esri/core/workers/chunks/35217befc8f9882d139e.js +0 -1
  383. package/assets/esri/core/workers/chunks/3a2ecb883fdb5c598544.js +0 -30
  384. package/assets/esri/core/workers/chunks/3eef3c2e94aa2a00d76a.js +0 -1
  385. package/assets/esri/core/workers/chunks/40d6ad030614099155cd.js +0 -1414
  386. package/assets/esri/core/workers/chunks/41e59d75ccb51a238739.js +0 -1
  387. package/assets/esri/core/workers/chunks/44016e1176629c36bc11.js +0 -1
  388. package/assets/esri/core/workers/chunks/499b899bf88aaf29230d.js +0 -1
  389. package/assets/esri/core/workers/chunks/4b0d6309abf273f1f79f.js +0 -1
  390. package/assets/esri/core/workers/chunks/4e07827ab870c65377d3.js +0 -1
  391. package/assets/esri/core/workers/chunks/51852ef71ac04954fdae.js +0 -1
  392. package/assets/esri/core/workers/chunks/53b797e384be9628fc94.js +0 -1
  393. package/assets/esri/core/workers/chunks/549a51dedcc49f366e53.js +0 -1
  394. package/assets/esri/core/workers/chunks/54c0306082d30d59cba2.js +0 -1
  395. package/assets/esri/core/workers/chunks/57cdd5d4ae073d5ca725.js +0 -1
  396. package/assets/esri/core/workers/chunks/5b9257c5359fa05f4f28.js +0 -1
  397. package/assets/esri/core/workers/chunks/5d574079f0e96e883aab.js +0 -1
  398. package/assets/esri/core/workers/chunks/5d967bcf71c05ddb1ab6.js +0 -1
  399. package/assets/esri/core/workers/chunks/60d0f8a949b130baff81.js +0 -1
  400. package/assets/esri/core/workers/chunks/61778185d702da468b00.js +0 -1
  401. package/assets/esri/core/workers/chunks/61b49cdaf288f36f9288.js +0 -1
  402. package/assets/esri/core/workers/chunks/621ea864e2774f160d1c.js +0 -1
  403. package/assets/esri/core/workers/chunks/679086351352756b33c9.js +0 -1
  404. package/assets/esri/core/workers/chunks/681e97ebbf9c69c410c6.js +0 -1
  405. package/assets/esri/core/workers/chunks/69644b8a6ce340ca1159.js +0 -1
  406. package/assets/esri/core/workers/chunks/6a567755b67c06d16f21.js +0 -1
  407. package/assets/esri/core/workers/chunks/6e7bb6d3e739527116a4.js +0 -1
  408. package/assets/esri/core/workers/chunks/70263c2182dc43046742.js +0 -1
  409. package/assets/esri/core/workers/chunks/71326d16b5cc35c3ff7f.js +0 -1
  410. package/assets/esri/core/workers/chunks/78fbfc03d9b827c3f767.js +0 -1
  411. package/assets/esri/core/workers/chunks/7d0350f459844162d3a7.js +0 -1
  412. package/assets/esri/core/workers/chunks/7e39e9d4d68843b60e4c.js +0 -1
  413. package/assets/esri/core/workers/chunks/823127b23bec07e1f9d0.js +0 -2
  414. package/assets/esri/core/workers/chunks/84eb889b9cce35dac2e5.js +0 -1
  415. package/assets/esri/core/workers/chunks/888f6387e795d45a7ad3.js +0 -2
  416. package/assets/esri/core/workers/chunks/891d97d0da6361d63679.js +0 -1
  417. package/assets/esri/core/workers/chunks/8969788c57bcc11bf77b.js +0 -1
  418. package/assets/esri/core/workers/chunks/8d6da6573d07385f4ed5.js +0 -1
  419. package/assets/esri/core/workers/chunks/8ede12f54b215c52cf3c.js +0 -1
  420. package/assets/esri/core/workers/chunks/8fb336c2066113300d0d.js +0 -1
  421. package/assets/esri/core/workers/chunks/8fed6becd107d2ed9bbd.js +0 -1
  422. package/assets/esri/core/workers/chunks/97062996e1e4196cfa7c.js +0 -1
  423. package/assets/esri/core/workers/chunks/97210bcb5e3cf3ac961b.js +0 -1
  424. package/assets/esri/core/workers/chunks/9c819ebdc98ed8b6afcf.js +0 -1
  425. package/assets/esri/core/workers/chunks/9d7ffd83f69d6e639f09.js +0 -1
  426. package/assets/esri/core/workers/chunks/9dfd00972c12a4adc15d.js +0 -1
  427. package/assets/esri/core/workers/chunks/9fab410b9fa668dc498b.js +0 -1
  428. package/assets/esri/core/workers/chunks/a061a17b62686f945e81.js +0 -1
  429. package/assets/esri/core/workers/chunks/a30815a0155a3b8790b4.js +0 -1
  430. package/assets/esri/core/workers/chunks/a43decc8ede8b4910553.js +0 -1
  431. package/assets/esri/core/workers/chunks/a462aa1c7b68efad6906.js +0 -1
  432. package/assets/esri/core/workers/chunks/a520f83ae0c3c3e78858.js +0 -1
  433. package/assets/esri/core/workers/chunks/a5d9dbb1fef8c4465943.js +0 -1
  434. package/assets/esri/core/workers/chunks/a73e8b80760dc88f926f.js +0 -1
  435. package/assets/esri/core/workers/chunks/b014f0b2385dc82dc683.js +0 -2
  436. package/assets/esri/core/workers/chunks/b2120c4c56656be941ae.js +0 -1
  437. package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +0 -1
  438. package/assets/esri/core/workers/chunks/b85c9ceeece1bae67a16.js +0 -1
  439. package/assets/esri/core/workers/chunks/b8e85b7d5eed6e7c79b5.js +0 -1
  440. package/assets/esri/core/workers/chunks/bbdf27bc34fadbe8e6fe.js +0 -1
  441. package/assets/esri/core/workers/chunks/bc85bb82cfcbc216fa31.js +0 -1
  442. package/assets/esri/core/workers/chunks/be42fe0b7ba0e27030b2.js +0 -1
  443. package/assets/esri/core/workers/chunks/be4d13088a557b7de4b1.js +0 -1
  444. package/assets/esri/core/workers/chunks/be61ea8e1883b915bbb1.js +0 -1
  445. package/assets/esri/core/workers/chunks/bf758d57091fa534c1f8.js +0 -1
  446. package/assets/esri/core/workers/chunks/bfd516c37fb717e14d71.js +0 -1
  447. package/assets/esri/core/workers/chunks/c22945637a40355fbe61.js +0 -1
  448. package/assets/esri/core/workers/chunks/c25a58d9f94aaa96957d.js +0 -1
  449. package/assets/esri/core/workers/chunks/c6a43f748dbf8bac4bb5.js +0 -1
  450. package/assets/esri/core/workers/chunks/c7ca47f5d4b2f3885239.js +0 -1
  451. package/assets/esri/core/workers/chunks/d024278a1c2aa7d22be3.js +0 -1
  452. package/assets/esri/core/workers/chunks/d264aed5dbe09e34040f.js +0 -1
  453. package/assets/esri/core/workers/chunks/d4e55eb75fa4d3ac1e84.js +0 -1
  454. package/assets/esri/core/workers/chunks/d5c7ebfd5c2ca635a7a8.js +0 -1
  455. package/assets/esri/core/workers/chunks/d635f97b7b82a37482d6.js +0 -1
  456. package/assets/esri/core/workers/chunks/d7b92bd9198dd3b27eb5.js +0 -1
  457. package/assets/esri/core/workers/chunks/d816d1a4220d827faf63.js +0 -1
  458. package/assets/esri/core/workers/chunks/d82b543c96f09ded3bf9.js +0 -2
  459. package/assets/esri/core/workers/chunks/d8dde0d1759e009b8373.js +0 -1
  460. package/assets/esri/core/workers/chunks/da0a61f73d45ea9e71fc.js +0 -1
  461. package/assets/esri/core/workers/chunks/e305ced975d885c28e7e.js +0 -1
  462. package/assets/esri/core/workers/chunks/e3c60b7df2740e600066.js +0 -1
  463. package/assets/esri/core/workers/chunks/e5801b0f3893d4d4f5b0.js +0 -1
  464. package/assets/esri/core/workers/chunks/e59f5dc8c85bcea66e98.js +0 -1
  465. package/assets/esri/core/workers/chunks/e611cd03eee4fae7c413.js +0 -1
  466. package/assets/esri/core/workers/chunks/e62d08f5488a74cbda82.js +0 -1
  467. package/assets/esri/core/workers/chunks/e64a92b6f4075616f40f.js +0 -1
  468. package/assets/esri/core/workers/chunks/e78b442417f6a903b9b1.js +0 -1
  469. package/assets/esri/core/workers/chunks/ef0fe4e1a9e960a74c60.js +0 -1
  470. package/assets/esri/core/workers/chunks/efbbcf467b2a27a92b85.js +0 -1
  471. package/assets/esri/core/workers/chunks/f201edf9b68717a6106d.js +0 -1
  472. package/assets/esri/core/workers/chunks/f59f1db572be1f19887f.js +0 -1
  473. package/assets/esri/core/workers/chunks/f9cde38cb56c547e87e5.js +0 -1
  474. package/assets/esri/core/workers/chunks/fd6bbe47773bbd9f7dd9.js +0 -1
  475. package/assets/esri/core/workers/chunks/fe3b42eadcdd9ba54f05.js +0 -1
  476. /package/assets/esri/core/workers/chunks/{0dd12d6af0cf7707109c.js.LICENSE.txt → 7bacdd65a6cc4d284e0a.js.LICENSE.txt} +0 -0
  477. /package/assets/esri/core/workers/chunks/{823127b23bec07e1f9d0.js.LICENSE.txt → 85edbb072a2ce6c1bb30.js.LICENSE.txt} +0 -0
  478. /package/assets/esri/core/workers/chunks/{888f6387e795d45a7ad3.js.LICENSE.txt → d4a9eb4470cc6a1f67fc.js.LICENSE.txt} +0 -0
  479. /package/assets/esri/core/workers/chunks/{b014f0b2385dc82dc683.js.LICENSE.txt → f09a41ad239d467d9438.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7694,8801],{52106(e,t,n){n.d(t,{A:()=>F});var r,i,o=n(5482),s=n(37838),a=n(69540),l=n(51447),u=n(25482),c=n(53966),p=n(36708),d=n(24326),h=n(91429),f=n(12195),y=n(65864),g=n(50498),m=n(55156),b=n(60950),M=n(54339),w=n(94128),v=n(33910);function I(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let F=class extends((0,a.OU)(u.o)){static{r=w.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,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 i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,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 n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,M.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,M.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:I(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.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,p.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 n in e){const r=(0,y.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],F.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,h.MZ)({value:null})],F.prototype,"attributes",null),(0,o.Cg)([(0,h.MZ)({value:null,types:g.yR,json:{read:y.rS}})],F.prototype,"geometry",null),(0,o.Cg)([(0,h.MZ)({type:Boolean})],F.prototype,"isAggregate",void 0),(0,o.Cg)([(0,h.MZ)({clonable:!1})],F.prototype,"layer",void 0),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],F.prototype,"origin",void 0),(0,o.Cg)([(0,h.MZ)({type:s.A,value:null})],F.prototype,"popupTemplate",null),(0,o.Cg)([(0,h.MZ)({clonable:"reference"})],F.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,h.MZ)({value:null,types:v.Es})],F.prototype,"symbol",null),(0,o.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],F.prototype,"_version",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean,value:!0})],F.prototype,"visible",null),F=i=(0,o.Cg)([(0,h.$K)("esri.Graphic")],F)},6797(e,t,n){n.d(t,{Ui:()=>d});var r=n(69622),i=n(7762),o=n(88620);const s=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 i.A?Object.keys(e.items):a(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=l(e),i=l(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!r.includes(e)),d=r.filter(e=>!i.includes(e)),h=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(o,d).sort(),f=c(e);if(f&&s.has(f)&&h.length)return{type:"complete",oldValue:e,newValue:t};let y;const g=a(e)&&a(t);for(const r of h){const i=u(e,r),o=u(t,r);let s;if((g||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])s=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=y?y.diff[r]=s:y={type:"partial",diff:{[r]:s}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},85334(e,t,n){n.d(t,{$:()=>m,IB:()=>s,Iy:()=>v,N2:()=>b,RH:()=>w,ZD:()=>M});var r=n(68197),i=n(4576),o=n(4718);function s(e){return"r"in e&&"g"in e&&"b"in e}function a(e){return"h"in e&&"s"in e&&"v"in e}function l(e){return"l"in e&&"a"in e&&"b"in e}function u(e){return"l"in e&&"c"in e&&"h"in e}n(34727),n(78955),n(91829);const c=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],p=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function d(e,t){const n=[];let r,i;if(e[0].length!==t.length)throw new Error("dimensions do not match");const o=e.length,s=e[0].length;let a=0;for(r=0;r<o;r++){for(a=0,i=0;i<s;i++)a+=e[r][i]*t[i];n.push(a)}return n}function h(e){const t=[e.r/255,e.g/255,e.b/255].map(e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4),n=d(c,t);return{x:100*n[0],y:100*n[1],z:100*n[2]}}function f(e){const t=d(p,[e.x/100,e.y/100,e.z/100]).map(e=>{const t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.min(1,Math.max(t,0))});return{r:Math.round(255*t[0]),g:Math.round(255*t[1]),b:Math.round(255*t[2])}}function y(e){const t=[e.x/95.047,e.y/100,e.z/108.883].map(e=>e>(6/29)**3?e**(1/3):1/3*(29/6)**2*e+4/29);return{l:116*t[1]-16,a:500*(t[0]-t[1]),b:200*(t[1]-t[2])}}function g(e){const t=e.l,n=[(t+16)/116+e.a/500,(t+16)/116,(t+16)/116-e.b/200].map(e=>e>6/29?e**3:3*(6/29)**2*(e-4/29));return{x:95.047*n[0],y:100*n[1],z:108.883*n[2]}}function m(e){return s(e)?e:u(e)?function(e){return f(g(function(e){const t=e.l,n=e.c,r=e.h;return{l:t,a:n*Math.cos(r),b:n*Math.sin(r)}}(e)))}(e):l(e)?function(e){return f(g(e))}(e):function(e){return"x"in e&&"y"in e&&"z"in e}(e)?f(e):a(e)?function(e){const t=(e.h+360)%360/60,n=e.s/100,r=e.v/100*255,i=r*n,o=i*(1-Math.abs(t%2-1));let s;switch(Math.floor(t)){case 0:s={r:i,g:o,b:0};break;case 1:s={r:o,g:i,b:0};break;case 2:s={r:0,g:i,b:o};break;case 3:s={r:0,g:o,b:i};break;case 4:s={r:o,g:0,b:i};break;case 5:case 6:s={r:i,g:0,b:o};break;default:s={r:0,g:0,b:0}}return s.r=Math.round(s.r+r-i),s.g=Math.round(s.g+r-i),s.b=Math.round(s.b+r-i),s}(e):e}function b(e){return a(e)?e:function(e){const t=e.r,n=e.g,r=e.b,i=Math.max(t,n,r),o=i-Math.min(t,n,r);let s=i,a=0===o?0:i===t?(n-r)/o%6:i===n?(r-t)/o+2:(t-n)/o+4,l=0===o?0:o/s;return a<0&&(a+=6),a*=60,l*=100,s*=100/255,{h:a,s:l,v:s}}(m(e))}function M(e){return l(e)?e:function(e){return y(h(e))}(m(e))}function w(e){return u(e)?e:function(e){return function(e){const t=e.l,n=e.a,r=e.b,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o=o>0?o:o+2*Math.PI,{l:t,c:i,h:o}}(y(h(e)))}(m(e))}function v(e,t,n={}){if(0===e.length||t<=0)return[];if(1===(e=e.map(e=>"string"==typeof e?new r.A(e):e)).length||1===t){const n=[],r=e[0];for(let e=0;e<t;e++)n.push(r.clone());return n}if(n.shuffle&&(e=(0,i.k4)((0,o.o8)(e),n.seed)),e.length>=t){const n=[],r=(e.length-1)/(t-1);for(let i=0;i<t;i++){const t=Math.round(i*r);n.push(e[t].clone())}return n}return function(e,t,n={}){const r=[],o=e.length-1,s=Math.ceil((t-e.length)/o);e:for(let i=0;i<o;i++){const o=e[i],a=e[i+1];for(let i=1;i<=s;i++){const l=i/(s+1);if(r.push(F(o,a,l,n)),r.length+e.length===t)break e}}return[...e.map(e=>e.clone()),...(0,i.k4)(r,n.seed??1)]}(e,t,n)}const I=(e,t)=>{const n=Math.floor(10*t())-5;return Math.min(255,Math.max(0,e+n))};function F(e,t,n,o={}){const s=e.r,a=e.g,l=e.b,u=t.r,c=t.g,p=t.b,d=Math.round(s+(u-s)*n),h=Math.round(a+(c-a)*n),f=Math.round(l+(p-l)*n);if(!o.offset)return new r.A([d,h,f]);const y=(0,i.Mo)(o.seed);return new r.A([I(d,y),I(h,y),I(f,y)])}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,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:i,create:r,fromValues:function(e,t,n,r,i,o,s,a,l,u,c,p,d,h,f,y){return[e,t,n,r,i,o,s,a,l,u,c,p,d,h,f,y]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>C,Bw:()=>o,C:()=>s,Cc:()=>x,DI:()=>I,Il:()=>U,Io:()=>b,Ln:()=>m,Om:()=>T,Qr:()=>p,Re:()=>u,S8:()=>F,T9:()=>y,WQ:()=>l,Z0:()=>A,_S:()=>h,aI:()=>P,ei:()=>j,fw:()=>O,g7:()=>_,gL:()=>S,hG:()=>M,hZ:()=>a,hs:()=>g,jb:()=>L,jk:()=>f,lo:()=>G,lw:()=>c,m3:()=>w,oW:()=>k,t2:()=>R,tn:()=>d,uE:()=>D,xg:()=>$,ze:()=>v});var r=n(51850),i=n(34304);function o(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function p(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function d(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,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function y(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function m(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function M(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function w(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function v(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function I(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function F(e,t){const n=t[0],r=t[1],i=t[2];let o=n*n+r*r+i*i;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 T(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function C(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2];return e[0]=i*l-o*a,e[1]=o*s-r*l,e[2]=r*a-i*s,e}function x(e,t,n,r){const i=t[0],o=t[1],s=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=s+r*(n[2]-s),e}function A(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12],e[1]=n[1]*r+n[5]*i+n[9]*o+n[13],e[2]=n[2]*r+n[6]*i+n[10]*o+n[14],e}function j(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function S(e,t,n){return O(e,t,n[0],n[1],n[2],n[3])}function O(e,t,n,r,i,o){const s=t[0],a=t[1],l=t[2],u=r*l-i*a,c=i*s-n*l,p=n*a-r*s,d=r*p-i*c,h=i*u-n*p,f=n*c-r*u,y=2*o;return e[0]=s+u*y+2*d,e[1]=a+c*y+2*h,e[2]=l+p*y+2*f,e}function _(e,t){F(Z,e),F(E,t);const n=T(Z,E);return n>1?0:n<-1?Math.PI:Math.acos(n)}const Z=(0,r.vt)(),E=(0,r.vt)();function R(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function P(e,t){if(e===t)return!0;const n=e[0],r=e[1],o=e[2],s=t[0],a=t[1],l=t[2],u=(0,i.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function k(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],o=n[2]-t[2];let s=r*r+i*i+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=r*s,e[1]=i*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const L=u,q=c,N=p,$=b,G=M,U=o,D=w;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:_,bezier:function(e,t,n,r,i,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,p=3*l*s,d=l*o;return e[0]=t[0]*u+n[0]*c+r[0]*p+i[0]*d,e[1]=t[1]*u+n[1]*c+r[1]*p+i[1]*d,e[2]=t[2]*u+n[2]*c+r[2]*p+i[2]*d,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,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:s,cross:C,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],a=n[1],l=n[2],u=i*l-o*a,c=o*s-r*l,p=r*a-i*s,d=Math.sqrt(u*u+c*c+p*p);return e[0]=u/d,e[1]=c/d,e[2]=p/d,e},direction:k,dist:$,distance:b,div:N,divide:p,dot:T,equals:P,exactEquals:R,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,n,r,i,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+n[0]*l+r[0]*u+i[0]*c,e[1]=t[1]*a+n[1]*l+r[1]*u+i[1]*c,e[2]=t[2]*a+n[2]*l+r[2]*u+i[2]*c,e},inverse:I,len:U,length:o,lerp:x,max:y,min:f,mul:q,multiply:c,negate:v,normalize:F,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(r)*s,e[1]=Math.sin(r)*s,e[2]=o*t,e},rotateX:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[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:m,set:a,sign:h,sqrDist:G,sqrLen:D,squaredDistance:M,squaredLength:w,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:L,subtract:u,transformMat3:j,transformMat4:A,transformQuat:S,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},81583(e,t,n){n.d(t,{L:()=>a,g:()=>s});var r=n(60999),i=n(7762),o=n(92474);async function s(e,t){return await e.load(),a(e,t)}async function a(e,t){const n=[],s=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?s(...t):i.A.isCollection(t)?t.forEach(e=>s(e)):(0,o.Zm)(t)&&n.push(t))};t(s);let a=null;if(await(0,r.Tj)(n,async e=>{const t=await(0,r.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||a||(a=t)}),a)throw a.error;return e}},16494(e,t,n){n.d(t,{Nd:()=>a,W5:()=>s});var r=n(17632);const i=["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),{}),o=["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"],s=new r.I({whiteList:i,onTagAttr:(e,t,n)=>{const r=`${t}="${n}"`;if(o.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},13069(e,t,n){n.d(t,{AG:()=>a,lk:()=>i,vD:()=>s,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)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`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429),l=n(99157);let u=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),o=n(69540),s=n(25482),a=n(91429);let l=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,o,s,a=Math.floor(e.length/3)){const l=(0,r.jd)(t,o);if(null==l)return!1;if(l===r.pO){if(e===i&&n===s)return!0;const t=n+3*a;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*a;for(let t=n,r=s;t<u;t+=3,r+=3)l(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h,w5:()=>u});var r=n(34727),i=n(86211),o=n(73941),s=n(79258),a=n(34403),l=n(21325);const u={2:{5:h,7:null,9:null,10:h,1:v,6:null,8:null,0:null,3:y,11:g,2:h,4:x},5:{5:h,7:null,9:null,10:h,1:v,6:null,8:null,0:null,3:y,11:g,2:h,4:x},7:{5:null,7:h,9:null,10:h,1:null,6:w,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:M,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,n,r){const i=e[t]/Z,o=_-2*Math.atan(Math.exp(-e[t+1]/Z)),s=Z+(e[t+2]??0),a=Math.cos(o)*s;n[r]=Math.cos(i)*a,n[r+1]=Math.sin(i)*a,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:h,11:function(e,t,n,r){f(e,t,n,r),g(n,r,n,r)},2:f,4:function(e,t,n,r){f(e,t,n,r),x(n,r,n,r)}},4:{5:A,7:null,9:null,10:A,1:function(e,t,n,r){A(e,t,n,r),v(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){A(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){A(e,t,n,r),g(n,r,n,r)},2:A,4:h},1:{5:C,7:null,9:null,10:C,1:h,6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),g(n,r,n,r)},2:C,4:function(e,t,n,r){C(e,t,n,r),x(n,r,n,r)}},6:{5:null,7:T,9:null,10:T,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:F,10:F,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:v,6:w,8:M,0:null,3:y,11:g,2:h,4:x},11:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){m(e,t,n,r),v(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){m(e,t,n,r),y(n,r,n,r)},11:h,2:m,4:function(e,t,n,r){m(e,t,n,r),x(n,r,n,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(j.source.spatialReference===e&&j.dest.spatialReference===t)return j;const n=d(e,j.source),r=d(t,j.dest);return 0===n&&0===r?(0,l.aI)(e,t)?j.projector=h:j.projector=null:j.projector=u[n][r],j}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,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,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function f(e,t,n,r){n[r]=O*(e[t]/Z),n[r+1]=O*(_-2*Math.atan(Math.exp(-e[t+1]/Z))),n[r+2]=e[t+2]??0}function y(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,a=(0,r.qE)(S*e[t+1],-s,s),l=Math.sin(a);n[i++]=S*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[i]=e[t+2]??0}(e,t,n,i,s.$O)}function g(e,t,n,r){n[r]=e[t]*E,n[r+1]=e[t+1]*E,n[r+2]=e[t+2]??0}function m(e,t,n,r){n[r]=e[t]*R,n[r+1]=e[t+1]*R,n[r+2]=e[t+2]??0}function b(e,t,n,r,i){const o=i+(e[t+2]??0),s=S*e[t],a=S*e[t+1],l=Math.cos(a)*o;n[r]=Math.cos(s)*l,n[r+1]=Math.sin(s)*l,n[r+2]=Math.sin(a)*o}function M(e,t,n,r){b(e,t,n,r,s.Sw.radius)}function w(e,t,n,r){b(e,t,n,r,s.sH.radius)}function v(e,t,n,r){b(e,t,n,r,s.$O.radius)}function I(e,t,n,i,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,r.YN)(l/(0===u?1:u)),p=Math.atan2(a,s);n[i++]=O*p,n[i++]=O*c,n[i]=u-o}function F(e,t,n,r){I(e,t,n,r,s.Sw.radius)}function T(e,t,n,r){I(e,t,n,r,s.sH.radius)}function C(e,t,n,r){I(e,t,n,r,s.$O.radius)}function x(e,t,n,r){!function(e,t,n,r,i){const o=S*e[t],s=S*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(o),n[r++]=(c+a)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,n,r,s.$O)}function A(e,t,n,r){const i=a.TP,o=e[t],l=e[t+1],u=e[t+2]??0;let c,p,d,h,f,y,g,m,b,M,w,v,I,F,T,C,x,A,j,S,_;c=Math.abs(u),p=o*o+l*l,d=Math.sqrt(p),h=p+u*u,f=Math.sqrt(h),S=Math.atan2(l,o),y=u*u/h,g=p/h,F=i.a2/f,T=i.a3-i.a4/f,g>.3?(m=c/f*(1+g*(i.a1+F+y*T)/f),j=Math.asin(m),M=m*m,b=Math.sqrt(1-M)):(b=d/f*(1-y*(i.a5-F-g*T)/f),j=Math.acos(b),M=1-b*b,m=Math.sqrt(M)),w=1-s.$O.eccentricitySquared*M,v=s.$O.radius/Math.sqrt(w),I=i.a6*v,F=d-v*b,T=c-I*m,x=b*F+m*T,C=b*T-m*F,A=C/(I/w+x),j+=A,_=x+C*A/2,u<0&&(j=-j),n[r++]=O*S,n[r++]=O*j,n[r]=_}const j={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},S=(0,r.kU)(1),O=(0,r.KJ)(1),_=.5*Math.PI,Z=s.$O.radius,E=Z*Math.PI/180,R=180/(Z*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>K,initializeProjection:()=>H,isEqualBaseGCS:()=>B,isLoaded:()=>Z,isLoadedOrLoad:()=>E,isLoadedOrLoadFor:()=>R,load:()=>k,project:()=>L,projectAsync:()=>V,projectExtent:()=>ie,projectMany:()=>q,projectMultipoint:()=>Y,projectOrLoad:()=>$,projectOrLoadMany:()=>G,projectPoint:()=>Q,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>J,requiresLoad:()=>P,test:()=>z,tryProject:()=>N,unload:()=>D});var r=n(49186),i=n(17676),o=n(62788),s=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),p=n(91075),d=n(48526),h=n(86738),f=n(39829),y=n(82799),g=n(16930),m=n(98764),b=n(159),M=n(9762),w=n(49208);function v(e,t,n,r,i,o){return I[0]=e,I[1]=t,I[2]=n,(0,M.projectBuffer)(I,r,0,i,o,0)}const I=(0,a.vt)();var F=n(60408),T=n(21325),C=n(52006);let x=null,A=null,j=null,S=null,O={};const _=new s.I;function Z(){return!!(A?.isLoaded()&&j?.isLoaded()&&S?.isLoaded())}function E(){return!!Z()||((0,o.gc)(_),k(),!1)}function R(e,t){return!e||!t||K(e,t)||E()}function P(e,t){return!K(e,t)&&!Z()}async function k(e){null==x&&(x=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(A=e,A.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(j=e,j.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(S=e,S.load()))])),await x,(0,i.Te)(e),_.notify()}function L(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),q(e,e[0].spatialReference,t,n)):((0,l.f)(e),q([e],e.spatialReference,t,n)[0])}function q(e,t,n,r){if(null==t||null==n)return e;if(K(t,n,r))return e.map(e=>J(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return q(e.map(e=>J(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return q(e,t,g.A.WGS84).map(e=>J(e,g.A.WGS84,n));if(!Z())throw new U;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:S.getTransformation(t,n,r.areaOfInterestExtent)||new b.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=O[e];i||(i=S.getTransformation(t,n)||new b.A,O[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?A.executeMany(e,n,r):j.executeMany(e,n,r)}function N(e,t,n){try{return L(e,t,n)}catch(e){return null}}function $(e,t){const n=G([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function G(e,t,n){if(!Z())for(const n of e)if(null!=n&&!(0,T.aI)(n.spatialReference,t)&&(0,T.fn)(n.spatialReference)&&(0,T.fn)(t)&&!K(n.spatialReference,t))return(0,o.gc)(_),{pending:k(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,T.aI)(e.spatialReference,t)?e:(0,T.fn)(e.spatialReference)&&(0,T.fn)(t)?L(e,t,n):null)}}class U extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function D(){x=null,A=null,j=null,S=null,O={}}const z={get loadPromise(){return x}};async function V(e,t,n){if((0,i.Te)(n),!e)return e;const r=G(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),V(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function K(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,T.aI)(e,t)||(0,T.fn)(e)&&(0,T.fn)(t)&&!!(0,w.jd)(e,t))}function B(e,t){if((0,T.aI)(e,t))return!0;if(!(0,T.fn)(e)||!(0,T.fn)(t))return!1;const n=(0,T.oT)(e)||(0,T.K8)(e)||(0,T.x1)(e),r=(0,T.oT)(t)||(0,T.K8)(t)||(0,T.x1)(t);return n&&r}async function H(e,t,n,r){if(Z())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!K(t,n,i))return k(r)}else if(e&&t&&!K(e,t,n))return k(r);return(0,i.NO)(r)}function J(e,t,n){return e?(0,F.fT)(e)?W(e,t,new h.A,n,0):(0,F.ZC)(e)?oe(e,t,new c.A,n,0):(0,F.Bi)(e)?re(e,t,new f.A,n,0):(0,F.Rg)(e)?te(e,t,new y.A,n,0):(0,F.U9)(e)?X(e,t,new d.A,n,0):null:null}function Q(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=W(e,e.spatialReference,t,n,r)}function W(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,M.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Y(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){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]:i);if(!(0,M.projectBuffer)(c,t,0,c,r,0,u))return null;const p=le(s,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];p&&a?l.push([n,r,c[t+2],o[e][3]]):p?l.push([n,r,c[t+2]]):a?l.push([n,r,o[e][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=s,n.hasM=a,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:o,paths:s,hasZ:a,hasM:l}=e;if(!(o?ae(o,a??!1,l??!1,t,n.curvePaths=[],r,i):se(s,a??!1,l??!1,t,n.paths,r,i)))return null;const u=le(a,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:o,rings:s,hasZ:a,hasM:l}=e;return(o?ae(o,a??!1,l??!1,t,n.curveRings=[],r,i):se(s,a??!1,l??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=le(a,r),n.hasM=l,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=oe(e,e.spatialReference,t,n,r)}function oe(e,t,n,r,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!v(o,s,u?e.zmin:i,t,ue,r))return null;const p=le(u,r);return n.xmin=ue[0],n.ymin=ue[1],p&&(n.zmin=ue[2]),v(a,l,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],p&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function se(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:s);if(!(0,M.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function ae(e,t,n,r,i,o,s=0){const a=new Array;for(const n of e)for(const e of n){if((0,C.FG)(e))return!1;if((0,C.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s);continue}if((0,C.n1)(e)){const[n,r,i]=e.b;a.push(n[0],n[1],t?n[2]:s,r[0],r[1],s,i[0],i[1],s);continue}const n=e;a.push(n[0],n[1],t?n[2]:s)}if(!(0,M.projectBuffer)(a,r,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(l,l+=3);if(c||t.pop(),n&&t.push((0,C.yP)(r)[u]),(0,C.FG)(r))return!1;if((0,C.aO)(r)){const n=a[l++],r=a[l++];++l,e.push({c:[t,[n,r]]});continue}if((0,C.n1)(r)){const n=a[l++],r=a[l++];++l;const i=a[l++],o=a[l++];++l,e.push({b:[t,[n,r],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,T.aI)(t,m.Y0)}const ue=(0,a.vt)()},98764(e,t,n){n.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const s=new i.A(r.fv),a=new i.A(r.FY),l=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let n=s;if(e)if(e===a)n=a;else if(e===l)n=l;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,o.tl)(t)||(0,o.tl)(r)?n=a:((0,o.ZL)(t)||(0,o.ZL)(r))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?n=a:e===h&&(n=l)}}}return p.set(e,n),n}const p=new Map,d=a.wkt.toUpperCase(),h=l.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>l,cj:()=>a,jh:()=>o,l5:()=>s});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function a(e){return[...e]}function l(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>M,DC:()=>p,Ej:()=>h,Ie:()=>m,Jt:()=>b,Ne:()=>f,RF:()=>c,aI:()=>v,fA:()=>s,gE:()=>l,hZ:()=>g,iT:()=>d,is:()=>w,qv:()=>I,vI:()=>y,vY:()=>a,v_:()=>F,vt:()=>o,w1:()=>u}),n(35522);var r=n(5443),i=(n(19419),n(4197));function o(e=F){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=s,a}function a(e,t=o()){return function(e,t,n,r=o()){return g(r,I),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),l=Math.max(l,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[n,r,o,s,a,l]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=l,t[6]=n,t[7]=a,t[8]=o,t[9]=n,t[10]=a,t[11]=l,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,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 n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{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 p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function 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,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function y(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[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 m(e){return e?g(e,I):o(I)}function b(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 M(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function w(e){return 6===e.length}function v(e,t,n){if(null==e||null==t)return e===t;if(!w(e)||!w(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],F=[0,0,0,0,0,0];o()},34403(e,t,n){n.d(t,{TP:()=>s});var r=n(79258);Math.PI;const i=r.$O.radius,o=r.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},97483(e,t,n){n.r(t),n.d(t,{default:()=>Ne});var r=n(5482),i=n(69540),o=n(7762),s=n(49186),a=n(81583),l=n(91869),u=n(25728),c=n(17676),p=n(36708),d=n(39516),h=n(91429),f=n(4146),y=n(52136),g=n(18768),m=n(63074),b=n(69208),M=n(6455),w=n(47685),v=n(10086),I=n(34287),F=n(8303),T=n(54310),C=n(25036),x=n(82935),A=n(60694),j=n(10873),S=n(15426),O=n(17036),_=n(30524),Z=n(85334),E=n(90360),R=n(86162),P=n(92438),k=n(96576),L=n(93618),q=n(62046),N=n(37531);const $={key:"type",base:P.A,errorContext:"renderer",typeMap:{simple:k.A,"unique-value":L.A,"class-breaks":R.A}},G=(0,E.C)({types:$}),U=["#ed5151","#149ece","#a7c636","#9e559c","#fc921f","#ffde3e","#f789d8","#b7814a","#3caf99","#6b6bd6","#b54779","#7f7f7f"];var D=n(37838),z=n(4902),V=n(4718),K=n(92474),B=n(53966),H=n(97768),J=n(93637),Q=n(89317),W=n(78247),Y=n(16930),X=n(55156),ee=n(60950),te=n(89808),ne=n(99959);const re=Symbol("isSubtypeGroupGraphicOriginSymbol");var ie;class oe extends ne.A{get[(ie=re,ee.ym)](){return this.sublayer}get[X.e](){return this.sublayer}get[te.Q](){return this.layer}constructor(e){super(),this[ie]=!0,this.type="subtype-group",this.sublayer=e}get layer(){return this.sublayer.parent}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var se=n(29005),ae=n(46499),le=n(39383),ue=n(17311),ce=n(54546),pe=n(61956),de=n(30291),he=n(59868),fe=n(43440),ye=n(43937),ge=n(36005);const me=(0,O.p)();let be=0;function Me(e,t){let n=e.json.write;return"object"!=typeof n&&(n=e.json.write={}),n.ignoreOrigin=!0,t?.spatialOnly&&(n.layerContainerTypes=Q.K),e}function we(e){const t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=Q.K),e?.target&&(t.write.target=e.target)),t}function ve(e){switch(e){case"point":case"multipoint":return he.UK.clone();case"polyline":return he.A7.clone();case"polygon":case"multipatch":return he.Cx.clone();default:return null}}function Ie(e){return Te(e,"user")===e}function Fe(e){return Te(e,"service")}function Te(e,t){const n=e.parent?.getAtOrigin("sublayers",t);return n?.find(({subtypeCode:t})=>t===e.subtypeCode)}function Ce(e,t){return null==e?null:t.subtypes?.find(t=>t.code===e)}function xe(e,t){let n=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":n="point";break;case"esriGeometryPolyline":n="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":n="polygon";break;default:t.type,n=null}const r={},i=Ce(e,t);if(null!=i){const{defaultValues:e}=i;for(const t in e)r[t]=e[t]}return r[t.subtypeField]=e,new se.A({name:"New Feature",drawingTool:n,prototype:{attributes:r}})}let Ae=class extends((0,u.M)((0,i.OU)((0,z.s)(K.x_)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.graphicOrigin=new oe(this),this.id=`${Date.now().toString(16)}-subtype-sublayer-${be++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.visible=!0}load(e){return(0,_.yp)(this.renderer,this.fieldsIndex),Promise.resolve(this)}get _titleCreator(){const e=this._get("_titleCreator");return(0,H.pR)(e),new ue.A({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,displayField:this.parent?.displayField??"",fields:this.fields,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}get featureTitleFields(){return[...this._titleCreator.requiredFields]}writeFieldOverrides(e,t,n){const{fields:r,parent:i}=this;let o;if(r){o=[];let e=0;r.forEach(({name:t,alias:n,editable:r,visible:s})=>{if(!s)return;const a=i?.fields?.find(e=>e.name===t);if(!a)return;const l={name:t};let u=!1;n!==a.alias&&(l.alias=n,u=!0),r!==a.editable&&(l.editable=r,u=!0),o.push(l),u&&e++}),0===e&&o.length===r.length&&(o=null)}else o=(0,V.o8)(e);o?.length&&(0,J.sM)(n,o,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:n}=this,r=e?.fields;if(!e||!r?.length)return null;const{subtypes:i,subtypeField:o}=e,s=i?.find(e=>e.code===n),a=s?.defaultValues,l=s?.domains,u=[];for(const e of r){const r=e.clone(),{name:i}=r,s=t?.find(e=>e.name===i);if(r.visible=!t?.length||!!s,s){const{alias:e,editable:t}=s;e&&(r.alias=e),!1===t&&(r.editable=!1)}const c=a?.[i]??null;r.defaultValue=i===o?n:c;const p=l?.[i]??null;r.domain=i===o?null:p?"inherited"===p.type?r.domain:p.clone():null,u.push(r)}return u}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(B.A.getLogger(this).error(Oe("globalIdField")),null)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||B.A.getLogger(this).error(Oe("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){(0,_.yp)(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?(Ie(this)?(0,V.o8)(Fe(this)?.renderer):null)??function(e){return new k.A({symbol:ve(e)})}(e.geometryType):null}readRendererFromService(e,t,n){if("Table"===t.type)return null;const r=t.drawingInfo?.renderer,i=G(r,t,n);let o;const{subtypeCode:s}=this;if(null!=s&&function(e,t){return!(!t||"unique-value"!==e?.type||null==e.field||e.field.toLowerCase()!==t.toLowerCase()||e.field2||e.field3||e.valueExpression)}(i,t.subtypeField)){const e=i.uniqueValueInfos?.find(({value:e})=>(e="number"==typeof e?String(e):e)===String(s));e&&(o=new k.A({symbol:e.symbol}))}else"simple"!==i?.type||i.visualVariables?.length||(o=i);return o}readRenderer(e,t,n){const r=t?.layerDefinition?.drawingInfo?.renderer;if(r)return G(r,t,n)||void 0}get spatialReference(){return this.parent?.spatialReference??Y.A.WGS84}get subtypeField(){return this.parent?.subtypeField}get templates(){return this._isOverridden("templates")?this._get("templates"):(0,V.o8)(Ie(this)?Fe(this)?.templates:Te(this,"portal-item")?.templates||Fe(this)?.templates)}set templates(e){this._override("templates",e)}readTemplatesFromService(e,t){return[xe(this.subtypeCode,t)]}get title(){if(this._isOverridden("title"))return this._get("title");const e=Ie(this)?Fe(this):null;return e?.title}set title(e){this._override("title",e)}readTitleFromService(e,t){const n=Ce(this.subtypeCode,t);return null!=n?n.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:n}=this;if(!n)throw Oe("addAttachment");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return n.addAttachment(e,t)}async updateAttachment(e,t,n){const{parent:r}=this;if(!r)throw Oe("updateAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return r.updateAttachment(e,t,n)}async deleteAttachments(e,t){const{parent:n}=this;if(!n)throw Oe("deleteAttachments");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return n.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw Oe("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:n,fields:r,title:i}=this;if(n){const{displayField:e,editFieldsInfo:o,objectIdField:s}=n;t={displayField:e,editFieldsInfo:o,fields:r,objectIdField:s,title:i}}return(0,de.tn)(t,e)}createQuery(){if(!this.parent)throw Oe("createQuery");const e=(0,S.VZ)(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=(0,d.mA)(t,this.parent.definitionExpression),e}getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){const t=(0,S.pc)(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){const n=await this.load();if(!n.parent)throw Oe("queryAttachments");const r=e instanceof ce.A?e.clone():new ce.A(e);return r.where=Se(r.where,n.parent.subtypeField,n.subtypeCode),n.parent.queryAttachments(r,t)}async queryFeatureCount(e,t){const n=await this.load();if(!n.parent)throw Oe("queryFeatureCount");return n.parent.queryFeatureCount(je(n.parent,n,e),t)}async queryFeatures(e,t){const n=await this.load();if(!n.parent)throw Oe("queryFeatures");return n.parent.queryFeatures(je(n.parent,n,e),t)}async queryObjectIds(e,t){const n=await this.load();if(!n.parent)throw Oe("queryObjectIds");return n.parent.queryObjectIds(je(n.parent,n,e),t)}async queryRelatedFeatures(e,t){const n=await this.load();if(!n.parent)throw Oe("queryRelatedFeatures");return n.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){const n=await this.load();if(!n.parent)throw Oe("queryRelatedFeaturesCount");return n.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};(0,r.Cg)([(0,h.MZ)({clonable:!1,readOnly:!0})],Ae.prototype,"_titleCreator",null),(0,r.Cg)([(0,h.MZ)({type:fe.A,json:we({name:"attributeTableInfo"})})],Ae.prototype,"attributeTableTemplate",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"capabilities",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"effectiveCapabilities",null),(0,r.Cg)([(0,h.MZ)({json:we()})],Ae.prototype,"charts",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0,json:we({name:"enableEditing"})})],Ae.prototype,"editingEnabled",void 0),(0,r.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],Ae.prototype,"effectiveEditingEnabled",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"elevationInfo",null),(0,r.Cg)([(0,h.MZ)({clonable:!1,readOnly:!0})],Ae.prototype,"featureTitleFields",null),(0,r.Cg)([(0,h.MZ)({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],Ae.prototype,"fieldOverrides",void 0),(0,r.Cg)([(0,ye.K)("fieldOverrides")],Ae.prototype,"writeFieldOverrides",null),(0,r.Cg)([(0,h.MZ)({...me.fields,readOnly:!0,json:{read:!1}})],Ae.prototype,"fields",null),(0,r.Cg)([(0,h.MZ)(me.fieldsIndex)],Ae.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"floorInfo",null),(0,r.Cg)([(0,h.MZ)({type:W.A,json:we({name:"formInfo"})})],Ae.prototype,"formTemplate",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,clonable:!1})],Ae.prototype,"graphicOrigin",void 0),(0,r.Cg)([(0,h.MZ)({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],Ae.prototype,"id",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"isTable",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"geometryType",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"globalIdField",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)(Me((0,V.o8)(j.kF)))],Ae.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,h.MZ)({type:[ae.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:le.w},write:{ignoreOrigin:!0,layerContainerTypes:Q.K}}})],Ae.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,h.MZ)({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:Q.K}}})],Ae.prototype,"layerType",void 0),(0,r.Cg)([(0,h.MZ)(Me((0,V.o8)(j.fV)))],Ae.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,h.MZ)({type:["show","hide"]})],Ae.prototype,"listMode",void 0),(0,r.Cg)([(0,h.MZ)((()=>{const e=(0,V.o8)(j.hn);return e.json.origins.service.read=!1,Me(e,{spatialOnly:!0})})())],Ae.prototype,"minScale",void 0),(0,r.Cg)([(0,h.MZ)((()=>{const e=(0,V.o8)(j.hG);return e.json.origins.service.read=!1,Me(e,{spatialOnly:!0})})())],Ae.prototype,"maxScale",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],Ae.prototype,"effectiveScaleRange",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"objectIdField",null),(0,r.Cg)([(0,h.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0,json:we({spatialOnly:!0})})],Ae.prototype,"opacity",void 0),(0,r.Cg)([(0,h.MZ)({clonable:!1})],Ae.prototype,"parent",void 0),(0,r.Cg)([(0,h.MZ)(Me((0,V.o8)(j.M6)))],Ae.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,h.MZ)({type:D.A,json:we({name:"popupInfo"})})],Ae.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],Ae.prototype,"defaultPopupTemplate",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"relationships",null),(0,r.Cg)([(0,h.MZ)({types:$,json:we({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],Ae.prototype,"renderer",null),(0,r.Cg)([(0,ge.w)("service","renderer",["drawingInfo.renderer","subtypeField","type"])],Ae.prototype,"readRendererFromService",null),(0,r.Cg)([(0,ge.w)("renderer",["layerDefinition.drawingInfo.renderer"])],Ae.prototype,"readRenderer",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"spatialReference",null),(0,r.Cg)([(0,h.MZ)({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],Ae.prototype,"subtypeCode",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"subtypeField",null),(0,r.Cg)([(0,h.MZ)({type:[se.A],json:we({name:"layerDefinition.templates"})})],Ae.prototype,"templates",null),(0,r.Cg)([(0,ge.w)("service","templates",["geometryType","subtypeField","subtypes","type"])],Ae.prototype,"readTemplatesFromService",null),(0,r.Cg)([(0,h.MZ)({type:String,json:we()})],Ae.prototype,"title",null),(0,r.Cg)([(0,ge.w)("service","title",["subtypes"])],Ae.prototype,"readTitleFromService",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],Ae.prototype,"url",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],Ae.prototype,"userHasUpdateItemPrivileges",null),(0,r.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0,json:we({name:"visibility",spatialOnly:!0})})],Ae.prototype,"visible",void 0),Ae=(0,r.Cg)([(0,h.$K)("esri.layers.support.SubtypeSublayer")],Ae);const je=(e,t,n)=>{if(!n)return t.createQuery();const r=pe.A.from(n);return r.where=Se(r.where,e.subtypeField,t.subtypeCode),r},Se=(e,t,n)=>{const r=new RegExp(`${t}\\s*=\\s*\\d+`),i=`${t}=${n}`,o=e??"";return r.test(o)?o.replace(r,i):(0,d.mA)(i,o)},Oe=e=>new s.A("subtype-sublayer:parent-missing",`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`);var _e=n(96184),Ze=n(91908),Ee=n(54218),Re=n(59923);const Pe="SubtypeGroupLayer";function ke(e,t){const n=[];for(const r of e){const e=new Ae;e.read(r,t),n.push(e)}return n}const Le=(0,O.p)();let qe=class extends((0,v.j)((0,M.FJ)((0,w.w6)((0,m.dM)((0,x.e)((0,C.j)((0,T.J)((0,g.b)((0,I.q)((0,F.A)((0,u.M)((0,b.d)((0,y.p)((0,i.OU)(f.A))))))))))))))){constructor(...e){super(...e),this._sublayerLookup=new Map,this.fields=null,this.fieldsIndex=null,this.outFields=null,this.sublayers=new(o.A.ofType(Ae)),this.useUniqueColorsForSublayers=!0,this.supportedSourceTypes=new Set(["Feature Layer","Table"]),this.timeInfo=null,this.title="Layer",this.type="subtype-group",this._debouncedSaveOperations=(0,c.sg)(async(e,t,r)=>{const{save:i,saveAs:o}=await n.e(5740).then(n.bind(n,33359));switch(e){case 0:return i(this,t);case 1:return o(this,r,t)}}),this.addHandles((0,p.wB)(()=>this.sublayers,(e,t)=>this._handleSublayersChange(e,t),p.OH))}destroy(){this.source?.destroy()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,n=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(c.QP).then(async()=>{if(!this.url)throw new s.A("subtype-grouplayer:missing-url-or-source","SubtypeGroupLayer must be created with either a url or a portal item");if(null==this.layerId)throw new s.A("subtype-grouplayer:missing-layerid","layerId is required for a SubtypeGroupLayer created with url");this._initLayerProperties(await this.createGraphicsSource(t))}).then(()=>(0,S.VA)(this,"load",e));return this.addResolvingPromise(n),Promise.resolve(this)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return(0,S.C$)(this)}get operationalLayerType(){return this.isTable?"SubtypeGroupTable":"SubtypeGroupLayer"}set source(e){this._get("source")!==e&&this._set("source",e)}readTitleFromService(e,{name:t}){return this.url?(0,A.yG)(this.url,t):t}async addAttachment(e,t){const n=await(0,S.Xl)(this,e,t,Pe);return this.lastEditsEventDate=new Date,n}async updateAttachment(e,t,n){const r=await(0,S.bt)(this,e,t,n,Pe);return this.lastEditsEventDate=new Date,r}async applyEdits(e,t){return(0,S.ct)(this,e,t)}async createGraphicsSource(e){const{default:t}=await(0,c.qr)(Promise.all([n.e(893),n.e(3636),n.e(9062)]).then(n.bind(n,65515)),e);return new t({layer:this,supportedSourceTypes:this.supportedSourceTypes}).load({signal:e})}createQuery(){const e=(0,S.VZ)(this),t=this.sublayers.map(e=>e.subtypeCode);return e.where=(0,d.mA)(`${this.subtypeField} IN (${t.join(",")})`,this.definitionExpression),e}async deleteAttachments(e,t){const n=await(0,S.mm)(this,e,t,Pe);return this.lastEditsEventDate=new Date,n}async fetchRecomputedExtents(e){return(0,S.WP)(this,e,Pe)}findSublayerForFeature(e){const t=this.fieldsIndex.get(this.subtypeField),n=e.attributes[t.name];return this.findSublayerForSubtypeCode(n)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains){const t=(0,S.pc)(this,e);if(t)return t}const n=(0,S.Nv)(this,t?.feature);if(n){const t=n.domains?.[e];return"inherited"===t?.type?this._getLayerDomain(e):t}return this._getLayerDomain(e)}loadAll(){return(0,a.g)(this,e=>{e(this.sublayers)})}async queryAttachments(e,t){return(0,S.lV)(this,e,t,Pe)}async queryFeatures(e,t){const n=await this.load(),r=pe.A.from(e)??n.createQuery(),i=r.outFields??[];i.includes(this.subtypeField)||(i.push(this.subtypeField),r.outFields=i);const o=await n.source.queryFeatures(r,t);if(o?.features)for(const e of o.features){const t=this.findSublayerForFeature(e);e.origin=t?.graphicOrigin,e.layer=e.sourceLayer=this.findSublayerForFeature(e)}return o}async queryObjectIds(e,t){return(await(0,S.sg)(this,e,t,Pe)).filter(Ee.Et)}async queryFeatureCount(e,t){return(0,S.Ye)(this,e,t,Pe)}async queryExtent(e,t){return(0,S.B5)(this,e,t,Pe)}async queryRelatedFeatures(e,t){return(0,S.hM)(this,e,t,Pe)}async queryRelatedFeaturesCount(e,t){return(0,S.S2)(this,e,t,Pe)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){const{origin:n,layerContainerType:r,messages:i}=t;if(this.isTable){if("web-scene"===n||"web-map"===n&&"tables"!==r)return(0,Re.U4)(t,this,"a table source cannot be written to web scenes and web maps"),null}else if(this.loaded&&"web-map"===n&&"tables"===r)return(0,Re.U4)(t,this,"a non-table source cannot be written to tables in web maps"),null;return this.sublayers?.length?super.write(e,t):(i?.push(new s.A("web-document-write:invalid-property",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' has invalid value for 'sublayers' property. 'sublayers' collection should contain at least one sublayer`,{layer:this})),null)}serviceSupportsSpatialReference(e){return!!this.loaded&&(0,Ze.D)(this,e)}async getFeatureTitle(e,t){const n=this.findSublayerForFeature(e);return n?await n.getFeatureTitle(e,t):this._getFeatureTitleForUnknownSublayer(e)}async getFeatureTitles(e,t){const n=new Map,r=new Map,i=[],o=[r];if(e.forEach(e=>{const o=this.findSublayerForFeature(e);if(o)(0,l.tE)(n,o,()=>[]).push(e);else{const n=e.getObjectId()??e.attributes[this.objectIdField];t?.fetchMissingFields?i.push(e):r.set(n,this._getFeatureTitleForUnknownSublayer(e))}}),i.length>0){const e=new Set(this.featureTitleFields);e.add(this.objectIdField),e.add(this.subtypeField);const t=await this.queryFeatures({outFields:[...e],returnGeometry:!1,objectIds:i.map(e=>e.getObjectId()??e.attributes[this.objectIdField])}),o=new Set;for(const e of t.features??[]){const t=e.getObjectId()??e.attributes[this.objectIdField];o.add(t);const i=this.findSublayerForFeature(e);i?(0,l.tE)(n,i,()=>[]).push(e):r.set(t,this._getFeatureTitleForUnknownSublayer(e))}for(const e of i){const t=e.getObjectId()??e.attributes[this.objectIdField];o.has(t)||r.set(t,this._getFeatureTitleForUnknownSublayer(e))}}const s=await Promise.all(Array.from(n).map(([e,n])=>e.getFeatureTitles(n,t)));s.forEach(e=>o.push(e));const a=new Map(o.flatMap(e=>[...e]));return r.forEach((e,t)=>{a.set(t,e)}),a}get featureTitleFields(){const e=new Set;for(const t of this.sublayers){const n=t.featureTitleFields;for(const t of n)e.add(t)}return[...e]}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}_initLayerProperties(e){this._set("source",e);const{sourceJSON:t}=e;if(t&&(this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})),!this.subtypes?.length)throw new s.A("subtype-grouplayer:missing-subtypes","SubtypeGroupLayer must be created using a layer with subtypes");this._verifyFields(),(0,_.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,S.jp)(this)}_verifyFields(){const e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("SubtypeGroupLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||-1!==e.search(/\/FeatureServer\//i)||this.fields?.some(e=>"geometry"===e.type)||console.log("SubtypeGroupLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_handleSublayersChange(e,t){t&&(t.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach(e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),e.on("after-remove",({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})],"sublayers-owner"))}_getFeatureTitleForUnknownSublayer(e){const{displayField:t,fieldsIndex:n,objectIdField:r}=this;if(t&&n.has(t))return e.attributes[n.get(t).name]??"";const i=e.getObjectId();return null!=i?i.toString():r&&n.has(r)?e.attributes[n.get(r).name]??"":""}};(0,r.Cg)([(0,h.MZ)({readOnly:!0})],qe.prototype,"createQueryVersion",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],qe.prototype,"editingEnabled",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],qe.prototype,"effectiveEditingEnabled",null),(0,r.Cg)([(0,h.MZ)({...Le.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],qe.prototype,"fields",void 0),(0,r.Cg)([(0,h.MZ)(Le.fieldsIndex)],qe.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,h.MZ)(j.id)],qe.prototype,"id",void 0),(0,r.Cg)([(0,h.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],qe.prototype,"listMode",void 0),(0,r.Cg)([(0,h.MZ)({type:["SubtypeGroupLayer","SubtypeGroupTable"],json:{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{"web-document":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}},"portal-item":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}}}}})],qe.prototype,"operationalLayerType",null),(0,r.Cg)([(0,h.MZ)(Le.outFields)],qe.prototype,"outFields",void 0),(0,r.Cg)([(0,h.MZ)({clonable:!1})],qe.prototype,"source",null),(0,r.Cg)([(0,h.MZ)({type:o.A.ofType(Ae),json:{origins:{service:{read:{source:"subtypes",reader(e,t,n){let r=null;if(this.useUniqueColorsForSublayers){const i=function(e,t){const n=e.drawingInfo?.renderer,r=n?G(n,e,t):null;if("simple"===r?.type)return(0,N.Sx)(r.symbol,null)?r.symbol.clone():null}(t,n);r=i?function(e,t){return(0,Z.Iy)(U,e,{offset:!0,shuffle:!0}).reverse().map(e=>{const n=t.clone();return"cim"===n.type?(0,q.Fe)(n,e):(0,N.dt)(n,e),new k.A({symbol:n})})}(e.length,i):null}const i=e.map(({code:e},i)=>{const o=new Ae({subtypeCode:e});o.read(t,n);const s=r?.[i];return s&&o.read({drawingInfo:{renderer:s.toJSON()}},n),o});return new(o.A.ofType(Ae))(i)}}}},read:{source:["layers","tables"],reader(e,t,n){let r;return"SubtypeGroupLayer"===t.layerType&&t.layers?.length?r=ke(t.layers,n):"SubtypeGroupTable"===t.layerType&&t.tables?.length&&(r=ke(t.tables,n)),new(o.A.ofType(Ae))(r)}},write:{ignoreOrigin:!0,writer(e,t,n,r){const i=[];for(const t of e){const e=t.write({},r);i.push(e)}this.isTable?t.tables=i:t.layers=i}}}})],qe.prototype,"sublayers",void 0),(0,r.Cg)([(0,h.MZ)()],qe.prototype,"useUniqueColorsForSublayers",void 0),(0,r.Cg)([(0,h.MZ)({type:_e.A})],qe.prototype,"timeInfo",void 0),(0,r.Cg)([(0,h.MZ)({json:{origins:{"portal-item":{write:{enabled:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],qe.prototype,"title",void 0),(0,r.Cg)([(0,ge.w)("service","title",["name"])],qe.prototype,"readTitleFromService",null),(0,r.Cg)([(0,h.MZ)({json:{read:!1}})],qe.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({clonable:!1,readOnly:!0})],qe.prototype,"featureTitleFields",null),qe=(0,r.Cg)([(0,h.$K)("esri.layers.SubtypeGroupLayer")],qe);const Ne=qe},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},52136(e,t,n){n.d(t,{p:()=>o});var r=n(5482),i=n(91429);const o=e=>{const t=e;let n=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,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}},28032(e,t,n){n.d(t,{A:()=>l});var r=n(5482),i=n(69540),o=n(25482),s=n(91429),a=n(56400);let l=class extends((0,i.OU)(o.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,s.MZ)()],l.prototype,"creatorField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"creationDateField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"editorField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"editDateField",void 0),(0,r.Cg)([(0,s.MZ)()],l.prototype,"realm",void 0),(0,r.Cg)([(0,s.MZ)((0,a.P6)("dateFieldsTimeReference",!0))],l.prototype,"timeZone",void 0),l=(0,r.Cg)([(0,s.$K)("esri.layers.support.EditFieldsInfo")],l)},29005(e,t,n){n.d(t,{A:()=>u});var r=n(5482),i=n(69540),o=n(66552),s=n(25482),a=n(91429);const l=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(s.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}})],u.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r.Cg)([(0,a.$K)("esri.layers.support.FeatureTemplate")],u)},37352(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),o=n(7762),s=n(25482),a=n(91429);let l=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},45067(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),o=n(66552),s=n(25482),a=n(91429);const l=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(s.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}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,a.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,a.$K)("esri.layers.support.Relationship")],c)},17311(e,t,n){n.d(t,{A:()=>h});var r=n(5482),i=n(69622),o=n(4576),s=n(60999),a=n(7762),l=n(16494),u=n(91429),c=n(30524),p=n(43668);const d=/<br\s*\/*>/gi;let h=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,s.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([n.e(4560),n.e(9301)]).then(n.bind(n,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 n=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(n.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:n,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(n,{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 n=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of n){const n=t.split("."),r=this.fieldsIndex.get(n.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const n of t){const t=this.fieldsIndex.get(n);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,n){const r=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],n)).get(r)??""}async getTitles(e,t,n){const r=new Map,i=n?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);n?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:s,workingTitle:a}=this,u=a&&s;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let p=u?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:s,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:a}):"";n?.removeHTML&&(p=l.Nd.sanitize(p).replaceAll(d," ")),r.set(c,p)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const n=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(n.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=n;const i=await e.queryFeatures(r);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const n of e){if(!n.fieldName)continue;const e=this.fieldsIndex.get(n.fieldName),r=e?.name??n.fieldName;n.fieldName=r,t.set(r.toLowerCase(),n)}return t}_createFormattedAttributes(e,t,n="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const n=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:n}})}catch{}}const o={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:o,graphic:t,timeZone:n,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,u.MZ)({readOnly:!0})],h.prototype,"_arcadeTask",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],h.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],h.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"displayField",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,u.MZ)()],h.prototype,"fields",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"objectIdField",void 0),(0,r.Cg)([(0,u.MZ)()],h.prototype,"requiredFields",null),h=(0,r.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],h)},41560(e,t,n){n.d(t,{Ch:()=>s,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],p(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const s=Array.from(a(e,t,n)),l=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),p(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)l(r.minScale,r.maxScale,t,n)&&(yield r)}}function l(e,t,n,i){return e=c(e),n=c(n),t=p(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},32730(e,t,n){n.d(t,{BI:()=>h,D3:()=>p,XJ:()=>d,lc:()=>c,mX:()=>y,rU:()=>f,tH:()=>w});var r=n(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),a=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function p(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(g);return t?.[1].trim()||null}(t.expression);case"arcade":return w(t.expression)}return null}function y(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=l.test(t)?t.replace(l,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(a,' + "')):t='""',t}const g=/^\s*\{([^}]+)\}\s*$/i,m=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,M=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function w(e){if(!e)return null;let t=m.exec(e)||b.exec(e);return t?t[1]||t[3]:(t=M.exec(e),t?t[2]:null)}},41366(e,t,n){n.d(t,{K:()=>p,Q:()=>l});var r=n(5482),i=n(66552),o=n(53966),s=n(91429),a=n(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let n=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,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&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,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6952,7562,7694],{52106(e,t,n){n.d(t,{A:()=>I});var r,i,o=n(5482),s=n(37838),l=n(69540),a=n(51447),u=n(25482),c=n(53966),p=n(36708),h=n(24326),f=n(91429),d=n(12195),g=n(65864),y=n(50498),m=n(55156),M=n(60950),b=n(54339),v=n(94128),w=n(33910);function x(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let I=class extends((0,l.OU)(u.o)){static{r=v.Z}static{i=this}constructor(e){super(e),this[r]=!0,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,h.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.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 i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,M.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,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 n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.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,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:x(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,d.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.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,p.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,f.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,g.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],I.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,f.MZ)({value:null})],I.prototype,"attributes",null),(0,o.Cg)([(0,f.MZ)({value:null,types:y.yR,json:{read:g.rS}})],I.prototype,"geometry",null),(0,o.Cg)([(0,f.MZ)({type:Boolean})],I.prototype,"isAggregate",void 0),(0,o.Cg)([(0,f.MZ)({clonable:!1})],I.prototype,"layer",void 0),(0,o.Cg)([(0,f.MZ)({clonable:"reference"})],I.prototype,"origin",void 0),(0,o.Cg)([(0,f.MZ)({type:s.A,value:null})],I.prototype,"popupTemplate",null),(0,o.Cg)([(0,f.MZ)({clonable:"reference"})],I.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,f.MZ)({value:null,types:w.Es})],I.prototype,"symbol",null),(0,o.Cg)([(0,f.MZ)({clonable:!1,json:{read:!1,write:!1}})],I.prototype,"_version",void 0),(0,o.Cg)([(0,f.MZ)({type:Boolean,value:!0})],I.prototype,"visible",null),I=i=(0,o.Cg)([(0,f.$K)("esri.Graphic")],I)},6797(e,t,n){n.d(t,{Ui:()=>h});var r=n(69622),i=n(7762),o=n(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof r.A}function a(e){return e instanceof i.A?Object.keys(e.items):l(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=a(e),i=a(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!r.includes(e)),h=r.filter(e=>!i.includes(e)),f=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(o,h).sort(),d=c(e);if(d&&s.has(d)&&f.length)return{type:"complete",oldValue:e,newValue:t};let g;const y=l(e)&&l(t);for(const r of f){const i=u(e,r),o=u(t,r);let s;if((y||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])s=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=g?g.diff[r]=s:g={type:"partial",diff:{[r]:s}})}}return g}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&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,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:i,create:r,fromValues:function(e,t,n,r,i,o,s,l,a,u,c,p,h,f,d,g){return[e,t,n,r,i,o,s,l,a,u,c,p,h,f,d,g]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>C,Bw:()=>o,C:()=>s,Cc:()=>A,DI:()=>x,Il:()=>G,Io:()=>M,Ln:()=>m,Om:()=>T,Qr:()=>p,Re:()=>u,S8:()=>I,T9:()=>g,WQ:()=>a,Z0:()=>j,_S:()=>f,aI:()=>O,ei:()=>F,fw:()=>Z,g7:()=>S,gL:()=>_,hG:()=>b,hZ:()=>l,hs:()=>y,jb:()=>N,jk:()=>d,lo:()=>q,lw:()=>c,m3:()=>v,oW:()=>L,t2:()=>k,tn:()=>h,uE:()=>U,xg:()=>P,ze:()=>w});var r=n(51850),i=n(34304);function o(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function l(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function p(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function h(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function d(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function g(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function m(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function M(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function v(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function I(e,t){const n=t[0],r=t[1],i=t[2];let o=n*n+r*r+i*i;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 T(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function C(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],l=n[1],a=n[2];return e[0]=i*a-o*l,e[1]=o*s-r*a,e[2]=r*l-i*s,e}function A(e,t,n,r){const i=t[0],o=t[1],s=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=s+r*(n[2]-s),e}function j(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12],e[1]=n[1]*r+n[5]*i+n[9]*o+n[13],e[2]=n[2]*r+n[6]*i+n[10]*o+n[14],e}function F(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function _(e,t,n){return Z(e,t,n[0],n[1],n[2],n[3])}function Z(e,t,n,r,i,o){const s=t[0],l=t[1],a=t[2],u=r*a-i*l,c=i*s-n*a,p=n*l-r*s,h=r*p-i*c,f=i*u-n*p,d=n*c-r*u,g=2*o;return e[0]=s+u*g+2*h,e[1]=l+c*g+2*f,e[2]=a+p*g+2*d,e}function S(e,t){I(R,e),I(z,t);const n=T(R,z);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),z=(0,r.vt)();function k(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 n=e[0],r=e[1],o=e[2],s=t[0],l=t[1],a=t[2],u=(0,i.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-l)<=u*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(o-a)<=u*Math.max(1,Math.abs(o),Math.abs(a))}function L(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],o=n[2]-t[2];let s=r*r+i*i+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=r*s,e[1]=i*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const N=u,$=c,E=p,P=M,q=b,G=o,U=v;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:a,angle:S,bezier:function(e,t,n,r,i,o){const s=1-o,l=s*s,a=o*o,u=l*s,c=3*o*l,p=3*a*s,h=a*o;return e[0]=t[0]*u+n[0]*c+r[0]*p+i[0]*h,e[1]=t[1]*u+n[1]*c+r[1]*p+i[1]*h,e[2]=t[2]*u+n[2]*c+r[2]*p+i[2]*h,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,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:s,cross:C,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],o=t[2],s=n[0],l=n[1],a=n[2],u=i*a-o*l,c=o*s-r*a,p=r*l-i*s,h=Math.sqrt(u*u+c*c+p*p);return e[0]=u/h,e[1]=c/h,e[2]=p/h,e},direction:L,dist:P,distance:M,div:E,divide:p,dot:T,equals:O,exactEquals:k,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,n,r,i,o){const s=o*o,l=s*(2*o-3)+1,a=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return e[0]=t[0]*l+n[0]*a+r[0]*u+i[0]*c,e[1]=t[1]*l+n[1]*a+r[1]*u+i[1]*c,e[2]=t[2]*l+n[2]*a+r[2]*u+i[2]*c,e},inverse:x,len:G,length:o,lerp:A,max:g,min:d,mul:$,multiply:c,negate:w,normalize:I,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(r)*s,e[1]=Math.sin(r)*s,e[2]=o*t,e},rotateX:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[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:y,scaleAndAdd:m,set:l,sign:f,sqrDist:q,sqrLen:U,squaredDistance:b,squaredLength:v,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:N,subtract:u,transformMat3:F,transformMat4:j,transformQuat:_,transformQuatValues:Z},Symbol.toStringTag,{value:"Module"}))},16494(e,t,n){n.d(t,{Nd:()=>l,W5:()=>s});var r=n(17632);const i=["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),{}),o=["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"],s=new r.I({whiteList:i,onTagAttr:(e,t,n)=>{const r=`${t}="${n}"`;if(o.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},13069(e,t,n){n.d(t,{AG:()=>l,lk:()=>i,vD:()=>s,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)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`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(69540),s=n(25482),l=n(91429),a=n(99157);let u=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),o=n(69540),s=n(25482),l=n(91429);let a=r=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,n)=>{t[n]=!e}}})],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(49208);function i(e,t,n,i,o,s,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,o);if(null==a)return!1;if(a===r.pO){if(e===i&&n===s)return!0;const t=n+3*l;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*l;for(let t=n,r=s;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>f,w5:()=>u});var r=n(34727),i=n(86211),o=n(73941),s=n(79258),l=n(34403),a=n(21325);const u={2:{5:f,7:null,9:null,10:f,1:w,6:null,8:null,0:null,3:g,11:y,2:f,4:A},5:{5:f,7:null,9:null,10:f,1:w,6:null,8:null,0:null,3:g,11:y,2:f,4:A},7:{5:null,7:f,9:null,10:f,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(e,t,n,r){const i=e[t]/R,o=S-2*Math.atan(Math.exp(-e[t+1]/R)),s=R+(e[t+2]??0),l=Math.cos(o)*s;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:f,11:function(e,t,n,r){d(e,t,n,r),y(n,r,n,r)},2:d,4:function(e,t,n,r){d(e,t,n,r),A(n,r,n,r)}},4:{5:j,7:null,9:null,10:j,1:function(e,t,n,r){j(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){j(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){j(e,t,n,r),y(n,r,n,r)},2:j,4:f},1:{5:C,7:null,9:null,10:C,1:f,6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),y(n,r,n,r)},2:C,4:function(e,t,n,r){C(e,t,n,r),A(n,r,n,r)}},6:{5:null,7:T,9:null,10:T,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:I,10:I,1:null,6:null,8:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:w,6:v,8:b,0:null,3:g,11:y,2:f,4:A},11:{5:m,7:null,9:null,10:m,1:function(e,t,n,r){m(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){m(e,t,n,r),g(n,r,n,r)},11:f,2:m,4:function(e,t,n,r){m(e,t,n,r),A(n,r,n,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(F.source.spatialReference===e&&F.dest.spatialReference===t)return F;const n=h(e,F.source),r=h(t,F.dest);return 0===n&&0===r?(0,a.aI)(e,t)?F.projector=f:F.projector=null:F.projector=u[n][r],F}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===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 f(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function d(e,t,n,r){n[r]=Z*(e[t]/R),n[r+1]=Z*(S-2*Math.atan(Math.exp(-e[t+1]/R))),n[r+2]=e[t+2]??0}function g(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,l=(0,r.qE)(_*e[t+1],-s,s),a=Math.sin(l);n[i++]=_*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,s.$O)}function y(e,t,n,r){n[r]=e[t]*z,n[r+1]=e[t+1]*z,n[r+2]=e[t+2]??0}function m(e,t,n,r){n[r]=e[t]*k,n[r+1]=e[t+1]*k,n[r+2]=e[t+2]??0}function M(e,t,n,r,i){const o=i+(e[t+2]??0),s=_*e[t],l=_*e[t+1],a=Math.cos(l)*o;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(l)*o}function b(e,t,n,r){M(e,t,n,r,s.Sw.radius)}function v(e,t,n,r){M(e,t,n,r,s.sH.radius)}function w(e,t,n,r){M(e,t,n,r,s.$O.radius)}function x(e,t,n,i,o){const s=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),p=Math.atan2(l,s);n[i++]=Z*p,n[i++]=Z*c,n[i]=u-o}function I(e,t,n,r){x(e,t,n,r,s.Sw.radius)}function T(e,t,n,r){x(e,t,n,r,s.sH.radius)}function C(e,t,n,r){x(e,t,n,r,s.$O.radius)}function A(e,t,n,r){!function(e,t,n,r,i){const o=_*e[t],s=_*e[t+1],l=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(o),n[r++]=(c+l)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,s.$O)}function j(e,t,n,r){const i=l.TP,o=e[t],a=e[t+1],u=e[t+2]??0;let c,p,h,f,d,g,y,m,M,b,v,w,x,I,T,C,A,j,F,_,S;c=Math.abs(u),p=o*o+a*a,h=Math.sqrt(p),f=p+u*u,d=Math.sqrt(f),_=Math.atan2(a,o),g=u*u/f,y=p/f,I=i.a2/d,T=i.a3-i.a4/d,y>.3?(m=c/d*(1+y*(i.a1+I+g*T)/d),F=Math.asin(m),b=m*m,M=Math.sqrt(1-b)):(M=h/d*(1-g*(i.a5-I-y*T)/d),F=Math.acos(M),b=1-M*M,m=Math.sqrt(b)),v=1-s.$O.eccentricitySquared*b,w=s.$O.radius/Math.sqrt(v),x=i.a6*w,I=h-w*M,T=c-x*m,A=M*I+m*T,C=M*T-m*I,j=C/(x/v+A),F+=j,S=A+C*j/2,u<0&&(F=-F),n[r++]=Z*_,n[r++]=Z*F,n[r]=S}const F={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},_=(0,r.kU)(1),Z=(0,r.KJ)(1),S=.5*Math.PI,R=s.$O.radius,z=R*Math.PI/180,k=180/(R*Math.PI)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>B,isEqualBaseGCS:()=>V,isLoaded:()=>R,isLoadedOrLoad:()=>z,isLoadedOrLoadFor:()=>k,load:()=>L,project:()=>N,projectAsync:()=>K,projectExtent:()=>ie,projectMany:()=>$,projectMultipoint:()=>Q,projectOrLoad:()=>P,projectOrLoadMany:()=>q,projectPoint:()=>J,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>O,test:()=>D,tryProject:()=>E,unload:()=>U});var r=n(49186),i=n(17676),o=n(62788),s=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),h=n(48526),f=n(86738),d=n(39829),g=n(82799),y=n(16930),m=n(98764),M=n(159),b=n(9762),v=n(49208);function w(e,t,n,r,i,o){return x[0]=e,x[1]=t,x[2]=n,(0,b.projectBuffer)(x,r,0,i,o,0)}const x=(0,l.vt)();var I=n(60408),T=n(21325),C=n(52006);let A=null,j=null,F=null,_=null,Z={};const S=new s.I;function R(){return!!(j?.isLoaded()&&F?.isLoaded()&&_?.isLoaded())}function z(){return!!R()||((0,o.gc)(S),L(),!1)}function k(e,t){return!e||!t||W(e,t)||z()}function O(e,t){return!W(e,t)&&!R()}async function L(e){null==A&&(A=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(j=e,j.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(F=e,F.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(_=e,_.load()))])),await A,(0,i.Te)(e),S.notify()}function N(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),$(e,e[0].spatialReference,t,n)):((0,a.f)(e),$([e],e.spatialReference,t,n)[0])}function $(e,t,n,r){if(null==t||null==n)return e;if(W(t,n,r))return e.map(e=>H(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return $(e.map(e=>H(e,t,y.A.WGS84)),y.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return $(e,t,y.A.WGS84).map(e=>H(e,y.A.WGS84,n));if(!R())throw new G;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:_.getTransformation(t,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=Z[e];i||(i=_.getTransformation(t,n)||new M.A,Z[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?j.executeMany(e,n,r):F.executeMany(e,n,r)}function E(e,t,n){try{return N(e,t,n)}catch(e){return null}}function P(e,t){const n=q([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function q(e,t,n){if(!R())for(const n of e)if(null!=n&&!(0,T.aI)(n.spatialReference,t)&&(0,T.fn)(n.spatialReference)&&(0,T.fn)(t)&&!W(n.spatialReference,t))return(0,o.gc)(S),{pending:L(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,T.aI)(e.spatialReference,t)?e:(0,T.fn)(e.spatialReference)&&(0,T.fn)(t)?N(e,t,n):null)}}class G extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function U(){A=null,j=null,F=null,_=null,Z={}}const D={get loadPromise(){return A}};async function K(e,t,n){if((0,i.Te)(n),!e)return e;const r=q(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),K(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,T.aI)(e,t)||(0,T.fn)(e)&&(0,T.fn)(t)&&!!(0,v.jd)(e,t))}function V(e,t){if((0,T.aI)(e,t))return!0;if(!(0,T.fn)(e)||!(0,T.fn)(t))return!1;const n=(0,T.oT)(e)||(0,T.K8)(e)||(0,T.x1)(e),r=(0,T.oT)(t)||(0,T.K8)(t)||(0,T.x1)(t);return n&&r}async function B(e,t,n,r){if(R())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!W(t,n,i))return L(r)}else if(e&&t&&!W(e,t,n))return L(r);return(0,i.NO)(r)}function H(e,t,n){return e?(0,I.fT)(e)?Y(e,t,new f.A,n,0):(0,I.ZC)(e)?oe(e,t,new c.A,n,0):(0,I.Bi)(e)?re(e,t,new d.A,n,0):(0,I.Rg)(e)?te(e,t,new g.A,n,0):(0,I.U9)(e)?X(e,t,new h.A,n,0):null:null}function J(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,b.projectBuffer)(ue,t,0,ue,r,0)?(n.x=ue[0],n.y=ue[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ue[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=X(e,e.spatialReference,t,n,r)}function X(e,t,n,r,i){const{points:o,hasZ:s,hasM:l}=e,a=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:i);if(!(0,b.projectBuffer)(c,t,0,c,r,0,u))return null;const p=ae(s,r);for(let e=0;e<u;++e){const t=3*e,n=c[t],r=c[t+1];p&&l?a.push([n,r,c[t+2],o[e][3]]):p?a.push([n,r,c[t+2]]):l?a.push([n,r,o[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=s,n.hasM=l,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,i){const{curvePaths:o,paths:s,hasZ:l,hasM:a}=e;if(!(o?le(o,l??!1,a??!1,t,n.curvePaths=[],r,i):se(s,l??!1,a??!1,t,n.paths,r,i)))return null;const u=ae(l,r);return n.spatialReference=r,n.hasZ=u,n.hasM=a,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,i){const{curveRings:o,rings:s,hasZ:l,hasM:a}=e;return(o?le(o,l??!1,a??!1,t,n.curveRings=[],r,i):se(s,l??!1,a??!1,t,n.rings,r,i))?(n.spatialReference=r,n.hasZ=ae(l,r),n.hasM=a,n):null}function ie(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=oe(e,e.spatialReference,t,n,r)}function oe(e,t,n,r,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!w(o,s,u?e.zmin:i,t,ue,r))return null;const p=ae(u,r);return n.xmin=ue[0],n.ymin=ue[1],p&&(n.zmin=ue[2]),w(l,a,u?e.zmax:i,t,ue,r)?(n.xmax=ue[0],n.ymax=ue[1],p&&(n.zmax=ue[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function se(e,t,n,r,i,o,s=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:s);if(!(0,b.projectBuffer)(l,r,0,l,o,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,o);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);c||t.pop(),n&&t.push(r[u]),e.push(t)}i.push(e)}return!0}function le(e,t,n,r,i,o,s=0){const l=new Array;for(const n of e)for(const e of n){if((0,C.FG)(e))return!1;if((0,C.aO)(e)){const[n,r]=e.c;l.push(n[0],n[1],t?n[2]:s,r[0],r[1],s);continue}if((0,C.n1)(e)){const[n,r,i]=e.b;l.push(n[0],n[1],t?n[2]:s,r[0],r[1],s,i[0],i[1],s);continue}const n=e;l.push(n[0],n[1],t?n[2]:s)}if(!(0,b.projectBuffer)(l,r,0,l,o,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,o);for(const t of e){const e=new Array;for(const r of t){const t=l.slice(a,a+=3);if(c||t.pop(),n&&t.push((0,C.yP)(r)[u]),(0,C.FG)(r))return!1;if((0,C.aO)(r)){const n=l[a++],r=l[a++];++a,e.push({c:[t,[n,r]]});continue}if((0,C.n1)(r)){const n=l[a++],r=l[a++];++a;const i=l[a++],o=l[a++];++a,e.push({b:[t,[n,r],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,T.aI)(t,m.Y0)}const ue=(0,l.vt)()},98764(e,t,n){n.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const s=new i.A(r.fv),l=new i.A(r.FY),a=new i.A(r.LJ),u=new i.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let n=s;if(e)if(e===l)n=l;else if(e===a)n=a;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,o.tl)(t)||(0,o.tl)(r)?n=l:((0,o.ZL)(t)||(0,o.ZL)(r))&&(n=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===h?n=l:e===f&&(n=a)}}}return p.set(e,n),n}const p=new Map,h=l.wkt.toUpperCase(),f=a.wkt.toUpperCase()},4197(e,t,n){n.d(t,{Vj:()=>a,cj:()=>l,jh:()=>o,l5:()=>s});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e){return[...e]}function a(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>b,DC:()=>p,Ej:()=>f,Ie:()=>m,Jt:()=>M,Ne:()=>d,RF:()=>c,aI:()=>w,fA:()=>s,gE:()=>a,hZ:()=>y,iT:()=>h,is:()=>v,qv:()=>x,vI:()=>g,vY:()=>l,v_:()=>I,vt:()=>o,w1:()=>u}),n(35522);var r=n(5443),i=(n(19419),n(4197));function o(e=I){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,i,s,l=o()){return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=s,l}function l(e,t=o()){return function(e,t,n,r=o()){return y(r,x),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[n,r,o,s,l,a]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=a,t[6]=n,t[7]=l,t[8]=o,t[9]=n,t[10]=l,t[11]=a,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{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 p(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 h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function d(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function g(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function y(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 m(e){return e?y(e,x):o(x)}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,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function v(e){return 6===e.length}function w(e,t,n){if(null==e||null==t)return e===t;if(!v(e)||!v(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],I=[0,0,0,0,0,0];o()},34403(e,t,n){n.d(t,{TP:()=>s});var r=n(79258);Math.PI;const i=r.$O.radius,o=r.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},50498(e,t,n){n.d(t,{Ye:()=>p,gy:()=>c,iI:()=>f,yR:()=>h});var r=n(66552),i=n(5443),o=n(91075),s=n(48526),l=n(86738),a=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),h={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:l.A,polyline:u.A,polygon:a.A}},f=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},52136(e,t,n){n.d(t,{p:()=>o});var r=n(5482),i=n(91429);const o=e=>{const t=e;let n=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,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}},28032(e,t,n){n.d(t,{A:()=>a});var r=n(5482),i=n(69540),o=n(25482),s=n(91429),l=n(56400);let a=class extends((0,i.OU)(o.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,s.MZ)()],a.prototype,"creatorField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"creationDateField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"editorField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"editDateField",void 0),(0,r.Cg)([(0,s.MZ)()],a.prototype,"realm",void 0),(0,r.Cg)([(0,s.MZ)((0,l.P6)("dateFieldsTimeReference",!0))],a.prototype,"timeZone",void 0),a=(0,r.Cg)([(0,s.$K)("esri.layers.support.EditFieldsInfo")],a)},29005(e,t,n){n.d(t,{A:()=>u});var r=n(5482),i=n(69540),o=n(66552),s=n(25482),l=n(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},37352(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),o=n(7762),s=n(25482),l=n(91429);let a=r=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],a)},45067(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),o=n(66552),s=n(25482),l=n(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(s.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,l.MZ)({json:{read:a.read,write:a.write}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,l.$K)("esri.layers.support.Relationship")],c)},17311(e,t,n){n.d(t,{A:()=>f});var r=n(5482),i=n(69622),o=n(4576),s=n(60999),l=n(7762),a=n(16494),u=n(91429),c=n(30524),p=n(43668);const h=/<br\s*\/*>/gi;let f=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,s.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([n.e(4560),n.e(9301)]).then(n.bind(n,99301)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.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 n=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(n.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:n,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(n,{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 n=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of n){const n=t.split("."),r=this.fieldsIndex.get(n.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const n of t){const t=this.fieldsIndex.get(n);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,n){const r=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],n)).get(r)??""}async getTitles(e,t,n){const r=new Map,i=n?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);n?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:s,workingTitle:l}=this,u=l&&s;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let p=u?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:s,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:l}):"";n?.removeHTML&&(p=a.Nd.sanitize(p).replaceAll(h," ")),r.set(c,p)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const n=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(n.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=n;const i=await e.queryFeatures(r);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const n of e){if(!n.fieldName)continue;const e=this.fieldsIndex.get(n.fieldName),r=e?.name??n.fieldName;n.fieldName=r,t.set(r.toLowerCase(),n)}return t}_createFormattedAttributes(e,t,n="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const n=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:n}})}catch{}}const o={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:o,graphic:t,timeZone:n,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"_arcadeTask",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],f.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"displayField",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,u.MZ)()],f.prototype,"fields",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"objectIdField",void 0),(0,r.Cg)([(0,u.MZ)()],f.prototype,"requiredFields",null),f=(0,r.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],f)},41560(e,t,n){n.d(t,{Ch:()=>s,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],p(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const s=Array.from(l(e,t,n)),a=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),p(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)a(r.minScale,r.maxScale,t,n)&&(yield r)}}function a(e,t,n,i){return e=c(e),n=c(n),t=p(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},32730(e,t,n){n.d(t,{BI:()=>f,D3:()=>p,XJ:()=>h,lc:()=>c,mX:()=>g,rU:()=>d,tH:()=>v});var r=n(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function p(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function h(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function f(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function d(e){const t=h(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(y);return t?.[1].trim()||null}(t.expression);case"arcade":return v(t.expression)}return null}function g(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(l,' + "')):t='""',t}const y=/^\s*\{([^}]+)\}\s*$/i,m=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function v(e){if(!e)return null;let t=m.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}},41366(e,t,n){n.d(t,{K:()=>p,Q:()=>a});var r=n(5482),i=n(66552),o=n(53966),s=n(91429),l=n(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let n=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,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&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,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n}},11831(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),o=n(25482),s=n(90629),l=n(91429),a=n(5760);let u=r=class extends o.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,s.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,l.MZ)({type:a.h9,json:{default:"none",write:!0}})],u.prototype,"decoration",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"family",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:(e,t,n)=>({enabled:!n||!n.textSymbol3D})}}})],u.prototype,"size",null),(0,i.Cg)([(0,l.wg)("size")],u.prototype,"castSize",null),(0,i.Cg)([(0,l.MZ)({type:a._R,json:{default:"normal",write:!0}})],u.prototype,"style",void 0),(0,i.Cg)([(0,l.MZ)({type:a.NM,json:{default:"normal",write:!0}})],u.prototype,"weight",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.symbols.Font")],u)},68249(e,t,n){n.d(t,{A:()=>d});var r,i=n(5482),o=n(68197),s=n(4718),l=n(90629),a=n(91429),u=n(11831),c=n(20378),p=n(5760),h=n(93223),f=n(43937);let d=r=class extends c.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new u.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,n){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),n&&(r.color=n),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,n,r){r&&"string"!=typeof r?r.origin:t[n]=e}castLineWidth(e){return(0,l.cr)(e)}writeLineHeight(e,t,n,r){r&&"string"!=typeof r?r.origin:t[n]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,s.o8)(this.backgroundColor),borderLineColor:(0,s.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,s.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,s.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,a.MZ)({type:o.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:o.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:l.cr})],d.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],d.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...p.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:o.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,i.Cg)([(0,h.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...p.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:l.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],d.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,i.Cg)([(0,f.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(p.Tb)],d.prototype,"lineHeight",void 0),(0,i.Cg)([(0,f.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=r=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],d)},5760(e,t,n){n.d(t,{NM:()=>l,Tb:()=>a,_R:()=>s,h9:()=>o,rM:()=>u,x0:()=>c,y7:()=>p});var r=n(34727),i=n(56507);const o=["none","underline","line-through"],s=["normal","italic","oblique"],l=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},u={type:["left","right","center"],nonNullable:!0},c={type:["baseline","top","middle","bottom"],nonNullable:!0},p=8}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4147],{63196(t,e,n){n.d(e,{Dk:()=>l,aK:()=>u,yr:()=>g,jH:()=>f,oW:()=>b});var s=n(11433),i=n(32352);var o=n(41276),r=n(42996),a=n(44283),c=n(83982);const l=t=>d(void 0,t),u=t=>e=>d(e,t);class h extends s.C{constructor(t,e){super(t);const n=this.exports;try{(0,i.a)(this.component);const t=e(this.component,this),s=this.exports!==n;if((0,i.i)(t)){s||this.setProvisionalExports(t);const e=t.then(t=>{this.exports=t,super.catchUpLifecycle()}).catch(t=>{this.P.reject(t)});this.onLoad(async()=>await e)}else s&&void 0===t||(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t)}}catchUpLifecycle(){}}const d=(p=h,(...t)=>{const e=(0,i.d)(),n=new p(...t),o=n.exports;(0,i.b)(e.at(-1));const r=n.component.manager;r.W(n,o),n.watchExports(r.W.bind(r,n)),(0,i.j)(n);const a=[n.component,...e].reverse();return(0,s.t)(a,t=>void 0===t?void 0:((t,{host:e,key:n,isReactive:s},o)=>{const r=e,a=r[n]!==t.exports,c=r[n]!==o,l=o!==t.exports;if(a&&!c&&l&&(r[n]=t.exports),e===t.component){if(s){const e=t.component.manager;c&&e.W(t,r[n]),t.onUpdate(s=>{if(s.has(n)){const s=r[n];s!==t.exports&&e.W(t,s)}})}t.O=s?void 0:n}const u=t.component.constructor.elementProperties.get(n)?.readOnly;t.watchExports(()=>{r[n]!==t.exports&&(u?(0,i.e)(()=>{r[n]=t.exports}):r[n]=t.exports)})})(n,t,o),o)});var p;const b=(t,e)=>new v(t,e);class v extends s.C{#t;#e;#n;constructor(t,e){super(),o.S$||(this.#e=t,this.#n=e,this.#t=new MutationObserver(n=>{n.forEach(n=>{t.includes(n.attributeName)&&e.call(this.component,this.component.el.getAttribute(n.attributeName),n.oldValue,n.attributeName)})}))}hostConnected(){this.#e.forEach(t=>{this.component.el.hasAttribute(t)&&this.#n.call(this.component,this.component.el.getAttribute(t),null,t)}),this.#t.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#e})}hostDisconnected(){this.#t.disconnect()}}const f=()=>l((t,e)=>{e.exports="ltr",e.onLifecycle(()=>{const n=()=>{const n=(0,r.Zj)(t.el,"dir","ltr");e.exports="rtl"===n?"rtl":"ltr"};return n(),(0,r.Yt)(t.el,["dir"],n)})}),g=t=>(e={})=>l((n,s)=>{const i=(0,a.Ft)(n.el),o={_lang:i.lang,_t9nLocale:i.t9nLocale,_loading:!0},r=n;s.onLifecycle(()=>(0,a.hd)(n.el,()=>t("./assets"),({t9nLocale:t,t9nStrings:e,lang:i})=>{const o={...e,_lang:i,_t9nLocale:t,_loading:!1};s.exports=o;const a=e.componentLabel;"string"==typeof a&&"label"in n&&null==n.label&&(n.label??=a),c(r.messageOverrides)},e.name));const c=t=>{const e=s.exports,n=e._original??e,i=m(n,t);t&&(i._original=n),s.exports=i};return"messageOverrides"in r&&s.onUpdate(t=>{t.has("messageOverrides")&&c(r.messageOverrides)}),e.blocking?(s.setProvisionalExports(o,!1),s.ready):o}),m=(t,e)=>{if(!e)return t;const n={...t};return Object.entries(e).forEach(([e,s])=>{void 0!==t[e]&&(n[e]="object"==typeof s?m(t[e],s):s??t[e])}),n};i.a,c.b,c.s},44283(t,e,n){n.d(e,{Ft:()=>h,hd:()=>p,q:()=>a});var s=n(42996),i=n(22998);const o="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),r=new Set(o),a="en",c={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},l={},u=async(t,e)=>{const n=`${e}${t}.json`;try{const t=await fetch(n);if(t.ok)return await t.json()}catch(t){return(0,i.Rm)("error","intl",`An unknown error occurred while fetching localization strings at ${n}`,{detail:{error:t}}),{}}return t===a?{}:await u(a,e)},h=t=>{const e=(0,s.Zj)(t,"lang",globalThis.navigator?.language||a);return{lang:e,t9nLocale:d(e)}},d=t=>{const[e,n]=t.split("-"),s=e.toLowerCase();let i=s;return n&&(i=`${s}-${n.toUpperCase()}`),i=c[i]??i,r.has(i)?i:n?d(s):a},p=(t,e,n,o)=>{let r;const a=()=>b(t,e(),o).then(t=>{r?.lang===t.lang&&r.t9nLocale===t.t9nLocale&&r.t9nStrings===t.t9nStrings||n(t),r=t}).catch(t=>{(0,i.Rm)("error","intl","Error updating component locale state",{detail:{error:t}})});return queueMicrotask(a),(0,s.Yt)(t,["lang"],a)},b=async(t,e,n=t.localName.split("-").slice(1).join("-"))=>{const{lang:s,t9nLocale:i}=h(t),o=`${e}/${n}/t9n`,r=null===n?{}:await(async(t,e,n="")=>{const s=`${e}/${n}`,i=`${s}${t}.json`;return l[i]??(l[i]=u(t,s)),await l[i]})(i,o,"messages.");return{lang:s,t9nLocale:i,t9nStrings:r}}},38642(t,e,n){function s(t){return Boolean(t).toString()}n.d(e,{t:()=>s})},72080(t,e,n){function s(t){return"l"===t?"m":"s"}async function i(t){await t.componentOnReady(),await t.updateComplete}n.d(e,{c:()=>i,g:()=>s}),n(41276)},28196(t,e,n){n.d(e,{c:()=>i,u:()=>o});var s=n(41276);function i(t,e,n){if(s.S$)return;const i=function(t){class e extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,e){return this.observedEntry.push({target:t,options:e}),super.observe(t,e)}unobserve(t){const e=this.observedEntry.filter(e=>e.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),e.forEach(t=>this.observe(t.target,t.options))}}return"intersection"===t?window.IntersectionObserver:"mutation"===t?e:window.ResizeObserver}(t);return new i(e,n)}function o(t,e,n,s){t&&(e&&t.unobserve(e),n&&(t instanceof MutationObserver?t.observe(n,s):t.observe(n)))}},298(t,e,n){n.d(e,{u:()=>a});var s=n(63196),i=n(98824),o=n(41276);const r=({children:t,disabled:e})=>o.qy`<div class=${(0,i.CP)("interaction-container")} .inert=${e}>${t}</div>`,a=(0,s.aK)((t,e)=>(e.onUpdated(()=>function(t){if(t.disabled)return t.el.setAttribute("aria-disabled","true"),t.el.contains(document.activeElement)&&document.activeElement.blur(),void function(t){var e;t.el.click=c,(e=t.el).addEventListener("pointerdown",l,d),u.forEach(t=>e.addEventListener(t,h,d))}(t);(function(t){var e;delete t.el.click,(e=t.el).removeEventListener("pointerdown",l,d),u.forEach(t=>e.removeEventListener(t,h,d))})(t),t.el.removeAttribute("aria-disabled")}(t)),r));function c(){const{disabled:t}=this;t||HTMLElement.prototype.click.call(this)}function l(t){t.target.disabled&&t.preventDefault()}const u=["mousedown","mouseup","click"];function h(t){t.target.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}const d={capture:!0}},80595(t,e,n){n.d(e,{u:()=>r});var s=n(63196),i=n(72080),o=n(84439);const r=()=>(0,s.aK)((t,e)=>{let n;function s(){n?.abort()}return e.onLoad(()=>{t.listen("focus",()=>{n=new AbortController,t.el.addEventListener("focusout",s,{signal:n.signal})})}),e.onDisconnected(()=>{t.el.removeEventListener("focusout",s)}),async(e,r)=>{if(t.disabled)return;const a=function(t){if(t)return function(t){return"target"in t&&("includeContainer"in t||"strategy"in t)}(t)?t:{target:t}}(e());if(!a)return;const{target:c,includeContainer:l,strategy:u}=a,h=(0,o.e)(t.el),d=h.activeElement;return await(0,i.c)(t),d!==h.activeElement||n&&!n?.signal.aborted?void 0:(t.el.removeEventListener("focus",s),(0,o.i)(c,l,u,t.el,r))}})},21037(t,e,n){n.d(e,{u:()=>o});var s=n(63196),i=n(51391);const o=(0,s.yr)(i.g)},6501(t,e,n){var s=n(51391),i=n(41276),o=n(98824),r=n(63196),a=n(38642),c=n(28196);const l={trace:0,debug:1,info:2,warn:4,error:8,off:10};const u=t=>function(t,...e){(function(t){return l[t]>=l[(0,s.a)().logLevel]})(t)&&console[t]("%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...e)}("error",t),h="flip-rtl",d="svg",p={},b={},v={s:16,m:24,l:32};function f({icon:t,scale:e}){const n=v[e],s=function(t){const e=!isNaN(Number(t.charAt(0))),n=t.split("-");if(n.length>0){const e=/[a-z]/i;t=n.map((t,n)=>t.replace(e,function(t,e){return 0===n&&0===e?t:t.toUpperCase()})).join("")}return e?`i${t}`:t}(t),i="F"===s.charAt(s.length-1);return`${i?s.substring(0,s.length-1):s}${n}${i?"F":""}`}function g(t){return p[t]}const m=i.AH`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class x extends o.WF{constructor(){super(...arguments),this.direction=(0,r.jH)(),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{type:String},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=m}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(t){(t.has("icon")&&(this.hasUpdated||null!==this.icon)||t.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){const{icon:t,scale:e,visible:n}=this;if(i.S$||!t||!n)return;const o={icon:t,scale:e},r=g(f(o))||await async function(t){const e=f(t),n=g(e);if(n)return n;b[e]||(b[e]=fetch((0,s.g)(`./assets/icon/${e}.json`)).then(t=>t.json()).catch(()=>(u(`${t.icon} (${t.scale}) icon failed to load`),"")));const i=await b[e];return p[e]=i,i}(o);t===this.icon&&(this.pathData=r)}waitUntilVisible(t){this.intersectionObserver=(0,c.c)("intersection",e=>{e.forEach(e=>{e.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,t())})},{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):t()}render(){const{flipRtl:t,pathData:e,scale:n,textLabel:s}=this,r=this.direction,c=v[n],l=!!s,u=[].concat(e||"");return this.el.ariaHidden=(0,a.t)(!l),this.el.ariaLabel=l?s:null,this.el.role=l?"img":null,i.qy`<svg aria-hidden=true class=${(0,o.CP)({[h]:"rtl"===r&&t,[d]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${c} ${c}`} width=100% xmlns=http://www.w3.org/2000/svg>${u.map(t=>"string"==typeof t?i.JW`<path d=${t??i.s6} />`:i.JW`<path d=${t.d??i.s6} opacity=${("opacity"in t?t.opacity:1)??i.s6} />`)}</svg>`}}(0,s.c)("calcite-icon",x)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2266],{64064(t,n,r){r.d(n,{executeNearestVertex:()=>a});var e=r(95213),o=r(36633),i=r(78125);function s(t,n,r){if(t.getPointCount()<=0)return"left";const e=t.querySegmentIteratorAtVertex(r),o=e.hasPreviousSegment()?e.previousSegment():e.nextSegment();return function(t,n,r){const e=(n.x-t.x)*(r.y-t.y)-(r.x-t.x)*(n.y-t.y);return e>0?"left":e<0?"right":"straddle"}(o.getStartXY(),o.getEndXY(),n)}const u=new o.O;function a(t,n){const r=(0,i.fromGeometry)(t),o=(0,i.fromPoint)(n).getXY(),a=u.getNearestVertex(r,o);if(a.isEmpty())return null;switch(t.type){case"point":return{coordinate:t,distance:a.m_distance,sideOfLine:0===a.m_distance?"straddle":"left"};case"multipoint":{const n=new e.P;return r.getPointByVal(a.m_vertexIndex,n),{coordinate:(0,i.toPoint)(n,(0,i.getSpatialReference)(t)),distance:a.m_distance,sideOfLine:0===a.m_distance?"straddle":"left"}}case"polyline":case"polygon":{const n=new e.P;return r.getPointByVal(a.m_vertexIndex,n),{coordinate:(0,i.toPoint)(n,(0,i.getSpatialReference)(t)),distance:a.m_distance,sideOfLine:s(r,o,a.m_vertexIndex)}}default:throw new Error(`Unsupported geometry type: ${t.type}`)}}},9093(t,n,r){function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>o,vt:()=>e,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:e,fromValues:function(t,n,r,e,o,i,s,u,a,c,h,f,l,m,M,d){return[t,n,r,e,o,i,s,u,a,c,h,f,l,m,M,d]}},Symbol.toStringTag,{value:"Module"}))},51850(t,n,r){function e(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function i(t,n,r){return[t,n,r]}function s(t,n,r){return[t,n,r]}function u(t,n=[0,0,0]){const r=Math.min(3,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n}function a(){return[0,0,0]}function c(){return i(1,1,1)}function h(){return i(1,0,0)}function f(){return i(0,1,0)}function l(){return i(0,0,1)}r.d(n,{CN:()=>s,Cb:()=>x,Cw:()=>d,JP:()=>g,S:()=>c,Ul:()=>a,Un:()=>M,ci:()=>u,fA:()=>i,o8:()=>o,uY:()=>m,vt:()=>e});const m=[0,0,0],M=c(),d=h(),g=f(),x=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:M,UNIT_X:d,UNIT_Y:g,UNIT_Z:x,ZEROS:m,clone:o,create:e,freeze:s,fromArray:u,fromValues:i,ones:c,unitX:h,unitY:f,unitZ:l,zeros:a},Symbol.toStringTag,{value:"Module"}))},35522(t,n,r){r.d(n,{$A:()=>N,Bw:()=>i,C:()=>s,Cc:()=>A,DI:()=>v,Il:()=>D,Io:()=>y,Ln:()=>x,Om:()=>w,Qr:()=>f,Re:()=>c,S8:()=>_,T9:()=>d,WQ:()=>a,Z0:()=>P,_S:()=>m,aI:()=>V,ei:()=>S,fw:()=>T,g7:()=>E,gL:()=>O,hG:()=>b,hZ:()=>u,hs:()=>g,jb:()=>Z,jk:()=>M,lo:()=>L,lw:()=>h,m3:()=>I,oW:()=>Y,t2:()=>z,tn:()=>l,uE:()=>Q,xg:()=>F,ze:()=>p});var e=r(51850),o=r(34304);function i(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function s(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function u(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function a(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function h(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function f(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function l(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function m(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function M(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function d(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function g(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function x(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function y(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(r*r+e*e+o*o)}function b(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return r*r+e*e+o*o}function I(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function p(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function v(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function _(t,n){const r=n[0],e=n[1],o=n[2];let i=r*r+e*e+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i),t}function w(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function N(t,n,r){const e=n[0],o=n[1],i=n[2],s=r[0],u=r[1],a=r[2];return t[0]=o*a-i*u,t[1]=i*s-e*a,t[2]=e*u-o*s,t}function A(t,n,r,e){const o=n[0],i=n[1],s=n[2];return t[0]=o+e*(r[0]-o),t[1]=i+e*(r[1]-i),t[2]=s+e*(r[2]-s),t}function P(t,n,r){const e=n[0],o=n[1],i=n[2];return t[0]=r[0]*e+r[4]*o+r[8]*i+r[12],t[1]=r[1]*e+r[5]*o+r[9]*i+r[13],t[2]=r[2]*e+r[6]*o+r[10]*i+r[14],t}function S(t,n,r){const e=n[0],o=n[1],i=n[2];return t[0]=e*r[0]+o*r[3]+i*r[6],t[1]=e*r[1]+o*r[4]+i*r[7],t[2]=e*r[2]+o*r[5]+i*r[8],t}function O(t,n,r){return T(t,n,r[0],r[1],r[2],r[3])}function T(t,n,r,e,o,i){const s=n[0],u=n[1],a=n[2],c=e*a-o*u,h=o*s-r*a,f=r*u-e*s,l=e*f-o*h,m=o*c-r*f,M=r*h-e*c,d=2*i;return t[0]=s+c*d+2*l,t[1]=u+h*d+2*m,t[2]=a+f*d+2*M,t}function E(t,n){_(j,t),_(q,n);const r=w(j,q);return r>1?0:r<-1?Math.PI:Math.acos(r)}const j=(0,e.vt)(),q=(0,e.vt)();function z(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function V(t,n){if(t===n)return!0;const r=t[0],e=t[1],i=t[2],s=n[0],u=n[1],a=n[2],c=(0,o.FD)();return Math.abs(r-s)<=c*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(e-u)<=c*Math.max(1,Math.abs(e),Math.abs(u))&&Math.abs(i-a)<=c*Math.max(1,Math.abs(i),Math.abs(a))}function Y(t,n,r){const e=r[0]-n[0],o=r[1]-n[1],i=r[2]-n[2];let s=e*e+o*o+i*i;return s>0?(s=1/Math.sqrt(s),t[0]=e*s,t[1]=o*s,t[2]=i*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const Z=c,C=h,R=f,F=y,L=b,D=i,Q=I;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:a,angle:E,bezier:function(t,n,r,e,o,i){const s=1-i,u=s*s,a=i*i,c=u*s,h=3*i*u,f=3*a*s,l=a*i;return t[0]=n[0]*c+r[0]*h+e[0]*f+o[0]*l,t[1]=n[1]*c+r[1]*h+e[1]*f+o[1]*l,t[2]=n[2]*c+r[2]*h+e[2]*f+o[2]*l,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:s,cross:N,crossAndNormalize:function(t,n,r){const e=n[0],o=n[1],i=n[2],s=r[0],u=r[1],a=r[2],c=o*a-i*u,h=i*s-e*a,f=e*u-o*s,l=Math.sqrt(c*c+h*h+f*f);return t[0]=c/l,t[1]=h/l,t[2]=f/l,t},direction:Y,dist:F,distance:y,div:R,divide:f,dot:w,equals:V,exactEquals:z,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,o,i){const s=i*i,u=s*(2*i-3)+1,a=s*(i-2)+i,c=s*(i-1),h=s*(3-2*i);return t[0]=n[0]*u+r[0]*a+e[0]*c+o[0]*h,t[1]=n[1]*u+r[1]*a+e[1]*c+o[1]*h,t[2]=n[2]*u+r[2]*a+e[2]*c+o[2]*h,t},inverse:v,len:D,length:i,lerp:A,max:d,min:M,mul:C,multiply:h,negate:p,normalize:_,random:function(t,n=1){const r=o.Ov,e=2*r()*Math.PI,i=2*r()-1,s=Math.sqrt(1-i*i)*n;return t[0]=Math.cos(e)*s,t[1]=Math.sin(e)*s,t[2]=i*n,t},rotateX:function(t,n,r,e){const o=[],i=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],i[0]=o[0],i[1]=o[1]*Math.cos(e)-o[2]*Math.sin(e),i[2]=o[1]*Math.sin(e)+o[2]*Math.cos(e),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateY:function(t,n,r,e){const o=[],i=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],i[0]=o[2]*Math.sin(e)+o[0]*Math.cos(e),i[1]=o[1],i[2]=o[2]*Math.cos(e)-o[0]*Math.sin(e),t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},rotateZ:function(t,n,r,e){const o=[],i=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],i[0]=o[0]*Math.cos(e)-o[1]*Math.sin(e),i[1]=o[0]*Math.sin(e)+o[1]*Math.cos(e),i[2]=o[2],t[0]=i[0]+r[0],t[1]=i[1]+r[1],t[2]=i[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:g,scaleAndAdd:x,set:u,sign:m,sqrDist:L,sqrLen:Q,squaredDistance:b,squaredLength:I,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:Z,subtract:c,transformMat3:S,transformMat4:P,transformQuat:O,transformQuatValues:T},Symbol.toStringTag,{value:"Module"}))},69397(t,n,r){r.d(n,{Qf:()=>a,Qh:()=>s,RS:()=>o,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>h});var e=r(34275);const o=16;function i(t){if(!t)return 0;let n=h;for(const r in t)t.hasOwnProperty(r)&&(n+=u(t[r],!1));return n}function s(t){if(!t)return 0;if("number"==typeof t[0])return a(t);if(Array.isArray(t))return function(t){const n=t.length;if(0===n||"number"==typeof t[0])return c(t,8);let r=f;for(let e=0;e<n;e++)r+=u(t[e]);return r}(t);let n=h;for(const r in t)t.hasOwnProperty(r)&&(n+=u(t[r]));return n}function u(t,n=!0){switch(typeof t){case"object":return n?s(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return o;case"boolean":return 4;default:return 8}}function a(...t){return t.reduce((t,n)=>t+(n?(0,e.iu)(n)?n.byteLength+l:Array.isArray(n)?c(n,o):0:0),0)}function c(t,n){return f+t.length*n}const h=32,f=16,l=145,m=64},4197(t,n,r){r.d(n,{Vj:()=>a,cj:()=>u,jh:()=>i,l5:()=>s});var e=r(34275),o=r(9093);function i(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function s(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function u(t){return[...t]}function a(t){const n=(0,o.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},70328(t,n,r){r.d(n,{BI:()=>b,DC:()=>f,Ej:()=>m,Ie:()=>x,Jt:()=>y,Ne:()=>M,RF:()=>h,aI:()=>p,fA:()=>s,gE:()=>a,hZ:()=>g,iT:()=>l,is:()=>I,qv:()=>v,vI:()=>d,vY:()=>u,v_:()=>_,vt:()=>i,w1:()=>c}),r(35522);var e=r(5443),o=(r(19419),r(4197));function i(t=_){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function s(t,n,r,e,o,s,u=i()){return u[0]=t,u[1]=n,u[2]=r,u[3]=e,u[4]=o,u[5]=s,u}function u(t,n=i()){return function(t,n,r,e=i()){return g(e,v),function(t,n,r=0,e=n.length/3){let o=t[0],i=t[1],s=t[2],u=t[3],a=t[4],c=t[5];for(let t=0;t<e;t++)o=Math.min(o,n[r+3*t]),i=Math.min(i,n[r+3*t+1]),s=Math.min(s,n[r+3*t+2]),u=Math.max(u,n[r+3*t]),a=Math.max(a,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=o,t[1]=i,t[2]=s,t[3]=u,t[4]=a,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function a(t,n=(0,o.jh)(24)){const[r,e,i,s,u,a]=t;return n[0]=r,n[1]=e,n[2]=i,n[3]=r,n[4]=e,n[5]=a,n[6]=r,n[7]=u,n[8]=i,n[9]=r,n[10]=u,n[11]=a,n[12]=s,n[13]=e,n[14]=i,n[15]=s,n[16]=e,n[17]=a,n[18]=s,n[19]=u,n[20]=i,n[21]=s,n[22]=u,n[23]=a,n}function c(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function m(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function M(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function d(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function g(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function x(t){return t?g(t,v):i(v)}function y(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function b(t,n,r,e,o){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=o,t[5]=Number.POSITIVE_INFINITY,t}function I(t){return 6===t.length}function p(t,n,r){if(null==t||null==n)return t===n;if(!I(t)||!I(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const v=[1/0,1/0,1/0,-1/0,-1/0,-1/0],_=[0,0,0,0,0,0];i()},92722(t,n,r){r.d(n,{A:()=>o});var e=r(69397);class o{constructor(t=[],n=[],r=!1,e=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=r,this.hasM=e}static fromJSON({lengths:t,coords:n,hasZ:r,hasM:e}){return new o(t,n,r||!1,e||!1)}static fromRect([t,n,r,e]){const i=r-t,s=e-n;return new o([5],[t,n,i,0,0,s,-i,0,0,-s])}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,n)=>t+n,0)}get usedMemory(){return 64+(0,e.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,n=0;for(const r of this.lengths){if(r<3)continue;const{stride:e}=this;let o=this.coords[e*n],i=this.coords[e*n+1];for(let s=1;s<r;s+=1){const r=e*(n+s),u=this.coords[r],a=this.coords[r+1];t+=-.5*(u-o)*(a+i),o=u,i=a}n+=r}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const e of this.lengths){for(let o=0;o<e;o++){const e=r*(n+o);t(this.coords[e],this.coords[e+1])}n+=e}}deltaDecode(){const t=this.clone(),{coords:n,lengths:r}=t;let e=0;const{stride:o}=this;for(const t of r){for(let r=1;r<t;r++){const t=o*(e+r);n[t]+=n[t-o],n[t+1]+=n[t+1-o]}e+=t}return t}clone(t){if(this.isPoint)return new o([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:r,size:e}=this,i=this.coords.slice(0,e*r);return t?(t.set(i),new o(n,t,this.hasZ,this.hasM)):new o(n,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const r=new Array(n*t);for(let n=0,e=0;n<r.length;n+=t)r[e++]=this.coords[n],r[e++]=this.coords[n+1];return new o(this.lengths,r,!1,!1)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1493],{5482(e,t,r){function n(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}function i(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>n,hk:()=>s,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function s(e){function t(t){e.error=e.hasError?new o(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},68197(e,t,r){r.d(t,{A:()=>u});var n=r(40876),i=r(4576),o=r(34727),s=r(56507);function l(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function a(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,n=new u){return n.r=Math.round(e.r+(t.r-e.r)*r),n.g=Math.round(e.g+(t.g-e.g)*r),n.b=Math.round(e.b+(t.b-e.b)*r),n.a=e.a+(t.a-e.a)*r,n._sanitize()}static fromRgb(e,t){const r=(0,n.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,n.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,n.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,i.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,n=3===r||4===r,i=4===r||8===r,o=`#${a(this.r,n)}${a(this.g,n)}${a(this.b,n)}${i?a(Math.round(255*this.a),n):""}`;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=l(this.r),r=l(this.g),n=l(this.b);return 0===e||1!==this.a?[t,r,n,l(255*this.a)]:[t,r,n]}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,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(e,t,r,n){this.r=e,this.g=t,this.b=r,this.a=n}}u.prototype.declaredClass="esri.Color"},40876(e,t,r){r.d(t,{Eq:()=>h,G1:()=>m,TS:()=>o,Tf:()=>v,V6:()=>i,Vm:()=>d,ay:()=>a,c1:()=>y,c4:()=>s,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>x});const n={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 i(e){return!!n[e]||!!n[e.toLowerCase()]}function o(e){return n[e]??n[e.toLowerCase()]}function s(e){return[...o(e)]}function l(e,t,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?e+(t-e)*n:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function a(e,t,r,n=1){const i=(e%360+360)%360/360,o=r<=.5?r*(t+1):r+t-r*t,s=2*r-o;return[Math.round(255*l(s,o,i+1/3)),Math.round(255*l(s,o,i)),Math.round(255*l(s,o,i-1/3)),n]}function u(e){const t=e.length>5,r=t?8:4,n=(1<<r)-1,i=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const l=[0,0,0,1];let a;return o&&(a=s&n,s>>=r,l[3]=i*a/255),a=s&n,s>>=r,l[2]=i*a,a=s&n,s>>=r,l[1]=i*a,a=s&n,s>>=r,l[0]=i*a,l}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),n=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,n+16*n,(i+16*i)/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 f(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 a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function p(e){return e[0]=y(e[0]),e[1]=y(e[1]),e[2]=y(e[2]),e[3]=4===e.length?m(e[3]):1,e}function h(e){let t=i(e)?o(e):null;return t??=f(e),t??=c(e),t}function d(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return g(e,0,1)}function y(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const v=2.2,w=1/v;function x(e){return e**w}},69540(e,t,r){r.d(t,{OU:()=>c,Pw:()=>f});var n=r(5482),i=r(69622),o=(r(44208),r(4718)),s=(r(53966),r(97768)),l=r(88620),a=r(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const r=e;let i=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,l.oY)(this);(0,s.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,n=t.store,i={},a=new Map;for(const t in r){const s=r[t],l=n?.originOf(t),u=s.clonable;if(s.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;const c=this[t];let f=null;if("function"==typeof u)f=u(c,e);else if("reference"===u)f=c;else if(f=(0,o.TU)(c,e),null!=c&&null==f)continue;0===l?a.set(t,f):i[t]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(a.size){const e=(0,l.oY)(u)?.store;if(e)for(const[t,r]of a)e.set(t,r,0)}return u}};return i=(0,n.Cg)([(0,a.$)("esri.core.Clonable")],i),i},f=c(i.A)},95488(e,t,r){r.d(t,{I:()=>i});var n=r(11406);class i extends n.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},51850(e,t,r){function n(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function o(e,t,r){return[e,t,r]}function s(e,t,r){return[e,t,r]}function l(e,t=[0,0,0]){const r=Math.min(3,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function a(){return[0,0,0]}function u(){return o(1,1,1)}function c(){return o(1,0,0)}function f(){return o(0,1,0)}function p(){return o(0,0,1)}r.d(t,{CN:()=>s,Cb:()=>g,Cw:()=>m,JP:()=>y,S:()=>u,Ul:()=>a,Un:()=>d,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>h,vt:()=>n});const h=[0,0,0],d=u(),m=c(),y=f(),g=p();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:m,UNIT_Y:y,UNIT_Z:g,ZEROS:h,clone:i,create:n,freeze:s,fromArray:l,fromValues:o,ones:u,unitX:c,unitY:f,unitZ:p,zeros:a},Symbol.toStringTag,{value:"Module"}))},91829(e,t,r){function n(){return[0,0,0,0]}function i(e,t,r,n){return[e,t,r,n]}function o(e,t,r,n){return[e,t,r,n]}function s(){return i(1,1,1,1)}function l(){return i(1,0,0,0)}function a(){return i(0,1,0,0)}function u(){return i(0,0,1,0)}function c(){return i(0,0,0,1)}r.d(t,{CN:()=>o,Un:()=>p,fA:()=>i,uY:()=>f,vt:()=>n});const f=[0,0,0,0],p=s(),h=l(),d=a(),m=u(),y=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_W:y,UNIT_X:h,UNIT_Y:d,UNIT_Z:m,ZEROS:f,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:n,freeze:o,fromArray:function(e,t=[0,0,0,0]){const r=Math.min(4,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t},fromValues:i,ones:s,unitW:c,unitX:l,unitY:a,unitZ:u,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},34304(e,t,r){r.d(t,{DF:()=>a,FD:()=>i,Ov:()=>o,ct:()=>u});let n=1e-6;function i(){return n}const o=Math.random,s=Math.PI/180,l=180/Math.PI;function a(e){return e*s}function u(e){return e*l}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){n=e},toDegree:u,toRadian:a},Symbol.toStringTag,{value:"Module"}))},78955(e,t,r){r.d(t,{Bw:()=>y,C:()=>i,Cc:()=>x,LI:()=>p,Om:()=>w,S8:()=>v,T9:()=>f,WQ:()=>s,Z0:()=>b,aI:()=>C,hG:()=>m,hZ:()=>o,hs:()=>h,jk:()=>c,m3:()=>g,t2:()=>M});var n=r(34304);function i(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function o(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function s(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e[3]=t[3]+r[3],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[3]=t[3]-r[3],e}function a(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],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[3]=t[3]/r[3],e}function c(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[3]=Math.min(t[3],r[3]),e}function f(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[3]=Math.max(t[3],r[3]),e}function p(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function h(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function d(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return Math.sqrt(r*r+n*n+i*i+o*o)}function m(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return r*r+n*n+i*i+o*o}function y(e){const t=e[0],r=e[1],n=e[2],i=e[3];return Math.sqrt(t*t+r*r+n*n+i*i)}function g(e){const t=e[0],r=e[1],n=e[2],i=e[3];return t*t+r*r+n*n+i*i}function v(e,t){const r=t[0],n=t[1],i=t[2],o=t[3];let s=r*r+n*n+i*i+o*o;return s>0&&(s=1/Math.sqrt(s),e[0]=r*s,e[1]=n*s,e[2]=i*s,e[3]=o*s),e}function w(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function x(e,t,r,n){const i=t[0],o=t[1],s=t[2],l=t[3];return e[0]=i+n*(r[0]-i),e[1]=o+n*(r[1]-o),e[2]=s+n*(r[2]-s),e[3]=l+n*(r[3]-l),e}function b(e,t,r){const n=t[0],i=t[1],o=t[2],s=t[3];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12]*s,e[1]=r[1]*n+r[5]*i+r[9]*o+r[13]*s,e[2]=r[2]*n+r[6]*i+r[10]*o+r[14]*s,e[3]=r[3]*n+r[7]*i+r[11]*o+r[15]*s,e}function M(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function C(e,t){const r=e[0],i=e[1],o=e[2],s=e[3],l=t[0],a=t[1],u=t[2],c=t[3],f=(0,n.FD)();return Math.abs(r-l)<=f*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(i-a)<=f*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(o-u)<=f*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(s-c)<=f*Math.max(1,Math.abs(s),Math.abs(c))}const A=l,S=a,R=u,O=d,k=m,P=y,j=g;Object.freeze(Object.defineProperty({__proto__:null,add:s,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:i,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:O,distance:d,div:R,divide:u,dot:w,equals:C,exactEquals:M,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:P,length:y,lerp:x,max:f,min:c,mul:S,multiply:a,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:v,random:function(e,t=1){const r=n.Ov;let i,o,s,l,a,u;do{i=2*r()-1,o=2*r()-1,a=i*i+o*o}while(a>=1);do{s=2*r()-1,l=2*r()-1,u=s*s+l*l}while(u>=1);const c=Math.sqrt((1-a)/u);return e[0]=t*i,e[1]=t*o,e[2]=t*s*c,e[3]=t*l*c,e},round:p,scale:h,scaleAndAdd:function(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e[3]=t[3]+r[3]*n,e},set:o,sqrDist:k,sqrLen:j,squaredDistance:m,squaredLength:g,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:A,subtract:l,transformMat4:b,transformQuat:function(e,t,r){const n=t[0],i=t[1],o=t[2],s=r[0],l=r[1],a=r[2],u=r[3],c=u*n+l*o-a*i,f=u*i+a*n-s*o,p=u*o+s*i-l*n,h=-s*n-l*i-a*o;return e[0]=c*u+h*-s+f*-a-p*-l,e[1]=f*u+h*-l+p*-s-c*-a,e[2]=p*u+h*-a+c*-l-f*-s,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},91075(e,t,r){r.d(t,{A:()=>a});var n=r(5482),i=r(25482),o=r(91429),s=r(16930),l=r(36005);let a=class extends i.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=s.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof s.A)return e;if(null!=e){const r=new s.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,n.Cg)([(0,o.MZ)()],a.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],a.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],a.prototype,"hasM",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],a.prototype,"hasZ",void 0),(0,n.Cg)([(0,o.MZ)({type:s.A,json:{write:!0},value:s.A.WGS84})],a.prototype,"spatialReference",void 0),(0,n.Cg)([(0,l.w)("spatialReference")],a.prototype,"readSpatialReference",null),a=(0,n.Cg)([(0,o.$K)("esri.geometry.Geometry")],a)},86738(e,t,r){r.d(t,{A:()=>w});var n=r(5482),i=r(69622),o=r(53966),s=r(91429),l=r(56507),a=r(91075),u=r(16930),c=r(21325),f=r(28735);function p({x:e,y:t,spatialReference:r},n=[0,0]){if(r){if((0,c.K8)(r))return(0,f.tD)(e,t,n);if((0,c.EA)(r))return n[0]=e,n[1]=t,n}return null}const h=[0,0];var d,m=r(43937),y=r(36005);const g=[0,0];function v(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let w=d=class extends a.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,n,i){let s;if(Array.isArray(e))s=e,i=t,e=s[0],t=s[1],r=s[2],n=s[3];else if(e&&"object"==typeof e){if(s=e,e=null!=s.x?s.x:s.longitude,t=null!=s.y?s.y:s.latitude,r=s.z,n=s.m,(i=s.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=s.longitude||null!=s.latitude)if(null==s.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==s.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!s.declaredClass&&i?.isWebMercator){const r=(0,f.je)(s.longitude,s.latitude,g);e=r[0],t=r[1]}}else v(r)?(i=r,r=null):v(n)&&(i=n,n=null);const l={x:e,y:t};return null==l.x&&null!=l.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==l.y&&null!=l.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(l.spatialReference=i),null!=r&&(l.z=r),null!=n&&(l.m=n),l}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return p(this,h)?.[1]??null}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,f.je)(r,e,g)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return p(this,h)?.[0]??null}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,f.je)(e,t,g)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new d;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return d.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:n,m:i,spatialReference:o}=this,{z:s,m:l}=e;let{x:a,y:u,spatialReference:c}=e;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[a,u]=(0,f.je)(a,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[a,u]=(0,f.tD)(a,u),c=o}return t===a&&r===u&&n===s&&i===l&&o.wkid===c.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,n]=e.valid,i=2*n;let o;return t>n?(o=Math.ceil(Math.abs(t-n)/i),t-=o*i):t<r&&(o=Math.ceil(Math.abs(t-r)/i),t+=o*i),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,n=e.y-t.y,i=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,s.MZ)({readOnly:!0})],w.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasM",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasZ",null),(0,n.Cg)([(0,s.MZ)({type:Number})],w.prototype,"latitude",null),(0,n.Cg)([(0,s.MZ)({type:Number})],w.prototype,"longitude",null),(0,n.Cg)([(0,s.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,s.wg)(e=>isNaN(e)?e:(0,l.GB)(e))],w.prototype,"x",void 0),(0,n.Cg)([(0,m.K)("x")],w.prototype,"writeX",null),(0,n.Cg)([(0,y.w)("x")],w.prototype,"readX",null),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],w.prototype,"y",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],w.prototype,"z",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],w.prototype,"m",void 0),w=d=(0,n.Cg)([(0,s.$K)("esri.geometry.Point")],w),w.prototype.toJSON.isDefaultToJSON=!0},21276(e,t,r){r.d(t,{H:()=>o,f:()=>i});var n=r(49186);function i(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(e){e.forEach(i)}},159(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),o=r(69540),s=r(25482),l=r(91429),a=r(99157);let u=n=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),o=r(69540),s=r(25482),l=r(91429);let a=n=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(49208);function i(e,t,r,i,o,s,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,o);if(null==a)return!1;if(a===n.pO){if(e===i&&r===s)return!0;const t=r+3*l;for(let n=r,o=s;n<t;n++,o++)i[o]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=s;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},49208(e,t,r){r.d(t,{Tp:()=>f,jd:()=>c,pO:()=>h,w5:()=>u});var n=r(34727),i=r(86211),o=r(73941),s=r(79258),l=r(34403),a=r(21325);const u={2:{5:h,7:null,9:null,10:h,1:b,6:null,8:null,0:null,3:m,11:y,2:h,4:R},5:{5:h,7:null,9:null,10:h,1:b,6:null,8:null,0:null,3:m,11:y,2:h,4:R},7:{5:null,7:h,9:null,10:h,1:null,6:x,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:w,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(e,t,r,n){const i=e[t]/T,o=N-2*Math.atan(Math.exp(-e[t+1]/T)),s=T+(e[t+2]??0),l=Math.cos(o)*s;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(o)*s},6:null,8:null,0:null,3:h,11:function(e,t,r,n){d(e,t,r,n),y(r,n,r,n)},2:d,4:function(e,t,r,n){d(e,t,r,n),R(r,n,r,n)}},4:{5:O,7:null,9:null,10:O,1:function(e,t,r,n){O(e,t,r,n),b(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){O(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){O(e,t,r,n),y(r,n,r,n)},2:O,4:h},1:{5:S,7:null,9:null,10:S,1:h,6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),y(r,n,r,n)},2:S,4:function(e,t,r,n){S(e,t,r,n),R(r,n,r,n)}},6:{5:null,7:A,9:null,10:A,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:b,6:x,8:w,0:null,3:m,11:y,2:h,4:R},11:{5:g,7:null,9:null,10:g,1:function(e,t,r,n){g(e,t,r,n),b(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){g(e,t,r,n),m(r,n,r,n)},11:h,2:g,4:function(e,t,r,n){g(e,t,r,n),R(r,n,r,n)}}};function c(e,t){return f(e,t)?.projector}function f(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),n=p(t,k.dest);return 0===r&&0===n?(0,a.aI)(e,t)?k.projector=h:k.projector=null:k.projector=u[r][n],k}function p(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===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,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function d(e,t,r,n){r[n]=j*(e[t]/T),r[n+1]=j*(N-2*Math.atan(Math.exp(-e[t+1]/T))),r[n+2]=e[t+2]??0}function m(e,t,r,i){!function(e,t,r,i,o){const s=.4999999*Math.PI,l=(0,n.qE)(P*e[t+1],-s,s),a=Math.sin(l);r[i++]=P*e[t]*o.radius,r[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,s.$O)}function y(e,t,r,n){r[n]=e[t]*I,r[n+1]=e[t+1]*I,r[n+2]=e[t+2]??0}function g(e,t,r,n){r[n]=e[t]*z,r[n+1]=e[t+1]*z,r[n+2]=e[t+2]??0}function v(e,t,r,n,i){const o=i+(e[t+2]??0),s=P*e[t],l=P*e[t+1],a=Math.cos(l)*o;r[n]=Math.cos(s)*a,r[n+1]=Math.sin(s)*a,r[n+2]=Math.sin(l)*o}function w(e,t,r,n){v(e,t,r,n,s.Sw.radius)}function x(e,t,r,n){v(e,t,r,n,s.sH.radius)}function b(e,t,r,n){v(e,t,r,n,s.$O.radius)}function M(e,t,r,i,o){const s=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+l*l+a*a),c=(0,n.YN)(a/(0===u?1:u)),f=Math.atan2(l,s);r[i++]=j*f,r[i++]=j*c,r[i]=u-o}function C(e,t,r,n){M(e,t,r,n,s.Sw.radius)}function A(e,t,r,n){M(e,t,r,n,s.sH.radius)}function S(e,t,r,n){M(e,t,r,n,s.$O.radius)}function R(e,t,r,n){!function(e,t,r,n,i){const o=P*e[t],s=P*e[t+1],l=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(c+l)*u*Math.cos(o),r[n++]=(c+l)*u*Math.sin(o),r[n++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,s.$O)}function O(e,t,r,n){const i=l.TP,o=e[t],a=e[t+1],u=e[t+2]??0;let c,f,p,h,d,m,y,g,v,w,x,b,M,C,A,S,R,O,k,P,N;c=Math.abs(u),f=o*o+a*a,p=Math.sqrt(f),h=f+u*u,d=Math.sqrt(h),P=Math.atan2(a,o),m=u*u/h,y=f/h,C=i.a2/d,A=i.a3-i.a4/d,y>.3?(g=c/d*(1+y*(i.a1+C+m*A)/d),k=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=p/d*(1-m*(i.a5-C-y*A)/d),k=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),x=1-s.$O.eccentricitySquared*w,b=s.$O.radius/Math.sqrt(x),M=i.a6*b,C=p-b*v,A=c-M*g,R=v*C+g*A,S=v*A-g*C,O=S/(M/x+R),k+=O,N=R+S*O/2,u<0&&(k=-k),r[n++]=j*P,r[n++]=j*k,r[n]=N}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},P=(0,n.kU)(1),j=(0,n.KJ)(1),N=.5*Math.PI,T=s.$O.radius,I=T*Math.PI/180,z=180/(T*Math.PI)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>L,initializeProjection:()=>U,isEqualBaseGCS:()=>W,isLoaded:()=>T,isLoadedOrLoad:()=>I,isLoadedOrLoadFor:()=>z,load:()=>B,project:()=>G,projectAsync:()=>V,projectExtent:()=>ie,projectMany:()=>q,projectMultipoint:()=>H,projectOrLoad:()=>F,projectOrLoadMany:()=>J,projectPoint:()=>Y,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>Z,test:()=>$,tryProject:()=>_,unload:()=>E});var n=r(49186),i=r(17676),o=r(62788),s=r(95488),l=r(51850),a=r(21276),u=r(73941),c=r(5443),f=r(91075),p=r(48526),h=r(86738),d=r(39829),m=r(82799),y=r(16930),g=r(98764),v=r(159),w=r(9762),x=r(49208);function b(e,t,r,n,i,o){return M[0]=e,M[1]=t,M[2]=r,(0,w.projectBuffer)(M,n,0,i,o,0)}const M=(0,l.vt)();var C=r(60408),A=r(21325),S=r(52006);let R=null,O=null,k=null,P=null,j={};const N=new s.I;function T(){return!!(O?.isLoaded()&&k?.isLoaded()&&P?.isLoaded())}function I(){return!!T()||((0,o.gc)(N),B(),!1)}function z(e,t){return!e||!t||L(e,t)||I()}function Z(e,t){return!L(e,t)&&!T()}async function B(e){null==R&&(R=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(O=e,O.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=>(P=e,P.load()))])),await R,(0,i.Te)(e),N.notify()}function G(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),q(e,e[0].spatialReference,t,r)):((0,a.f)(e),q([e],e.spatialReference,t,r)[0])}function q(e,t,r,n){if(null==t||null==r)return e;if(L(t,r,n))return e.map(e=>K(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return q(e.map(e=>K(e,t,y.A.WGS84)),y.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return q(e,t,y.A.WGS84).map(e=>K(e,y.A.WGS84,r));if(!T())throw new D;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:P.getTransformation(t,r,n.areaOfInterestExtent)||new v.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=j[e];i||(i=P.getTransformation(t,r)||new v.A,j[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof f.A?O.executeMany(e,r,n):k.executeMany(e,r,n)}function _(e,t,r){try{return G(e,t,r)}catch(e){return null}}function F(e,t){const r=J([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 J(e,t,r){if(!T())for(const r of e)if(null!=r&&!(0,A.aI)(r.spatialReference,t)&&(0,A.fn)(r.spatialReference)&&(0,A.fn)(t)&&!L(r.spatialReference,t))return(0,o.gc)(N),{pending:B(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,A.aI)(e.spatialReference,t)?e:(0,A.fn)(e.spatialReference)&&(0,A.fn)(t)?G(e,t,r):null)}}class D extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function E(){R=null,O=null,k=null,P=null,j={}}const $={get loadPromise(){return R}};async function V(e,t,r){if((0,i.Te)(r),!e)return e;const n=J(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),V(e,t,r);const o=n.geometries??[];return Array.isArray(e)?o:o[0]}function L(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,A.aI)(e,t)||(0,A.fn)(e)&&(0,A.fn)(t)&&!!(0,x.jd)(e,t))}function W(e,t){if((0,A.aI)(e,t))return!0;if(!(0,A.fn)(e)||!(0,A.fn)(t))return!1;const r=(0,A.oT)(e)||(0,A.K8)(e)||(0,A.x1)(e),n=(0,A.oT)(t)||(0,A.K8)(t)||(0,A.x1)(t);return r&&n}async function U(e,t,r,n){if(T())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!L(t,r,i))return B(n)}else if(e&&t&&!L(e,t,r))return B(n);return(0,i.NO)(n)}function K(e,t,r){return e?(0,C.fT)(e)?X(e,t,new h.A,r,0):(0,C.ZC)(e)?oe(e,t,new c.A,r,0):(0,C.Bi)(e)?ne(e,t,new d.A,r,0):(0,C.Rg)(e)?te(e,t,new m.A,r,0):(0,C.U9)(e)?Q(e,t,new p.A,r,0):null:null}function Y(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=X(e,e.spatialReference,t,r,n)}function X(e,t,r,n,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,w.projectBuffer)(ue,t,0,ue,n,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=n,void 0!==o||(0,u.xP)(n)?(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 H(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Q(e,e.spatialReference,t,r,n)}function Q(e,t,r,n,i){const{points:o,hasZ:s,hasM:l}=e,a=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:i);if(!(0,w.projectBuffer)(c,t,0,c,n,0,u))return null;const f=ae(s,n);for(let e=0;e<u;++e){const t=3*e,r=c[t],n=c[t+1];f&&l?a.push([r,n,c[t+2],o[e][3]]):f?a.push([r,n,c[t+2]]):l?a.push([r,n,o[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=s,r.hasM=l,r}function ee(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,n)}function te(e,t,r,n,i){const{curvePaths:o,paths:s,hasZ:l,hasM:a}=e;if(!(o?le(o,l??!1,a??!1,t,r.curvePaths=[],n,i):se(s,l??!1,a??!1,t,r.paths,n,i)))return null;const u=ae(l,n);return r.spatialReference=n,r.hasZ=u,r.hasM=a,r}function re(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ne(e,e.spatialReference,t,r,n)}function ne(e,t,r,n,i){const{curveRings:o,rings:s,hasZ:l,hasM:a}=e;return(o?le(o,l??!1,a??!1,t,r.curveRings=[],n,i):se(s,l??!1,a??!1,t,r.rings,n,i))?(r.spatialReference=n,r.hasZ=ae(l,n),r.hasM=a,r):null}function ie(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=oe(e,e.spatialReference,t,r,n)}function oe(e,t,r,n,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!b(o,s,u?e.zmin:i,t,ue,n))return null;const f=ae(u,n);return r.xmin=ue[0],r.ymin=ue[1],f&&(r.zmin=ue[2]),b(l,a,u?e.zmax:i,t,ue,n)?(r.xmax=ue[0],r.ymax=ue[1],f&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function se(e,t,r,n,i,o,s=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:s);if(!(0,w.projectBuffer)(l,n,0,l,o,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,o);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);c||t.pop(),r&&t.push(n[u]),e.push(t)}i.push(e)}return!0}function le(e,t,r,n,i,o,s=0){const l=new Array;for(const r of e)for(const e of r){if((0,S.FG)(e))return!1;if((0,S.aO)(e)){const[r,n]=e.c;l.push(r[0],r[1],t?r[2]:s,n[0],n[1],s);continue}if((0,S.n1)(e)){const[r,n,i]=e.b;l.push(r[0],r[1],t?r[2]:s,n[0],n[1],s,i[0],i[1],s);continue}const r=e;l.push(r[0],r[1],t?r[2]:s)}if(!(0,w.projectBuffer)(l,n,0,l,o,0))return!1;let a=0;i.length=0;const u=t?3:2,c=ae(t,o);for(const t of e){const e=new Array;for(const n of t){const t=l.slice(a,a+=3);if(c||t.pop(),r&&t.push((0,S.yP)(n)[u]),(0,S.FG)(n))return!1;if((0,S.aO)(n)){const r=l[a++],n=l[a++];++a,e.push({c:[t,[r,n]]});continue}if((0,S.n1)(n)){const r=l[a++],n=l[a++];++a;const i=l[a++],o=l[a++];++a,e.push({b:[t,[r,n],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,A.aI)(t,g.Y0)}const ue=(0,l.vt)()},98764(e,t,r){r.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var n=r(73941),i=r(16930),o=r(21325);const s=new i.A(n.fv),l=new i.A(n.FY),a=new i.A(n.LJ),u=new i.A(n.Ro);function c(e){const t=f.get(e);if(t)return t;let r=s;if(e)if(e===l)r=l;else if(e===a)r=a;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,o.tl)(t)||(0,o.tl)(n)?r=l:((0,o.ZL)(t)||(0,o.ZL)(n))&&(r=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===p?r=l:e===h&&(r=a)}}}return f.set(e,r),r}const f=new Map,p=l.wkt.toUpperCase(),h=a.wkt.toUpperCase()},34403(e,t,r){r.d(t,{TP:()=>s});var n=r(79258);Math.PI;const i=n.$O.radius,o=n.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius},60408(e,t,r){function n(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function o(e){return void 0!==e.x&&void 0!==e.y}function s(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?o(e)?"esriGeometryPoint":s(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":n(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function f(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>s,U9:()=>i,W0:()=>f,ZC:()=>n,fT:()=>o,uW:()=>a})},65864(e,t,r){r.d(t,{rS:()=>c,xD:()=>p});var n=r(5443),i=r(91075),o=r(48526),s=r(86738),l=r(39829),a=r(82799),u=r(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?s.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?o.A.fromJSON(e):(0,u.ZC)(e)?n.A.fromJSON(e):null}const f={esriGeometryPoint:s.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:o.A,esriGeometryMultiPatch:l.A};function p(e){return e&&f[e]||null}},50498(e,t,r){r.d(t,{Ye:()=>f,gy:()=>c,iI:()=>h,yR:()=>p});var n=r(66552),i=r(5443),o=r(91075),s=r(48526),l=r(86738),a=r(39829),u=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),f=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:l.A,polyline:u.A,polygon:a.A}},h=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},28735(e,t,r){r.d(t,{Cv:()=>y,Gh:()=>w,ci:()=>x,je:()=>g,jg:()=>f,tD:()=>v,y7:()=>m,yw:()=>c});var n=r(4718),i=r(21276),o=r(16930),s=r(79258),l=r(21325);function a(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return e/s.$O.radius}function f(e){return Math.PI/2-2*Math.atan(Math.exp(-e/s.$O.radius))}function p(e){return null!=e.wkid||null!=e.wkt}const h=[0,0];function d(e,t,r,n,i){const o=e,s=i;if(s.spatialReference=r,"x"in o&&"x"in s)[s.x,s.y]=t(o.x,o.y,h,n);else if("xmin"in o&&"xmin"in s)[s.xmin,s.ymin]=t(o.xmin,o.ymin,h,n),[s.xmax,s.ymax]=t(o.xmax,o.ymax,h,n);else if("paths"in o&&"paths"in s||"rings"in o&&"rings"in s){const e="paths"in o?o.paths:o.rings,r=[];let i;for(let o=0;o<e.length;o++){const s=e[o];i=[],r.push(i);for(let e=0;e<s.length;e++)i.push(t(s[e][0],s[e][1],[0,0],n)),s[e].length>2&&i[e].push(s[e][2]),s[e].length>3&&i[e].push(s[e][3])}"paths"in s?s.paths=r:s.rings=r}else if("points"in o&&"points"in s){const e=o.points,r=[];for(let i=0;i<e.length;i++)r[i]=t(e[i][0],e[i][1],[0,0],n),e[i].length>2&&r[i].push(e[i][2]),e[i].length>3&&r[i].push(e[i][3]);s.points=r}return i}function m(e,t){const r=e&&(p(e)?e:e.spatialReference),n=t&&(p(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!n)&&(!!(0,l.aI)(n,r)||(0,l.K8)(n)&&(0,l.oT)(r)||(0,l.K8)(r)&&(0,l.oT)(n))}function y(e,t){if(null==e)return null;const r=e.spatialReference,i=t&&(p(t)?t:t.spatialReference);return m(r,i)?(0,l.aI)(r,i)?(0,n.o8)(e):(0,l.K8)(i)?d(e,g,o.A.WebMercator,!1,(0,n.o8)(e)):(0,l.oT)(i)?d(e,v,o.A.WGS84,!1,(0,n.o8)(e)):null:null}function g(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const n=u(t);return r[0]=u(e)*s.$O.radius,r[1]=s.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function v(e,t,r=[0,0],n=!1){if(e===l.Mc[0])r[0]=-180;else if(e===l.Mc[1])r[0]=180;else{const t=a(e/s.$O.radius);r[0]=n?t:t-360*Math.floor((t+180)/360)}return r[1]=a(Math.PI/2-2*Math.atan(Math.exp(-t/s.$O.radius))),r}function w(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),d(e,g,o.A.WebMercator,t,r)}function x(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),d(e,v,o.A.WGS84,t,r)}},10333(e,t,r){r.d(t,{A:()=>s});var n=r(5482),i=r(25482),o=r(91429);let s=class extends i.o{get affectsPixelSize(){return!1}forwardTransform(e){return e}inverseTransform(e){return e}};(0,n.Cg)([(0,o.MZ)()],s.prototype,"affectsPixelSize",null),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],s.prototype,"spatialReference",void 0),s=(0,n.Cg)([(0,o.$K)("esri.layers.raster.transforms.BaseRasterTransform")],s)},75414(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),o=r(91429),s=r(10333),l=r(93223);let a=n=class extends s.A{constructor(){super(...arguments),this.type="gcs-shift",this.tolerance=1e-8}forwardTransform(e){return"point"===(e=e.clone()).type?(e.x>180+this.tolerance&&(e.x-=360),e):(e.xmin>=180-this.tolerance?(e.xmax-=360,e.xmin-=360):e.xmax>180+this.tolerance&&(e.xmin=-180,e.xmax=180),e)}inverseTransform(e){return"point"===(e=e.clone()).type?(e.x<-this.tolerance&&(e.x+=360),e):(e.xmin<-this.tolerance&&(e.xmin+=360,e.xmax+=360),e)}clone(){return new n({tolerance:this.tolerance})}};(0,i.Cg)([(0,l.e)({GCSShiftXform:"gcs-shift"})],a.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"tolerance",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.raster.transforms.GCSShiftTransform")],a)},43163(e,t,r){r.d(t,{A:()=>d});var n,i=r(5482),o=r(91429),s=r(5443),l=r(86738),a=r(10333),u=r(36005),c=r(43937),f=r(93223);function p(e,t,r){const{x:n,y:i}=t;if(r<2)return{x:e[0]+n*e[2]+i*e[4],y:e[1]+n*e[3]+i*e[5]};if(2===r){const t=n*n,r=i*i,o=n*i;return{x:e[0]+n*e[2]+i*e[4]+t*e[6]+o*e[8]+r*e[10],y:e[1]+n*e[3]+i*e[5]+t*e[7]+o*e[9]+r*e[11]}}const o=n*n,s=i*i,l=n*i,a=o*n,u=o*i,c=n*s,f=i*s;return{x:e[0]+n*e[2]+i*e[4]+o*e[6]+l*e[8]+s*e[10]+a*e[12]+u*e[14]+c*e[16]+f*e[18],y:e[1]+n*e[3]+i*e[5]+o*e[7]+l*e[9]+s*e[11]+a*e[13]+u*e[15]+c*e[17]+f*e[19]}}function h(e,t,r){const{xmin:n,ymin:i,xmax:o,ymax:l,spatialReference:a}=t;let u=[];if(r<2)u.push({x:n,y:l}),u.push({x:o,y:l}),u.push({x:n,y:i}),u.push({x:o,y:i});else{let e=10;for(let t=0;t<e;t++)u.push({x:n,y:i+(l-i)*t/(e-1)}),u.push({x:o,y:i+(l-i)*t/(e-1)});e=8;for(let t=1;t<=e;t++)u.push({x:n+(o-n)*t/e,y:i}),u.push({x:n+(o-n)*t/e,y:l})}u=u.map(t=>p(e,t,r));const c=u.map(e=>e.x),f=u.map(e=>e.y);return new s.A({xmin:Math.min.apply(null,c),xmax:Math.max.apply(null,c),ymin:Math.min.apply(null,f),ymax:Math.max.apply(null,f),spatialReference:a})}let d=n=class extends a.A{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){const{coeffX:r,coeffY:n}=t;if(!r?.length||!n?.length||r.length!==n.length)return null;const i=[];for(let e=0;e<r.length;e++)i.push(r[e]),i.push(n[e]);return i}writeForwardCoefficients(e,t,r){const n=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?n.push(e[t]):i.push(e[t]);t.coeffX=n,t.coeffY=i}get inverseCoefficients(){let e=this._get("inverseCoefficients");const t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){const[t,r,n,i,o,s]=e,l=n*s-o*i,a=o*i-n*s;return[(o*r-t*s)/l,(n*r-t*i)/a,s/l,i/a,-o/l,-n/a]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){const{inverseCoeffX:r,inverseCoeffY:n}=t;if(!r?.length||!n?.length||r.length!==n.length)return null;const i=[];for(let e=0;e<r.length;e++)i.push(r[e]),i.push(n[e]);return i}writeInverseCoefficients(e,t,r){const n=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?n.push(e[t]):i.push(e[t]);t.inverseCoeffX=n,t.inverseCoeffY=i}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){const t=p(this.forwardCoefficients,e,this.polynomialOrder);return new l.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return h(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){const t=p(this.inverseCoefficients,e,this.polynomialOrder);return new l.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return h(this.inverseCoefficients,e,this.polynomialOrder)}clone(){return new n({polynomialOrder:this.polynomialOrder,forwardCoefficients:this.forwardCoefficients?[...this.forwardCoefficients]:null,inverseCoefficients:this.inverseCoefficients?[...this.inverseCoefficients]:null})}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"polynomialOrder",void 0),(0,i.Cg)([(0,o.MZ)()],d.prototype,"forwardCoefficients",void 0),(0,i.Cg)([(0,u.w)("forwardCoefficients",["coeffX","coeffY"])],d.prototype,"readForwardCoefficients",null),(0,i.Cg)([(0,c.K)("forwardCoefficients")],d.prototype,"writeForwardCoefficients",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"inverseCoefficients",null),(0,i.Cg)([(0,u.w)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],d.prototype,"readInverseCoefficients",null),(0,i.Cg)([(0,c.K)("inverseCoefficients")],d.prototype,"writeInverseCoefficients",null),(0,i.Cg)([(0,o.MZ)()],d.prototype,"affectsPixelSize",null),(0,i.Cg)([(0,f.e)({PolynomialXform:"polynomial"})],d.prototype,"type",void 0),d=n=(0,i.Cg)([(0,o.$K)("esri.layers.raster.transforms.PolynomialTransform")],d)},39357(e,t,r){r.d(t,{A:()=>l});var n,i=r(5482),o=r(25482),s=r(91429);let l=n=class extends o.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],l.prototype,"code",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.CodedValue")],l)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(5482),o=r(4718),s=r(91429),l=r(39357),a=r(76357),u=r(93223);let c=class extends a.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,o.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,s.MZ)({type:[l.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>u});var n=r(5482),i=r(66552),o=r(25482),s=r(91429),l=r(93223);const a=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends o.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,l.e)(a),(0,s.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,n.Cg)([(0,s.$K)("esri.layers.support.Domain")],u)},20437(e,t,r){r.d(t,{A:()=>d});var n,i=r(5482),o=r(66552),s=r(25482),l=r(91429),a=r(56507),u=r(8631),c=r(98453),f=r(36005),p=r(93223);const h=new o.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let d=class extends s.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?h.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,i.Cg)([(0,l.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,i.Cg)([(0,l.MZ)()],d.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],d.prototype,"readDescription",null),(0,i.Cg)([(0,l.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],d.prototype,"domain",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,i.Cg)([(0,l.MZ)({type:a.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,i.Cg)([(0,p.e)(c.m)],d.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)()],d.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.Field")],d)},41628(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),o=r(91429),s=r(76357),l=r(93223);let a=class extends s.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,o.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],a.prototype,"maxValue",void 0),(0,i.Cg)([(0,o.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],a.prototype,"minValue",void 0),(0,i.Cg)([(0,l.e)({range:"range"})],a.prototype,"type",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.RangeDomain")],a)},63966(e,t,r){r.r(t),r.d(t,{default:()=>O});var n=r(5443),i=r(86738),o=r(159),s=r(20758),l=r(94778),a=r(47520),u=r(14140);var c,f=r(99235),p=r(37373),h=r(51927),d=r(34251),m=r(75414),y=r(5482),g=r(91429),v=r(10333),w=r(93223);let x=c=class extends v.A{constructor(){super(...arguments),this.type="identity"}clone(){return new c}};(0,y.Cg)([(0,w.e)({IdentityXform:"identity"})],x.prototype,"type",void 0),x=c=(0,y.Cg)([(0,g.$K)("esri.layers.raster.transforms.IdentityTransform")],x);var b=r(43163);const M={GCSShiftXform:m.A,IdentityXform:x,PolynomialXform:b.A};function C(e){const t=e?.type;if(!t)return null;const r=M[e?.type];if(r){const t=new r;return t.read(e),t}return null}var A=r(85676),S=r(491);function R(e){if(!e)return{result:null,transferList:[]};const{pixelBlock:t,transferList:r}=e.getTransferableObject();return{result:t,transferList:r}}class O{convertVectorFieldData(e){const t=u.A.fromJSON(e.pixelBlock),r=R((0,d.FI)(t,e.type));return Promise.resolve(r)}convertPixelBlockToFeatures(e){const t=(0,a.L)({pixelBlock:u.A.fromJSON(e.pixelBlock),extent:n.A.fromJSON(e.extent),fieldNames:e.fieldNames,skipFactor:e.skipFactor,skipSpatialReference:!0,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize});return Promise.resolve(t)}sampleVectorFieldData(e){const t=u.A.fromJSON(e.pixelBlock),r=R((0,d.Wu)(t,e.srcDataType,e.tileSize,e.offset,e.maximumVoidPercentage));return Promise.resolve(r)}transformPixels(e){const t=function(e,t,r){const{width:n,height:i,pixels:o}=e;let s=[];s=e.bandMasks?e.bandMasks.map(e=>new Uint8Array(e)):o.map(()=>e.mask?new Uint8Array(e.mask):new Uint8Array(n*i).fill(255));const c="f32",f=o.map((e,n)=>{switch(t){case"log":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n);for(let r=0;r<n;r++)if(t[r]){const n=e[r];n<=0?t[r]=0:i[r]=Math.log(n)}return i}(e,s[n],c);case"sqrt":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n);for(let r=0;r<n;r++)if(t[r]){const n=e[r];n<0?t[r]=0:i[r]=Math.sqrt(n)}return i}(e,s[n],c);case"inverse":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n),[o,s]=(0,l.hP)(r);for(let r=0;r<n;r++)if(!t||t[r]){const t=1/e[r];i[r]=i[r]=Math.max(o,Math.min(t,s))}return i}(e,s[n],c);case"box-cox":return function(e,t,r,n){const i=e.length,o=u.A.createEmptyBand(r,i),[s,a]=(0,l.hP)(r),c=n?.lambda??0,f=n?.shift??0,p=0===c;for(let r=0;r<i;r++)if(t[r]){const n=e[r];if(n<=0)t[r]=0;else if(p)o[r]=Math.log(n+f);else{const e=((n+f)**c-1)/c;o[r]=Math.max(s,Math.min(e,a))}}return o}(e,s[n],c,r);default:return e}}),p="inverse"===t,h=p?e.mask:1===s.length?s[0]:(0,a.YD)(s),d=p?e.bandMasks:1===s.length?void 0:s;return new u.A({width:n,height:i,pixelType:c,bandMasks:d,mask:h,pixels:f})}(u.A.fromJSON(e.pixelBlock),e.transformType,e.transformParameters);return Promise.resolve(R(t))}computeStatisticsHistograms(e){const t=u.A.fromJSON(e.pixelBlock),r=(0,h.eH)(t,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(r)}compositeBands(e){const t=e.pixelBlocks.map(e=>e&&u.A.fromJSON(e)),r=R((0,a.Wy)(t));return Promise.resolve(r)}async decode(e){return R(await(0,s.D)(e.data,e.options))}symbolize(e){const t=e.pixelBlock?u.A.fromJSON(e.pixelBlock):null,r=e.extent?n.A.fromJSON(e.extent):null,i=R(this.symbolizer.symbolize({...e,pixelBlock:t,extent:r}));return Promise.resolve(i)}highlightPixels(e){const t=u.A.fromJSON(e.pixelBlock),r=u.A.fromJSON(e.renderedPixelBlock);return(0,a._F)({pixelBlock:t,renderedPixelBlock:r,highlightOptions:e.highlightOptions}),Promise.resolve(r.toJSON())}async updateSymbolizer(e){this.symbolizer=A.A.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,f.vt)(e.rasterFunctionJSON)}async process(e){return R(this.rasterFunction.process({extent:n.A.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>null!=e?u.A.fromJSON(e):null),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?i.A.fromJSON(e):null),primaryRasterIds:e.primaryRasterIds},e.parameters))}stretch(e){const t=R(this.symbolizer.simpleStretch(u.A.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(t)}estimateStatisticsHistograms(e){const t=(0,h.f4)(u.A.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){const t=(0,a.lD)(u.A.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),r=[];let n;return t&&(n=new Map,t.forEach((e,t)=>{if(e){const{pixelBlock:i,transferList:o}=e.getTransferableObject();n.set(t,i),o.forEach(e=>{r.includes(e)||r.push(e)})}})),Promise.resolve({result:n,transferList:r})}clipTile(e){const t=u.A.fromJSON(e.pixelBlock),r=R((0,a.J$)({...e,pixelBlock:t}));return Promise.resolve(r)}async mosaicAndTransform(e){const t=e.srcPixelBlocks.map(e=>e?new u.A(e):null),r=(0,a.z7)(t,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let n,i=r;e.coefs&&(i=(0,a.$i)(r,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(n=(0,a.QF)(e.destDimension,e.gcsGrid),i=(0,d.Y2)(i,e.isUV?"vector-uv":"vector-magdir",n));const{result:o,transferList:s}=R(i);return{result:{pixelBlock:o,localNorthDirections:n},transferList:s}}async createFlowMesh(e,t){const r={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:n,indexData:i,pathData:o}=await(0,S.CW)(e.meshType,e.simulationSettings,r,e.startInfo,t.signal);return{result:{vertexBuffer:n.buffer,indexBuffer:i.buffer,pathBuffer:o.buffer},transferList:[n.buffer,i.buffer]}}async getProjectionOffsetGrid(e){const t=n.A.fromJSON(e.projectedExtent),r=n.A.fromJSON(e.srcBufferExtent);let i=null;e.datumTransformationSteps?.length&&(i=new o.A({steps:e.datumTransformationSteps})),await(0,p.Hh)();const s=e.rasterTransform?C(e.rasterTransform):null;return(0,p.l0)({...e,projectedExtent:t,srcBufferExtent:r,datumTransformation:i,rasterTransform:s})}}},8631(e,t,r){r.d(t,{r:()=>p,g:()=>f});var n,i=r(53177),o=r(76357),s=r(5482),l=r(91429),a=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,s.Cg)([(0,a.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=n=(0,s.Cg)([(0,l.$K)("esri.layers.support.InheritedDomain")],u);var c=r(41628);const f={key:"type",base:o.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function p(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},98453(e,t,r){r.d(t,{m:()=>n});const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},2485(e,t,r){r.d(t,{A:()=>f});var n,i=r(5482),o=r(68197),s=r(4718),l=r(91429),a=r(56507),u=r(72606),c=r(93223);let f=n=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new n({fromColor:(0,s.o8)(this.fromColor),toColor:(0,s.o8)(this.toColor),algorithm:this.algorithm})}};(0,i.Cg)([(0,c.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],f.prototype,"algorithm",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{type:[a.jz],write:{isRequired:!0}}})],f.prototype,"fromColor",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{type:[a.jz],write:{isRequired:!0}}})],f.prototype,"toColor",void 0),(0,i.Cg)([(0,l.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],f.prototype,"type",void 0),f=n=(0,i.Cg)([(0,l.$K)("esri.rest.support.AlgorithmicColorRamp")],f)},72606(e,t,r){r.d(t,{A:()=>s});var n=r(5482),i=r(25482),o=r(91429);let s=class extends i.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1,write:!0}})],s.prototype,"type",void 0),s=(0,n.Cg)([(0,o.$K)("esri.rest.support.ColorRamp")],s)},1626(e,t,r){r.d(t,{A:()=>f});var n,i=r(5482),o=r(4718),s=r(91429),l=r(2485),a=r(72606),u=r(43937),c=r(36005);let f=n=class extends a.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,r,n){const i=e?.map(e=>e.toJSON(n)),{weights:o}=this;if(i&&o?.length&&i.length===o?.length){const e=100/o.reduce((e,t)=>e+t);let t=0;i.forEach((r,n)=>{r.start=t,t+=o[n]*e,r.stop=t})}t.colorRamps=i}readWeights(e,t){const r=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!r?.some(e=>e<0))return r}clone(){return new n({colorRamps:(0,o.o8)(this.colorRamps)})}};(0,i.Cg)([(0,s.MZ)({type:[l.A],json:{write:{isRequired:!0}}})],f.prototype,"colorRamps",void 0),(0,i.Cg)([(0,u.K)("colorRamps")],f.prototype,"writeColorRamps",null),(0,i.Cg)([(0,s.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],f.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:[Number]})],f.prototype,"weights",void 0),(0,i.Cg)([(0,c.w)("weights",["colorRamps"])],f.prototype,"readWeights",null),f=n=(0,i.Cg)([(0,s.$K)("esri.rest.support.MultipartColorRamp")],f)},95349(e,t,r){r.d(t,{g:()=>s,r:()=>l});var n=r(2485),i=r(72606),o=r(1626);const s={key:"type",base:i.A,typeMap:{algorithmic:n.A,multipart:o.A}};function l(e){return e?.type?"algorithmic"===e.type?n.A.fromJSON(e):"multipart"===e.type?o.A.fromJSON(e):null:null}}}]);