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

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 (699) hide show
  1. package/PopupTemplate.js +1 -1
  2. package/assets/components/assets/combobox/t9n/messages.ar.json +1 -1
  3. package/assets/components/assets/combobox/t9n/messages.bg.json +1 -1
  4. package/assets/components/assets/combobox/t9n/messages.bs.json +1 -1
  5. package/assets/components/assets/combobox/t9n/messages.ca.json +1 -1
  6. package/assets/components/assets/combobox/t9n/messages.cs.json +1 -1
  7. package/assets/components/assets/combobox/t9n/messages.da.json +1 -1
  8. package/assets/components/assets/combobox/t9n/messages.de.json +1 -1
  9. package/assets/components/assets/combobox/t9n/messages.el.json +1 -1
  10. package/assets/components/assets/combobox/t9n/messages.en.json +1 -1
  11. package/assets/components/assets/combobox/t9n/messages.es.json +1 -1
  12. package/assets/components/assets/combobox/t9n/messages.et.json +1 -1
  13. package/assets/components/assets/combobox/t9n/messages.fi.json +1 -1
  14. package/assets/components/assets/combobox/t9n/messages.fr.json +1 -1
  15. package/assets/components/assets/combobox/t9n/messages.he.json +1 -1
  16. package/assets/components/assets/combobox/t9n/messages.hr.json +1 -1
  17. package/assets/components/assets/combobox/t9n/messages.hu.json +1 -1
  18. package/assets/components/assets/combobox/t9n/messages.id.json +1 -1
  19. package/assets/components/assets/combobox/t9n/messages.it.json +1 -1
  20. package/assets/components/assets/combobox/t9n/messages.ja.json +1 -1
  21. package/assets/components/assets/combobox/t9n/messages.json +1 -1
  22. package/assets/components/assets/combobox/t9n/messages.ko.json +1 -1
  23. package/assets/components/assets/combobox/t9n/messages.lt.json +1 -1
  24. package/assets/components/assets/combobox/t9n/messages.lv.json +1 -1
  25. package/assets/components/assets/combobox/t9n/messages.nl.json +1 -1
  26. package/assets/components/assets/combobox/t9n/messages.no.json +1 -1
  27. package/assets/components/assets/combobox/t9n/messages.pl.json +1 -1
  28. package/assets/components/assets/combobox/t9n/messages.pt-BR.json +1 -1
  29. package/assets/components/assets/combobox/t9n/messages.pt-PT.json +1 -1
  30. package/assets/components/assets/combobox/t9n/messages.ro.json +1 -1
  31. package/assets/components/assets/combobox/t9n/messages.ru.json +1 -1
  32. package/assets/components/assets/combobox/t9n/messages.sk.json +1 -1
  33. package/assets/components/assets/combobox/t9n/messages.sl.json +1 -1
  34. package/assets/components/assets/combobox/t9n/messages.sr.json +1 -1
  35. package/assets/components/assets/combobox/t9n/messages.sv.json +1 -1
  36. package/assets/components/assets/combobox/t9n/messages.th.json +1 -1
  37. package/assets/components/assets/combobox/t9n/messages.tr.json +1 -1
  38. package/assets/components/assets/combobox/t9n/messages.uk.json +1 -1
  39. package/assets/components/assets/combobox/t9n/messages.vi.json +1 -1
  40. package/assets/components/assets/combobox/t9n/messages.zh-CN.json +1 -1
  41. package/assets/components/assets/combobox/t9n/messages.zh-HK.json +1 -1
  42. package/assets/components/assets/combobox/t9n/messages.zh-TW.json +1 -1
  43. package/assets/components/assets/icon/addToLivestreamVideoLayer16.json +1 -0
  44. package/assets/components/assets/icon/addToLivestreamVideoLayer24.json +1 -0
  45. package/assets/components/assets/icon/addToLivestreamVideoLayer32.json +1 -0
  46. package/assets/components/assets/icon/addToVideoLayer16.json +1 -0
  47. package/assets/components/assets/icon/addToVideoLayer24.json +1 -0
  48. package/assets/components/assets/icon/addToVideoLayer32.json +1 -0
  49. package/assets/components/assets/icon/arcgisQuickcapture16.json +1 -0
  50. package/assets/components/assets/icon/arcgisQuickcapture24.json +1 -0
  51. package/assets/components/assets/icon/arcgisQuickcapture32.json +1 -0
  52. package/assets/components/assets/icon/arcgisSurvey12316.json +1 -0
  53. package/assets/components/assets/icon/arcgisSurvey12324.json +1 -0
  54. package/assets/components/assets/icon/arcgisSurvey12332.json +1 -0
  55. package/assets/components/assets/icon/bicycleTravelMode16.json +1 -0
  56. package/assets/components/assets/icon/bicycleTravelMode16F.json +1 -0
  57. package/assets/components/assets/icon/bicycleTravelMode24.json +1 -0
  58. package/assets/components/assets/icon/bicycleTravelMode24F.json +1 -0
  59. package/assets/components/assets/icon/bicycleTravelMode32.json +1 -0
  60. package/assets/components/assets/icon/bicycleTravelMode32F.json +1 -0
  61. package/assets/components/assets/icon/busTravelMode16.json +1 -0
  62. package/assets/components/assets/icon/busTravelMode16F.json +1 -0
  63. package/assets/components/assets/icon/busTravelMode24.json +1 -0
  64. package/assets/components/assets/icon/busTravelMode24F.json +1 -0
  65. package/assets/components/assets/icon/busTravelMode32.json +1 -0
  66. package/assets/components/assets/icon/busTravelMode32F.json +1 -0
  67. package/assets/components/assets/icon/carTravelMode16.json +1 -0
  68. package/assets/components/assets/icon/carTravelMode16F.json +1 -0
  69. package/assets/components/assets/icon/carTravelMode24.json +1 -0
  70. package/assets/components/assets/icon/carTravelMode24F.json +1 -0
  71. package/assets/components/assets/icon/carTravelMode32.json +1 -0
  72. package/assets/components/assets/icon/carTravelMode32F.json +1 -0
  73. package/assets/components/assets/icon/conditionalRulesDown16.json +1 -0
  74. package/assets/components/assets/icon/conditionalRulesDown24.json +1 -0
  75. package/assets/components/assets/icon/conditionalRulesDown32.json +1 -0
  76. package/assets/components/assets/icon/emergency16.json +1 -0
  77. package/assets/components/assets/icon/emergency16F.json +1 -0
  78. package/assets/components/assets/icon/emergency24.json +1 -0
  79. package/assets/components/assets/icon/emergency24F.json +1 -0
  80. package/assets/components/assets/icon/emergency32.json +1 -0
  81. package/assets/components/assets/icon/emergency32F.json +1 -0
  82. package/assets/components/assets/icon/eyedropper16.json +1 -1
  83. package/assets/components/assets/icon/eyedropper24.json +1 -1
  84. package/assets/components/assets/icon/eyedropper32.json +1 -1
  85. package/assets/components/assets/icon/featureDetailsSet16.json +1 -0
  86. package/assets/components/assets/icon/featureDetailsSet24.json +1 -0
  87. package/assets/components/assets/icon/featureDetailsSet32.json +1 -0
  88. package/assets/components/assets/icon/fileBim16.json +1 -0
  89. package/assets/components/assets/icon/fileBim24.json +1 -0
  90. package/assets/components/assets/icon/fileBim32.json +1 -0
  91. package/assets/components/assets/icon/fileDwg16.json +1 -0
  92. package/assets/components/assets/icon/fileDwg24.json +1 -0
  93. package/assets/components/assets/icon/fileDwg32.json +1 -0
  94. package/assets/components/assets/icon/fileRvt16.json +1 -0
  95. package/assets/components/assets/icon/fileRvt24.json +1 -0
  96. package/assets/components/assets/icon/fileRvt32.json +1 -0
  97. package/assets/components/assets/icon/gradient16.json +1 -0
  98. package/assets/components/assets/icon/gradient24.json +1 -0
  99. package/assets/components/assets/icon/gradient32.json +1 -0
  100. package/assets/components/assets/icon/layerStreamSetting16.json +1 -0
  101. package/assets/components/assets/icon/layerStreamSetting24.json +1 -0
  102. package/assets/components/assets/icon/layerStreamSetting32.json +1 -0
  103. package/assets/components/assets/icon/mopedTravelMode16.json +1 -0
  104. package/assets/components/assets/icon/mopedTravelMode16F.json +1 -0
  105. package/assets/components/assets/icon/mopedTravelMode24.json +1 -0
  106. package/assets/components/assets/icon/mopedTravelMode24F.json +1 -0
  107. package/assets/components/assets/icon/mopedTravelMode32.json +1 -0
  108. package/assets/components/assets/icon/mopedTravelMode32F.json +1 -0
  109. package/assets/components/assets/icon/motorcycleTravelMode16.json +1 -0
  110. package/assets/components/assets/icon/motorcycleTravelMode16F.json +1 -0
  111. package/assets/components/assets/icon/motorcycleTravelMode24.json +1 -0
  112. package/assets/components/assets/icon/motorcycleTravelMode24F.json +1 -0
  113. package/assets/components/assets/icon/motorcycleTravelMode32.json +1 -0
  114. package/assets/components/assets/icon/motorcycleTravelMode32F.json +1 -0
  115. package/assets/components/assets/icon/publish16.json +1 -0
  116. package/assets/components/assets/icon/publish24.json +1 -0
  117. package/assets/components/assets/icon/publish32.json +1 -0
  118. package/assets/components/assets/icon/scooterTravelMode16.json +1 -0
  119. package/assets/components/assets/icon/scooterTravelMode16F.json +1 -0
  120. package/assets/components/assets/icon/scooterTravelMode24.json +1 -0
  121. package/assets/components/assets/icon/scooterTravelMode24F.json +1 -0
  122. package/assets/components/assets/icon/scooterTravelMode32.json +1 -0
  123. package/assets/components/assets/icon/scooterTravelMode32F.json +1 -0
  124. package/assets/components/assets/icon/shuttleTravelMode16.json +1 -0
  125. package/assets/components/assets/icon/shuttleTravelMode16F.json +1 -0
  126. package/assets/components/assets/icon/shuttleTravelMode24.json +1 -0
  127. package/assets/components/assets/icon/shuttleTravelMode24F.json +1 -0
  128. package/assets/components/assets/icon/shuttleTravelMode32.json +1 -0
  129. package/assets/components/assets/icon/shuttleTravelMode32F.json +1 -0
  130. package/assets/components/assets/icon/strollerTravelMode16.json +1 -0
  131. package/assets/components/assets/icon/strollerTravelMode16F.json +1 -0
  132. package/assets/components/assets/icon/strollerTravelMode24.json +1 -0
  133. package/assets/components/assets/icon/strollerTravelMode24F.json +1 -0
  134. package/assets/components/assets/icon/strollerTravelMode32.json +1 -0
  135. package/assets/components/assets/icon/strollerTravelMode32F.json +1 -0
  136. package/assets/components/assets/icon/trainTravelMode16.json +1 -0
  137. package/assets/components/assets/icon/trainTravelMode16F.json +1 -0
  138. package/assets/components/assets/icon/trainTravelMode24.json +1 -0
  139. package/assets/components/assets/icon/trainTravelMode24F.json +1 -0
  140. package/assets/components/assets/icon/trainTravelMode32.json +1 -0
  141. package/assets/components/assets/icon/trainTravelMode32F.json +1 -0
  142. package/assets/components/assets/icon/tramTravelMode16.json +1 -0
  143. package/assets/components/assets/icon/tramTravelMode16F.json +1 -0
  144. package/assets/components/assets/icon/tramTravelMode24.json +1 -0
  145. package/assets/components/assets/icon/tramTravelMode24F.json +1 -0
  146. package/assets/components/assets/icon/tramTravelMode32.json +1 -0
  147. package/assets/components/assets/icon/tramTravelMode32F.json +1 -0
  148. package/assets/components/assets/icon/truckTravelMode16.json +1 -0
  149. package/assets/components/assets/icon/truckTravelMode16F.json +1 -0
  150. package/assets/components/assets/icon/truckTravelMode24.json +1 -0
  151. package/assets/components/assets/icon/truckTravelMode24F.json +1 -0
  152. package/assets/components/assets/icon/truckTravelMode32.json +1 -0
  153. package/assets/components/assets/icon/truckTravelMode32F.json +1 -0
  154. package/assets/components/assets/icon/velocityServer16.json +1 -0
  155. package/assets/components/assets/icon/velocityServer24.json +1 -0
  156. package/assets/components/assets/icon/velocityServer32.json +1 -0
  157. package/assets/components/assets/icon/walkingTravelMode16.json +1 -0
  158. package/assets/components/assets/icon/walkingTravelMode16F.json +1 -0
  159. package/assets/components/assets/icon/walkingTravelMode24.json +1 -0
  160. package/assets/components/assets/icon/walkingTravelMode24F.json +1 -0
  161. package/assets/components/assets/icon/walkingTravelMode32.json +1 -0
  162. package/assets/components/assets/icon/walkingTravelMode32F.json +1 -0
  163. package/assets/components/assets/icon/wheelchairTravelMode16.json +1 -0
  164. package/assets/components/assets/icon/wheelchairTravelMode16F.json +1 -0
  165. package/assets/components/assets/icon/wheelchairTravelMode24.json +1 -0
  166. package/assets/components/assets/icon/wheelchairTravelMode24F.json +1 -0
  167. package/assets/components/assets/icon/wheelchairTravelMode32.json +1 -0
  168. package/assets/components/assets/icon/wheelchairTravelMode32F.json +1 -0
  169. package/assets/esri/core/workers/RemoteClient.js +1 -1
  170. package/assets/esri/core/workers/chunks/003fd7745966fe03510c.js +1 -0
  171. package/assets/esri/core/workers/chunks/00bae4b7e179336e0362.js +1 -0
  172. package/assets/esri/core/workers/chunks/026d3fa331caec1ea3d2.js +1 -0
  173. package/assets/esri/core/workers/chunks/027c3ea756db68e51f0a.js +1 -0
  174. package/assets/esri/core/workers/chunks/{81b2985b83be8f8f1090.js → 02876e434dc91c42b2f4.js} +1 -1
  175. package/assets/esri/core/workers/chunks/041c372e98a6fba90b36.js +1 -0
  176. package/assets/esri/core/workers/chunks/0783890816bac45277b9.js +1 -0
  177. package/assets/esri/core/workers/chunks/07aac6245a0d1adbb2d4.js +1 -0
  178. package/assets/esri/core/workers/chunks/0839da55707f7c4cf780.js +1 -0
  179. package/assets/esri/core/workers/chunks/0b1454a77a6a682541dc.js +2 -0
  180. package/assets/esri/core/workers/chunks/{d82b543c96f09ded3bf9.js.LICENSE.txt → 0b1454a77a6a682541dc.js.LICENSE.txt} +6 -1
  181. package/assets/esri/core/workers/chunks/0c00e5e4bd18467bcecd.js +1 -0
  182. package/assets/esri/core/workers/chunks/{478879ba965798f61bf3.js → 0d96e39380fd84cea9ba.js} +1 -1
  183. package/assets/esri/core/workers/chunks/0dad0bca8d58b2c63d22.js +1 -0
  184. package/assets/esri/core/workers/chunks/0ef93722524620023f69.js +1 -0
  185. package/assets/esri/core/workers/chunks/{03e20ac54d6f141b5001.js → 11241781baaed346af52.js} +1 -1
  186. package/assets/esri/core/workers/chunks/127cd8fee3717a473fc5.js +1 -0
  187. package/assets/esri/core/workers/chunks/1286f41f245ef22b3a26.js +1 -0
  188. package/assets/esri/core/workers/chunks/161d60fdac2013c15543.js +1 -0
  189. package/assets/esri/core/workers/chunks/1661684357912726a72a.js +1 -0
  190. package/assets/esri/core/workers/chunks/168de44a789d1cecc1f8.js +1 -0
  191. package/assets/esri/core/workers/chunks/1961b59756933e0a82f2.js +1 -0
  192. package/assets/esri/core/workers/chunks/1c7183551f5269bdcf13.js +30 -0
  193. package/assets/esri/core/workers/chunks/1d9560eb8b21b9e76616.js +1 -0
  194. package/assets/esri/core/workers/chunks/1d9d7915cf7449e5d468.js +1 -0
  195. package/assets/esri/core/workers/chunks/{b364ec104dd59faa41b6.js → 1f82a0f134ea912fc686.js} +1 -1
  196. package/assets/esri/core/workers/chunks/1f85646936200a399c15.js +1 -0
  197. package/assets/esri/core/workers/chunks/2171aaa147aa4d9fc5b5.js +1 -0
  198. package/assets/esri/core/workers/chunks/235cb82952a18ff8d206.js +1 -0
  199. package/assets/esri/core/workers/chunks/260d4571722cb1ff1366.js +1 -0
  200. package/assets/esri/core/workers/chunks/266ba61b72a278d93a26.js +1 -0
  201. package/assets/esri/core/workers/chunks/27b80c386cebadcaca3c.js +1 -0
  202. package/assets/esri/core/workers/chunks/29d3890a5a43d934067a.js +1 -0
  203. package/assets/esri/core/workers/chunks/{333a0038d782d8a34d58.js → 2abf124e2956e4f76688.js} +1 -1
  204. package/assets/esri/core/workers/chunks/2f17438d215bea3ce70f.js +1 -0
  205. package/assets/esri/core/workers/chunks/30e710ec4d22c43d4e7e.js +1 -0
  206. package/assets/esri/core/workers/chunks/356cb86606b8c674f947.js +1 -0
  207. package/assets/esri/core/workers/chunks/3697e51e1e4cf442f39a.js +1 -0
  208. package/assets/esri/core/workers/chunks/398e0dd2bc7e1ab84831.js +1 -0
  209. package/assets/esri/core/workers/chunks/3a58708217a9c11836ab.js +1 -0
  210. package/assets/esri/core/workers/chunks/3b1052aa30af3f6186cc.js +1 -0
  211. package/assets/esri/core/workers/chunks/3bbf684ee2484eb44c9f.js +1 -0
  212. package/assets/esri/core/workers/chunks/3cd9bd20e75ba4d5b294.js +1 -0
  213. package/assets/esri/core/workers/chunks/3e87e3ad857d72f6ecbb.js +1 -0
  214. package/assets/esri/core/workers/chunks/3ea5a18b264628dc37f0.js +1 -0
  215. package/assets/esri/core/workers/chunks/41809c16544ec25120fa.js +1 -0
  216. package/assets/esri/core/workers/chunks/41913575dd45c65d645e.js +1 -0
  217. package/assets/esri/core/workers/chunks/427dec43ef2d67467699.js +1 -0
  218. package/assets/esri/core/workers/chunks/42e483fde18f12da32a6.js +1 -0
  219. package/assets/esri/core/workers/chunks/43ab44d37bc0ea97ef98.js +1 -0
  220. package/assets/esri/core/workers/chunks/{746b3e98bad32c366a27.js → 444f0f51b3ee0b9845a5.js} +1 -1
  221. package/assets/esri/core/workers/chunks/46e622857ba92a72a317.js +1 -0
  222. package/assets/esri/core/workers/chunks/47f2113357b2aa4f4f37.js +1 -0
  223. package/assets/esri/core/workers/chunks/488ed9584b527ec47be3.js +1 -0
  224. package/assets/esri/core/workers/chunks/4ad32580e0c0699fde1f.js +1 -0
  225. package/assets/esri/core/workers/chunks/4d0f793dee4ad919221b.js +1 -0
  226. package/assets/esri/core/workers/chunks/{f209a7076d67cbf4d205.js → 4e676e888a935c507d90.js} +1 -1
  227. package/assets/esri/core/workers/chunks/4eed175277eb0df3c821.js +1 -0
  228. package/assets/esri/core/workers/chunks/50d5d6654ada9f28345d.js +1 -0
  229. package/assets/esri/core/workers/chunks/54c6e870262469d0d702.js +1 -0
  230. package/assets/esri/core/workers/chunks/54d07eadf113f0e4e506.js +1 -0
  231. package/assets/esri/core/workers/chunks/54ed37ec9682ea739deb.js +1 -0
  232. package/assets/esri/core/workers/chunks/55369c5bd65bcaf78da1.js +1 -0
  233. package/assets/esri/core/workers/chunks/56fd3da911c2c4511e5d.js +1 -0
  234. package/assets/esri/core/workers/chunks/58c79e15ca95238a4b43.js +1 -0
  235. package/assets/esri/core/workers/chunks/59592bb25f226865e88a.js +1 -0
  236. package/assets/esri/core/workers/chunks/5a4d7ba6dc1d4b41d80d.js +1 -0
  237. package/assets/esri/core/workers/chunks/5d55b4449bcb24cd72b6.js +1 -0
  238. package/assets/esri/core/workers/chunks/5d8fe41a3c06ddb4094b.js +1 -0
  239. package/assets/esri/core/workers/chunks/5ef37f37e405b3bb5450.js +1 -0
  240. package/assets/esri/core/workers/chunks/608d707fd9d9f9088473.js +1 -0
  241. package/assets/esri/core/workers/chunks/61ef14e42bc09b787d89.js +1 -0
  242. package/assets/esri/core/workers/chunks/628f56c09838eb9c573b.js +1 -0
  243. package/assets/esri/core/workers/chunks/656d6963e8f837fbf28f.js +1 -0
  244. package/assets/esri/core/workers/chunks/68b47a5a50e0b5fffca2.js +1 -0
  245. package/assets/esri/core/workers/chunks/6a0352d20596ca3f4b64.js +1 -0
  246. package/assets/esri/core/workers/chunks/6c7ff968bd4fc816442d.js +1 -0
  247. package/assets/esri/core/workers/chunks/6dac8dfcd63fc757ae2d.js +1 -0
  248. package/assets/esri/core/workers/chunks/6e526c06825ecc6c99c0.js +1 -0
  249. package/assets/esri/core/workers/chunks/6e70e922331704b92a08.js +1 -0
  250. package/assets/esri/core/workers/chunks/6ea8b0d68881d16a2432.js +1 -0
  251. package/assets/esri/core/workers/chunks/6f67c9f68101a084b683.js +30 -0
  252. package/assets/esri/core/workers/chunks/6f9ea461c268c421f9c9.js +1 -0
  253. package/assets/esri/core/workers/chunks/7027d93dc5a4595d70c6.js +1 -0
  254. package/assets/esri/core/workers/chunks/70b35b2446558d5280e3.js +1 -0
  255. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
  256. package/assets/esri/core/workers/chunks/7349cb45a93e6916f115.js +1 -0
  257. package/assets/esri/core/workers/chunks/74be994d789c57031631.js +1 -0
  258. package/assets/esri/core/workers/chunks/751609831b283903ba48.js +1 -0
  259. package/assets/esri/core/workers/chunks/76edaeaf8fe344bb77a8.js +1 -0
  260. package/assets/esri/core/workers/chunks/76fe5b821d6b54db5721.js +1 -0
  261. package/assets/esri/core/workers/chunks/7bacdd65a6cc4d284e0a.js +2 -0
  262. package/assets/esri/core/workers/chunks/7c7c11c0fde8b63e330b.js +1 -0
  263. package/assets/esri/core/workers/chunks/7e6ccf9f3e756186e93e.js +1 -0
  264. package/assets/esri/core/workers/chunks/81d30c9062ad0120a863.js +1 -0
  265. package/assets/esri/core/workers/chunks/824051af00e7a1f05ed0.js +1 -0
  266. package/assets/esri/core/workers/chunks/84772b023d04e415f17f.js +1 -0
  267. package/assets/esri/core/workers/chunks/85edbb072a2ce6c1bb30.js +2 -0
  268. package/assets/esri/core/workers/chunks/{2d2c10c31cc1460dd96a.js → 88827e23f8938342781c.js} +1 -1
  269. package/assets/esri/core/workers/chunks/88b480a1d1fb01778798.js +267 -0
  270. package/assets/esri/core/workers/chunks/88c5f7c712c6b89b5109.js +1 -0
  271. package/assets/esri/core/workers/chunks/88e469b82d2594f23649.js +1 -0
  272. package/assets/esri/core/workers/chunks/8a14e3db28c403b046cf.js +1 -0
  273. package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +1 -0
  274. package/assets/esri/core/workers/chunks/8a664451845a47048859.js +1 -0
  275. package/assets/esri/core/workers/chunks/8a8242e7cc7e6a9e7876.js +1 -0
  276. package/assets/esri/core/workers/chunks/8acee3fba488f202f82f.js +1 -0
  277. package/assets/esri/core/workers/chunks/8b73f4d2f99c0b54cced.js +1 -0
  278. package/assets/esri/core/workers/chunks/91a0227a64a944af3286.js +596 -0
  279. package/assets/esri/core/workers/chunks/943cf0653a2b7de16a4f.js +1 -0
  280. package/assets/esri/core/workers/chunks/9444ed8ea117861ae89b.js +1 -0
  281. package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +1 -0
  282. package/assets/esri/core/workers/chunks/96bba4d93a32ad34a1c8.js +1 -0
  283. package/assets/esri/core/workers/chunks/9a38fd68b02b617c45d3.js +1 -0
  284. package/assets/esri/core/workers/chunks/{e0a63b5861e8c975097e.js → 9aaf78b831f8739bc127.js} +1 -1
  285. package/assets/esri/core/workers/chunks/{4d378d4e021a33b0047e.js → 9be4438ce2c7180adadf.js} +1 -1
  286. package/assets/esri/core/workers/chunks/9d434360dfce1e49b7b9.js +1 -0
  287. package/assets/esri/core/workers/chunks/9f4b97204def91567e3c.js +1 -0
  288. package/assets/esri/core/workers/chunks/a169d9fe66b5865911d9.js +1 -0
  289. package/assets/esri/core/workers/chunks/a37c28e3c4a2be9fd1d5.js +1 -0
  290. package/assets/esri/core/workers/chunks/a37fc886227365f7ecd5.js +1 -0
  291. package/assets/esri/core/workers/chunks/a5d8d6f3c0c8de474efd.js +1 -0
  292. package/assets/esri/core/workers/chunks/a65d576e90179a2b5400.js +1 -0
  293. package/assets/esri/core/workers/chunks/a8d7f59927bdad564141.js +1 -0
  294. package/assets/esri/core/workers/chunks/{678c9f15712cf3d3bb9e.js → aa1a3a849aba84cf585b.js} +1 -1
  295. package/assets/esri/core/workers/chunks/abc06d10c7ac8ba5b0e4.js +1 -0
  296. package/assets/esri/core/workers/chunks/abe22ae8ee0dcc9efbb7.js +1 -0
  297. package/assets/esri/core/workers/chunks/ae0a572cbbdd9815ee2e.js +1 -0
  298. package/assets/esri/core/workers/chunks/af5db0372d526e592fcc.js +1 -0
  299. package/assets/esri/core/workers/chunks/b1a21a4d7d73ad7d0e47.js +1 -0
  300. package/assets/esri/core/workers/chunks/b2983f521d8c96becd8a.js +1 -0
  301. package/assets/esri/core/workers/chunks/{915a5e8aecf25f3bc72b.js → b475f5492c6e3fd4cca8.js} +1 -1
  302. package/assets/esri/core/workers/chunks/b495f14d90abe8d1a558.js +1 -0
  303. package/assets/esri/core/workers/chunks/{f11ea0d3de93ec0392af.js → b54b7cc6b23a70fed700.js} +1 -1
  304. package/assets/esri/core/workers/chunks/b702279c48f3009f6dd8.js +1 -0
  305. package/assets/esri/core/workers/chunks/b79058f5bda6fcac22f8.js +1 -0
  306. package/assets/esri/core/workers/chunks/b801631b58e6fc6cec8a.js +1 -0
  307. package/assets/esri/core/workers/chunks/b92794def31592a6a25f.js +1 -0
  308. package/assets/esri/core/workers/chunks/bc53ce9a643f82d516c2.js +1 -0
  309. package/assets/esri/core/workers/chunks/be1d6a571f76933dfbb0.js +1 -0
  310. package/assets/esri/core/workers/chunks/bea70be8e38b8c83ccd2.js +1 -0
  311. package/assets/esri/core/workers/chunks/bfcdc5c315131aae34d8.js +1 -0
  312. package/assets/esri/core/workers/chunks/c0f624a2ca0d07ef8f8c.js +1 -0
  313. package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +1 -0
  314. package/assets/esri/core/workers/chunks/c1838822b096d5f36a8b.js +1 -0
  315. package/assets/esri/core/workers/chunks/c3381b9a36299210ee47.js +1 -0
  316. package/assets/esri/core/workers/chunks/c46a4adea39636a96d03.js +1 -0
  317. package/assets/esri/core/workers/chunks/{c2882a9e67124b7c18be.js → c503c79ba5761f7abbeb.js} +1 -1
  318. package/assets/esri/core/workers/chunks/c6030271bd6d39b6e1db.js +1 -0
  319. package/assets/esri/core/workers/chunks/c9065cee85eb8dde6a42.js +1 -0
  320. package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +1 -0
  321. package/assets/esri/core/workers/chunks/cb5e4b9b4a59c2622eb5.js +1 -0
  322. package/assets/esri/core/workers/chunks/cca095f0c623e037002d.js +1 -0
  323. package/assets/esri/core/workers/chunks/ce2aa75e084ee56f5e29.js +1 -0
  324. package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +1 -0
  325. package/assets/esri/core/workers/chunks/d05a7ce6c1d4b883ed4c.js +30 -0
  326. package/assets/esri/core/workers/chunks/d201a5dff18a5bb467ab.js +1 -0
  327. package/assets/esri/core/workers/chunks/d2aa75816e84b1e7fd25.js +1 -0
  328. package/assets/esri/core/workers/chunks/d4a9eb4470cc6a1f67fc.js +2 -0
  329. package/assets/esri/core/workers/chunks/{8ccf2f65d8ed3c48ffff.js → d950d5c2844206502ff0.js} +1 -1
  330. package/assets/esri/core/workers/chunks/db3c484bfa607dec6050.js +1 -0
  331. package/assets/esri/core/workers/chunks/db588bf3256e95c977b7.js +1 -0
  332. package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +1 -0
  333. package/assets/esri/core/workers/chunks/dcc719e15b2e0cce1f3b.js +1 -0
  334. package/assets/esri/core/workers/chunks/{6bb090f3e5c18604cb39.js → dd5b362bded458afa2d6.js} +1 -1
  335. package/assets/esri/core/workers/chunks/de583214195eff13cb00.js +1140 -0
  336. package/assets/esri/core/workers/chunks/dec6d41d614105e6fd93.js +1 -0
  337. package/assets/esri/core/workers/chunks/df8143b72ef94806c992.js +1 -0
  338. package/assets/esri/core/workers/chunks/dfdd474fddcd1d6091ce.js +1 -0
  339. package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +1 -0
  340. package/assets/esri/core/workers/chunks/e235ea4293d5d463acfb.js +1 -0
  341. package/assets/esri/core/workers/chunks/e43486113aaf72ac4dc1.js +1 -0
  342. package/assets/esri/core/workers/chunks/ea4c3393c5757e309a71.js +1 -0
  343. package/assets/esri/core/workers/chunks/ed216ddeb7f59f510bd0.js +1 -0
  344. package/assets/esri/core/workers/chunks/ef8886dff54063928bcb.js +1 -0
  345. package/assets/esri/core/workers/chunks/f05932aea4eb267cba4d.js +1 -0
  346. package/assets/esri/core/workers/chunks/f09a41ad239d467d9438.js +2 -0
  347. package/assets/esri/core/workers/chunks/f1673e723b336204ad77.js +1 -0
  348. package/assets/esri/core/workers/chunks/f5223ffb3be548c9b0a1.js +1 -0
  349. package/assets/esri/core/workers/chunks/f52443cd203e687551da.js +1 -0
  350. package/assets/esri/core/workers/chunks/f6912532aae1638cbe8f.js +1 -0
  351. package/assets/esri/core/workers/chunks/fae147d03ed723ab234d.js +1 -0
  352. package/assets/esri/core/workers/chunks/ffcd4fca7f67e1f943f1.js +1 -0
  353. package/assets/esri/themes/dark/main.css +1 -1
  354. package/assets/esri/themes/light/main.css +1 -1
  355. package/assets/esri/themes/light/view.css +1 -1
  356. package/chunks/CheckerBoard.glsl.js +3 -5
  357. package/chunks/ColorMaterial.glsl.js +4 -6
  358. package/chunks/ComponentShader.glsl.js +42 -44
  359. package/chunks/DefaultMaterial.glsl.js +21 -23
  360. package/chunks/EdgeShader.glsl.js +9 -11
  361. package/chunks/GaussianSplat.glsl.js +8 -8
  362. package/chunks/ImageMaterial.glsl.js +5 -7
  363. package/chunks/LineCallout.glsl.js +9 -12
  364. package/chunks/LineMarker.glsl.js +24 -26
  365. package/chunks/OITDim.glsl.js +3 -4
  366. package/chunks/Path.glsl.js +15 -17
  367. package/chunks/Pattern.glsl.js +25 -27
  368. package/chunks/RealisticTree.glsl.js +11 -13
  369. package/chunks/RibbonLine.glsl.js +42 -45
  370. package/chunks/ShadedColorMaterial.glsl.js +8 -9
  371. package/chunks/Water.glsl.js +18 -20
  372. package/config.js +1 -1
  373. package/core/workers/WorkerHandle.js +1 -1
  374. package/geometry/Mesh.js +1 -1
  375. package/geometry/support/DoubleArray.js +1 -1
  376. package/geometry/support/triangulationUtilsDeprecated.js +1 -1
  377. package/kernel.js +1 -1
  378. package/layers/VoxelWasmPerSceneView.js +1 -1
  379. package/layers/graphics/FlatFeature.js +1 -1
  380. package/layers/graphics/FlatFeatureSet.js +1 -1
  381. package/layers/graphics/OptimizedFeature.js +1 -1
  382. package/layers/graphics/data/AttributesBuilder.js +1 -1
  383. package/layers/graphics/data/QueryEngineResult.js +1 -1
  384. package/layers/graphics/data/flatFeatureQueryEngineAdapter.js +1 -1
  385. package/layers/graphics/data/optimizedFeatureQueryEngineAdapter.js +1 -1
  386. package/layers/graphics/featureConversionUtils.js +1 -1
  387. package/layers/support/LabelClass.js +1 -1
  388. package/layers/support/featureLayerUtils.js +1 -1
  389. package/layers/support/labelUtils.js +1 -1
  390. package/layers/video/videoUtils.js +1 -1
  391. package/package.json +3 -3
  392. package/popup/Feature.d.ts +2 -0
  393. package/popup/Feature.js +1 -1
  394. package/popup/actions.js +1 -1
  395. package/popupTemplateUtils.js +2 -0
  396. package/renderers/visualVariables/SizeVariable.js +1 -1
  397. package/renderers/visualVariables/support/sizeVariableUtils.js +1 -1
  398. package/rest/query/operations/pbfFeatureServiceParser.js +1 -1
  399. package/rest/support/OutDistance.js +2 -0
  400. package/rest/support/Query.js +1 -1
  401. package/smartMapping/statistics/support/utils.js +1 -1
  402. package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
  403. package/support/arcadeUtils.js +1 -1
  404. package/support/revision.js +1 -1
  405. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
  406. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  407. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  408. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  409. package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
  410. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  411. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  412. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  413. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  414. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  415. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  416. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  417. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  418. package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
  419. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  420. package/views/2d/layers/imagery/ImageryView2D.js +1 -1
  421. package/views/2d/layers/imagery/VectorFieldView2D.js +1 -1
  422. package/views/3d/FocusAreasView.js +1 -1
  423. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementController.js +1 -1
  424. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  425. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  426. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  427. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  428. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  429. package/views/3d/layers/IntegratedMeshNormals.js +1 -1
  430. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  431. package/views/3d/layers/StreamLayerView3D.js +1 -1
  432. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  433. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  434. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  435. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  436. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  437. package/views/3d/layers/graphics/featureExpressionInfoUtils.js +1 -1
  438. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  439. package/views/3d/layers/graphics/tessellationUtils.js +1 -1
  440. package/views/3d/layers/i3s/I3SQueryEngine.js +1 -1
  441. package/views/3d/state/ViewStateManager.js +1 -1
  442. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  443. package/views/3d/support/renderInfoUtils/polygonDeprecated.js +1 -1
  444. package/views/3d/terrain/OverlayRenderer.js +1 -1
  445. package/views/3d/terrain/PatchRenderData.js +1 -1
  446. package/views/3d/terrain/TerrainRenderer.js +1 -1
  447. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  448. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  449. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialGlobalParameters.js +1 -1
  450. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
  451. package/views/3d/webgl-engine/collections/Component/Material/ComponentShader.glsl.js +1 -1
  452. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  453. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +20 -32
  454. package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +5 -3
  455. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +1 -1
  456. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  457. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  458. package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
  459. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  460. package/views/3d/webgl-engine/lib/Compositor.js +1 -1
  461. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  462. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  463. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  464. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  465. package/views/3d/webgl-engine/lib/SamplerRepository.js +2 -0
  466. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  467. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  468. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  469. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShader.glsl.js +1 -1
  470. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechniqueConfiguration.js +1 -1
  471. package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
  472. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  473. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  474. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  475. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  476. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  477. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  478. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  479. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  480. package/views/3d/webgl-engine/materials/Path.glsl.js +1 -1
  481. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  482. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  483. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  484. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  485. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  486. package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
  487. package/views/3d/webgl-engine/materials/Water.glsl.js +1 -1
  488. package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
  489. package/views/3d/webgl-engine/materials/WaterTechniqueConfiguration.js +1 -1
  490. package/views/3d/webgl-engine/shaders/CheckerBoard.glsl.js +1 -1
  491. package/views/3d/webgl-engine/shaders/CheckerBoardTechniqueConfiguration.js +1 -1
  492. package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
  493. package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
  494. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  495. package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
  496. package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
  497. package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
  498. package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
  499. package/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +1 -1
  500. package/views/3d/webgl-engine/shaders/ImageMaterialTechniqueConfiguration.js +1 -1
  501. package/views/3d/webgl-engine/shaders/LineCallout.glsl.js +1 -1
  502. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  503. package/views/3d/webgl-engine/shaders/LineCalloutTechniqueConfiguration.js +1 -1
  504. package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
  505. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  506. package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
  507. package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
  508. package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
  509. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  510. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  511. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  512. package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
  513. package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +1 -1
  514. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechniqueConfiguration.js +1 -1
  515. package/views/3d/webgl-engine/statistics/RendererPerformanceInfo.js +1 -1
  516. package/views/VideoView.js +1 -1
  517. package/views/ViewAnimation.d.ts +2 -21
  518. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  519. package/views/layers/FeatureLikeLayerView.js +1 -1
  520. package/views/support/rasterHitTestUtils.js +2 -0
  521. package/views/video/VideoOperationalDataView.js +1 -1
  522. package/views/webgl/Sampler.js +1 -1
  523. package/views/webgl/ShaderBuilder.js +1 -1
  524. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +19 -3
  525. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  526. package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
  527. package/widgets/FeatureTable/VisibleElements.d.ts +15 -1
  528. package/widgets/FeatureTable/VisibleElements.js +1 -1
  529. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  530. package/widgets/FeatureTable.d.ts +15 -1
  531. package/widgets/FeatureTable.js +1 -1
  532. package/widgets/Search/SearchViewModel.js +1 -1
  533. package/widgets/support/widgetUtils.js +1 -1
  534. package/assets/esri/core/workers/chunks/01be1315c60810651783.js +0 -1
  535. package/assets/esri/core/workers/chunks/0dd12d6af0cf7707109c.js +0 -2
  536. package/assets/esri/core/workers/chunks/0e2e4cb34ac6aac88ebf.js +0 -1
  537. package/assets/esri/core/workers/chunks/155f57fe9886ef322e2a.js +0 -1
  538. package/assets/esri/core/workers/chunks/170f4d83555d238e365b.js +0 -1
  539. package/assets/esri/core/workers/chunks/171cca726a763c770469.js +0 -1
  540. package/assets/esri/core/workers/chunks/1761dc5799850ca7b66c.js +0 -1
  541. package/assets/esri/core/workers/chunks/17d54e77001ccb48a258.js +0 -1
  542. package/assets/esri/core/workers/chunks/19afacc9a741038e4bfb.js +0 -1
  543. package/assets/esri/core/workers/chunks/1a198c9e17f7a058669e.js +0 -1
  544. package/assets/esri/core/workers/chunks/1ae4e43a399e1974f106.js +0 -1
  545. package/assets/esri/core/workers/chunks/1c742bfe3b0aa51823d1.js +0 -1
  546. package/assets/esri/core/workers/chunks/1d8777266fb1c5cfca55.js +0 -1
  547. package/assets/esri/core/workers/chunks/1f76c06af4682c85bc21.js +0 -1
  548. package/assets/esri/core/workers/chunks/205e957ffd7e95f530f7.js +0 -1
  549. package/assets/esri/core/workers/chunks/20e715e3aeb1c3265901.js +0 -1
  550. package/assets/esri/core/workers/chunks/210629f3c28d4339c655.js +0 -1
  551. package/assets/esri/core/workers/chunks/21a8e2a11ffacc226e2b.js +0 -1
  552. package/assets/esri/core/workers/chunks/27643750dce502fedef3.js +0 -1
  553. package/assets/esri/core/workers/chunks/29b1a4ce7646b403008e.js +0 -1
  554. package/assets/esri/core/workers/chunks/2a65bbe6c63c384cbf5f.js +0 -1
  555. package/assets/esri/core/workers/chunks/2fa69ca3ba8c442dd7d6.js +0 -1
  556. package/assets/esri/core/workers/chunks/314140e2e9b813191907.js +0 -1
  557. package/assets/esri/core/workers/chunks/3158a3487d3e8a61b680.js +0 -1
  558. package/assets/esri/core/workers/chunks/35217befc8f9882d139e.js +0 -1
  559. package/assets/esri/core/workers/chunks/38328a785365c4783b1e.js +0 -1
  560. package/assets/esri/core/workers/chunks/3a2ecb883fdb5c598544.js +0 -30
  561. package/assets/esri/core/workers/chunks/3eef3c2e94aa2a00d76a.js +0 -1
  562. package/assets/esri/core/workers/chunks/40d6ad030614099155cd.js +0 -1414
  563. package/assets/esri/core/workers/chunks/41396724040180d2537f.js +0 -1
  564. package/assets/esri/core/workers/chunks/41e59d75ccb51a238739.js +0 -1
  565. package/assets/esri/core/workers/chunks/44016e1176629c36bc11.js +0 -1
  566. package/assets/esri/core/workers/chunks/453280ea87a696a4df81.js +0 -1
  567. package/assets/esri/core/workers/chunks/499b899bf88aaf29230d.js +0 -1
  568. package/assets/esri/core/workers/chunks/4b0d6309abf273f1f79f.js +0 -1
  569. package/assets/esri/core/workers/chunks/4e07827ab870c65377d3.js +0 -1
  570. package/assets/esri/core/workers/chunks/51852ef71ac04954fdae.js +0 -1
  571. package/assets/esri/core/workers/chunks/53b797e384be9628fc94.js +0 -1
  572. package/assets/esri/core/workers/chunks/549a51dedcc49f366e53.js +0 -1
  573. package/assets/esri/core/workers/chunks/54c0306082d30d59cba2.js +0 -1
  574. package/assets/esri/core/workers/chunks/56c7d7c7217557375fb6.js +0 -1
  575. package/assets/esri/core/workers/chunks/57cdd5d4ae073d5ca725.js +0 -1
  576. package/assets/esri/core/workers/chunks/5a1d975b3e9e6b7eff67.js +0 -1
  577. package/assets/esri/core/workers/chunks/5b9257c5359fa05f4f28.js +0 -1
  578. package/assets/esri/core/workers/chunks/5d574079f0e96e883aab.js +0 -1
  579. package/assets/esri/core/workers/chunks/5d967bcf71c05ddb1ab6.js +0 -1
  580. package/assets/esri/core/workers/chunks/5f6942ac94acd7842926.js +0 -1
  581. package/assets/esri/core/workers/chunks/60d0f8a949b130baff81.js +0 -1
  582. package/assets/esri/core/workers/chunks/61778185d702da468b00.js +0 -1
  583. package/assets/esri/core/workers/chunks/61b49cdaf288f36f9288.js +0 -1
  584. package/assets/esri/core/workers/chunks/621ea864e2774f160d1c.js +0 -1
  585. package/assets/esri/core/workers/chunks/679086351352756b33c9.js +0 -1
  586. package/assets/esri/core/workers/chunks/681e97ebbf9c69c410c6.js +0 -1
  587. package/assets/esri/core/workers/chunks/69644b8a6ce340ca1159.js +0 -1
  588. package/assets/esri/core/workers/chunks/6a567755b67c06d16f21.js +0 -1
  589. package/assets/esri/core/workers/chunks/6e7bb6d3e739527116a4.js +0 -1
  590. package/assets/esri/core/workers/chunks/70263c2182dc43046742.js +0 -1
  591. package/assets/esri/core/workers/chunks/71326d16b5cc35c3ff7f.js +0 -1
  592. package/assets/esri/core/workers/chunks/73a045061e69a22b6869.js +0 -1
  593. package/assets/esri/core/workers/chunks/73e000cc3c4da10e9937.js +0 -1
  594. package/assets/esri/core/workers/chunks/75669912cddcb5db52c8.js +0 -1
  595. package/assets/esri/core/workers/chunks/78fbfc03d9b827c3f767.js +0 -1
  596. package/assets/esri/core/workers/chunks/7d0350f459844162d3a7.js +0 -1
  597. package/assets/esri/core/workers/chunks/7e39e9d4d68843b60e4c.js +0 -1
  598. package/assets/esri/core/workers/chunks/823127b23bec07e1f9d0.js +0 -2
  599. package/assets/esri/core/workers/chunks/84eb889b9cce35dac2e5.js +0 -1
  600. package/assets/esri/core/workers/chunks/854fe80272b59fafc2e9.js +0 -1
  601. package/assets/esri/core/workers/chunks/861817be5e050e9522ab.js +0 -1
  602. package/assets/esri/core/workers/chunks/888f6387e795d45a7ad3.js +0 -2
  603. package/assets/esri/core/workers/chunks/891d97d0da6361d63679.js +0 -1
  604. package/assets/esri/core/workers/chunks/8969788c57bcc11bf77b.js +0 -1
  605. package/assets/esri/core/workers/chunks/8d6da6573d07385f4ed5.js +0 -1
  606. package/assets/esri/core/workers/chunks/8ede12f54b215c52cf3c.js +0 -1
  607. package/assets/esri/core/workers/chunks/8fb336c2066113300d0d.js +0 -1
  608. package/assets/esri/core/workers/chunks/8fed6becd107d2ed9bbd.js +0 -1
  609. package/assets/esri/core/workers/chunks/97062996e1e4196cfa7c.js +0 -1
  610. package/assets/esri/core/workers/chunks/97210bcb5e3cf3ac961b.js +0 -1
  611. package/assets/esri/core/workers/chunks/9a235c92f21df2c17aa8.js +0 -1
  612. package/assets/esri/core/workers/chunks/9c819ebdc98ed8b6afcf.js +0 -1
  613. package/assets/esri/core/workers/chunks/9d7ffd83f69d6e639f09.js +0 -1
  614. package/assets/esri/core/workers/chunks/9dfd00972c12a4adc15d.js +0 -1
  615. package/assets/esri/core/workers/chunks/9f1f5fb648302c43ad12.js +0 -1
  616. package/assets/esri/core/workers/chunks/9fab410b9fa668dc498b.js +0 -1
  617. package/assets/esri/core/workers/chunks/a061a17b62686f945e81.js +0 -1
  618. package/assets/esri/core/workers/chunks/a30815a0155a3b8790b4.js +0 -1
  619. package/assets/esri/core/workers/chunks/a43decc8ede8b4910553.js +0 -1
  620. package/assets/esri/core/workers/chunks/a462aa1c7b68efad6906.js +0 -1
  621. package/assets/esri/core/workers/chunks/a4b6fdbc995be03d2afb.js +0 -1
  622. package/assets/esri/core/workers/chunks/a520f83ae0c3c3e78858.js +0 -1
  623. package/assets/esri/core/workers/chunks/a5d9dbb1fef8c4465943.js +0 -1
  624. package/assets/esri/core/workers/chunks/a73e8b80760dc88f926f.js +0 -1
  625. package/assets/esri/core/workers/chunks/a96692514dcaa50340dd.js +0 -1
  626. package/assets/esri/core/workers/chunks/aa7aaeae31ddb259e55e.js +0 -1
  627. package/assets/esri/core/workers/chunks/b014f0b2385dc82dc683.js +0 -2
  628. package/assets/esri/core/workers/chunks/b2120c4c56656be941ae.js +0 -1
  629. package/assets/esri/core/workers/chunks/b3950d5f1f3352521504.js +0 -1
  630. package/assets/esri/core/workers/chunks/b3f0600729227b458a75.js +0 -1
  631. package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +0 -1
  632. package/assets/esri/core/workers/chunks/b85c9ceeece1bae67a16.js +0 -1
  633. package/assets/esri/core/workers/chunks/b8a11d32a4847513619b.js +0 -1
  634. package/assets/esri/core/workers/chunks/b8acb6c2538053c01cc6.js +0 -1
  635. package/assets/esri/core/workers/chunks/b8e85b7d5eed6e7c79b5.js +0 -1
  636. package/assets/esri/core/workers/chunks/bbaf1d9835671c0165ca.js +0 -1
  637. package/assets/esri/core/workers/chunks/bbdf27bc34fadbe8e6fe.js +0 -1
  638. package/assets/esri/core/workers/chunks/bc2c7cb99e227ddbd3a6.js +0 -1
  639. package/assets/esri/core/workers/chunks/bc85bb82cfcbc216fa31.js +0 -1
  640. package/assets/esri/core/workers/chunks/bcefdf9753d9d2f6f1be.js +0 -1
  641. package/assets/esri/core/workers/chunks/be42fe0b7ba0e27030b2.js +0 -1
  642. package/assets/esri/core/workers/chunks/be4d13088a557b7de4b1.js +0 -1
  643. package/assets/esri/core/workers/chunks/be61ea8e1883b915bbb1.js +0 -1
  644. package/assets/esri/core/workers/chunks/bf758d57091fa534c1f8.js +0 -1
  645. package/assets/esri/core/workers/chunks/bfd516c37fb717e14d71.js +0 -1
  646. package/assets/esri/core/workers/chunks/c22945637a40355fbe61.js +0 -1
  647. package/assets/esri/core/workers/chunks/c25a58d9f94aaa96957d.js +0 -1
  648. package/assets/esri/core/workers/chunks/c6a43f748dbf8bac4bb5.js +0 -1
  649. package/assets/esri/core/workers/chunks/c79827f879d1d58d3f1b.js +0 -1
  650. package/assets/esri/core/workers/chunks/c7ca47f5d4b2f3885239.js +0 -1
  651. package/assets/esri/core/workers/chunks/cb903ccbce87172a0757.js +0 -1
  652. package/assets/esri/core/workers/chunks/cda2e445eb2ac269abdf.js +0 -1
  653. package/assets/esri/core/workers/chunks/d024278a1c2aa7d22be3.js +0 -1
  654. package/assets/esri/core/workers/chunks/d264aed5dbe09e34040f.js +0 -1
  655. package/assets/esri/core/workers/chunks/d315098b038a96084ff5.js +0 -1
  656. package/assets/esri/core/workers/chunks/d4e55eb75fa4d3ac1e84.js +0 -1
  657. package/assets/esri/core/workers/chunks/d5c7ebfd5c2ca635a7a8.js +0 -1
  658. package/assets/esri/core/workers/chunks/d635f97b7b82a37482d6.js +0 -1
  659. package/assets/esri/core/workers/chunks/d7b92bd9198dd3b27eb5.js +0 -1
  660. package/assets/esri/core/workers/chunks/d816d1a4220d827faf63.js +0 -1
  661. package/assets/esri/core/workers/chunks/d82b543c96f09ded3bf9.js +0 -2
  662. package/assets/esri/core/workers/chunks/d8dde0d1759e009b8373.js +0 -1
  663. package/assets/esri/core/workers/chunks/da0a61f73d45ea9e71fc.js +0 -1
  664. package/assets/esri/core/workers/chunks/e305ced975d885c28e7e.js +0 -1
  665. package/assets/esri/core/workers/chunks/e3a73d9acebccd3ba49b.js +0 -1
  666. package/assets/esri/core/workers/chunks/e3c60b7df2740e600066.js +0 -1
  667. package/assets/esri/core/workers/chunks/e5801b0f3893d4d4f5b0.js +0 -1
  668. package/assets/esri/core/workers/chunks/e59f5dc8c85bcea66e98.js +0 -1
  669. package/assets/esri/core/workers/chunks/e611cd03eee4fae7c413.js +0 -1
  670. package/assets/esri/core/workers/chunks/e62d08f5488a74cbda82.js +0 -1
  671. package/assets/esri/core/workers/chunks/e64a92b6f4075616f40f.js +0 -1
  672. package/assets/esri/core/workers/chunks/e67bdd8bf38ebe89a344.js +0 -1
  673. package/assets/esri/core/workers/chunks/e78b442417f6a903b9b1.js +0 -1
  674. package/assets/esri/core/workers/chunks/e9dd60d0220036545ebb.js +0 -1
  675. package/assets/esri/core/workers/chunks/ea6d3b7c7d720aa7bc94.js +0 -1
  676. package/assets/esri/core/workers/chunks/edc2e87968c958bc852b.js +0 -1
  677. package/assets/esri/core/workers/chunks/ef0fe4e1a9e960a74c60.js +0 -1
  678. package/assets/esri/core/workers/chunks/ef9d74f8d5a502fda809.js +0 -1
  679. package/assets/esri/core/workers/chunks/efbbcf467b2a27a92b85.js +0 -1
  680. package/assets/esri/core/workers/chunks/f09446b9ff937a84d6d3.js +0 -1
  681. package/assets/esri/core/workers/chunks/f0bc5e8e44d53b73d431.js +0 -1
  682. package/assets/esri/core/workers/chunks/f201edf9b68717a6106d.js +0 -1
  683. package/assets/esri/core/workers/chunks/f59f1db572be1f19887f.js +0 -1
  684. package/assets/esri/core/workers/chunks/f9cde38cb56c547e87e5.js +0 -1
  685. package/assets/esri/core/workers/chunks/fb9a889ec9fd23739a14.js +0 -1
  686. package/assets/esri/core/workers/chunks/fc64ae69581e4c38fa8a.js +0 -1
  687. package/assets/esri/core/workers/chunks/fd6bbe47773bbd9f7dd9.js +0 -1
  688. package/assets/esri/core/workers/chunks/fe1b67ab7748a3aef231.js +0 -1
  689. package/assets/esri/core/workers/chunks/fe3b42eadcdd9ba54f05.js +0 -1
  690. package/chunks/HUDCompositing.glsl.js +0 -2
  691. package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassGeometryTest.glsl.js +0 -5
  692. package/views/3d/webgl-engine/core/shaderLibrary/shading/TerrainDepthTest.glsl.js +0 -8
  693. package/views/3d/webgl-engine/effects/fboFormatUtils.js +0 -2
  694. package/views/3d/webgl-engine/shaders/HUDCompositing.glsl.js +0 -2
  695. package/views/3d/webgl-engine/shaders/HUDCompositingTechnique.js +0 -2
  696. /package/assets/esri/core/workers/chunks/{0dd12d6af0cf7707109c.js.LICENSE.txt → 7bacdd65a6cc4d284e0a.js.LICENSE.txt} +0 -0
  697. /package/assets/esri/core/workers/chunks/{823127b23bec07e1f9d0.js.LICENSE.txt → 85edbb072a2ce6c1bb30.js.LICENSE.txt} +0 -0
  698. /package/assets/esri/core/workers/chunks/{888f6387e795d45a7ad3.js.LICENSE.txt → d4a9eb4470cc6a1f67fc.js.LICENSE.txt} +0 -0
  699. /package/assets/esri/core/workers/chunks/{b014f0b2385dc82dc683.js.LICENSE.txt → f09a41ad239d467d9438.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2174,3931,6061,6312,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},7817(t,e,r){r.d(e,{e:()=>i,l:()=>o,s:()=>a});var s=r(86211),n=r(78125);function i(t,e={}){const{unit:r}=e;let i=(0,n.fromGeometry)(t).calculateLength2D();if(i&&r){const e=(0,n.getSpatialReference)(t);i=(0,s.PQ)(i,e,r)}return i}const a=!0,o=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},69397(t,e,r){r.d(e,{Qf:()=>h,Qh:()=>a,RS:()=>n,Ul:()=>g,i5:()=>f,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return h(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return u(t,8);let r=l;for(let s=0;s<e;s++)r+=o(t[s]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return n;case"boolean":return 4;default:return 8}}function h(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+f:Array.isArray(e)?u(e,n):0:0),0)}function u(t,e){return l+t.length*e}const c=32,l=16,f=145,g=64},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>E,MY:()=>O,NO:()=>C,Nh:()=>V,V2:()=>_,_s:()=>b,e6:()=>I,gh:()=>P,tr:()=>X,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),h=r(21325),u=r(513),c=r(50954),l=r(79567),f=r(52006),g=r(49663),m=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:c}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,h.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=S(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new M(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=S(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,h],l,f,a,n,i]}}}function C(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,s.mS)(r,new w(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:o}=t,h=R(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new w(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,f.yP)(r)}const[i,o,u,c]=n;e={xmin:i,ymin:o,xmax:u,ymax:c,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function E(t){let e,r,s;if((0,o.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,o.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,A(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const n=_(s,e,s.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:h,vertexZ:u,vertexM:c}=n;function l(t){h[2*m]=t[0],h[2*m+1]=t[1],i&&(u[m]=t[2]),a&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])h[2*m]=t,h[2*m+1]=e,++m;return n}for(const t of r[0])l(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!n.hasCurves()){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&A(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*m]=e,h[2*m+1]=s,++m}}return x[y]=m,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*G;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];l(r);const i=m-1;(0,f.wY)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(d(10),++n.segmentCountArc,v=I(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(d(4),++n.segmentCountBezier,v=X(0,s,n,i,v),r=s.b[0]):r=s}p&&A(e,r)||l(r)}return n.partOffsets[y]=m,n}function P(t){const e=S(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=R(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function V(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=_(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const c=2+Number(s)+Number(n);let l=0,f=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[f],i=e+t-Number(o);u.partOffsets[++f]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[l++],u.vertexXY[2*t+1]=r[l++],s&&(u.vertexZ[t]=r[l++]),n&&(u.vertexM[t]=r[l++]);o&&(l+=c)}return u}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new p.A([],[],o,h);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=u.coords.length;for(let t=l;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(c){const t=l;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-f)/u.stride),l=i}return"point"===t&&(u.lengths.length=0),u}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class w{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function R({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function S({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function A(t,e){return t.every((t,r)=>t===e[r])}function _(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(u);let l=0;return h.vertexXY=new Float64Array(c,l,2*e),l+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(c,l,e),l+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(c,l,e),l+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(c,l,h.segmentParamCount),l+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(c,l,e),h.segmentIndices.fill(N),l+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(c,l,r+1),l+=h.partOffsets.byteLength,h.partFlags=new Int8Array(c,l,r+1),l+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(c,l,e),h.segmentFlags.fill(1),l+=h.segmentFlags.byteLength),h}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],c,l,f,g,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,m.SW)(t,e),[d,v]=(0,m.Uk)(y,.5);return n[a++]=x,n[a++]=g,n[a++]=p,n[a++]=f,n[a++]=h,n[a++]=u,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,g.io)(t,e);return F(o,4,...(0,u.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,F((0,c.pM)(t,e),0,...e.c[1],n,a)}function F(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:c}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function X(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,c){return a[u]=2,o[u]=c,h[c++]=r,h[c++]=s,h[c++]=n,h[c++]=i,c}const G=1.61803,N=-1},965(t,e,r){r.r(e),r.d(e,{execute:()=>s.e,supportsCurves:()=>s.s}),r(86211),r(78125);var s=r(7817)},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>O,toPolygon:()=>w,toPolyline:()=>R});var s=r(83661),n=(r(79187),r(55537)),i=r(95213),a=r(88885),o=r(5443),h=r(48526),u=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return M(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,h=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[h]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return O(t,e);case n.G.enumEnvelope:return V(t,e);case n.G.enumMultiPoint:return Z(t,e);case n.G.enumPolyline:return R(t,e);case n.G.enumPolygon:return w(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function Z(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const u=new h.A({hasM:s,hasZ:n,points:a,spatialReference:e});return u.setCacheValue(g,t),u}function O(t,e){if(t instanceof s.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function w(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function R(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],h=this.coords[r+1];t+=-.5*(o-n)*(h+i),n=o,i=h}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3456,3637,5611,6061,7992],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x){return[t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return i(1,1,1)}function h(){return i(1,0,0)}function c(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>d,Cw:()=>g,JP:()=>x,Un:()=>m,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>l,vt:()=>r});const l=[0,0,0],m=u(),g=h(),x=c(),d=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:g,UNIT_Y:x,UNIT_Z:d,ZEROS:l,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:u,unitX:h,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>A,DI:()=>E,Il:()=>k,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>S,_S:()=>m,aI:()=>Y,ei:()=>O,fw:()=>w,gL:()=>P,hG:()=>y,hZ:()=>a,hs:()=>d,jb:()=>V,jk:()=>g,lo:()=>L,lw:()=>c,m3:()=>v,oW:()=>N,t2:()=>R,tn:()=>l,uE:()=>G,xg:()=>X,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function b(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function A(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function O(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function P(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],h=r*u-s*a,c=s*o-n*u,f=n*a-r*o,l=r*f-s*c,m=s*h-n*f,g=n*c-r*h,x=2*i;return t[0]=o+h*x+2*l,t[1]=a+c*x+2*m,t[2]=u+f*x+2*g,t}const Z=(0,r.vt)(),F=(0,r.vt)();function R(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const V=h,T=c,z=f,X=M,L=y,k=i,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:function(t,e){b(Z,t),b(F,e);const n=_(Z,F);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*f+s[0]*l,t[1]=e[1]*h+n[1]*c+r[1]*f+s[1]*l,t[2]=e[2]*h+n[2]*c+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],h=s*u-i*a,c=i*o-r*u,f=r*a-s*o,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:N,dist:X,distance:M,div:z,divide:f,dot:_,equals:Y,exactEquals:R,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:k,length:i,lerp:A,max:x,min:g,mul:T,multiply:c,negate:C,normalize:b,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:d,scaleAndAdd:p,set:a,sign:m,sqrDist:L,sqrLen:G,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:V,subtract:h,transformMat3:O,transformMat4:S,transformQuat:P,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>A,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>F,e6:()=>Y,gh:()=>b,tr:()=>V,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),h=n(513),c=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=P(t),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=P(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=O(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new S(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:d}=s;let p=0;if(!s.hasCurves()){for(const t of n){if(d[p++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return d[p]=g,s}function M(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let y=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const i=g-1;(0,l.wY)(r)?(M(10),++s.segmentCountArc,y=F(n,r,s,i,y),n=r.a[0]):(0,l.DA)(r)?(M(10),++s.segmentCountArc,y=R(n,r,s,i,y),n=r.a[0]):(0,l.aO)(r)?(M(10),++s.segmentCountArc,y=Y(n,r,s,i,y),n=r.c[0]):(0,l.n1)(r)?(M(4),++s.segmentCountBezier,y=V(0,r,s,i,y),n=r.b[0]):n=r}x&&w(e,n)||f(n)}return s.partOffsets[p]=g,s}function b(t){const e=P(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=O(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const h=Z(t,u,o,r,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],i=e+t-Number(a);h.partOffsets[++l]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[f++],h.vertexXY[2*t+1]=n[f++],r&&(h.vertexZ[t]=n[f++]),s&&(h.vertexM[t]=n[f++]);a&&(f+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=h.coords.length;for(let t=f;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=i}return"point"===t&&(h.lengths.length=0),h}function A(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function P({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(z),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function F(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,h],c,f,l,m,x]=e.a;let d=4;f||(d|=1),c||(d|=2);const p=(0,g.SW)(t,e),[M,y]=(0,g.Uk)(p,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=h,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=M,s[o++]=y,o}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return N(a,4,...(0,h.mq)(a,.5),s,o)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,N((0,c.pM)(t,e),0,...e.c[1],s,o)}function N(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function V(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const T=1.61803,z=-1},81150(t,e,n){n.d(e,{Pg:()=>u,fz:()=>h,g7:()=>o,zo:()=>a});var r=n(76061),s=(n(55537),n(88885),n(15756));n(95213);const i=new s.f;function o(t,e,n){return i.execute(t,e,n,null)}function a(t,e,n){const s=i.executeMany(new r.S(t),e,n,null);return Array.from(s)}function u(t,e,n){return i.isSimpleAsFeature(t,e,n,null,null)}function h(){return i.supportsCurves()}},3637(t,e,n){n.r(e),n.d(e,{execute:()=>i,executeMany:()=>o,isSimple:()=>a});var r=n(81150),s=n(83299);function i(t){const e=(0,s.fromGeometry)(t),n=e.getSpatialReference();return(0,s.toGeometry)((0,r.g7)(e.getGeometry(),n,!1),n)}function o(t){const[e,n]=(0,s.fromGeometries)(t);return(0,r.zo)(e,n,!1).map(t=>(0,s.toGeometry)(t,n))}function a(t){const e=(0,s.fromGeometry)(t);return(0,r.Pg)(e.getGeometry(),e.getSpatialReference(),!1)}},4197(t,e,n){n.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>p,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>b,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=b){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return d(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function p(t){return t?d(t,E):i(E)}function M(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function y(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9535],{5482(t,e,n){function r(t,e,n,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,n,o):s(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o}function s(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>o,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function o(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function s(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(t){return e(t),s()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},91869(t,e,n){function r(t,e){for(const n of t.values())if(e(n))return!0;return!1}function s(t,e,n){const r=t.get(e);if(void 0!==r)return r;const s=n();return t.set(e,s),s}function i(t){const e=new Map;return n=>(e.has(n)||e.set(n,t(n)),e.get(n))}n.d(e,{Bj:()=>i,Bs:()=>r,tE:()=>s})},4341(t,e,n){n.d(e,{I:()=>s});var r=n(26390);class s{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*i);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,i));t++)this._items.push(this._allocator())}}const i=1024},29242(t,e,n){function r(){return[1,0,0,0,1,0,0,0,1]}function s(t,e,n,r,s,i,o,a,c){return[t,e,n,r,s,i,o,a,c]}n.d(e,{fA:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:s},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,c,u,h,l,f,d,m,M){return[t,e,n,r,s,i,o,a,c,u,h,l,f,d,m,M]}},Symbol.toStringTag,{value:"Module"}))},82534(t,e,n){function r(){return[0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},77690(t,e,n){n.d(e,{B8:()=>a,Ge:()=>d,I0:()=>f,KC:()=>c,a4:()=>u,hZ:()=>i,hs:()=>l,lw:()=>h,mg:()=>o,z0:()=>s});var r=n(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function i(t,e,n,r,s,i,o,a,c,u){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t[4]=i,t[5]=o,t[6]=a,t[7]=c,t[8]=u,t}function o(t,e){if(t===e){const n=e[1],r=e[2],s=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=s}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function a(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=h*o-a*u,f=-h*i+a*c,d=u*i-o*c;let m=n*l+r*f+s*d;return m?(m=1/m,t[0]=l*m,t[1]=(-h*r+s*u)*m,t[2]=(a*r-s*o)*m,t[3]=f*m,t[4]=(h*n-s*c)*m,t[5]=(-a*n+s*i)*m,t[6]=d*m,t[7]=(-u*n+r*c)*m,t[8]=(o*n-r*i)*m,t):null}function c(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8];return t[0]=o*h-a*u,t[1]=s*u-r*h,t[2]=r*a-s*o,t[3]=a*c-i*h,t[4]=n*h-s*c,t[5]=s*i-n*a,t[6]=i*u-o*c,t[7]=r*c-n*u,t[8]=n*o-r*i,t}function u(t){const e=t[0],n=t[1],r=t[2],s=t[3],i=t[4],o=t[5],a=t[6],c=t[7],u=t[8];return e*(u*i-o*c)+n*(-u*s+o*a)+r*(c*s-i*a)}function h(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=n[0],d=n[1],m=n[2],M=n[3],b=n[4],_=n[5],g=n[6],p=n[7],v=n[8];return t[0]=f*r+d*o+m*u,t[1]=f*s+d*a+m*h,t[2]=f*i+d*c+m*l,t[3]=M*r+b*o+_*u,t[4]=M*s+b*a+_*h,t[5]=M*i+b*c+_*l,t[6]=g*r+p*o+v*u,t[7]=g*s+p*a+v*h,t[8]=g*i+p*c+v*l,t}function l(t,e,n){const r=n[0],s=n[1],i=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=s*e[3],t[4]=s*e[4],t[5]=s*e[5],t[6]=i*e[6],t[7]=i*e[7],t[8]=i*e[8],t}function f(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=n+n,a=r+r,c=s+s,u=n*o,h=r*o,l=r*a,f=s*o,d=s*a,m=s*c,M=i*o,b=i*a,_=i*c;return t[0]=1-l-m,t[3]=h-_,t[6]=f+b,t[1]=h+_,t[4]=1-u-m,t[7]=d-M,t[2]=f-b,t[5]=d+M,t[8]=1-u-l,t}function d(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=e[9],f=e[10],d=e[11],m=e[12],M=e[13],b=e[14],_=e[15],g=n*a-r*o,p=n*c-s*o,v=n*u-i*o,y=r*c-s*a,S=r*u-i*a,x=s*u-i*c,w=h*M-l*m,A=h*b-f*m,j=h*_-d*m,O=l*b-f*M,T=l*_-d*M,C=f*_-d*b;let E=g*C-p*T+v*O+y*j-S*A+x*w;return E?(E=1/E,t[0]=(a*C-c*T+u*O)*E,t[1]=(c*j-o*C-u*A)*E,t[2]=(o*T-a*j+u*w)*E,t[3]=(s*T-r*C-i*O)*E,t[4]=(n*C-s*j+i*A)*E,t[5]=(r*j-n*T-i*w)*E,t[6]=(M*x-b*S+_*y)*E,t[7]=(b*v-m*x-_*p)*E,t[8]=(m*S-M*v+_*g)*E,t):null}function m(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}const M=h,b=m;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},adjoint:c,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},determinant:u,equals:function(t,e){const n=t[0],s=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],h=t[7],l=t[8],f=e[0],d=e[1],m=e[2],M=e[3],b=e[4],_=e[5],g=e[6],p=e[7],v=e[8],y=(0,r.FD)();return Math.abs(n-f)<=y*Math.max(1,Math.abs(n),Math.abs(f))&&Math.abs(s-d)<=y*Math.max(1,Math.abs(s),Math.abs(d))&&Math.abs(i-m)<=y*Math.max(1,Math.abs(i),Math.abs(m))&&Math.abs(o-M)<=y*Math.max(1,Math.abs(o),Math.abs(M))&&Math.abs(a-b)<=y*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(c-_)<=y*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(u-g)<=y*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(h-p)<=y*Math.max(1,Math.abs(h),Math.abs(p))&&Math.abs(l-v)<=y*Math.max(1,Math.abs(l),Math.abs(v))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:s,fromQuat:f,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:a,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],s=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],h=t[7],l=t[8];return Math.abs(1-(n*n+o*o+u*u))<=e&&Math.abs(1-(s*s+a*a+h*h))<=e&&Math.abs(1-(i*i+c*c+l*l))<=e},mul:M,multiply:h,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t},normalFromMat4:d,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[4],o=e[5],a=e[6],c=e[8],u=e[9],h=e[10],l=h*o-a*u,f=-h*i+a*c,d=u*i-o*c,m=n*l+r*f+s*d;if(!m)return null;const M=1/m;return t[0]=l*M,t[1]=(-h*r+s*u)*M,t[2]=(a*r-s*o)*M,t[3]=f*M,t[4]=(h*n-s*c)*M,t[5]=(-a*n+s*i)*M,t[6]=d*M,t[7]=(-u*n+r*c)*M,t[8]=(o*n-r*i)*M,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=Math.sin(n),d=Math.cos(n);return t[0]=d*r+f*o,t[1]=d*s+f*a,t[2]=d*i+f*c,t[3]=d*o-f*r,t[4]=d*a-f*s,t[5]=d*c-f*i,t[6]=u,t[7]=h,t[8]=l,t},scale:l,scaleByVec2:function(t,e,n){const r=n[0],s=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=s*e[3],t[4]=s*e[4],t[5]=s*e[5],t},set:i,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:b,subtract:m,translate:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=n[0],d=n[1];return t[0]=r,t[1]=s,t[2]=i,t[3]=o,t[4]=a,t[5]=c,t[6]=f*r+d*o+u,t[7]=f*s+d*a+h,t[8]=f*i+d*c+l,t},transpose:o},Symbol.toStringTag,{value:"Module"}))},58083(t,e,n){n.d(e,{$0:()=>b,$h:()=>j,B8:()=>u,C:()=>i,D_:()=>a,N9:()=>g,O7:()=>A,Tl:()=>l,X_:()=>S,aI:()=>E,e$:()=>d,eL:()=>m,hM:()=>_,hZ:()=>o,hs:()=>f,kN:()=>M,l:()=>x,lw:()=>h,mg:()=>c,o1:()=>w,sC:()=>y,t2:()=>C,t5:()=>O,tZ:()=>q,ut:()=>P});var r=n(51850),s=n(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(t,e,n,r,s,i,o,a,c,u,h,l,f,d,m,M,b){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t[4]=i,t[5]=o,t[6]=a,t[7]=c,t[8]=u,t[9]=h,t[10]=l,t[11]=f,t[12]=d,t[13]=m,t[14]=M,t[15]=b,t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function c(t,e){if(t===e){const n=e[1],r=e[2],s=e[3],i=e[6],o=e[7],a=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=i,t[11]=e[14],t[12]=s,t[13]=o,t[14]=a}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function u(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=e[9],f=e[10],d=e[11],m=e[12],M=e[13],b=e[14],_=e[15],g=n*a-r*o,p=n*c-s*o,v=n*u-i*o,y=r*c-s*a,S=r*u-i*a,x=s*u-i*c,w=h*M-l*m,A=h*b-f*m,j=h*_-d*m,O=l*b-f*M,T=l*_-d*M,C=f*_-d*b;let E=g*C-p*T+v*O+y*j-S*A+x*w;return E?(E=1/E,t[0]=(a*C-c*T+u*O)*E,t[1]=(s*T-r*C-i*O)*E,t[2]=(M*x-b*S+_*y)*E,t[3]=(f*S-l*x-d*y)*E,t[4]=(c*j-o*C-u*A)*E,t[5]=(n*C-s*j+i*A)*E,t[6]=(b*v-m*x-_*p)*E,t[7]=(h*x-f*v+d*p)*E,t[8]=(o*T-a*j+u*w)*E,t[9]=(r*j-n*T-i*w)*E,t[10]=(m*S-M*v+_*g)*E,t[11]=(l*v-h*S-d*g)*E,t[12]=(a*A-o*O-c*w)*E,t[13]=(n*O-r*A+s*w)*E,t[14]=(M*p-m*y-b*g)*E,t[15]=(h*y-l*p+f*g)*E,t):null}function h(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=e[8],f=e[9],d=e[10],m=e[11],M=e[12],b=e[13],_=e[14],g=e[15];let p=n[0],v=n[1],y=n[2],S=n[3];return t[0]=p*r+v*a+y*l+S*M,t[1]=p*s+v*c+y*f+S*b,t[2]=p*i+v*u+y*d+S*_,t[3]=p*o+v*h+y*m+S*g,p=n[4],v=n[5],y=n[6],S=n[7],t[4]=p*r+v*a+y*l+S*M,t[5]=p*s+v*c+y*f+S*b,t[6]=p*i+v*u+y*d+S*_,t[7]=p*o+v*h+y*m+S*g,p=n[8],v=n[9],y=n[10],S=n[11],t[8]=p*r+v*a+y*l+S*M,t[9]=p*s+v*c+y*f+S*b,t[10]=p*i+v*u+y*d+S*_,t[11]=p*o+v*h+y*m+S*g,p=n[12],v=n[13],y=n[14],S=n[15],t[12]=p*r+v*a+y*l+S*M,t[13]=p*s+v*c+y*f+S*b,t[14]=p*i+v*u+y*d+S*_,t[15]=p*o+v*h+y*m+S*g,t}function l(t,e,n){const r=n[0],s=n[1],i=n[2];if(e===t)t[12]=e[0]*r+e[4]*s+e[8]*i+e[12],t[13]=e[1]*r+e[5]*s+e[9]*i+e[13],t[14]=e[2]*r+e[6]*s+e[10]*i+e[14],t[15]=e[3]*r+e[7]*s+e[11]*i+e[15];else{const n=e[0],o=e[1],a=e[2],c=e[3],u=e[4],h=e[5],l=e[6],f=e[7],d=e[8],m=e[9],M=e[10],b=e[11];t[0]=n,t[1]=o,t[2]=a,t[3]=c,t[4]=u,t[5]=h,t[6]=l,t[7]=f,t[8]=d,t[9]=m,t[10]=M,t[11]=b,t[12]=n*r+u*s+d*i+e[12],t[13]=o*r+h*s+m*i+e[13],t[14]=a*r+l*s+M*i+e[14],t[15]=c*r+f*s+b*i+e[15]}return t}function f(t,e,n){const r=n[0],s=n[1],i=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function d(t,e,n,r){let o=r[0],a=r[1],c=r[2],u=Math.sqrt(o*o+a*a+c*c);if(u<=(0,s.FD)())return void i(t,e);u=1/u,o*=u,a*=u,c*=u;const h=Math.sin(n),l=Math.cos(n),f=1-l,d=e[0],m=e[1],M=e[2],b=e[3],_=e[4],g=e[5],p=e[6],v=e[7],y=e[8],S=e[9],x=e[10],w=e[11],A=o*o*f+l,j=a*o*f+c*h,O=c*o*f-a*h,T=o*a*f-c*h,C=a*a*f+l,E=c*a*f+o*h,P=o*c*f+a*h,q=a*c*f-o*h,R=c*c*f+l;t[0]=d*A+_*j+y*O,t[1]=m*A+g*j+S*O,t[2]=M*A+p*j+x*O,t[3]=b*A+v*j+w*O,t[4]=d*T+_*C+y*E,t[5]=m*T+g*C+S*E,t[6]=M*T+p*C+x*E,t[7]=b*T+v*C+w*E,t[8]=d*P+_*q+y*R,t[9]=m*P+g*q+S*R,t[10]=M*P+p*q+x*R,t[11]=b*P+v*q+w*R,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function m(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[4],o=e[5],a=e[6],c=e[7],u=e[8],h=e[9],l=e[10],f=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=i*s+u*r,t[5]=o*s+h*r,t[6]=a*s+l*r,t[7]=c*s+f*r,t[8]=u*s-i*r,t[9]=h*s-o*r,t[10]=l*s-a*r,t[11]=f*s-c*r,t}function M(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function b(t,e,n){if(0===e)return a(t);let r=n[0],i=n[1],o=n[2],c=Math.sqrt(r*r+i*i+o*o);if(c<=(0,s.FD)())return null;c=1/c,r*=c,i*=c,o*=c;const u=Math.sin(e),h=Math.cos(e),l=1-h;return t[0]=r*r*l+h,t[1]=i*r*l+o*u,t[2]=o*r*l-i*u,t[3]=0,t[4]=r*i*l-o*u,t[5]=i*i*l+h,t[6]=o*i*l+r*u,t[7]=0,t[8]=r*o*l+i*u,t[9]=i*o*l-r*u,t[10]=o*o*l+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function _(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function p(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=r+r,c=s+s,u=i+i,h=r*a,l=r*c,f=r*u,d=s*c,m=s*u,M=i*u,b=o*a,_=o*c,g=o*u;return t[0]=1-(d+M),t[1]=l+g,t[2]=f-_,t[3]=0,t[4]=l-g,t[5]=1-(h+M),t[6]=m+b,t[7]=0,t[8]=f+_,t[9]=m-b,t[10]=1-(h+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const v=(0,r.vt)();function y(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function S(t,e){const n=e[0],r=e[1],s=e[2],i=e[4],o=e[5],a=e[6],c=e[8],u=e[9],h=e[10];return t[0]=Math.sqrt(n*n+r*r+s*s),t[1]=Math.sqrt(i*i+o*o+a*a),t[2]=Math.sqrt(c*c+u*u+h*h),t}function x(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t}function w(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=e[3],c=s+s,u=i+i,h=o+o,l=s*c,f=s*u,d=s*h,m=i*u,M=i*h,b=o*h,_=a*c,g=a*u,p=a*h,v=r[0],y=r[1],S=r[2];return t[0]=(1-(m+b))*v,t[1]=(f+p)*v,t[2]=(d-g)*v,t[3]=0,t[4]=(f-p)*y,t[5]=(1-(l+b))*y,t[6]=(M+_)*y,t[7]=0,t[8]=(d+g)*S,t[9]=(M-_)*S,t[10]=(1-(l+m))*S,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function A(t,e,n,r,s){const i=e[0],o=e[1],a=e[2],c=e[3],u=i+i,h=o+o,l=a+a,f=i*u,d=i*h,m=i*l,M=o*h,b=o*l,_=a*l,g=c*u,p=c*h,v=c*l,y=r[0],S=r[1],x=r[2],w=s[0],A=s[1],j=s[2],O=(1-(M+_))*y,T=(d+v)*y,C=(m-p)*y,E=(d-v)*S,P=(1-(f+_))*S,q=(b+g)*S,R=(m+p)*x,z=(b-g)*x,I=(1-(f+M))*x;return t[0]=O,t[1]=T,t[2]=C,t[3]=0,t[4]=E,t[5]=P,t[6]=q,t[7]=0,t[8]=R,t[9]=z,t[10]=I,t[11]=0,t[12]=n[0]+w-(O*w+E*A+R*j),t[13]=n[1]+A-(T*w+P*A+z*j),t[14]=n[2]+j-(C*w+q*A+I*j),t[15]=1,t}function j(t,e,n,r,s,i,o){const a=1/(n-e),c=1/(s-r),u=1/(i-o);return t[0]=2*i*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*c,t[6]=0,t[7]=0,t[8]=(n+e)*a,t[9]=(s+r)*c,t[10]=(o+i)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*i*2*u,t[15]=0,t}function O(t,e,n,r){const i=e[0],o=e[1],c=e[2];let u=i-n[0],h=o-n[1],l=c-n[2];const f=(0,s.FD)();if(Math.abs(u)<f&&Math.abs(h)<f&&Math.abs(l)<f)return void a(t);let d=1/Math.sqrt(u*u+h*h+l*l);u*=d,h*=d,l*=d;const m=r[0],M=r[1],b=r[2];let _=M*l-b*h,g=b*u-m*l,p=m*h-M*u;d=Math.sqrt(_*_+g*g+p*p),d?(d=1/d,_*=d,g*=d,p*=d):(_=0,g=0,p=0);let v=h*p-l*g,y=l*_-u*p,S=u*g-h*_;d=Math.sqrt(v*v+y*y+S*S),d?(d=1/d,v*=d,y*=d,S*=d):(v=0,y=0,S=0),t[0]=_,t[1]=v,t[2]=u,t[3]=0,t[4]=g,t[5]=y,t[6]=h,t[7]=0,t[8]=p,t[9]=S,t[10]=l,t[11]=0,t[12]=-(_*i+g*o+p*c),t[13]=-(v*i+y*o+S*c),t[14]=-(u*i+h*o+l*c),t[15]=1}function T(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function C(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function E(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],h=t[7],l=t[8],f=t[9],d=t[10],m=t[11],M=t[12],b=t[13],_=t[14],g=t[15],p=e[0],v=e[1],y=e[2],S=e[3],x=e[4],w=e[5],A=e[6],j=e[7],O=e[8],T=e[9],C=e[10],E=e[11],P=e[12],q=e[13],R=e[14],z=e[15],I=(0,s.FD)();return Math.abs(n-p)<=I*Math.max(1,Math.abs(n),Math.abs(p))&&Math.abs(r-v)<=I*Math.max(1,Math.abs(r),Math.abs(v))&&Math.abs(i-y)<=I*Math.max(1,Math.abs(i),Math.abs(y))&&Math.abs(o-S)<=I*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(a-x)<=I*Math.max(1,Math.abs(a),Math.abs(x))&&Math.abs(c-w)<=I*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(u-A)<=I*Math.max(1,Math.abs(u),Math.abs(A))&&Math.abs(h-j)<=I*Math.max(1,Math.abs(h),Math.abs(j))&&Math.abs(l-O)<=I*Math.max(1,Math.abs(l),Math.abs(O))&&Math.abs(f-T)<=I*Math.max(1,Math.abs(f),Math.abs(T))&&Math.abs(d-C)<=I*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(m-E)<=I*Math.max(1,Math.abs(m),Math.abs(E))&&Math.abs(M-P)<=I*Math.max(1,Math.abs(M),Math.abs(P))&&Math.abs(b-q)<=I*Math.max(1,Math.abs(b),Math.abs(q))&&Math.abs(_-R)<=I*Math.max(1,Math.abs(_),Math.abs(R))&&Math.abs(g-z)<=I*Math.max(1,Math.abs(g),Math.abs(z))}function P(t){const e=(0,s.FD)(),n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],c=t[6],u=t[8],h=t[9],l=t[10];return Math.abs(1-(n*n+o*o+u*u))<=e&&Math.abs(1-(r*r+a*a+h*h))<=e&&Math.abs(1-(i*i+c*c+l*l))<=e}function q(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const R=h,z=T;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],c=e[6],u=e[7],h=e[8],l=e[9],f=e[10],d=e[11],m=e[12],M=e[13],b=e[14],_=e[15];return t[0]=a*(f*_-d*b)-l*(c*_-u*b)+M*(c*d-u*f),t[1]=-(r*(f*_-d*b)-l*(s*_-i*b)+M*(s*d-i*f)),t[2]=r*(c*_-u*b)-a*(s*_-i*b)+M*(s*u-i*c),t[3]=-(r*(c*d-u*f)-a*(s*d-i*f)+l*(s*u-i*c)),t[4]=-(o*(f*_-d*b)-h*(c*_-u*b)+m*(c*d-u*f)),t[5]=n*(f*_-d*b)-h*(s*_-i*b)+m*(s*d-i*f),t[6]=-(n*(c*_-u*b)-o*(s*_-i*b)+m*(s*u-i*c)),t[7]=n*(c*d-u*f)-o*(s*d-i*f)+h*(s*u-i*c),t[8]=o*(l*_-d*M)-h*(a*_-u*M)+m*(a*d-u*l),t[9]=-(n*(l*_-d*M)-h*(r*_-i*M)+m*(r*d-i*l)),t[10]=n*(a*_-u*M)-o*(r*_-i*M)+m*(r*u-i*a),t[11]=-(n*(a*d-u*l)-o*(r*d-i*l)+h*(r*u-i*a)),t[12]=-(o*(l*b-f*M)-h*(a*b-c*M)+m*(a*f-c*l)),t[13]=n*(l*b-f*M)-h*(r*b-s*M)+m*(r*f-s*l),t[14]=-(n*(a*b-c*M)-o*(r*b-s*M)+m*(r*c-s*a)),t[15]=n*(a*f-c*l)-o*(r*f-s*l)+h*(r*c-s*a),t},copy:i,determinant:function(t){const e=t[0],n=t[1],r=t[2],s=t[3],i=t[4],o=t[5],a=t[6],c=t[7],u=t[8],h=t[9],l=t[10],f=t[11],d=t[12],m=t[13],M=t[14],b=t[15];return(e*o-n*i)*(l*b-f*M)-(e*a-r*i)*(h*b-f*m)+(e*c-s*i)*(h*M-l*m)+(n*a-r*o)*(u*b-f*d)-(n*c-s*o)*(u*M-l*d)+(r*c-s*a)*(u*m-h*d)},equals:E,exactEquals:C,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=n+n,a=r+r,c=s+s,u=n*o,h=r*o,l=r*a,f=s*o,d=s*a,m=s*c,M=i*o,b=i*a,_=i*c;return t[0]=1-l-m,t[1]=h+_,t[2]=f-b,t[3]=0,t[4]=h-_,t[5]=1-u-m,t[6]=d+M,t[7]=0,t[8]=f+b,t[9]=d-M,t[10]=1-u-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const n=v,r=-e[0],s=-e[1],i=-e[2],o=e[3],a=e[4],c=e[5],u=e[6],h=e[7],l=r*r+s*s+i*i+o*o;return l>0?(n[0]=2*(a*o+h*r+c*i-u*s)/l,n[1]=2*(c*o+h*s+u*r-a*i)/l,n[2]=2*(u*o+h*i+a*s-c*r)/l):(n[0]=2*(a*o+h*r+c*i-u*s),n[1]=2*(c*o+h*s+u*r-a*i),n[2]=2*(u*o+h*i+a*s-c*r)),p(t,e,n),t},fromRotation:b,fromRotationTranslation:p,fromRotationTranslationScale:w,fromRotationTranslationScaleOrigin:A,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:M,fromXRotation:_,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:g,frustum:j,getRotation:x,getScale:S,getTranslation:y,hasIdentityRotation:q,identity:a,invert:u,invertOrIdentity:function(t,e){return u(t,e)||a(t),t},isOrthoNormal:P,lookAt:O,mul:R,multiply:h,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:function(t,e,n,r,s,i,o){const a=1/(e-n),c=1/(r-s),u=1/(i-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*c,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*a,t[13]=(s+r)*c,t[14]=(o+i)*u,t[15]=1,t},perspective:function(t,e,n,r,s){const i=1/Math.tan(e/2);let o;return t[0]=i/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=s&&s!==1/0?(o=1/(r-s),t[10]=(s+r)*o,t[14]=2*s*r*o):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const s=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),a=Math.tan(e.rightDegrees*Math.PI/180),c=2/(o+a),u=2/(s+i);return t[0]=c,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=u,t[6]=0,t[7]=0,t[8]=-(o-a)*c*.5,t[9]=(s-i)*u*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:d,rotateX:m,rotateY:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],c=e[3],u=e[8],h=e[9],l=e[10],f=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s-u*r,t[1]=o*s-h*r,t[2]=a*s-l*r,t[3]=c*s-f*r,t[8]=i*r+u*s,t[9]=o*r+h*s,t[10]=a*r+l*s,t[11]=c*r+f*s,t},rotateZ:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],c=e[3],u=e[4],h=e[5],l=e[6],f=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s+u*r,t[1]=o*s+h*r,t[2]=a*s+l*r,t[3]=c*s+f*r,t[4]=u*s-i*r,t[5]=h*s-o*r,t[6]=l*s-a*r,t[7]=f*s-c*r,t},scale:f,set:o,str:function(t){return"mat4("+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]+")"},sub:z,subtract:T,targetTo:function(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=r[0],c=r[1],u=r[2];let h=s-n[0],l=i-n[1],f=o-n[2],d=h*h+l*l+f*f;d>0&&(d=1/Math.sqrt(d),h*=d,l*=d,f*=d);let m=c*f-u*l,M=u*h-a*f,b=a*l-c*h;return d=m*m+M*M+b*b,d>0&&(d=1/Math.sqrt(d),m*=d,M*=d,b*=d),t[0]=m,t[1]=M,t[2]=b,t[3]=0,t[4]=l*b-f*M,t[5]=f*m-h*b,t[6]=h*M-l*m,t[7]=0,t[8]=h,t[9]=l,t[10]=f,t[11]=0,t[12]=s,t[13]=i,t[14]=o,t[15]=1,t},translate:l,transpose:c},Symbol.toStringTag,{value:"Module"}))},82919(t,e,n){n.d(e,{DV:()=>_,C:()=>M,vt:()=>d,Qy:()=>m,ui:()=>b,ST:()=>v,bU:()=>y,pw:()=>p,m7:()=>g,c8:()=>x});var r=n(4341),s=n(58083),i=n(35522),o=n(51850),a=n(78955),c=n(91829),u=n(71351);function h(t){return t?{ray:(0,u.vt)(t.ray),c0:t.c0,c1:t.c1}:{ray:(0,u.vt)(),c0:0,c1:Number.MAX_VALUE}}new r.I(()=>h());var l=n(27921),f=n(32114);function d(t){return t?[(0,l.vt)(t[0]),(0,l.vt)(t[1]),(0,l.vt)(t[2]),(0,l.vt)(t[3]),(0,l.vt)(t[4]),(0,l.vt)(t[5])]:[(0,l.vt)(),(0,l.vt)(),(0,l.vt)(),(0,l.vt)(),(0,l.vt)(),(0,l.vt)()]}function m(){return[(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,o.vt)()]}function M(t,e){for(let n=0;n<w;n++)(0,l.C)(t[n],e[n]);return t}function b(t,e,n,r=T){const o=(0,s.lw)(f.Rc.get(),e,t);(0,s.B8)(o,o);for(let t=0;t<A;++t){const e=(0,a.Z0)(f.Km.get(),j[t],o);(0,i.hZ)(r[t],e[0]/e[3],e[1]/e[3],e[2]/e[3])}_(n,r)}function _(t,e){(0,l.Cr)(e[4],e[0],e[3],t[0]),(0,l.Cr)(e[1],e[5],e[6],t[1]),(0,l.Cr)(e[4],e[5],e[1],t[2]),(0,l.Cr)(e[3],e[2],e[6],t[3]),(0,l.Cr)(e[0],e[1],e[2],t[4]),(0,l.Cr)(e[5],e[4],e[7],t[5])}function g(t,e){for(let n=0;n<w;n++){const r=t[n];if(r[0]*e.center[0]+r[1]*e.center[1]+r[2]*e.center[2]+r[3]>=e.radius)return!1}return!0}function p(t,e){return S(t,function(t,e=h()){return(0,u.C)(t,e.ray),e.c0=0,e.c1=Number.MAX_VALUE,e}(e,O.get()))}function v(t,e,n){return S(t,function(t,e,n=h()){const r=(0,i.Bw)(t.vector);return(0,u.fA)(t.origin,e,n.ray),n.c0=0,n.c1=r,n}(e,n,O.get()))}function y(t,e){for(let n=0;n<w;n++)if((0,l.mN)(t[n],e)>0)return!1;return!0}function S(t,e){for(let n=0;n<w;n++)if(!(0,l.$Q)(t[n],e))return!1;return!0}const x={bottom:[5,1,0,4],near:[0,1,2,3],far:[5,4,7,6],right:[1,5,6,2],left:[4,0,3,7],top:[7,3,2,6]},w=6,A=8,j=[(0,c.fA)(-1,-1,-1,1),(0,c.fA)(1,-1,-1,1),(0,c.fA)(1,1,-1,1),(0,c.fA)(-1,1,-1,1),(0,c.fA)(-1,-1,1,1),(0,c.fA)(1,-1,1,1),(0,c.fA)(1,1,1,1),(0,c.fA)(-1,1,1,1)],O=new r.I(h),T=m()},11964(t,e,n){n.d(e,{Cr:()=>h,LV:()=>u,_I:()=>l,vt:()=>c});var r=n(34727),s=n(4341),i=n(35522),o=n(51850),a=n(32114);function c(t){return t?{origin:(0,o.o8)(t.origin),vector:(0,o.o8)(t.vector)}:{origin:(0,o.vt)(),vector:(0,o.vt)()}}function u(t,e){const n=f.get();return n.origin=t,n.vector=e,n}function h(t,e,n=c()){return(0,i.C)(n.origin,t),(0,i.Re)(n.vector,e,t),n}function l(t,e,n){return function(t,e,n,s,o){const{vector:c,origin:u}=t,h=(0,i.Re)(a.rq.get(),e,u),l=(0,i.Om)(c,h)/(0,i.m3)(c);return(0,i.hs)(o,c,(0,r.qE)(l,0,1)),(0,i.WQ)(o,o,t.origin)}(t,e,0,0,n)}(0,o.vt)(),(0,o.vt)();const f=new s.I(()=>c())},27921(t,e,n){n.d(e,{$Q:()=>v,C:()=>a,Cr:()=>h,O_:()=>u,Qj:()=>c,T7:()=>g,Tj:()=>p,lU:()=>l,mN:()=>y,vE:()=>S,vt:()=>o});var r=n(34727),s=n(35522),i=n(51850);function o(t=x){return[t[0],t[1],t[2],t[3]]}function a(t,e){return function(t,e,n,r,s=o()){return s[0]=t,s[1]=e,s[2]=n,s[3]=r,s}(e[0],e[1],e[2],e[3],t)}function c(t){return t}function u(t,e,n){const r=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],s=Math.abs(r-1)>1e-5&&r>1e-12?1/Math.sqrt(r):1;return n[0]=e[0]*s,n[1]=e[1]*s,n[2]=e[2]*s,n[3]=-(n[0]*t[0]+n[1]*t[1]+n[2]*t[2]),n}function h(t,e,n,r=o()){const s=n[0]-e[0],i=n[1]-e[1],a=n[2]-e[2],c=t[0]-e[0],u=t[1]-e[1],h=t[2]-e[2],l=i*h-a*u,f=a*c-s*h,d=s*u-i*c,m=l*l+f*f+d*d,M=Math.abs(m-1)>1e-5&&m>1e-12?1/Math.sqrt(m):1;return r[0]=l*M,r[1]=f*M,r[2]=d*M,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function l(t,e,n,r=0,i=Math.floor(n*(1/3)),o=Math.floor(n*(2/3))){if(n<3)return!1;e(d,r);let a=i,c=!1;for(;a<n-1&&!c;)e(m,a),a++,c=!(0,s.t2)(d,m);if(!c)return!1;for(a=Math.max(a,o),c=!1;a<n&&!c;)e(M,a),a++,(0,s.Re)(b,d,m),(0,s.S8)(b,b),(0,s.Re)(_,m,M),(0,s.S8)(_,_),c=!(0,s.t2)(d,M)&&!(0,s.t2)(m,M)&&Math.abs((0,s.Om)(b,_))<f;return c?(h(d,m,M,t),!0):(0!==r||1!==i||2!==o)&&l(t,e,n,0,1,2)}n(78955),n(44280),n(32114),n(32728);const f=.99619469809,d=(0,i.vt)(),m=(0,i.vt)(),M=(0,i.vt)(),b=(0,i.vt)(),_=(0,i.vt)();function g(t,e,n){return function(t){return 0===t||1===t}(S(t,e.origin,e.vector,0,n))}function p(t,e){return y(t,e)>=0}function v(t,e){const n=(0,s.Om)(t,e.ray.direction),r=-y(t,e.ray.origin);if(r<0&&n>=0)return!1;if(n>-1e-6&&n<1e-6)return r>0;if((r<0||n<0)&&!(r<0&&n<0))return!0;const i=r/n;return n>0?i<e.c1&&(e.c1=i):i>e.c0&&(e.c0=i),e.c0<=e.c1}function y(t,e){return(0,s.Om)(t,e)+t[3]}function S(t,e,n,i,o){const a=(0,s.Om)(t,n),c=y(t,e);if(0===a)return c>=0?2:3;let u=-c/a;return 1&i&&(u=(0,r.qE)(u,0,1)),!(4&i)&&u<0||!(8&i)&&u>1?c>=0?2:3:((0,s.WQ)(o,e,(0,s.hs)(o,n,u)),c>=0?0:1)}const x=[0,0,1,0]},71351(t,e,n){n.d(e,{C:()=>h,Cr:()=>l,LV:()=>u,fA:()=>f,oC:()=>d,vt:()=>a}),n(4576);var r=n(4341),s=(n(77690),n(29242)),i=n(35522),o=n(51850);function a(t){return t?c((0,o.o8)(t.origin),(0,o.o8)(t.direction)):c((0,o.vt)(),(0,o.vt)())}function c(t,e){return{origin:t,direction:e}}function u(t,e){const n=m.get();return n.origin=t,n.direction=e,n}function h(t,e=a()){return f(t.origin,t.direction,e)}function l(t,e,n=a()){return(0,i.C)(n.origin,t),(0,i.Re)(n.direction,e,t),n}function f(t,e,n=a()){return(0,i.C)(n.origin,t),(0,i.C)(n.direction,e),n}function d(t,e,n){const r=(0,i.Om)(t.direction,(0,i.Re)(n,e,t.origin));return(0,i.WQ)(n,t.origin,(0,i.hs)(n,t.direction,r)),n}n(32114);const m=new r.I(()=>a());(0,o.vt)(),(0,o.vt)(),(0,o.vt)(),(0,s.vt)()},94008(t,e,n){n.d(e,{iy:()=>d}),n(44208),n(53966);var r=n(34727),s=n(34304),i=n(58083),o=n(35522),a=n(51850),c=n(91829),u=n(34275);var h=n(71351),l=n(44280),f=n(32114);class d{constructor(t=0,e=0,n=0,r=0){this.radius=r,"number"==typeof t?this._center=(0,a.fA)(t,e,n):function(t){return e=t,(0,u.vZ)(e)&&e.length>=3||function(t){return((0,u.aI)(t)||Array.isArray(t))&&t.length>=3}(t);var e}(t)||function(t){return(e=t)instanceof Float32Array&&e.length>=4||function(t){return Array.isArray(t)&&t.length>=4}(t);var e}(t)?(this._center=(0,a.ci)(t),this.radius=4===t.length?t[3]:e):(this._center=(0,a.o8)(t.center),this.radius=t.radius)}get isValid(){return this.radius>=0}invalidate(){this.radius=-1}get center(){return this._center}set center(t){(0,o.C)(this.center,t)}exactEquals(t){return(0,o.aI)(this._center,t.center)&&this.radius===t.radius}copyFrom(t){return t!==this&&((0,o.C)(this._center,t.center),this.radius=t.radius),this}clone(){return new d(this.center,this.radius)}toVec4(){return(0,c.fA)(this.center[0],this.center[1],this.center[2],this.radius)}contains(t){return(0,o.hG)(this.center,t)<=this.radius**2}intersectRay(t,e){if(null==t)return!1;if(!this._intersect(t,m))return!1;let{t0:n,t1:r}=m;if((n<0||r<n&&r>0)&&(n=r),n<0)return!1;if(e){const{origin:r,direction:s}=t;e[0]=r[0]+s[0]*n,e[1]=r[1]+s[1]*n,e[2]=r[2]+s[2]*n}return!0}intersectLine(t,e){const n=(0,h.Cr)(t,e);if(!this._intersect(n,m))return[];const{origin:r,direction:i}=n,{t0:c,t1:u}=m,l=t=>{const e=(0,a.vt)();return(0,o.Ln)(e,r,i,t),this.projectPoint(e,e)};return Math.abs(c-u)<(0,s.FD)()?[l(c)]:[l(c),l(u)]}_intersect(t,e){const{origin:n,direction:r}=t,s=M;s[0]=n[0]-this.center[0],s[1]=n[1]-this.center[1],s[2]=n[2]-this.center[2];const i=r[0]*r[0]+r[1]*r[1]+r[2]*r[2];if(0===i)return!1;const o=2*(r[0]*s[0]+r[1]*s[1]+r[2]*s[2]),a=o*o-4*i*(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]-this.radius**2);if(a<0)return!1;const c=Math.sqrt(a);return e.t0=(-o-c)/(2*i),e.t1=(-o+c)/(2*i),!0}projectPoint(t,e){const n=(0,o.Re)(f.rq.get(),t,this.center),r=(0,o.hs)(f.rq.get(),n,this.radius/(0,o.Bw)(n));return(0,o.WQ)(e,r,this.center)}closestPointOnSilhouette(t,e){const n=f.rq.get(),r=f.Rc.get();(0,o.$A)(n,t.origin,t.direction),(0,o.$A)(e,n,t.origin),(0,o.hs)(e,e,1/(0,o.Bw)(e)*this.radius);const s=this._angleToSilhouette(t.origin),a=(0,l.g7)(t.origin,e);return(0,i.$0)(r,a+s,n),(0,o.Z0)(e,e,r),e}frustumCoverage(t,e,n){const r=this.radius,s=r*r,i=t+.5*Math.PI,o=e*e+s-2*Math.cos(i)*e*r,a=Math.sqrt(o),c=o-s;if(c<=0)return.5;const u=Math.sqrt(c),h=Math.acos(u/a)-Math.asin(r/(a/Math.sin(i)));return Math.min(1,(h+.5*n)/n)}_angleToSilhouette(t){const e=(0,o.Re)(f.rq.get(),t,this.center),n=(0,o.Bw)(e),s=this.radius,i=s+Math.abs(s-n);return(0,r.XM)(s/i)}union(t){const e=(0,o.Io)(this._center,t.center),n=this.radius,r=t.radius;return e+r<n?this:e+n<r?(this.copyFrom(t),this):((0,o.Cc)(this._center,this._center,t.center,(e+r-n)/(2*e)),this.radius=(e+n+r)/2,this)}toJSON(){return{center:this.center,radius:this.radius}}signedDistanceToPlane(t){const{center:e,radius:n}=this,r=t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3];return r<0?Math.min(r+n,0):Math.max(r-n,0)}}new d;const m={t0:0,t1:0},M=(0,a.vt)();(0,a.vt)(),(0,a.vt)()},44280(t,e,n){n.d(e,{g7:()=>a,gr:()=>o});var r=n(34727),s=n(35522),i=n(51850);function o(t,e){return(0,s.Om)(t,e)/(0,s.Bw)(t)}function a(t,e){const n=(0,s.Om)(t,e)/((0,s.Bw)(t)*(0,s.Bw)(e));return-(0,r.XM)(n)}(0,i.vt)(),(0,i.vt)()},32114(t,e,n){n.d(e,{Rc:()=>d,J8:()=>m,rq:()=>l,Km:()=>f}),n(44208);var r=n(26390),s=n(29242),i=n(9093),o=n(82534),a=n(48163),c=n(51850),u=n(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(a.vt)}static createVec3f64(){return new h(c.vt)}static createVec4f64(){return new h(u.vt)}static createMat3f64(){return new h(s.vt)}static createMat4f64(){return new h(i.vt)}static createQuatf64(){return new h(o.vt)}get test(){}}h.createVec2f64();const l=h.createVec3f64(),f=h.createVec4f64(),d=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},32728(t,e,n){n.d(e,{YH:()=>o,nu:()=>a,wp:()=>i}),n(34727);var r=n(35522),s=n(51850);function i(t,e){const n=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),s=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,r.hZ)(t,n,s,i),t}function o(t,e,n){n=n||t;const s=(0,r.Om)(t,e);(0,r.hZ)(n,t[0]-s*e[0],t[1]-s*e[1],t[2]-s*e[2]),(0,r.S8)(n,n)}function a(t,e,n,i=(0,s.vt)()){const o=(0,r.Bw)(t),a=(0,r.Bw)(e),h=(0,r.Om)(t,e)/(o*a);if(h<.9999999999999999){const s=Math.acos(h),l=((1-n)*o+n*a)/Math.sin(s),f=l/o*Math.sin((1-n)*s),d=l/a*Math.sin(n*s);return(0,r.hs)(c,t,f),(0,r.hs)(u,e,d),(0,r.WQ)(i,c,u)}return(0,r.Cc)(i,t,e,n)}(0,s.vt)(),(0,s.vt)(),(0,s.vt)();const c=(0,s.vt)(),u=(0,s.vt)()},70491(t,e,n){n.r(e),n.d(e,{default:()=>G});var r=n(5482),s=n(17676),i=n(24326),o=n(91429),a=n(35522),c=n(51850),u=n(11964),h=n(94008),l=n(93687),f=n(15142),d=n(82919),m=n(71351),M=n(620);class b{get bounds(){return this._root.bounds}get halfSize(){return this._root.halfSize}get root(){return this._root.node}get maximumObjectsPerNode(){return this._maximumObjectsPerNode}get maximumDepth(){return this._maximumDepth}get objectCount(){return this._objectCount}constructor(t,e){this.objectToBoundingSphere=t,this._maximumObjectsPerNode=10,this._maximumDepth=20,this._degenerateObjects=new Set,this._root=new _,this._objectCount=0,e&&(void 0!==e.maximumObjectsPerNode&&(this._maximumObjectsPerNode=e.maximumObjectsPerNode),void 0!==e.maximumDepth&&(this._maximumDepth=e.maximumDepth))}destroy(){this._degenerateObjects.clear(),_.clearPool(),R[0]=null,B.prune(),Q.prune()}add(t){const e=Array.from(t);this._grow(e);const n=_.acquire();for(const t of e)++this._objectCount,this._isDegenerate(t)?this._degenerateObjects.add(t):(n.init(this._root),this._add(t,n));_.release(n)}remove(t,e=null){this._objectCount-=t.length;const n=_.acquire();for(const r of t){const t=e??this.objectToBoundingSphere(r);C(t.radius)?(n.init(this._root),v(r,t,n)):this._degenerateObjects.delete(r)}_.release(n),this._shrink()}update(t,e){if(!C(e.radius)&&this._isDegenerate(t))return;const n=function(t){return R[0]=t,R}(t);this.remove(n,e),this.add(n)}forEachAlongRay(t,e,n){const r=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e){return A(e.bounds.center,2*-e.halfSize,D),A(e.bounds.center,2*e.halfSize,N),(0,M.O_)(t.origin,t.direction,D,N)}(r,t))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),!0})}forEachAlongRayWithVerticalOffset(t,e,n,r){const s=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e,n){return A(e.bounds.center,2*-e.halfSize,D),A(e.bounds.center,2*e.halfSize,N),n.applyToMinMax(D,N),(0,M.O_)(t.origin,t.direction,D,N)}(s,t,r))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObjectWithOffset(s,t,r)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObjectWithOffset(s,t,r)&&n(t)}),!0})}forEach(t){g(this._root,e=>{const n=e.node;return n.terminals.forAll(t),null!==n.residents&&n.residents.forAll(t),!0}),this._degenerateObjects.forEach(t)}forEachDegenerateObject(t){this._degenerateObjects.forEach(t)}findClosest(t,e,n,r=()=>!0,s=1/0){let i=1/0,o=1/0,c=null;const u=O(t,e),h=a=>{if(--s,!r(a))return;const u=this.objectToBoundingSphere(a);if(!(0,d.m7)(n,u))return;const h=T(t,e,u.center),l=h-u.radius,f=h+u.radius;l<i&&(i=l,o=f,c=a)};return p(this._root,r=>{if(s<=0||!(0,d.m7)(n,r.bounds))return!1;if((0,a.hs)(I,u,r.halfSize),(0,a.WQ)(I,I,r.bounds.center),T(t,e,I)>o)return!1;const i=r.node;return i.terminals.forAll(t=>h(t)),null!==i.residents&&i.residents.forAll(t=>h(t)),!0},t,e),c}forEachInDepthRange(t,e,n,r,s,i,o){let c=-1/0,u=1/0;const h={setRange:t=>{1===n?(c=Math.max(c,t.near),u=Math.min(u,t.far)):(c=Math.max(c,-t.far),u=Math.min(u,-t.near))}};h.setRange(r);const l=T(e,n,t),f=O(e,n),m=O(e,-n),M=t=>{if(!o(t))return;const r=this.objectToBoundingSphere(t),a=T(e,n,r.center)-l,f=a-r.radius,m=a+r.radius;f>u||m<c||!(0,d.m7)(i,r)||s(t,h)};p(this._root,t=>{if(!(0,d.m7)(i,t.bounds))return!1;if((0,a.hs)(I,f,t.halfSize),(0,a.WQ)(I,I,t.bounds.center),T(e,n,I)-l>u)return!1;if((0,a.hs)(I,m,t.halfSize),(0,a.WQ)(I,I,t.bounds.center),T(e,n,I)-l<c)return!1;const r=t.node;return r.terminals.forAll(t=>M(t)),null!==r.residents&&r.residents.forAll(t=>M(t)),!0},e,n)}forEachNode(t){g(this._root,e=>t(e.node,e.bounds,e.halfSize,e.depth))}forEachNeighbor(t,e){const n=e.radius,r=e.center,s=e=>{const s=this.objectToBoundingSphere(e),i=s.radius,o=n+i;return!((0,a.hG)(s.center,r)-o*o<=0)||t(e)};let i=!0;const o=t=>{i&&(i=s(t))};g(this._root,t=>{const e=t.bounds.radius,s=n+e;if((0,a.hG)(t.bounds.center,r)-s*s>0)return!1;const c=t.node;return c.terminals.forAll(o),i&&null!==c.residents&&c.residents.forAll(o),i}),i&&this.forEachDegenerateObject(o)}_intersectsObject(t,e){const n=this.objectToBoundingSphere(e);return!(n.radius>0)||n.intersectRay(t)}_intersectsObjectWithOffset(t,e,n){const r=this.objectToBoundingSphere(e);return!(r.radius>0)||n.applyToBoundingSphere(r).intersectRay(t)}_add(t,e){e.advanceTo(this.objectToBoundingSphere(t))?e.node.terminals.push(t):(e.node.residents.push(t),e.node.residents.length>this._maximumObjectsPerNode&&e.depth<this._maximumDepth&&this._split(e))}_split(t){const e=t.node.residents;t.node.residents=null;for(let n=0;n<e.length;n++){const r=_.acquire().init(t);this._add(e.at(n),r),_.release(r)}}_grow(t){if(j(t,t=>this.objectToBoundingSphere(t),F),C(F.radius)&&!this._fitsInsideTree(F))if(S(this._root.node))this._root.bounds.copyFrom(F),this._root.halfSize=1.25*this._root.bounds.radius,this._root.updateBoundsRadiusFromHalfSize();else{const t=this._rootBoundsForRootAsSubNode(F);this._placingRootViolatesMaxDepth(t)?this._rebuildTree(F,t):this._growRootAsSubNode(t),_.release(t)}}_rebuildTree(t,e){V.center=e.bounds.center,V.radius=e.halfSize,j([t,V],t=>t,L);const n=_.acquire().init(this._root);this._root.initFrom(null,L,L.radius),this._root.increaseHalfSize(1.25),g(n,t=>(this.add(t.node.terminals.data),null!==t.node.residents&&this.add(t.node.residents.data),!0)),_.release(n)}_placingRootViolatesMaxDepth(t){const e=Math.log(t.halfSize/this._root.halfSize)*Math.LOG2E;let n=0;return g(this._root,t=>(n=Math.max(n,t.depth),n+e<=this._maximumDepth)),n+e>this._maximumDepth}_rootBoundsForRootAsSubNode(t){const e=t.radius,n=t.center;let r=-1/0;const s=this._root.bounds.center,i=this._root.halfSize;for(let t=0;t<3;t++){const o=s[t]-i-(n[t]-e),a=n[t]+e-(s[t]+i),c=Math.max(0,Math.ceil(o/(2*i))),u=Math.max(0,Math.ceil(a/(2*i)))+1,h=2**Math.ceil(Math.log(c+u)*Math.LOG2E);r=Math.max(r,h),k[t].min=c,k[t].max=u}for(let t=0;t<3;t++){let e=k[t].min,n=k[t].max;const o=(r-(e+n))/2;e+=Math.ceil(o),n+=Math.floor(o);const a=s[t]-i-e*i*2;z.center[t]=a+(n+e)*i}const o=r*i;return z.radius=o*q,_.acquire().initFrom(null,z,o,0)}_growRootAsSubNode(t){const e=this._root.node;F.center=this._root.bounds.center,F.radius=this._root.halfSize,this._root.init(t),t.advanceTo(F,null,!0),t.node.children=e.children,t.node.residents=e.residents,t.node.terminals=e.terminals}_shrink(){for(;;){const t=this._findShrinkIndex();if(-1===t)break;this._root.advance(t),this._root.depth=0}}_findShrinkIndex(){if(0!==this._root.node.terminals.length||this._root.isLeaf())return-1;let t=null;const e=this._root.node.children;let n=0,r=0;for(;r<e.length&&null==t;)n=r++,t=e[n];for(;r<e.length;)if(e[r++])return-1;return n}_isDegenerate(t){return!C(this.objectToBoundingSphere(t).radius)}_fitsInsideTree(t){const e=this._root.bounds,n=this._root.halfSize;return t.radius<=n&&t.center[0]>=e.center[0]-n&&t.center[0]<=e.center[0]+n&&t.center[1]>=e.center[1]-n&&t.center[1]<=e.center[1]+n&&t.center[2]>=e.center[2]-n&&t.center[2]<=e.center[2]+n}_nodeToJSON(t){const e=t.children.map(t=>t?this._nodeToJSON(t):null),n=t.residents?.map(t=>this.objectToBoundingSphere(t)),r=t.terminals?.map(t=>this.objectToBoundingSphere(t));return{children:e,residents:n,terminals:r}}}class _{constructor(){this.bounds=new h.iy,this.halfSize=0,this.initFrom(null,null,0,0)}init(t){return this.initFrom(t.node,t.bounds,t.halfSize,t.depth)}initFrom(t,e,n,r=this.depth){return this.node=null!=t?t:_.createEmptyNode(),e&&this.bounds.copyFrom(e),this.halfSize=n,this.depth=r,this}increaseHalfSize(t){this.halfSize*=t,this.updateBoundsRadiusFromHalfSize()}updateBoundsRadiusFromHalfSize(){this.bounds.radius=this.halfSize*q}advance(t){let e=this.node.children[t];e||(e=_.createEmptyNode(),this.node.children[t]=e),this.node=e,this.halfSize/=2,this.depth++;const n=E[t];return this.bounds.center[0]+=n[0]*this.halfSize,this.bounds.center[1]+=n[1]*this.halfSize,this.bounds.center[2]+=n[2]*this.halfSize,this.updateBoundsRadiusFromHalfSize(),this}advanceTo(t,e,n=!1){for(;;){if(this.isTerminalFor(t))return e?.(this,-1),!0;if(this.isLeaf()){if(!n)return e?.(this,-1),!1;this.node.residents=null}const r=this._childIndex(t);e?.(this,r),this.advance(r)}}isLeaf(){return null!=this.node.residents}isTerminalFor(t){return t.radius>this.halfSize/2}_childIndex(t){const e=this.bounds.center;return(e[0]<t.center[0]?1:0)+(e[1]<t.center[1]?2:0)+(e[2]<t.center[2]?4:0)}static createEmptyNode(){return{children:[null,null,null,null,null,null,null,null],terminals:new f.A({shrink:!0}),residents:new f.A({shrink:!0})}}static{this._pool=new l.A(()=>new _)}static acquire(){return _._pool.acquire()}static release(t){_._pool.release(t)}static clearPool(){_._pool.prune()}}function g(t,e){let n=_.acquire().init(t);const r=[n];for(;0!==r.length;){if(n=r.pop(),e(n)&&!n.isLeaf())for(let t=0;t<n.node.children.length;t++)n.node.children[t]&&r.push(_.acquire().init(n).advance(t));_.release(n)}}function p(t,e,n,r=1){let s=_.acquire().init(t);const i=[s];for(function(t,e,n){if(!Q.length)for(let t=0;t<8;++t)Q.push({index:0,distance:0});for(let n=0;n<8;++n){const r=E[n];Q.data[n].index=n,Q.data[n].distance=T(t,e,r)}Q.sort((t,e)=>t.distance-e.distance);for(let t=0;t<8;++t)n[t]=Q.data[t].index}(n,r,W);0!==i.length;){if(s=i.pop(),e(s)&&!s.isLeaf())for(let t=7;t>=0;--t){const e=W[t];s.node.children[e]&&i.push(_.acquire().init(s).advance(e))}_.release(s)}}function v(t,e,n){B.clear();const r=n.advanceTo(e,(t,e)=>{B.push(t.node),B.push(e)})?n.node.terminals:n.node.residents;if(r.removeUnordered(t),0===r.length)for(let t=B.length-2;t>=0&&y(B.data[t],B.data[t+1]);t-=2);}function y(t,e){return e>=0&&(t.children[e]=null),!!S(t)&&(null===t.residents&&(t.residents=new f.A({shrink:!0})),!0)}function S(t){if(0!==t.terminals.length)return!1;if(null!==t.residents)return 0===t.residents.length;for(let e=0;e<t.children.length;e++)if(t.children[e])return!1;return!0}function x(t,e){t[0]=Math.min(t[0],e.center[0]-e.radius),t[1]=Math.min(t[1],e.center[1]-e.radius),t[2]=Math.min(t[2],e.center[2]-e.radius)}function w(t,e){t[0]=Math.max(t[0],e.center[0]+e.radius),t[1]=Math.max(t[1],e.center[1]+e.radius),t[2]=Math.max(t[2],e.center[2]+e.radius)}function A(t,e,n){n[0]=t[0]+e,n[1]=t[1]+e,n[2]=t[2]+e}function j(t,e,n){D[0]=1/0,D[1]=1/0,D[2]=1/0,N[0]=-1/0,N[1]=-1/0,N[2]=-1/0;for(const n of t){const t=e(n);C(t.radius)&&(x(D,t),w(N,t))}(0,a.Cc)(n.center,D,N,.5),n.radius=Math.max(N[0]-D[0],N[1]-D[1],N[2]-D[2])/2}function O(t,e){let n,r=1/0;for(let s=0;s<8;++s){const i=T(t,e,P[s]);i<r&&(r=i,n=P[s])}return n}function T(t,e,n){return e*(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])}function C(t){return!isNaN(t)&&t!==-1/0&&t!==1/0&&t>0}const E=[(0,c.fA)(-1,-1,-1),(0,c.fA)(1,-1,-1),(0,c.fA)(-1,1,-1),(0,c.fA)(1,1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(1,-1,1),(0,c.fA)(-1,1,1),(0,c.fA)(1,1,1)],P=[(0,c.fA)(-1,-1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(-1,1,-1),(0,c.fA)(-1,1,1),(0,c.fA)(1,-1,-1),(0,c.fA)(1,-1,1),(0,c.fA)(1,1,-1),(0,c.fA)(1,1,1)],q=Math.sqrt(3),R=[null],z=new h.iy,I=(0,c.vt)(),D=(0,c.vt)(),N=(0,c.vt)(),B=new f.A,F=new h.iy,V=new h.iy,L=new h.iy,k=[{min:0,max:0},{min:0,max:0},{min:0,max:0}],Q=new f.A,W=[0,0,0,0,0,0,0,0];var Z=n(7380);function $(t,e,n){const r=new h.iy;return(0,a.hs)(r.center,t,.5),(0,a.Ln)(r.center,r.center,e,.5),r.radius=(0,a.Io)(r.center,t),(0,a.WQ)(r.center,r.center,n),r}class H{constructor(t,e,n){this.objectId=t,this.target=e,this.distance=n}}class K extends H{constructor(t,e,n){super(t,e,n),this.type="vertex"}}class X extends H{constructor(t,e,n,r,s){super(t,e,n),this.start=r,this.end=s,this.type="edge"}}let Y=class{constructor(){this._idToComponent=new Map,this._components=new b(t=>t.bounds),this._edges=new b(t=>t.bounds),this._tmpLineSegment=(0,u.vt)(),this._tmpP1=(0,c.vt)(),this._tmpP2=(0,c.vt)(),this._tmpP3=(0,c.vt)(),this.remoteClient=null}async fetchCandidates(t,e){await Promise.resolve(),(0,s.Te)(e);const n=t;n.mbs=new h.iy(t.mbsJSON),await this._ensureEdgeLocations(n,e);const r=[];return this._edges.forEachNeighbor(t=>(this._addCandidates(n,t,r),r.length<1e3),n.mbs),{result:{candidates:r}}}async _ensureEdgeLocations(t,e){const n=[];if(this._components.forEachNeighbor(t=>{if(null==t.info){const{id:e,uid:r}=t;n.push({id:e,uid:r})}return!0},t.mbs),!n.length)return;const r={components:n},s=await this.remoteClient.invoke("fetchAllEdgeLocations",r,e??{});for(const t of s.components)this._setFetchEdgeLocations(t)}async add(t){const e=new U(t.id,new h.iy(t.bounds));return this._idToComponent.set(e.id,e),this._components.add([e]),{result:{}}}async remove(t){const e=this._idToComponent.get(t.id);if(e){const t=[];this._edges.forEachNeighbor(n=>(n.component===e&&t.push(n),!0),e.bounds),this._edges.remove(t),this._components.remove([e]),this._idToComponent.delete(e.id)}return{result:{}}}_setFetchEdgeLocations(t){const e=this._idToComponent.get(t.id);if(null==e||t.uid!==e.uid)return;const n=Z.HY.createView(t.locations),r=new Array(n.count),s=(0,c.vt)(),i=(0,c.vt)();for(let o=0;o<n.count;o++){n.position0.getVec(o,s),n.position1.getVec(o,i);const a=$(s,i,t.origin),c=new tt(e,o,a);r[o]=c}this._edges.add(r);const{objectIds:o,origin:a}=t;e.info={locations:n,objectIds:o,origin:a}}_addCandidates(t,e,n){const{info:r}=e.component,{origin:s,objectIds:i}=r,o=r.locations,c=o.position0.getVec(e.index,this._tmpP1),u=o.position1.getVec(e.index,this._tmpP2);(0,a.WQ)(c,c,s),(0,a.WQ)(u,u,s);const h=i[o.componentIndex.get(e.index)];this._addEdgeCandidate(t,h,c,u,n),J(t,h,c,n),J(t,h,u,n)}_addEdgeCandidate(t,e,n,r,s){if(!t.returnEdge)return;const i=t.mbs.center,o=(0,u.Cr)(n,r,this._tmpLineSegment),h=(0,u._I)(o,i,this._tmpP3);t.mbs.contains(h)&&s.push(new X(e,(0,c.o8)(h),(0,a.Io)(i,h),(0,c.o8)(n),(0,c.o8)(r)))}};Y=(0,r.Cg)([(0,o.$K)("esri.views.interactive.snapping.featureSources.sceneLayerSource.SceneLayerSnappingSourceWorker")],Y);const G=Y;function J(t,e,n,r){t.returnVertex&&t.mbs.contains(n)&&r.push(new K(e,(0,c.o8)(n),(0,a.Io)(t.mbs.center,n)))}class U{constructor(t,e){this.id=t,this.bounds=e,this.info=null,this.uid=(0,i.c)()}}class tt{constructor(t,e,n){this.component=t,this.index=e,this.bounds=n}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[394,926],{69540(e,t,s){s.d(t,{OU:()=>u,Pw:()=>d});var r=s(5482),i=s(69622),n=(s(44208),s(4718)),o=(s(53966),s(97768)),a=s(88620),h=s(64108);const l=Symbol("ClonableMixin"),u=e=>{var t;const s=e;let i=class extends s{constructor(){super(...arguments),this[t]=!0}static{t=l}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const s=t.metadata,r=t.store,i={},h=new Map;for(const t in s){const o=s[t],a=r?.originOf(t),l=o.clonable;if(o.readOnly||!1===l||7!==a&&0!==a&&5!==a&&4!==a)continue;const u=this[t];let d=null;if("function"==typeof l)d=l(u,e);else if("reference"===l)d=u;else if(d=(0,n.TU)(u,e),null!=u&&null==d)continue;0===a?h.set(t,d):i[t]=d}const l=new(0,Object.getPrototypeOf(this).constructor)(i);if(h.size){const e=(0,a.oY)(l)?.store;if(e)for(const[t,s]of h)e.set(t,s,0)}return l}};return i=(0,r.Cg)([(0,h.$)("esri.core.Clonable")],i),i},d=u(i.A)},7762(e,t,s){s.d(t,{A:()=>z});var r,i=s(5482),n=s(98291),o=s(4576),a=s(65529),h=s(36563),l=s(4718),u=s(53966),d=s(93687),c=s(76030),_=s(56507),f=s(62788),p=s(10107),m=s(7695),g=s(64108),y=s(95488),x=s(12195);class v{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class b{constructor(e,t,s,r,i){this.target=e,this.added=t,this.removed=s,this.start=r,this.deleteCount=i}}const I=new d.A(()=>new v,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function w(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function A(e){return e?e instanceof k?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function M(e){if(e?.length)return e[0]}function T(e,t,s,r){const i=Math.min(e.length-s,t.length-r);let n=0;for(;n<i&&e[s+n]===t[r+n];)n++;return n}function C(e,t,s,r){t&&t.forEach((t,i,n)=>{e.push(t),C(e,s.call(r,t,i,n),s,r)})}const S=new Set,F=new Set,P=new Set,O=new Map;let N=0,k=r=class extends a.nJ{static ofType(e){if(!e)return r;if(O.has(e))return O.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const s in e.typeMap){const r=e.typeMap[s].prototype.declaredClass;t?t+=` | ${r}`:t=r}let s=class extends r{};return(0,i.Cg)([(0,m.u)({Type:e,ensureType:"function"==typeof e?(0,_.dp)(e):(0,_.aq)(e)})],s.prototype,"itemType",void 0),s=(0,i.Cg)([(0,g.$)(`esri.core.Collection<${t}>`)],s),O.set(e,s),s}static isCollection(e){return null!=e&&e instanceof r}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new y.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:N++})}normalizeCtorArgs(e){return e?(0,o.yc)(e)||e instanceof r?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?u.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,A(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,h.hA)();if("change"===e){const e=this._chgListeners,s={removed:!1,callback:t};return e.push(s),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,h.hA)(()=>{s.removed=!0,e.splice(e.indexOf(s),1)})}return super.on(e,t)}once(e,t){const s="deref"in t?()=>t.deref():()=>t,r=this.on(e,e=>{s()?.call(null,e),r.remove()});return r}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(1))return this;const s=this.getNextIndex(t??null);return this._splice(s,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const s=this.getNextIndex(t);return this._splice(s,0,A(e)),this._emitAfterChanges(1),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(l.o8)})}concat(...e){(0,f.gc)(this._observable);const t=e.map(A);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const s=this._splice(0,this.length),r=s.length;for(let i=0;i<r;i++)e.call(t,s[i],i,s);this._emitAfterChanges(2)}destroyAll(){this.drain(w)}destroyMany(e){const t=this.removeMany(e);return t.forEach(w),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);const s=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:s})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);const s=[];return C(s,this,e,t),new r(s)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);const s=this._items.map(e,t);return new r({items:s})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);const s=this.indexOf(e);if(-1!==s){if(t<0?t=0:t>=this.length&&(t=this.length-1),s!==t){if(this._emitBeforeChanges(4))return e;this._splice(s,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=M(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,f.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduce(e,t):s.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduceRight(e,t):s.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=M(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof r?e.toArray():e,s=this._items,i=[],n=t.length;for(let e=0;e<n;e++){const r=t[e],n=s.indexOf(r);if(n>-1){const r=1+T(t,s,e+1,n+1),o=this._splice(n,r);o&&o.length>0&&i.push.apply(i,o),e+=r-1}}return this._emitAfterChanges(2),i}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=M(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let s=0;s<t;s++)if(e(this.items[s],this.items[s+1])>0)return!0;return!1}splice(e,t,...s){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const r=(t?2:0)|(s.length?1:0);if(this._emitBeforeChanges(r))return[];const i=this._splice(e,t,s)||[];return this._emitAfterChanges(r),i}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map(t=>(0,x.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,s){const r=this._items,i=this.itemType;let n,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,c._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(o=r.splice(e,t),this.hasEventListener("before-remove")){const t=I.acquire();t.target=this,t.cancellable=!0;for(let s=0,i=o.length;s<i;s++)n=o[s],t.reset(n),this.emit("before-remove",t),t.defaultPrevented&&(o.splice(s,1),r.splice(e,0,n),e+=1,s-=1,i-=1);I.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const e=I.acquire();e.target=this,e.cancellable=!1;const t=o.length;for(let s=0;s<t;s++)e.reset(o[s]),this.emit("after-remove",e);I.release(e)}}if(s?.length){if(i){const e=[];for(const t of s){const s=i.ensureType(t);null==s&&null!=t||e.push(s)}s=e}const t=this.hasEventListener("before-add"),n=this.hasEventListener("after-add"),o=e===this.length;if(t||n){const i=I.acquire();i.target=this,i.cancellable=!0;const a=I.acquire();a.target=this,a.cancellable=!1;for(const h of s)t?(i.reset(h),this.emit("before-add",i),i.defaultPrevented||(o?r.push(h):r.splice(e++,0,h),this._length=r.length,n&&(a.reset(h),this.emit("after-add",a)))):(o?r.push(h):r.splice(e++,0,h),this._length=r.length,a.reset(h),this.emit("after-add",a));I.release(a),I.release(i)}else{if(o)for(const e of s)r.push(e);else r.splice(e,0,...s);this._length=r.length}}if((s?.length||o?.length)&&this._notifyChangeEvent(s,o),this.hasEventListener("after-splice")){const r=new b(this,s,o,e,t);this.emit("after-splice",r)}return o}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const s=I.acquire();s.target=this,s.cancellable=!0,s.type=e,this.emit("before-changes",s),t=s.defaultPrevented,I.release(s)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=I.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),I.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;S.clear(),F.clear(),P.clear();for(const{added:t,removed:s}of e){if(t)if(0===P.size&&0===F.size)for(const e of t)S.add(e);else for(const e of t)F.has(e)?(P.add(e),F.delete(e)):P.has(e)||S.add(e);if(s)if(0===P.size&&0===S.size)for(const e of s)F.add(e);else for(const e of s)S.has(e)?S.delete(e):(P.delete(e),F.add(e))}const s=n.A.acquire();S.forEach(e=>{s.push(e)});const r=n.A.acquire();F.forEach(e=>{r.push(e)});const i=this._items,o=t.items,a=n.A.acquire();if(P.forEach(e=>{o.indexOf(e)!==i.indexOf(e)&&a.push(e)}),t.listeners&&(s.length||r.length||a.length)){const e={target:this,added:s,removed:r,moved:a},i=t.listeners.length;for(let s=0;s<i;s++){const r=t.listeners[s];r.removed||r.callback.call(this,e)}}n.A.release(s),n.A.release(r),n.A.release(a)}S.clear(),F.clear(),P.clear()}};(0,i.Cg)([(0,p.MZ)()],k.prototype,"_updating",void 0),(0,i.Cg)([(0,p.MZ)()],k.prototype,"_length",void 0),(0,i.Cg)([(0,p.MZ)()],k.prototype,"length",null),(0,i.Cg)([(0,p.MZ)()],k.prototype,"items",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],k.prototype,"updating",null),k=r=(0,i.Cg)([(0,g.$)("esri.core.Collection")],k);const z=k},563(e,t,s){s.d(t,{QueueProcessor:()=>l,SharedConcurrency:()=>d});var r=s(97768),i=s(17676),n=s(9775),o=s(32587),a=s(76030),h=s(44794);class l{constructor(e){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=e.process,this.concurrency=e.concurrency,this.sharedConcurrency=e.sharedConcurrency??c,this._queue=new n.A(e.peeker)}destroy(){this.clear(),this._schedule=(0,r.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(e){const t=this._controllers.get(e);t?.abort()}clear(){this._queue.clear();const e=Array.from(this._controllers.values());this._controllers.clear(),e.forEach(e=>e.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(e){this._deferreds.forEach((t,s)=>e(s))}_get(e){const t=this._deferreds.get(e);return t?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(e,t){const s=this._get(e);if(s)return s;const r=new AbortController,n=Promise.withResolvers(),o=t?(0,i.u7)(t,()=>r.abort()):null,a=(0,i.NY)(r.signal,()=>{const t=this._processingItems.get(e);t&&t.controller.abort(),h(),n.reject((0,i.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(e),this._queue.remove(e),this._scheduleNext()};return this._deferreds.set(e,n),this._controllers.set(e,r),n.promise.then(h,h),this._queue.push(e),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const e=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const t of e)this._queue.push(t.item),t.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const e=[];for(;this._queue.length;)e.push(this._queue.pop());return this.clear(),e}_removeItem(e){this._deferreds.delete(e),this._controllers.delete(e),this._processingItems.has(e)&&(this._processingItems.delete(e),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).resolve(t))}_processError(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).reject(t))}_canProcessFulfillment(e){return!!this._deferreds.get(e.item)&&this._processingItems.get(e.item)===e}_process(e){if(null==e)return;let t;const s=new AbortController,r=new u(e,s);this._processingItems.set(e,r),this.sharedConcurrency.current.value+=1;try{t=this.process(e,s.signal)}catch(e){this._processError(r,e)}(0,i.$X)(t)?(r.promise=t,t.then(e=>this._processResult(r,e),e=>this._processError(r,e))):this._processResult(r,t)}}class u{constructor(e,t){this.item=e,this.controller=t,this.promise=null}}class d{constructor(e){this.limit=e,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const c=new d(1/0)},32587(e,t,s){s.d(t,{A:()=>n});var r=s(62788),i=s(95488);class n{constructor(e){this._observable=new i.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,r.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,r.gc)(this._observable),this._map.entries()}forEach(e,t){(0,r.gc)(this._observable),this._map.forEach((s,r)=>e.call(t,s,r,this),t)}get(e){return(0,r.gc)(this._observable),this._map.get(e)}has(e){return(0,r.gc)(this._observable),this._map.has(e)}keys(){return(0,r.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const s of t){if(!this._map.has(s))continue;const t=this._map.get(s),r=e(t,s);r!==t&&this.set(s,r)}})}values(){return(0,r.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,r.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},7695(e,t,s){function r(e){return(t,s)=>{t[s]=e}}s.d(t,{u:()=>r})},48163(e,t,s){function r(){return[0,0]}function i(e){return[e[0],e[1]]}function n(e,t){return[e,t]}function o(){return n(1,1)}function a(){return n(1,0)}function h(){return n(0,1)}s.d(t,{Un:()=>l,fA:()=>n,o8:()=>i,vt:()=>r});const l=o(),u=a(),d=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_X:u,UNIT_Y:d,ZEROS:[0,0],clone:i,create:r,freeze:function(e,t){return[e,t]},fromArray:function(e,t=[0,0]){const s=Math.min(2,e.length);for(let r=0;r<s;++r)t[r]=e[r];return t},fromValues:n,ones:o,unitX:a,unitY:h,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},36708(e,t,s){s.d(t,{C_:()=>c,OH:()=>p,Vh:()=>m,on:()=>d,pc:()=>g,wB:()=>h,z7:()=>l});var r=s(37955),i=s(36563),n=s(97768),o=s(17676),a=s(14012);function h(e,t,s={}){return u(e,t,s,_)}function l(e,t,s={}){return u(e,t,s,f)}function u(e,t,s={},r){let i=null;const o=s.once?(e,s)=>{r(e)&&((0,n.xt)(i),t(e,s))}:(e,s)=>{r(e)&&t(e,s)};if(i=(0,a.Cn)(e,o,s.sync,s.equals),s.initial){const t=e();o(t,t)}return i}function d(e,t,s,o={}){let a=null,l=null,u=null;function d(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function c(e){o.once&&o.once&&(0,n.xt)(u),s(e)}const _=h(e,(e,s)=>{d(),(0,r.wb)(e)&&(a=e,l=(0,r.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return u=(0,i.hA)(()=>{_.remove(),d()}),u}function c(e,t){return function(e,t,s){if((0,o.G4)(s))return Promise.reject((0,o.NK)());const r=e();if(t?.(r))return Promise.resolve(r);let a=null;function h(){a=(0,n.xt)(a)}return new Promise((r,n)=>{a=(0,i.vE)([(0,o.u7)(s,()=>{h(),n((0,o.NK)())}),u(e,e=>{h(),r(e)},{sync:!1,once:!0},t??_)])})}(e,f,t)}function _(e){return!0}function f(e){return!!e}s(80559);const p={sync:!0},m={initial:!0},g={sync:!0,initial:!0}},36745(e,t,s){s.d(t,{z:()=>a});var r=s(4718),i=s(51118),n=s(60408),o=s(92722);class a{static fromOptimized(e,t,s=1){return(new h).initialize(e,t,s)}static fromJSON(e){const[t,s]=u(e),r=(0,n.Pv)(e),i=(0,n.W0)(e);return(new d).initialize(t,s,r,i,1)}static fromOptimizedCIM(e,t,s=1){return(new c).initialize(e,t,s)}static fromJSONCIM(e,t=1){const[s,r]=u(e),i=(0,n.Pv)(e),o=(0,n.W0)(e);return(new _).initialize(s,r,i,o,t)}static fromFeatureSetReader(e){const t=e.readGeometryForDisplay(),s=e.geometryType;return t&&s?this.fromOptimized(t,s):null}static fromFeatureSetReaderCIM(e){const t=e.readGeometryForDisplay(),s=e.geometryType;return t&&s?this.fromOptimizedCIM(t,s):null}static createEmptyOptimized(e,t=!1,s=!1,r=1){return(new c).initialize(new o.A([],[],t,s),e,r)}static createEmptyJSON(e,t=!1,s=!1){return(new d).initialize([],e,t,s,1)}static createEmptyOptimizedCIM(e,t=!1,s=!1,r=1){return(new c).initialize(new o.A([],[],t,s),e,r)}static createEmptyJSONCIM(e,t=!1,s=!1,r=1){return(new _).initialize([],e,t,s,r)}asJSON(){const e=(0,i.x)(this),{hasZ:t,hasM:s}=this;return"esriGeometryEnvelope"===this.geometryType?{xmin:e[0][0][0],ymin:e[0][0][1],xmax:e[0][2][0],ymax:e[0][2][1]}:"esriGeometryMultipoint"===this.geometryType?{points:e.flat(),hasZ:t,hasM:s}:"esriGeometryPoint"===this.geometryType?{x:e[0][0][0],y:e[0][0][1],z:t?e[0][0][2]:void 0,m:s?e[0][0][t?3:2]:void 0}:"esriGeometryPolygon"===this.geometryType?{rings:e,hasZ:t,hasM:s}:{paths:e,hasZ:t,hasM:s}}getCurrentRingArea(){if(this.pathSize<3)return 0;let e,t,s=0;if(this.seekPathStart(),!this.nextPoint())return 0;e=this.x,t=this.y;const r=e,i=t;for(;this.nextPoint();)s+=(e-this.x)*(t+this.y),e=this.x,t=this.y;return s+=(e-r)*(t+i),-.5*s}invertY(){this.yFactor*=-1}}class h extends a{constructor(){super(...arguments),this._end=-1}get hasZ(){return this._geometry?.hasZ}get hasM(){return this._geometry?.hasM}initialize(e,t,s){return this.geometryType=t,this._stride=e.stride,this._geometry=e,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=s,this}reset(){this.initialize(this._geometry,this.geometryType,this.yFactor)}seekPath(e){if(e>=0&&e<this.totalSize){if(this._pathIndex<e)for(;this._pathIndex<e&&this.nextPath(););else if(this._pathIndex>e)for(;this._pathIndex>e&&this.prevPath(););return!0}return!1}seekPathStart(){this._pointOffset=this._pathOffset-this._stride}seekPathEnd(){this._pointOffset=this._end}seekInPath(e){const t=this._pathOffset+e*this._stride;return t>=0&&t<this._end&&(this._pointOffset=t,!0)}nextPoint(){return(this._pointOffset+=this._stride)<this._end}prevPoint(){return(this._pointOffset-=this._stride)>=this._pathOffset}nextPath(){return!(this.pathIndex>=this.totalSize-1||(this._pathIndex>=0&&(this._pathOffset+=this._stride*this.pathSize),this._pathIndex++,this._pointOffset=this._pathOffset-this._stride,this._end=this._pointOffset+this._stride+this._stride*this.pathSize,0))}prevPath(){return!(this.pathIndex<=0||(this._pathIndex--,this._end=this._pathOffset,this._pathOffset-=this._stride*this.pathSize,this._pointOffset=this._pathOffset-this._stride,0))}getCurrentPath(){const e=this._end,t=this._geometry.coords,s=this._pathOffset;return(new h).initialize(new o.A([this.pathSize],t.slice(s,e),this.hasZ,this.hasM),this.geometryType,this.yFactor)}pathLength(){const e=this._end,t=this._stride,s=this._geometry.coords;let r=0;for(let i=this._pathOffset+t;i<e;i+=t){const e=s[i-t],n=s[i-t+1],o=s[i]-e,a=s[i+1]-n;r+=Math.sqrt(o*o+a*a)}return r}startPath(){this._geometry.lengths.push(0)}pushPath(e){this.startPath(),this.pushPoints(e)}pushPoint(e){for(let t=0;t<this._stride;++t)this._geometry.coords.push(e[t]);this._geometry.lengths[this.totalSize-1]++}pushXY(e,t){this._geometry.coords.push(e,t),this._geometry.lengths[this.totalSize-1]++}pushPoints(e){for(const t of e)for(let e=0;e<this._stride;++e)this._geometry.coords.push(t[e]);this._geometry.lengths[this.totalSize-1]+=e.length}pushCursor(e){const t=e.asOptimized();this._geometry.coords.push(...t.coords),this._geometry.lengths.push(...t.lengths)}asOptimized(){const e=this._geometry.clone();if(1!==this.yFactor)for(let t=1;t<e.coords.length;t+=this._stride)e.coords[t]*=this.yFactor;return"esriGeometryPoint"===this.geometryType&&(e.lengths.length=0),e}isClosed(){const e=this._geometry.coords,t=this._pathOffset,s=this._end-this._stride;for(let r=0;r<this._stride;r++)if(e[t+r]!==e[s+r])return!1;return!0}clone(){return(new h).initialize(this._geometry.clone(),this.geometryType,this.yFactor)}get totalPoints(){return this._geometry.isPoint?1:this._geometry.lengths.reduce((e,t)=>e+t)}get pathSize(){const{lengths:e}=this._geometry;return this._geometry.isPoint?1:this._pathIndex<0||this._pathIndex>e.length-1?0:e[this._pathIndex]}get totalSize(){return this._geometry.isPoint?1:this._geometry.lengths.length}get x(){return this._geometry.coords[this._pointOffset]}set x(e){this._geometry.coords[this._pointOffset]=e}get y(){return this.yFactor*this._geometry.coords[this._pointOffset+1]}set y(e){this._geometry.coords[this._pointOffset+1]=this.yFactor*e}get z(){return this._geometry.coords[this._pointOffset+2]}set z(e){this._geometry.coords[this._pointOffset+2]=e}get m(){const e=this.hasZ?3:2;return this._geometry.coords[this._pointOffset+e]}set m(e){this._geometry.coords[this._pointOffset+3]=e}get pathIndex(){return this._pathIndex}get _coordIndex(){return this._pointOffset/this._stride}}function l(e){const t=[e.x,e.y];return e.z&&t.push(e.z),e.m&&t.push(e.m),t}function u(e){return(0,n.Bi)(e)?[e.rings,"esriGeometryPolygon"]:(0,n.Rg)(e)?[e.paths,"esriGeometryPolyline"]:(0,n.U9)(e)?[[e.points],"esriGeometryMultipoint"]:(0,n.ZC)(e)?[[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]],"esriGeometryEnvelope"]:(0,n.fT)(e)?[[[l(e)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class d extends a{initialize(e,t,s,r,i){return this._paths=e,this.geometryType=t,this.hasZ=s,this.hasM=r,this._pathIndex=this._pointIndex=-1,this.yFactor=i,this._mIndex=this.hasZ?3:2,this}reset(){this._pathIndex=this._pointIndex=-1}seekPath(e){return this._pathIndex=e,this._pointIndex=-1,e>=0&&e<this.totalSize&&(this._currentPath=this._paths[e],!0)}seekPathStart(){this._pointIndex=-1}seekPathEnd(){this._pointIndex=this._currentPath.length}seekInPath(e){return e>=0&&e<this._currentPath.length&&(this._pointIndex=e,this._currentPoint=this._currentPath[this._pointIndex],!0)}nextPoint(){return this._currentPoint=this._currentPath[++this._pointIndex],this._pointIndex<this._currentPath.length}prevPoint(){return this._currentPoint=this._currentPath[--this._pointIndex],this._pointIndex>=0}nextPath(){return this._pointIndex=-1,this._currentPath=this._paths[++this._pathIndex],this._pathIndex<this.totalSize}prevPath(){return this.pathIndex>0&&(this._pointIndex=-1,this._pathIndex--,this._currentPath=this._paths[this._pathIndex],!0)}pathLength(){const e=this._currentPath.length,t=this._currentPath;let s=0;for(let r=1;r<e;r++){const e=t[r-1],i=t[r],n=e[0],o=e[1],a=i[0]-n,h=i[1]-o;s+=Math.sqrt(a*a+h*h)}return s}startPath(){this._paths.push([])}getCurrentPath(){return(new d).initialize([this._currentPath],this.geometryType,this.hasZ,this.hasM,this.yFactor)}pushPath(e){this._paths.push(e)}pushPoint(e){this._paths[this.totalSize-1].push(e)}pushXY(e,t){this._paths[this.totalSize-1].push([e,t])}pushPoints(e){this._paths[this.totalSize-1].push(...e)}pushCursor(e){const t=(0,i.x)(e);for(const e of t)this.pushPath(e)}asOptimized(){const{hasZ:e,hasM:t}=this,s=new o.A([],[],e,t),{coords:r,lengths:i}=s;if("esriGeometryPoint"===this.geometryType)r.push(...this._paths[0][0]),i.length=0;else for(const s of this._paths){for(const i of s)r.push(i[0]),r.push(i[1]*this.yFactor),e&&r.push(i[2]),t&&r.push(i[this._mIndex]);i.push(s.length)}return s}isClosed(){const e=this._currentPath[0],t=this._currentPath[this._currentPath.length-1];for(let s=0;s<e.length;s++)if(e[s]!==t[s])return!1;return!0}clone(){return(new d).initialize((0,r.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}get totalPoints(){return this._paths.map(e=>e.length).reduce((e,t)=>e+t)}get pathSize(){return this._pathIndex<0||this._pathIndex>this.totalSize-1?-1:this._paths[this._pathIndex].length}get totalSize(){return this._paths.length}get x(){return this._currentPoint[0]}set x(e){this._currentPoint[0]=e}get y(){return this.yFactor*this._currentPoint[1]}set y(e){this._currentPoint[1]=this.yFactor*e}get z(){return this._currentPoint[2]}set z(e){this._currentPoint[2]=e}get m(){return this._currentPoint[this._mIndex]}set m(e){this._currentPoint[this._mIndex]=e}get pathIndex(){return this._pathIndex}}class c extends h{initialize(e,t,s){return super.initialize(e,t,s),this._controlPoints||(this._controlPoints=this._controlPoints=new Array(this.totalSize).fill(void 0).map(e=>new Set)),this}startPath(){super.startPath(),this._controlPoints.push(new Set)}clone(){const e=(new c).initialize(this._geometry.clone(),this.geometryType,this.yFactor);return e._controlPoints=this._controlPoints,e}setControlPoint(){this._controlPoints[this.pathIndex].add(this._coordIndex)}getControlPoint(){return this._controlPoints[this.pathIndex].has(this._coordIndex)}setControlPointAt(e){this._controlPoints[this.pathIndex].add(e)}getControlPointAt(e){return this._controlPoints[this.pathIndex].has(e)}}class _ extends d{initialize(e,t,s,r,i){return super.initialize(e,t,s,r,i)}clone(){return(new _).initialize((0,r.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}setControlPoint(){this._paths[this.pathIndex][this._pointIndex][4]=1}getControlPoint(){return 1===this._paths[this.pathIndex][this._pointIndex][4]}setControlPointAt(e){this._paths[this.pathIndex][e][4]=1}getControlPointAt(e){return 1===this._paths[this.pathIndex][e][4]}}},60408(e,t,s){function r(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 n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function h(e){return"object"==typeof e&&"vertexAttributes"in e}function l(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function u(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}s.d(t,{$B:()=>l,Bi:()=>a,Pv:()=>u,Rg:()=>o,U9:()=>i,W0:()=>d,ZC:()=>r,fT:()=>n,uW:()=>h})},65864(e,t,s){s.d(t,{rS:()=>u,xD:()=>c});var r=s(5443),i=s(91075),n=s(48526),o=s(86738),a=s(39829),h=s(82799),l=s(60408);function u(e){return null==e?null:e instanceof i.A?e:(0,l.fT)(e)?o.A.fromJSON(e):(0,l.Rg)(e)?h.A.fromJSON(e):(0,l.Bi)(e)?a.A.fromJSON(e):(0,l.U9)(e)?n.A.fromJSON(e):(0,l.ZC)(e)?r.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},32011(e,t,s){s.d(t,{d:()=>h});var r=s(19419),i=s(537),n=s(12359),o=s(95108),a=s(12176);function h(e){if(0===e.totalSize)return null;const t=(0,i.z8)(e);if(!t)return null;const s=4*(Math.abs(t[0])+Math.abs(t[2])+Math.abs(t[1])+Math.abs(t[3])+1)*222045e-19;let o=0,a=0;e.reset();for(let t=0;e.nextPath();t++){const s=e.getCurrentRingArea();s>a&&(a=s,o=t)}if(e.seekPath(o),0===e.pathSize)return null;e.seekPathStart();const h=(0,i.B$)(e);if(Math.abs(a)<=2*s*s)return[(h[0]+h[2])/2,(h[1]+h[3])/2];e.seekPathStart();const c=(0,n.w2)(e,(0,r.vt)());if(null===c)return null;if(e.totalPoints<4)return c;const _=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],f=[NaN,NaN,NaN,NaN],y=[NaN,NaN,NaN,NaN];let x=!1,v=u(c,e,!0);0===v.distance&&(x=!0,_[0][0]=c[0],_[0][1]=c[1],v=u(c,e,!1)),f[0]=v.distance,y[0]=0;const b=[NaN,NaN];let I=!1,w=.25,A=-1,M=NaN;do{if(M=NaN,_[1]=d(e,p(h[0],h[2],w),0,t),isNaN(_[1][0])||isNaN(_[1][1])||(v=u(_[1],e,!1),M=v.distance),!isNaN(M)&&M>s&&l(_[1],e))I=!0,f[1]=M,y[1]=m(_[1],c);else if(!isNaN(M)&&M>A&&(A=M,b[0]=_[1][0],b[1]=_[1][1]),w-=.01,w<.1){if(!(A>=0))break;I=!0,f[1]=A,_[1][0]=b[0],_[1][1]=b[1],y[1]=m(_[1],c)}}while(!I);I=!1,w=.5,A=-1;let T=.01,C=1;do{if(M=NaN,_[2]=d(e,p(h[0],h[2],w),0,t),isNaN(_[2][0])||isNaN(_[2][1])||(v=u(_[2],e,!1),M=v.distance),!isNaN(M)&&M>s&&l(_[2],e))I=!0,f[2]=M,y[2]=m(_[2],c);else if(!isNaN(M)&&M>A)A=M,b[0]=_[2][0],b[1]=_[2][1];else if(M>A&&(A=M,b[0]=_[2][0],b[1]=_[2][1]),w=.5+T*C,T+=.01,C*=-1,w<.3||w>.7){if(!(A>=0))break;I=!0,f[2]=A,_[2][0]=b[0],_[2][1]=b[1],y[2]=m(_[2],c)}}while(!I);I=!1,w=.75,A=-1;do{if(M=NaN,_[3]=d(e,p(h[0],h[2],w),0,t),isNaN(_[3][0])||isNaN(_[3][1])||(v=u(_[3],e,!1),M=v.distance),!isNaN(M)&&M>s&&l(_[3],e))I=!0,f[3]=M,y[3]=m(_[3],c);else if(M>A&&(A=M,b[0]=_[3][0],b[1]=_[3][1]),w+=.01,w>.9){if(!(A>=0))break;I=!0,f[3]=A,_[3][0]=b[0],_[3][1]=b[1],y[3]=m(_[3],c)}}while(!I);const S=[0,1,2,3],F=x?0:1;let P;for(let e=F;e<4;e++)for(let e=F;e<3;e++){const t=y[e],s=y[e+1];g(t,s)>0&&(P=S[e],S[e]=S[e+1],S[e+1]=P,y[e]=s,y[e+1]=t)}let O=F,N=0,k=0;for(let e=F;e<4;e++){switch(e){case 0:k=2*f[S[e]];break;case 1:k=1.66666666*f[S[e]];break;case 2:k=1.33333333*f[S[e]];break;case 3:k=f[S[e]]}k>N&&(N=k,O=S[e])}return _[O]}function l(e,t){let s,r,i,n,o=0;for(t.reset();t.nextPath()&&t.nextPoint();)for(s=t.x,r=t.y;t.nextPoint();s=i,r=n)i=t.x,n=t.y,r>e[1]!=n>e[1]&&((i-s)*(e[1]-r)-(n-r)*(e[0]-s)>0?o++:o--);return 0!==o}function u(e,t,s){if(s&&l(e,t))return{coord:e,distance:0};let r=1/0,i=0,n=0,a=[0,0],h=[0,0];const u=[0,0];for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(a[0]=t.x,a[1]=t.y;t.nextPoint();a=h){h=[t.x,t.y],(0,o.gR)(u,e,a,h);const s=m(e,u);s<r&&(r=s,i=u[0],n=u[1])}return{coord:[i,n],distance:Math.sqrt(r)}}function d(e,t,s,i){const n=[t,0];let o=1/0,h=1/0,l=!1,u=!1;const d=[[t,i[1]-1],[t,i[3]+1]],f=[0,0],p=[0,0],m=[0,0],g=[[0,0],[0,0]],y=(0,r.vt)();for(e.reset();e.nextPath()&&e.nextPoint();)if(!(e.pathSize<2))for(g[0][0]=e.x,g[0][1]=e.y;e.nextPoint();g[0][0]=g[1][0],g[0][1]=g[1][1]){if(g[1][0]=e.x,g[1][1]=e.y,null===c(y,g))continue;if(p[0]=d[0][0],p[1]=d[0][1],m[0]=d[1][0],m[1]=d[1][1],0===_(y,p,m))continue;if(!(0,a.Ql)(d[0],d[1],g[0],g[1],f))continue;const t=f[1];o>h?t<o&&(o=t,l=!0):t<h&&(h=t,u=!0)}return l&&u?n[1]=(o+h)/2:n[0]=n[1]=NaN,n}function c(e,t){if(t.length<2)return null;e||(e=(0,r.vt)());const[s,i]=t[0],[n,o]=t[1];return e[0]=Math.min(s,n),e[1]=Math.min(i,o),e[2]=Math.max(s,n),e[3]=Math.max(i,o),e}function _(e,t,s){let r=f(t,e),i=f(s,e);const n=e[0],o=e[1],a=e[2],h=e[3];if(r&i)return 0;if(!(r|i))return 4;const l=(r?1:0)|(i?2:0);do{const l=s[0]-t[0],u=s[1]-t[1];if(l>u)3&r?(1&r?(t[1]+=u*(n-t[0])/l,t[0]=n):(t[1]+=u*(a-t[0])/l,t[0]=a),r=f(t,e)):3&i?(1&i?(s[1]+=u*(n-s[0])/l,s[0]=n):(s[1]+=u*(a-s[0])/l,s[0]=a),i=f(s,e)):r?(4&r?(t[0]+=l*(o-t[1])/u,t[1]=o):(t[0]+=l*(h-t[1])/u,t[1]=h),r=f(t,e)):(4&i?(s[0]+=l*(o-s[1])/u,s[1]=o):(s[0]+=l*(h-s[1])/u,s[1]=h),i=f(s,e));else if(12&r?(4&r?(t[0]+=l*(o-t[1])/u,t[1]=o):(t[0]+=l*(h-t[1])/u,t[1]=h),r=f(t,e)):12&i?(4&i?(s[0]+=l*(o-s[1])/u,s[1]=o):(s[0]+=l*(h-s[1])/u,s[1]=h),i=f(s,e)):r?(1&r?(t[1]+=u*(n-t[0])/l,t[0]=n):(t[1]+=u*(a-t[0])/l,t[0]=a),r=f(t,e)):(1&i?(s[1]+=u*(n-s[0])/l,s[0]=n):(s[1]+=u*(a-s[0])/l,s[0]=a),i=f(s,e)),r&i)return 0}while(r|i);return l}function f(e,t){return(e[0]<t[0]?1:0)|(e[0]>t[2]?1:0)<<1|(e[1]<t[1]?1:0)<<2|(e[1]>t[3]?1:0)<<3}function p(e,t,s){return e+(t-e)*s}function m(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}function g(e,t){if(e<t)return-1;if(e>t)return 1;if(e===t)return 0;const s=isNaN(e),r=isNaN(t);return s<r?-1:s>r?1:0}},64714(e,t,s){s.d(t,{F0:()=>a,Vx:()=>u,e2:()=>c,f:()=>_});var r=s(44208),i=s(4718),n=s(99352),o=s(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const h=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let l=1;function u(e,t){if((0,r.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let s=`this${d(t)} = null;`;for(const t in e)s+=`this${d(t)} = ${JSON.stringify(e[t])};`;const r=new Function(`\n return class AttributesClass$${l++} {\n constructor() {\n ${s};\n }\n }\n `)();return()=>new r}catch(s){return()=>({[t]:null,...e})}}function d(e){return h.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function _(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:n.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:n.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},17754(e,t,s){function r(e){return e>>>24&255}function i(e){return 16777215&e}function n(e,t){return e<<24|t}s.d(t,{gE:()=>i,wY:()=>r,xb:()=>n})},39357(e,t,s){s.d(t,{A:()=>a});var r,i=s(5482),n=s(25482),o=s(91429);let a=r=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,s){s.d(t,{A:()=>u});var r,i=s(5482),n=s(4718),o=s(91429),a=s(39357),h=s(76357),l=s(93223);let u=class extends h.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const s=String(e);this.codedValues.some(e=>(String(e.code)===s&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],u.prototype,"codedValues",void 0),(0,i.Cg)([(0,l.e)({codedValue:"coded-value"})],u.prototype,"type",void 0),u=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],u)},76357(e,t,s){s.d(t,{A:()=>l});var r=s(5482),i=s(66552),n=s(25482),o=s(91429),a=s(93223);const h=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let l=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"name",void 0),(0,r.Cg)([(0,a.e)(h),(0,o.MZ)({json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],l)},20437(e,t,s){s.d(t,{A:()=>f});var r,i=s(5482),n=s(66552),o=s(25482),a=s(91429),h=s(56507),l=s(8631),u=s(98453),d=s(36005),c=s(93223);const _=new n.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 f=class extends o.o{static{r=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 s=null;try{s=t?JSON.parse(t):null}catch(e){}return s?.value??null}readValueType(e,{description:t}){let s=null;try{s=t?JSON.parse(t):null}catch(e){}return s?_.fromJSON(s.fieldValueType):null}clone(){return new r({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,a.MZ)({type:String,json:{write:!0}})],f.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],f.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],f.prototype,"description",void 0),(0,i.Cg)([(0,d.w)("description")],f.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:l.g,json:{read:{reader:l.r},write:!0}})],f.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:h.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],f.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],f.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"nullable",void 0),(0,i.Cg)([(0,c.e)(u.m)],f.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],f.prototype,"valueType",void 0),(0,i.Cg)([(0,d.w)("valueType",["description"])],f.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],f.prototype,"visible",void 0),f=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],f)},41628(e,t,s){s.d(t,{A:()=>h});var r,i=s(5482),n=s(91429),o=s(76357),a=s(93223);let h=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,n.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,s){t[s]=[this.minValue||0,e]},isRequired:!0}}})],h.prototype,"maxValue",void 0),(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,s){t[s]=[e,this.maxValue||0]},isRequired:!0}}})],h.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],h.prototype,"type",void 0),h=r=(0,i.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],h)},8631(e,t,s){s.d(t,{r:()=>c,g:()=>d});var r,i=s(53177),n=s(76357),o=s(5482),a=s(91429),h=s(93223);let l=class extends n.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,h.e)({inherited:"inherited"})],l.prototype,"type",void 0),l=r=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],l);var u=s(41628);const d={key:"type",base:n.A,typeMap:{range:u.A,"coded-value":i.A,inherited:l}};function c(e){if(!e?.type)return null;switch(e.type){case"range":return u.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return l.fromJSON(e)}return null}},98453(e,t,s){s.d(t,{m:()=>r});const r=new(s(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"})},39412(e,t,s){s.d(t,{N:()=>n});var r=s(2741);let i=null;async function n(){return i||(i=async function(){const e=await s.e(7733).then(s.bind(s,57733));return await e.default({module_or_path:(0,r.s)("esri/libs/parquet/pkg/bundle_bg.wasm")}),e}()),i}},2272(e,t,s){s.d(t,{Dl:()=>l,gf:()=>d,jV:()=>h,lF:()=>u});var r=s(92602),i=s(70333),n=s(4718),o=s(84952),a=s(926);function h(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function l(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function u(e,t,s){const r={};for(const i in e){if("declaredClass"===i)continue;const n=e[i];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))r[i]=n.map(e=>u(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(s?.[i]);r[i]=t?e:JSON.stringify(e)}else r[i]=t?n:JSON.stringify(n);else r[i]=n}return r}async function d(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&r.A.request.useIdentity&&await Promise.all([s.e(7632),s.e(9450),s.e(148)]).then(s.bind(s,50148));const h=await i.id.getCredential(e,n);return h?.token}},926(e,t,s){s.d(t,{Dd:()=>c,Jn:()=>_,Qc:()=>f,getApiKey:()=>u,getSessionToken:()=>d});var r=s(92602),i=s(11254),n=s(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),h=new Map;let l=null;function u(e){if(!f(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),s=r.A.apiKeys;if(Array.isArray(s.scopes))for(const e of s.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return s.basemapStyles&&o.test(e)?s.basemapStyles:r.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?r.A.apiKey:null}async function d(e){if(!r.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=u(e);if(!t)return null;l&&await l;const{styleFamily:s="arcgis",autoRefresh:n,duration:a=43200}=r.A.sessions.basemap,d=`${t}:${s}`,c=h.get(d);if(c&&(!n||c.endTime>Date.now()))return c.sessionToken;let _;l=(0,i.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:s,token:t}});try{_=(await l).data,_.endTime-=5e3,h.set(d,_)}finally{l=null}return _.sessionToken}function c(){return null!=r.A.apiKey||null!=r.A.apiKeys.basemapStyles}function _(e,t){return t?f(e):null!=u(e)}function f(e){const t=(0,n.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},50115(e,t,s){s.d(t,{OP:()=>o,V4:()=>i,rZ:()=>n}),s(44208);var r=s(53966);function i(e,t,s){if(null==e)return null;const i=t.readArcadeFeature();t.contextTimeZone=s.$view?.timeZone;try{return e.evaluate(i,s)}catch(e){return r.A.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:",e),null}}function n(e){return null==e||e===1/0||e===-1/0||"number"==typeof e&&isNaN(e)}function o(e,t,s,r){if(null==e)return null!=r?r:null;const i=t.readArcadeFeature();t.contextTimeZone=s.$view?.timeZone;const o=e.evaluate(i,s);return n(o)?null!=r?r:null:o}},30661(e,t,s){s.d(t,{Z:()=>n});var r=s(43334),i=s(8446);class n{static{this.Shared=new n}getObjectId(e){return e.getObjectId()}getAttributes(e){return e.readAttributes()}getAttribute(e,t){return e.readAttribute(t)}getAttributeAsTimestamp(e,t){return e.readAttributeAsTimestamp(t)}cloneWithGeometry(e,t,s){const n=e.readAttributes(),o=new r.Om(t,n,null,e.getObjectId(),e.getDisplayId()),a=i.K.fromOptimizedFeatures([o],e.metadata);return a.setIndex(0),a}getGeometry(e){return e.readGeometryWorldSpace()}getCentroid(e,t){return e.readCentroidForDisplay()}}},63664(e,t,s){s.d(t,{B:()=>r});class r{constructor(e){this._statistics=e}get statistics(){return this._statistics}}},38976(e,t,s){s.d(t,{n:()=>n});var r=s(76213),i=s(9012);class n{constructor(e){this._options=e}insert(e,t){const s=e.getCursor(),{arcadeContextInfo:r,scale:n}=this._options,o=(0,i.N)(n,r);for(;s.next();)this._insertFeature(s,o,this._options.sqlOptions,t)}_insertFeature(e,t,s,i){const{featureFilter:n}=this._options;if(null!==n&&!n.check(e,s))return;let o=0,a=0;if("esriGeometryPoint"===e.geometryType)o=e.readXWorldSpace(),a=e.readYWorldSpace();else{if(i){const t=e.readCentroidForDisplay();if(null==t)return;const[s,i]=t.coords;if(s<0||s>r.CQ||i<0||i>r.CQ)return}const t=e.readCentroidWorldSpace();if(null==t)return;o=t.coords[0],a=t.coords[1]}this._insert(e,o,a,t)}}},92029(e,t,s){s.d(t,{o:()=>o});var r=s(69397),i=s(50115);const n=Math.PI/180;class o{static create(e){return new o(e.map(e=>function(e){switch(e.statisticType){case"min":return new h(e);case"max":return new l(e);case"avg":return new d(e);case"avg_angle":return new c(e);case"sum":case"count":return new u(e);case"mode":return new _(e)}}(e)))}constructor(e){this._statistics=e}static get estimatedMemory(){return r.qK+4*r.qK}values(){return this._statistics.values()}insert(e,t){for(const s of this._statistics)s.insert(e,t)}merge(e){for(let t=0;t<this._statistics.length;t++){const s=this._statistics[t],r=e._statistics[t];if(s.field.name!==r.field.name)throw new Error("InternalError: Tried to merge incompatible statistics");s.merge(r)}}clone(){return new o(this._statistics.map(e=>e.clone()))}}class a{constructor(e){this.field=e}insert(e,t){if(!this.field.computed)return;const s=this.field.computed.read(e,t);(0,i.rZ)(s)||this._insertValue(s)}}class h extends a{constructor(){super(...arguments),this.type="min",this.value=Number.MAX_VALUE}_insertValue(e){this.value=Math.min(this.value,e)}merge(e){this.value=Math.min(this.value,e.value)}clone(){const e=new h(this.field);return e.value=this.value,e}}class l extends a{constructor(){super(...arguments),this.type="max",this.value=Number.MIN_VALUE}_insertValue(e){this.value=Math.max(this.value,e)}merge(e){this.value=Math.max(this.value,e.value)}clone(){const e=new l(this.field);return e.value=this.value,e}}class u extends a{constructor(){super(...arguments),this.type="sum",this.value=0}_insertValue(e){this.value+=e}merge(e){this.value+=e.value}clone(){const e=new u(this.field);return e.value=this.value,e}}class d extends a{constructor(){super(...arguments),this.type="avg",this._total=0,this._count=0}get value(){return this._total/this._count}_insertValue(e){this._total+=e,this._count+=1}merge(e){this._total+=e._total,this._count+=e._count}clone(){const e=new d(this.field);return e._total=this._total,e._count=this._count,e}}class c extends a{constructor(){super(...arguments),this.type="avg_angle",this._x=0,this._y=0,this._count=0}get value(){const e=this._x/this._count,t=this._y/this._count,s=180/Math.PI;return Math.atan2(t,e)*s}_insertValue(e){this._x=this._x+Math.cos(e*n),this._y=this._y+Math.sin(e*n),this._count+=1}merge(e){this._x+=e._x,this._y+=e._y,this._count+=e._count}clone(){const e=new c(this.field);return e._x=this._x,e._y=this._y,e._count=this._count,e}}class _ extends a{constructor(){super(...arguments),this._frequencies=new Map}get value(){let e,t=0;for(const[s,r]of this._frequencies.entries())r>t&&(t=r,e=s);return e}_insertValue(e){const t=this._frequencies.get(e);null!=t?this._frequencies.set(e,t+1):this._frequencies.set(e,1)}merge(e){for(const[t,s]of e._frequencies.entries()){const e=this._frequencies.get(t);null!=e?this._frequencies.set(t,e+s):this._frequencies.set(t,s)}}clone(){const e=new _(this.field);return e._frequencies=new Map(this._frequencies),e}}},75538(e,t,s){s.d(t,{L:()=>a});var r=s(90708),i=s(92722),n=s(63664),o=s(92029);class a extends n.B{static createId(e,t){return`${e}.${t}`}static create(e,t,s,r){return new a(e,t,o.o.create(s),r)}constructor(e,t,s,r){super(s),this.gridX=e,this.gridY=t,this._worldUnitsPerCell=r,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._objectIds=new Set}get id(){return a.createId(this.gridX,this.gridY)}get containedObjectIds(){return this._objectIds}get count(){return this._count}get firstObjectId(){return this._objectIds.values().next().value}get centroidXWorld(){return this._xWorldTotal/this._count}get centroidYWorld(){return this._yWorldTotal/this._count}get usedMemory(){return 48}clone(){const e=new a(this.gridX,this.gridY,this._statistics.clone(),this._worldUnitsPerCell);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._firstFeatureAttributes=this._firstFeatureAttributes,e._objectIds=new Set(this._objectIds),e}insert(e,t,s,r){0===this._count?this._firstFeatureAttributes=e.readAttributes():this._firstFeatureAttributes=null,this._count+=1,this._xWorldTotal+=s,this._yWorldTotal+=r,this._statistics.insert(e,t),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._firstFeatureAttributes=e._firstFeatureAttributes,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroidX(e){return null==e?this.centroidXWorld:(0,r.IE)(e,this.centroidXWorld)}getCentroidY(e){return null==e?this.centroidYWorld:(0,r.B2)(e,this.centroidYWorld)}getGeometry(e,t){const s=this.gridX*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell,o=new i.A([4],[s,n,s+this._worldUnitsPerCell,n,s+this._worldUnitsPerCell,n+this._worldUnitsPerCell,s,n+this._worldUnitsPerCell]);return null!=t?(0,r.Nl)(o,"esriGeometryPolygon",t):o}getCentroid(e){const t=new i.A([],[this.centroidXWorld,this.centroidYWorld]);return null!=e?(0,r.Nl)(t,"esriGeometryPoint",e):t}getGeometricCentroid(e,t){const s=this.gridX*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,o=new i.A([],[s,n]);return null!=t?(0,r.Nl)(o,"esriGeometryPoint",t):o}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return null!=this._firstFeatureAttributes?{...e,...this._firstFeatureAttributes}:e}}},68974(e,t,s){s.d(t,{H:()=>h,p:()=>a});var r=s(69397),i=s(86211),n=s(38976),o=s(75538);function a(e,t){return(0,i.GA)(e)*i.dy*96/t}class h extends n.n{constructor(e){super(e),this._cells=new Map,this._pixelsPerMapUnit=a(e.spatialReference,e.scale)}get usedMemory(){const e=this._cells.values().next().value;return e?(r.RS+e.usedMemory)*this._cells.size:0}put(e){for(const t of this._cells.values()){const s=e.get(t.id);s?s.merge(t):e.set(t.id,t.clone())}}putBounded(e,t,s){const r=[t.xmin,t.ymin,t.xmax,t.ymax],[i,n,o,a]=r,h=Math.floor(i*this._pixelsPerMapUnit/this._options.cellSize),l=Math.floor(n*this._pixelsPerMapUnit/this._options.cellSize),u=Math.ceil(o*this._pixelsPerMapUnit/this._options.cellSize),d=Math.ceil(a*this._pixelsPerMapUnit/this._options.cellSize);for(let t=l;t<=d;t++)for(let s=h;s<=u;s++){const r=`${s}.${t}`,i=this._cells.get(r);if(!i)continue;const n=e.get(i.id);n?i&&!e.has(i.id)&&n.merge(i):e.set(i.id,i.clone())}}_insert(e,t,s,r){const i=t*this._pixelsPerMapUnit,n=s*this._pixelsPerMapUnit,o=Math.floor(i/this._options.cellSize),a=Math.floor(n/this._options.cellSize);this._getCellOrCreate(o,a).insert(e,r,t,s)}_getCellOrCreate(e,t){const s=o.L.createId(e,t);let r=this._cells.get(s);if(!r){const i=1*this._options.cellSize/this._pixelsPerMapUnit;r=o.L.create(e,t,this._options.fields,i),this._cells.set(s,r)}return r}}},70300(e,t,s){s.d(t,{K:()=>j});var r=s(69397),i=s(11006);function n(e,t){if(!(this instanceof n))return new n(e,t);this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this.toBBox=t:this._initFormat(t)),this.clear()}function o(e,t,s){if(!s)return t.indexOf(e);for(var r=0;r<t.length;r++)if(s(e,t[r]))return r;return-1}function a(e,t){h(e,0,e.children.length,t,e)}function h(e,t,s,r,i){i||(i=y(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var n,o=t;o<s;o++)n=e.children[o],l(i,e.leaf?r(n):n);return i}function l(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function u(e,t){return e.minX-t.minX}function d(e,t){return e.minY-t.minY}function c(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function _(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function p(e,t){var s=Math.max(e.minX,t.minX),r=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,i-s)*Math.max(0,n-r)}function m(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function g(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function y(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function x(e,t,s,r,n){for(var o,a=[t,s];a.length;)(s=a.pop())-(t=a.pop())<=r||(o=t+Math.ceil((s-t)/r/2)*r,(0,i.q)(e,o,t,s,n),a.push(t,o,o,s))}n.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,s=[],r=this.toBBox;if(!g(e,t))return s;for(var i,n,o,a,h=[];t;){for(i=0,n=t.children.length;i<n;i++)o=t.children[i],g(e,a=t.leaf?r(o):o)&&(t.leaf?s.push(o):m(e,a)?this._all(o,s):h.push(o));t=h.pop()}return s},collides:function(e){var t=this.data,s=this.toBBox;if(!g(e,t))return!1;for(var r,i,n,o,a=[];t;){for(r=0,i=t.children.length;r<i;r++)if(n=t.children[r],g(e,o=t.leaf?s(n):n)){if(t.leaf||m(e,o))return!0;a.push(n)}t=a.pop()}return!1},load:function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0,s=e.length;t<s;t++)this.insert(e[t]);return this}var r=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===r.height)this._splitRoot(this.data,r);else{if(this.data.height<r.height){var i=this.data;this.data=r,r=i}this._insert(r,this.data.height-r.height-1,!0)}else this.data=r;return this},insert:function(e){return null!=e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=y([]),this},remove:function(e,t){if(null==e)return this;for(var s,r,i,n,a=this.data,h=this.toBBox(e),l=[],u=[];a||l.length;){if(a||(a=l.pop(),r=l[l.length-1],s=u.pop(),n=!0),a.leaf&&-1!==(i=o(e,a.children,t)))return a.children.splice(i,1),l.push(a),this._condense(l),this;n||a.leaf||!m(a,h)?r?(s++,a=r.children[s],n=!1):a=null:(l.push(a),u.push(s),s=0,r=a,a=a.children[0])}return this},toBBox:function(e){return e},compareMinX:u,compareMinY:d,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var s=[];e;)e.leaf?t.push.apply(t,e.children):s.push.apply(s,e.children),e=s.pop();return t},_build:function(e,t,s,r){var i,n=s-t+1,o=this._maxEntries;if(n<=o)return a(i=y(e.slice(t,s+1)),this.toBBox),i;r||(r=Math.ceil(Math.log(n)/Math.log(o)),o=Math.ceil(n/Math.pow(o,r-1))),(i=y([])).leaf=!1,i.height=r;var h,l,u,d,c=Math.ceil(n/o),_=c*Math.ceil(Math.sqrt(o));for(x(e,t,s,_,this.compareMinX),h=t;h<=s;h+=_)for(x(e,h,u=Math.min(h+_-1,s),c,this.compareMinY),l=h;l<=u;l+=c)d=Math.min(l+c-1,u),i.children.push(this._build(e,l,d,r-1));return a(i,this.toBBox),i},_chooseSubtree:function(e,t,s,r){for(var i,n,o,a,h,l,u,d;r.push(t),!t.leaf&&r.length-1!==s;){for(u=d=1/0,i=0,n=t.children.length;i<n;i++)h=c(o=t.children[i]),(l=f(e,o)-h)<d?(d=l,u=h<u?h:u,a=o):l===d&&h<u&&(u=h,a=o);t=a||t.children[0]}return t},_insert:function(e,t,s){var r=this.toBBox,i=s?e:r(e),n=[],o=this._chooseSubtree(i,this.data,t,n);for(o.children.push(e),l(o,i);t>=0&&n[t].children.length>this._maxEntries;)this._split(n,t),t--;this._adjustParentBBoxes(i,n,t)},_split:function(e,t){var s=e[t],r=s.children.length,i=this._minEntries;this._chooseSplitAxis(s,i,r);var n=this._chooseSplitIndex(s,i,r),o=y(s.children.splice(n,s.children.length-n));o.height=s.height,o.leaf=s.leaf,a(s,this.toBBox),a(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(s,o)},_splitRoot:function(e,t){this.data=y([e,t]),this.data.height=e.height+1,this.data.leaf=!1,a(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,s){var r,i,n,o,a,l,u,d;for(l=u=1/0,r=t;r<=s-t;r++)o=p(i=h(e,0,r,this.toBBox),n=h(e,r,s,this.toBBox)),a=c(i)+c(n),o<l?(l=o,d=r,u=a<u?a:u):o===l&&a<u&&(u=a,d=r);return d},_chooseSplitAxis:function(e,t,s){var r=e.leaf?this.compareMinX:u,i=e.leaf?this.compareMinY:d;this._allDistMargin(e,t,s,r)<this._allDistMargin(e,t,s,i)&&e.children.sort(r)},_allDistMargin:function(e,t,s,r){e.children.sort(r);var i,n,o=this.toBBox,a=h(e,0,t,o),u=h(e,s-t,s,o),d=_(a)+_(u);for(i=t;i<s-t;i++)n=e.children[i],l(a,e.leaf?o(n):n),d+=_(a);for(i=s-t-1;i>=t;i--)n=e.children[i],l(u,e.leaf?o(n):n),d+=_(u);return d},_adjustParentBBoxes:function(e,t,s){for(var r=s;r>=0;r--)l(t[r],e)},_condense:function(e){for(var t,s=e.length-1;s>=0;s--)0===e[s].children.length?s>0?(t=e[s-1].children).splice(t.indexOf(e[s]),1):this.clear():a(e[s],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=new Function("a","b",t.join(e[0])),this.compareMinY=new Function("a","b",t.join(e[1])),this.toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}};var v=s(70328);class b{static fromReader(e){const t=[],s=e.copy(),r=(0,v.vt)();for(;s.next();)s.getBounds(r)&&t.push(s.getIndex());const i=n(9,e=>(s.setIndex(e),{minX:s.getBoundsXMin(),minY:s.getBoundsYMin(),maxX:s.getBoundsXMax(),maxY:s.getBoundsYMax()}));return i.load(t),new b(i,t.length)}constructor(e,t){this._index=e,this._size=t}get usedMemory(){return this._size*r.RS}search(e){const t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this._index.search(t)}}s(44208);var I=s(34727),w=(s(37585),s(48163)),A=s(39829),M=s(16930),T=s(19419),C=s(79258),S=s(90708),F=s(31464);function P(e,t,s,r){if(r.isWebMercator){const r=(0,I.KJ)(e/C.$O.radius),i=r-360*Math.floor((r+180)/360),n=[0,0];return O(n,0,(0,I.KJ)(Math.PI/2-2*Math.atan(Math.exp(-t/C.$O.radius))),i,s),n}const i=(0,F.Cv)({x:e,y:t},r,M.A.WGS84);if(!i)return null;const n=[0,0];return O(n,0,i.y,i.x,s),n}function O(e,t,s,r,i){i%2&&(i+=1);let n=0,o=0,a=-90,h=90,l=-180,u=180;for(let e=0;e<i/2;e++){for(let t=0;t<5;t++){const s=(l+u)/2,i=r>s?1:0;n|=i<<29-(t+5*e),l=(1-i)*l+i*s,u=(1-i)*s+i*u}for(let t=0;t<5;t++){const r=(a+h)/2,i=s>r?1:0;o|=i<<29-(t+5*e),a=(1-i)*a+i*r,h=(1-i)*r+i*h}}e[2*t]=n,e[2*t+1]=o}(0,w.vt)(),(0,w.vt)();var N=s(63664),k=s(92029);class z extends N.B{static create(e,t,s,r){const i=k.o.create(e),n=new Array(32);for(let e=0;e<n.length;e++)n[e]=null;return new z(i,t,s,r,n)}constructor(e,t,s,r,i){super(e),this.xNode=t,this.yNode=s,this.depth=r,this.children=i,this._objectIds=new Set,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._xGeohashTotal=0,this._yGeohashTotal=0,this.next=null}static get estimatedMemory(){let e=0;return e+=2*r.qK,e+=32*r.RS,e+=k.o.estimatedMemory,e}get id(){return`${this.xNode}.${this.yNode}`}get containedObjectIds(){return this._objectIds}get count(){return this._count}clone(){const e=new z(this._statistics.clone(),this.xNode,this.yNode,this.depth,this.children);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._xGeohashTotal=this._xGeohashTotal,e._yGeohashTotal=this._yGeohashTotal,e.next=this.next,e._objectIds=new Set(this._objectIds),e}insert(e,t,s,r,i,n){this._count+=1,this._xWorldTotal+=t,this._yWorldTotal+=s,this._xGeohashTotal+=r,this._yGeohashTotal+=i,this._statistics.insert(e,n),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._xGeohashTotal+=e._xWorldTotal,this._yGeohashTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroid(e){throw new Error("getCentroid not supported for GeohashNode")}getGeometry(e,t){const s=this._getLngLatBounds(),[r,i,n,o]=s,a=(0,F.Cv)({rings:[[[r,i],[r,o],[n,o],[n,i],[r,i]]]},M.A.WGS84,e),h=(0,S.Ye)(a);return null!=t?(0,S.Nl)(h,"esriGeometryPolygon",t,!1,!1):h}getGeometricCentroid(e,t){const s=this._getLngLatBounds(),[r,i,n,o]=s,a=(0,F.Cv)({x:(r+n)/2,y:(i+o)/2},M.A.WGS84,e),h=(0,S.qN)(a);return null!=t?(0,S.Nl)(h,"esriGeometryPoint",t,!1,!1):h}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return e.aggregateCount=this._count,e}find(e,t,s,r,i,n){if(r>=s)return this;const o=1-r%2,a=3*o+2*(1-o),h=2*o+3*(1-o),l=30-i-a,u=30-n-h,d=((e&7*o+3*(1-o)<<l)>>l)+((t&3*o+7*(1-o)<<u)>>u)*(8*o+4*(1-o)),c=this.children[d];return null==c?null:c.find(e,t,s,r+1,i+a,n+h)}_getLngLatBounds(){const e=this.depth,t=Math.ceil(e/2),s=Math.floor(e/2),r=30-(3*t+2*s),i=30-(2*t+3*s);return function(e,t){let s=-90,r=90,i=-180,n=180;for(let o=0;o<t;o++){const t=Math.ceil((o+1)/2),a=Math.floor((o+1)/2),h=1-o%2,l=30-(3*t+2*a),u=30-(2*t+3*a),d=2*h+3*(1-h),c=(7*h+3*(1-h)<<l&e.geohashX)>>l,_=(3*h+7*(1-h)<<u&e.geohashY)>>u;for(let e=3*h+2*(1-h)-1;e>=0;e--){const t=(i+n)/2,s=c&1<<e?1:0;i=(1-s)*i+s*t,n=(1-s)*t+s*n}for(let e=d-1;e>=0;e--){const t=(s+r)/2,i=_&1<<e?1:0;s=(1-i)*s+i*t,r=(1-i)*t+i*r}}return[i,s,n,r]}({geohashX:this.xNode<<r,geohashY:this.yNode<<i},this.depth)}}class B{constructor(e){this._fields=e,this._size=0,this._depth=0,this._root=z.create(this._fields,0,0,0)}destroy(){}get size(){return this._size}get depth(){return this._depth}get usedMemory(){return this._size*z.estimatedMemory}find(e,t,s){return this._root.find(e,t,s,0,0,0)}insert(e,t,s,r,i,n,o){let a=this._root,h=0,l=0,u=0;for(;null!==a;){if(a.insert(e,t,s,r,i,o),h>=n)return;const d=Math.ceil((h+1)/2),c=Math.floor((h+1)/2),_=1-h%2,f=30-(3*d+2*c),p=30-(2*d+3*c),m=(r&7*_+3*(1-_)<<f)>>f,g=(i&3*_+7*(1-_)<<p)>>p,y=m+g*(8*_+4*(1-_));l=l<<3*_+2*(1-_)|m,u=u<<2*_+3*(1-_)|g,null==a.children[y]&&(a.children[y]=z.create(this._fields,l,u,h+1),this._depth=Math.max(this._depth,h+1),this._size+=1),h+=1,a=a.children[y]}}putBins(e,t){for(const s of this.getNodes(t)){const t=e.get(s.id);t?t.merge(s):e.set(s.id,s.clone())}}getNodes(e){const t=[],{geohashBounds:s,level:r}=e;let i=this._root;for(;null!==i;){const e=i.depth,n=i.xNode,o=i.yNode;if(e>=r){t.push(i),i=i.next;continue}const a=Math.ceil((e+1)/2),h=Math.floor((e+1)/2),l=1-e%2,u=30-(3*a+2*h),d=30-(2*a+3*h),c=~((1<<u)-1),_=~((1<<d)-1),f=(s.xLL&c)>>u,p=(s.yLL&_)>>d,m=(s.xTR&c)>>u,g=(s.yTR&_)>>d,y=n<<3*l+2*(1-l),x=o<<2*l+3*(1-l),v=y+8*l+4*(1-l),b=x+4*l+8*(1-l),I=Math.max(y,f),w=Math.max(x,p),A=Math.min(v,m),M=Math.min(b,g);let T=null,C=null;for(let e=w;e<=M;e++)for(let t=I;t<=A;t++){const s=t-y+(e-x)*(8*l+4*(1-l)),r=i.children[s];r&&(T||(T=r,T.next=i.next),C&&(C.next=r),C=r,r.next=i.next)}i=T||i.next}return t}}var D=s(38976);class G extends D.n{constructor(e){super(e),this._tree=new B(this._options.fields)}get usedMemory(){return this._tree.usedMemory}put(e){throw new Error("Geohash tree does not support put")}putBounded(e,t,s){const{geohashLevel:r,spatialReference:i}=this._options,n=function(e,t,s,r){const i=[e.xmin,e.ymin,e.xmax,e.ymax],n=A.A.fromExtent((0,T.w1)(i,r)),o=(0,F.Cv)(n,r,M.A.WGS84,{extendedParams:{densificationStep:64*t}});if(!o)return null;const a=(0,S.Ye)(o,!1,!1),h=a.coords.filter((e,t)=>!(t%2)),l=a.coords.filter((e,t)=>t%2),u=Math.min(...h),d=Math.min(...l),c=Math.max(...h),_=Math.max(...l),f=P(u,d,s,M.A.WGS84),p=P(c,_,s,M.A.WGS84);return f&&p?{bounds:i,geohashBounds:{xLL:f[0],yLL:f[1],xTR:p[0],yTR:p[1]},level:s}:null}(t,s,r,i);null!=n&&this._tree.putBins(e,n)}_insert(e,t,s,r){const{geohashLevel:i,spatialReference:n}=this._options,o=P(t,s,i,n);o&&this._tree.insert(e,t,s,o[0],o[1],i,r)}}var W=s(68974),E=s(52350);class j{size(){return this.reader.getSize()}get fields(){return this.reader.fields}invalidate(){this._aggregateIndex=null,this._aggregateIndexHash=null,this._spatialIndex=null}get usedMemory(){let e=0;return e+=this.reader.underlyingMemory,this._aggregateIndex&&(e+=this._aggregateIndex.usedMemory),this._spatialIndex&&(e+=this._spatialIndex.usedMemory),e}getObjectIds(){const e=this.reader.getCursor(),t=[];for(;e.next();)t.push(e.getObjectId());return t}registerOverrides(e){this.reader.registerOverrides(e),this.invalidate()}queryFeaturesInBounds(e){const t=this._getSpatialIndex().search(e);return E.e.from(this.reader,t)}getAggregateIndex(e){const t=JSON.stringify(e);if(t!==this._aggregateIndexHash){switch(this._aggregateIndexHash=t,e.type){case"grid":this._aggregateIndex=new W.H(e);break;case"geohash":this._aggregateIndex=new G(e)}this._aggregateIndex.insert(this.reader,this.isTiled)}return this._aggregateIndex}_getSpatialIndex(){return this._spatialIndex||(this._spatialIndex=b.fromReader(this.reader)),this._spatialIndex}}},28923(e,t,s){s.d(t,{j:()=>i});var r=s(70300);class i extends r.K{constructor(e,t,s,r,i=0){super(),this._reader=e,this._queryJSON=t,this._page=s,this._end=r,this.fileIndex=i,this.chunkId=`${this.fileIndex}.${this._page}${this.end?"e":""}`,this.normalizedChunkId=this.chunkId}get reader(){return this._reader}get first(){return 0===this._page}get end(){return this._end}get queryInfo(){return{type:"snapshot",chunkId:this.chunkId,queryJSON:this._queryJSON,page:this._page,size:this.size(),end:this.end}}get isTiled(){return!1}getTileReader(e){const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}},5162(e,t,s){s.d(t,{HJ:()=>o,Im:()=>u,KN:()=>h});var r=s(39516),i=s(70300),n=s(8446);class o{static async create(e){const{metadata:t,definitionExpression:s}=e,i=s?await(0,r.GP)(s,t.fieldsIndex):null;return new o(t,i,s)}constructor(e,t,s){this.metadata=e,this._clause=t,this._definitionExpression=s}get hash(){return this._definitionExpression}testFeature(e){return null==this._clause||this._clause.testFeature(e)}}class a{constructor(){this.modified=new Map,this.removed=new Set}modify(e){this.modified.set(e.objectId,e),this.removed.has(e.objectId)&&this.removed.delete(e.objectId)}remove(e){this.modified.delete(e),this.removed.add(e)}get isEmpty(){return 0===this.modified.size&&0===this.removed.size}applyWhereClause(e){const t=new a;for(const[s,r]of this.modified)e.testFeature(r)?t.modified.set(s,r):t.removed.add(r.objectId);for(const e of this.removed)t.removed.add(e);return t}}class h extends i.K{constructor(e){super(),this._reader=e,this.chunkId="override",this.normalizedChunkId="override"}static fromFeatures(e,t){const s=n.K.fromOptimizedFeatures(e,t);return new h(s)}get reader(){return this._reader}get queryInfo(){return{}}get first(){return!1}get end(){return!1}get isTiled(){return!1}getTileReader(e){if(!this._reader.getSize())return null;const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}class l{constructor(e,t){this.inner=e,this.isWeak=t,this.lastWeak=null}get isStrong(){return!this.isWeak}}class u{constructor(e){this._parameters=e,this._overrides=new Map,this._update=new a,this._lastCleanup=0}update(e){this._parameters=e}hasOverride(e){return this._overrides.has(e)}onChunkInsert(e){if(this._overrides.size){const t=e.reader.getCursor();for(;t.next();){const e=t.getObjectId(),s=this._overrides.get(e);if(s?.lastWeak&&(s.lastWeak=null),s?.isWeak){const e=t.readOptimizedFeatureWorldSpace(),r=s.inner?.attributes??{};e.attributes={...r,...e.attributes},s.inner=e,this._update.modify(e),this.invalidate()}}}e.registerOverrides(this)}apply(e,t){const{updateWeak:s,removeWeak:r,update:i,remove:n,release:o}=e.commands;this.invalidate();for(const e of s){const t=new l(e,!0),s=this._overrides.get(e.objectId);s?.isStrong?s.lastWeak=t:(this._overrides.set(e.objectId,t),this._update.modify(e))}for(const e of i){const t=new l(e,!1),s=this._overrides.get(e.objectId);t.lastWeak=s?.isWeak?s:s?.lastWeak??null,this._overrides.set(e.objectId,t),this._update.modify(e)}for(const e of r){const t=new l(null,!0),s=this._overrides.get(e);s?.isStrong?s.lastWeak=t:(this._overrides.set(e,t),this._update.remove(e))}for(const e of n){const t=new l(null,!1),s=this._overrides.get(e);t.lastWeak=s?.isWeak?s:s?.lastWeak??null,this._overrides.set(e,t),this._update.remove(e)}if(o.length){const e=new Set;for(const t of o){const s=this._overrides.get(t);s?.lastWeak?(this._overrides.set(t,s.lastWeak),null==s.lastWeak.inner?this._update.remove(t):this._update.modify(s.lastWeak.inner)):s&&!s.isWeak&&(this._overrides.delete(t),e.add(t))}t.forEachUnsafe(t=>{const s=t.getObjectId();e.has(s)&&(this._update.modify(t.readOptimizedFeatureWorldSpace()),e.delete(s))});for(const t of e.values())this._update.remove(t)}}clearWeakOverrides(){for(const[e,t]of this._overrides.entries())t.isWeak&&this._overrides.delete(e);this.invalidate()}cleanup(e){if(this._overrides.size<1e4)return;const t=performance.now();if(t-this._lastCleanup<1e3)return;this._lastCleanup=t;const s=this._getWeakDeletions();if(!(s.size<1e4)){for(const t of e){const e=t.reader.withoutOverrides().getCursor();for(;e.next();){const t=e.getObjectId();s.delete(t)}}for(const e of s)this._overrides.delete(e);s.size&&this.invalidate()}}takeOverrideUpdate(){const e=this._update;return e.isEmpty?null:(this._update=new a,e.applyWhereClause(this._parameters))}asChunk(){const e=this._parameters;if(this._lastOverrideParametersHash!==e.hash&&(this._lastOverrideParametersHash=e.hash,this._chunk=null),!this._chunk){const t=[];for(const s of this._overrides.values())null!=s.inner&&e.testFeature(s.inner)&&t.push(s.inner);this._chunk=h.fromFeatures(t,e.metadata)}return this._chunk}invalidate(){this._chunk=null}putWeakObjectIdsFromGlobalIds(e,t,s){for(const[r,i]of this._overrides.entries()){if(i.isWeak&&null!=i.inner){const n=i.inner.attributes[s];n&&t.has(n)&&!e.has(n)&&e.set(n,r);continue}if(null!=i.lastWeak&&null!=i.lastWeak.inner){const n=i.lastWeak.inner.attributes[s];n&&t.has(n)&&!e.has(n)&&e.set(n,r)}}}_getWeakDeletions(){const e=new Set;for(const[t,s]of this._overrides.entries())s.isWeak&&null==s.inner&&e.add(t);return e}}},44320(e,t,s){s.d(t,{I:()=>h});var r=s(65529),i=s(44208),n=s(70328),o=s(30661),a=s(5162);class h{constructor(){this._chunks=new Map,this._chunksToRemove=[],this.events=new r.bk,this.featureAdapter=new o.Z}destroy(){this.clear()}clear(){for(const e of this._chunks.values())this._chunksToRemove.push(e);this._chunks.clear(),this._overrides?.clearWeakOverrides()}get usedMemory(){let e=0;for(const t of this._chunks.values())e+=t.usedMemory;return e}async update(e){if(this._overrides){const t=await a.HJ.create(e);this._overrides.update(t)}this._postQueryFilter=e.postQueryFilter;for(const{reader:e}of this.insertedChunks())e.applyPostQueryFilter(this._postQueryFilter);this._schema=e}*chunks(){this._overrides&&(yield this._overrides.asChunk()),yield*this._chunks.values()}insertedChunks(){return this._chunks.values()}insert(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.insert`),this._overrides?.onChunkInsert(e),this._chunks.set(e.chunkId,e),this._postQueryFilter&&e.reader.applyPostQueryFilter(this._postQueryFilter),this.events.emit("changed")}remove(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.remove`),this._chunks.delete(e.chunkId),this._chunksToRemove.push(e)}removeById(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e}] SourceChunkStore.remove`);const t=this._chunks.get(e);this._chunks.delete(e),t&&this._chunksToRemove.push(t)}cleanup(){const e=this._chunksToRemove;return this._chunksToRemove=[],this._overrides?.cleanup(this._chunks.values()),e}async applyOverride(e){if(null==this._overrides){const e=await a.HJ.create(this._schema);this._overrides=new a.Im(e);for(const e of this._chunks.values())this._overrides.onChunkInsert(e)}this._overrides.apply(e,this),this.events.emit("changed");for(const e of this._chunks.values())e.invalidate()}takeOverrideUpdate(){return this._overrides?.takeOverrideUpdate()}refresh(){this.events.emit("refresh")}forEach(e){const t=new Set;for(const s of this.chunks()){const r=s.reader.getCursor();for(;r.next();){const s=r.getObjectId();t.has(s)||(e(r.copy()),t.add(s))}}}forEachUnsafe(e){const t=new Set;for(const s of this.chunks()){const r=s.reader.getCursor();for(;r.next();){const s=r.getObjectId();t.has(s)||(e(r),t.add(s))}}}mapObjectIdsFromGlobalIds(e,t){const s=new Map,r=new Set(e);return this._overrides?.putWeakObjectIdsFromGlobalIds(s,r,t),this._forEachUnsafeIgnoreOverrides(e=>{const i=e.readAttribute(t);if(i&&r.has(i)&&!s.has(i)){const t=e.getObjectId();s.set(i,t)}}),s}forEachInBounds(e,t){const s=new Set;for(const r of this.chunks()){const i=r.queryFeaturesInBounds(e);for(;i.next();){const e=i.getObjectId();s.has(e)||(t(i.copy()),s.add(e))}}}forEachBounds(e,t){const s=(0,n.vt)();for(const r of e)r.getBounds(s)&&t(s)}_forEachUnsafeIgnoreOverrides(e){const t=new Set;for(const s of this._chunks.values()){const r=s.reader.withoutOverrides().getCursor();for(;r.next();){const s=r.getObjectId();t.has(s)||(e(r),t.add(s))}}}}},35258(e,t,s){s.d(t,{i:()=>n});var r=s(16930),i=s(95466);class n{static minimal(e,t,s=[],r=!1,o=!1){return new n({geometryType:e,hasZ:r,hasM:o,fieldsIndex:new i.A(s).toJSON(),featureIdInfo:{type:"object-id",fieldName:t},subtypes:null,subtypeField:null,types:null,globalIdField:null,spatialReference:null,outSpatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null})}static createFeature(e){return new n(e)}constructor(e){let t;this._options=e,this._fieldsIndex=i.A.fromJSON(e.fieldsIndex),e.spatialReference&&(e.spatialReference instanceof r.A?this._spatialReference=e.spatialReference:this._spatialReference=r.A.fromJSON(e.spatialReference)),e.outSpatialReference&&(e.outSpatialReference instanceof r.A?this._outSpatialReference=e.outSpatialReference:this._outSpatialReference=r.A.fromJSON(e.outSpatialReference)),"object-id"===e.featureIdInfo.type&&(t=e.featureIdInfo.fieldName),this._arcadeSchema={fields:this.fieldsIndex.fields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,objectIdField:t,globalIdField:this._options.globalIdField,spatialReference:this._spatialReference,timeInfo:this._options.timeInfo,typeIdField:this._options.typeIdField??void 0,types:this._options.types??void 0,subtypeField:this._options.subtypeField,subtypes:this._options.subtypes??void 0,datesInUnknownTimezone:this._options.timeReferenceUnknownClient??void 0,dateFieldsTimeZone:this._options.dateFieldsTimeZone??void 0}}get fieldsIndex(){return this._fieldsIndex}get geometryType(){return"esriGeometryMultiPatch"===this._options.geometryType?"esriGeometryPolygon":this._options.geometryType}get hasZ(){return this._options.hasZ}get hasM(){return this._options.hasM}get serviceGeometryType(){return this._options.geometryType}get subtypeField(){return this._options.subtypeField}get timeInfo(){return this._options.timeInfo}get featureIdInfo(){return this._options.featureIdInfo}get globalIdField(){return this._options.globalIdField}get arcadeSchema(){return this._arcadeSchema}get spatialReference(){return this._spatialReference}get outSpatialReference(){return this._outSpatialReference}get timeReferenceUnknownClient(){return this._options.timeReferenceUnknownClient}weakCloneWithAdditionalFields(e){return new n({fieldsIndex:{fields:[...this._fieldsIndex.fields,...e],timeZoneByFieldName:null},geometryType:this.geometryType,hasZ:this.hasZ,hasM:this.hasM,globalIdField:this.globalIdField,featureIdInfo:this.featureIdInfo,spatialReference:this.spatialReference,outSpatialReference:this.outSpatialReference,subtypeField:this.subtypeField,subtypes:this._options.subtypes,timeInfo:this.timeInfo,timeReferenceUnknownClient:this.timeReferenceUnknownClient,dateFieldsTimeZone:this._options.dateFieldsTimeZone,typeIdField:this._options.typeIdField,types:this._options.types})}}},97633(e,t,s){s.d(t,{P:()=>n});var r=s(69397),i=s(73250);class n{constructor(e){this._valid=i.y.create(e),this._data=new Array(e)}get usedMemory(){let e=this._valid.usedMemory;if(this._data.length>0){const t="string"==typeof this._data[0]?64:r.RS;e+=this._data.length*t}return e}has(e){return this._valid.has(e)}set(e,t){this._valid.set(e),this._data[e]=t}get(e){return this._data[e]}}},99996(e,t,s){s.d(t,{Y:()=>O});var r=s(66131),i=s(44208),n=s(69397),o=s(44729),a=s(15032),h=s(36745),l=s(70328),u=s(65864),d=s(32011),c=s(62577),_=s(27647),f=s(90708),p=s(43334),m=s(92722),g=s(98623),y=s(97633);const x=(0,i.A)("featurelayer-simplify-thresholds")??[.5,.5,.5,.5],v=x[0],b=x[1],I=x[2],w=x[3],A=(0,i.A)("featurelayer-simplify-payload-size-factors")??[1,2,4],M=A[0],T=A[1],C=A[2],S=(0,i.A)("featurelayer-simplify-mobile-factor")??2,F=(0,i.A)("esri-mobile"),P=4294967295;class O{constructor(e){this.metadata=e,this.type="FeatureSetReader",this._overrides=null,this._postQueryFilteredIds=new Set,this._joined=[],this._objectIdToIndex=null,this._boundsBuffer=[],this._caches=new Map,this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}destroy(){}[Symbol.dispose](){this.destroy()}getAreaSimplificationThreshold(e,t){let s=1;const r=F?S:1;t>4e6?s=C*r:t>1e6?s=T*r:t>5e5?s=M*r:t>1e5&&(s=r);let i=0;return e>4e3?i=w*s:e>2e3?i=I*s:e>100?i=b:e>15&&(i=v),i}getBounds(e){!function(e,t){if(!(e.length>t))for(;e.length<=t;)e.push(0)}(this._boundsBuffer,4*this.getIndex()+4);const t=this.getBoundsXMin();if(t===P||!isFinite(t))return!1;if(0===this.getBoundsXMin()){const t=this.readGeometryWorldSpace();if(t?.isPoint&&0===t.coords[0]&&0===t.coords[1])return(0,l.BI)(e,0,0,0,0),!0;if(!t)return this.setBoundsXMin(P),!1;let s=1/0,r=1/0,i=-1/0,n=-1/0;return t.forEachVertex((e,t)=>{s=Math.min(s,e),r=Math.min(r,t),i=Math.max(i,e),n=Math.max(n,t)}),this.setBoundsXMin(s),this.setBoundsYMin(r),this.setBoundsXMax(i),this.setBoundsYMax(n),(0,l.BI)(e,s,r,i,n),!0}const s=this.getBoundsXMin(),r=this.getBoundsYMin(),i=this.getBoundsXMax(),n=this.getBoundsYMax();return(0,l.BI)(e,s,r,i,n),!0}getBoundsXMin(){return this._boundsBuffer[4*this.getIndex()]}setBoundsXMin(e){this._boundsBuffer[4*this.getIndex()]=e}getBoundsYMin(){return this._boundsBuffer[4*this.getIndex()+1]}setBoundsYMin(e){this._boundsBuffer[4*this.getIndex()+1]=e}getBoundsXMax(){return this._boundsBuffer[4*this.getIndex()+2]}setBoundsXMax(e){this._boundsBuffer[4*this.getIndex()+2]=e}getBoundsYMax(){return this._boundsBuffer[4*this.getIndex()+3]}setBoundsYMax(e){this._boundsBuffer[4*this.getIndex()+3]=e}readAttributeAsTimestamp(e){const t=this.readAttribute(e);return"string"==typeof t?new Date(t).getTime():"number"==typeof t||null==t?t:null}readAttribute(e,t=!1){const s=this._readAttribute(e,t);if(void 0!==s)return s;for(const s of this._joined){s.setIndex(this.getIndex());const r=s._readAttribute(e,t);if(void 0!==r)return r}}readAttributes(){const e=this._readAttributes();for(const t of this._joined){t.setIndex(this.getIndex());const s=t._readAttributes();for(const t of Object.keys(s))e[t]=s[t]}return e}joinAttributes(e){this._joined.push(e)}registerOverrides(e){this._overrides=e}withoutOverrides(){const e=this.copy();return e._overrides=null,e}readOptimizedFeatureWorldSpace(){const e=this.readGeometryWorldSpace(),t=this.readAttributes(),s=this.readCentroidWorldSpace();return new p.Om(e,t,s,this.getObjectId(),this.getDisplayId())}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyFeatureWorldSpace(){const e=this.readCentroidWorldSpace();return{attributes:this.readAttributes(),geometry:this._readLegacyGeometryWorldSpace(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,f.zv)(e,this.geometryType,!1,!1)}readXForDisplay(){return this._readX()}readYForDisplay(){return this._readY()}readXWorldSpace(){const e=this._readX(),t=this.getInTransform();return null==t?e:e*t.scale[0]+t.translate[0]}readYWorldSpace(){const e=this._readY(),t=this.getInTransform();return null==t?e:t.translate[1]-e*t.scale[1]}readGeometryForDisplay(){const e=this._readGeometryDeltaDecoded(!0);if(!e){const e=this._createDeltaQuantizedGeometryFromServerCentroid();return e?e.deltaDecode():null}return e}readGeometryForDisplayTransformed(e){let t=this.readGeometryForDisplay();if(t&&"esriGeometryPolyline"===this.metadata.geometryType&&(t=(0,f.kz)(t,this.metadata.geometryType,e.scale[0])),t&&(t=(0,f.hK)(t,e,this.metadata.geometryType)),!t){const t=this.readCentroidForDisplay();if(!t)return null;const s=(0,c.IE)(e,t.coords[0]),r=(0,c.B2)(e,t.coords[1]);return this._createDeltaQuantizedExtrudedGeometry(s,r).deltaDecode()}return t}readGeometryWorldSpace(){let e=this._readGeometry();if(e||(e=this._createDeltaQuantizedGeometryFromServerCentroid()),!e)return null;const t=e.clone(),s=this.getInTransform();return null!=s&&(0,f.aQ)(t,s),t}readCentroidForDisplay(){const e=this.readGeometryForDisplay();return e?this._computeDisplayCentroid(e):this._readServerCentroid()}readCentroidWorldSpace(){const e=this.readGeometryForDisplay(),t=e?this._computeDisplayCentroid(e):this._readServerCentroid();if(!t)return null;const s=t.clone(),r=this.getInTransform();return null!=r&&(0,f.aQ)(s,r),s}setCache(e){let t=this._caches.get(e);null==t&&(t=new y.P(this.getSize()),this._caches.set(e,t)),this._activeCache=t}setCachedValue(e){this._activeCache.set(this.getIndex(),e)}hasCachedValue(){return this._activeCache.has(this.getIndex())}getCachedValue(){return this._activeCache.get(this.getIndex())}get underlyingMemory(){let e=0;e+=(0,n.Qf)(this._boundsBuffer);for(const t of this._caches.values())e+=t.usedMemory;return e}_readGeometryDeltaDecoded(e){const t=this._readGeometry(e);return"esriGeometryPoint"!==this.geometryType&&t&&this.getInTransform()?t.deltaDecode():t}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this.fields.has(e)||this._joined.some(t=>t.hasField(e))}geometry(){const e=this.readGeometryWorldSpace(),t=(0,f.zv)(e,this.geometryType,this.hasZ,this.hasM),s=(0,u.rS)(t);if(s){if(!this.metadata.outSpatialReference)throw new Error("InternalError: Expected spatial reference to be defined");s.spatialReference=this.metadata.outSpatialReference}return s}autocastArcadeDate(e,t){return t&&t instanceof Date?this.isUnknownDateTimeField(e)?r.lY.unknownDateJSToArcadeDate(t):r.lY.dateJSAndZoneToArcadeDate(t,this.contextTimeZone??g.qU):t}isUnknownDateTimeField(e){return this.metadata.fieldsIndex.getTimeZone(e)===g.L5}field(e){let t=this.fields.get(e);if(t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(this.readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(this.readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return r.lY.fromReaderAsTimeStampOffset(this.readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,this.readAttribute(e,!0));default:return this.readAttribute(e,!1)}for(const s of this._joined)if(s.setIndex(this.getIndex()),t=s.fields.get(e),t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(s._readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(s._readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return r.lY.fromReaderAsTimeStampOffset(s._readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,s._readAttribute(e,!0));default:return this.readAttribute(e,!1)}throw new Error(`Field ${e} does not exist`)}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this.fields.fields.map(e=>e.name)}isEmpty(){return this.fields.fields.length<=0&&null==this.geometry()}castToText(e=!1){if(!e)return JSON.stringify(this.readLegacyFeatureForDisplay());const t=this.readLegacyFeatureForDisplay();if(!t)return JSON.stringify(null);const s={geometry:t.geometry,attributes:{...t.attributes}};for(const e in s.attributes){const t=s.attributes[e];t instanceof Date&&(s.attributes[e]=t.getTime())}return JSON.stringify(s)}gdbVersion(){return null}fullSchema(){return this.metadata.arcadeSchema}castAsJson(e=null){return{attributes:this._readAttributes(),geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}applyPostQueryFilter(e){if(this._postQueryFilteredIds.clear(),!e)return;const t=this.getCursor();for(;t.next();)e.check(t,{currentUser:null})||this._postQueryFilteredIds.add(t.getObjectId())}_getExists(){if(this._overrides){const e=this.getObjectId();return!this._overrides.hasOverride(e)}return!this._postQueryFilteredIds.has(this.getObjectId())}_computeDisplayCentroid(e){if(null==this.getInTransform())return(0,_.Q)(e);const t=h.z.fromOptimized(e,this.geometryType);t.yFactor*=-1;const s=(0,d.d)(t);return s?isNaN(s[0])||isNaN(s[1])?(0,_.Q)(e):(s[1]*=-1,new m.A([],s)):null}copyInto(e){e._joined=this._joined,e._overrides=this._overrides,e._objectIdToIndex=this._objectIdToIndex,e._boundsBuffer=this._boundsBuffer,e._activeCache=this._activeCache,e._caches=this._caches,e._contextTimeZone=this._contextTimeZone,e._postQueryFilteredIds=this._postQueryFilteredIds}_readLegacyGeometryWorldSpace(){const e=this.readGeometryWorldSpace();return(0,f.zv)(e,this.geometryType,!1,!1)}_createDeltaQuantizedGeometryFromServerCentroid(){const e=this._readServerCentroid();if(!e)return null;const[t,s]=e.coords;return this._createDeltaQuantizedExtrudedGeometry(t,s)}_createDeltaQuantizedExtrudedGeometry(e,t){return"esriGeometryPolyline"===this.geometryType?this._createDeltaQuantizedExtrudedLine(e,t):this._createDeltaQuantizedExtrudedQuad(e,t)}_createDeltaQuantizedExtrudedQuad(e,t){return new m.A([5],[e-1,t,1,-1,1,1,-1,1,-1,-1])}_createDeltaQuantizedExtrudedLine(e,t){return new m.A([2],[e-1,t+1,1,-1])}}},52350(e,t,s){s.d(t,{e:()=>a});var r=s(69397),i=s(62577),n=s(90708),o=s(99996);class a extends o.Y{static from(e,t){if(e instanceof this){const s=new Set(t),r=e._indices.filter(e=>s.has(e));return new a(e._reader,r)}return new a(e.copy(),t)}constructor(e,t){super(e.metadata),this._currentIndex=-1,this._displayTransform=null,this._reader=e,this._indices=t}setTransformForDisplay(e){const t=this._reader.getInTransform();if(null==t)return void(this._displayTransform=(0,i.Q1)(e));const s=(0,i.Q1)(t),r=(0,i.Q1)(e),[n,o]=s.scale,[a,h]=s.translate,[l,u]=r.scale,[d,c]=r.translate,_=n/l,f=o/u,p=(a-d)/l,m=(h-c)/u;this._displayTransform={originPosition:"lowerLeft",scale:[1/_,1/f,1,1],translate:[-p/_,-m/f,0,0]}}getInTransform(){return this._reader.getInTransform()}get fields(){return this._reader.fields}get hasNext(){return this._currentIndex+1<this._indices.length}getSize(){return this._indices.length}getCursor(){return this.copy()}copy(){const e=new a(this._reader.copy(),this._indices);return e._currentIndex=this._currentIndex,e._displayTransform=this._displayTransform,e._processorAttributes=this._processorAttributes,e}get contextTimeZone(){return this._reader.contextTimeZone}set contextTimeZone(e){this._reader.contextTimeZone=e}get usedMemory(){return r.qK+this._reader.usedMemory}setProcessorAttributes(e){this._processorAttributes=Object.assign(this._processorAttributes??{},e)}_nextIndex(){return++this._currentIndex<this._indices.length&&(this._reader.setIndex(this._indices[this._currentIndex]),!0)}next(){for(;this._nextIndex()&&!this._reader._getExists(););return this._currentIndex<this._indices.length}readXForDisplay(){return this._displayTransform?(0,i.IE)(this._displayTransform,this._reader.readXForDisplay()):this._reader.readXForDisplay()}readYForDisplay(){return this._displayTransform?(0,i.B2)(this._displayTransform,this._reader.readYForDisplay()):this._reader.readYForDisplay()}readGeometryForDisplay(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform):this._reader.readGeometryForDisplay()}readCentroidForDisplay(){const e=this._reader.readCentroidForDisplay()?.clone();if(e){const[t,s]=e.coords;this._displayTransform&&(e.coords[0]=(0,i.IE)(this._displayTransform,t),e.coords[1]=(0,i.B2)(this._displayTransform,s))}return e}get geometryType(){return this._reader.geometryType}get hasFeatures(){return this._reader.hasFeatures}get exceededTransferLimit(){return this._reader.exceededTransferLimit}get hasZ(){return this._reader.hasZ}get hasM(){return this._reader.hasM}readAttribute(e,t=!1){const s=this._reader.readAttribute(e,t);return null==s&&this._processorAttributes?this._processorAttributes[e]:s}readAttributes(){return{...this._processorAttributes,...this._reader.readAttributes()}}joinAttributes(e){return this._reader.joinAttributes(e)}getBounds(e){return this._reader.getBounds(e)}getAttributeHash(){return this._reader.getAttributeHash()}getObjectId(){return this._reader.getObjectId()}getDisplayId(){return this._reader.getDisplayId()}setDisplayId(e){return this._reader.setDisplayId(e)}setIndex(e){return this._reader.setIndex(e)}getIndex(){return this._reader.getIndex()}readXWorldSpace(){return this._reader.readXWorldSpace()}readYWorldSpace(){return this._reader.readYWorldSpace()}_readX(){return this._reader.readXForDisplay()}_readY(){return this._reader.readYForDisplay()}_readServerCentroid(){return this._reader._readServerCentroid()}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,n.zv)(e,this.geometryType,!1,!1)}readGeometryArea(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform)?.area()??0:this._reader.readGeometryArea()}readGeometryWorldSpace(){return this._reader.readGeometryWorldSpace()}_readGeometry(){return this._reader._readGeometry()}_readAttribute(e,t){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}_readAttributes(){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}readArcadeFeature(){return this._reader.readArcadeFeature()}geometry(){return this._reader.geometry()}field(e){return this._reader.field(e)}hasField(e){return this._reader.hasField(e)}setField(e,t){return this._reader.setField(e,t)}keys(){return this._reader.keys()}castToText(e=!1){return this._reader.castToText(e)}}},8446(e,t,s){s.d(t,{K:()=>a});var r=s(90708),i=s(43334),n=s(95466),o=s(99996);class a extends o.Y{static fromFeatures(e,t){const{geometryType:s,hasZ:i,hasM:n,featureIdInfo:o}=t,h=(0,r.Di)([],e,s,i,n,o);for(let t=0;t<h.length;t++)h[t].displayId=e[t].displayId;return a.fromOptimizedFeatures(h,t)}static fromFeatureSet(e,t){const s=(0,r.q3)(e,t.featureIdInfo);return a.fromOptimizedFeatureSet(s,t)}static fromOptimizedFeatureSet(e,t){const s=a.fromOptimizedFeatures(e.features,t);return s._exceededTransferLimit=e.exceededTransferLimit,s._transform=e.transform,s._fieldsIndex=new n.A(e.fields),s}static fromOptimizedFeatures(e,t,s){const r=new a(e,t);return r._fieldsIndex=t.fieldsIndex,r._transform=s,r}static empty(e){return new a([],e)}constructor(e,t){super(t),this._featureIndex=-1,this._exceededTransferLimit=!1,this._fieldsIndex=null,this._hasZ=!1,this._hasM=!1,this._geometryType=t.geometryType,this._hasZ=t.hasZ,this._hasM=t.hasM,this._features=e}get fields(){return this._fieldsIndex}get geometryType(){return this._geometryType}get hasFeatures(){return!!this._features.length}get hasNext(){return this._featureIndex+1<this._features.length}get exceededTransferLimit(){return this._exceededTransferLimit}get hasZ(){return this._hasZ}get hasM(){return this._hasM}get _current(){return this._features[this._featureIndex]}get usedMemory(){return this._current.usedMemory}getSize(){return this._features.length}getCursor(){return this.copy()}getInTransform(){return this._transform}getAttributeHash(){let e="";for(const t in this._current.attributes)e+=this._current.attributes[t];return e}getIndex(){return this._featureIndex}setIndex(e){this._featureIndex=e}getObjectId(){return this._current?.objectId}getDisplayId(){return this._current.displayId}setDisplayId(e){this._current.displayId=e}copy(){const e=new a(this._features,this.metadata);return this.copyInto(e),e}next(){for(;++this._featureIndex<this._features.length&&!this._getExists(););return this._featureIndex<this._features.length}readGeometryArea(){return(0,i.N3)(this._current)?(0,r.Rk)(this._current.geometry,2):0}_readX(){return(0,i.N3)(this._current)?this._current.geometry.coords[0]:0}_readY(){return(0,i.N3)(this._current)?this._current.geometry.coords[1]:0}_readGeometry(){return(0,i.N3)(this._current)?this._current.geometry??null:null}_readServerCentroid(){return this._current.centroid}_readAttribute(e,t){if(!this._fieldsIndex){const t=this._current.attributes[e];if(void 0!==t)return t;const s=e.toLowerCase();for(const e in this._current.attributes)if(e.toLowerCase()===s)return this._current.attributes[e];return}const s=this._fieldsIndex.get(e);if(!s)return;const r=this._current.attributes[s.name];return null==r?r:t&&this.fields.isDateField(e)?new Date(r):r}_readAttributes(){return this._current.attributes}copyInto(e){super.copyInto(e),e._featureIndex=this._featureIndex,e._transform=this._transform,e._fieldsIndex=this._fieldsIndex}}},16630(e,t,s){s.d(t,{s:()=>u}),s(44208);var r=s(69397),i=s(92722),n=s(17754),o=s(57733),a=s(99996);let h;const l=new TextDecoder;class u extends a.Y{constructor(e,t,s,i,n=new Uint32Array(s.size())){super(e),this._indexMap=t,this._inner=s,this._fileId=i,this._displayIds=n,this._index=-1,this.usedMemory=r.qK,this._size=this._inner.size(),e.featureIdInfo.type}destroy(){super.destroy(),this._inner.free()}get fields(){return this.metadata.fieldsIndex}get geometryType(){return this.metadata.geometryType}get hasFeatures(){return!0}get hasNext(){throw new Error("Method not implemented.")}get exceededTransferLimit(){return!1}get hasZ(){return!1}get hasM(){return!1}async updateFields(e,t,s,r){const i=this._inner.rowGroup(),n=new Uint32Array(this._inner.readIdsUnsafe()),o=await e.createPatch(t,i,n,s,r);this._inner.insertPatchBytes(new Uint8Array(o))}getInTransform(){return null}getSize(){return this._size}getCursor(){return this.copy()}getAttributeHash(){let e="";for(const t of this.fields.fields)e+=this._readAttribute(t.name,!1)+".";return e}getObjectId(){return(0,n.xb)(this._fileId,this._inner.rowId(this._index))}getDisplayId(){return this._displayIds[this._index]}setDisplayId(e){this._displayIds[this._index]=e}setIndex(e){this._index=e}getBoundsXMin(){return this._inner.boundsXMin(this._index)}getBoundsYMin(){return this._inner.boundsYMin(this._index)}getBoundsXMax(){return this._inner.boundsXMax(this._index)}getBoundsYMax(){return this._inner.boundsYMax(this._index)}setBoundsXMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsXMax(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMax(e){throw new Error("InternalError: Setting bounds is unsupported")}getIndex(){return this._index}next(){for(;++this._index<this._size&&!this._getExists(););return this._index<this._size}readGeometryArea(){return this.readGeometryForDisplay()?.area()??0}copy(){const e=new u(this.metadata,this._indexMap,this._inner,this._fileId,this._displayIds);return this.copyInto(e),e}copyInto(e){super.copyInto(e),e._index=this._index}readGeometryForDisplayTransformed(e){const[t,s]=e.translate,[r,n]=e.scale;return h||(h=o.QuantizedGeometryBuffer.new()),this._inner.transformGeometry(h,t,s,r,n,this._index)?new i.A(h.readLengthsUnsafe(),h.readCoordsUnsafe(),this.hasZ,this.hasM):null}_readGeometry(e){const t=this._inner.readCoordsUnsafe(this._index),s=this._inner.readLengthsUnsafe(this._index);return t&&s?new i.A(s,t,this.hasZ,this.hasM):null}_readX(){return this._inner.readX(this._index)}_readY(){return this._inner.readY(this._index)}_readServerCentroid(){return null}_readAttribute(e,t){const s=this.fields.get(e);if(!s)return;const r=this._indexMap[s.name];if(null==r)return this.getObjectId();const i=this._inner.readAttribute(this._index,r);if(null==i)return i;if("esriFieldTypeString"===s.type||"esriFieldTypeDateOnly"===s.type||"esriFieldTypeTimeOnly"===s.type||"esriFieldTypeTimestampOffset"===s.type){const e=this._inner.readAttribute(this._index,r);return l.decode(e)}const n=this.fields.isDateField(s.name);return t?null==i?i:n?new Date(i):i:i}_readAttributes(){const e={};for(const t of this.metadata.fieldsIndex.fields){if(null==this._indexMap[t.name])continue;const s=this._readAttribute(t.name,!1);void 0!==s&&(e[t.name]=s)}return e.__OBJECTID=this.getObjectId(),e}}},73250(e,t,s){s.d(t,{y:()=>i});var r=s(69397);class i{static fromBuffer(e,t){return new i(e,t)}static create(e,t=4294967295){const s=new Uint32Array(Math.ceil(e/32));return new i(s,t)}constructor(e,t){this._mask=0,this._buf=e,this._mask=t}_getIndex(e){return Math.floor(e/32)}get usedMemory(){return(0,r.Qf)(this._buf)}has(e){const t=this._mask&e;return!!(this._buf[this._getIndex(t)]&1<<t%32)}hasRange(e,t){let s=e,r=t;for(;s%32&&s!==r;){if(this.has(s))return!0;s++}for(;r%32&&s!==r;){if(this.has(s))return!0;r--}if(s===r)return!1;for(let e=s/32;e!==r/32;e++)if(this._buf[e])return!0;return!1}set(e){const t=this._mask&e,s=this._getIndex(t),r=1<<t%32;this._buf[s]|=r}setRange(e,t){let s=e,r=t;for(;s%32&&s!==r;)this.set(s++);for(;r%32&&s!==r;)this.set(r--);if(s!==r)for(let e=s/32;e!==r/32;e++)this._buf[e]=4294967295}unset(e){const t=this._mask&e,s=this._getIndex(t),r=1<<t%32;this._buf[s]&=4294967295^r}resize(e){const t=this._buf,s=new Uint32Array(Math.ceil(e/32));s.set(t),this._buf=s}or(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=e._buf[t];return this}and(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=e._buf[t];return this}xor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=e._buf[t];return this}ior(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=~e._buf[t];return this}iand(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=~e._buf[t];return this}ixor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=~e._buf[t];return this}any(){for(let e=0;e<this._buf.length;e++)if(this._buf[e])return!0;return!1}copy(e){for(let t=0;t<this._buf.length;t++)this._buf[t]=e._buf[t];return this}clone(){return new i(this._buf.slice(),this._mask)}clear(){for(let e=0;e<this._buf.length;e++)this._buf[e]=0;return this}forEachSet(e){for(let t=0;t<this._buf.length;t++){let s=this._buf[t],r=32*t;if(s)for(;s;)1&s&&e(r),s>>>=1,r++}}countSet(){let e=0;return this.forEachSet(t=>{e++}),e}}},9012(e,t,s){function r(e,{timeZone:t,timeExtent:s}){return{$view:{scale:e,timeZone:t,timeProperties:{currentStart:s?.start,currentEnd:s?.end}}}}s.d(t,{N:()=>r})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2369],{35982(e,t,i){i.d(t,{B:()=>c});var s=i(4576),r=i(71511),n=i(36563),l=i(53966),o=i(97768),a=i(17676),h=i(83027);class c{constructor(e,t,i,s,r={}){this._mainMethod=t,this._transferLists=i,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,h.h)(e,{...r,schedule:s}).then(e=>{null!=this._thread||this._destroyed?e.close():(this._thread=e,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(e=>{r.hasInitialize&&e.invoke("initialize",{});for(const t of this._listeners)this._connectListenerToClient(t,e);this._onClientConnected(e)}))}),this._promise.catch(t=>l.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${e} worker: ${t}`))}on(e,t){const i=new u(e,t);return this._listeners.push(i),this._connectListener(i),(0,n.hA)(()=>{(0,s.TF)(this._listeners,i),i.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,o.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const e of this._listeners)e.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(e,t,i){return this.invokeMethod(this._mainMethod,e,t,i)}invokeMethod(e,t,i,s){if(this._thread){const r=this._transferLists[e],n=r?r(t):[];return this._thread.invoke(e,t,{transferList:n,signal:i,jobPriority:s})}return this._promise?this._promise.then(()=>((0,a.Te)(i),this.invokeMethod(e,t,i))):Promise.reject(null)}broadcast(e,t){return this._thread?Promise.all(this._thread.broadcast(t,e)).then(d):this._promise?this._promise.then(()=>this.broadcast(e,t)):Promise.reject()}get promise(){return this._promise}_onClientConnected(e){}_connectListener(e){this._thread&&e.add(this._thread.on(e.eventName,e.callback))}_connectListenerToClient(e,t){e.add(t.on(e.eventName,e.callback))}}class u{constructor(e,t){this.eventName=e,this.callback=t,this._handles=new r.A}add(e){this._handles.add(e)}destroy(){this._handles.destroy()}}function d(){}},54239(e,t,i){i.d(t,{A:()=>m});var s,r=i(5482),n=i(4576),l=i(66552),o=i(25482),a=i(86211),h=i(67076),c=i(91429),u=i(43937),d=i(36005);const p=(0,l.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),g=p.jsonValues.slice();(0,n.Xy)(g,"orthometric");const v=(0,l.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let m=s=class extends o.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,i){return p.write(e,t,i)}readHeightModel(e,t,i){return p.read(e)||(i?.messages&&i.messages.push(function(e,t){return new h.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:i})),null)}readHeightUnit(e,t,i){return v.read(e)||(i?.messages&&i.messages.push(y(e,{context:i})),null)}readHeightUnitService(e,t,i){return(0,a.LA)(e)||v.read(e)||(i?.messages&&i.messages.push(y(e,{context:i})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new s({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const i=(0,a.k1)(t);return new s({heightModel:e.heightModel,heightUnit:i??void 0,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new s;return t.read(e,{origin:"web-scene"}),t}};function y(e,t){return new h.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,r.Cg)([(0,c.MZ)({type:p.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,r.Cg)([(0,u.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,r.Cg)([(0,d.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,r.Cg)([(0,c.MZ)({type:v.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:v.jsonValues,write:{writer:v.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,r.Cg)([(0,d.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,r.Cg)([(0,d.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,r.Cg)([(0,c.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,r.Cg)([(0,d.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=s=(0,r.Cg)([(0,c.$K)("esri.geometry.HeightModelInfo")],m)},62369(e,t,i){i.r(t),i.d(t,{default:()=>j});var s=i(5482),r=i(11254),n=i(49186),l=i(97768),o=i(25728),a=i(17676),h=i(84952),c=i(91429),u=i(54239),d=i(4146),p=i(89186),g=i(18768),v=i(34287),m=i(8303),y=i(10873),f=i(87378),w=i(35982);class _ extends w.B{constructor(e=null){super("LercWorker","_decode",{_decode:e=>[e.buffer]},e,{strategy:"dedicated"}),this.schedule=e,this.ref=0}decode(e,t,i){return e&&0!==e.byteLength?this.invoke({buffer:e,options:t},i):Promise.resolve(null)}release(){--this.ref<=0&&(M.forEach((e,t)=>{e===this&&M.delete(t)}),this.destroy())}}const M=new Map;var S=i(34727),C=i(19419),x=(i(44208),i(86211)),b=i(5443),A=i(86738),T=i(16930),k=i(21325),L=i(28735),R=i(91806),V=i(87045);class z{constructor(e){const t=z.checkUnsupported(e);if(null!=t)throw t;const i=e;this.spatialReference=i.spatialReference,this._isWebMercator=this.spatialReference.isWebMercator,this._isGCS=(0,k.EA)(this.spatialReference),this.origin=[i.origin.x,i.origin.y],this.pixelSize=i.size[0],this.dpi=i.dpi;const s=i.lods.reduce((e,t)=>(t.level<e.minLod.level&&(e.minLod=t),e.max=Math.max(e.max,t.level),e),{minLod:i.lods[0],max:-1/0}),r=s.minLod,n=2**r.level;let l=r.resolution*n,o=r.scale*n;this.levels=new Array(s.max+1);for(let e=0;e<this.levels.length;e++)this.levels[e]={resolution:l,scale:o,tileSize:[l*i.size[0],l*i.size[1]]},l/=2,o/=2}clone(){return new z(this.toTileInfo())}toTileInfo(){return new V.A({dpi:this.dpi,origin:new A.A({x:this.origin[0],y:this.origin[1],spatialReference:this.spatialReference}),size:[this.pixelSize,this.pixelSize],spatialReference:this.spatialReference,lods:this.levels.map((e,t)=>new R.A({level:t,scale:e.scale,resolution:e.resolution}))})}getExtent(e,t,i,s){const r=this.levels[e],n=r.tileSize[0],l=r.tileSize[1];s[0]=this.origin[0]+i*n,s[2]=this.origin[0]+(i+1)*n,s[3]=this.origin[1]-t*l,s[1]=this.origin[1]-(t+1)*l}convertExtentToRadians(e,t){this._isWebMercator?(t[0]=(0,L.yw)(e[0]),t[1]=(0,L.jg)(e[1]),t[2]=(0,L.yw)(e[2]),t[3]=(0,L.jg)(e[3])):this._isGCS&&(t[0]=(0,S.kU)(e[0]),t[1]=(0,S.kU)(e[1]),t[2]=(0,S.kU)(e[2]),t[3]=(0,S.kU)(e[3]))}getExtentGeometry(e,t,i,s=new b.A){return this.getExtent(e,t,i,U),s.spatialReference=this.spatialReference,s.xmin=U[0],s.ymin=U[1],s.xmax=U[2],s.ymax=U[3],s.zmin=void 0,s.zmax=void 0,s}ensureMaxLod(e){if(null==e)return!1;let t=!1;for(;this.levels.length<=e;){const{resolution:e,scale:i}=this.levels[this.levels.length-1],s=e/2*this.pixelSize;this.levels.push({resolution:e/2,scale:i/2,tileSize:[s,s]}),t=!0}return t}capMaxLod(e){this.levels.length>e+1&&(this.levels.length=e+1)}getMaxLod(){return this.levels.length-1}scaleAtLevel(e){return this.levels[0].scale/2**e}levelAtScale(e){const t=this.levels[0].scale;return e>=t?0:Math.log(t/e)*Math.LOG2E}resolutionAtLevel(e){return this.levels[0].resolution/2**e}compatibleWith(e,t=1/0){if(z.checkUnsupported(e))return!1;const i=new z(e);if(!i.spatialReference.equals(this.spatialReference))return!1;if(i.pixelSize!==this.pixelSize)return!1;const s=Math.min(this.levels.length-1,i.levels.length-1,t),r=this.levels[s].resolution;let n=.5*r;return!(!(0,S.Sp)(i.origin[0],this.origin[0],n)||!(0,S.Sp)(i.origin[1],this.origin[1],n))&&(n=.5*r/2**s/this.pixelSize*12,(0,S.Sp)(r,i.levels[s].resolution,n))}rootTilesInExtent(e,t=null,i=1/0){const s=new Array,r=this.levels[0].tileSize;if(null==e||0===r[0]||0===r[1])return s;z.computeRowColExtent(e,r,this.origin,U);let n=U[1],l=U[3],o=U[0],a=U[2];const h=a-o,c=l-n;if(h*c>i){const e=Math.floor(Math.sqrt(i));c>e&&(n=n+Math.floor(.5*c)-Math.floor(.5*e),l=n+e),h>e&&(o=o+Math.floor(.5*h)-Math.floor(.5*e),a=o+e)}for(let e=n;e<l;e++)for(let t=o;t<a;t++)s.push([0,e,t]);return null!=t&&(t[0]=this.origin[0]+o*r[0],t[1]=this.origin[1]-l*r[1],t[2]=this.origin[0]+a*r[0],t[3]=this.origin[1]-n*r[1]),s}static computeRowColExtent(e,t,i,s){const r=.001*(e[2]-e[0]+(e[3]-e[1]));s[0]=Math.max(0,Math.floor((e[0]+r-i[0])/t[0])),s[2]=Math.max(0,Math.ceil((e[2]-r-i[0])/t[0])),s[1]=Math.max(0,Math.floor((i[1]-e[3]+r)/t[1])),s[3]=Math.max(0,Math.ceil((i[1]-e[1]-r)/t[1]))}static isPowerOfTwo(e){const t=e.lods,i=t[0].resolution*2**t[0].level;return!t.some(e=>!(0,S.b6)(e.resolution,i/2**e.level))}static hasGapInLevels(e){const t=e.lods.map(e=>e.level);t.sort((e,t)=>e-t);for(let e=1;e<t.length;e++)if(t[e]!==t[0]+e)return!0;return!1}static tileSizeSupported(e){const t=e.size[1];return t===e.size[0]&&!(t&t-1)&&t>=128&&t<=512}static hasOriginPerLODs(e){const t=e.origin;return e.lods.some(e=>null!=e.origin&&(e.origin[0]!==t.x||e.origin[1]!==t.y))}static getMissingTileInfoError(){return new n.A("tilingscheme:tile-info-missing","Tiling scheme must have tiling information")}static checkUnsupported(e){return null==e?new n.A("tilingscheme:tile-info-missing","Tiling scheme must have tiling information"):e.lods.length<1?new n.A("tilingscheme:generic","Tiling scheme must have at least one level"):z.isPowerOfTwo(e)?z.hasGapInLevels(e)?new n.A("tilingscheme:gaps","Tiling scheme levels must not have gaps between min and max level"):z.tileSizeSupported(e)?z.hasOriginPerLODs(e)?new n.A("tilingscheme:multiple-origin","Tiling scheme levels must not have their own origin"):null:new n.A("tilingscheme:tile-size","Tiles must be square and size must be one of [128, 256, 512]"):new n.A("tilingscheme:power-of-two","Tiling scheme must be power of two")}static fromExtent(e,t){const i=e[2]-e[0],s=e[3]-e[1],r=(0,x.GA)(t),n=1.2*Math.max(i,s),l=n/256,o=l*r*(96/.0254),a=new z(new V.A({size:[256,256],origin:new A.A({x:e[0]-.5*(n-i),y:e[3]+.5*(n-s)}),lods:[new R.A({level:0,resolution:l,scale:o})],spatialReference:t}));return a.ensureMaxLod(20),a}static makeWebMercatorAuxiliarySphere(e){const t=new z(z.WebMercatorAuxiliarySphereTileInfo);return t.ensureMaxLod(e),t}static makeGCSWithTileSize(e,t=256,i=16){const s=256/t,r=new z(new V.A({size:[t,t],origin:new A.A({x:-180,y:90,spatialReference:e}),spatialReference:e,lods:[new R.A({level:0,resolution:.703125*s,scale:295497598.570834*s})]}));return r.ensureMaxLod(i),r}static{this.WebMercatorAuxiliarySphereTileInfo=new V.A({size:[256,256],origin:new A.A({x:-20037508.342787,y:20037508.342787,spatialReference:T.A.WebMercator}),spatialReference:T.A.WebMercator,lods:[new R.A({level:0,resolution:156543.03392800014,scale:591657527.591555})]})}static{this.WebMercatorAuxiliarySphere=z.makeWebMercatorAuxiliarySphere(19)}get test(){}}const U=(0,C.vt)(),D=(0,S.$8)(S.pq/10),O=(0,C.vt)();z.WebMercatorAuxiliarySphere.getExtent(0,0,0,O),(0,C.vt)([-180,-90,180,90]);var I=i(36005);let E=class extends((0,p.f)((0,g.b)((0,v.q)((0,m.A)((0,o.M)(d.A)))))){constructor(...e){super(...e),this.capabilities={operations:{supportsTileMap:!1}},this.copyright=null,this.heightModelInfo=null,this.path=null,this.minScale=void 0,this.maxScale=void 0,this.opacity=1,this.operationalLayerType="ArcGISTiledElevationServiceLayer",this.sourceJSON=null,this.type="elevation",this.url=null,this.version=null,this._lercDecoder=function(e=null){let t=M.get(e);return t||(null!=e?(t=new _(t=>e.immediate.schedule(t)),M.set(e,t)):(t=new _,M.set(null,t))),++t.ref,t}()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this._lercDecoder=(0,l.Gz)(this._lercDecoder)}readCapabilities(e,t){const i=t.capabilities&&t.capabilities.split(",").map(e=>e.toLowerCase().trim());return i?{operations:{supportsTileMap:i.includes("tilemap")}}:{operations:{supportsTileMap:!1}}}readVersion(e,t){let i=t.currentVersion;return i||(i=9.3),i}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Image Service"],supportsData:!1,validateItem:e=>{if(e.typeKeywords)for(let t=0;t<e.typeKeywords.length;t++)if("elevation 3d layer"===e.typeKeywords[t].toLowerCase())return!0;throw new n.A("portal:invalid-layer-item-type","Invalid layer item type '${type}', expected '${expectedType}' ",{type:"Image Service",expectedType:"Image Service Elevation 3D Layer"})}},e).catch(a.QP).then(()=>this._fetchImageService(t))),Promise.resolve(this)}fetchTile(e,t,i,s){const n=s?.signal,l={responseType:"array-buffer",signal:n},o={noDataValue:s?.noDataValue,returnFileInfo:!0};return this.load().then(()=>this._fetchTileAvailability(e,t,i,s)).then(()=>(0,r.A)(this.getTileUrl(e,t,i),l)).then(e=>this._lercDecoder.decode(e.data,o,n)).then(e=>new f.A(e?new f.A({values:e.pixelData,width:e.width,height:e.height,noDataValue:e.noDataValue}):{values:[],width:0,height:0,noDataValue:s?.noDataValue??D}))}getTileUrl(e,t,i){const s=!this.capabilities.operations.supportsTileMap&&this.supportsBlankTile,r=(0,h.x0)({...this.parsedUrl.query,blankTile:!s&&null});return`${this.parsedUrl.path}/tile/${e}/${t}/${i}${r?"?"+r:""}`}async queryElevation(e,t){const{query:s}=await i.e(91).then(i.bind(i,90091));return(0,a.Te)(t),s(this,e,t)}async createElevationSampler(e,t){const{createSampler:s}=await i.e(91).then(i.bind(i,90091));return(0,a.Te)(t),s(this,e,t)}_fetchTileAvailability(e,t,i,s){return this.tilemapCache?this.tilemapCache.fetchAvailability(e,t,i,s):Promise.resolve("unknown")}async _fetchImageService(e){if(this.sourceJSON)return this.sourceJSON;const t={query:{f:"json",...this.parsedUrl.query},responseType:"json",signal:e},i=await(0,r.A)(this.parsedUrl.path,t);i.ssl&&(this.url=this.url?.replace(/^http:/i,"https:")),this.sourceJSON=i.data,this.read(i.data,{origin:"service",url:this.parsedUrl})}get hasOverriddenFetchTile(){return!this.fetchTile[Z]}};(0,s.Cg)([(0,c.MZ)({readOnly:!0})],E.prototype,"capabilities",void 0),(0,s.Cg)([(0,I.w)("service","capabilities",["capabilities"])],E.prototype,"readCapabilities",null),(0,s.Cg)([(0,c.MZ)({json:{read:{source:"copyrightText"}}})],E.prototype,"copyright",void 0),(0,s.Cg)([(0,c.MZ)({readOnly:!0,type:u.A})],E.prototype,"heightModelInfo",void 0),(0,s.Cg)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],E.prototype,"path",void 0),(0,s.Cg)([(0,c.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],E.prototype,"minScale",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}},readOnly:!0})],E.prototype,"maxScale",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1,write:!1,origins:{"web-document":{read:!1,write:!1}}}})],E.prototype,"opacity",void 0),(0,s.Cg)([(0,c.MZ)({type:["ArcGISTiledElevationServiceLayer"]})],E.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,c.MZ)()],E.prototype,"sourceJSON",void 0),(0,s.Cg)([(0,c.MZ)({json:{read:!1},value:"elevation",readOnly:!0})],E.prototype,"type",void 0),(0,s.Cg)([(0,c.MZ)(y.OZ)],E.prototype,"url",void 0),(0,s.Cg)([(0,c.MZ)()],E.prototype,"version",void 0),(0,s.Cg)([(0,I.w)("version",["currentVersion"])],E.prototype,"readVersion",null),E=(0,s.Cg)([(0,c.$K)("esri.layers.ElevationLayer")],E);const Z=Symbol("default-fetch-tile");E.prototype.fetchTile[Z]=!0;const j=E},18768(e,t,i){i.d(t,{b:()=>o});var s=i(5482),r=i(53966),n=i(91429),l=i(60694);const o=e=>{const t=e;let i=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,l.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,l.Jf)(e,r.A.getLogger(this)))}};return(0,s.Cg)([(0,n.MZ)()],i.prototype,"title",null),(0,s.Cg)([(0,n.MZ)({type:String})],i.prototype,"url",null),i=(0,s.Cg)([(0,n.$K)("esri.layers.mixins.ArcGISService")],i),i}},87378(e,t,i){i.d(t,{A:()=>o});var s,r=i(34275),n=i(56507);const l=Symbol("ElevationTileDataClass");class o{static{s=l}constructor({values:e,width:t,height:i,noDataValue:n}){this[s]=!0,this._hasNoDataValues=null,this._minValue=null,this._maxValue=null,this.values=(0,r.vZ)(e)?e:new Float32Array(e),this.width=t,this.height=i,this.noDataValue=n}get hasNoDataValues(){if(null==this._hasNoDataValues){const e=this.noDataValue;this._hasNoDataValues=this.values.includes(e)}return this._hasNoDataValues}get minValue(){return this._ensureBounds(),this._minValue}get maxValue(){return this._ensureBounds(),this._maxValue}get usedMemory(){return this.values.byteLength+256}_ensureBounds(){if(null!=this._minValue)return;const{noDataValue:e,values:t}=this;let i=1/0,s=-1/0,r=!0;for(const n of t)n===e?this._hasNoDataValues=!0:(i=n<i?n:i,s=n>s?n:s,r=!1);r?(this._minValue=0,this._maxValue=0):(this._minValue=i,this._maxValue=s>-3e38?s:0)}static{this.from=(0,n.qf)(o)}}}}]);