@arcgis/core 5.0.0-next.83 → 5.0.0-next.84

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 (865) hide show
  1. package/WebDocument2D.d.ts +3 -2
  2. package/WebDocument2D.js +1 -1
  3. package/WebScene.d.ts +3 -2
  4. package/WebScene.js +1 -1
  5. package/applications/SceneViewer/layerUtils.d.ts +3 -2
  6. package/applications/SceneViewer/layerUtils.js +1 -1
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/0057d3a9522188090536.js +1 -0
  9. package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js +2 -0
  10. package/assets/esri/core/workers/chunks/00e135dc1b4cb024973d.js +1 -0
  11. package/assets/esri/core/workers/chunks/03da31c7635d077e8d99.js +1 -0
  12. package/assets/esri/core/workers/chunks/04fddd41a8e6a4c1bc57.js +1 -0
  13. package/assets/esri/core/workers/chunks/05a75878baca3a04fee9.js +1 -0
  14. package/assets/esri/core/workers/chunks/05aa22778a85624cfa55.js +1 -0
  15. package/assets/esri/core/workers/chunks/06493efc57cbfbda050a.js +1 -0
  16. package/assets/esri/core/workers/chunks/0674ae3741bc99325879.js +1 -0
  17. package/assets/esri/core/workers/chunks/07c5a9e8f48b3c806ac7.js +1 -0
  18. package/assets/esri/core/workers/chunks/0abb084b8a137f4fcdfc.js +1 -0
  19. package/assets/esri/core/workers/chunks/0b0545538ce355cace52.js +1 -0
  20. package/assets/esri/core/workers/chunks/0c13591347d51d684561.js +1 -0
  21. package/assets/esri/core/workers/chunks/0e7daf348c3e4681dd44.js +1 -0
  22. package/assets/esri/core/workers/chunks/10a5bf887132821beaf0.js +1 -0
  23. package/assets/esri/core/workers/chunks/10b32aff749d3459ddcd.js +1 -0
  24. package/assets/esri/core/workers/chunks/114aecdbd2bd92b24de2.js +1 -0
  25. package/assets/esri/core/workers/chunks/14f8215ab716c6d9d5f8.js +1 -0
  26. package/assets/esri/core/workers/chunks/156c73a948bde11f0d53.js +1 -0
  27. package/assets/esri/core/workers/chunks/165cf8031af160c99d70.js +1 -0
  28. package/assets/esri/core/workers/chunks/1779e6eabc299831fc9f.js +1 -0
  29. package/assets/esri/core/workers/chunks/181fab86394f1f912490.js +1 -0
  30. package/assets/esri/core/workers/chunks/185c97bc63ce546995ce.js +1 -0
  31. package/assets/esri/core/workers/chunks/18cdd268fc921ffd92e2.js +1 -0
  32. package/assets/esri/core/workers/chunks/1a13b472e0cf9f88e8de.js +1 -0
  33. package/assets/esri/core/workers/chunks/1a41c9127ca5a260d5ef.js +1 -0
  34. package/assets/esri/core/workers/chunks/1a62c456e791c82050fe.js +1 -0
  35. package/assets/esri/core/workers/chunks/1c05906d1b5b92441c9b.js +1 -0
  36. package/assets/esri/core/workers/chunks/1cf289446619645487b6.js +1 -0
  37. package/assets/esri/core/workers/chunks/1e318e5cf417c8f13bc7.js +1 -0
  38. package/assets/esri/core/workers/chunks/1eb6f210ae69c317e1f6.js +1 -0
  39. package/assets/esri/core/workers/chunks/1facc1b45345a095b9a7.js +1 -0
  40. package/assets/esri/core/workers/chunks/1fe1a131be1d5e1e23ed.js +1 -0
  41. package/assets/esri/core/workers/chunks/21ac84b5c7dedcfd747d.js +2 -0
  42. package/assets/esri/core/workers/chunks/22503abc06354741d28a.js +1 -0
  43. package/assets/esri/core/workers/chunks/22b1543b1a39db9acfc3.js +1 -0
  44. package/assets/esri/core/workers/chunks/249bc4abaa6482aaf288.js +1 -0
  45. package/assets/esri/core/workers/chunks/25a9ae17dc2ef44a4481.js +1 -0
  46. package/assets/esri/core/workers/chunks/25dead73dfc5a4c19285.js +1 -0
  47. package/assets/esri/core/workers/chunks/2767b69085c9f7a1e1af.js +1 -0
  48. package/assets/esri/core/workers/chunks/286a45e9aec0b2bf32ef.js +1 -0
  49. package/assets/esri/core/workers/chunks/289681e94e93dc1d3512.js +1 -0
  50. package/assets/esri/core/workers/chunks/2a1898c5b8d7757e39e3.js +1 -0
  51. package/assets/esri/core/workers/chunks/2a81f08de9d642485669.js +1 -0
  52. package/assets/esri/core/workers/chunks/2b2283f1ee4bfc1baa18.js +1 -0
  53. package/assets/esri/core/workers/chunks/2bb82ae3ada57c066fdf.js +1 -0
  54. package/assets/esri/core/workers/chunks/2bdd28b4b5ef2c1e111f.js +1 -0
  55. package/assets/esri/core/workers/chunks/2c8b4d54ecf6ea2fecb1.js +1 -0
  56. package/assets/esri/core/workers/chunks/2ce845c990bb4d701362.js +1 -0
  57. package/assets/esri/core/workers/chunks/2f20cca2c5c058afc9af.js +1 -0
  58. package/assets/esri/core/workers/chunks/304ea784c28dc78e5e65.js +1 -0
  59. package/assets/esri/core/workers/chunks/3087910d19959fdc546b.js +1 -0
  60. package/assets/esri/core/workers/chunks/30cfa41017c2d434a89f.js +1 -0
  61. package/assets/esri/core/workers/chunks/33257fbd724ae188e259.js +1 -0
  62. package/assets/esri/core/workers/chunks/338768f94cc49559b209.js +1 -0
  63. package/assets/esri/core/workers/chunks/34073c8e4fc825f060f1.js +1 -0
  64. package/assets/esri/core/workers/chunks/34503f9b26c81e631174.js +1 -0
  65. package/assets/esri/core/workers/chunks/348560f083350ad0bf2e.js +1 -0
  66. package/assets/esri/core/workers/chunks/3606fc5537c4d11b9554.js +1 -0
  67. package/assets/esri/core/workers/chunks/3628e82707e7720c9e4c.js +1 -0
  68. package/assets/esri/core/workers/chunks/36b053decb87c9d32cd2.js +1 -0
  69. package/assets/esri/core/workers/chunks/37f5687dc1147b0a7bc1.js +1 -0
  70. package/assets/esri/core/workers/chunks/380a9b6d75992d6311c3.js +1 -0
  71. package/assets/esri/core/workers/chunks/3849dc35941e569fae5f.js +1 -0
  72. package/assets/esri/core/workers/chunks/388bd41c305d5a11f739.js +1 -0
  73. package/assets/esri/core/workers/chunks/389e2263a540f819d842.js +1 -0
  74. package/assets/esri/core/workers/chunks/38ca539f33e2d977771c.js +1 -0
  75. package/assets/esri/core/workers/chunks/3909217130048b5feeae.js +301 -0
  76. package/assets/esri/core/workers/chunks/39e1b04444389d2987be.js +1 -0
  77. package/assets/esri/core/workers/chunks/3ad7ec46adecf00ae1c2.js +1 -0
  78. package/assets/esri/core/workers/chunks/3aeb3e8220e7d9869652.js +1 -0
  79. package/assets/esri/core/workers/chunks/3afc221b3a9e209cceea.js +1 -0
  80. package/assets/esri/core/workers/chunks/3b67aa46a60e35469bf8.js +1 -0
  81. package/assets/esri/core/workers/chunks/3b6fc34b6d92eef030e5.js +1 -0
  82. package/assets/esri/core/workers/chunks/3bb28b59614fc36b2c50.js +1 -0
  83. package/assets/esri/core/workers/chunks/3eeaec74871e20b433d2.js +1 -0
  84. package/assets/esri/core/workers/chunks/418a778a4cbbb9dabecd.js +1 -0
  85. package/assets/esri/core/workers/chunks/42444285fd79a8d8e564.js +1 -0
  86. package/assets/esri/core/workers/chunks/428ca5900d882d7be499.js +1 -0
  87. package/assets/esri/core/workers/chunks/436c15ac34a205a13a37.js +1 -0
  88. package/assets/esri/core/workers/chunks/43e9eaedf65921b58eb2.js +1 -0
  89. package/assets/esri/core/workers/chunks/4487cf21fa9f0466450d.js +1 -0
  90. package/assets/esri/core/workers/chunks/45dbdf2ff95f7be1eb88.js +1 -0
  91. package/assets/esri/core/workers/chunks/4756f0dbbda129c760b1.js +1 -0
  92. package/assets/esri/core/workers/chunks/4a0760571ce536fbd8c8.js +1 -0
  93. package/assets/esri/core/workers/chunks/4b09d92c51c4619b548a.js +1 -0
  94. package/assets/esri/core/workers/chunks/4b24f72b56edc28bb15e.js +1 -0
  95. package/assets/esri/core/workers/chunks/4bb0c3b009493ea44632.js +1 -0
  96. package/assets/esri/core/workers/chunks/4c0e0beb1534d81ff648.js +1 -0
  97. package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +1 -0
  98. package/assets/esri/core/workers/chunks/4caec60ac0a5851730c6.js +1 -0
  99. package/assets/esri/core/workers/chunks/4db259316b193fcc4541.js +1 -0
  100. package/assets/esri/core/workers/chunks/4f132d758f8b4795c43f.js +1 -0
  101. package/assets/esri/core/workers/chunks/4f4bdf9f5323fa702e6c.js +1 -0
  102. package/assets/esri/core/workers/chunks/4f53071b5eb23d4478c4.js +1 -0
  103. package/assets/esri/core/workers/chunks/4f8895eb57ec6ab4b318.js +1 -0
  104. package/assets/esri/core/workers/chunks/4ff3c03cfbec928c0720.js +1 -0
  105. package/assets/esri/core/workers/chunks/504ab6bf7bfbfd4c4211.js +1 -0
  106. package/assets/esri/core/workers/chunks/5119e3159617b8e1ea13.js +1 -0
  107. package/assets/esri/core/workers/chunks/52684c2abc9e8ce793cf.js +1 -0
  108. package/assets/esri/core/workers/chunks/5298f99c197c8607a690.js +1 -0
  109. package/assets/esri/core/workers/chunks/532935f420ed5f13c011.js +1 -0
  110. package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +1 -0
  111. package/assets/esri/core/workers/chunks/534ed6574e4a1613ba05.js +2 -0
  112. package/assets/esri/core/workers/chunks/53a1c6e008287d1f12f0.js +1 -0
  113. package/assets/esri/core/workers/chunks/53d0b870c080236d82d1.js +1 -0
  114. package/assets/esri/core/workers/chunks/55bf39611ae6028131a3.js +1 -0
  115. package/assets/esri/core/workers/chunks/5659e221e8805bb81210.js +1 -0
  116. package/assets/esri/core/workers/chunks/568fc92333a9ab1c06e6.js +1 -0
  117. package/assets/esri/core/workers/chunks/56bbd86b804cb2a59031.js +1 -0
  118. package/assets/esri/core/workers/chunks/57a749804da9a2b1fae9.js +1 -0
  119. package/assets/esri/core/workers/chunks/59d3f3fbae775fd7686e.js +1 -0
  120. package/assets/esri/core/workers/chunks/59e7a0215791b2b51180.js +1 -0
  121. package/assets/esri/core/workers/chunks/5a706eecd8a988fae6b7.js +1 -0
  122. package/assets/esri/core/workers/chunks/5aee84e827e6fcc9c4c4.js +2 -0
  123. package/assets/esri/core/workers/chunks/5b0ca8d2154ef59da600.js +1 -0
  124. package/assets/esri/core/workers/chunks/5b278b9980752ef495a2.js +1 -0
  125. package/assets/esri/core/workers/chunks/5b3bb636e3bec625e515.js +1 -0
  126. package/assets/esri/core/workers/chunks/5ba2bbbb42ef1920579d.js +1 -0
  127. package/assets/esri/core/workers/chunks/5cc731f161012b63c77a.js +1 -0
  128. package/assets/esri/core/workers/chunks/5e3dd05f1ecfdb21350e.js +1 -0
  129. package/assets/esri/core/workers/chunks/5fa8fe6353dbdda0b06a.js +1 -0
  130. package/assets/esri/core/workers/chunks/5fc6cada83bf8462d54c.js +1 -0
  131. package/assets/esri/core/workers/chunks/6107b58457a70c8de9da.js +1 -0
  132. package/assets/esri/core/workers/chunks/63e930e76a181d54786d.js +1 -0
  133. package/assets/esri/core/workers/chunks/63ee7aa1b169dbec1e37.js +1 -0
  134. package/assets/esri/core/workers/chunks/6440d78ed2af2e7265aa.js +1 -0
  135. package/assets/esri/core/workers/chunks/645e086291b04bc036d7.js +1 -0
  136. package/assets/esri/core/workers/chunks/654eef3ad30f34c42e12.js +1 -0
  137. package/assets/esri/core/workers/chunks/6610d23d8539f06e64ca.js +1 -0
  138. package/assets/esri/core/workers/chunks/681d9a923c0d1ace86e8.js +1 -0
  139. package/assets/esri/core/workers/chunks/68abe4e70ea48e978642.js +1 -0
  140. package/assets/esri/core/workers/chunks/6a083fde0e207625fd0b.js +1 -0
  141. package/assets/esri/core/workers/chunks/6bc7bacf01328ef10ff1.js +1 -0
  142. package/assets/esri/core/workers/chunks/6bcf5d6792e4f09cbc7b.js +1 -0
  143. package/assets/esri/core/workers/chunks/6d7eb784988ee9a33473.js +1 -0
  144. package/assets/esri/core/workers/chunks/6de843d1809cba61ded3.js +1 -0
  145. package/assets/esri/core/workers/chunks/6e04303500a9fbc3f14a.js +1 -0
  146. package/assets/esri/core/workers/chunks/6edcae8ec128c2e86a05.js +1 -0
  147. package/assets/esri/core/workers/chunks/6eeee6e278b5f516d1d2.js +1 -0
  148. package/assets/esri/core/workers/chunks/701775be0dad640a72b4.js +1 -0
  149. package/assets/esri/core/workers/chunks/70df4331ed29d823bf38.js +1 -0
  150. package/assets/esri/core/workers/chunks/7130b09300032d3a5925.js +1 -0
  151. package/assets/esri/core/workers/chunks/72f0e2e5dcddafa2a642.js +1 -0
  152. package/assets/esri/core/workers/chunks/73c87eb9bd8f0f848481.js +1 -0
  153. package/assets/esri/core/workers/chunks/746190bb70aa78ba0bfc.js +1039 -0
  154. package/assets/esri/core/workers/chunks/75d7290c73bb59f2c856.js +1 -0
  155. package/assets/esri/core/workers/chunks/76d6843d56bff0d4c45e.js +1 -0
  156. package/assets/esri/core/workers/chunks/780a1eba9a7f1ca690ce.js +1 -0
  157. package/assets/esri/core/workers/chunks/7815dbf49ef5a06705f3.js +1 -0
  158. package/assets/esri/core/workers/chunks/7892daeed58778453639.js +1 -0
  159. package/assets/esri/core/workers/chunks/7990c828447bc3a29965.js +1 -0
  160. package/assets/esri/core/workers/chunks/799829d0ae17c146196b.js +1 -0
  161. package/assets/esri/core/workers/chunks/7a31717dafbd820bc2bf.js +1 -0
  162. package/assets/esri/core/workers/chunks/7b2f848947b296c7c785.js +1 -0
  163. package/assets/esri/core/workers/chunks/7d76a2245ac973efe1ed.js +1 -0
  164. package/assets/esri/core/workers/chunks/7f76566d9b3801742387.js +1 -0
  165. package/assets/esri/core/workers/chunks/8008bca4ef04c9424579.js +1 -0
  166. package/assets/esri/core/workers/chunks/815a25a5a8dba7921f8b.js +1 -0
  167. package/assets/esri/core/workers/chunks/8184c34b2c4969f14f3d.js +1 -0
  168. package/assets/esri/core/workers/chunks/81e395a93c67749c6487.js +1 -0
  169. package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +1 -0
  170. package/assets/esri/core/workers/chunks/83ddc0f6bfe68756f26f.js +1 -0
  171. package/assets/esri/core/workers/chunks/841058de8bc6e328fd68.js +1 -0
  172. package/assets/esri/core/workers/chunks/84a4390b1c277c415d44.js +1 -0
  173. package/assets/esri/core/workers/chunks/854adab6a06af861c104.js +1 -0
  174. package/assets/esri/core/workers/chunks/8765fe036d9664c25b1d.js +37 -0
  175. package/assets/esri/core/workers/chunks/88c3b60b403e2454b56e.js +1 -0
  176. package/assets/esri/core/workers/chunks/8a0a13f398ab488dbbe9.js +1 -0
  177. package/assets/esri/core/workers/chunks/8cb13b3776f07536c79f.js +1 -0
  178. package/assets/esri/core/workers/chunks/{51093e552e31344cefa5.js → 8d9ec752136cbc5cb29a.js} +1 -1
  179. package/assets/esri/core/workers/chunks/8deae3a426eceae73186.js +1 -0
  180. package/assets/esri/core/workers/chunks/8f4ca0dfd9635eb10e02.js +1 -0
  181. package/assets/esri/core/workers/chunks/8faa0122d0a6e2e39153.js +1 -0
  182. package/assets/esri/core/workers/chunks/90a53bfe95ed687c28c1.js +2 -0
  183. package/assets/esri/core/workers/chunks/911912b0ef7ffed875be.js +1 -0
  184. package/assets/esri/core/workers/chunks/913c417ad278ce1caaf9.js +1 -0
  185. package/assets/esri/core/workers/chunks/9184089e72c24d91d23b.js +1 -0
  186. package/assets/esri/core/workers/chunks/91e307ca0d11804a7a1d.js +2 -0
  187. package/assets/esri/core/workers/chunks/9279a5361bf6a54784ef.js +1 -0
  188. package/assets/esri/core/workers/chunks/92a42bbb8b9b39f3211c.js +1 -0
  189. package/assets/esri/core/workers/chunks/934ce3f004c54d542d2c.js +1 -0
  190. package/assets/esri/core/workers/chunks/93caf6fb8afab3dd8a46.js +1 -0
  191. package/assets/esri/core/workers/chunks/97148a9966f55e69421e.js +1 -0
  192. package/assets/esri/core/workers/chunks/9748b8c35d56a5ee9c64.js +1 -0
  193. package/assets/esri/core/workers/chunks/97ad3eb25ad003c16148.js +1 -0
  194. package/assets/esri/core/workers/chunks/982e709d2cef971ecd82.js +1 -0
  195. package/assets/esri/core/workers/chunks/98e04c2382fa5ba382fc.js +1 -0
  196. package/assets/esri/core/workers/chunks/9919b3c345785e910c38.js +1 -0
  197. package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +1 -0
  198. package/assets/esri/core/workers/chunks/9cd7205bbc711914d74b.js +1 -0
  199. package/assets/esri/core/workers/chunks/9d17524f5f935b7b60bf.js +1 -0
  200. package/assets/esri/core/workers/chunks/9de8149ae0a0726a4ab2.js +1 -0
  201. package/assets/esri/core/workers/chunks/9fac9eda0a41f7f4c2c6.js +1 -0
  202. package/assets/esri/core/workers/chunks/9ff1e650ce0912afa780.js +1 -0
  203. package/assets/esri/core/workers/chunks/a0d52a819302ed6f401e.js +1 -0
  204. package/assets/esri/core/workers/chunks/a1908b3fa61f02425a94.js +1 -0
  205. package/assets/esri/core/workers/chunks/a2046f85b9964693f053.js +1 -0
  206. package/assets/esri/core/workers/chunks/a24627400b3b9fe8431d.js +1 -0
  207. package/assets/esri/core/workers/chunks/a27c74fd2029583de933.js +1 -0
  208. package/assets/esri/core/workers/chunks/a2c0c1bb5e775abefc90.js +1 -0
  209. package/assets/esri/core/workers/chunks/a3184fb1ac7ce9af1a7e.js +1 -0
  210. package/assets/esri/core/workers/chunks/a4ee92867ad5cde25aed.js +1 -0
  211. package/assets/esri/core/workers/chunks/a56a5e00964d4cd59a66.js +1 -0
  212. package/assets/esri/core/workers/chunks/a774b4fc7df801503bea.js +1 -0
  213. package/assets/esri/core/workers/chunks/a9521578c0e21aaddbc7.js +1 -0
  214. package/assets/esri/core/workers/chunks/a9b30c3b604e314f1706.js +1 -0
  215. package/assets/esri/core/workers/chunks/aa0c648bd37787f62b1f.js +1 -0
  216. package/assets/esri/core/workers/chunks/aa1b8c06bdf8453a02d7.js +1 -0
  217. package/assets/esri/core/workers/chunks/aaac4eee709cd6d24910.js +1 -0
  218. package/assets/esri/core/workers/chunks/aafa33f661462f5afd2b.js +1 -0
  219. package/assets/esri/core/workers/chunks/ab3e457c82fa9bd0203f.js +1 -0
  220. package/assets/esri/core/workers/chunks/ac0949ea3d2cf3eb7383.js +1 -0
  221. package/assets/esri/core/workers/chunks/ac5da65af5da254acb16.js +1 -0
  222. package/assets/esri/core/workers/chunks/ae5798399607cb043ed2.js +1 -0
  223. package/assets/esri/core/workers/chunks/af3d4eba6fe24db3ceba.js +1 -0
  224. package/assets/esri/core/workers/chunks/b1015e1f25b60c08d2cf.js +1 -0
  225. package/assets/esri/core/workers/chunks/b1085fa91724e2d3b24f.js +1 -0
  226. package/assets/esri/core/workers/chunks/b12dc8fd3f2a2ff8073d.js +1 -0
  227. package/assets/esri/core/workers/chunks/b1c6a1759febad66927f.js +1 -0
  228. package/assets/esri/core/workers/chunks/b482a24c9567d8926897.js +1 -0
  229. package/assets/esri/core/workers/chunks/b48b0f512a1cd7226bdc.js +1 -0
  230. package/assets/esri/core/workers/chunks/b586d7e608e8ba8b88fe.js +1 -0
  231. package/assets/esri/core/workers/chunks/b599c6d4fa3189ed1762.js +1 -0
  232. package/assets/esri/core/workers/chunks/b6acf67316107902e31d.js +1 -0
  233. package/assets/esri/core/workers/chunks/b7576a5195615c465ea7.js +1 -0
  234. package/assets/esri/core/workers/chunks/b7e40118b4d645e9f8e1.js +1 -0
  235. package/assets/esri/core/workers/chunks/b8005b1996f42dee8237.js +1 -0
  236. package/assets/esri/core/workers/chunks/b91a157fb5f729de6597.js +1 -0
  237. package/assets/esri/core/workers/chunks/b9226dd0342cfd30ece0.js +1 -0
  238. package/assets/esri/core/workers/chunks/b977b9f5f50ae8027443.js +1 -0
  239. package/assets/esri/core/workers/chunks/bab6dee8f4715d05d984.js +1 -0
  240. package/assets/esri/core/workers/chunks/bbb409e54db77bfabdee.js +1 -0
  241. package/assets/esri/core/workers/chunks/bc4f513ea3a8f344c8da.js +1 -0
  242. package/assets/esri/core/workers/chunks/be26f8175a76e7dc8f7a.js +1 -0
  243. package/assets/esri/core/workers/chunks/befedcb6d8d1ff88125f.js +1 -0
  244. package/assets/esri/core/workers/chunks/bf73352b3366de82abbe.js +1 -0
  245. package/assets/esri/core/workers/chunks/c0265669fb616f052b65.js +1 -0
  246. package/assets/esri/core/workers/chunks/c133e57f2201b9bc6cbc.js +1 -0
  247. package/assets/esri/core/workers/chunks/c16115cfbca879dd6717.js +1 -0
  248. package/assets/esri/core/workers/chunks/c2d7b32f0c8eb965fcf7.js +1 -0
  249. package/assets/esri/core/workers/chunks/c45a5bcf26659daf02a1.js +1 -0
  250. package/assets/esri/core/workers/chunks/c46a4681cbba638b58c1.js +1 -0
  251. package/assets/esri/core/workers/chunks/c477b0ce55211339c4cb.js +1 -0
  252. package/assets/esri/core/workers/chunks/c500b59cd7da54fe72ec.js +1 -0
  253. package/assets/esri/core/workers/chunks/c5c1b189b91e199e8b82.js +1 -0
  254. package/assets/esri/core/workers/chunks/c65a138c14a4c540cd3b.js +1 -0
  255. package/assets/esri/core/workers/chunks/c66a9477e1c30a5ca03f.js +1 -0
  256. package/assets/esri/core/workers/chunks/{d79d29b52a65fb6bf94d.js → c71fe727224da0aba6ca.js} +1 -1
  257. package/assets/esri/core/workers/chunks/c741f7bc5693ae7e5019.js +1 -0
  258. package/assets/esri/core/workers/chunks/c75a41a5c8c5bd40ae91.js +1 -0
  259. package/assets/esri/core/workers/chunks/c825ca22894bdb4d01ba.js +1 -0
  260. package/assets/esri/core/workers/chunks/c8f1075c45ecf9fef00f.js +1 -0
  261. package/assets/esri/core/workers/chunks/ca06811e636f1d96f3cb.js +1 -0
  262. package/assets/esri/core/workers/chunks/cb66a74448a6c0c20d5d.js +1 -0
  263. package/assets/esri/core/workers/chunks/cbab45550b06bcc38524.js +1 -0
  264. package/assets/esri/core/workers/chunks/cc2606b8e600eeaf4bc8.js +1 -0
  265. package/assets/esri/core/workers/chunks/cdf711afbaaf345101f0.js +1 -0
  266. package/assets/esri/core/workers/chunks/ce87a6e24e9c64d90da3.js +1 -0
  267. package/assets/esri/core/workers/chunks/ce9467dc1ff695d795e5.js +1 -0
  268. package/assets/esri/core/workers/chunks/d0c831a473642d1bd9d1.js +1 -0
  269. package/assets/esri/core/workers/chunks/d0d6f818851d9a2d7938.js +1 -0
  270. package/assets/esri/core/workers/chunks/d1dd1787b3bf27834a9e.js +1 -0
  271. package/assets/esri/core/workers/chunks/d28169816c768d55aa09.js +1 -0
  272. package/assets/esri/core/workers/chunks/d2d4bce67c711a404b73.js +1 -0
  273. package/assets/esri/core/workers/chunks/d31f62ecbb54bffc54f2.js +1 -0
  274. package/assets/esri/core/workers/chunks/d37f03714c9591fb2b06.js +1 -0
  275. package/assets/esri/core/workers/chunks/d3c69c9cb3d9c3f5c67a.js +1 -0
  276. package/assets/esri/core/workers/chunks/d436e1694f4b5bf05a90.js +1 -0
  277. package/assets/esri/core/workers/chunks/d4770dddfbfdc3845749.js +1 -0
  278. package/assets/esri/core/workers/chunks/d477def8bfd8482596d1.js +1 -0
  279. package/assets/esri/core/workers/chunks/d4c4dad52da5dcf4432c.js +1 -0
  280. package/assets/esri/core/workers/chunks/d4f4c0201d8b641709c0.js +1 -0
  281. package/assets/esri/core/workers/chunks/d525b3fa719a688d4899.js +1 -0
  282. package/assets/esri/core/workers/chunks/d6e11f05db698d14f21d.js +1 -0
  283. package/assets/esri/core/workers/chunks/d7c275717a2405b6ff87.js +1 -0
  284. package/assets/esri/core/workers/chunks/d8c8f54532714d4db2cd.js +1 -0
  285. package/assets/esri/core/workers/chunks/d9d2178d436597b1afaf.js +1 -0
  286. package/assets/esri/core/workers/chunks/da808dfb22c6de29e560.js +1 -0
  287. package/assets/esri/core/workers/chunks/db9a9712038df76e3eda.js +1 -0
  288. package/assets/esri/core/workers/chunks/dc57400b835724204909.js +2 -0
  289. package/assets/esri/core/workers/chunks/dd0e65b18c634b64582e.js +1 -0
  290. package/assets/esri/core/workers/chunks/dd30c1f5da0af72becd1.js +1 -0
  291. package/assets/esri/core/workers/chunks/de216922b36267ab4aa1.js +1 -0
  292. package/assets/esri/core/workers/chunks/de6b3f80070abdd61d0f.js +1 -0
  293. package/assets/esri/core/workers/chunks/dea2e8caaf6e53ec56f8.js +1 -0
  294. package/assets/esri/core/workers/chunks/ded589862c22ea12d47a.js +1 -0
  295. package/assets/esri/core/workers/chunks/dedd9d47ccc019ffc484.js +1 -0
  296. package/assets/esri/core/workers/chunks/df40be5a050b8d20617a.js +1 -0
  297. package/assets/esri/core/workers/chunks/dfef6e3d7bbf099de498.js +1 -0
  298. package/assets/esri/core/workers/chunks/e1b677a135e164a29605.js +1 -0
  299. package/assets/esri/core/workers/chunks/e201bfe3158c025edc99.js +1 -0
  300. package/assets/esri/core/workers/chunks/e337b8d69d89f597cb58.js +1 -0
  301. package/assets/esri/core/workers/chunks/e370d213c307ad8bfaec.js +1 -0
  302. package/assets/esri/core/workers/chunks/e3a73d9acebccd3ba49b.js +1 -0
  303. package/assets/esri/core/workers/chunks/e3d3fc87789fd711f161.js +2 -0
  304. package/assets/esri/core/workers/chunks/e43c6058c793d43fa5f3.js +1 -0
  305. package/assets/esri/core/workers/chunks/e462b167841fddaa80b8.js +1 -0
  306. package/assets/esri/core/workers/chunks/e51e35b5cef89b0e0db1.js +1 -0
  307. package/assets/esri/core/workers/chunks/e58ec49a5cd852cb46cb.js +1 -0
  308. package/assets/esri/core/workers/chunks/e7d28ebf684db4ecb8cb.js +1 -0
  309. package/assets/esri/core/workers/chunks/e881629bf230a148963d.js +1 -0
  310. package/assets/esri/core/workers/chunks/e8f6305744f87bbed961.js +1 -0
  311. package/assets/esri/core/workers/chunks/e9f8115c049f168d3c2b.js +1 -0
  312. package/assets/esri/core/workers/chunks/ea32a8478f3ccb19aced.js +1 -0
  313. package/assets/esri/core/workers/chunks/ea734de7d5271c487171.js +1 -0
  314. package/assets/esri/core/workers/chunks/eb765db525f4e2e2bda2.js +1 -0
  315. package/assets/esri/core/workers/chunks/ebbcd6196ef5c5ab233d.js +1 -0
  316. package/assets/esri/core/workers/chunks/ec00fa313794f177d9d3.js +1 -0
  317. package/assets/esri/core/workers/chunks/ec03d59984782529031a.js +1 -0
  318. package/assets/esri/core/workers/chunks/ec7f4e459c7466805f72.js +1 -0
  319. package/assets/esri/core/workers/chunks/ecf7d34b37ce6f0877af.js +1 -0
  320. package/assets/esri/core/workers/chunks/ed1c92a24a167e57e36e.js +1 -0
  321. package/assets/esri/core/workers/chunks/ed69b19366e3ce5805ac.js +1 -0
  322. package/assets/esri/core/workers/chunks/ee25d1eae52c8be82898.js +1 -0
  323. package/assets/esri/core/workers/chunks/ee905e24320241959965.js +1 -0
  324. package/assets/esri/core/workers/chunks/eea91681bae00819a5e9.js +1 -0
  325. package/assets/esri/core/workers/chunks/eed24607e9b5312b417f.js +1 -0
  326. package/assets/esri/core/workers/chunks/ef519984fa691aad8d87.js +2 -0
  327. package/assets/esri/core/workers/chunks/f0eb2bfe5a8607b251f5.js +1 -0
  328. package/assets/esri/core/workers/chunks/f370e60dc81d41368e0c.js +1 -0
  329. package/assets/esri/core/workers/chunks/f3fdf9970b3c7acd071d.js +1 -0
  330. package/assets/esri/core/workers/chunks/f40e413c68d99cf54d42.js +1 -0
  331. package/assets/esri/core/workers/chunks/f5b32bc3f7ee911e3c59.js +1 -0
  332. package/assets/esri/core/workers/chunks/f5dbffd5e8b3c16336a1.js +1 -0
  333. package/assets/esri/core/workers/chunks/f5ed6953a9255f0bed6a.js +2 -0
  334. package/assets/esri/core/workers/chunks/f627017adc9469144507.js +1 -0
  335. package/assets/esri/core/workers/chunks/f7ad285944e0e5164384.js +1 -0
  336. package/assets/esri/core/workers/chunks/f872d34d4236f8bedbd9.js +1 -0
  337. package/assets/esri/core/workers/chunks/f88adc930506ac2d5c90.js +1 -0
  338. package/assets/esri/core/workers/chunks/f890cfa4932955ecd4e7.js +1 -0
  339. package/assets/esri/core/workers/chunks/fd4bd04f85458cad849c.js +1 -0
  340. package/assets/esri/core/workers/chunks/fe98a068536e904ce257.js +1 -0
  341. package/assets/esri/core/workers/chunks/ffa9cc09e82f2e515993.js +1 -0
  342. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  343. package/assets/esri/themes/base/widgets/_Compass.scss +1 -1
  344. package/assets/esri/themes/base/widgets/_Feature.scss +1 -1
  345. package/assets/esri/themes/base/widgets/_Features.scss +1 -1
  346. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -4
  347. package/assets/esri/themes/base/widgets/_Widget.scss +1 -1
  348. package/assets/esri/themes/dark/main.css +1 -1
  349. package/assets/esri/themes/light/main.css +1 -1
  350. package/assets/esri/themes/light/view.css +1 -1
  351. package/config.js +1 -1
  352. package/core/MultiOriginJSONSupport.d.ts +8 -0
  353. package/core/MultiOriginJSONSupport.js +1 -1
  354. package/core/ReadOnlyMultiOriginJSONSupport.d.ts +40 -0
  355. package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
  356. package/core/WriteableMultiOriginJSONMixin.js +1 -1
  357. package/core/accessorSupport/decorators/subclass.js +1 -1
  358. package/core/accessorSupport/types.d.ts +2 -0
  359. package/kernel.js +1 -1
  360. package/layers/BingMapsLayer.d.ts +3 -2
  361. package/layers/BingMapsLayer.js +1 -1
  362. package/layers/BuildingSceneLayer.d.ts +3 -2
  363. package/layers/BuildingSceneLayer.js +1 -1
  364. package/layers/CSVLayer.js +1 -1
  365. package/layers/CatalogLayer.d.ts +3 -2
  366. package/layers/CatalogLayer.js +1 -1
  367. package/layers/DimensionLayer.d.ts +3 -2
  368. package/layers/DimensionLayer.js +1 -1
  369. package/layers/ElevationLayer.d.ts +3 -2
  370. package/layers/ElevationLayer.js +1 -1
  371. package/layers/FeatureLayer.d.ts +3 -2
  372. package/layers/FeatureLayer.js +1 -1
  373. package/layers/GaussianSplatLayer.d.ts +3 -2
  374. package/layers/GaussianSplatLayer.js +1 -1
  375. package/layers/GeoJSONLayer.d.ts +3 -2
  376. package/layers/GeoJSONLayer.js +1 -1
  377. package/layers/GeoRSSLayer.d.ts +3 -2
  378. package/layers/GeoRSSLayer.js +1 -1
  379. package/layers/GroupLayer.d.ts +3 -2
  380. package/layers/GroupLayer.js +1 -1
  381. package/layers/ImageryLayer.d.ts +3 -2
  382. package/layers/ImageryLayer.js +1 -1
  383. package/layers/ImageryTileLayer.d.ts +3 -2
  384. package/layers/ImageryTileLayer.js +1 -1
  385. package/layers/IntegratedMesh3DTilesLayer.d.ts +3 -2
  386. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  387. package/layers/IntegratedMeshLayer.d.ts +3 -2
  388. package/layers/IntegratedMeshLayer.js +1 -1
  389. package/layers/KMLLayer.d.ts +3 -2
  390. package/layers/KMLLayer.js +1 -1
  391. package/layers/KnowledgeGraphLayer.d.ts +3 -2
  392. package/layers/KnowledgeGraphLayer.js +1 -1
  393. package/layers/LineOfSightLayer.d.ts +3 -2
  394. package/layers/LineOfSightLayer.js +1 -1
  395. package/layers/LinkChartLayer.d.ts +3 -2
  396. package/layers/LinkChartLayer.js +1 -1
  397. package/layers/MapImageLayer.d.ts +3 -2
  398. package/layers/MapImageLayer.js +1 -1
  399. package/layers/MapNotesLayer.d.ts +3 -2
  400. package/layers/MapNotesLayer.js +1 -1
  401. package/layers/MediaLayer.d.ts +3 -2
  402. package/layers/MediaLayer.js +1 -1
  403. package/layers/OGCFeatureLayer.d.ts +3 -2
  404. package/layers/OGCFeatureLayer.js +1 -1
  405. package/layers/ParquetLayer.d.ts +3 -2
  406. package/layers/ParquetLayer.js +1 -1
  407. package/layers/PointCloudLayer.d.ts +3 -2
  408. package/layers/PointCloudLayer.js +1 -1
  409. package/layers/RouteLayer.d.ts +3 -2
  410. package/layers/RouteLayer.js +1 -1
  411. package/layers/SceneLayer.d.ts +6 -2
  412. package/layers/SceneLayer.js +1 -1
  413. package/layers/StreamLayer.d.ts +3 -2
  414. package/layers/StreamLayer.js +1 -1
  415. package/layers/SubtypeGroupLayer.d.ts +3 -2
  416. package/layers/SubtypeGroupLayer.js +1 -1
  417. package/layers/TileLayer.d.ts +3 -2
  418. package/layers/TileLayer.js +1 -1
  419. package/layers/UnknownLayer.d.ts +3 -2
  420. package/layers/UnknownLayer.js +1 -1
  421. package/layers/UnsupportedLayer.d.ts +3 -2
  422. package/layers/UnsupportedLayer.js +1 -1
  423. package/layers/VectorTileLayer.d.ts +3 -2
  424. package/layers/VectorTileLayer.js +1 -1
  425. package/layers/VideoLayer.d.ts +3 -2
  426. package/layers/VideoLayer.js +1 -1
  427. package/layers/ViewshedLayer.d.ts +3 -2
  428. package/layers/ViewshedLayer.js +1 -1
  429. package/layers/VoxelLayer.d.ts +3 -2
  430. package/layers/VoxelLayer.js +1 -1
  431. package/layers/WCSLayer.d.ts +3 -2
  432. package/layers/WCSLayer.js +1 -1
  433. package/layers/WFSLayer.d.ts +3 -2
  434. package/layers/WFSLayer.js +1 -1
  435. package/layers/WMSLayer.d.ts +3 -2
  436. package/layers/WMSLayer.js +1 -1
  437. package/layers/WMTSLayer.d.ts +3 -2
  438. package/layers/WMTSLayer.js +1 -1
  439. package/layers/WebTileLayer.d.ts +3 -2
  440. package/layers/WebTileLayer.js +1 -1
  441. package/layers/buildingSublayers/BuildingSublayer.d.ts +3 -2
  442. package/layers/buildingSublayers/BuildingSublayer.js +1 -1
  443. package/layers/catalog/CatalogDynamicGroupLayer.d.ts +3 -2
  444. package/layers/catalog/CatalogDynamicGroupLayer.js +1 -1
  445. package/layers/catalog/CatalogFootprintLayer.d.ts +3 -2
  446. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  447. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +3 -2
  448. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  449. package/layers/media/types.d.ts +31 -5
  450. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  451. package/layers/support/ElevationQuery.js +1 -1
  452. package/layers/support/MediaElementBase.d.ts +5 -3
  453. package/layers/support/MediaElementBase.js +1 -1
  454. package/layers/support/Sublayer.d.ts +3 -2
  455. package/layers/support/Sublayer.js +1 -1
  456. package/layers/support/SubtypeSublayer.d.ts +3 -2
  457. package/layers/support/SubtypeSublayer.js +1 -1
  458. package/layers/support/WMSSublayer.d.ts +3 -2
  459. package/layers/support/WMSSublayer.js +1 -1
  460. package/layers/support/layerOriginUtils.js +1 -1
  461. package/linkChart/LinkChartProperties.d.ts +5 -3
  462. package/linkChart/LinkChartProperties.js +1 -1
  463. package/networks/Network.d.ts +4 -2
  464. package/networks/Network.js +1 -1
  465. package/networks/support/NamedTraceConfiguration.d.ts +5 -3
  466. package/networks/support/NamedTraceConfiguration.js +1 -1
  467. package/package.json +3 -3
  468. package/support/revision.js +1 -1
  469. package/views/2d/engine/BitmapTileContainer.js +1 -1
  470. package/views/2d/engine/DisplayObject.js +1 -1
  471. package/views/2d/engine/Stage.js +1 -1
  472. package/views/2d/engine/imagery/RasterTileContainer.js +1 -1
  473. package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
  474. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  475. package/views/2d/engine/vectorTiles/decluttering/SymbolDeclutterer.js +1 -1
  476. package/views/2d/engine/vectorTiles/decluttering/SymbolFader.js +1 -1
  477. package/views/2d/engine/webgl/RenderingDevice.js +1 -1
  478. package/views/2d/engine/webgl/TileContainer.js +1 -1
  479. package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
  480. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueProgramCache.js +1 -1
  481. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  482. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
  483. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
  484. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
  485. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  486. package/views/2d/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiles2D.js +1 -1
  487. package/views/2d/layers/TileLayerView2D.js +1 -1
  488. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  489. package/views/2d/layers/features/FeatureContainer.js +1 -1
  490. package/views/2d/layers/features/Processor.js +1 -1
  491. package/views/2d/layers/features/support/Tile.js +1 -1
  492. package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
  493. package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
  494. package/views/2d/layers/imagery/VectorFieldTileView2D.js +1 -1
  495. package/views/2d/layers/support/imageUtils.js +1 -1
  496. package/views/2d/tiling/TileCache.js +1 -1
  497. package/views/2d/tiling/TileInfoView.js +1 -1
  498. package/views/2d/tiling/TileInfoViewPOT.js +1 -1
  499. package/views/3d/FocusAreasView.js +1 -1
  500. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  501. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  502. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  503. package/views/3d/layers/graphics/ElevationQuery.js +1 -1
  504. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  505. package/views/3d/layers/graphics/extrudeUtils.js +5 -0
  506. package/widgets/Attribution.d.ts +1 -0
  507. package/widgets/FeatureForm.js +1 -1
  508. package/widgets/FeatureTable/FieldColumn.js +1 -1
  509. package/widgets/FeatureTable/Grid/EditorColumn.js +1 -1
  510. package/widgets/FeatureTable/support/tableUtils.js +1 -1
  511. package/widgets/FeatureTable.js +1 -1
  512. package/widgets/Legend/LegendViewModel.d.ts +6 -0
  513. package/widgets/Legend/styles/card/CardView.d.ts +19 -3
  514. package/widgets/Legend/styles/classic/ClassicView.d.ts +1 -0
  515. package/widgets/Legend.d.ts +15 -0
  516. package/widgets/smartMapping/BinaryColorSizeSlider.js +1 -1
  517. package/widgets/smartMapping/ClassedColorSlider.js +1 -1
  518. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  519. package/widgets/smartMapping/ClassedSizeSlider.js +1 -1
  520. package/widgets/smartMapping/ColorSizeSlider.js +1 -1
  521. package/widgets/smartMapping/ColorSlider.js +1 -1
  522. package/widgets/smartMapping/OpacitySlider.js +1 -1
  523. package/widgets/smartMapping/SizeSlider.js +1 -1
  524. package/assets/esri/core/workers/chunks/00c77f03dd511c6dbff2.js +0 -1
  525. package/assets/esri/core/workers/chunks/015492d609c28077d66c.js +0 -1
  526. package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +0 -1
  527. package/assets/esri/core/workers/chunks/0429ca6ba562ae29897e.js +0 -1
  528. package/assets/esri/core/workers/chunks/04958494022f82dca473.js +0 -1
  529. package/assets/esri/core/workers/chunks/049c125085028ffdd0dd.js +0 -1
  530. package/assets/esri/core/workers/chunks/05e3bfd07a7a227862fd.js +0 -1
  531. package/assets/esri/core/workers/chunks/095c1b88cdcb91ab837e.js +0 -1
  532. package/assets/esri/core/workers/chunks/09b77f82c22530b44daa.js +0 -1
  533. package/assets/esri/core/workers/chunks/0a39c6dc57bd60d5587e.js +0 -1
  534. package/assets/esri/core/workers/chunks/0b679d5a1bfdbd006d6e.js +0 -1
  535. package/assets/esri/core/workers/chunks/0b7bbdc0d71ee6721751.js +0 -2
  536. package/assets/esri/core/workers/chunks/0d9e1ccc3ba8b5ed3287.js +0 -1
  537. package/assets/esri/core/workers/chunks/0f4e9846d074864b39c2.js +0 -1
  538. package/assets/esri/core/workers/chunks/0fc22ad791d3ec0a9c5e.js +0 -1
  539. package/assets/esri/core/workers/chunks/1037b38aade2a847bf24.js +0 -1
  540. package/assets/esri/core/workers/chunks/108a4ab28b6586e281d9.js +0 -1
  541. package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +0 -1
  542. package/assets/esri/core/workers/chunks/13137f35b9ab299d07e3.js +0 -1
  543. package/assets/esri/core/workers/chunks/13839d220e5c62404923.js +0 -1
  544. package/assets/esri/core/workers/chunks/1484a7ef4fcbd748b197.js +0 -1
  545. package/assets/esri/core/workers/chunks/14dedd80fb797303f91f.js +0 -1
  546. package/assets/esri/core/workers/chunks/1694b9154df3eccf602e.js +0 -1
  547. package/assets/esri/core/workers/chunks/16a7edb381621085a631.js +0 -1
  548. package/assets/esri/core/workers/chunks/16cfa7031d6dbf5aa09b.js +0 -1
  549. package/assets/esri/core/workers/chunks/18ab5959ebf8689f8fe8.js +0 -1
  550. package/assets/esri/core/workers/chunks/18b0ce0bc2a9737ffb1b.js +0 -1
  551. package/assets/esri/core/workers/chunks/1a6d2f525dd30d08cf9b.js +0 -1
  552. package/assets/esri/core/workers/chunks/1b284a6f32effe28aafc.js +0 -1
  553. package/assets/esri/core/workers/chunks/1c58bd3275c849d44b13.js +0 -1
  554. package/assets/esri/core/workers/chunks/1c742018eb7dfd5d23e3.js +0 -1
  555. package/assets/esri/core/workers/chunks/1dfa949cc4f4c18ed4cf.js +0 -1
  556. package/assets/esri/core/workers/chunks/1e848d9da1c61a27cf18.js +0 -1
  557. package/assets/esri/core/workers/chunks/20f4c6d8b310ecab97be.js +0 -1
  558. package/assets/esri/core/workers/chunks/218b2b767b40d85fb713.js +0 -1
  559. package/assets/esri/core/workers/chunks/22c115ec003351c7d8ee.js +0 -1
  560. package/assets/esri/core/workers/chunks/23545a9adc75564ecf6e.js +0 -1
  561. package/assets/esri/core/workers/chunks/23cf4cbc389d2b50e968.js +0 -1
  562. package/assets/esri/core/workers/chunks/24527b61c8c216becbc4.js +0 -1
  563. package/assets/esri/core/workers/chunks/24dab877047369de13e2.js +0 -1
  564. package/assets/esri/core/workers/chunks/25f3ee666f545a7a7993.js +0 -2
  565. package/assets/esri/core/workers/chunks/29471e0b3f7296dee096.js +0 -1
  566. package/assets/esri/core/workers/chunks/2b27499fa9de22970b7a.js +0 -1
  567. package/assets/esri/core/workers/chunks/2bd59ece927b5c1c9f80.js +0 -1
  568. package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +0 -1
  569. package/assets/esri/core/workers/chunks/2d8b8880e6bff4414e95.js +0 -1
  570. package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +0 -1
  571. package/assets/esri/core/workers/chunks/2e6ae1ca07df442fc966.js +0 -1
  572. package/assets/esri/core/workers/chunks/2e6bd743b88e83d43137.js +0 -1
  573. package/assets/esri/core/workers/chunks/3001568a99fdd14aada9.js +0 -1
  574. package/assets/esri/core/workers/chunks/30dd4a7c93b33988a270.js +0 -1
  575. package/assets/esri/core/workers/chunks/312b3cc1c91d5b419faf.js +0 -1
  576. package/assets/esri/core/workers/chunks/31fa3dd983e9e73fcb65.js +0 -1
  577. package/assets/esri/core/workers/chunks/33a13e80badd20ed8de2.js +0 -1
  578. package/assets/esri/core/workers/chunks/355c8d0eadfff9f62dfb.js +0 -1
  579. package/assets/esri/core/workers/chunks/35c98ea99000f411175f.js +0 -1
  580. package/assets/esri/core/workers/chunks/35e1d0cfc3c5a484422f.js +0 -1
  581. package/assets/esri/core/workers/chunks/360f263f32aa2342a897.js +0 -1
  582. package/assets/esri/core/workers/chunks/369f37060608342a4262.js +0 -1
  583. package/assets/esri/core/workers/chunks/36ecf951c0c7dad84b69.js +0 -1
  584. package/assets/esri/core/workers/chunks/37002a46f03a9fc5f644.js +0 -2
  585. package/assets/esri/core/workers/chunks/37258b702fe06bbcf748.js +0 -1
  586. package/assets/esri/core/workers/chunks/37a3e91791a18ed8b8da.js +0 -1
  587. package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +0 -1
  588. package/assets/esri/core/workers/chunks/3b1982bf7b44ff897a35.js +0 -1
  589. package/assets/esri/core/workers/chunks/3b25f5d9c8f78bb6e011.js +0 -1
  590. package/assets/esri/core/workers/chunks/3c5f07ebe1b09dcdc958.js +0 -1
  591. package/assets/esri/core/workers/chunks/3c66dd52ad156711a6a2.js +0 -1
  592. package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +0 -1
  593. package/assets/esri/core/workers/chunks/3f0959b1abafe516146e.js +0 -1
  594. package/assets/esri/core/workers/chunks/41f487713c6278d389a1.js +0 -1
  595. package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +0 -1
  596. package/assets/esri/core/workers/chunks/43e2c1d72cd9c8beed2f.js +0 -2
  597. package/assets/esri/core/workers/chunks/44c228388a95fa958827.js +0 -1
  598. package/assets/esri/core/workers/chunks/45a9cd722e98dd1548ae.js +0 -1
  599. package/assets/esri/core/workers/chunks/46daa1ff5b412a97edc9.js +0 -1
  600. package/assets/esri/core/workers/chunks/46e547691bca424f2bc9.js +0 -1
  601. package/assets/esri/core/workers/chunks/4750f55a289bc0cf3d77.js +0 -1
  602. package/assets/esri/core/workers/chunks/47d2103b876b01bc26fd.js +0 -1
  603. package/assets/esri/core/workers/chunks/495af366ec1defd89a72.js +0 -1
  604. package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +0 -1
  605. package/assets/esri/core/workers/chunks/4bcd74951477e8977ba1.js +0 -1
  606. package/assets/esri/core/workers/chunks/4cbe78d6a5ff617e15d6.js +0 -1
  607. package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +0 -1
  608. package/assets/esri/core/workers/chunks/4d5591c1b4ef37075921.js +0 -1
  609. package/assets/esri/core/workers/chunks/4ef97eb67dc42e0052d6.js +0 -1
  610. package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +0 -1
  611. package/assets/esri/core/workers/chunks/4fcf035582fa6e93d264.js +0 -1
  612. package/assets/esri/core/workers/chunks/509307a2ef990ad1da8f.js +0 -301
  613. package/assets/esri/core/workers/chunks/50eb381b18b84b9c75a3.js +0 -1
  614. package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +0 -1
  615. package/assets/esri/core/workers/chunks/52a14266fe239b95c5ce.js +0 -1
  616. package/assets/esri/core/workers/chunks/52bcfb3ea563c1a301d4.js +0 -1
  617. package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +0 -1
  618. package/assets/esri/core/workers/chunks/558822b700e8bd844052.js +0 -1
  619. package/assets/esri/core/workers/chunks/55a9ea536c64976c3409.js +0 -1
  620. package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +0 -1
  621. package/assets/esri/core/workers/chunks/56569d0c2cf5c5167651.js +0 -1
  622. package/assets/esri/core/workers/chunks/575a33924ec900f9e537.js +0 -1
  623. package/assets/esri/core/workers/chunks/584c4602d97a008afb83.js +0 -1
  624. package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +0 -1
  625. package/assets/esri/core/workers/chunks/590a7fd4f5476224ec89.js +0 -1
  626. package/assets/esri/core/workers/chunks/59a45533e96cedf1c480.js +0 -1
  627. package/assets/esri/core/workers/chunks/5a66b7f1f4da75da8e7f.js +0 -1
  628. package/assets/esri/core/workers/chunks/5b9f2aa3ba1bf12c3240.js +0 -2
  629. package/assets/esri/core/workers/chunks/5bbf20135c87a1cc8a18.js +0 -1
  630. package/assets/esri/core/workers/chunks/5cc217f188fd56006158.js +0 -1
  631. package/assets/esri/core/workers/chunks/5dc2f2e28c30386efadf.js +0 -1
  632. package/assets/esri/core/workers/chunks/5df49e1f283e2e83de46.js +0 -1
  633. package/assets/esri/core/workers/chunks/60764ea501a3a1aacc63.js +0 -1
  634. package/assets/esri/core/workers/chunks/6087d5dc40bb62ec48c8.js +0 -1
  635. package/assets/esri/core/workers/chunks/6094bba52ddada48c7ed.js +0 -1
  636. package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +0 -1
  637. package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +0 -1
  638. package/assets/esri/core/workers/chunks/6387308c4add226e5b83.js +0 -1
  639. package/assets/esri/core/workers/chunks/63b8193ad90b2ebe6884.js +0 -1
  640. package/assets/esri/core/workers/chunks/657602e6a84e8b4576fb.js +0 -1
  641. package/assets/esri/core/workers/chunks/65fd971d0574d69cbc26.js +0 -1
  642. package/assets/esri/core/workers/chunks/679cd6424e0e2d7f372b.js +0 -1
  643. package/assets/esri/core/workers/chunks/6800647240b7968be225.js +0 -1
  644. package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +0 -1
  645. package/assets/esri/core/workers/chunks/680f9c29ca96ea8e01da.js +0 -1
  646. package/assets/esri/core/workers/chunks/68cb43f2fa8cc826e99b.js +0 -1
  647. package/assets/esri/core/workers/chunks/69a68a6d6736c4b97a27.js +0 -1
  648. package/assets/esri/core/workers/chunks/6a3d66d7c92f90cc2a17.js +0 -1
  649. package/assets/esri/core/workers/chunks/6a544fb44f7da0e80f43.js +0 -1
  650. package/assets/esri/core/workers/chunks/6a782e8475bff4d56dbc.js +0 -1
  651. package/assets/esri/core/workers/chunks/6b85a8776ec2beff63cb.js +0 -1
  652. package/assets/esri/core/workers/chunks/6be530ab81291745485b.js +0 -2
  653. package/assets/esri/core/workers/chunks/6d3ae7969ea86a2e0b13.js +0 -1
  654. package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +0 -1
  655. package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +0 -1
  656. package/assets/esri/core/workers/chunks/6ffc1a0400298fca00ee.js +0 -1
  657. package/assets/esri/core/workers/chunks/729c2d26ae23d9c86547.js +0 -1
  658. package/assets/esri/core/workers/chunks/73bee5659414b3687cfc.js +0 -1
  659. package/assets/esri/core/workers/chunks/73c416ae0ec5a1815591.js +0 -2
  660. package/assets/esri/core/workers/chunks/74b825d4f0e7ab567b10.js +0 -1
  661. package/assets/esri/core/workers/chunks/75c66e38bdc1c786c599.js +0 -1
  662. package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +0 -1
  663. package/assets/esri/core/workers/chunks/760a759f9697adde6dd4.js +0 -1
  664. package/assets/esri/core/workers/chunks/77509bd20ac5bc190c94.js +0 -1039
  665. package/assets/esri/core/workers/chunks/7763cf4a9a4343c28591.js +0 -1
  666. package/assets/esri/core/workers/chunks/7972954801b82e7afc72.js +0 -1
  667. package/assets/esri/core/workers/chunks/798d227205bd958de6a7.js +0 -1
  668. package/assets/esri/core/workers/chunks/7bc09e80bf45fe137055.js +0 -1
  669. package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +0 -1
  670. package/assets/esri/core/workers/chunks/7bf30c254228f9b7f224.js +0 -1
  671. package/assets/esri/core/workers/chunks/7bf491b468cd74a4166c.js +0 -1
  672. package/assets/esri/core/workers/chunks/7d631ebf8f79225cf0f6.js +0 -1
  673. package/assets/esri/core/workers/chunks/7d744554d14057d9b2b1.js +0 -1
  674. package/assets/esri/core/workers/chunks/7d8664aeff66e34138bd.js +0 -1
  675. package/assets/esri/core/workers/chunks/7db52d2451494835c160.js +0 -1
  676. package/assets/esri/core/workers/chunks/818b5b8027d6fe8999d6.js +0 -1
  677. package/assets/esri/core/workers/chunks/8195310b4c53db902fc1.js +0 -1
  678. package/assets/esri/core/workers/chunks/82ace0195b63790b22c9.js +0 -1
  679. package/assets/esri/core/workers/chunks/83117d2747bdaf480c7b.js +0 -1
  680. package/assets/esri/core/workers/chunks/83c5dea24e36ac2e3497.js +0 -1
  681. package/assets/esri/core/workers/chunks/84440efe2cc337dab81f.js +0 -1
  682. package/assets/esri/core/workers/chunks/84ec8ea3e40e0864798f.js +0 -1
  683. package/assets/esri/core/workers/chunks/852007720e3bc29532db.js +0 -1
  684. package/assets/esri/core/workers/chunks/85c92726121cb43a2216.js +0 -1
  685. package/assets/esri/core/workers/chunks/86832d94190150c70c11.js +0 -1
  686. package/assets/esri/core/workers/chunks/873008572c1f21cea122.js +0 -2
  687. package/assets/esri/core/workers/chunks/87c6470ee295d736b06d.js +0 -1
  688. package/assets/esri/core/workers/chunks/88379cd8e8e1c7ae3c7c.js +0 -1
  689. package/assets/esri/core/workers/chunks/88cbaa91c495d86f4bb0.js +0 -1
  690. package/assets/esri/core/workers/chunks/89853fccdf2bfcc290c0.js +0 -1
  691. package/assets/esri/core/workers/chunks/8c1f1eb36198ce40ef13.js +0 -1
  692. package/assets/esri/core/workers/chunks/8d58e59ea13ecafdd45c.js +0 -1
  693. package/assets/esri/core/workers/chunks/8db723b8468e408dda46.js +0 -1
  694. package/assets/esri/core/workers/chunks/8dca61f8ba6689379f86.js +0 -1
  695. package/assets/esri/core/workers/chunks/8e354c7b4858db5880a9.js +0 -1
  696. package/assets/esri/core/workers/chunks/8e556ff730ae96290a69.js +0 -1
  697. package/assets/esri/core/workers/chunks/8e62a5fcc4c7e83a903a.js +0 -1
  698. package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +0 -1
  699. package/assets/esri/core/workers/chunks/91d9ade78854f40a962d.js +0 -1
  700. package/assets/esri/core/workers/chunks/91fba3bebd78cb956941.js +0 -1
  701. package/assets/esri/core/workers/chunks/920b4def081c78c0d586.js +0 -1
  702. package/assets/esri/core/workers/chunks/92928c56b312e1514600.js +0 -1
  703. package/assets/esri/core/workers/chunks/92a4f56232f81ca457fa.js +0 -1
  704. package/assets/esri/core/workers/chunks/92ef6071ea87b7f940e2.js +0 -1
  705. package/assets/esri/core/workers/chunks/9319d57494482668ab19.js +0 -1
  706. package/assets/esri/core/workers/chunks/9361834d2c3064eb41fc.js +0 -1
  707. package/assets/esri/core/workers/chunks/9382af94bf6bf1b09c8c.js +0 -1
  708. package/assets/esri/core/workers/chunks/942c80c425b1f13cced5.js +0 -1
  709. package/assets/esri/core/workers/chunks/95cb062cae4c31c07124.js +0 -1
  710. package/assets/esri/core/workers/chunks/968335b28b895e19913b.js +0 -1
  711. package/assets/esri/core/workers/chunks/979bc762ccc0d3fc2467.js +0 -1
  712. package/assets/esri/core/workers/chunks/9828b07b5f8fd9f40935.js +0 -1
  713. package/assets/esri/core/workers/chunks/98739414c107ad78e4d8.js +0 -1
  714. package/assets/esri/core/workers/chunks/988f5e003377d734d282.js +0 -1
  715. package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +0 -1
  716. package/assets/esri/core/workers/chunks/9a6bdcedcb7d2798ba30.js +0 -1
  717. package/assets/esri/core/workers/chunks/9afe220b5b60cfa44c95.js +0 -1
  718. package/assets/esri/core/workers/chunks/9ba8a2e1c0fb4e1efc7c.js +0 -1
  719. package/assets/esri/core/workers/chunks/9c93eadbd19bef1191b4.js +0 -1
  720. package/assets/esri/core/workers/chunks/9c9d359caf8354a8ec52.js +0 -1
  721. package/assets/esri/core/workers/chunks/9cc2832d5f625f81c08d.js +0 -1
  722. package/assets/esri/core/workers/chunks/9ccabf8142fb5de4d3e2.js +0 -2
  723. package/assets/esri/core/workers/chunks/9cec9d09f3aa5c21660d.js +0 -37
  724. package/assets/esri/core/workers/chunks/9d258f14199181dee424.js +0 -1
  725. package/assets/esri/core/workers/chunks/9e869fd6450cf874783a.js +0 -1
  726. package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +0 -1
  727. package/assets/esri/core/workers/chunks/a1594486177015e8a6c3.js +0 -1
  728. package/assets/esri/core/workers/chunks/a16e75ff5cd9b22be197.js +0 -1
  729. package/assets/esri/core/workers/chunks/a1b8722c6acafdf1c2bf.js +0 -1
  730. package/assets/esri/core/workers/chunks/a3407ca77b0ff62c0e75.js +0 -1
  731. package/assets/esri/core/workers/chunks/a41073263af5eba3c16d.js +0 -1
  732. package/assets/esri/core/workers/chunks/a623676c74745e040a2a.js +0 -1
  733. package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +0 -1
  734. package/assets/esri/core/workers/chunks/a6742abe3ebe371e85f1.js +0 -1
  735. package/assets/esri/core/workers/chunks/a6d4256c327f07221117.js +0 -1
  736. package/assets/esri/core/workers/chunks/a6f29d1a6356e2de5a79.js +0 -1
  737. package/assets/esri/core/workers/chunks/a79fad422d41019c8232.js +0 -1
  738. package/assets/esri/core/workers/chunks/a8dfd246c797f3b979f5.js +0 -1
  739. package/assets/esri/core/workers/chunks/ab0275669e28e7a34c38.js +0 -1
  740. package/assets/esri/core/workers/chunks/ab5e2f823960c33cefe4.js +0 -1
  741. package/assets/esri/core/workers/chunks/acdbe0299024d58e1421.js +0 -1
  742. package/assets/esri/core/workers/chunks/ad253136c1e12f733d15.js +0 -1
  743. package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +0 -1
  744. package/assets/esri/core/workers/chunks/adff1791ae44631ad34a.js +0 -1
  745. package/assets/esri/core/workers/chunks/ae16fe50a54b5c0f9811.js +0 -1
  746. package/assets/esri/core/workers/chunks/ae18de425548bb865702.js +0 -1
  747. package/assets/esri/core/workers/chunks/ae6066ea6cb373dc6db3.js +0 -1
  748. package/assets/esri/core/workers/chunks/aeb524eded012217a865.js +0 -1
  749. package/assets/esri/core/workers/chunks/af00081b78fc30ac556c.js +0 -1
  750. package/assets/esri/core/workers/chunks/b211b53aa7616a093b90.js +0 -1
  751. package/assets/esri/core/workers/chunks/b28e0b89603d8b03f9e1.js +0 -1
  752. package/assets/esri/core/workers/chunks/b4349db7155673329432.js +0 -1
  753. package/assets/esri/core/workers/chunks/b48033645091c91e0d88.js +0 -1
  754. package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +0 -1
  755. package/assets/esri/core/workers/chunks/b64cfd86d9204be743c6.js +0 -1
  756. package/assets/esri/core/workers/chunks/b8988771bfa4e785ebd6.js +0 -1
  757. package/assets/esri/core/workers/chunks/ba6452acee3d6defb37e.js +0 -1
  758. package/assets/esri/core/workers/chunks/bb92a9daa0c5b019561f.js +0 -1
  759. package/assets/esri/core/workers/chunks/bc731ec9d5136f1d9253.js +0 -1
  760. package/assets/esri/core/workers/chunks/bd1d159dce4094694c93.js +0 -1
  761. package/assets/esri/core/workers/chunks/bd2a28b14e5c0a55d783.js +0 -1
  762. package/assets/esri/core/workers/chunks/bdbb5b33f0f49661bf6d.js +0 -1
  763. package/assets/esri/core/workers/chunks/befeca51530bba5e8073.js +0 -1
  764. package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +0 -1
  765. package/assets/esri/core/workers/chunks/bf88bd763fd6442a95fd.js +0 -1
  766. package/assets/esri/core/workers/chunks/bfe052b386ec4874f350.js +0 -1
  767. package/assets/esri/core/workers/chunks/c042269586921e337be9.js +0 -1
  768. package/assets/esri/core/workers/chunks/c0b15510a8cab98df77f.js +0 -1
  769. package/assets/esri/core/workers/chunks/c27842a34e73ccb46116.js +0 -1
  770. package/assets/esri/core/workers/chunks/c3272b09bff886b08ce1.js +0 -1
  771. package/assets/esri/core/workers/chunks/c38a07e936226b361b63.js +0 -1
  772. package/assets/esri/core/workers/chunks/c59c1e52acb5ac8f78f9.js +0 -1
  773. package/assets/esri/core/workers/chunks/c5cc0fc652432a9264cc.js +0 -1
  774. package/assets/esri/core/workers/chunks/c605bf7d1e12917ac482.js +0 -1
  775. package/assets/esri/core/workers/chunks/c743e561e7d73a100576.js +0 -1
  776. package/assets/esri/core/workers/chunks/c7838ac0db8570a2d2c1.js +0 -1
  777. package/assets/esri/core/workers/chunks/c8182c2cbb0ead202af6.js +0 -1
  778. package/assets/esri/core/workers/chunks/c91ef3814e7f024043cf.js +0 -1
  779. package/assets/esri/core/workers/chunks/c96083838f919a8f64cd.js +0 -1
  780. package/assets/esri/core/workers/chunks/cad1d7e5ce89f51b3ac9.js +0 -1
  781. package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +0 -1
  782. package/assets/esri/core/workers/chunks/cc50f96321a7c12f300b.js +0 -1
  783. package/assets/esri/core/workers/chunks/ccc743e41854eb225c23.js +0 -1
  784. package/assets/esri/core/workers/chunks/cd788ed111e1e35cf9c8.js +0 -1
  785. package/assets/esri/core/workers/chunks/ce3870db25566cd93d8e.js +0 -1
  786. package/assets/esri/core/workers/chunks/cfbe9993263fa6f69363.js +0 -1
  787. package/assets/esri/core/workers/chunks/d129a5a34e9ad09bd39e.js +0 -1
  788. package/assets/esri/core/workers/chunks/d14e75b160aa432233c6.js +0 -1
  789. package/assets/esri/core/workers/chunks/d21480925a8bc9c7de96.js +0 -1
  790. package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +0 -1
  791. package/assets/esri/core/workers/chunks/d364096493ceeff34c10.js +0 -1
  792. package/assets/esri/core/workers/chunks/d373986588f6b1b8f2d5.js +0 -1
  793. package/assets/esri/core/workers/chunks/d3b1d1c389d70919fb02.js +0 -1
  794. package/assets/esri/core/workers/chunks/d52a0c3a855029c48bd2.js +0 -1
  795. package/assets/esri/core/workers/chunks/d66973e926bc03e2359a.js +0 -1
  796. package/assets/esri/core/workers/chunks/d7cd1d879768df629716.js +0 -1
  797. package/assets/esri/core/workers/chunks/d7df5e4028d502712317.js +0 -1
  798. package/assets/esri/core/workers/chunks/d90564fbafc00df2d56d.js +0 -1
  799. package/assets/esri/core/workers/chunks/d9ca754f51b9812bb179.js +0 -1
  800. package/assets/esri/core/workers/chunks/d9ef0b3341e2744d8f2f.js +0 -1
  801. package/assets/esri/core/workers/chunks/da5ce19ecf3a5e92a2a9.js +0 -1
  802. package/assets/esri/core/workers/chunks/da7685ec2b6eaf00fd2d.js +0 -1
  803. package/assets/esri/core/workers/chunks/dae715b2b0094641e42f.js +0 -1
  804. package/assets/esri/core/workers/chunks/db04b0a30cce9e476551.js +0 -1
  805. package/assets/esri/core/workers/chunks/db28d00171240b4fffac.js +0 -1
  806. package/assets/esri/core/workers/chunks/db4661fd82dc61162115.js +0 -1
  807. package/assets/esri/core/workers/chunks/dbd382546837aa7709e2.js +0 -1
  808. package/assets/esri/core/workers/chunks/dddb6cb44cbe4dc1af97.js +0 -1
  809. package/assets/esri/core/workers/chunks/de60421029fbcebe2950.js +0 -1
  810. package/assets/esri/core/workers/chunks/df33d5a08e1b6dc00f45.js +0 -1
  811. package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +0 -1
  812. package/assets/esri/core/workers/chunks/e03c706e327f4989280a.js +0 -1
  813. package/assets/esri/core/workers/chunks/e0648f5aed9d939928dc.js +0 -1
  814. package/assets/esri/core/workers/chunks/e071b912539304564b69.js +0 -1
  815. package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +0 -1
  816. package/assets/esri/core/workers/chunks/e34b7acc963288ca0f04.js +0 -1
  817. package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +0 -1
  818. package/assets/esri/core/workers/chunks/e572ffc1d000e4e6325f.js +0 -1
  819. package/assets/esri/core/workers/chunks/e615a935bbf1168fac43.js +0 -1
  820. package/assets/esri/core/workers/chunks/e8bf362b2631f977b1cb.js +0 -1
  821. package/assets/esri/core/workers/chunks/e8e4d48ab4024e17108d.js +0 -1
  822. package/assets/esri/core/workers/chunks/e97787de88e2992add13.js +0 -1
  823. package/assets/esri/core/workers/chunks/eaadcc43837c465342cc.js +0 -1
  824. package/assets/esri/core/workers/chunks/eb7eb3b3b8800fd73f3e.js +0 -1
  825. package/assets/esri/core/workers/chunks/ecb4c223c0278971cdc9.js +0 -1
  826. package/assets/esri/core/workers/chunks/ed7e353e290b3a272457.js +0 -1
  827. package/assets/esri/core/workers/chunks/ee361690b456c12c30d8.js +0 -1
  828. package/assets/esri/core/workers/chunks/ef639d31c94d2b55b8d4.js +0 -1
  829. package/assets/esri/core/workers/chunks/ef977be20a647aeded0a.js +0 -1
  830. package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +0 -1
  831. package/assets/esri/core/workers/chunks/f0100b34f8b13fb37157.js +0 -1
  832. package/assets/esri/core/workers/chunks/f0914715e90e43466f8c.js +0 -1
  833. package/assets/esri/core/workers/chunks/f0a667d8d33bc51c795d.js +0 -1
  834. package/assets/esri/core/workers/chunks/f1e5d52e550326e49d1e.js +0 -1
  835. package/assets/esri/core/workers/chunks/f25bebd2b6eb0d0f6626.js +0 -2
  836. package/assets/esri/core/workers/chunks/f2b63597ae956db74eb3.js +0 -1
  837. package/assets/esri/core/workers/chunks/f32d4813b450a3eb4262.js +0 -1
  838. package/assets/esri/core/workers/chunks/f3b2c81f5ad26a58a4bd.js +0 -1
  839. package/assets/esri/core/workers/chunks/f54ec21fa67db6fef5a6.js +0 -1
  840. package/assets/esri/core/workers/chunks/f57b5720ce827f5845cd.js +0 -1
  841. package/assets/esri/core/workers/chunks/f5a695dc51793b138b23.js +0 -1
  842. package/assets/esri/core/workers/chunks/f5f584d325f8f2ea825f.js +0 -1
  843. package/assets/esri/core/workers/chunks/f65d26588d2d80680a26.js +0 -1
  844. package/assets/esri/core/workers/chunks/f65f1798f398bc549463.js +0 -1
  845. package/assets/esri/core/workers/chunks/f72e6c903f55ce95a6c5.js +0 -1
  846. package/assets/esri/core/workers/chunks/f77b93bef06bae03c1c6.js +0 -1
  847. package/assets/esri/core/workers/chunks/f7dfbf24859f4ac2421b.js +0 -1
  848. package/assets/esri/core/workers/chunks/f8438642a9bdd8980b4b.js +0 -1
  849. package/assets/esri/core/workers/chunks/f98689562017583f73ee.js +0 -1
  850. package/assets/esri/core/workers/chunks/fdb5b5d8a7c99a0bf5f9.js +0 -1
  851. package/assets/esri/core/workers/chunks/fdbe16e3b23e01655c0c.js +0 -1
  852. package/assets/esri/core/workers/chunks/fe07390e27f8cd5e93a8.js +0 -1
  853. package/assets/esri/core/workers/chunks/fe33b11ec3f58a0f541a.js +0 -1
  854. package/assets/esri/core/workers/chunks/ff8e2f998169ca3a7a68.js +0 -1
  855. package/assets/esri/core/workers/chunks/ffdba51e7256ebf8ebd3.js +0 -1
  856. /package/assets/esri/core/workers/chunks/{43e2c1d72cd9c8beed2f.js.LICENSE.txt → 008a555ce169640e2a35.js.LICENSE.txt} +0 -0
  857. /package/assets/esri/core/workers/chunks/{6be530ab81291745485b.js.LICENSE.txt → 21ac84b5c7dedcfd747d.js.LICENSE.txt} +0 -0
  858. /package/assets/esri/core/workers/chunks/{5b9f2aa3ba1bf12c3240.js.LICENSE.txt → 534ed6574e4a1613ba05.js.LICENSE.txt} +0 -0
  859. /package/assets/esri/core/workers/chunks/{37002a46f03a9fc5f644.js.LICENSE.txt → 5aee84e827e6fcc9c4c4.js.LICENSE.txt} +0 -0
  860. /package/assets/esri/core/workers/chunks/{73c416ae0ec5a1815591.js.LICENSE.txt → 90a53bfe95ed687c28c1.js.LICENSE.txt} +0 -0
  861. /package/assets/esri/core/workers/chunks/{873008572c1f21cea122.js.LICENSE.txt → 91e307ca0d11804a7a1d.js.LICENSE.txt} +0 -0
  862. /package/assets/esri/core/workers/chunks/{25f3ee666f545a7a7993.js.LICENSE.txt → dc57400b835724204909.js.LICENSE.txt} +0 -0
  863. /package/assets/esri/core/workers/chunks/{f25bebd2b6eb0d0f6626.js.LICENSE.txt → e3d3fc87789fd711f161.js.LICENSE.txt} +0 -0
  864. /package/assets/esri/core/workers/chunks/{0b7bbdc0d71ee6721751.js.LICENSE.txt → ef519984fa691aad8d87.js.LICENSE.txt} +0 -0
  865. /package/assets/esri/core/workers/chunks/{9ccabf8142fb5de4d3e2.js.LICENSE.txt → f5ed6953a9255f0bed6a.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5181],{159(e,t,r){r.d(t,{A:()=>o});var n,i=r(31635),s=r(69622),l=r(91429),a=r(99157);let o=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0})],o.prototype,"steps",void 0),o=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],o)},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>o,jh:()=>s,l5:()=>a,xm:()=>l});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function l(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function o(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},8303(e,t,r){r.d(t,{A:()=>M});var n=r(31635),i=r(92602),s=r(70333),l=r(11254),a=r(60999),o=r(49186),u=r(53966),c=r(97768),p=r(74887),d=r(84952),f=r(91429),h=r(77548),m=r(20655),y=r(80812),g=r(41318),v=r(10407),b=r(36005),w=r(43937);const M=e=>{const t=e;let M=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new y.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,p.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let l,a;if(i)l=r.portal.url;else try{l=await(0,h.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!l||!(0,d.b8)(l,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(s.id?.getCredential(`${l}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const o=!0,u=!1,c=!1;if(!a)return{features:{edit:o,fullEdit:u},content:{updateItem:c}};try{if(i?await r.reload():(r=new y.default({id:e,portal:{url:l}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,p.QP)(e)}return{features:{edit:o,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=I.credential===t?I.user:await this._fetchEditingUser(e);return I.credential=t,I.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=m.A.getDefault();if(i&&i.loaded&&(0,d.S8)(i.restUrl)===(0,d.S8)(n))return i.user;const o=`${n}/community/self`,u=null!=e?e.signal:null,c=await(0,a.Ke)((0,l.A)(o,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?g.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return r&&n&&!(0,d.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new o.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,f.MZ)({type:y.default})],M.prototype,"portalItem",null),(0,n.Cg)([(0,b.w)("web-document","portalItem",["itemId"])],M.prototype,"readPortalItem",null),(0,n.Cg)([(0,w.K)("web-document","portalItem",{itemId:{type:String}})],M.prototype,"writePortalItem",null),(0,n.Cg)([(0,f.MZ)({clonable:!1})],M.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasUpdateItemPrivileges",void 0),M=(0,n.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],M),M},I={credential:null,user:null}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,l,a,o,u,c,p,d,f,h,m){return[e,t,r,n,i,s,l,a,o,u,c,p,d,f,h,m]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,s,l,a=Math.floor(e.length/3)){const o=(0,n.jd)(t,s);if(null==o)return!1;if(o===n.pO){if(e===i&&r===l)return!0;const t=r+3*a;for(let n=r,s=l;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*a;for(let t=r,n=l;t<u;t+=3,n+=3)o(e,t,i,n);return!0}},10184(e,t,r){r.d(t,{A:()=>c});var n=r(31635),i=r(69540),s=r(25482),l=r(88930),a=r(91429),o=r(73133),u=r(93223);let c=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,l.t)(this.value,this.unit,"milliseconds")}};(0,n.Cg)([(0,u.e)(o.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,n.Cg)([(0,a.$K)("esri.time.TimeInterval")],c)},10407(e,t,r){r.d(t,{It:()=>f,LG:()=>l,OM:()=>u,Sm:()=>c,Y:()=>a,bK:()=>o,mm:()=>d,sQ:()=>p});var n=r(91218),i=r(16930),s=r(28735);function l(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function o(e){return a(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?l(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function f(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),l=!!r&&!!i?.includes("features:user:fullEdit");const a="update"===n||"admin"===n;return a?l=s=!0:l&&(s=!0),{features:{edit:s,fullEdit:l},content:{updateItem:a}}}},16494(e,t,r){r.d(t,{Nd:()=>a,W5:()=>l});var n=r(37330);const i=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),s=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],l=new n.I({whiteList:i,onTagAttr:(e,t,r)=>{const n=`${t}="${r}"`;if(s.includes(t))return n},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new n.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},33446(e,t,r){r.d(t,{C:()=>l,m:()=>s});var n=r(49186),i=r(74887);async function s(e,t,r){let s;try{s=await createImageBitmap(e)}catch(e){throw new n.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,i.Te)(r),s}async function l(e,t,r,s,l){let a;try{a=await createImageBitmap(e)}catch(e){throw new n.A("request:server",`Unable to load tile ${t}/${r}/${s}`,{error:e,level:t,row:r,col:s})}return(0,i.Te)(l),a}},37539(e,t,r){r.d(t,{pO:()=>m,jd:()=>d,Tp:()=>f,w5:()=>p});var n=r(34727),i=r(86211),s=r(73941),l=r(79258);Math.PI;const a=l.$O.radius,o=l.$O.eccentricitySquared,u={a1:a*o,a2:a*o*a*o,a3:a*o*o/2,a4:a*o*a*o*2.5,a5:a*o+a*o*o/2,a6:1-o};l.$O.radius,l.$O.flattening,l.Sw.radius,l.Sw.flattening,l.sH.radius,l.sH.flattening,l.sH.radius;var c=r(21325);const p={2:{5:m,7:null,9:null,10:m,1:x,6:null,8:null,0:null,3:g,11:v,2:m,4:E},5:{5:m,7:null,9:null,10:m,1:x,6:null,8:null,0:null,3:g,11:v,2:m,4:E},7:{5:null,7:m,9:null,10:m,1:null,6:I,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:M,0:null,3:null,11:null,2:null,4:null},3:{5:y,7:null,9:null,10:y,1:function(e,t,r,n){const i=e[t]/F,s=N-2*Math.atan(Math.exp(-e[t+1]/F)),l=F+(e[t+2]??0),a=Math.cos(s)*l;r[n]=Math.cos(i)*a,r[n+1]=Math.sin(i)*a,r[n+2]=Math.sin(s)*l},6:null,8:null,0:null,3:m,11:function(e,t,r,n){y(e,t,r,n),v(r,n,r,n)},2:y,4:function(e,t,r,n){y(e,t,r,n),E(r,n,r,n)}},4:{5:_,7:null,9:null,10:_,1:function(e,t,r,n){_(e,t,r,n),x(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){_(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){_(e,t,r,n),v(r,n,r,n)},2:_,4:m},1:{5:T,7:null,9:null,10:T,1:m,6:null,8:null,0:null,3:function(e,t,r,n){T(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){T(e,t,r,n),v(r,n,r,n)},2:T,4:function(e,t,r,n){T(e,t,r,n),E(r,n,r,n)}},6:{5:null,7:S,9:null,10:S,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:m,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:x,6:I,8:M,0:null,3:g,11:v,2:m,4:E},11:{5:b,7:null,9:null,10:b,1:function(e,t,r,n){b(e,t,r,n),x(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){b(e,t,r,n),g(r,n,r,n)},11:m,2:b,4:function(e,t,r,n){b(e,t,r,n),E(r,n,r,n)}}};function d(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(O.source.spatialReference===e&&O.dest.spatialReference===t)return O;const r=h(e,O.source),n=h(t,O.dest);return 0===r&&0===n?(0,c.aI)(e,t)?O.projector=m:O.projector=null:O.projector=p[r][n],O}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function y(e,t,r,n){r[n]=P*(e[t]/F),r[n+1]=P*(N-2*Math.atan(Math.exp(-e[t+1]/F))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,s){const l=.4999999*Math.PI,a=(0,n.qE)(R*e[t+1],-l,l),o=Math.sin(a);r[i++]=R*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+o)/(1-o)),r[i]=e[t+2]??0}(e,t,r,i,l.$O)}function v(e,t,r,n){r[n]=e[t]*L,r[n+1]=e[t+1]*L,r[n+2]=e[t+2]??0}function b(e,t,r,n){r[n]=e[t]*Z,r[n+1]=e[t+1]*Z,r[n+2]=e[t+2]??0}function w(e,t,r,n,i){const s=i+(e[t+2]??0),l=R*e[t],a=R*e[t+1],o=Math.cos(a)*s;r[n]=Math.cos(l)*o,r[n+1]=Math.sin(l)*o,r[n+2]=Math.sin(a)*s}function M(e,t,r,n){w(e,t,r,n,l.Sw.radius)}function I(e,t,r,n){w(e,t,r,n,l.sH.radius)}function x(e,t,r,n){w(e,t,r,n,l.$O.radius)}function C(e,t,r,i,s){const l=e[t],a=e[t+1],o=e[t+2]??0,u=Math.sqrt(l*l+a*a+o*o),c=(0,n.YN)(o/(0===u?1:u)),p=Math.atan2(a,l);r[i++]=P*p,r[i++]=P*c,r[i]=u-s}function A(e,t,r,n){C(e,t,r,n,l.Sw.radius)}function S(e,t,r,n){C(e,t,r,n,l.sH.radius)}function T(e,t,r,n){C(e,t,r,n,l.$O.radius)}function E(e,t,r,n){!function(e,t,r,n,i){const s=R*e[t],l=R*e[t+1],a=e[t+2]??0,o=Math.sin(l),u=Math.cos(l),c=i.radius/Math.sqrt(1-i.eccentricitySquared*o*o);r[n++]=(c+a)*u*Math.cos(s),r[n++]=(c+a)*u*Math.sin(s),r[n++]=(c*(1-i.eccentricitySquared)+a)*o}(e,t,r,n,l.$O)}function _(e,t,r,n){const i=u,s=e[t],a=e[t+1],o=e[t+2]??0;let c,p,d,f,h,m,y,g,v,b,w,M,I,x,C,A,S,T,E,_,O;c=Math.abs(o),p=s*s+a*a,d=Math.sqrt(p),f=p+o*o,h=Math.sqrt(f),_=Math.atan2(a,s),m=o*o/f,y=p/f,x=i.a2/h,C=i.a3-i.a4/h,y>.3?(g=c/h*(1+y*(i.a1+x+m*C)/h),E=Math.asin(g),b=g*g,v=Math.sqrt(1-b)):(v=d/h*(1-m*(i.a5-x-y*C)/h),E=Math.acos(v),b=1-v*v,g=Math.sqrt(b)),w=1-l.$O.eccentricitySquared*b,M=l.$O.radius/Math.sqrt(w),I=i.a6*M,x=d-M*v,C=c-I*g,S=v*x+g*C,A=v*C-g*x,T=A/(I/w+S),E+=T,O=S+A*T/2,o<0&&(E=-E),r[n++]=P*_,r[n++]=P*E,r[n]=O}const O={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},R=(0,n.kU)(1),P=(0,n.KJ)(1),N=.5*Math.PI,F=l.$O.radius,L=F*Math.PI/180,Z=180/(F*Math.PI)},38458(e,t,r){r.d(t,{m:()=>i});const n=[[3819,3819],[3821,3824],[3889,3889],[3906,3906],[4001,4025],[4027,4036],[4039,4047],[4052,4055],[4074,4075],[4080,4081],[4120,4176],[4178,4185],[4188,4216],[4218,4289],[4291,4304],[4306,4319],[4322,4326],[4463,4463],[4470,4470],[4475,4475],[4483,4483],[4490,4490],[4555,4558],[4600,4646],[4657,4765],[4801,4811],[4813,4821],[4823,4824],[4901,4904],[5013,5013],[5132,5132],[5228,5229],[5233,5233],[5246,5246],[5252,5252],[5264,5264],[5324,5340],[5354,5354],[5360,5360],[5365,5365],[5370,5373],[5381,5381],[5393,5393],[5451,5451],[5464,5464],[5467,5467],[5489,5489],[5524,5524],[5527,5527],[5546,5546],[2044,2045],[2081,2083],[2085,2086],[2093,2093],[2096,2098],[2105,2132],[2169,2170],[2176,2180],[2193,2193],[2200,2200],[2206,2212],[2319,2319],[2320,2462],[2523,2549],[2551,2735],[2738,2758],[2935,2941],[2953,2953],[3006,3030],[3034,3035],[3038,3051],[3058,3059],[3068,3068],[3114,3118],[3126,3138],[3150,3151],[3300,3301],[3328,3335],[3346,3346],[3350,3352],[3366,3366],[3389,3390],[3416,3417],[3833,3841],[3844,3850],[3854,3854],[3873,3885],[3907,3910],[4026,4026],[4037,4038],[4417,4417],[4434,4434],[4491,4554],[4839,4839],[5048,5048],[5105,5130],[5253,5259],[5269,5275],[5343,5349],[5479,5482],[5518,5519],[5520,5520],[20004,20032],[20064,20092],[21413,21423],[21473,21483],[21896,21899],[22171,22177],[22181,22187],[22191,22197],[25884,25884],[27205,27232],[27391,27398],[27492,27492],[28402,28432],[28462,28492],[30161,30179],[30800,30800],[31251,31259],[31275,31279],[31281,31290],[31466,31700]];function i(e){return null!=e&&n.some(([t,r])=>e>=t&&e<=r)}},38961(e,t,r){r.d(t,{A:()=>c});var n=r(31635),i=r(7762),s=r(36708),l=r(10107),a=r(64108),o=r(80559);let u=class extends i.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,o.fm)(()=>this._refresh(),s.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t)}_createNewInstance(e){return new i.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const n of t)if(n){if(r(n)){const t=this.indexOf(n,e);t>=0?t!==e&&this.reorder(n,e):this.add(n,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(n);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,n.Cg)([(0,l.MZ)()],u.prototype,"getCollections",void 0),(0,n.Cg)([(0,l.MZ)()],u.prototype,"getChildrenFunction",void 0),(0,n.Cg)([(0,l.MZ)()],u.prototype,"itemFilterFunction",void 0),u=(0,n.Cg)([(0,a.$)("esri.core.CollectionFlattener")],u);const c=u},51904(e,t,r){r.r(t),r.d(t,{default:()=>Ae});var n=r(31635),i=r(92602),s=r(52106),l=r(37838),a=r(11254),o=r(7762),u=r(38961),c=r(49186),p=r(66552),d=r(4718),f=r(25728),h=r(74887),m=r(36708),y=r(16494),g=r(84952),v=r(91429),b=r(56507),w=r(49422),M=r(5443),I=r(16930),x=r(83960),C=r(21325),A=r(4146),S=r(63074),T=r(16131),E=r(8303),_=r(54310),O=r(25036),R=r(82935),P=r(38458),N=r(60694),F=r(10873),L=r(69622);const Z={visible:"visibleSublayers"};let j=class extends L.A{constructor(e){super(e),this.scale=0}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.removeHandles("layer"),e&&this.addHandles([e.sublayers.on("change",()=>this.notifyChange("visibleSublayers")),e.on("wms-sublayer-update",e=>this.notifyChange(Z[e.propertyName]))],"layer"))}get layers(){return this.visibleSublayers.filter(({name:e})=>e).map(({name:e})=>e).join()}get version(){this.commitProperty("layers");const e=this.layer;return e&&e.commitProperty("imageTransparency"),(this._get("version")||0)+1}get visibleSublayers(){const{layer:e,scale:t}=this,r=e?.sublayers,n=[],i=e=>{const{minScale:r,maxScale:s,sublayers:l,visible:a}=e;a&&(0===t||(0===r||t<=r)&&(0===s||t>=s))&&(l?l.forEach(i):n.push(e))};return r?.forEach(i),n}toJSON(){const{layer:e,layers:t}=this,{imageFormat:r,imageTransparency:n,version:i}=e;return{format:r,request:"GetMap",service:"WMS",styles:"",transparent:n?"TRUE":"FALSE",version:i,layers:t}}};(0,n.Cg)([(0,v.MZ)()],j.prototype,"layer",null),(0,n.Cg)([(0,v.MZ)({readOnly:!0})],j.prototype,"layers",null),(0,n.Cg)([(0,v.MZ)({type:Number})],j.prototype,"scale",void 0),(0,n.Cg)([(0,v.MZ)({readOnly:!0})],j.prototype,"version",null),(0,n.Cg)([(0,v.MZ)({readOnly:!0})],j.prototype,"visibleSublayers",null),j=(0,n.Cg)([(0,v.$K)("esri.layers.support.ExportWMSImageParameters")],j);var U,k=r(33446),q=r(4902),$=r(36005);let H=0,G=U=class extends((0,q.s)((0,f.M)(L.A))){constructor(e){super(e),this.description=null,this.dimensions=null,this.fullExtent=null,this.fullExtents=null,this.legendUrl=null,this.legendEnabled=!0,this.layer=null,this.maxScale=0,this.minScale=0,this.name=null,this.parent=null,this.popupEnabled=!1,this.queryable=!1,this.spatialReferences=null,this.title=null,this.addHandles([(0,m.on)(()=>this.sublayers,"after-add",({item:e})=>{e.parent=this,e.layer=this.layer},m.OH),(0,m.on)(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},m.OH),(0,m.wB)(()=>this.sublayers,(e,t)=>{if(t)for(const e of t)e.layer=e.parent=null;if(e)for(const t of e)t.parent=this,t.layer=this.layer},m.OH),(0,m.wB)(()=>this.layer,e=>{if(this.sublayers)for(const t of this.sublayers)t.layer=e},m.OH)])}get id(){return this._get("id")??H++}set id(e){this._set("id",e)}readLegendUrl(e,t){return t.legendUrl??t.legendURL??null}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get sublayers(){return this._get("sublayers")}set sublayers(e){this._set("sublayers",e)}castSublayers(e){return(0,b.dp)(o.A.ofType(U),e)}set visible(e){this._setAndNotifyLayer("visible",e)}clone(){const e=new U;return this.hasOwnProperty("description")&&(e.description=this.description),this.hasOwnProperty("fullExtent")&&(e.fullExtent=this.fullExtent.clone()),this.hasOwnProperty("fullExtents")&&(e.fullExtents=this.fullExtents?.map(e=>e.clone())??null),this.hasOwnProperty("legendUrl")&&(e.legendUrl=this.legendUrl),this.hasOwnProperty("legendEnabled")&&(e.legendEnabled=this.legendEnabled),this.hasOwnProperty("layer")&&(e.layer=this.layer),this.hasOwnProperty("name")&&(e.name=this.name),this.hasOwnProperty("parent")&&(e.parent=this.parent),this.hasOwnProperty("queryable")&&(e.queryable=this.queryable),this.hasOwnProperty("sublayers")&&(e.sublayers=this.sublayers?.map(e=>e.clone())),this.hasOwnProperty("spatialReferences")&&(e.spatialReferences=this.spatialReferences?.map(e=>e)),this.hasOwnProperty("visible")&&(e.visible=this.visible),this.hasOwnProperty("title")&&(e.title=this.title),e}_setAndNotifyLayer(e,t){const r=this.layer;this._get(e)!==t&&(this._set(e,t),r&&r.emit("wms-sublayer-update",{propertyName:e,id:this.id}))}};(0,n.Cg)([(0,v.MZ)()],G.prototype,"description",void 0),(0,n.Cg)([(0,v.MZ)({readOnly:!0})],G.prototype,"dimensions",void 0),(0,n.Cg)([(0,v.MZ)({type:M.A,json:{name:"extent"}})],G.prototype,"fullExtent",void 0),(0,n.Cg)([(0,v.MZ)()],G.prototype,"fullExtents",void 0),(0,n.Cg)([(0,v.MZ)({type:Number,json:{write:{enabled:!1,overridePolicy:()=>({ignoreOrigin:!0,enabled:!0})}}})],G.prototype,"id",null),(0,n.Cg)([(0,v.MZ)({type:String,json:{name:"legendUrl",write:{ignoreOrigin:!0}}})],G.prototype,"legendUrl",void 0),(0,n.Cg)([(0,$.w)("legendUrl",["legendUrl","legendURL"])],G.prototype,"readLegendUrl",null),(0,n.Cg)([(0,v.MZ)({type:Boolean,json:{name:"showLegend",origins:{"web-map":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],G.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,v.MZ)()],G.prototype,"layer",void 0),(0,n.Cg)([(0,v.MZ)()],G.prototype,"maxScale",void 0),(0,n.Cg)([(0,v.MZ)()],G.prototype,"minScale",void 0),(0,n.Cg)([(0,v.MZ)({readOnly:!0})],G.prototype,"effectiveScaleRange",null),(0,n.Cg)([(0,v.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],G.prototype,"name",void 0),(0,n.Cg)([(0,v.MZ)()],G.prototype,"parent",void 0),(0,n.Cg)([(0,v.MZ)({type:Boolean,json:{read:{source:"showPopup"},write:{ignoreOrigin:!0,target:"showPopup"}}})],G.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,v.MZ)({type:Boolean,json:{write:{ignoreOrigin:!0}}})],G.prototype,"queryable",void 0),(0,n.Cg)([(0,v.MZ)()],G.prototype,"sublayers",null),(0,n.Cg)([(0,v.wg)("sublayers")],G.prototype,"castSublayers",null),(0,n.Cg)([(0,v.MZ)({type:[Number],json:{read:{source:"spatialReferences"}}})],G.prototype,"spatialReferences",void 0),(0,n.Cg)([(0,v.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],G.prototype,"title",void 0),(0,n.Cg)([(0,v.MZ)({type:Boolean,value:!0,json:{read:{source:"defaultVisibility"}}})],G.prototype,"visible",null),G=U=(0,n.Cg)([(0,v.$K)("esri.layers.support.WMSSublayer")],G);var B=r(4576),D=r(28097);const V={84:4326,83:4269,27:4267};function W(e){if(!e)return null;const t={idCounter:-1};"string"==typeof e&&(e=(new DOMParser).parseFromString(e,"text/xml"));const r=e.documentElement;if("ServiceExceptionReport"===r.nodeName){const e=Array.prototype.slice.call(r.childNodes).map(e=>e.textContent).join("\r\n");throw new c.A("wmslayer:wms-capabilities-xml-is-not-valid","The server returned errors when the WMS capabilities were requested.",e)}const n=Y("Capability",r),i=Y("Service",r),s=n&&Y("Request",n);if(!n||!i||!s)return null;const l=Y("Layer",n);if(!l)return null;const a="WMS_Capabilities"===r.nodeName||"WMT_MS_Capabilities"===r.nodeName?r.getAttribute("version"):"1.3.0",o=X("Title",i,"")||X("Name",i,""),u=X("AccessConstraints",i,""),p=/^none$/i.test(u)?"":u,d=X("Abstract",i,""),f=parseInt(X("MaxWidth",i,"5000"),10),h=parseInt(X("MaxHeight",i,"5000"),10),m=re(s,"GetMap"),y=te(s,"GetMap"),g=ie(l,a,t);if(!g)return null;let v,b=0;const w=Array.prototype.slice.call(n.childNodes),M=g.sublayers??[],I=e=>{null!=e&&M.push(e)};w.forEach(e=>{"Layer"===e.nodeName&&(0===b?v=e:1===b?(g.name&&(g.name="",I(ie(v,a,t))),I(ie(e,a,t))):I(ie(e,a,t)),b++)});const x=g.sublayers??[],C=g.fullExtents??[];0===x.length&&x.push(g),g.extent??=x[0].extent;const A=g.spatialReferences.length>0?g.spatialReferences:z(g),S=te(s,"GetFeatureInfo"),T=S?re(s,"GetFeatureInfo"):null,E=K(x),_=g.minScale||0,O=g.maxScale||0,R=g.dimensions??[],P=E.reduce((e,t)=>e.concat(t.dimensions??[]),[]),N=R.concat(P).filter(le);let F=null;if(N.length){const e=N.map(e=>{const{extent:t}=e;return function(e){return Array.isArray(e)&&e.length>0&&e[0]instanceof Date}(t)?t.map(e=>e.getTime()):t?.map(e=>[e.min.getTime(),e.max.getTime()])}).flat(2).filter(B.Ru),{start:t,end:r}=e.reduce((e,t)=>({start:Math.min(e.start,t),end:Math.max(e.end,t)}),{start:1/0,end:-1/0});F={startTimeField:null,endTimeField:null,trackIdField:void 0,timeExtent:[t,r]}}return{copyright:p,description:d,dimensions:R,extent:g.extent,fullExtents:C,featureInfoFormats:T,featureInfoUrl:S,mapUrl:y,maxWidth:f,maxHeight:h,maxScale:O,minScale:_,layers:E,spatialReferences:A,supportedImageFormatTypes:m,timeInfo:F,title:o,version:a}}function z(e){if(e.spatialReferences.length>0)return e.spatialReferences;if(e.sublayers)for(const t of e.sublayers){const e=z(t);if(e.length>0)return e}return[]}function K(e){let t=[];for(const r of e)t.push(r),r.sublayers?.length&&(t=t.concat(K(r.sublayers)),delete r.sublayers);return t}function J(e,t,r){return t.getAttribute(e)??r}function Y(e,t){for(let r=0;r<t.childNodes.length;r++){const n=t.childNodes[r];if(se(n)&&n.nodeName===e)return n}return null}function Q(e,t){if(null==t)return[];const r=[];for(let n=0;n<t.childNodes.length;n++){const i=t.childNodes[n];se(i)&&i.nodeName===e&&r.push(i)}return r}function X(e,t,r){return Y(e,t)?.textContent??r}function ee(e,t,r){const n=parseFloat(e.getAttribute("minx")??"0"),i=parseFloat(e.getAttribute("miny")??"0"),s=parseFloat(e.getAttribute("maxx")??"0"),l=parseFloat(e.getAttribute("maxy")??"0");return{xmin:r?isNaN(i)?-Number.MAX_VALUE:i:isNaN(n)?-Number.MAX_VALUE:n,ymin:r?isNaN(n)?-Number.MAX_VALUE:n:isNaN(i)?-Number.MAX_VALUE:i,xmax:r?isNaN(l)?Number.MAX_VALUE:l:isNaN(s)?Number.MAX_VALUE:s,ymax:r?isNaN(s)?Number.MAX_VALUE:s:isNaN(l)?Number.MAX_VALUE:l,spatialReference:{wkid:t}}}function te(e,t){const r=Y(t,e);if(r){const e=Y("DCPType",r);if(e){const t=Y("HTTP",e);if(t){const e=Y("Get",t);if(e){let t=function(e,t,r){const n=Y("OnlineResource",r);return n?J("xlink:href",n,null):null}(0,0,e);if(t){const e=t.indexOf("&");return-1!==e&&e===t.length-1&&(t=t.slice(0,-1)),function(e,t){const r=[],n=(0,g.An)(e);for(const e in n.query)n.query.hasOwnProperty(e)&&(t.includes(e.toLowerCase())||r.push(e+"="+n.query[e]));return n.path+(r.length?"?"+r.join("&"):"")}(t,["service","request"])}}}}}return null}function re(e,t){const r=Q("Operation",e);if(!r.length)return Q("Format",Y(t,e)).map(({textContent:e})=>e).filter(B.Ru);const n=[];for(const e of r)if(e.getAttribute("name")===t){const t=Q("Format",e);for(const{textContent:e}of t)null!=e&&n.push(e)}return n}function ne(e,t,r){const n=Y(t,e);if(!n)return r;const{textContent:i}=n;if(null==i||""===i)return r;const s=Number(i);return isNaN(s)?r:s}function ie(e,t,r){if(!e)return null;const n=e.getAttribute("queryable")?.toLowerCase(),i="1"===n||"true"===n,s={id:r.idCounter++,fullExtents:[],parentLayerId:null,queryable:i,spatialReferences:[],sublayers:null},l=Y("LatLonBoundingBox",e),a=Y("EX_GeographicBoundingBox",e),o=l?ee(l,4326):a?{xmin:parseFloat(X("westBoundLongitude",a,"0")),ymin:parseFloat(X("southBoundLatitude",a,"0")),xmax:parseFloat(X("eastBoundLongitude",a,"0")),ymax:parseFloat(X("northBoundLatitude",a,"0")),spatialReference:{wkid:4326}}:{xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};s.minScale=ne(e,"MaxScaleDenominator",0),s.maxScale=ne(e,"MinScaleDenominator",0);const u=["1.0.0","1.1.0","1.1.1"].includes(t)?"SRS":"CRS";return Array.prototype.slice.call(e.childNodes).forEach(e=>{if("Name"===e.nodeName)s.name=e.textContent||"";else if("Title"===e.nodeName)s.title=e.textContent||"";else if("Abstract"===e.nodeName)s.description=e.textContent||"";else if("BoundingBox"===e.nodeName){const r=e.getAttribute(u),n=r?.indexOf(":");if(n&&n>-1){let i=parseInt(r.slice(n+1),10);0===i||isNaN(i)||(i=V[i]??i);const l="1.3.0"===t?ee(e,i,(0,P.m)(i)):ee(e,i);l&&s.fullExtents&&s.fullExtents.push(l)}}else if(e.nodeName===u)(e.textContent?.split(" ")??[]).forEach(e=>{let t=NaN;if(e.includes(":")){const[r,n]=e.toUpperCase().split(":");"CRS"!==r&&"EPSG"!==r||(t=parseInt(n,10))}else t=parseInt(e,10);if(0!==t&&!isNaN(t)){const e=V[t]??t;s.spatialReferences.includes(e)||s.spatialReferences.push(e)}});else if("Style"!==e.nodeName||s.legendUrl){if("Layer"===e.nodeName){const n=ie(e,t,r);n&&(n.parentLayerId=s.id,s.sublayers||(s.sublayers=[]),s.sublayers.push(n))}}else{const t=Y("LegendURL",e);if(t){const e=Y("OnlineResource",t);e&&(s.legendUrl=e.getAttribute("xlink:href"))}}}),s.extent=o,s.dimensions=Q("Dimension",e).filter(e=>e.getAttribute("name")&&e.getAttribute("units")&&e.textContent).map(e=>{const t=e.getAttribute("name"),r=e.getAttribute("units"),n=e.textContent,i=e.getAttribute("unitSymbol")??void 0,s=e.getAttribute("default")??void 0,l="0"!==J("default",e,"0"),a="0"!==J("nearestValue",e,"0"),o="0"!==J("current",e,"0");return le({name:t,units:r})?{name:"time",units:"ISO8601",extent:ue(n),default:ue(s),multipleValues:l,nearestValue:a,current:o}:function(e){return/^elevation$/i.test(e.name)&&/^(epsg|crs):\d+$/i.test(e.units)}({name:t,units:r})?{name:"elevation",units:r,extent:ae(n),unitSymbol:i,default:ae(s),multipleValues:l,nearestValue:a}:{name:t,units:r,extent:oe(n),unitSymbol:i,default:oe(s),multipleValues:l,nearestValue:a}}),s}function se(e){return e.nodeType===Node.ELEMENT_NODE}function le(e){return/^time$/i.test(e.name)&&/^iso8601$/i.test(e.units)}function ae(e){if(!e)return;const t=e.includes("/"),r=e.split(",");return t?r.map(e=>{const t=e.split("/");return t.length<2?null:{min:parseFloat(t[0]),max:parseFloat(t[1]),resolution:t.length>=3&&"0"!==t[2]?parseFloat(t[2]):void 0}}).filter(B.Ru):r.map(e=>parseFloat(e))}function oe(e){if(!e)return;const t=e.includes("/"),r=e.split(",");return t?r.map(e=>{const t=e.split("/");return t.length<2?null:{min:t[0],max:t[1],resolution:t.length>=3&&"0"!==t[2]?t[2]:void 0}}).filter(B.Ru):r}function ue(e){if(!e)return;const t=e.includes("/"),r=e.split(",");return t?r.map(e=>{const t=e.split("/");return t.length<2?null:{min:ce(t[0]),max:ce(t[1]),resolution:t.length>=3&&"0"!==t[2]?pe(t[2]):void 0}}).filter(B.Ru):r.map(e=>ce(e))}function ce(e){return D.c9.fromISO(e,{zone:D.mQ.utcInstance}).toJSDate()}function pe(e){const t=e.match(/(?:p(\d+y|\d+(?:\.|,)\d+y)?(\d+m|\d+(?:\.|,)\d+m)?(\d+d|\d+(?:\.|,)\d+d)?)?(?:t(\d+h|\d+(?:\.|,)\d+h)?(\d+m|\d+(?:\.|,)\d+m)?(\d+s|\d+(?:\.|,)\d+s)?)?/i);return t?{years:de(t[1]),months:de(t[2]),days:de(t[3]),hours:de(t[4]),minutes:de(t[5]),seconds:de(t[6])}:null}function de(e){if(!e)return 0;const t=e.match(/(?:\d+(?:\.|,)\d+|\d+)/);if(!t)return 0;const r=t[0].replace(",",".");return Number(r)}function fe(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}function he(e){if(!e||e.isAllTime||e.isEmpty)return;const{start:t,end:r}=e;return t&&r&&t.getTime()===r.getTime()?`${fe(t)}`:`${t?fe(t):"0000-01-01T00:00:00Z"}/${r?fe(r):"9999-12-31T23:59:59Z"}`}const me=new Set([102100,3857,102113,900913]),ye=new Set([3395,54004]);var ge=r(79677),ve=r(10184),be=r(43937);const we=new p.J({bmp:"image/bmp",gif:"image/gif",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml"},{ignoreUnknown:!1});function Me(e){return"text/html"===e}function Ie(e){return"text/plain"===e}let xe=class extends((0,S.dM)((0,R.e)((0,_.J)((0,O.j)((0,T.q)((0,E.A)((0,f.M)(A.A)))))))){constructor(...e){super(...e),this.allSublayers=new u.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>e.sublayers}),this.customParameters=null,this.customLayerParameters=null,this.copyright=null,this.description=null,this.dimensions=null,this.fullExtent=null,this.fullExtents=null,this.featureInfoFormats=null,this.featureInfoUrl=null,this.fetchFeatureInfoFunction=null,this.imageFormat=null,this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.legendEnabled=!0,this.mapUrl=null,this.isReference=null,this.operationalLayerType="WMS",this.spatialReference=null,this.spatialReferences=null,this.sublayers=null,this.type="wms",this.version=null,this.addHandles([(0,m.on)(()=>this.sublayers,"after-add",({item:e})=>{e.parent=e.layer=this},m.OH),(0,m.on)(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},m.OH),(0,m.wB)(()=>this.sublayers,(e,t)=>{if(t)for(const e of t)e.layer=e.parent=null;if(e)for(const t of e)t.parent=t.layer=this},m.OH)])}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}destroy(){this.allSublayers.destroy()}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["WMS"]},e).catch(h.QP).then(()=>this._fetchService(t)).then(()=>this._checkLayerValidity())),Promise.resolve(this)}get timeInfo(){return super.timeInfo}set timeInfo(e){super.timeInfo=e}readFullExtentFromItemOrMap(e,t){const r=t.extent;return r?new M.A({xmin:r[0][0],ymin:r[0][1],xmax:r[1][0],ymax:r[1][1]}):null}writeFullExtent(e,t){t.extent=[[e.xmin,e.ymin],[e.xmax,e.ymax]]}get featureInfoFormat(){return null==this.featureInfoFormats?null:this.featureInfoFormats.find(Me)??this.featureInfoFormats.find(Ie)??null}set featureInfoFormat(e){null==e?(this.revertToOrigin("featureInfoFormat","service"),this._clearOverride("featureInfoFormat")):(Me(e)||Ie(e))&&this._override("featureInfoFormat",e)}readImageFormat(e,t){const r=t.supportedImageFormatTypes;return r&&r.includes("image/png")?"image/png":r&&r[0]}readSpatialReferenceFromItemOrDocument(e,t){return new I.A(t.spatialReferences[0])}writeSpatialReferences(e,t){const r=this.spatialReference?.wkid;e&&r?(t.spatialReferences=e.filter(e=>e!==r),t.spatialReferences.unshift(r)):t.spatialReferences=e}readSublayersFromItemOrMap(e,t,r){return Ce(t.layers,r,t.visibleLayers)}readSublayers(e,t,r){return Ce(t.layers,r)}writeSublayers(e,t,r,n){t.layers=[];const i=new Map,s=e.flatten(({sublayers:e})=>e??[]);for(const e of s)if("number"==typeof e.parent?.id){const t=i.get(e.parent.id);null!=t?t.push(e.id):i.set(e.parent.id,[e.id])}for(const e of s){const r={sublayer:e,...n},s=e.write({parentLayerId:"number"==typeof e.parent?.id?e.parent.id:-1},r);if(i.has(e.id)&&(s.sublayerIds=i.get(e.id)),!e.sublayers&&e.name){const n=e.write({},r);delete n.id,t.layers.push(n)}}t.visibleLayers=s.filter(({visible:e,sublayers:t})=>e&&!t).map(({name:e})=>e).toArray()}set url(e){if(!e)return void this._set("url",e);const{path:t,query:r}=(0,g.An)(e);for(const e in r)/^(request|service)$/i.test(e)&&delete r[e];const n=(0,g.a6)(t,r??{});this._set("url",n)}createExportImageParameters(e,t,r,n){const i=n?.pixelRatio??1,s=(0,x.X_)({extent:e,width:t})*i,l=new j({layer:this,scale:s}),{xmin:a,ymin:o,xmax:u,ymax:c,spatialReference:p}=e,d=function(e,t){let r=e.wkid;return null==t?r:(null!=r&&t.includes(r)||!e.latestWkid||(r=e.latestWkid),null!=r&&me.has(r)?t.find(e=>me.has(e))||t.find(e=>ye.has(e))||102100:r)}(p,this.spatialReferences),f="1.3.0"===this.version&&(0,P.m)(d)?`${o},${a},${c},${u}`:`${a},${o},${u},${c}`,h=l.toJSON(),m="1.3.0"===this.version?"crs":"srs";return{bbox:f,[m]:null==d||isNaN(d)?void 0:"EPSG:"+d,...h}}async fetchImage(e,t,r,n){const i=this.mapUrl,s=this.createExportImageParameters(e,t,r,n);if(!s.layers){const e=document.createElement("canvas");return e.width=t,e.height=r,e}const l=he(n?.timeExtent),o={responseType:"image",query:this._mixCustomParameters({width:t,height:r,...s,time:l,...this.refreshParameters}),signal:n?.signal};return(0,a.A)(i??"",o).then(e=>e.data)}async fetchImageBitmap(e,t,r,n){const i=this.mapUrl??"",s=this.createExportImageParameters(e,t,r,n);if(!s.layers){const e=document.createElement("canvas");return e.width=t,e.height=r,e}const l=he(n?.timeExtent),o={responseType:"blob",query:this._mixCustomParameters({width:t,height:r,...s,time:l,...this.refreshParameters}),signal:n?.signal},{data:u}=await(0,a.A)(i,o);return(0,k.m)(u,i,n?.signal)}fetchFeatureInfo(e,t,r,n,i){const s=(0,x.X_)({extent:e,width:t}),l=function(e){const t=e.filter(e=>e.popupEnabled&&e.name&&e.queryable);return t.length?t.map(({name:e})=>e).join():null}(new j({layer:this,scale:s}).visibleSublayers);if(null==this.featureInfoUrl||null==l)return Promise.resolve([]);if(null==this.fetchFeatureInfoFunction&&null==this.featureInfoFormat)return Promise.resolve([]);const a="1.3.0"===this.version?{I:n,J:i}:{x:n,y:i},o={query_layers:l,request:"GetFeatureInfo",info_format:this.featureInfoFormat,feature_count:25,width:t,height:r,...a},u={...this.createExportImageParameters(e,t,r),...o},c=this._mixCustomParameters(u);return null!=this.fetchFeatureInfoFunction?this.fetchFeatureInfoFunction(c):this._defaultFetchFeatureInfoFunction((0,g.a6)(this.featureInfoUrl,c))}findSublayerById(e){return this.allSublayers.find(t=>t.id===e)}findSublayerByName(e){return this.allSublayers.find(t=>t.name===e)}serviceSupportsSpatialReference(e){return(0,N.bd)(this.url)||null!=this.spatialReferences&&this.spatialReferences.some(t=>{const r=900913===t?I.A.WebMercator:new I.A({wkid:t});return(0,C.aI)(r,e)})}_defaultFetchFeatureInfoFunction(e){const t=document.createElement("iframe");t.src=(0,g.yM)(y.W5.sanitizeUrl((0,g.s2)(e))),t.style.border="none",t.style.margin="0",t.style.width="100%",t.setAttribute("sandbox","");const r=new l.A({title:this.title,content:t}),n=new s.A({sourceLayer:this,popupTemplate:r});return Promise.resolve([n])}async _fetchService(e){if(!this.resourceInfo&&this.parsedUrl?.path){const{path:t,query:r}=this.parsedUrl,{data:n}=await(0,a.A)(t,{query:{SERVICE:"WMS",REQUEST:"GetCapabilities",...r,...this.customParameters},responseType:"xml",signal:e});this.resourceInfo=W(n)}if(this.parsedUrl){const e=new g.s0(this.parsedUrl.path),{httpsDomains:t}=i.A.request;"https"!==e.scheme||e.port&&"443"!==e.port||!e.host||t.includes(e.host)||t.push(e.host)}this.read(this.resourceInfo,{origin:"service"})}_checkLayerValidity(){if(!this.allSublayers.length)throw new c.A("wmslayer:empty-layer","The layer doesn't have any sublayer")}_mixCustomParameters(e){if(!this.customLayerParameters&&!this.customParameters)return e;const t={...this.customParameters,...this.customLayerParameters};for(const r in t)e[r.toLowerCase()]=t[r];return e}};function Ce(e,t,r){e=e??[];const n=new Map;e.every(e=>null==e.id)&&(e=(0,d.o8)(e)).forEach((e,t)=>e.id=t);for(const i of e){const e=new G;e.read(i,t),r&&!r.includes(e.name)&&(e.visible=!1),n.set(e.id,e)}const i=[];for(const t of e){const e=null!=t.id?n.get(t.id):null;if(e)if(null!=t.parentLayerId&&t.parentLayerId>=0){const r=n.get(t.parentLayerId);if(!r)continue;r.sublayers||(r.sublayers=new o.A),r.sublayers.push(e)}else i.push(e)}return i}(0,n.Cg)([(0,v.MZ)({type:ge.A})],xe.prototype,"timeExtent",void 0),(0,n.Cg)([(0,v.MZ)({type:ve.A})],xe.prototype,"timeOffset",void 0),(0,n.Cg)([(0,v.MZ)({readOnly:!0})],xe.prototype,"allSublayers",void 0),(0,n.Cg)([(0,v.MZ)({json:{type:Object,write:!0}})],xe.prototype,"customParameters",void 0),(0,n.Cg)([(0,v.MZ)({json:{type:Object,write:!0}})],xe.prototype,"customLayerParameters",void 0),(0,n.Cg)([(0,v.MZ)({type:String,json:{write:!0}})],xe.prototype,"copyright",void 0),(0,n.Cg)([(0,v.MZ)()],xe.prototype,"description",void 0),(0,n.Cg)([(0,v.MZ)({readOnly:!0})],xe.prototype,"dimensions",void 0),(0,n.Cg)([(0,v.MZ)({json:{type:[[Number]],read:{source:"extent"},write:{target:"extent"},origins:{"web-document":{write:{ignoreOrigin:!0}},"portal-item":{write:{ignoreOrigin:!0}}}}})],xe.prototype,"fullExtent",void 0),(0,n.Cg)([(0,$.w)(["web-document","portal-item"],"fullExtent",["extent"])],xe.prototype,"readFullExtentFromItemOrMap",null),(0,n.Cg)([(0,be.K)(["web-document","portal-item"],"fullExtent",{extent:{type:[[Number]]}})],xe.prototype,"writeFullExtent",null),(0,n.Cg)([(0,v.MZ)({type:[M.A]})],xe.prototype,"fullExtents",void 0),(0,n.Cg)([(0,v.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],xe.prototype,"featureInfoFormat",null),(0,n.Cg)([(0,v.MZ)({type:[String],readOnly:!0})],xe.prototype,"featureInfoFormats",void 0),(0,n.Cg)([(0,v.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],xe.prototype,"featureInfoUrl",void 0),(0,n.Cg)([(0,v.MZ)()],xe.prototype,"fetchFeatureInfoFunction",void 0),(0,n.Cg)([(0,v.MZ)({type:String,json:{origins:{"web-document":{default:"image/png",type:we.jsonValues,read:{reader:we.read,source:"format"},write:{writer:we.write,target:"format"}}}}})],xe.prototype,"imageFormat",void 0),(0,n.Cg)([(0,$.w)("imageFormat",["supportedImageFormatTypes"])],xe.prototype,"readImageFormat",null),(0,n.Cg)([(0,v.MZ)({type:Number,json:{read:{source:"maxHeight"},write:{target:"maxHeight"}}})],xe.prototype,"imageMaxHeight",void 0),(0,n.Cg)([(0,v.MZ)({type:Number,json:{read:{source:"maxWidth"},write:{target:"maxWidth"}}})],xe.prototype,"imageMaxWidth",void 0),(0,n.Cg)([(0,v.MZ)()],xe.prototype,"imageTransparency",void 0),(0,n.Cg)([(0,v.MZ)(F.fV)],xe.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,v.MZ)({type:["show","hide","hide-children"]})],xe.prototype,"listMode",void 0),(0,n.Cg)([(0,v.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],xe.prototype,"mapUrl",void 0),(0,n.Cg)([(0,v.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],xe.prototype,"isReference",void 0),(0,n.Cg)([(0,v.MZ)({type:["WMS"]})],xe.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,v.MZ)()],xe.prototype,"resourceInfo",void 0),(0,n.Cg)([(0,v.MZ)({type:I.A,json:{origins:{service:{read:{source:"extent.spatialReference"}}},write:!1}})],xe.prototype,"spatialReference",void 0),(0,n.Cg)([(0,$.w)(["web-document","portal-item"],"spatialReference",["spatialReferences"])],xe.prototype,"readSpatialReferenceFromItemOrDocument",null),(0,n.Cg)([(0,v.MZ)({type:[b.jz],json:{read:!1,origins:{service:{read:!0},"web-document":{read:!1,write:{ignoreOrigin:!0}},"portal-item":{read:!1,write:{ignoreOrigin:!0}}}}})],xe.prototype,"spatialReferences",void 0),(0,n.Cg)([(0,be.K)(["web-document","portal-item"],"spatialReferences")],xe.prototype,"writeSpatialReferences",null),(0,n.Cg)([(0,v.MZ)({type:o.A.ofType(G),json:{write:{target:"layers",overridePolicy(e,t,r){if(function(e,t){return e.some(e=>{for(const r in e)if((0,w.R)(e,r,null,t))return!0;return!1})}(this.allSublayers,r))return{ignoreOrigin:!0}}}}})],xe.prototype,"sublayers",void 0),(0,n.Cg)([(0,$.w)(["web-document","portal-item"],"sublayers",["layers","visibleLayers"])],xe.prototype,"readSublayersFromItemOrMap",null),(0,n.Cg)([(0,$.w)("service","sublayers",["layers"])],xe.prototype,"readSublayers",null),(0,n.Cg)([(0,be.K)("sublayers",{layers:{type:[G]},visibleLayers:{type:[String]}})],xe.prototype,"writeSublayers",null),(0,n.Cg)([(0,v.MZ)({json:{read:!1},readOnly:!0,value:"wms"})],xe.prototype,"type",void 0),(0,n.Cg)([(0,v.MZ)(F.OZ)],xe.prototype,"url",null),(0,n.Cg)([(0,v.MZ)({type:String,json:{write:{ignoreOrigin:!0}}})],xe.prototype,"version",void 0),xe=(0,n.Cg)([(0,v.$K)("esri.layers.WMSLayer")],xe);const Ae=xe},52106(e,t,r){r.d(t,{A:()=>M});var n,i=r(31635),s=r(37838),l=r(69540),a=r(51447),o=r(25482),u=r(53966),c=r(36708),p=r(24326),d=r(91429),f=r(12195),h=r(65864),m=r(50498),y=r(55156),g=r(60950),v=r(54339),b=r(33910);function w(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let M=class extends((0,l.OU)(o.o)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,g.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:w(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,f.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,h.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],M.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],M.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:m.yR,json:{read:h.rS}})],M.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],M.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],M.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],M.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:s.A,value:null})],M.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],M.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:b.Es})],M.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],M.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],M.prototype,"visible",null),M=n=(0,i.Cg)([(0,d.$K)("esri.Graphic")],M)},54339(e,t,r){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},55156(e,t,r){r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},60999(e,t,r){r.d(t,{DZ:()=>h,Ke:()=>f,Tj:()=>c,UT:()=>m,aD:()=>g,jJ:()=>u});var n=r(31635),i=r(69622),s=r(97768),l=r(74887),a=r(10107),o=r(64108);function u(e,t,r){return(0,l.Lx)(e.map((e,n)=>t.apply(r,[e,n])))}async function c(e,t,r){return(await(0,l.Lx)(e.map((e,n)=>t.apply(r,[e,n])))).map(e=>e.value)}function p(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return p(await e)}catch(e){return d(e)}}async function h(e){try{return p(await e)}catch(e){return(0,l.QP)(e),d(e)}}function m(e,t){return new y(e,t)}let y=class extends i.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=p(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,l.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,a.MZ)()],y.prototype,"value",null),(0,n.Cg)([(0,a.MZ)()],y.prototype,"error",null),(0,n.Cg)([(0,a.MZ)()],y.prototype,"finished",null),(0,n.Cg)([(0,a.MZ)()],y.prototype,"promise",void 0),(0,n.Cg)([(0,a.MZ)()],y.prototype,"_result",void 0),y=(0,n.Cg)([(0,o.$)("esri.core.asyncUtils.ReactiveTask")],y);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}}},70328(e,t,r){r.d(t,{BI:()=>b,DC:()=>p,Ej:()=>f,Ie:()=>g,Jt:()=>v,Ne:()=>h,RF:()=>c,aI:()=>M,fA:()=>l,gE:()=>o,hZ:()=>y,iT:()=>d,is:()=>w,qv:()=>I,vI:()=>m,vY:()=>a,v_:()=>x,vt:()=>s,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function s(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function l(e,t,r,n,i,l,a=s()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=l,a}function a(e,t=s()){return function(e,t,r,n=s()){return y(n,I),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],l=e[2],a=e[3],o=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),l=Math.min(l,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),o=Math.max(o,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=l,e[3]=a,e[4]=o,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function o(e,t=(0,i.jh)(24)){const[r,n,s,l,a,o]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=o,t[6]=r,t[7]=a,t[8]=s,t[9]=r,t[10]=a,t[11]=o,t[12]=l,t[13]=n,t[14]=s,t[15]=l,t[16]=n,t[17]=o,t[18]=l,t[19]=a,t[20]=s,t[21]=l,t[22]=a,t[23]=o,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function m(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function y(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?y(e,I):s(I)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function w(e){return 6===e.length}function M(e,t,r){if(null==e||null==t)return e===t;if(!w(e)||!w(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];s()},73133(e,t,r){r.d(t,{j:()=>n});const n=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:void 0})},82935(e,t,r){r.d(t,{B:()=>d,e:()=>f});var n=r(31635),i=r(91429),s=r(89317),l=r(30524),a=r(96184),o=r(73133),u=r(79677),c=r(10184),p=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},f=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=o.j.fromJSON(r.timeOffsetUnits);return n&&i?new c.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,l.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:c.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:a.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},83960(e,t,r){r.d(t,{X_:()=>s,oW:()=>a,zx:()=>l});var n=r(34727),i=r(86211);function s(e,t){const r=t||e.extent,n=e.width,s=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*s*i.dy*96:0}function l(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function a(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>G,initializeProjection:()=>D,isEqualBaseGCS:()=>B,isLoaded:()=>_,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>R,load:()=>N,project:()=>F,projectAsync:()=>H,projectExtent:()=>te,projectMany:()=>L,projectMultipoint:()=>K,projectOrLoad:()=>j,projectOrLoadMany:()=>U,projectPoint:()=>W,projectPolygon:()=>X,projectPolyline:()=>Y,projectWithoutEngine:()=>V,requiresLoad:()=>P,test:()=>$,tryProject:()=>Z,unload:()=>q});var n=r(49186),i=r(74887),s=r(62788),l=r(95488),a=r(51850),o=r(21276),u=r(73941),c=r(5443),p=r(91075),d=r(48526),f=r(86738),h=r(39829),m=r(82799),y=r(16930),g=r(159),v=r(9762),b=r(37539);function w(e,t,r,n,i,s){return M[0]=e,M[1]=t,M[2]=r,(0,v.projectBuffer)(M,n,0,i,s,0)}const M=(0,a.vt)();var I=r(21325);let x=null,C=null,A=null,S=null,T={};const E=new l.I;function _(){return!!(C?.isLoaded()&&A?.isLoaded()&&S?.isLoaded())}function O(){return!!_()||((0,s.gc)(E),N(),!1)}function R(e,t){return!e||!t||G(e,t)||O()}function P(e,t){return!G(e,t)&&!_()}async function N(e){null==x&&(x=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(C=e,C.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(A=e,A.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(S=e,S.load()))])),await x,(0,i.Te)(e),E.notify()}function F(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,o.H)(e),L(e,e[0].spatialReference,t,r)):((0,o.f)(e),L([e],e.spatialReference,t,r)[0])}function L(e,t,r,n){if(null==t||null==r)return e;if(G(t,r,n))return e.map(e=>V(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return L(e.map(e=>V(e,t,y.A.WGS84)),y.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return L(e,t,y.A.WGS84).map(e=>V(e,y.A.WGS84,r));if(!_())throw new k;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:S.getTransformation(t,r,n.areaOfInterestExtent)||new g.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=T[e];i||(i=S.getTransformation(t,r)||new g.A,T[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?C.executeMany(e,r,n):A.executeMany(e,r,n)}function Z(e,t,r){try{return F(e,t,r)}catch(e){return null}}function j(e,t){const r=U([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function U(e,t,r){if(!_())for(const r of e)if(null!=r&&!(0,I.aI)(r.spatialReference,t)&&(0,I.fn)(r.spatialReference)&&(0,I.fn)(t)&&!G(r.spatialReference,t))return(0,s.gc)(E),{pending:N(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,I.aI)(e.spatialReference,t)?e:(0,I.fn)(e.spatialReference)&&(0,I.fn)(t)?F(e,t,r):null)}}class k extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){x=null,C=null,A=null,S=null,T={}}const $={get loadPromise(){return x}};async function H(e,t,r){if((0,i.Te)(r),!e)return e;const n=U(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),H(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function G(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,I.aI)(e,t)||(0,I.fn)(e)&&(0,I.fn)(t)&&!!(0,b.jd)(e,t))}function B(e,t){if((0,I.aI)(e,t))return!0;if(!(0,I.fn)(e)||!(0,I.fn)(t))return!1;const r=(0,I.oT)(e)||(0,I.K8)(e)||(0,I.x1)(e),n=(0,I.oT)(t)||(0,I.K8)(t)||(0,I.x1)(t);return r&&n}async function D(e,t,r,n){if(_())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!G(t,r,i))return N(n)}else if(e&&t&&!G(e,t,r))return N(n);return(0,i.NO)(n)}function V(e,t,r){return e?"x"in e?z(e,t,new f.A,r,0):"xmin"in e?re(e,t,new c.A,r,0):"rings"in e?ee(e,t,new h.A,r,0):"paths"in e?Q(e,t,new m.A,r,0):"points"in e?J(e,t,new d.A,r,0):null:null}function W(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=z(e,e.spatialReference,t,r,n)}function z(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const s=e.z;return ie[2]=void 0!==s?s:i,(0,v.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function K(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=J(e,e.spatialReference,t,r,n)}function J(e,t,r,n,i){const{points:s,hasZ:l,hasM:a}=e,o=[],c=s.length,p=[];for(const e of s)p.push(e[0],e[1],l?e[2]:i);if(!(0,v.projectBuffer)(p,t,0,p,n,0,c))return null;const d=l||(0,u.xP)(n);for(let e=0;e<c;++e){const t=3*e,r=p[t],n=p[t+1];d&&a?o.push([r,n,p[t+2],s[e][3]]):d?o.push([r,n,p[t+2]]):a?o.push([r,n,s[e][2]]):o.push([r,n])}return r.points=o,r.spatialReference=n,r.hasZ=l,r.hasM=a,r}function Y(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Q(e,e.spatialReference,t,r,n)}function Q(e,t,r,n,i){const{paths:s,hasZ:l,hasM:a}=e,o=[];if(!ne(s,l??!1,a??!1,t,o,n,i))return null;const c=l||(0,u.xP)(n);return r.paths=o,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:s,hasZ:l,hasM:a}=e,o=[];if(!ne(s,l??!1,a??!1,t,o,n,i))return null;const c=l||(0,u.xP)(n);return r.rings=o,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:s,ymin:l,xmax:a,ymax:o,hasZ:c,hasM:p}=e;if(!w(s,l,c?e.zmin:i,t,ie,n))return null;const d=c||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],d&&(r.zmin=ie[2]),w(a,o,c?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],d&&(r.zmax=ie[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,s,l=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:l);if(!(0,v.projectBuffer)(a,n,0,a,s,0))return!1;let o=0;i.length=0;const c=t||(0,u.xP)(s);for(const t of e){const e=new Array;for(const n of t)c&&r?e.push([a[o++],a[o++],a[o++],n[3]]):c?e.push([a[o++],a[o++],a[o++]]):r?(e.push([a[o++],a[o++],n[2]]),o++):(e.push([a[o++],a[o++]]),o++);i.push(e)}return!0}const ie=(0,a.vt)()},96184(e,t,r){r.d(t,{A:()=>f});var n=r(31635),i=r(69540),s=r(25482),l=r(91429),a=r(79677),o=r(10184),u=r(56400),c=r(36005),p=r(43937);function d(e,t){return o.A.fromJSON({value:e,unit:t})}let f=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?a.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],f.prototype,"cumulative",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"endField",void 0),(0,n.Cg)([(0,l.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,p.K)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,l.MZ)({type:o.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,n.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,n.Cg)([(0,p.K)("interval")],f.prototype,"writeInterval",null),(0,n.Cg)([(0,l.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"startField",void 0),(0,n.Cg)([(0,l.MZ)((0,u.P6)("timeReference",!0))],f.prototype,"timeZone",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,n.Cg)([(0,l.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],f.prototype,"useTime",void 0),(0,n.Cg)([(0,l.MZ)({type:[Date],json:{read:!1}})],f.prototype,"stops",void 0),f=(0,n.Cg)([(0,l.$K)("esri.layers.support.TimeInfo")],f)},99157(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),s=r(69622),l=r(91429);let a=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)()],a.prototype,"wkid",void 0),a=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2558],{32558(e,t,s){s.r(t),s.d(t,{default:()=>a});var r,o=s(31635),n=s(25482),i=s(91429),m=s(56507);let p=r=class extends n.o{static from(e){return(0,m.PZ)(r,e)}constructor(e){super(e),this.sessionId=void 0,this.moment=null}};(0,o.Cg)([(0,i.MZ)({type:String,json:{write:!0}})],p.prototype,"sessionId",void 0),(0,o.Cg)([(0,i.MZ)({type:Date,json:{type:Number,write:{writer:(e,t)=>{t.moment=e?e.getTime():null}}}})],p.prototype,"moment",void 0),p=r=(0,o.Cg)([(0,i.$K)("esri.rest.versionManagement.gdbVersion.support.DeleteForwardEditsParameters")],p);const a=p}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[390],{10390(e,t,r){r.d(t,{save:()=>c,saveAs:()=>m});var a=r(71530),n=r(10407);const o="Map Service";function i(e){return{isValid:"map-image"===e.type&&!e.sourceJSON?.tileInfo,errorMessage:"Layer.type should be 'map-image' and reference a dynamic (non-cached) map service"}}function s(e){const t=e.layerJSON;return Promise.resolve(t&&Object.keys(t).length?t:null)}function l(e,t){return u(e,t),Promise.resolve()}async function p(e,t){const{parsedUrl:r,title:a,fullExtent:o}=e;t.url=r.path,t.title||=a,t.extent=o?await(0,n.sQ)(o):null,(0,n.OM)(t,n.mm.METADATA),u(e,t)}function u(e,t){(0,n.LG)(t,n.mm.DYNAMIC);const r=e.sublayers?.length??0;(0,n.Sm)(t,n.mm.MULTI_LAYER,r>1),(0,n.Sm)(t,n.mm.SINGLE_LAYER,1===r)}async function c(e,t){return(0,a.UN)({layer:e,itemType:o,validateLayer:i,createItemData:s,errorNamePrefix:"map-image-layer-save",setItemProperties:l},t)}async function m(e,t,r){return(0,a.Uh)({layer:e,itemType:o,validateLayer:i,createItemData:s,errorNamePrefix:"map-image-layer-save-as",newItem:t,setItemProperties:p},r)}},26121(e,t,r){r.d(t,{ci:()=>i,dL:()=>n});var a=r(49186);async function n(e){const t=[];for(const r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){const e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}r(77548);const o=new Set(["layer:unsupported","property:unsupported","symbol:unsupported","symbol-layer:unsupported","url:unsupported"]);function i(e,t,r){let n=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new a.A(e,t,r));if(e.blockedRelativeUrls&&(n=n.concat(e.blockedRelativeUrls.map(e=>new a.A("url:unsupported",`Relative url '${e}' is not supported`)))),r){const{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:a}=r;e&&(n=n.filter(({name:e})=>!(o.has(e)||t.includes(e)))),a&&(n=n.filter(e=>"web-document-write:property-required"!==e.name))}if(n.length>0)throw new a.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:n})}},46130(e,t,r){r.d(t,{v:()=>n});var a=r(76553);function n(e){e?.writtenProperties&&e.writtenProperties.forEach(({target:e,propName:t,newOrigin:r})=>{(0,a.H)(e)&&r&&e.originOf(t)!==r&&e.updateOrigin(t,r)})}},71530(e,t,r){r.d(t,{UN:()=>g,Uh:()=>h});var a=r(49186),n=r(46130),o=r(20655),i=r(80812),s=r(88788),l=r(10407),p=r(26121);async function u(e){const{layer:t,errorNamePrefix:r,validateLayer:n}=e;await t.load(),function(e,t,r){const n=r(e);if(!n.isValid)throw new a.A(`${t}:invalid-parameters`,n.errorMessage,{layer:e})}(t,r,n)}function c(e,t){return`Layer (title: ${e.title}, id: ${e.id}) of type '${e.declaredClass}' ${t}`}function m(e){const{item:t,errorNamePrefix:r,layer:n,validateItem:o}=e;if(function(e){const{item:t,itemType:r,additionalItemType:n,errorNamePrefix:o,layer:i}=e,s=[r];if(n&&s.push(n),!s.includes(t.type)){const e=s.map(e=>`'${e}'`).join(", ");throw new a.A(`${o}:portal-item-wrong-type`,`Portal item type should be one of: "${e}"`,{item:t,layer:i})}}(e),o){const e=o(t);if(!e.isValid)throw new a.A(`${r}:invalid-parameters`,e.errorMessage,{layer:n})}}function d(e){const{layer:t,errorNamePrefix:r}=e,{portalItem:n}=t;if(!n)throw new a.A(`${r}:portal-item-not-set`,c(t,"requires the portalItem property to be set"));if(!n.loaded)throw new a.A(`${r}:portal-item-not-loaded`,c(t,"cannot be saved to a portal item that does not exist or is inaccessible"));m({...e,item:n})}function f(e){const{newItem:t,itemType:r}=e;let a=i.default.from(t);return a.id&&(a=a.clone(),a.id=null),a.type??=r,a.portal??=o.A.getDefault(),m({...e,item:a}),a}function y(e){return(0,s.m)(e,"portal-item")}async function w(e,t,r){"beforeSave"in e&&"function"==typeof e.beforeSave&&await e.beforeSave();const a=e.write({},t);return await Promise.all(t.resources?.pendingOperations??[]),(0,p.ci)(t,{errorName:"layer-write:unsupported"},r),a}function v(e){(0,l.LG)(e,l.mm.JSAPI),e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter((e,t,r)=>r.indexOf(e)===t))}async function g(e,t){const{layer:r,createItemData:a,createJSONContext:o,setItemProperties:i,saveResources:s,supplementalUnsupportedErrors:l}=e;await u(e),d(e);const p=r.portalItem,c=o?o(p):y(p),m=await w(r,c,{...t,supplementalUnsupportedErrors:l}),f=await a({layer:r,layerJSON:m},p);return await(i?.(r,p,f)),v(p),await p.update({data:f}),(0,n.v)(c),await(s?.(p,c)),p}async function h(e,t){const{layer:r,createItemData:a,createJSONContext:o,setItemProperties:i,saveResources:s,supplementalUnsupportedErrors:l}=e;await u(e);const p=f(e),c=o?o(p):y(p),m=await w(r,c,{...t,supplementalUnsupportedErrors:l}),d=await a({layer:r,layerJSON:m},p);return await i(r,p,d),v(p),await async function(e,t,r){const a=e.portal;await a.signIn(),await a.user.addItem({item:e,data:t,folder:r?.folder})}(p,d,t),r.portalItem=p,(0,n.v)(c),await(s?.(p,c)),p}},76553(e,t,r){function a(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>a})},88788(e,t,r){r.d(t,{m:()=>i,v:()=>o});var a=r(84952),n=r(20655);function o(e,t){return{...s(e,t),readResourcePaths:[]}}function i(e,t,r){const n=(0,a.An)(e.itemUrl);return{...s(e,t),messages:[],writtenProperties:[],blockedRelativeUrls:[],verifyItemRelativeUrls:n?{rootPath:n.path,writtenUrls:[]}:null,resources:r?{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}:null}}function s(e,t){return{origin:t,url:(0,a.An)(e.itemUrl),portal:e.portal||n.A.getDefault(),portalItem:e}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6061,9700],{29821(e,t,r){r.d(t,{O:()=>n});var s=r(15756);class n extends s.n{getOperatorType(){return 6}execute(e,t,r,n){return(0,s.r)(e,t,r,16,n)}}},76061(e,t,r){r.d(t,{G:()=>s,S:()=>n});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class n extends s{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},85672(e,t,r){r.r(t),r.d(t,{execute:()=>m});var s=r(29821),n=r(83299);const o=new s.O;function m(e,t){const r=(0,n.fromGeometry)(e);return o.execute(r.getGeometry(),(0,n.fromGeometryToGXGeometry)(t),r.getSpatialReference(),null)}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1598,6061],{7978:(e,t,s)=>{s.r(t),s.d(t,{execute:()=>n});var o=s(15756),r=s(83299);const m=new o.j;function n(e,t){const s=(0,r.fromGeometry)(e);return m.execute(s.getGeometry(),(0,r.fromGeometryToGXGeometry)(t),s.getSpatialReference())}},76061:(e,t,s)=>{s.d(t,{G:()=>o,S:()=>r});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends o{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1867,6061],{29127(e,t,s){s.r(t),s.d(t,{execute:()=>n});var o=s(15756),r=s(83299);const m=new o.g;function n(e,t){const s=(0,r.fromGeometry)(e);return m.execute(s.getGeometry(),(0,r.fromGeometryToGXGeometry)(t),s.getSpatialReference(),null)}},76061(e,t,s){s.d(t,{G:()=>o,S:()=>r});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends o{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9695],{13069(t,e,r){r.d(e,{AG:()=>a,lk:()=>s,vD:()=>i,yS:()=>o});const n="randomUUID"in crypto;function s(){if(n)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=e=>t[e].toString(16).padStart(4,"0");return e(0)+e(1)+"-"+e(2)+"-"+e(3)+"-"+e(4)+"-"+e(5)+e(6)+e(7)}function o(){return`{${s().toUpperCase()}}`}function i(){return`{${s()}}`}function a(t){const e=t.toUpperCase();return t.startsWith("{")?e:`{${e}}`}},49695(t,e,r){r.r(e),r.d(e,{default:()=>S});var n=r(31635),s=r(79608),o=r(29133),i=r(69622),a=r(69540),l=r(25482),p=r(97768),u=r(91429),c=r(87024),g=r(86738),y=r(88625);let d=class extends((0,l.T)((0,a.OU)(i.A))){constructor(t){super(t),this.position=null,this.elevationInfo=null,this.feature=null}equals(t){return(0,p.CM)(this.position,t.position)&&(0,p.CM)(this.elevationInfo,t.elevationInfo)&&(0,o.xH)(this.feature,t.feature)}};(0,n.Cg)([(0,u.MZ)({type:g.A,json:{write:{isRequired:!0}}})],d.prototype,"position",void 0),(0,n.Cg)([(0,u.MZ)({type:y.A}),(0,c.P)()],d.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,u.MZ)(o.N1)],d.prototype,"feature",void 0),d=(0,n.Cg)([(0,u.$K)("esri.analysis.LineOfSightAnalysisObserver")],d);const f=d;let h=class extends((0,l.T)(a.Pw)){constructor(t){super(t),this.position=null,this.elevationInfo=null,this.feature=null}equals(t){return(0,p.CM)(this.position,t.position)&&(0,p.CM)(this.elevationInfo,t.elevationInfo)&&(0,o.xH)(this.feature,t.feature)}};(0,n.Cg)([(0,u.MZ)({type:g.A,json:{write:!0,origins:{"web-scene":{write:{isRequired:!0}}}}}),(0,c.P)()],h.prototype,"position",void 0),(0,n.Cg)([(0,u.MZ)({type:y.A}),(0,c.P)()],h.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,u.MZ)(o.N1)],h.prototype,"feature",void 0),h=(0,n.Cg)([(0,u.$K)("esri.analysis.LineOfSightAnalysisTarget")],h);var v=r(4576),m=r(7762),w=r(62885),b=r(36708),C=r(91218),x=r(70328),A=r(24212);const j=m.A.ofType(h);let M=class extends s.A{constructor(t){super(t),this.type="line-of-sight",this.observer=null,this.extent=null}initialize(){this.addHandles((0,b.wB)(()=>this._computeExtent(),t=>{null==t?.pending&&this._set("extent",null!=t?t.extent:null)},b.pc))}get targets(){return this._get("targets")||new j}set targets(t){this._set("targets",(0,w.V)(t,this.targets,j))}get spatialReference(){return null!=this.observer?.position?this.observer.position.spatialReference:null}get valid(){return null!=this.observer?.position}async waitComputeExtent(){const t=this._computeExtent();return null!=t?t.pending:Promise.resolve()}_computeExtent(){const t=this.spatialReference;if(null==this.observer?.position||null==t)return null;const e=t=>"absolute-height"===(0,A.w7)(t.position,t.elevationInfo),r=this.observer.position,n=(0,x.fA)(r.x,r.y,r.z,r.x,r.y,r.z);for(const e of this.targets)if(null!=e.position){const r=(0,C.projectOrLoad)(e.position,t);if(null!=r.pending)return{pending:r.pending,extent:null};if(null!=r.geometry){const{x:t,y:e,z:s}=r.geometry;(0,x.iT)(n,[t,e,s])}}const s=(0,x.w1)(n,t);return e(this.observer)&&this.targets.every(e)||(s.zmin=void 0,s.zmax=void 0),{pending:null,extent:s}}clear(){this.observer=null,this.targets.removeAll()}equals(t){return this===t||super.equals(t)&&(0,p.CM)(this.observer,t.observer)&&(0,v.aI)(this.targets.toArray(),t.targets.toArray(),(t,e)=>t.equals(e))}};(0,n.Cg)([(0,u.MZ)({type:["line-of-sight"]})],M.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)({type:f,json:{read:!0,write:!0}})],M.prototype,"observer",void 0),(0,n.Cg)([(0,u.MZ)({cast:w.H,type:j,nonNullable:!0,json:{read:!0,write:!0}})],M.prototype,"targets",null),(0,n.Cg)([(0,u.MZ)({value:null,readOnly:!0})],M.prototype,"extent",void 0),(0,n.Cg)([(0,u.MZ)()],M.prototype,"spatialReference",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],M.prototype,"valid",null),M=(0,n.Cg)([(0,u.$K)("esri.analysis.LineOfSightAnalysis")],M);var R=r(25728),I=r(4146),O=r(16131);const Z=m.A.ofType(h);let U=class extends((0,O.q)((0,R.M)(I.A))){constructor(t){super(t),this.type="line-of-sight",this.operationalLayerType="LineOfSightLayer",this.analysis=new M,this.opacity=1}initialize(){this.addHandles((0,b.wB)(()=>this.analysis,(t,e)=>{null!=e&&e.parent===this&&(e.parent=null),null!=t&&(t.parent=this)},b.pc))}async load(){return null!=this.analysis&&this.addResolvingPromise(this.analysis.waitComputeExtent()),this}get observer(){return this.analysis?.observer}set observer(t){const{analysis:e}=this;e&&(e.observer=t)}get targets(){return null!=this.analysis?this.analysis.targets:new m.A}set targets(t){(0,w.V)(t,this.analysis?.targets)}get fullExtent(){return null!=this.analysis?this.analysis.extent:null}get spatialReference(){return null!=this.analysis?this.analysis.spatialReference:null}releaseAnalysis(t){this.analysis===t&&(this.analysis=new M)}};(0,n.Cg)([(0,u.MZ)({json:{read:!1},readOnly:!0})],U.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)({type:["LineOfSightLayer"]})],U.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,u.MZ)({type:f,json:{read:!0,write:{isRequired:!0,ignoreOrigin:!0}}})],U.prototype,"observer",null),(0,n.Cg)([(0,u.MZ)({type:Z,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],U.prototype,"targets",null),(0,n.Cg)([(0,u.MZ)({type:M,nonNullable:!0,json:{read:!1,write:!1}})],U.prototype,"analysis",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],U.prototype,"fullExtent",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],U.prototype,"spatialReference",null),(0,n.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],U.prototype,"opacity",void 0),(0,n.Cg)([(0,u.MZ)({type:["show","hide"]})],U.prototype,"listMode",void 0),U=(0,n.Cg)([(0,u.$K)("esri.layers.LineOfSightLayer")],U);const S=U},76553(t,e,r){function n(t){return t&&"getAtOrigin"in t&&"originOf"in t}r.d(e,{H:()=>n})},80200(t,e,r){r.d(e,{T:()=>n,d:()=>c});const n={Base64:0,Hex:1,String:2,Raw:3};function s(t,e){const r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,n,o,i){return s(function(t,e){return t<<e|t>>>32-e}(s(s(e,t),s(n,i)),o),r)}function i(t,e,r,n,s,i,a){return o(e&r|~e&n,t,e,s,i,a)}function a(t,e,r,n,s,i,a){return o(e&n|r&~n,t,e,s,i,a)}function l(t,e,r,n,s,i,a){return o(e^r^n,t,e,s,i,a)}function p(t,e,r,n,s,i,a){return o(r^(e|~n),t,e,s,i,a)}function u(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;let r=1732584193,n=-271733879,o=-1732584194,u=271733878;for(let e=0;e<t.length;e+=16){const c=r,g=n,y=o,d=u;r=i(r,n,o,u,t[e],7,-680876936),u=i(u,r,n,o,t[e+1],12,-389564586),o=i(o,u,r,n,t[e+2],17,606105819),n=i(n,o,u,r,t[e+3],22,-1044525330),r=i(r,n,o,u,t[e+4],7,-176418897),u=i(u,r,n,o,t[e+5],12,1200080426),o=i(o,u,r,n,t[e+6],17,-1473231341),n=i(n,o,u,r,t[e+7],22,-45705983),r=i(r,n,o,u,t[e+8],7,1770035416),u=i(u,r,n,o,t[e+9],12,-1958414417),o=i(o,u,r,n,t[e+10],17,-42063),n=i(n,o,u,r,t[e+11],22,-1990404162),r=i(r,n,o,u,t[e+12],7,1804603682),u=i(u,r,n,o,t[e+13],12,-40341101),o=i(o,u,r,n,t[e+14],17,-1502002290),n=i(n,o,u,r,t[e+15],22,1236535329),r=a(r,n,o,u,t[e+1],5,-165796510),u=a(u,r,n,o,t[e+6],9,-1069501632),o=a(o,u,r,n,t[e+11],14,643717713),n=a(n,o,u,r,t[e],20,-373897302),r=a(r,n,o,u,t[e+5],5,-701558691),u=a(u,r,n,o,t[e+10],9,38016083),o=a(o,u,r,n,t[e+15],14,-660478335),n=a(n,o,u,r,t[e+4],20,-405537848),r=a(r,n,o,u,t[e+9],5,568446438),u=a(u,r,n,o,t[e+14],9,-1019803690),o=a(o,u,r,n,t[e+3],14,-187363961),n=a(n,o,u,r,t[e+8],20,1163531501),r=a(r,n,o,u,t[e+13],5,-1444681467),u=a(u,r,n,o,t[e+2],9,-51403784),o=a(o,u,r,n,t[e+7],14,1735328473),n=a(n,o,u,r,t[e+12],20,-1926607734),r=l(r,n,o,u,t[e+5],4,-378558),u=l(u,r,n,o,t[e+8],11,-2022574463),o=l(o,u,r,n,t[e+11],16,1839030562),n=l(n,o,u,r,t[e+14],23,-35309556),r=l(r,n,o,u,t[e+1],4,-1530992060),u=l(u,r,n,o,t[e+4],11,1272893353),o=l(o,u,r,n,t[e+7],16,-155497632),n=l(n,o,u,r,t[e+10],23,-1094730640),r=l(r,n,o,u,t[e+13],4,681279174),u=l(u,r,n,o,t[e],11,-358537222),o=l(o,u,r,n,t[e+3],16,-722521979),n=l(n,o,u,r,t[e+6],23,76029189),r=l(r,n,o,u,t[e+9],4,-640364487),u=l(u,r,n,o,t[e+12],11,-421815835),o=l(o,u,r,n,t[e+15],16,530742520),n=l(n,o,u,r,t[e+2],23,-995338651),r=p(r,n,o,u,t[e],6,-198630844),u=p(u,r,n,o,t[e+7],10,1126891415),o=p(o,u,r,n,t[e+14],15,-1416354905),n=p(n,o,u,r,t[e+5],21,-57434055),r=p(r,n,o,u,t[e+12],6,1700485571),u=p(u,r,n,o,t[e+3],10,-1894986606),o=p(o,u,r,n,t[e+10],15,-1051523),n=p(n,o,u,r,t[e+1],21,-2054922799),r=p(r,n,o,u,t[e+8],6,1873313359),u=p(u,r,n,o,t[e+15],10,-30611744),o=p(o,u,r,n,t[e+6],15,-1560198380),n=p(n,o,u,r,t[e+13],21,1309151649),r=p(r,n,o,u,t[e+4],6,-145523070),u=p(u,r,n,o,t[e+11],10,-1120210379),o=p(o,u,r,n,t[e+2],15,718787259),n=p(n,o,u,r,t[e+9],21,-343485551),r=s(r,c),n=s(n,g),o=s(o,y),u=s(u,d)}return[r,n,o,u]}function c(t,e=n.Hex){const r=e||n.Base64,s=u(function(t){const e=[];for(let r=0,n=8*t.length;r<n;r+=8)e[r>>5]|=(255&t.charCodeAt(r/8))<<r%32;return e}(t),8*t.length);switch(r){case n.Raw:return s;case n.Hex:return function(t){const e="0123456789abcdef",r=[];for(let n=0,s=4*t.length;n<s;n++)r.push(e.charAt(t[n>>2]>>n%4*8+4&15)+e.charAt(t[n>>2]>>n%4*8&15));return r.join("")}(s);case n.String:return function(t){const e=[];for(let r=0,n=32*t.length;r<n;r+=8)e.push(String.fromCharCode(t[r>>5]>>>r%32&255));return e.join("")}(s);case n.Base64:return function(t){const e=[];for(let r=0,n=4*t.length;r<n;r+=3){const n=(t[r>>2]>>r%4*8&255)<<16|(t[r+1>>2]>>(r+1)%4*8&255)<<8|t[r+2>>2]>>(r+2)%4*8&255;for(let s=0;s<4;s++)8*r+6*s>32*t.length?e.push("="):e.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(n>>6*(3-s)&63))}return e.join("")}(s)}}},85648(t,e,r){r.d(e,{n:()=>s});var n=r(84952);function s(t){return o[function(t){return"json"===t.type?"application/json":"blob"===t.type?t.blob.type:function(t){const e=(0,n.Zo)(t);return l[e]||i}(t.url)}(t)]||a}const o={},i="text/plain",a=o[i],l={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const t in l)o[l[t]]=t},87024(t,e,r){r.d(e,{P:()=>y});var n=r(49186),s=r(80200),o=r(76553),i=r(84952),a=r(13069),l=r(96156),p=r(35666),u=r(10107),c=r(85648),g=r(97159);function y(t){const e=t?.origins??[void 0];return(r,n)=>{const s=function(t,e,r){if("resource"===t?.type)return function(t,e,r){const n=(0,l.z4)(e,r);return{type:String,read:(t,e,r)=>{const s=(0,g.r)(t,e,r);return n.type===String?s:"function"==typeof n.type?new n.type({url:s}):void 0},write:{isRequired:n.json?.write?.isRequired,writer(e,s,a,l){if(!l?.resources)return"string"==typeof e?void(s[a]=(0,g.t)(e,l)):void(s[a]=e.write({},l));const u=function(t){return null==t?null:"string"==typeof t?t:t.url}(e),y=(0,g.t)(u,{...l,verifyItemRelativeUrls:l?.verifyItemRelativeUrls?{writtenUrls:l.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},1),v=n.type!==String&&(!(0,o.H)(this)||l?.origin&&this.originIdOf(r)>(0,p.aB)(l.origin)),m={object:this,propertyName:r,value:e,targetUrl:y,dest:s,targetPropertyName:a,context:l,params:t};l?.portalItem&&y&&!(0,i.oP)(y)?v&&t?.contentAddressed?d(m):v?function(t){const{context:e,targetUrl:r,params:n,value:s,dest:o,targetPropertyName:a}=t;if(!e.portalItem)return;const l=e.portalItem.resourceFromPath(r),p=h(s,r,e),u=(0,c.n)(p),g=(0,i.Zo)(l.path),y=n?.compress??!1;u===g?(e.resources&&f({...t,resource:l,content:p,compress:y,updates:e.resources.toUpdate}),o[a]=r):d(t)}(m):function({context:t,targetUrl:e,dest:r,targetPropertyName:n}){t.portalItem&&t.resources&&(t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(e),compress:!1}),r[n]=e)}(m):l?.portalItem&&(null==y||null!=(0,g.i)(y)||(0,i.w8)(y)||v)?d(m):s[a]=y}}}}(t,e,r);switch(t?.type??"other"){case"other":return{read:!0,write:!0};case"url":{const{read:t,write:e}=g.b;return{read:t,write:e}}}}(t,r,n);for(const t of e){const e=(0,u.rM)(r,t,n);for(const t in s)e[t]=s[t]}}}function d(t){const{targetUrl:e,params:r,value:o,context:l,dest:p,targetPropertyName:u}=t;if(!l.portalItem)return;const y=(0,g.p)(e),d=h(o,e,l);if(r?.contentAddressed&&"json"!==d.type)return void l.messages?.push(new n.A("persistable:contentAddressingUnsupported",`Property "${u}" is trying to serializing a resource with content of type ${d.type} with content addressing. Content addressing is only supported for json resources.`,{content:d}));const v=r?.contentAddressed&&"json"===d.type?(0,s.d)(d.jsonString):y?.filename??(0,a.lk)(),m=(0,i.fj)(r?.prefix??y?.prefix,v),w=`${m}.${(0,c.n)(d)}`;if(r?.contentAddressed&&l.resources&&"json"===d.type){const t=l.resources.toKeep.find(({resource:t})=>t.path===w)??l.resources.toAdd.find(({resource:t})=>t.path===w);if(t)return void(p[u]=t.resource.itemRelativeUrl)}const b=l.portalItem.resourceFromPath(w);(0,i.w8)(e)&&l.resources&&l.resources.pendingOperations.push((0,i.tk)(e).then(t=>{b.path=`${m}.${(0,c.n)({type:"blob",blob:t})}`,p[u]=b.itemRelativeUrl}).catch(()=>{}));const C=r?.compress??!1;l.resources&&f({...t,resource:b,content:d,compress:C,updates:l.resources.toAdd}),p[u]=b.itemRelativeUrl}function f({object:t,propertyName:e,updates:r,resource:n,content:s,compress:o}){r.push({resource:n,content:s,compress:o,finish:r=>{!function(t,e,r){"string"==typeof t[e]?t[e]=r.url:t[e].url=r.url}(t,e,r)}})}function h(t,e,r){return"string"==typeof t?{type:"url",url:e}:{type:"json",jsonString:JSON.stringify(t.toJSON(r))}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9958],{29958(t,e,o){o.d(e,{default:()=>M});var i=o(31635),r=o(69540),s=o(25482),n=o(91429),p=o(56507),a=o(16930),l=o(65864),d=o(50498),u=o(66552),v=o(7562),y=o(93223);const c=new u.J({asc:"ascending",desc:"descending"});let g=class extends((0,r.OU)(s.o)){constructor(t){super(t),this.fieldName=void 0,this.fieldOrder=void 0,this.outStatistic=void 0,this.type="pivot"}};(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"pivotParameters.pivotFieldName",write:!0}})],g.prototype,"fieldName",void 0),(0,i.Cg)([(0,y.e)(c,{name:"pivotParameters.pivotFieldOrder"})],g.prototype,"fieldOrder",void 0),(0,i.Cg)([(0,n.MZ)({type:v.A,json:{name:"pivotParameters.outStatistic",write:!0}})],g.prototype,"outStatistic",void 0),(0,i.Cg)([(0,y.e)({Pivot:"pivot"},{name:"pivotType",readOnly:!0})],g.prototype,"type",void 0),g=(0,i.Cg)([(0,n.$K)("esri.rest.support.PivotDefinition")],g);const h=g;var m=o(27348),C=o(77696),S=o(58174);let w=class extends((0,r.OU)(s.o)){constructor(t){super(t),this.sourceFields=void 0,this.valueFieldName=void 0,this.targetFieldName=void 0,this.type="un-pivot"}};(0,i.Cg)([(0,n.MZ)({type:[String],json:{name:"unPivotParameters.sourceFields",write:!0}})],w.prototype,"sourceFields",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"unPivotParameters.valueFieldName",write:!0}})],w.prototype,"valueFieldName",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{name:"unPivotParameters.targetFieldName",write:!0}})],w.prototype,"targetFieldName",void 0),(0,i.Cg)([(0,y.e)({Unpivot:"un-pivot"},{name:"pivotType",readOnly:!0})],w.prototype,"type",void 0),w=(0,i.Cg)([(0,n.$K)("esri.rest.support.UnPivotDefinition")],w);var f=o(43937);const P={key:"type",base:null,typeMap:{pivot:h,"un-pivot":w}};let M=class extends((0,r.OU)((0,C.y)(s.o))){constructor(t){super(t),this.cacheHint=void 0,this.defaultSpatialReferenceEnabled=!1,this.geometry=null,this.groupByFieldsForStatistics=null,this.num=void 0,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.outPivots=null,this.quantizationParameters=null,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.where=void 0}writeStart(t,e){e.resultOffset=this.start,e.resultRecordCount=this.num||10,e.where="1=1"}};(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"cacheHint",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{default:!1,write:!0}})],M.prototype,"defaultSpatialReferenceEnabled",void 0),(0,i.Cg)([(0,n.MZ)({types:d.yR,json:{read:l.rS,write:!0}})],M.prototype,"geometry",void 0),(0,i.Cg)([(0,n.MZ)({type:[String],json:{write:!0}})],M.prototype,"groupByFieldsForStatistics",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],M.prototype,"num",void 0),(0,i.Cg)([(0,n.MZ)({type:[String],json:{write:!0}})],M.prototype,"orderByFields",void 0),(0,i.Cg)([(0,n.MZ)({type:[String],json:{write:!0}})],M.prototype,"outFields",void 0),(0,i.Cg)([(0,n.MZ)({type:a.A,json:{name:"outSR",write:!0}})],M.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,n.MZ)({type:[v.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],M.prototype,"outStatistics",void 0),(0,i.Cg)([(0,n.MZ)({types:[P],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outPivots&&this.outPivots.length>0}}}}})],M.prototype,"outPivots",void 0),(0,i.Cg)([(0,n.MZ)({type:m.A,json:{write:!0}})],M.prototype,"quantizationParameters",void 0),(0,i.Cg)([(0,n.MZ)({type:a.A,json:{write:!0}})],M.prototype,"sourceSpatialReference",void 0),(0,i.Cg)([(0,y.e)(S.x,{ignoreUnknown:!1,name:"spatialRel"})],M.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],M.prototype,"start",void 0),(0,i.Cg)([(0,f.K)("start"),(0,f.K)("num")],M.prototype,"writeStart",null),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],M.prototype,"where",void 0),M=(0,i.Cg)([(0,n.$K)("esri.rest.support.PivotQuery")],M),M.from=(0,p.dp)(M)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5165,7546],{159(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),s=r(69622),l=r(91429),o=r(99157);let a=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[o.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},8303(e,t,r){r.d(t,{A:()=>I});var n=r(31635),i=r(92602),s=r(70333),l=r(11254),o=r(60999),a=r(49186),u=r(53966),c=r(97768),p=r(74887),f=r(84952),h=r(91429),d=r(77548),g=r(20655),y=r(80812),m=r(41318),v=r(10407),M=r(36005),w=r(43937);const I=e=>{const t=e;let I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new y.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,p.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let l,o;if(i)l=r.portal.url;else try{l=await(0,d.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!l||!(0,f.b8)(l,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(s.id?.getCredential(`${l}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const a=!0,u=!1,c=!1;if(!o)return{features:{edit:a,fullEdit:u},content:{updateItem:c}};try{if(i?await r.reload():(r=new y.default({id:e,portal:{url:l}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,p.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=_.credential===t?_.user:await this._fetchEditingUser(e);return _.credential=t,_.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=g.A.getDefault();if(i&&i.loaded&&(0,f.S8)(i.restUrl)===(0,f.S8)(n))return i.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,c=await(0,o.Ke)((0,l.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?m.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&n&&!(0,f.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,h.MZ)({type:y.default})],I.prototype,"portalItem",null),(0,n.Cg)([(0,M.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,n.Cg)([(0,w.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,n.Cg)([(0,h.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,n.Cg)([(0,h.$K)("esri.layers.mixins.PortalLayer")],I),I},_={credential:null,user:null}},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,s,l,o=Math.floor(e.length/3)){const a=(0,n.jd)(t,s);if(null==a)return!1;if(a===n.pO){if(e===i&&r===l)return!0;const t=r+3*o;for(let n=r,s=l;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*o;for(let t=r,n=l;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>l,OM:()=>u,Sm:()=>c,Y:()=>o,bK:()=>a,mm:()=>f,sQ:()=>p});var n=r(91218),i=r(16930),s=r(28735);function l(e,t){if(!o(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function o(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return o(e,f.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?l(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const f={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let s=!i||i.includes("features:user:edit"),l=!!r&&!!i?.includes("features:user:fullEdit");const o="update"===n||"admin"===n;return o?l=s=!0:l&&(s=!0),{features:{edit:s,fullEdit:l},content:{updateItem:o}}}},25728(e,t,r){r.d(t,{M:()=>M});var n=r(31635),i=r(69622),s=r(76953),l=r(4718),o=r(35666);class a{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(o.AU),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const t=new a,r=this._originStores[0];r&&r.forEach((e,r)=>{t.set(r,(0,l.o8)(e),0)});for(let r=2;r<o.AU;r++){const n=this._originStores[r];n&&n.forEach((n,i)=>{e&&e.has(i)||t.set(i,(0,l.o8)(n),r)})}return t}get(e,t){const r=void 0===t?this._values:this._originStores[t];return r?r.get(e):void 0}keys(e){const t=null==e?this._values:this._originStores[e];return t?[...t.keys()]:[]}set(e,t,r=7){let n=this._originStores[r];if(n||(n=new Map,this._originStores[r]=n),n.set(e,t),!this._values.has(e)||this._propertyOriginMap.get(e)<=r){const n=this._values.get(e);return this._values.set(e,t),this._propertyOriginMap.set(e,r),n!==t}return!1}delete(e,t=7){const r=this._originStores[t];if(!r)return;const n=r.get(e);if(r.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===t){this._values.delete(e);for(let r=t-1;r>=0;r--){const t=this._originStores[r];if(t&&t.has(e)){this._values.set(e,t.get(e)),this._propertyOriginMap.set(e,r);break}}}return n}has(e,t){const r=void 0===t?this._values:this._originStores[t];return!!r&&r.has(e)}revert(e,t){for(;t>0&&!this.has(e,t);)--t;const r=this._originStores[t],n=r?.get(e),i=this._values.get(e);return this._values.set(e,n),this._propertyOriginMap.set(e,t),i!==n}originOf(e){return this._propertyOriginMap.get(e)||0}isAtOrigin(e,t){return this.has(e,t)&&this.originOf(e)===t}isBelowOrigin(e,t){return!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(e)}}var u=r(45917),c=r(88620),p=r(64108);const f=e=>{const t=e;let r=class extends t{constructor(...e){super(...e);const t=(0,c.oY)(this),r=t.store,n=new a;t.store=n,(0,s.k)(t,r,n)}read(e,t){(0,u.L)(this,e,t)}getAtOrigin(e,t){const r=h(this),n=(0,o.aB)(t);return r.get(e,n)}originOf(e){return(0,o.OL)(this.originIdOf(e))}originIdOf(e){return h(this).originOf(e)}revertToOrigin(e,t){const r=h(this),n=(0,o.aB)(t),i=(0,c.oY)(this);"*"===e&&r.keys(n).forEach(e=>this.revertToOrigin(e,t)),i.invalidate(e),r.revert(e,n),i.commit(e)}revertAllToOrigin(e){const t=h(this),r=(0,o.aB)(e);t.keys(r).forEach(t=>this.revertToOrigin(t,e))}};return r=(0,n.Cg)([(0,p.$)("esri.core.ReadOnlyMultiOriginJSONSupport")],r),r};function h(e){return(0,c.oY)(e).store}f(i.A);var d=r(91429),g=r(16649),y=r(49422);const m=e=>{const t=e;let r=class extends t{constructor(...e){super(...e)}clear(e,t="user"){(0,c.oY)(this).clearOrigin(e,(0,o.aB)(t))}write(e,t){return(0,y.M)(this,e=e||{},t),e}setAtOrigin(e,t,r){(0,c.oY)(this).setAtOrigin(e,t,(0,o.aB)(r))}removeOrigin(e){const t=v(this),r=(0,o.aB)(e),n=t.keys(r);for(const e of n)t.originOf(e)===r&&t.set(e,t.get(e,r),7)}updateOrigin(e,t){const r=v(this),n=(0,o.aB)(t),i=(0,g.Jt)(this,e);for(let t=n+1;t<o.AU;++t)r.delete(e,t);r.set(e,i,n)}toJSON(e){return this.write({},e)}};return r=(0,n.Cg)([(0,d.$K)("esri.core.WriteableMultiOriginJSONMixin")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function v(e){return(0,c.oY)(e).store}const M=e=>{const t=m(f(e));let r=class extends t{};return r=(0,n.Cg)([(0,p.$)("esri.core.MultiOriginJSONSupport")],r),r};M(i.A)},37539(e,t,r){r.d(t,{pO:()=>g,jd:()=>f,Tp:()=>h,w5:()=>p});var n=r(34727),i=r(86211),s=r(73941),l=r(79258);Math.PI;const o=l.$O.radius,a=l.$O.eccentricitySquared,u={a1:o*a,a2:o*a*o*a,a3:o*a*a/2,a4:o*a*o*a*2.5,a5:o*a+o*a*a/2,a6:1-a};l.$O.radius,l.$O.flattening,l.Sw.radius,l.Sw.flattening,l.sH.radius,l.sH.flattening,l.sH.radius;var c=r(21325);const p={2:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:m,11:v,2:g,4:E},5:{5:g,7:null,9:null,10:g,1:A,6:null,8:null,0:null,3:m,11:v,2:g,4:E},7:{5:null,7:g,9:null,10:g,1:null,6:_,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:I,0:null,3:null,11:null,2:null,4:null},3:{5:y,7:null,9:null,10:y,1:function(e,t,r,n){const i=e[t]/L,s=k-2*Math.atan(Math.exp(-e[t+1]/L)),l=L+(e[t+2]??0),o=Math.cos(s)*l;r[n]=Math.cos(i)*o,r[n+1]=Math.sin(i)*o,r[n+2]=Math.sin(s)*l},6:null,8:null,0:null,3:g,11:function(e,t,r,n){y(e,t,r,n),v(r,n,r,n)},2:y,4:function(e,t,r,n){y(e,t,r,n),E(r,n,r,n)}},4:{5:C,7:null,9:null,10:C,1:function(e,t,r,n){C(e,t,r,n),A(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){C(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){C(e,t,r,n),v(r,n,r,n)},2:C,4:g},1:{5:S,7:null,9:null,10:S,1:g,6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),m(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),v(r,n,r,n)},2:S,4:function(e,t,r,n){S(e,t,r,n),E(r,n,r,n)}},6:{5:null,7:R,9:null,10:R,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:P,10:P,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:A,6:_,8:I,0:null,3:m,11:v,2:g,4:E},11:{5:M,7:null,9:null,10:M,1:function(e,t,r,n){M(e,t,r,n),A(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){M(e,t,r,n),m(r,n,r,n)},11:g,2:M,4:function(e,t,r,n){M(e,t,r,n),E(r,n,r,n)}}};function f(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(b.source.spatialReference===e&&b.dest.spatialReference===t)return b;const r=d(e,b.source),n=d(t,b.dest);return 0===r&&0===n?(0,c.aI)(e,t)?b.projector=g:b.projector=null:b.projector=p[r][n],b}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function g(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function y(e,t,r,n){r[n]=T*(e[t]/L),r[n+1]=T*(k-2*Math.atan(Math.exp(-e[t+1]/L))),r[n+2]=e[t+2]??0}function m(e,t,r,i){!function(e,t,r,i,s){const l=.4999999*Math.PI,o=(0,n.qE)(x*e[t+1],-l,l),a=Math.sin(o);r[i++]=x*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,l.$O)}function v(e,t,r,n){r[n]=e[t]*j,r[n+1]=e[t+1]*j,r[n+2]=e[t+2]??0}function M(e,t,r,n){r[n]=e[t]*U,r[n+1]=e[t+1]*U,r[n+2]=e[t+2]??0}function w(e,t,r,n,i){const s=i+(e[t+2]??0),l=x*e[t],o=x*e[t+1],a=Math.cos(o)*s;r[n]=Math.cos(l)*a,r[n+1]=Math.sin(l)*a,r[n+2]=Math.sin(o)*s}function I(e,t,r,n){w(e,t,r,n,l.Sw.radius)}function _(e,t,r,n){w(e,t,r,n,l.sH.radius)}function A(e,t,r,n){w(e,t,r,n,l.$O.radius)}function O(e,t,r,i,s){const l=e[t],o=e[t+1],a=e[t+2]??0,u=Math.sqrt(l*l+o*o+a*a),c=(0,n.YN)(a/(0===u?1:u)),p=Math.atan2(o,l);r[i++]=T*p,r[i++]=T*c,r[i]=u-s}function P(e,t,r,n){O(e,t,r,n,l.Sw.radius)}function R(e,t,r,n){O(e,t,r,n,l.sH.radius)}function S(e,t,r,n){O(e,t,r,n,l.$O.radius)}function E(e,t,r,n){!function(e,t,r,n,i){const s=x*e[t],l=x*e[t+1],o=e[t+2]??0,a=Math.sin(l),u=Math.cos(l),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(c+o)*u*Math.cos(s),r[n++]=(c+o)*u*Math.sin(s),r[n++]=(c*(1-i.eccentricitySquared)+o)*a}(e,t,r,n,l.$O)}function C(e,t,r,n){const i=u,s=e[t],o=e[t+1],a=e[t+2]??0;let c,p,f,h,d,g,y,m,v,M,w,I,_,A,O,P,R,S,E,C,b;c=Math.abs(a),p=s*s+o*o,f=Math.sqrt(p),h=p+a*a,d=Math.sqrt(h),C=Math.atan2(o,s),g=a*a/h,y=p/h,A=i.a2/d,O=i.a3-i.a4/d,y>.3?(m=c/d*(1+y*(i.a1+A+g*O)/d),E=Math.asin(m),M=m*m,v=Math.sqrt(1-M)):(v=f/d*(1-g*(i.a5-A-y*O)/d),E=Math.acos(v),M=1-v*v,m=Math.sqrt(M)),w=1-l.$O.eccentricitySquared*M,I=l.$O.radius/Math.sqrt(w),_=i.a6*I,A=f-I*v,O=c-_*m,R=v*A+m*O,P=v*O-m*A,S=P/(_/w+R),E+=S,b=R+P*S/2,a<0&&(E=-E),r[n++]=T*C,r[n++]=T*E,r[n]=b}const b={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},x=(0,n.kU)(1),T=(0,n.KJ)(1),k=.5*Math.PI,L=l.$O.radius,j=L*Math.PI/180,U=180/(L*Math.PI)},45165(e,t,r){r.r(t),r.d(t,{default:()=>p});var n=r(31635),i=r(49186),s=r(25728),l=r(76030),o=r(91429),a=r(4146),u=r(8303);let c=class extends((0,u.A)((0,s.M)(a.A))){constructor(e){super(e),this.resourceInfo=null,this.persistenceEnabled=!0,this.type="unsupported"}initialize(){this.addResolvingPromise(new Promise((e,t)=>{(0,l._)(()=>{const e=this.resourceInfo&&(this.resourceInfo.layerType||this.resourceInfo.type);let r="Unsupported layer type";e&&(r+=" "+e),t(new i.A("layer:unsupported-layer-type",r,{layerType:e}))})}))}read(e,t){const r={resourceInfo:e};null!=e.id&&(r.id=e.id),null!=e.title&&(r.title=e.title),super.read(r,t)}write(e,t){return Object.assign(e||{},this.resourceInfo,{id:this.id})}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],c.prototype,"resourceInfo",void 0),(0,n.Cg)([(0,o.MZ)({type:["show","hide"]})],c.prototype,"listMode",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,readOnly:!1})],c.prototype,"persistenceEnabled",void 0),(0,n.Cg)([(0,o.MZ)({json:{read:!1},readOnly:!0,value:"unsupported"})],c.prototype,"type",void 0),c=(0,n.Cg)([(0,o.$K)("esri.layers.UnsupportedLayer")],c);const p=c},60999(e,t,r){r.d(t,{DZ:()=>d,Ke:()=>h,Tj:()=>c,UT:()=>g,aD:()=>m,jJ:()=>u});var n=r(31635),i=r(69622),s=r(97768),l=r(74887),o=r(10107),a=r(64108);function u(e,t,r){return(0,l.Lx)(e.map((e,n)=>t.apply(r,[e,n])))}async function c(e,t,r){return(await(0,l.Lx)(e.map((e,n)=>t.apply(r,[e,n])))).map(e=>e.value)}function p(e){return{ok:!0,value:e}}function f(e){return{ok:!1,error:e}}async function h(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return p(await e)}catch(e){return f(e)}}async function d(e){try{return p(await e)}catch(e){return(0,l.QP)(e),f(e)}}function g(e,t){return new y(e,t)}let y=class extends i.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=p(e),this._cleanup()},e=>{this._result=f(e),this._cleanup()}),this._abortHandle=(0,l.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,o.MZ)()],y.prototype,"value",null),(0,n.Cg)([(0,o.MZ)()],y.prototype,"error",null),(0,n.Cg)([(0,o.MZ)()],y.prototype,"finished",null),(0,n.Cg)([(0,o.MZ)()],y.prototype,"promise",void 0),(0,n.Cg)([(0,o.MZ)()],y.prototype,"_result",void 0),y=(0,n.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],y);class m{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>D,initializeProjection:()=>K,isEqualBaseGCS:()=>Y,isLoaded:()=>C,isLoadedOrLoad:()=>b,isLoadedOrLoadFor:()=>x,load:()=>k,project:()=>L,projectAsync:()=>q,projectExtent:()=>te,projectMany:()=>j,projectMultipoint:()=>F,projectOrLoad:()=>Z,projectOrLoadMany:()=>$,projectPoint:()=>N,projectPolygon:()=>X,projectPolyline:()=>Q,projectWithoutEngine:()=>z,requiresLoad:()=>T,test:()=>G,tryProject:()=>U,unload:()=>B});var n=r(49186),i=r(74887),s=r(62788),l=r(95488),o=r(51850),a=r(21276),u=r(73941),c=r(5443),p=r(91075),f=r(48526),h=r(86738),d=r(39829),g=r(82799),y=r(16930),m=r(159),v=r(9762),M=r(37539);function w(e,t,r,n,i,s){return I[0]=e,I[1]=t,I[2]=r,(0,v.projectBuffer)(I,n,0,i,s,0)}const I=(0,o.vt)();var _=r(21325);let A=null,O=null,P=null,R=null,S={};const E=new l.I;function C(){return!!(O?.isLoaded()&&P?.isLoaded()&&R?.isLoaded())}function b(){return!!C()||((0,s.gc)(E),k(),!1)}function x(e,t){return!e||!t||D(e,t)||b()}function T(e,t){return!D(e,t)&&!C()}async function k(e){null==A&&(A=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(O=e,O.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(P=e,P.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(R=e,R.load()))])),await A,(0,i.Te)(e),E.notify()}function L(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),j(e,e[0].spatialReference,t,r)):((0,a.f)(e),j([e],e.spatialReference,t,r)[0])}function j(e,t,r,n){if(null==t||null==r)return e;if(D(t,r,n))return e.map(e=>z(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return j(e.map(e=>z(e,t,y.A.WGS84)),y.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return j(e,t,y.A.WGS84).map(e=>z(e,y.A.WGS84,r));if(!C())throw new H;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:R.getTransformation(t,r,n.areaOfInterestExtent)||new m.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=S[e];i||(i=R.getTransformation(t,r)||new m.A,S[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?O.executeMany(e,r,n):P.executeMany(e,r,n)}function U(e,t,r){try{return L(e,t,r)}catch(e){return null}}function Z(e,t){const r=$([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function $(e,t,r){if(!C())for(const r of e)if(null!=r&&!(0,_.aI)(r.spatialReference,t)&&(0,_.fn)(r.spatialReference)&&(0,_.fn)(t)&&!D(r.spatialReference,t))return(0,s.gc)(E),{pending:k(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,_.aI)(e.spatialReference,t)?e:(0,_.fn)(e.spatialReference)&&(0,_.fn)(t)?L(e,t,r):null)}}class H extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function B(){A=null,O=null,P=null,R=null,S={}}const G={get loadPromise(){return A}};async function q(e,t,r){if((0,i.Te)(r),!e)return e;const n=$(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),q(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function D(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,_.aI)(e,t)||(0,_.fn)(e)&&(0,_.fn)(t)&&!!(0,M.jd)(e,t))}function Y(e,t){if((0,_.aI)(e,t))return!0;if(!(0,_.fn)(e)||!(0,_.fn)(t))return!1;const r=(0,_.oT)(e)||(0,_.K8)(e)||(0,_.x1)(e),n=(0,_.oT)(t)||(0,_.K8)(t)||(0,_.x1)(t);return r&&n}async function K(e,t,r,n){if(C())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!D(t,r,i))return k(n)}else if(e&&t&&!D(e,t,r))return k(n);return(0,i.NO)(n)}function z(e,t,r){return e?"x"in e?J(e,t,new h.A,r,0):"xmin"in e?re(e,t,new c.A,r,0):"rings"in e?ee(e,t,new d.A,r,0):"paths"in e?V(e,t,new g.A,r,0):"points"in e?W(e,t,new f.A,r,0):null:null}function N(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=J(e,e.spatialReference,t,r,n)}function J(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const s=e.z;return ie[2]=void 0!==s?s:i,(0,v.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function F(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=W(e,e.spatialReference,t,r,n)}function W(e,t,r,n,i){const{points:s,hasZ:l,hasM:o}=e,a=[],c=s.length,p=[];for(const e of s)p.push(e[0],e[1],l?e[2]:i);if(!(0,v.projectBuffer)(p,t,0,p,n,0,c))return null;const f=l||(0,u.xP)(n);for(let e=0;e<c;++e){const t=3*e,r=p[t],n=p[t+1];f&&o?a.push([r,n,p[t+2],s[e][3]]):f?a.push([r,n,p[t+2]]):o?a.push([r,n,s[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=l,r.hasM=o,r}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=V(e,e.spatialReference,t,r,n)}function V(e,t,r,n,i){const{paths:s,hasZ:l,hasM:o}=e,a=[];if(!ne(s,l??!1,o??!1,t,a,n,i))return null;const c=l||(0,u.xP)(n);return r.paths=a,r.spatialReference=n,r.hasZ=c,r.hasM=o,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:s,hasZ:l,hasM:o}=e,a=[];if(!ne(s,l??!1,o??!1,t,a,n,i))return null;const c=l||(0,u.xP)(n);return r.rings=a,r.spatialReference=n,r.hasZ=c,r.hasM=o,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:s,ymin:l,xmax:o,ymax:a,hasZ:c,hasM:p}=e;if(!w(s,l,c?e.zmin:i,t,ie,n))return null;const f=c||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],f&&(r.zmin=ie[2]),w(o,a,c?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],f&&(r.zmax=ie[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,s,l=0){const o=new Array;for(const r of e)for(const e of r)o.push(e[0],e[1],t?e[2]:l);if(!(0,v.projectBuffer)(o,n,0,o,s,0))return!1;let a=0;i.length=0;const c=t||(0,u.xP)(s);for(const t of e){const e=new Array;for(const n of t)c&&r?e.push([o[a++],o[a++],o[a++],n[3]]):c?e.push([o[a++],o[a++],o[a++]]):r?(e.push([o[a++],o[a++],n[2]]),a++):(e.push([o[a++],o[a++]]),a++);i.push(e)}return!0}const ie=(0,o.vt)()},99157(e,t,r){r.d(t,{A:()=>o});var n,i=r(31635),s=r(69622),l=r(91429);let o=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)()],o.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)()],o.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)()],o.prototype,"wkid",void 0),o=n=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],o)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6558],{6558(e,t,n){n.r(t),n.d(t,{OperatorGeodeticArea:()=>q});var s=n(55537),i=n(88885),a=n(5247),_=n(15756),r=n(83661),h=n(79187),o=n(95213),m=n(31139),l=n(47591),u=n(31635),p=n(11878),c=n(16859);class g{constructor(e,t,n,s,i=100){this.m_startPt=e.clone(),this.m_endPt=t.clone(),this.m_cE2=s,this.m_cE=Math.sqrt(this.m_cE2),this.m_c1By2e=1/(2*this.m_cE),this.m_cRpu=n.getGCS().getUnit().getUnitToBaseFactor(),this.isPcs=2===n.getCoordinateSystemType(),this.PEProjcs=n.getPECoordSys(),this.m_points=(0,r.d)(2*i,Number.NaN)}setSegmentEndPoints(e,t){this.m_startPt.assign(e),this.m_endPt.assign(t)}makeFunctor(){return e=>{const t=[0,0];t[0]=this.m_startPt.x*(1-e)+this.m_endPt.x*e,t[1]=this.m_startPt.y*(1-e)+this.m_endPt.y*e,this.isPcs&&_.N.projToGeogCenter(this.PEProjcs,1,t,0);const n=Math.sin(t[1]*this.m_cRpu);return 0===this.m_cE2?n:-Math.log((1-this.m_cE*n)/(1+this.m_cE*n))*this.m_c1By2e+n/(1-this.m_cE2*n*n)}}}function d(e,t,n,s,i){const r=(new a.O).execute(e,t,0,0,i);let o;o=s?(new _.O).execute(r,s,i):r;const m=1===n.getUnit().getUnitToBaseFactor()?Math.PI/180:1,l=new h.Envelope2D;o.queryEnvelope(l);const u=new h.Envelope2D,p=new h.Envelope2D,c=new h.Envelope2D;u.setCoords({xmin:l.xmin,ymin:75*m,xmax:l.xmax,ymax:90*m}),p.setCoords({xmin:l.xmin,ymin:-60*m,xmax:l.xmax,ymax:75*m}),c.setCoords({xmin:l.xmin,ymin:-90*m,xmax:l.xmax,ymax:-60*m}),u.inflateCoords(.01*u.width(),0),p.inflateCoords(.01*p.width(),0),c.inflateCoords(.01*c.width(),0);let g=0;return g+=E(o,u,n,i),g+=E(o,p,n,i),g+=E(o,c,n,i),g}function E(e,t,n,i){const a=(new m.O).execute(e,t,n,i);if(null!==a&&!a.isEmpty()){const e=new h.Envelope2D;a.queryEnvelope(e);const{first:t,second:o}=function(e,t){const n=function(e,t){const n=e.getUnit().getUnitToBaseFactor(),i=t.getCenter();i.scale(180*n/Math.PI);const a=new r.P;a.x=0,a.y=0;let h=0;if(0===h){i.y>45?(a.y=r.o,h=0):i.y<-45?(a.y=-r.o,h=1):i.x>=45&&i.x<135?(a.x=r.o,h=2):i.x>=135||i.x<-135?(a.x=r.o,h=3):i.x<-45&&i.x>=-135?(a.x=-r.o,h=4):(a.x=0,h=5);const e=n*Math.sqrt((0,r.a)(t.xmin-t.xmax)+(0,r.a)(t.ymin-t.ymax)),s=a.clone(),_=t.getCenter();if(_.scale(n),h<2&&(s.x=_.x),r.P.distance(s,_)+.5*e>r.o)return null}const o=P[h];if(null!==o&&o.getGCS().equalHorizontal(e))return o;const m=e.getText(),l=a.x,u=a.y;let p=0,c=-1;6!==h?c=_.aj.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA:((0,s.g)(false),p=0,c=_.aj.PE_PRJ_CYLINDRICAL_EQAREA);const g=(0,_.aD)("EqualAreaPCS");let d;c===_.aj.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA?d=`PROJCS["${g}",${m},PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${l}],PARAMETER["Latitude_of_Origin",${u}],UNIT["Meter",1.0]]`:c===_.aj.PE_PRJ_CYLINDRICAL_EQAREA?d=`PROJCS["${g}",${m},PROJECTION["Cylindrical_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${l}],PARAMETER["Standard_Parallel_1",${p}],PARAMETER["Latitude_of_Origin",${u}],UNIT["Meter",1.0]]`:(0,s.d)("getEqualAreaPcsFixed");const E=(0,_.aE)(d);return P[h]&&P[h].destroy(),P[h]=E,E}(e,t);if(null!==n)return(0,r.l)(n,!1);const i=e.getText(),a=e.getUnit().getUnitToBaseFactor(),h=(t.xmin+t.width()/2)*a,o=(t.ymin+t.height()/2)*a;let m=0,l=0,u=-1;t.ymin*a>=75*Math.PI/180||t.ymax*a<=-60*Math.PI/180?u=_.aj.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA:t.ymin>0||t.ymax<0?(m=(t.ymin+1/3*t.height())*a,l=(t.ymin+2/3*t.height())*a,u=_.aj.PE_PRJ_ALBERS):(m=(t.ymin+2/3*t.height())*a,u=_.aj.PE_PRJ_CYLINDRICAL_EQAREA);const p=(0,_.aD)("EqualAreaPCS");let c;return u===_.aj.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA?c=`PROJCS["${p}",${i},PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${h}],PARAMETER["Latitude_of_Origin",${o}],UNIT["Meter",1.0]]`:u===_.aj.PE_PRJ_ALBERS?c=`PROJCS["${p}",${i},PROJECTION["Albers"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${h}],PARAMETER["Standard_Parallel_1",${m}],PARAMETER["Standard_Parallel_2",${l}],PARAMETER["Latitude_of_Origin",${o}],UNIT["Meter",1.0]]`:u===_.aj.PE_PRJ_CYLINDRICAL_EQAREA?c=`PROJCS["${p}",${i},PROJECTION["Cylindrical_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${h}],PARAMETER["Standard_Parallel_1",${m}],PARAMETER["Latitude_of_Origin",${o}],UNIT["Meter",1.0]]`:(0,s.d)("getEqualAreaPCSInstance"),(0,r.l)((0,_.aE)(c),!0)}(n,e),m=(0,_.a)(n,t,null),l=(new _.O).execute(a,m,i).calculateArea2D();return o&&t.destroy(),l}return 0}const P=[null,null,null,null,null,null,null];class f{getOperatorType(){return 10314}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){if(0===t.getCoordinateSystemType()&&(0,s.a)(""),e.isEmpty()||e.getDimension()<2)return 0;if((0,s.c)(e),e.getGeometryType()===s.G.enumEnvelope){const s=new i.a;return s.addEnvelope(e,!1),this.execute(s,t,n)}let u=e;e.getDescription().getAttributeCount()>1&&(u=e.clone(),u.dropAllAttributes());const p=(new a.O).execute(u,0,t.getTolerance(0),0,n);let c=null;const E=t.getGCS();E!==t&&(c=(0,_.a)(t,E));let P=(new _.f).execute(p,t,!1,n);return P.isEmpty()?0:(P===e&&(P=e.clone()),t.isPannable()?function(e,t,n){const s=new h.Envelope2D;e.queryEnvelope(s);const a=(0,o.c)(t,s,!0).total(),l=t.getPannableExtent();l.xmin=s.xmin-10*a,l.xmax=s.xmax+10*a;const u=(new m.O).execute(e,l,t,n).getImpl().querySegmentIterator();u.stripAttributes();const p=(0,_.H)();t.querySpheroidData(p);const c=p.e2,d=0===c?2:1,E=new r.P(0,0),P=new r.P(0,0),f=new r.K(0),S=new g(E,P,t,c,100);for(;u.nextPath();)for(;u.hasNextSegment();){const e=u.nextSegment();E.assign(e.getStartXY()),P.assign(e.getEndXY()),S.setSegmentEndPoints(E,P);const t=(0,i.x)(6,0,1,1e-12,1e-15,S.makeFunctor());f.pe((P.x-E.x)*t)}const y=p.majorSemiAxis;return d*y*y*(1-c)*Math.PI*f.getResult()/t.getPannableExtent().width()}(P,t,n):function(e,t,n,s,i){const a=function(e,t,n){const s=e.calculateLength2D(),i=(new l.O).execute(e,t,n)/25e3,a=s/e.getSegmentCount()*2;let _=Math.min(a,s/i);return 0===_&&(_=1),(0,r.l)(_,s/_)}(e,t,i);let _=d(e,a.first,n,s,i),h=1,o=0,m=0;do{if(h++,a.first*=.5,a.first<50*t.getTolerance(0))return _;a.second*=2,m=d(e,a.first,n,s,i),o=Math.abs(m-_),_=m}while(Math.abs(_)>1&&o>1e-8*Math.abs(_)&&(a.second<65e3&&h<8||h<4));return m}(P,t,E,c,n))}}function S(){return{m_p_PCS:new r.P,m_factor:Number.NaN,setValues:y,assign:x}}function y(e,t){this.m_factor=e,this.m_p_PCS.assign(t)}function x(e){this.m_factor=e.m_factor,this.m_p_PCS.assign(e.m_p_PCS)}class A{constructor(e,t,n,s){this.m_ptStart=new o.d,this.m_ptEnd=new o.d,this.m_ptStart.assign(t),this.m_ptEnd.assign(n),this.m_deltaX=this.m_ptEnd.x-this.m_ptStart.x,this.m_deltaY=this.m_ptEnd.y-this.m_ptStart.y,this.m_e=Math.sqrt(e),this.m_e2=e,this.m_c1MinusE2=1-e;const i=Math.sin(s);let a;a=0===this.m_e2?2*i:i*((0,r.y)(this.m_e*i)+1/(1-this.m_e2*i*i)),this.m_baseA=a}setSegmentEndPoints(e,t){this.m_ptStart.assign(e),this.m_ptEnd.assign(t),this.m_deltaX=this.m_ptEnd.x-this.m_ptStart.x,this.m_deltaY=this.m_ptEnd.y-this.m_ptStart.y}makeFunctor(){return e=>{const t=1-e,n=t*this.m_ptStart.x+e*this.m_ptEnd.x,s=t*this.m_ptStart.y+e*this.m_ptEnd.y,i=t*this.m_ptStart.z+e*this.m_ptEnd.z,a=n*n+s*s,_=i/Math.sqrt(i*i+this.m_c1MinusE2*this.m_c1MinusE2*a);let h;return h=0===this.m_e2?2*_:_*((0,r.y)(this.m_e*_)+1/(1-this.m_e2*_*_)),(this.m_deltaY*n-this.m_deltaX*s)/a*(h-this.m_baseA)}}}function R(){return{sin_phi:Number.NaN,one_p_sin_phi:Number.NaN,one_m_sin_phi:Number.NaN,one_m_e_2_sin_2_phi:Number.NaN,sin_half_phi_pf:Number.NaN,sin_half_phi_pz:Number.NaN,sin_half_asin_e_sin_phi_pf:Number.NaN,sin_half_asin_e_sin_phi_pz:Number.NaN,atanh_sin_phi:Number.NaN,atanh_esin_phi:Number.NaN,make_negative:!1,initialize:M,changeSign:C,assign:T,clone:w}}function M(e,t,n,s){const i=.5*e;this.sin_phi=Math.sin(e);const a=t*this.sin_phi,_=.5*Math.asin(a);this.one_p_sin_phi=1+this.sin_phi,this.one_m_sin_phi=1-this.sin_phi,this.one_m_e_2_sin_2_phi=(1+a)*(1-a),this.sin_half_phi_pf=Math.sin(i+n),this.sin_half_phi_pz=Math.sin(i+s),this.sin_half_asin_e_sin_phi_pf=Math.sin(_+n),this.sin_half_asin_e_sin_phi_pz=Math.sin(_+s),this.atanh_sin_phi=Math.log(this.sin_half_phi_pf/this.sin_half_phi_pz),this.atanh_esin_phi=Math.log(this.sin_half_asin_e_sin_phi_pf/this.sin_half_asin_e_sin_phi_pz)}function C(){this.sin_phi=-this.sin_phi;let e=this.one_p_sin_phi;this.one_p_sin_phi=this.one_m_sin_phi,this.one_m_sin_phi=e,e=this.sin_half_phi_pf,this.sin_half_phi_pf=this.sin_half_phi_pz,this.sin_half_phi_pz=e,e=this.sin_half_asin_e_sin_phi_pf,this.sin_half_asin_e_sin_phi_pf=this.sin_half_asin_e_sin_phi_pz,this.sin_half_asin_e_sin_phi_pz=e,this.atanh_sin_phi=-this.atanh_sin_phi,this.atanh_esin_phi=-this.atanh_esin_phi}function T(e){this.sin_phi=e.sin_phi,this.one_p_sin_phi=e.one_p_sin_phi,this.one_m_sin_phi=e.one_m_sin_phi,this.one_m_e_2_sin_2_phi=e.one_m_e_2_sin_2_phi,this.sin_half_phi_pf=e.sin_half_phi_pf,this.sin_half_phi_pz=e.sin_half_phi_pz,this.sin_half_asin_e_sin_phi_pf=e.sin_half_asin_e_sin_phi_pf,this.sin_half_asin_e_sin_phi_pz=e.sin_half_asin_e_sin_phi_pz,this.atanh_sin_phi=e.atanh_sin_phi,this.atanh_esin_phi=e.atanh_esin_phi,this.make_negative=e.make_negative}function w(){return{...this}}class N{constructor(e,t,n){this.m_transformPCS2GCS=null,this.m_scaleToRadians=new p.T,this.m_scaleToDegrees=new p.T,this.m_progressTracker=n,(0,s.g)(4!==t),this.m_curveType=t,this.m_inputSR=e,e&&0!==e.getCoordinateSystemType()||(0,s.a)(""),this.m_inputGCS=e.getGCS(),this.m_a=0,this.m_eSquared=0,this.m_b=0,this.m_rpu=0}executePolygonGeodeticArea(e){let t,n=e.clone();if(n.dropAllAttributes(),e.hasNonLinearSegments()&&(n=(new a.O).execute(n,0,this.m_inputSR.getTolerance(0),0,this.m_progressTracker)),this.m_inputSR.isPannable()){const e=new h.Envelope2D;n.queryEnvelope(e);const t=this.m_inputSR.getPannableExtent();if(!t.containsEnvelope(e)){const s=t.getCenterX()-e.getCenterX(),i=new p.T;i.setShiftCoords(s,0),n.applyTransformation(i),e.move(s,0);const a=new r.E;t.queryIntervalX(a);const h=new r.E;e.queryIntervalX(h),n=a.contains(h)?(0,_.I)(n,this.m_inputSR):(new _.O).foldInto360RangeGeodetic(n,this.m_inputSR,this.m_curveType)}}if(this.m_transformPCS2GCS?(n=(new _.f).execute(n,this.m_inputSR,!1,this.m_progressTracker),t=n.createInstance(),(0,_.K)(this.m_transformPCS2GCS,n,t,this.m_progressTracker)||(t=(new _.O).execute(n,this.m_transformPCS2GCS,this.m_progressTracker))):t=(new _.f).execute(n,this.m_inputGCS,!1,this.m_progressTracker),t.isEmpty())return 0;if(1===this.m_curveType){const e=(0,_.H)();return this.m_inputGCS.querySpheroidData(e),this.m_a=e.majorSemiAxis,this.m_eSquared=e.e2,this.loxodromeArea(t)}const s=t.getImpl();this.m_rpu=this.m_inputGCS.getUnit().getUnitToBaseFactor(),this.m_scaleToRadians.setScale(this.m_rpu),s.applyTransformation(this.m_scaleToRadians),this.m_scaleToDegrees=this.m_scaleToRadians,this.m_scaleToDegrees.invertThis();const i=(0,_.H)();if(this.m_inputGCS.querySpheroidData(i),this.m_a=i.majorSemiAxis,this.m_b=i.minorSemiAxis,this.m_eSquared=i.e2,2===this.m_curveType)return this.executeClippedPolygonGreatEllipticArea(t);{const e={stack:[],error:void 0,hasError:!1};try{const n=_.aF.unit(9101),s=this.m_inputGCS.getPECoordSys(),i=(0,u.mS)(e,s.cloneAlterUnits(n),!1);let a,r,h=this.executeClippedPolygonGeodeticArea(t,i,0),o=0;do{o++,a=this.executeClippedPolygonGeodeticArea(t,i,o),r=Math.abs(a-h),h=a}while(Math.abs(a)>1&&r>1e-8*Math.abs(a)&&o<7);return a}catch(t){e.error=t,e.hasError=!0}finally{(0,u.hk)(e)}}}executeClippedPolygonGeodeticArea(e,t,n){const s={stack:[],error:void 0,hasError:!1};try{const i=new h.Envelope2D;e.queryEnvelope(i);const a=(0,u.mS)(s,this.getEqualAreaPCSInstance(t,i),!1),o=e.clone();(0,_.aG)(a,o);const m=50,l=o.getImpl().getAttributeStreamRef(0),p=e.getImpl().getAttributeStreamRef(0),c=(0,u.mS)(s,new _.L,!1),g=(0,u.mS)(s,new _.L,!1),d=40,E=[0,0],P=(0,r.k)(S,d),f=(0,r.d)(d,-1),y=S(),x=S();let A,R;const M=a;let C=o.calculateArea2D();const T=new r.K(0),w=.5*Math.PI,N=1e-10*Math.abs(C)+1e-6,q=e.getPathCount();let b,v,I,L;const z=new r.P,D=new r.P,G=new r.P,O=new r.P,k=new r.P,$=new r.P;let F,Y;for(v=e.getPathStart(0),b=0;b<q;b++,v=I)for(I=e.getPathEnd(b),l.queryPoint2D(I-1<<1,G),p.queryPoint2D(I-1<<1,z),Math.abs(z.y)>w&&(z.y=(0,r.f)(w,z.y)),L=v;L<I;L++,G.assign(O),z.assign(D)){if(l.queryPoint2D(L<<1,O),p.queryPoint2D(L<<1,D),Math.abs(D.y)>w&&(D.y=(0,r.f)(w,D.y)),F=r.P.distance(G,O),F<m||0===z.y&&0===D.y)continue;_.M.geodeticDistance(this.m_a,this.m_eSquared,z.x,z.y,D.x,D.y,c,g,null,this.m_curveType);const e=c.val,t=g.val;for(y.setValues(0,G),x.setValues(1,O),R=n,P[0].assign(x),f[0]=n,A=0;A>=0;){Y=.5*(y.m_factor+x.m_factor),_.M.geodeticCoordinate(this.m_a,this.m_eSquared,z.x,z.y,e*Y,t,c,g,this.m_curveType),k.x=c.val,k.y=g.val,E[0]=k.x,E[1]=k.y,_.N.geogToProj(M,1,E),$.x=E[0],$.y=E[1];const n=.5*-$.offset(y.m_p_PCS,x.m_p_PCS)*r.P.distance(y.m_p_PCS,x.m_p_PCS);if(T.pe(n),Math.abs(n)>N||Math.abs(n)>0&&R>0)x.setValues(Y,$),A++,P[A].assign(x),Math.abs(n)<=N?(R--,f[A-1]=R,f[A]=R):(R=f[A-1],f[A]=R);else{if(A<=0)break;y.assign(x),A--,x.assign(P[A]),R=f[A]}}}return C+=T.getResult(),Math.abs(C)}catch(e){s.error=e,s.hasError=!0}finally{(0,u.hk)(s)}}executeClippedPolygonGreatEllipticArea(e){const t=[],n=[],s=new r.P,i=new r.P,a=(0,_.Q)(1,this.m_eSquared,new r.P(0,.5*Math.PI)),m=new r.K(0),l=new r.K(0),u=new r.K(0),p=new o.d,c=new o.d,g=new h.Envelope2D;e.queryLooseEnvelope(g);let d=0;g.containsCoords(g.xmin,0)||(d=Math.abs(g.ymin)<Math.abs(g.ymax)?g.ymin:g.ymax);const E=new A(this.m_eSquared,p,c,d),P=this.m_a*this.m_a,f=e.getImpl().querySegmentIterator();for(f.stripAttributes();f.nextPath();)for(;f.hasNextSegment();){const e=f.nextSegment();s.assign(e.getStartXY()),i.assign(e.getEndXY()),i.x-s.x>Math.PI?s.x+=2*Math.PI:i.x-s.x<-Math.PI&&(i.x+=2*Math.PI),this.splitSegmentCrossingItegralThreshold(e,t,n);for(let e of t)p.assign((0,_.Q)(this.m_a,this.m_eSquared,e.getStartXY())),c.assign((0,_.Q)(this.m_a,this.m_eSquared,e.getEndXY())),E.setSegmentEndPoints(p,c),this.adaptiveIntegrationWithRomberg(E,m);for(let e of n){let t=e.getStartXY(),n=e.getEndXY(),s=d;t.y<0&&(n=(0,r.c)(t,t=n),t.y=-t.y,n.y=-n.y,s=-s);const i=(0,_.Q)(1,this.m_eSquared,t),h=(0,_.Q)(1,this.m_eSquared,n),m=Math.min(t.y,n.y),p=(0,_.aH)(this.m_eSquared,t.x,n.x,s,m);l.pe(p);const c=Math.abs((0,_.aH)(this.m_eSquared,t.x,n.x,m,r.o)),g=new o.d;g.setSub(i,a);const E=new o.d;E.setSub(h,a);const f=new o.d;f.setCrossProductVector(g,E);let S=P*(c-.5*f.length());S=(0,r.f)(S,n.x-t.x),u.pe(S)}t.length=0,n.length=0}return u.getResult()+P*(.5*(1-this.m_eSquared)*m.getResult()+l.getResult())}getEqualAreaPCSInstance(e,t){const n=t.getCenterX();let s,i;const a=t.height();let h,o;(h=t.ymin>45*Math.PI/180||t.ymax<45*-Math.PI/180)?s=(0,r.f)(.5*Math.PI,t.getCenterY()):(s=t.getCenterY(),i=t.ymin+a*(2/3));const m=(0,_.aD)("EqualAreaPCS"),l=e.toString();return o=h?_.aF.fromString(_.aj.PE_TYPE_PROJCS,`PROJCS["${m}", ${l}, PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing", 0],PARAMETER["Central_Meridian", ${n}], PARAMETER["Latitude_of_Origin", ${s}], UNIT["Meter",1.0]]`,!0):_.aF.fromString(_.aj.PE_TYPE_PROJCS,`PROJCS["${m}", ${l}, PROJECTION["Cylindrical_Equal_Area"],PARAMETER["False_Easting", 0],PARAMETER["False_Northing", 0],PARAMETER["Central_Meridian", ${n}],PARAMETER["Standard_Parallel_1", ${i}],PARAMETER["Latitude_of_Origin", ${s}],UNIT["Meter",1.0]]`,!0),o}splitSegmentCrossingItegralThreshold(e,t,n){const s=100,a=400,h=(0,_.Q)(this.m_a,this.m_eSquared,new r.P(0,r.o)),m=(0,_.Q)(this.m_a,this.m_eSquared,new r.P(0,-r.o)),l=this.splitSegmentPassingThroughPole(e);for(let e of l){const l=e.getStartXY(),u=e.getEndXY(),p=(0,_.Q)(this.m_a,this.m_eSquared,l),c=(0,_.Q)(this.m_a,this.m_eSquared,u),g=new r.P,d=new o.d;let E=o.d.sqrDistance(h,p),P=o.d.sqrDistance(p,c);if(E<=s){if(!(P>a)){n.push(new i.L({start:l,end:u}));continue}d.assign(c.sub(p)),d.normalizeThis(),d.assign(p.add(d.mul(20))),g.assign((0,_.Y)(this.m_a,this.m_eSquared,d)),n.push(new i.L({start:l,end:g})),l.assign(g)}if(p.assign((0,_.Q)(this.m_a,this.m_eSquared,l)),E=o.d.sqrDistance(h,c),P=o.d.sqrDistance(p,c),E<=s){if(!(P>a)){n.push(new i.L({start:l,end:u}));continue}d.assign(c.sub(p)),d.normalizeThis(),d.assign(c.sub(d.mul(20))),g.assign((0,_.Y)(this.m_a,this.m_eSquared,d)),n.push(new i.L({start:g,end:u})),u.assign(g)}if(p.assign((0,_.Q)(this.m_a,this.m_eSquared,l)),c.assign((0,_.Q)(this.m_a,this.m_eSquared,u)),E=o.d.sqrDistance(m,p),P=o.d.sqrDistance(p,c),E<=s){if(!(P>a)){n.push(new i.L({start:l,end:u}));continue}d.assign(c.sub(p)),d.normalizeThis(),d.assign(p.add(d.mul(20))),g.assign((0,_.Y)(this.m_a,this.m_eSquared,d)),n.push(new i.L({start:l,end:g})),l.assign(g)}if(p.assign((0,_.Q)(this.m_a,this.m_eSquared,l)),c.assign((0,_.Q)(this.m_a,this.m_eSquared,u)),E=o.d.sqrDistance(m,c),P=o.d.sqrDistance(p,c),E<=s){if(!(P>a)){n.push(new i.L({start:l,end:u}));continue}d.assign(c.sub(p)),d.normalizeThis(),d.assign(c.sub(d.mul(20))),g.assign((0,_.Y)(this.m_a,this.m_eSquared,d)),n.push(new i.L({start:g,end:u})),u.assign(g)}t.push(new i.L({start:l,end:u}))}}splitSegmentPassingThroughPole(e){const t={stack:[],error:void 0,hasError:!1};try{const n=[],s=new o.d,a=new o.d,h=new o.d,m=new r.P,l=20,p=3.124139361,g=10,d=e.getStartXY(),E=e.getEndXY(),P=(0,u.mS)(t,new _.L,!1);if(_.M.geodeticDistance(this.m_a,this.m_eSquared,d.x,d.y,E.x,E.y,P,null,null,2),Math.abs(E.x-d.x)>p&&P.val>l){const e=new c.a(new r.P(0,90),d.divide(this.m_rpu),E.divide(this.m_rpu),this.m_inputGCS,2,2);let t=(0,_.U)(e.makeFunctor(),0,1,1e-10);if(t.second<=g&&t.first>0&&t.first<1)return s.assign((0,_.Q)(this.m_a,this.m_eSquared,d)),a.assign((0,_.Q)(this.m_a,this.m_eSquared,E)),(0,r.x)(s,a,t.first,h),m.assign((0,_.Y)(this.m_a,this.m_eSquared,h)),n.push(new i.L({start:d,end:m})),n.push(new i.L({start:m,end:E})),n;if(e.setPointDistFrom(new r.P(0,-90)),t=(0,_.U)(e.makeFunctor(),0,1,1e-10),t.second<=g&&t.first>0&&t.first<1)return s.assign((0,_.Q)(this.m_a,this.m_eSquared,d)),a.assign((0,_.Q)(this.m_a,this.m_eSquared,E)),(0,r.x)(s,a,t.first,h),m.assign((0,_.Y)(this.m_a,this.m_eSquared,h)),n.push(new i.L({start:d,end:m})),n.push(new i.L({start:m,end:E})),n}return n.push(new i.L({start:d,end:E})),n}catch(e){t.error=e,t.hasError=!0}finally{(0,u.hk)(t)}}adaptiveIntegrationWithRomberg(e,t){const n=e.makeFunctor();let s=0,a=1,_=n(s),r=n(a);const h=1e-17,o=1e-14;let m=(s+a)/2,l=n(m),u=Math.abs(l-_),p=Math.abs(r-l),c=0;for(;c++<32&&(u/p<.1||p/u<.1);)u<p?(t.pe((0,i.x)(5,s,m,o,h,n)),s=m,_=l):(t.pe((0,i.x)(5,m,a,o,h,n)),a=m,r=l),m=(s+a)/2,l=Math.abs(n(m)),u=Math.abs(l-_),p=Math.abs(r-l);t.pe((0,i.x)(5,s,a,o,h,n))}loxodromeAreaHemi(e,t,n,s,i){const a=n.clone(),_=i.clone();let h,o,m,l,u,p,c,g,d,E,P,f,S,y,x,A;return a.make_negative&&a.changeSign(),_.make_negative&&_.changeSign(),P=s-t,1===Math.abs(a.sin_phi)||1===Math.abs(_.sin_phi)?e.half_qp*P:a.sin_phi===_.sin_phi?(E=.5*e.one_m_e_2*a.sin_phi*(1/a.one_m_e_2_sin_2_phi+(0,r.y)(e.e*a.sin_phi))*P,E):(x=Math.log(_.sin_half_phi_pf*a.sin_half_phi_pz/(_.sin_half_phi_pz*a.sin_half_phi_pf)),A=Math.log(_.sin_half_asin_e_sin_phi_pf*a.sin_half_asin_e_sin_phi_pz/(_.sin_half_asin_e_sin_phi_pz*a.sin_half_asin_e_sin_phi_pf)),1===this.m_eSquared?(u=0,h=.5*(x+_.sin_phi/_.one_m_e_2_sin_2_phi-a.sin_phi/a.one_m_e_2_sin_2_phi),o=0):(u=-2*e.atanh_e_over_e*(Math.log(_.one_p_sin_phi/a.one_p_sin_phi)-e.e*A),h=(x-e.e*A)/e.one_m_e_2,o=(Math.log(_.one_m_e_2_sin_2_phi/a.one_m_e_2_sin_2_phi)+u/e.atanh_e_over_e)/e.one_m_e_2),m=-A*(a.atanh_esin_phi+_.atanh_esin_phi),l=1/a.one_m_e_2_sin_2_phi-1/_.one_m_e_2_sin_2_phi,p=(0,r.z)(_.one_m_sin_phi/e.one_p_e,e.e)-(0,r.z)(a.one_m_sin_phi/e.one_p_e,e.e),c=(0,r.z)(_.one_p_sin_phi/e.one_p_e,e.e)-(0,r.z)(a.one_p_sin_phi/e.one_p_e,e.e),g=(0,r.z)(a.one_m_sin_phi/-e.one_m_e,e.e)-(0,r.z)(_.one_m_sin_phi/-e.one_m_e,e.e),d=(0,r.z)(a.one_p_sin_phi/-e.one_m_e,e.e)-(0,r.z)(_.one_p_sin_phi/-e.one_m_e,e.e),E=.25/h*(o+m+l+u+.5*(p+c+g+d)),E+=e.half_qp,f=.5*e.one_m_e_2*a.sin_phi*(1/a.one_m_e_2_sin_2_phi+(0,r.y)(e.e*a.sin_phi)),S=.5*e.one_m_e_2*_.sin_phi*(1/_.one_m_e_2_sin_2_phi+(0,r.y)(e.e*_.sin_phi)),S<f&&(y=f,f=S,S=y),E<f&&(E=f),E>S&&(E=S),E*=P,E)}loxodromeArea(e){const t=Math.PI/180;let n=0;const s={e:Number.NaN,one_p_e:Number.NaN,one_m_e:Number.NaN,one_m_e_2:Number.NaN,atanh_e_over_e:Number.NaN,half_qp:Number.NaN,f:Number.NaN,z:Number.NaN},i=R(),a=R();s.e=Math.sqrt(this.m_eSquared),s.one_p_e=1+s.e,s.one_m_e=1-s.e,s.one_m_e_2=1-this.m_eSquared,s.atanh_e_over_e=(0,r.y)(s.e),this.m_eSquared>=1?s.half_qp=1:s.half_qp=.5*(1+s.atanh_e_over_e*s.one_m_e_2),s.f=.25*Math.PI,s.z=.75*Math.PI,a.initialize(0,s.e,s.f,s.z);const _=e.getPathCount(),h=new r.P,o=new r.P,m=e.getImpl().getAttributeStreamRef(0);for(let r=0;r<_;r++){const _=e.getPathStart(r),l=e.getPathEnd(r);if(!(l-_<=1)){m.queryPoint2D(2*(l-1),h);for(let e=_;e<l;e++){m.queryPoint2D(2*e,o);const r=h.y*t,l=o.y*t;if(e===_?(i.initialize(r,s.e,s.f,s.z),i.make_negative=!1):i.assign(a),a.initialize(l,s.e,s.f,s.z),a.make_negative=!1,h.y*o.y<0){if(h.y>=90&&o.y<=-90||o.y>=90&&h.y<=-90)return Number.NaN;const e=R();e.initialize(0,s.e,s.f,s.z),e.make_negative=!1;const _=i.atanh_sin_phi-s.e*i.atanh_esin_phi,m=a.atanh_sin_phi-s.e*a.atanh_esin_phi,l=(m*h.x-_*o.x)/(m-_);r<0?(i.make_negative=!0,n-=this.loxodromeAreaHemi(s,h.x*t,i,l*t,e),i.make_negative=!1,n+=this.loxodromeAreaHemi(s,l*t,e,o.x*t,a)):(n+=this.loxodromeAreaHemi(s,h.x*t,i,l*t,e),a.make_negative=!0,n-=this.loxodromeAreaHemi(s,l*t,e,o.x*t,a),a.make_negative=!1)}else h.y>=0?n+=this.loxodromeAreaHemi(s,h.x*t,i,o.x*t,a):(i.make_negative=!0,a.make_negative=!0,n-=this.loxodromeAreaHemi(s,h.x*t,i,o.x*t,a),i.make_negative=!1,a.make_negative=!1);h.assign(o)}}}return this.m_a*n*this.m_a}calculate(e){if(e.isEmpty()||e.getDimension()<2)return 0;if(e.getGeometryType()===s.G.enumEnvelope){const t=new i.a;return t.addEnvelope(e,!1),this.calculate(t)}return this.m_inputSR!==this.m_inputGCS&&null===this.m_transformPCS2GCS&&(this.m_transformPCS2GCS=(0,_.a)(this.m_inputSR,this.m_inputGCS,null)),this.executePolygonGeodeticArea(e)}}class q{getOperatorType(){return 10311}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n,i){return(0,s.c)(e),4===n?(new f).execute(e,t,i):new N(t,n,i).calculate(e)}}},47591(e,t,n){n.d(t,{O:()=>g});var s=n(55537),i=n(15756),a=n(88885),_=n(83661),r=n(95213),h=n(79187),o=n(5247),m=n(31139);function l(){return{m_pGcs:new _.P,m_xyz:new r.d,m_factor:Number.NaN,m_geoLength:Number.NaN,setValues:u,setLength:p,assign:c}}function u(e,t,n,s){this.m_factor=e,this.m_pGcs.assign(t),this.m_xyz.assign(s),this.m_geoLength=n}function p(e){this.m_geoLength=e}function c(e){this.m_pGcs.assign(e.m_pGcs),this.m_xyz.assign(e.m_xyz),this.m_factor=e.m_factor,this.m_geoLength=e.m_geoLength}class g{getOperatorType(){return 10315}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}_ExecuteShapePreservingLength(e,t,n,s,a){if(e.hasNonLinearSegments()&&(e=(new o.O).execute(e,0,t.getTolerance(0),0,a)),t.isPannable()){let s=90,_=-90;if(1===n.getUnit().getUnitToBaseFactor()&&(s*=Math.PI/180,_*=Math.PI/180),2===t.getCoordinateSystemType()){let e=null;const n=[0,0,0,0];e=t.getPECoordSys(),n[0]=0,n[1]=s,n[2]=0,n[3]=_,i.N.geogToProj(e,2,n),s=n[1],_=n[3]}const r=new h.Envelope2D;e.queryEnvelope(r),r.ymin=_,r.ymax=s,e=(new m.O).execute(e,r,t,a)}else{const n=t.getPCSHorizon();if((e=(new i.k).execute(e,n,t,a))===n){const t=e.clone();e=t}}return e.isEmpty()?0:this._ExecuteIterativeApproach(e,t,n,s,1,a)}_ExecuteIterativeApproach(e,t,n,a,h,o){const m=(0,i.H)();n.querySpheroidData(m);const u=m.majorSemiAxis,p=m.e2,c=n.getUnit().getUnitToBaseFactor(),g=(0,_.k)(l,40),P=(0,_.d)(40,Number.NaN),f=l(),S=l();let y;const x=[0,0,0,0],A=t.getPECoordSys(),R=new _.P,M=new _.P,C=new _.P,T=new _.P,w=new _.P;let N=0;const q=e.querySegmentIterator();for(;q.nextPath();)for(;q.hasNextSegment();){const e=q.nextSegment();R.assign(e.getStartXY()),M.assign(e.getEndXY()),2===t.getCoordinateSystemType()?(x[0]=R.x,x[1]=R.y,x[2]=M.x,x[3]=M.y,i.N.projToGeog(A,2,x),C.x=x[0]*c,C.y=x[1]*c,T.x=x[2]*c,T.y=x[3]*c):(C.setCoordsPoint2D(R),T.setCoordsPoint2D(M),C.scale(c),T.scale(c));const n=new r.d,a=new r.d;d(u,p,C,n),d(u,p,T,a);let _=E(u,n,a);f.setValues(0,C,Number.NaN,n),S.setValues(1,T,_,a),y=h,g[0].assign(S),P[0]=h;let o=0;for(;;){o>128&&(0,s.d)("iterations exceeded");const n=.5*(f.m_factor+S.m_factor),a=e.getCoord2D(n);2===t.getCoordinateSystemType()?(x[0]=a.x,x[1]=a.y,i.N.projToGeog(A,1,x),w.x=x[0]*c,w.y=x[1]*c):(w.setCoordsPoint2D(a),w.scale(c)),C.setCoordsPoint2D(f.m_pGcs),T.setCoordsPoint2D(S.m_pGcs);const m=new r.d;d(u,p,w,m);const l=E(u,f.m_xyz,m),R=E(u,S.m_xyz,m);_=S.m_geoLength,Number.isNaN(_)&&(_=E(u,f.m_xyz,S.m_xyz));const M=l+R,q=y===h&&M>=20&&Math.abs(M-_)>1e-8*(_+M);if(o+2<40&&(q||Math.abs(M-_)>0&&y>0))S.setLength(R),g[o].assign(S),S.setValues(n,w,l,m),g[++o].assign(S),q?(y=h,P[o]=h):(y--,P[o-1]=y,P[o]=y);else{if(N+=M,0===o)break;f.assign(S),S.assign(g[--o]),y=P[o]}}}return N}execute(e,t,n){if(t&&0!==t.getCoordinateSystemType()||(0,s.a)(""),e.isEmpty()||e.getDimension()<1)return 0;let _=null;const r=t.getGCS();r!==t&&(_=(0,i.a)(t,r,null));const h=e.getGeometryType();if(h===s.G.enumEnvelope){const s=new a.a;return s.addEnvelope(e,!1),this._ExecuteShapePreservingLength(s,t,r,_,n)}if((0,s.f)(h)){const s=new a.P;return s.addSegment(e,!0),this._ExecuteShapePreservingLength(s,t,r,_,n)}return this._ExecuteShapePreservingLength(e,t,r,_,n)}}function d(e,t,n,s){s.assign((0,i.Q)(e,t,n))}function E(e,t,n){const s=e,i=new r.d;i.setSub(t,n);const a=i.length();return 2*s*Math.asin(a/(2*s))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4903],{1626(e,t,i){i.d(t,{A:()=>c});var s,l=i(31635),r=i(4718),n=i(91429),o=i(2485),a=i(72606),u=i(43937),p=i(36005);let c=s=class extends a.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,i,s){const l=e?.map(e=>e.toJSON(s)),{weights:r}=this;if(l&&r?.length&&l.length===r?.length){const e=100/r.reduce((e,t)=>e+t);let t=0;l.forEach((i,s)=>{i.start=t,t+=r[s]*e,i.stop=t})}t.colorRamps=l}readWeights(e,t){const i=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!i?.some(e=>e<0))return i}clone(){return new s({colorRamps:(0,r.o8)(this.colorRamps)})}};(0,l.Cg)([(0,n.MZ)({type:[o.A],json:{write:{isRequired:!0}}})],c.prototype,"colorRamps",void 0),(0,l.Cg)([(0,u.K)("colorRamps")],c.prototype,"writeColorRamps",null),(0,l.Cg)([(0,n.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,l.Cg)([(0,n.MZ)({type:[Number]})],c.prototype,"weights",void 0),(0,l.Cg)([(0,p.w)("weights",["colorRamps"])],c.prototype,"readWeights",null),c=s=(0,l.Cg)([(0,n.$K)("esri.rest.support.MultipartColorRamp")],c)},2024(e,t,i){i.d(t,{A:()=>a});var s,l=i(31635),r=i(91429),n=i(2795),o=i(72500);let a=s=class extends n.A{constructor(e){super(e),this.type="color",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new s({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,l.Cg)([(0,r.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,l.Cg)([(0,r.MZ)({type:["color"],json:{type:["colorInfo"]}})],a.prototype,"type",void 0),(0,l.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],a.prototype,"normalizationField",void 0),(0,l.Cg)([(0,r.MZ)({type:[o.A],json:{write:!0}})],a.prototype,"stops",null),a=s=(0,l.Cg)([(0,r.$K)("esri.renderers.visualVariables.ColorVariable")],a)},2485(e,t,i){i.d(t,{A:()=>c});var s,l=i(31635),r=i(68197),n=i(4718),o=i(91429),a=i(56507),u=i(72606),p=i(93223);let c=s=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new s({fromColor:(0,n.o8)(this.fromColor),toColor:(0,n.o8)(this.toColor),algorithm:this.algorithm})}};(0,l.Cg)([(0,p.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],c.prototype,"algorithm",void 0),(0,l.Cg)([(0,o.MZ)({type:r.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"fromColor",void 0),(0,l.Cg)([(0,o.MZ)({type:r.A,json:{type:[a.jz],write:{isRequired:!0}}})],c.prototype,"toColor",void 0),(0,l.Cg)([(0,o.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),c=s=(0,l.Cg)([(0,o.$K)("esri.rest.support.AlgorithmicColorRamp")],c)},2795(e,t,i){i.d(t,{A:()=>c});var s=i(31635),l=i(66552),r=i(25482),n=i(53966),o=i(91429),a=i(56507),u=i(41078);const p=new l.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"});let c=class extends r.o{constructor(e){super(e),this.index=null,this.type=null,this.field=null,this.valueExpression=null,this.valueExpressionTitle=null,this.legendOptions=null}castField(e){return null==e?e:"function"==typeof e?(n.A.getLogger(this).error(".field: field must be a string value"),null):(0,a.GX)(e)}get arcadeRequired(){return!!this.valueExpression}clone(){}getAttributeHash(){return`${this.type}-${this.field}-${this.valueExpression}`}};(0,s.Cg)([(0,o.MZ)()],c.prototype,"index",void 0),(0,s.Cg)([(0,o.MZ)({type:p.apiValues,readOnly:!0,json:{read:p.read,write:{writer:p.write,isRequired:!0}}})],c.prototype,"type",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,s.Cg)([(0,o.wg)("field")],c.prototype,"castField",null),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpression",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],c.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],c.prototype,"arcadeRequired",null),(0,s.Cg)([(0,o.MZ)({type:u.A,json:{write:!0}})],c.prototype,"legendOptions",void 0),c=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.VisualVariable")],c)},12330(e,t,i){i.d(t,{A:()=>a});var s,l=i(31635),r=i(25482),n=i(90629),o=i(91429);let a=s=class extends r.o{constructor(e){super(e),this.label=null,this.value=null,this.useMinValue=null,this.useMaxValue=null}get size(){return this._get("size")}set size(e){this._set("size",e)}clone(){return new s({label:this.label,size:this.size,value:this.value,useMaxValue:this.useMaxValue,useMinValue:this.useMinValue})}};(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"label",void 0),(0,l.Cg)([(0,o.MZ)({type:Number,cast:n.cr,json:{write:{isRequired:!0}}})],a.prototype,"size",null),(0,l.Cg)([(0,o.MZ)({type:Number,json:{write:{isRequired:!0}}})],a.prototype,"value",void 0),(0,l.Cg)([(0,o.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMinValue",void 0),(0,l.Cg)([(0,o.MZ)({type:Boolean,json:{write:!1}})],a.prototype,"useMaxValue",void 0),a=s=(0,l.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.SizeStop")],a)},20061(e,t,i){i.d(t,{A:()=>h});var s,l=i(31635),r=i(69540),n=i(66552),o=i(25482),a=i(91429),u=i(56507),p=i(93223);const c=(0,n.O)()({ascendingValues:"ascending-values",descendingValues:"descending-values"});let d=s=class extends((0,r.OU)(o.o)){static from(e){return(0,u.PZ)(s,e)}constructor(e){super(e),this.title=null,this.order=null}};(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"title",void 0),(0,l.Cg)([(0,p.e)(c)],d.prototype,"order",void 0),d=s=(0,l.Cg)([(0,a.$K)("esri.renderers.support.RendererLegendOptions")],d);const h=d},23461(e,t,i){i.d(t,{A:()=>o});var s,l=i(31635),r=i(91429),n=i(2795);let o=s=class extends n.A{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic"}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}clone(){return new s({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions?.clone()})}};(0,l.Cg)([(0,r.MZ)({readOnly:!0})],o.prototype,"cache",null),(0,l.Cg)([(0,r.MZ)({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],o.prototype,"axis",void 0),(0,l.Cg)([(0,r.MZ)({type:["rotation"],json:{type:["rotationInfo"]}})],o.prototype,"type",void 0),(0,l.Cg)([(0,r.MZ)({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],o.prototype,"rotationType",void 0),o=s=(0,l.Cg)([(0,r.$K)("esri.renderers.visualVariables.RotationVariable")],o)},29266(e,t,i){i.d(t,{RV:()=>c,UT:()=>d,Yz:()=>f}),i(68197);var s=i(52106),l=i(53966),r=i(31756),n=i(98205);const o=()=>l.A.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),a=e=>o().warn(`The visualVariable should be an instance of esri.renderers.visualVariables.${e}`),u=()=>o().error("Use of arcade expressions requires an arcade context"),p=(new s.A,Math.PI),c=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function d(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"rotation"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.RotationVariable"!==s.declaredClass)return void a("RotationVariable");const l=s.axis||"heading",r="heading"===l&&"arithmetic"===s.rotationType?90:0,n="heading"===l&&"arithmetic"===s.rotationType?-1:1,o="number"==typeof t?null:t,p=o?.attributes,c=s.field,{hasExpression:d}=s.cache;let h=s.cache.compiledFunc,y=null;if(!c&&!d)return y;if(d){if(null==i?.arcade)return void u();const e={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},t=i.arcade.arcadeUtils,l=t.getViewInfo(e),r=t.createExecContext(o,l,i.timeZone);if(!h){const e=t.createSyntaxTree(s.valueExpression);h=t.createFunction(e),s.cache.compiledFunc=h}y=t.executeFunction(h,r)}else p&&(y=p[c]);return y="number"!=typeof y||isNaN(y)?null:r+n*y,y}function h(e,t,i){const s="visualVariables"in e?e.visualVariables?.find(e=>"size"===e.type):e;if(!s)return;if("esri.renderers.visualVariables.SizeVariable"!==s.declaredClass)return void a("SizeVariable");const l=function(e,t,i,s,l){switch(t.transformationType){case"additive":return function(e,t,i,s){const l=y(t.minSize,i,s)||t.minDataValue;return null==e&&null==l?null:(e??0)+(l??0)}(e,t,i,s);case"constant":return function(e,t,i){const s=e.stops;let l=s?.length&&s[0].size;return null==l&&(l=e.minSize),y(l,t,i)}(t,i,s);case"clamped-linear":return function(e,t,i,s){const l=y(t.minSize,i,s);if(null==e)return l;const{minDataValue:r,maxDataValue:n}=t;if(null==r||null==n)return null;const o=(e-r)/(n-r),a=y(t.maxSize,i,s),u=null!=s?s.shape:void 0;if(e<=r)return l;if(e>=n)return a;if(null==l||null==a)return null;if("area"===t.scaleBy&&u){const e="circle"===u,t=e?p*(l/2)**2:l*l,i=t+o*((e?p*(a/2)**2:a*a)-t);return e?2*Math.sqrt(i/p):Math.sqrt(i)}return l+o*(a-l)}(e,t,i,s);case"proportional":return function(e,t,i,s){const l=y(t.minSize,i,s);if(null==e||null==l)return l;const r=null!=s?s.shape:void 0,{minDataValue:n}=t;if(null==n)return null;const o=e/n,a=y(t.maxSize,i,s);let u=null;return u="circle"===r?2*Math.sqrt(o*(l/2)**2):"square"===r||"diamond"===r||"image"===r?Math.sqrt(o*l**2):o*l,m(u,l,a)}(e,t,i,s);case"stops":return function(e,t,i,s,l){if(null==e)return null;const[r,n,o]=function(e,t){if(!t)return;let i=0,s=t.length-1;return t.some((t,l)=>e<t?(s=l,!0):(i=l,!1)),[i,s,(e-t[i])/(t[s]-t[i])]}(e,l);if(r===n)return y(t.stops?.[r].size,i,s);{const e=y(t.stops?.[r].size,i,s),l=y(t.stops?.[n].size,i,s);return null==e||null==l?null:e+(l-e)*o}}(e,t,i,s,l);case"real-world-size":return function(e,t,i,s){const l=(s?.resolution??1)*r.j[t.valueUnit],n=y(t.minSize,i,s),o=y(t.maxSize,i,s),{valueRepresentation:a}=t;if(null==e)return n;let u=null;return u="area"===a?2*Math.sqrt(e/p)/l:"radius"===a||"distance"===a?2*e/l:e/l,m(u,n,o)}(e,t,i,s);case"identity":return e;case"unknown":return null}}(function(e,t,i){const s="number"==typeof t,l=s?null:t,r=l?.attributes;let o=s?t:null;const{isScaleDriven:a}=e.cache;let p=e.cache.compiledFunc;if(a){const t=null!=i?i.scale:void 0,s=null!=i?i.view:void 0;o=null==t||"3d"===s?function(e){let t=null,i=null;const s=e.stops;return s?(t=s[0].value,i=s[s.length-1].value):(t=e.minDataValue||0,i=e.maxDataValue||0),(t+i)/2}(e):t}else if(!s)switch(e.inputValueType){case"expression":{if(null==i?.arcade)return void u();const t={viewingMode:i.viewingMode,scale:i.scale,spatialReference:i.spatialReference},s=i.arcade.arcadeUtils,r=s.getViewInfo(t),n=s.createExecContext(l,r,i.timeZone);if(!p){const t=s.createSyntaxTree(e.valueExpression);p=s.createFunction(t),e.cache.compiledFunc=p}o=s.executeFunction(p,n);break}case"field":r&&(o=r[e.field]);break;case"unknown":o=null}if(!(0,n.gf)(o))return null;if(s||!e.normalizationField)return o;const c=r?parseFloat(r[e.normalizationField]):null;return(0,n.gf)(c)&&0!==c?o/c:null}(s,t,i),s,t,i,s.cache.ipData);return null==l||isNaN(l)?void 0:l}function y(e,t,i){return null==e?null:(0,n.of)(e)?h(e,t,i):(0,n.gf)(e)?e:null}function m(e,t,i){return(0,n.gf)(i)&&e>i?i:(0,n.gf)(t)&&e<t?t:e}function f(e,t,i){const s=["proportional","proportional","proportional"];for(const l of e){const e=l.useSymbolValue?"symbol-value":h(l,t,i)??"proportional";switch(l.axis){case"width":s[0]=e;break;case"depth":s[1]=e;break;case"height":s[2]=e;break;case"width-and-depth":s[0]=e,s[1]=e;break;case"all":case void 0:case null:s[0]=e,s[1]=e,s[2]=e;break;default:l.axis}}return s}},30943(e,t,i){i.d(t,{A:()=>k});var s,l=i(31635),r=i(66552),n=i(25482),o=i(4718),a=i(91429),u=i(56507);let p=s=class extends n.o{constructor(e){super(e),this.minValue=0,this.maxValue=0}clone(){return new s({minValue:this.minValue,maxValue:this.maxValue})}};(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"minValue",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],p.prototype,"maxValue",void 0),p=s=(0,l.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoClassBreakInfo")],p);const c=p;var d;let h=d=class extends n.o{constructor(e){super(e),this.field="",this.normalizationField="",this.label="",this.classBreakInfos=new Array}clone(){return new d({field:this.field,normalizationField:this.normalizationField,label:this.label,classBreakInfos:(0,o.o8)(this.classBreakInfos)})}};(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"normalizationField",void 0),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"label",void 0),(0,l.Cg)([(0,a.MZ)({type:[c],json:{write:!0}})],h.prototype,"classBreakInfos",void 0),h=d=(0,l.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoFieldInfo")],h);const y=h;var m,f=i(79901);let g=m=class extends n.o{constructor(e){super(e),this.label=null,this.size=null,this.value=null}clone(){return new m({label:this.label,value:this.value,size:this.size})}};(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],g.prototype,"label",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"size",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"value",void 0),g=m=(0,l.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoSizeStop")],g);const v=g;var b;const w=new r.J({percentTotal:"percent-of-total",ratio:"ratio",percent:"percent"}),V=new r.J({sizeInfo:"size",colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation"}),S={key:e=>"number"==typeof e?"number":"string",typeMap:{number:Number,string:String},base:null},C=["high-to-low","above-and-below","centered-on","extremes"],x=[...new Set(["high-to-low","above-and-below","centered-on","extremes","above","below","high-to-low","above-and-below","above","below","reference-size","spike"])],M=["seconds","minutes","hours","days","months","years"];let z=b=class extends n.o{constructor(e){super(e),this.endTime=null,this.field=null,this.maxSliderValue=null,this.minSliderValue=null,this.startTime=null,this.type=null,this.units=null}castEndTime(e){return"string"==typeof e||"number"==typeof e?e:null}get normalizationField(){return"reference-size"===this.theme||"spike"===this.theme?this._get("normalizationField"):null}set normalizationField(e){this._set("normalizationField",e)}get referenceSizeScale(){return"reference-size"===this.theme?this._get("referenceSizeScale"):null}set referenceSizeScale(e){this._set("referenceSizeScale",e)}get referenceSizeSymbolStyle(){return"reference-size"===this.theme?this._get("referenceSizeSymbolStyle"):null}set referenceSizeSymbolStyle(e){this._set("referenceSizeSymbolStyle",e)}get spikeSymbolStyle(){return"spike"===this.theme?this._get("spikeSymbolStyle"):null}set spikeSymbolStyle(e){this._set("spikeSymbolStyle",e)}castStartTime(e){return"string"==typeof e||"number"==typeof e?e:null}get sizeStops(){return"reference-size"===this.theme||"spike"===this.theme?this._get("sizeStops"):null}set sizeStops(e){this._set("sizeStops",e)}get style(){return"color"===this.type?this._get("style"):null}set style(e){this._set("style",e)}get theme(){return"color"===this.type||"size"===this.type?this._get("theme")||"high-to-low":null}set theme(e){this._set("theme",e)}clone(){return new b({endTime:this.endTime,field:this.field,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,normalizationField:this.normalizationField,referenceSizeScale:this.referenceSizeScale,referenceSizeSymbolStyle:this.referenceSizeSymbolStyle,spikeSymbolStyle:this.spikeSymbolStyle,sizeStops:(0,o.o8)(this.sizeStops),startTime:this.startTime,style:this.style,theme:this.theme,type:this.type,units:this.units})}};(0,l.Cg)([(0,a.MZ)({types:S,json:{write:!0}})],z.prototype,"endTime",void 0),(0,l.Cg)([(0,f.w)("endTime")],z.prototype,"castEndTime",null),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],z.prototype,"field",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],z.prototype,"maxSliderValue",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],z.prototype,"minSliderValue",void 0),(0,l.Cg)([(0,a.MZ)({type:String,json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"normalizationField",null),(0,l.Cg)([(0,a.MZ)({type:Number,value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"referenceSizeScale",null),(0,l.Cg)([(0,a.MZ)({type:["circle","diamond","hexagon-flat","hexagon-pointy","square"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"referenceSizeSymbolStyle",null),(0,l.Cg)([(0,a.MZ)({type:["triangle-closed-outline","triangle-gradient-fill-closed","triangle-gradient-fill-closed-outline","triangle-gradient-fill-open","triangle-gradient-fill-open-outline","triangle-open-outline","triangle-solid-fill-closed","triangle-solid-fill-closed-outline","triangle-solid-fill-open","triangle-solid-fill-open-outline"],value:null,json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"spikeSymbolStyle",null),(0,l.Cg)([(0,a.MZ)({types:S,json:{write:!0}})],z.prototype,"startTime",void 0),(0,l.Cg)([(0,f.w)("startTime")],z.prototype,"castStartTime",null),(0,l.Cg)([(0,a.MZ)({type:[v],json:{origins:{"web-scene":{write:!1}},write:!0}})],z.prototype,"sizeStops",null),(0,l.Cg)([(0,a.MZ)({type:w.apiValues,value:null,json:{type:w.jsonValues,read:w.read,write:w.write}})],z.prototype,"style",null),(0,l.Cg)([(0,a.MZ)({type:x,value:null,json:{type:x,origins:{"web-scene":{type:C,write:{writer:(e,t)=>{C.includes(e)&&(t.theme=e)}}}},write:!0}})],z.prototype,"theme",null),(0,l.Cg)([(0,a.MZ)({type:V.apiValues,json:{type:V.jsonValues,read:V.read,write:V.write}})],z.prototype,"type",void 0),(0,l.Cg)([(0,a.MZ)({type:M,json:{type:M,write:!0}})],z.prototype,"units",void 0),z=b=(0,l.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfoVisualVariable")],z);const _=z;var I,A=i(95349),j=i(36005);const Z=new r.J({esriClassifyDefinedInterval:"defined-interval",esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation"}),q=new r.J({classedSize:"class-breaks-size",classedColor:"class-breaks-color",univariateColorSize:"univariate-color-size",relationship:"relationship",predominance:"predominance",dotDensity:"dot-density",flow:"flow"}),F=["inches","feet","yards","miles","nautical-miles","millimeters","centimeters","decimeters","meters","kilometers"];let k=I=class extends n.o{constructor(e){super(e),this.colorRamp=null,this.fadeRatio=null,this.isAutoGenerated=!1,this.lengthUnit=null,this.maxSliderValue=null,this.minSliderValue=null,this.visualVariables=null}get classificationMethod(){const e=this._get("classificationMethod"),t=this.type;return t&&"relationship"!==t?"class-breaks-size"===t||"class-breaks-color"===t?e||"manual":null:e}set classificationMethod(e){this._set("classificationMethod",e)}readColorRamp(e){return e?(0,A.r)(e):void 0}get fields(){return this.type&&"predominance"!==this.type?null:this._get("fields")}set fields(e){this._set("fields",e)}get field1(){return this.type&&"relationship"!==this.type?null:this._get("field1")}set field1(e){this._set("field1",e)}get field2(){return this.type&&"relationship"!==this.type?null:this._get("field2")}set field2(e){this._set("field2",e)}get flowTheme(){return"flow"===this.type?this._get("flowTheme"):null}set flowTheme(e){this._set("flowTheme",e)}get focus(){return this.type&&"relationship"!==this.type?null:this._get("focus")}set focus(e){this._set("focus",e)}get numClasses(){return this.type&&"relationship"!==this.type?null:this._get("numClasses")}set numClasses(e){this._set("numClasses",e)}get statistics(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("statistics"):null}set statistics(e){this._set("statistics",e)}get standardDeviationInterval(){const e=this.type;return e&&"relationship"!==e&&"class-breaks-size"!==e&&"class-breaks-color"!==e||this.classificationMethod&&"standard-deviation"!==this.classificationMethod?null:this._get("standardDeviationInterval")}set standardDeviationInterval(e){this._set("standardDeviationInterval",e)}get type(){return this._get("type")}set type(e){let t=e;"classed-size"===e?t="class-breaks-size":"classed-color"===e&&(t="class-breaks-color"),this._set("type",t)}get univariateSymbolStyle(){return"univariate-color-size"===this.type&&"above-and-below"===this.univariateTheme?this._get("univariateSymbolStyle"):null}set univariateSymbolStyle(e){this._set("univariateSymbolStyle",e)}get univariateTheme(){return"univariate-color-size"===this.type?this._get("univariateTheme"):null}set univariateTheme(e){this._set("univariateTheme",e)}clone(){return new I({classificationMethod:this.classificationMethod,colorRamp:(0,o.o8)(this.colorRamp),fadeRatio:(0,o.o8)(this.fadeRatio),fields:this.fields?.slice(),field1:(0,o.o8)(this.field1),field2:(0,o.o8)(this.field2),isAutoGenerated:this.isAutoGenerated,focus:this.focus,numClasses:this.numClasses,maxSliderValue:this.maxSliderValue,minSliderValue:this.minSliderValue,lengthUnit:this.lengthUnit,statistics:this.statistics,standardDeviationInterval:this.standardDeviationInterval,type:this.type,visualVariables:this.visualVariables&&this.visualVariables.map(e=>e.clone()),univariateSymbolStyle:this.univariateSymbolStyle,univariateTheme:this.univariateTheme,flowTheme:this.flowTheme})}};(0,l.Cg)([(0,a.MZ)({type:Z.apiValues,value:null,json:{type:Z.jsonValues,read:Z.read,write:Z.write,origins:{"web-document":{default:"manual",type:Z.jsonValues,read:Z.read,write:Z.write}}}})],k.prototype,"classificationMethod",null),(0,l.Cg)([(0,a.MZ)({types:A.g,json:{write:!0}})],k.prototype,"colorRamp",void 0),(0,l.Cg)([(0,j.w)("colorRamp")],k.prototype,"readColorRamp",null),(0,l.Cg)([(0,a.MZ)({json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],k.prototype,"fadeRatio",void 0),(0,l.Cg)([(0,a.MZ)({type:[String],value:null,json:{write:!0}})],k.prototype,"fields",null),(0,l.Cg)([(0,a.MZ)({type:y,value:null,json:{write:!0}})],k.prototype,"field1",null),(0,l.Cg)([(0,a.MZ)({type:y,value:null,json:{write:!0}})],k.prototype,"field2",null),(0,l.Cg)([(0,a.MZ)({type:["flow-line","wave-front"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],k.prototype,"flowTheme",null),(0,l.Cg)([(0,a.MZ)({type:["HH","HL","LH","LL"],value:null,json:{write:!0}})],k.prototype,"focus",null),(0,l.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1}}}})],k.prototype,"isAutoGenerated",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,value:null,json:{type:u.jz,write:!0}})],k.prototype,"numClasses",null),(0,l.Cg)([(0,a.MZ)({type:F,json:{type:F,read:!1,write:!1,origins:{"web-scene":{read:!0,write:!0}}}})],k.prototype,"lengthUnit",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],k.prototype,"maxSliderValue",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],k.prototype,"minSliderValue",void 0),(0,l.Cg)([(0,a.MZ)({type:Object,value:null,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],k.prototype,"statistics",null),(0,l.Cg)([(0,a.MZ)({type:[.25,.33,.5,1],value:null,json:{type:[.25,.33,.5,1],write:!0}})],k.prototype,"standardDeviationInterval",null),(0,l.Cg)([(0,a.MZ)({type:q.apiValues,value:null,json:{type:q.jsonValues,read:q.read,write:q.write}})],k.prototype,"type",null),(0,l.Cg)([(0,a.MZ)({type:[_],json:{write:!0}})],k.prototype,"visualVariables",void 0),(0,l.Cg)([(0,a.MZ)({type:["caret","circle-caret","arrow","circle-arrow","plus-minus","circle-plus-minus","square","circle","triangle","happy-sad","thumb","custom"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],k.prototype,"univariateSymbolStyle",null),(0,l.Cg)([(0,a.MZ)({type:["high-to-low","above-and-below","above","below"],value:null,json:{write:!0,origins:{"web-scene":{write:!1}}}})],k.prototype,"univariateTheme",null),k=I=(0,l.Cg)([(0,a.$K)("esri.renderers.support.AuthoringInfo")],k)},41078(e,t,i){i.d(t,{A:()=>a});var s=i(31635),l=i(69540),r=i(25482),n=i(91429);let o=class extends((0,l.OU)(r.o)){constructor(){super(...arguments),this.showLegend=null,this.title=null}};(0,s.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],o.prototype,"showLegend",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],o.prototype,"title",void 0),o=(0,s.Cg)([(0,n.$K)("esri.renderers.visualVariables.support.VisualVariableLegendOptions")],o);const a=o},48940(e,t,i){i.d(t,{A:()=>C});var s=i(31635),l=i(49186),r=i(66552),n=i(53966),o=i(91429),a=i(2795),u=i(90629),p=i(12330),c=i(41078);let d=class extends c.A{constructor(){super(...arguments),this.customValues=null}};(0,s.Cg)([(0,o.MZ)({type:[Number],json:{write:!0}})],d.prototype,"customValues",void 0),d=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.SizeVariableLegendOptions")],d);const h=d;var y,m=i(98205),f=i(29266),g=i(36005),v=i(43937);const b=new r.J({width:"width",depth:"depth",height:"height",widthAndDepth:"width-and-depth",all:"all"}),w=new r.J({unknown:"unknown",inch:"inches",foot:"feet",yard:"yards",mile:"miles","nautical-mile":"nautical-miles",millimeter:"millimeters",centimeter:"centimeters",decimeter:"decimeters",meter:"meters",kilometer:"kilometers"});function V(e){if(null!=e)return"string"==typeof e||"number"==typeof e?function(e){return(0,u.cr)(e)}(e):"size"===e.type?(0,m.of)(e)?e:(delete(e={...e}).type,new C(e)):void 0}function S(e,t,i){if("object"!=typeof e)return e;const s=new C;return s.read(e,i),s}let C=y=class extends a.A{constructor(e){super(e),this.axis=null,this.legendOptions=null,this.normalizationField=null,this.scaleBy=null,this.target=null,this.type="size",this.useSymbolValue=null,this.valueExpression=null,this.valueRepresentation=null,this.valueUnit=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null,isScaleDriven:null!=this.valueExpression&&f.RV.test(this.valueExpression)}}set index(e){(0,m.of)(this.maxSize)&&(this.maxSize.index=`visualVariables[${e}].maxSize`),(0,m.of)(this.minSize)&&(this.minSize.index=`visualVariables[${e}].minSize`),this._set("index",e)}get inputValueType(){return(0,m.eh)(this)}set maxDataValue(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set maxDataValue when stops is not null."),e=null),this._set("maxDataValue",e)}get maxSize(){return this._get("maxSize")}set maxSize(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set maxSize when stops is not null."),e=null),this._set("maxSize",V(e))}readMaxSize(e,t,i){return S(e,0,i)}set minDataValue(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set minDataValue when stops is not null."),e=null),this._set("minDataValue",e)}get minSize(){return this._get("minSize")}set minSize(e){e&&this.stops&&(n.A.getLogger(this).warn("cannot set minSize when stops is not null."),e=null),this._set("minSize",V(e))}readMinSize(e,t,i){return S(e,0,i)}get arcadeRequired(){return!!this.valueExpression||null!=this.minSize&&"object"==typeof this.minSize&&this.minSize.arcadeRequired||null!=this.maxSize&&"object"==typeof this.maxSize&&this.maxSize.arcadeRequired}set stops(e){null==this.minDataValue&&null==this.maxDataValue&&null==this.minSize&&null==this.maxSize?e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value):e&&(n.A.getLogger(this).warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."),e=null),this._set("stops",e)}get transformationType(){return(0,m.KZ)(this,this.inputValueType)}readValueExpression(e,t){return e||t.expression&&"$view.scale"}writeValueExpressionWebScene(e,t,i,s){if("$view.scale"===e){if(s?.messages){const e=this.index,t="string"==typeof e?e:`visualVariables[${e}]`;s.messages.push(new l.A("property:unsupported",this.type+"VisualVariable.valueExpression = '$view.scale' is not supported in Web Scene. Please remove this property to save the Web Scene.",{instance:this,propertyName:t+".valueExpression",context:s}))}}else t[i]=e}readValueUnit(e){return e?w.read(e):null}clone(){return new y({axis:this.axis,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,maxDataValue:this.maxDataValue,maxSize:(0,m.of)(this.maxSize)?this.maxSize.clone():this.maxSize,minDataValue:this.minDataValue,minSize:(0,m.of)(this.minSize)?this.minSize.clone():this.minSize,normalizationField:this.normalizationField,stops:this.stops?.map(e=>e.clone()),target:this.target,useSymbolValue:this.useSymbolValue,valueRepresentation:this.valueRepresentation,valueUnit:this.valueUnit,legendOptions:this.legendOptions?.clone()})}flipSizes(){if("clamped-linear"===this.transformationType){const{minSize:e,maxSize:t}=this;return this.minSize=t,this.maxSize=e,this}if("stops"===this.transformationType){const e=this.stops;if(!e)return this;const t=e.map(e=>e.size).reverse(),i=e.length;for(let s=0;s<i;s++)e[s].size=t[s];return this}return this}getAttributeHash(){return`${super.getAttributeHash()}-${this.target}-${this.normalizationField}`}_interpolateData(){return this.stops?.map(e=>e.value||0)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],C.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({type:b.apiValues,json:{type:b.jsonValues,origins:{"web-map":{read:!1}},read:b.read,write:b.write}})],C.prototype,"axis",void 0),(0,s.Cg)([(0,o.MZ)()],C.prototype,"index",null),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],C.prototype,"inputValueType",null),(0,s.Cg)([(0,o.MZ)({type:h,json:{write:!0}})],C.prototype,"legendOptions",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],C.prototype,"maxDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],C.prototype,"maxSize",null),(0,s.Cg)([(0,g.w)("maxSize")],C.prototype,"readMaxSize",null),(0,s.Cg)([(0,o.MZ)({type:Number,value:null,json:{write:!0}})],C.prototype,"minDataValue",null),(0,s.Cg)([(0,o.MZ)({type:Number,useTypeForAutocast:!1,value:null,json:{write:!0}})],C.prototype,"minSize",null),(0,s.Cg)([(0,g.w)("minSize")],C.prototype,"readMinSize",null),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],C.prototype,"normalizationField",void 0),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],C.prototype,"arcadeRequired",null),(0,s.Cg)([(0,o.MZ)({type:String})],C.prototype,"scaleBy",void 0),(0,s.Cg)([(0,o.MZ)({type:[p.A],value:null,json:{write:!0}})],C.prototype,"stops",null),(0,s.Cg)([(0,o.MZ)({type:["outline"],json:{write:!0}})],C.prototype,"target",void 0),(0,s.Cg)([(0,o.MZ)({type:String,readOnly:!0})],C.prototype,"transformationType",null),(0,s.Cg)([(0,o.MZ)({type:["size"],json:{type:["sizeInfo"]}})],C.prototype,"type",void 0),(0,s.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0,origins:{"web-map":{read:!1}}}})],C.prototype,"useSymbolValue",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],C.prototype,"valueExpression",void 0),(0,s.Cg)([(0,g.w)("valueExpression",["valueExpression","expression"])],C.prototype,"readValueExpression",null),(0,s.Cg)([(0,v.K)("web-scene","valueExpression")],C.prototype,"writeValueExpressionWebScene",null),(0,s.Cg)([(0,o.MZ)({type:["radius","diameter","area","width","distance"],json:{write:!0}})],C.prototype,"valueRepresentation",void 0),(0,s.Cg)([(0,o.MZ)({type:w.apiValues,json:{write:w.write,origins:{"web-map":{read:!1},"web-scene":{write:!0},"portal-item":{write:!0}}}})],C.prototype,"valueUnit",void 0),(0,s.Cg)([(0,g.w)("valueUnit")],C.prototype,"readValueUnit",null),C=y=(0,s.Cg)([(0,o.$K)("esri.renderers.visualVariables.SizeVariable")],C)},49849(e,t,i){i.d(t,{As:()=>c,Ug:()=>d,Wp:()=>p,z4:()=>u});var s=i(93637),l=i(90360),r=i(65365),n=i(20378),o=i(73838),a=i(33910);const u={types:a.xK,json:{write:{writer:o.M9},origins:{"web-scene":{types:a.On,write:{writer:o.M9},read:{reader:(0,l.C)({types:a.On})}}}}},p=(0,s.$N)({json:{origins:{"web-scene":{write:{isRequired:!0}}}}},u),c={types:{base:n.A,key:"type",typeMap:{"simple-fill":a.Es.typeMap["simple-fill"],"picture-fill":a.Es.typeMap["picture-fill"],"polygon-3d":a.Es.typeMap["polygon-3d"],cim:a.Es.typeMap.cim}},json:{write:{writer:o.M9},origins:{"web-scene":{type:r.A,write:{writer:o.M9}}}}},d={cast:e=>null==e||"string"==typeof e||"number"==typeof e?e:`${e}`,json:{type:String,write:{writer:(e,t)=>{t.value=e?.toString()}}}}},60999(e,t,i){i.d(t,{DZ:()=>y,Ke:()=>h,Tj:()=>p,UT:()=>m,aD:()=>g,jJ:()=>u});var s=i(31635),l=i(69622),r=i(97768),n=i(74887),o=i(10107),a=i(64108);function u(e,t,i){return(0,n.Lx)(e.map((e,s)=>t.apply(i,[e,s])))}async function p(e,t,i){return(await(0,n.Lx)(e.map((e,s)=>t.apply(i,[e,s])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function h(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function y(e){try{return c(await e)}catch(e){return(0,n.QP)(e),d(e)}}function m(e,t){return new f(e,t)}let f=class extends l.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,r.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,n.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,r.xt)(this._abortHandle),this._abortController=null}};(0,s.Cg)([(0,o.MZ)()],f.prototype,"value",null),(0,s.Cg)([(0,o.MZ)()],f.prototype,"error",null),(0,s.Cg)([(0,o.MZ)()],f.prototype,"finished",null),(0,s.Cg)([(0,o.MZ)()],f.prototype,"promise",void 0),(0,s.Cg)([(0,o.MZ)()],f.prototype,"_result",void 0),f=(0,s.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],f);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,s.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,s.hk)(t)}}}},62724(e,t,i){i.d(t,{A:()=>m});var s,l=i(31635),r=i(91429),n=i(2795),o=i(25482),a=i(56507),u=i(78553),p=i(36005),c=i(43937);let d=s=class extends o.o{constructor(e){super(e),this.label=null,this.opacity=null,this.value=null}readOpacity(e,t){return(0,u.D)(t.transparency)}writeOpacity(e,t,i){t[i]=(0,u.p)(e)}clone(){return new s({label:this.label,opacity:this.opacity,value:this.value})}};(0,l.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],d.prototype,"label",void 0),(0,l.Cg)([(0,r.MZ)({type:Number,json:{type:a.jz,write:{target:"transparency",isRequired:!0}}})],d.prototype,"opacity",void 0),(0,l.Cg)([(0,p.w)("opacity",["transparency"])],d.prototype,"readOpacity",null),(0,l.Cg)([(0,c.K)("opacity")],d.prototype,"writeOpacity",null),(0,l.Cg)([(0,r.MZ)({type:Number,json:{write:{isRequired:!0}}})],d.prototype,"value",void 0),d=s=(0,l.Cg)([(0,r.$K)("esri.renderers.visualVariables.support.OpacityStop")],d);const h=d;var y;let m=y=class extends n.A{constructor(e){super(e),this.type="opacity",this.normalizationField=null}get cache(){return{ipData:this._interpolateData(),hasExpression:!!this.valueExpression,compiledFunc:null}}set stops(e){e&&Array.isArray(e)&&(e=e.filter(e=>!!e)).sort((e,t)=>e.value-t.value),this._set("stops",e)}clone(){return new y({field:this.field,normalizationField:this.normalizationField,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,stops:this.stops&&this.stops.map(e=>e.clone()),legendOptions:this.legendOptions?.clone()})}getAttributeHash(){return`${super.getAttributeHash()}-${this.normalizationField}`}_interpolateData(){return this.stops&&this.stops.map(e=>e.value||0)}};(0,l.Cg)([(0,r.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,l.Cg)([(0,r.MZ)({type:["opacity"],json:{type:["transparencyInfo"]}})],m.prototype,"type",void 0),(0,l.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"normalizationField",void 0),(0,l.Cg)([(0,r.MZ)({type:[h],json:{write:!0}})],m.prototype,"stops",null),m=y=(0,l.Cg)([(0,r.$K)("esri.renderers.visualVariables.OpacityVariable")],m)},63988(e,t,i){i.d(t,{h:()=>C});var s=i(31635),l=i(91429),r=i(30524),n=i(2024),o=i(62724),a=i(23461),u=i(48940),p=i(2795),c=i(69622),d=i(66552),h=i(53966),y=i(67076);const m={color:n.A,size:u.A,opacity:o.A,rotation:a.A},f=new d.J({colorInfo:"color",transparencyInfo:"opacity",rotationInfo:"rotation",sizeInfo:"size"}),g=/^\[([^\]]+)\]$/i;let v=class extends c.A{constructor(){super(...arguments),this.colorVariables=null,this.opacityVariables=null,this.rotationVariables=null,this.sizeVariables=null}set visualVariables(e){if(this._resetVariables(),e=e?.filter(e=>!!e),e?.length){for(const t of e)switch(t.type){case"color":this.colorVariables.push(t);break;case"opacity":this.opacityVariables.push(t);break;case"rotation":this.rotationVariables.push(t);break;case"size":this.sizeVariables.push(t)}this.sizeVariables.length&&this.sizeVariables.some(e=>!!e.target)&&e.sort((e,t)=>{let i=null;return i=e.target===t.target?0:e.target?1:-1,i});for(let t=0;t<e.length;t++)e[t].index=t;this._set("visualVariables",e)}else this._set("visualVariables",e)}readVariables(e,t,i){const{rotationExpression:s,rotationType:l}=t,r=s?.match(g),n=r?.[1];if(n&&(e||(e=[]),e.push({type:"rotationInfo",rotationType:l,field:n})),e)return e.map(e=>{const t=f.read(e.type),s=m[t];s||(h.A.getLogger(this).warn(`Unknown variable type: ${t}`),i?.messages&&i.messages.push(new y.A("visual-variable:unsupported",`visualVariable of type '${t}' is not supported`,{definition:e,context:i})));const l=new s;return l.read(e,i),l})}writeVariables(e,t){const i=[];for(const s of e){const e=s.toJSON(t);e&&i.push(e)}return i}_resetVariables(){this.colorVariables=[],this.opacityVariables=[],this.rotationVariables=[],this.sizeVariables=[]}};(0,s.Cg)([(0,l.MZ)()],v.prototype,"visualVariables",null),v=(0,s.Cg)([(0,l.$K)("esri.renderers.visualVariables.VisualVariableFactory")],v);var b=i(69309),w=i(36005),V=i(43937);const S={base:p.A,key:"type",typeMap:{opacity:o.A,color:n.A,rotation:a.A,size:u.A}},C=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this._vvFactory=new v}set visualVariables(e){this._vvFactory.visualVariables=e,this._set("visualVariables",this._vvFactory.visualVariables)}readVisualVariables(e,t,i){return this._vvFactory.readVariables(e,t,i)}writeVisualVariables(e,t,i,s){t[i]=this._vvFactory.writeVariables(e,s)}get arcadeRequiredForVisualVariables(){return this.visualVariables?.some(({arcadeRequired:e})=>e)??!1}hasVisualVariables(e,t){return e?this.getVisualVariablesForType(e,t).length>0:this.getVisualVariablesForType("size",t).length>0||this.getVisualVariablesForType("color",t).length>0||this.getVisualVariablesForType("opacity",t).length>0||this.getVisualVariablesForType("rotation",t).length>0}getVisualVariablesForType(e,t){return this.visualVariables?.filter(i=>i.type===e&&("string"==typeof t?i.target===t:!1!==t||!i.target))??[]}async collectVVRequiredFields(e,t){let i=[];this.visualVariables&&(i=i.concat(this.visualVariables));for(const s of i)s&&(s.field&&(0,r.rq)(e,t,s.field),s.normalizationField&&(0,r.rq)(e,t,s.normalizationField),s.valueExpression&&(x(s.valueExpression,e,t)||await(0,r.Dx)(e,t,null,s.valueExpression)))}};return(0,s.Cg)([(0,l.MZ)({types:[S],value:null,json:{write:!0}})],i.prototype,"visualVariables",null),(0,s.Cg)([(0,w.w)("visualVariables",["visualVariables","rotationType","rotationExpression"])],i.prototype,"readVisualVariables",null),(0,s.Cg)([(0,V.K)("visualVariables")],i.prototype,"writeVisualVariables",null),i=(0,s.Cg)([(0,l.$K)("esri.renderers.mixins.VisualVariablesMixin")],i),i};function x(e,t,i){const s=(0,b.D)(e);return null!=s&&((0,r.rq)(t,i,s),!0)}},72500(e,t,i){i.d(t,{A:()=>c});var s,l=i(31635),r=i(68197),n=i(25482),o=i(91429),a=i(56507),u=i(43937);let p=s=class extends n.o{constructor(e){super(e),this.color=null,this.label=null,this.value=null}writeValue(e,t,i){t[i]=e??0}clone(){return new s({color:this.color&&this.color.clone(),label:this.label,value:this.value})}};(0,l.Cg)([(0,o.MZ)({type:r.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"color",void 0),(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,l.Cg)([(0,o.MZ)({type:Number,json:{write:{writerEnsuresNonNull:!0}}})],p.prototype,"value",void 0),(0,l.Cg)([(0,u.K)("value")],p.prototype,"writeValue",null),p=s=(0,l.Cg)([(0,o.$K)("esri.renderers.visualVariables.support.ColorStop")],p);const c=p},72606(e,t,i){i.d(t,{A:()=>n});var s=i(31635),l=i(25482),r=i(91429);let n=class extends l.o{constructor(e){super(e),this.type=null}};(0,s.Cg)([(0,r.MZ)({readOnly:!0,json:{read:!1,write:!0}})],n.prototype,"type",void 0),n=(0,s.Cg)([(0,r.$K)("esri.rest.support.ColorRamp")],n)},73838(e,t,i){i.d(t,{rS:()=>k,M9:()=>j,oO:()=>Z});var s=i(49186),l=i(93637),r=i(77548),n=i(37757),o=i(13313),a=i(97887),u=i(68548),p=i(58592),c=i(75981),d=i(65365),h=i(94985),y=i(31593),m=i(53930),f=i(68249),g=i(68197),v=i(7762),b=i(90629),w=i(27845),V=i(11506),S=i(39065),C=i(59868),x=i(93470);c.A.fromSimpleMarkerSymbol(C.UK),a.A.fromSimpleLineSymbol(C.A7),d.A.fromSimpleFillSymbol(C.Cx),new u.A({symbolLayers:new v.A([new w.A({material:{color:x.fT},edges:new S.A({size:(0,b.PN)(1),color:new g.A(x.JR)})})])});const M=new a.A({symbolLayers:new v.A([new V.A({material:{color:new g.A([0,0,0])},size:(0,b.PN)(1)})])}),z=new d.A({symbolLayers:new v.A([new w.A({outline:{color:new g.A([0,0,0]),size:(0,b.PN)(1)}})])});var _=i(33910);const I="#useCIMFallbackSymbology()",A={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};function j(e,t,i,s){const r=F(e,{},{context:s,isLabelSymbol:!1});null!=r&&(0,l.sM)(i,r,t)}function Z(e,t,i,s){const l=F(e,{},{context:s,isLabelSymbol:!0});null!=l&&(t[i]=l)}function q(e){return(0,_.wk)(e)||e instanceof n.A}function F(e,t,i){if(null==e)return null;const{context:l,isLabelSymbol:g}=i,v=l?.origin,b=l?.messages;if("web-scene"===v&&!q(e)){const i=function(e,t=A){if(!e)return{symbol:null};const{retainId:i=A.retainId,ignoreDrivers:l=A.ignoreDrivers,hasLabelingContext:r=A.hasLabelingContext,retainCIM:g=A.retainCIM,cimFallbackEnabled:v=A.cimFallbackEnabled}=t;let b=null;if((0,_.wk)(e))b=e.clone();else if("web-style"===e.type)b=e.clone();else if("cim"===e.type){const i=e.data?.symbol?.type;switch(i){case"CIMPointSymbol":b=g?e.clone():c.A.fromCIMSymbol(e);break;case"CIMLineSymbol":v&&(b=M.clone(),t?.logWarning?.(I,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":v&&(b=z.clone(),t?.logWarning?.(I,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!b)return{error:new s.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${i||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof y.A)b=a.A.fromSimpleLineSymbol(e);else if(e instanceof m.A)b=c.A.fromSimpleMarkerSymbol(e);else if(e instanceof p.A)b=c.A.fromPictureMarkerSymbol(e);else if(e instanceof h.A)b=t.geometryType&&"mesh"===t.geometryType?u.A.fromSimpleFillSymbol(e):d.A.fromSimpleFillSymbol(e);else{if(!(e instanceof f.A))return{error:new s.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};b=r?o.A.fromTextSymbol(e):c.A.fromTextSymbol(e)}return i&&b&&"cim"!==b.type&&(b.id=e.id),!l||"cim"===b.type||b instanceof n.A||b.symbolLayers.forEach(e=>e.ignoreDrivers=!0),{symbol:b}}(e,{retainCIM:!0,hasLabelingContext:g});return null!=i.symbol?i.symbol.write(t,l):(b?.push(new s.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in scenes. Use 3D symbology instead when working with WebScene and SceneView`,{symbol:e,context:l,error:i.error})),null)}return(0,r.TU)(l?.layer)&&(w=e,"polygon-3d"===w?.type||"line-3d"===w?.type)?(b?.push(new s.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported on layers of type '${l?.layer?.declaredClass}'.`,{symbol:e,context:l})),null):("web-map"===v||"portal-item"===v&&!(0,r.TU)(l?.layer))&&q(e)?(b?.push(new s.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in web maps and portal items. Use 2D symbology and CIMSymbol instead when working with MapView`,{symbol:e,context:l})),null):e.write(t,l);var w}function k(e,t){return(0,_.Bu)(e,null,t)}},85594(e,t,i){i.d(t,{jg:()=>v,cF:()=>c,bo:()=>d,yA:()=>m,o5:()=>h});var s=i(11254),l=i(49186),r=i(44208),n=i(74887),o=i(84952),a=i(20655),u=i(16405);const p=new Map;function c(e,t,i){return null!=e?.styleUrl?async function(e,t){try{return{data:(await m(e,t)).data,baseUrl:(0,o.nM)(e),styleUrl:e}}catch(e){return(0,n.QP)(e),null}}(e.styleUrl,i):null!=e?.styleName?function(e,t,i){const s=null!=t.portal?t.portal:a.A.getDefault();let r;const n=`${s.url} - ${s.user?.username} - ${e}`,o=p.get(n);if(o)return o;const c=function(e,t,i){return t.load(i).then(()=>{const s=new u.A({disableExtraQuery:!0,query:`owner:${f} AND type:${g} AND typekeywords:"${e}"`});return t.queryItems(s,i)}).then(({results:t})=>{let s=null;const r=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some(e=>e.toLowerCase()===r);if(t&&e.type===g&&e.owner===f){s=e;break}}if(!s)throw new l.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return s.load(i)})}(e,s,i).then(e=>(r=e,e.fetchData())).then(t=>({data:t,baseUrl:r.itemUrl??"",styleName:e}));return p.set(n,c),c}(e.styleName,t,i):Promise.reject(new l.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function d(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function h(e,t){for(const i of t)switch(i){case"cim":if(e.cimRef)return{format:i,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=y(e,"gltf_basisu");if(t)return{format:i,url:t};break}case"web-gltf":{const t=y(e,"gltf");if(t)return{format:i,url:t};break}case"web":{const t=y(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:i,url:encodeURI(e.webRef)};break}}}function y(e,t){if(!(0,r.A)("enable-feature:force-wosr"))return e.formatInfos?.find(e=>e.type===t)?.href}function m(e,t){const i={responseType:"json",query:{f:"json"},...t};return(0,s.A)((0,o.S8)(e),i)}const f="esri_en",g="Style",v="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"},86162(e,t,i){i.d(t,{A:()=>M});var s,l=i(31635),r=i(66552),n=i(4718),o=i(53966),a=i(91429),u=i(56507),p=i(30524),c=i(92438),d=i(63988),h=i(88542),y=i(49849),m=i(20061),f=i(43668),g=i(33910),v=i(36005),b=i(43937),w=i(93223);const V="percent-of-total",S="field",C=new r.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:V,esriNormalizeByField:S}),x=(0,u.dp)(h.A);let M=s=class extends((0,d.h)(c.A)){constructor(e){super(e),this._compiledValueExpression={valueExpression:null,compiledFunction:null},this.backgroundFillSymbol=null,this.classBreakInfos=null,this.defaultLabel=null,this.defaultSymbol=null,this.field=null,this.isMaxInclusive=!0,this.legendOptions=null,this.normalizationField=null,this.normalizationTotal=null,this.type="class-breaks",this.valueExpression=null,this.valueExpressionTitle=null,this._set("classBreakInfos",[])}readClassBreakInfos(e,t,i){if(!Array.isArray(e))return;let s=t.minValue;return e.map(e=>{const t=new h.A;return t.read(e,i),null==t.minValue&&(t.minValue=s),null==t.maxValue&&(t.maxValue=t.minValue),s=t.maxValue,t})}writeClassBreakInfos(e,t,i,s){const l=e.map(e=>e.write({},s));this._areClassBreaksConsecutive()&&l.forEach(e=>delete e.classMinValue),t[i]=l}castField(e){return null==e?e:"function"==typeof e?(o.A.getLogger(this).error(".field: field must be a string value"),null):(0,u.GX)(e)}get minValue(){return this.classBreakInfos&&this.classBreakInfos[0]&&this.classBreakInfos[0].minValue||0}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&S||i&&V||null,t&&i&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==S&&e!==V||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}addClassBreakInfo(e,t,i){let s=null;s="number"==typeof e?new h.A({minValue:e,maxValue:t,symbol:(0,g.dp)(i)}):x((0,n.o8)(e)),this.classBreakInfos.push(s),1===this.classBreakInfos.length&&this.notifyChange("minValue")}removeClassBreakInfo(e,t){const i=this.classBreakInfos.length;for(let s=0;s<i;s++){const i=[this.classBreakInfos[s].minValue,this.classBreakInfos[s].maxValue];if(i[0]===e&&i[1]===t){this.classBreakInfos.splice(s,1);break}}}getBreakIndex(e,t){return this.valueExpression&&null==t?.arcade&&o.A.getLogger(this).warn(""),this.valueExpression?this._getBreakIndexForExpression(e,t):this._getBreakIndexForField(e)}async getClassBreakInfo(e,t){let i=t;this.valueExpression&&null==t?.arcade&&(i={...i,arcade:await(0,f.l)()});const s=this.getBreakIndex(e,i);return-1!==s?this.classBreakInfos[s]:null}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void o.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const i=this.getBreakIndex(e,t);return i>-1?this.classBreakInfos[i].symbol:this.defaultSymbol}async getSymbolAsync(e,t){let i=t;if(this.valueExpression&&null==t?.arcade){const e=await(0,f.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),i={...i,arcade:e}}const s=this.getBreakIndex(e,i);return s>-1?this.classBreakInfos[s].symbol:this.defaultSymbol}get symbols(){const e=[];return this.classBreakInfos.forEach(t=>{t.symbol&&e.push(t.symbol)}),this.defaultSymbol&&e.push(this.defaultSymbol),e}getAttributeHash(){return this.visualVariables?.reduce((e,t)=>e+t.getAttributeHash(),"")??""}getMeshHash(){const e=JSON.stringify(this.backgroundFillSymbol),t=JSON.stringify(this.defaultSymbol),i=`${this.normalizationField}.${this.normalizationType}.${this.normalizationTotal}`;return`${e}.${t}.${this.classBreakInfos.reduce((e,t)=>e+t.getMeshHash(),"")}.${i}.${this.field}.${this.valueExpression}`}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}clone(){return new s({field:this.field,backgroundFillSymbol:this.backgroundFillSymbol?.clone(),defaultLabel:this.defaultLabel,defaultSymbol:this.defaultSymbol?.clone(),valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,classBreakInfos:(0,n.o8)(this.classBreakInfos),isMaxInclusive:this.isMaxInclusive,normalizationField:this.normalizationField,normalizationTotal:this.normalizationTotal,normalizationType:this.normalizationType,visualVariables:(0,n.o8)(this.visualVariables),legendOptions:(0,n.o8)(this.legendOptions),authoringInfo:(0,n.o8)(this.authoringInfo)})}async collectRequiredFields(e,t){const i=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(i)}async collectSymbolFields(e,t){const i=[...this.symbols.map(i=>i.collectRequiredFields(e,t)),(0,p.Dx)(e,t,null,this.valueExpression)];(0,p.rq)(e,t,this.field),(0,p.rq)(e,t,this.normalizationField),await Promise.all(i)}_getBreakIndexForExpression(e,t){const{viewingMode:i,scale:s,spatialReference:l,arcade:r,timeZone:n}=t??{},{valueExpression:o}=this;let a=this._compiledValueExpression.valueExpression===o?this._compiledValueExpression.compiledFunction:null;const u=r.arcadeUtils;if(!a){const e=u.createSyntaxTree(o);a=u.createFunction(e),this._compiledValueExpression.compiledFunction=a}this._compiledValueExpression.valueExpression=o;const p=u.executeFunction(a,u.createExecContext(e,u.getViewInfo({viewingMode:i,scale:s,spatialReference:l}),n));return this._getBreakIndexfromInfos(p)}_getBreakIndexForField(e){const t=this.field,i=e.attributes,s=this.normalizationType;let l=parseFloat(i[t]);if(s){const e=this.normalizationTotal,t=parseFloat(this.normalizationField?i[this.normalizationField]:void 0);if("log"===s)l=Math.log(l)*Math.LOG10E;else if(s!==V||null==e||isNaN(e)){if(s===S&&!isNaN(t)){if(isNaN(l)||isNaN(t))return-1;l/=t}}else l=l/e*100}return this._getBreakIndexfromInfos(l)}_getBreakIndexfromInfos(e){const t=this.isMaxInclusive;if(null!=e&&"number"==typeof e&&!isNaN(e))for(let i=0;i<this.classBreakInfos.length;i++){const s=[this.classBreakInfos[i].minValue,this.classBreakInfos[i].maxValue];if(s[0]<=e&&(t?e<=s[1]:e<s[1]))return i}return-1}_areClassBreaksConsecutive(){const e=this.classBreakInfos,t=e.length;for(let i=1;i<t;i++)if(e[i-1].maxValue!==e[i].minValue)return!1;return!0}};(0,l.Cg)([(0,a.MZ)(y.As)],M.prototype,"backgroundFillSymbol",void 0),(0,l.Cg)([(0,a.MZ)({type:[h.A],json:{write:{isRequired:!0}}})],M.prototype,"classBreakInfos",void 0),(0,l.Cg)([(0,v.w)("classBreakInfos")],M.prototype,"readClassBreakInfos",null),(0,l.Cg)([(0,b.K)("classBreakInfos")],M.prototype,"writeClassBreakInfos",null),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"defaultLabel",void 0),(0,l.Cg)([(0,a.MZ)(y.z4)],M.prototype,"defaultSymbol",void 0),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"field",void 0),(0,l.Cg)([(0,a.wg)("field")],M.prototype,"castField",null),(0,l.Cg)([(0,a.MZ)({type:Boolean})],M.prototype,"isMaxInclusive",void 0),(0,l.Cg)([(0,a.MZ)({type:m.A,json:{write:!0}})],M.prototype,"legendOptions",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,readOnly:!0,value:null,json:{read:!1,write:{overridePolicy(){return 0!==this.classBreakInfos.length&&this._areClassBreaksConsecutive()?{enabled:!0}:{enabled:!1}}}}})],M.prototype,"minValue",null),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"normalizationField",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"normalizationTotal",void 0),(0,l.Cg)([(0,a.MZ)({type:C.apiValues,value:null,json:{type:C.jsonValues,read:C.read,write:C.write}})],M.prototype,"normalizationType",null),(0,l.Cg)([(0,w.e)({classBreaks:"class-breaks"})],M.prototype,"type",void 0),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"valueExpression",void 0),(0,l.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"valueExpressionTitle",void 0),M=s=(0,l.Cg)([(0,a.$K)("esri.renderers.ClassBreaksRenderer")],M)},88542(e,t,i){i.d(t,{A:()=>a});var s,l=i(31635),r=i(25482),n=i(91429),o=i(49849);let a=s=class extends r.o{constructor(e){super(e),this.description=null,this.label=null,this.minValue=null,this.maxValue=0,this.symbol=null}clone(){return new s({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,symbol:this.symbol?.clone()??null})}getMeshHash(){const e=JSON.stringify(this.symbol);return`${this.minValue}.${this.maxValue}.${e}`}};(0,l.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"description",void 0),(0,l.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"label",void 0),(0,l.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],a.prototype,"minValue",void 0),(0,l.Cg)([(0,n.MZ)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],a.prototype,"maxValue",void 0),(0,l.Cg)([(0,n.MZ)(o.Wp)],a.prototype,"symbol",void 0),a=s=(0,l.Cg)([(0,n.$K)("esri.renderers.support.ClassBreakInfo")],a)},92438(e,t,i){i.d(t,{A:()=>u});var s=i(31635),l=i(66552),r=i(25482),n=i(91429),o=i(30943);const a=new l.J({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary",pieChart:"pie-chart"},{ignoreUnknown:!0});let u=class extends r.o{constructor(e){super(e),this.authoringInfo=null,this.type=null}async getRequiredFields(e){if(!this.collectRequiredFields)return[];const t=new Set;return await this.collectRequiredFields(t,e),Array.from(t).sort()}getSymbol(e,t){}async getSymbolAsync(e,t){}get symbols(){return[]}get arcadeRequired(){return!1}getAttributeHash(){return JSON.stringify(this)}getMeshHash(){return JSON.stringify(this)}};(0,s.Cg)([(0,n.MZ)({type:o.A,json:{write:!0}})],u.prototype,"authoringInfo",void 0),(0,s.Cg)([(0,n.MZ)({type:a.apiValues,readOnly:!0,json:{type:a.jsonValues,read:!1,write:{writer:a.write,ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,n.$K)("esri.renderers.Renderer")],u)},93618(e,t,i){i.d(t,{A:()=>O});var s=i(31635),l=i(49186),r=i(4718),n=i(53966),o=i(93637),a=i(36708),u=i(91429),p=i(6797),c=i(56507),d=i(30524),h=i(20655),y=i(92438),m=i(63988),f=i(49849),g=i(20061),v=i(69540),b=i(25482);let w=class extends((0,v.OU)(b.o)){constructor(e){super(e),this.value=null,this.value2=null,this.value3=null}};(0,s.Cg)([(0,u.MZ)(f.Ug)],w.prototype,"value",void 0),(0,s.Cg)([(0,u.MZ)(f.Ug)],w.prototype,"value2",void 0),(0,s.Cg)([(0,u.MZ)(f.Ug)],w.prototype,"value3",void 0),w=(0,s.Cg)([(0,u.$K)("esri.renderers.support.UniqueValue")],w);var V=i(4576);let S=class extends((0,v.OU)(b.o)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null}get values(){return this._get("values")}set values(e){if(null!=e){const t=typeof(e=Array.isArray(e)?e:[e])[0];e="string"===t||"number"===t?e.map(e=>new w({value:e})):"object"===t?e[0]instanceof w?e:e.map(e=>new w(e)):null}this._set("values",e)}};(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"description",void 0),(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],S.prototype,"label",void 0),(0,s.Cg)([(0,u.MZ)(f.z4)],S.prototype,"symbol",void 0),(0,s.Cg)([(0,u.MZ)({json:{type:[[String]],read:{reader:e=>e?e.map(e=>new w({value:e[0],value2:e[1],value3:e[2]})):null},write:{writer:(e,t)=>{const i=[];for(const t of e){const e=[t.value,t.value2,t.value3].filter(V.Ru).map(e=>e.toString());i.push(e)}t.values=i}}}})],S.prototype,"values",null),S=(0,s.Cg)([(0,u.$K)("esri.renderers.support.UniqueValueClass")],S);let C=class extends((0,v.OU)(b.o)){constructor(e){super(e),this.heading=null,this.classes=null}};(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],C.prototype,"heading",void 0),(0,s.Cg)([(0,u.MZ)({type:[S],json:{write:{isRequired:!0}}})],C.prototype,"classes",void 0),C=(0,s.Cg)([(0,u.$K)("esri.renderers.support.UniqueValueGroup")],C);var x,M=i(94833),z=i(43668),_=i(97159),I=i(37757),A=i(85594),j=i(33910),Z=i(93223),q=i(43937),F=i(36005);const k="uvInfos-watcher",E="uvGroups-watcher",U=(0,c.dp)(M.A);function T(e){return null!=e&&""!==e&&("string"!=typeof e||""!==e.trim()&&"<null>"!==e.toLowerCase())||(e=null),e+""}let O=x=class extends((0,m.h)(y.A)){constructor(e){super(e),this._valueInfoMap={},this._isDefaultSymbolDerived=!1,this._isInfosSource=null,this.type="unique-value",this.backgroundFillSymbol=null,this.orderByClassesEnabled=!1,this.valueExpressionTitle=null,this.legendOptions=null,this.defaultLabel=null,this.portal=null,this.styleOrigin=null,this.diff={uniqueValueInfos(e,t){if(!e&&!t)return;if(!e||!t)return{type:"complete",oldValue:e,newValue:t};let i=!1;const s={type:"collection",added:[],removed:[],changed:[],unchanged:[]};for(let l=0;l<t.length;l++){const r=e.find(e=>e.value===t[l].value);r?(0,p.Ui)(r,t[l])?(s.changed.push({type:"complete",oldValue:r,newValue:t[l]}),i=!0):s.unchanged.push({oldValue:r,newValue:t[l]}):(s.added.push(t[l]),i=!0)}for(let l=0;l<e.length;l++)t.find(t=>t.value===e[l].value)||(s.removed.push(e[l]),i=!0);return i?s:void 0}},this._set("uniqueValueInfos",[]),this._set("uniqueValueGroups",[])}get _cache(){return{compiledFunc:null}}set field(e){this._set("field",e),this._updateFieldDelimiter(),this._updateUniqueValues()}castField(e){return null==e||"function"==typeof e?e:(0,c.GX)(e)}writeField(e,t,i,s){"string"==typeof e?t[i]=e:s?.messages?s.messages.push(new l.A("property:unsupported","UniqueValueRenderer.field set to a function cannot be written to JSON")):n.A.getLogger(this).error(".field: cannot write field to JSON since it's not a string value")}set field2(e){this._set("field2",e),this._updateFieldDelimiter(),this._updateUniqueValues()}set field3(e){this._set("field3",e),this._updateUniqueValues()}set valueExpression(e){this._set("valueExpression",e),this._updateUniqueValues()}set defaultSymbol(e){this._isDefaultSymbolDerived=!1,this._set("defaultSymbol",e)}set fieldDelimiter(e){this._set("fieldDelimiter",e),this._updateUniqueValues()}readPortal(e,t,i){return i.portal||h.A.getDefault()}readStyleOrigin(e,t,i){if(t.styleName)return Object.freeze({styleName:t.styleName});if(t.styleUrl){const e=(0,_.f)(t.styleUrl,i);return Object.freeze({styleUrl:e})}}writeStyleOrigin(e,t,i,s){e.styleName?t.styleName=e.styleName:e.styleUrl&&(t.styleUrl=(0,_.t)(e.styleUrl,s))}set uniqueValueGroups(e){this.styleOrigin?n.A.getLogger(this).error("#uniqueValueGroups=","Cannot modify unique value groups of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueGroups",e),this._updateInfosFromGroups(),this._isInfosSource=!1,this._watchUniqueValueGroups())}set uniqueValueInfos(e){this.styleOrigin?n.A.getLogger(this).error("#uniqueValueInfos=","Cannot modify unique value infos of a UniqueValueRenderer created from a web style"):(this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos())}addUniqueValueInfo(e,t){if(this.styleOrigin)return void n.A.getLogger(this).error("#addUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");let i;i="object"==typeof e?U(e):new M.A({value:e,symbol:(0,j.dp)(t)}),this.uniqueValueInfos?.push(i),this._valueInfoMap[T(i.value)]=i,this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}removeUniqueValueInfo(e){if(this.styleOrigin)return void n.A.getLogger(this).error("#removeUniqueValueInfo()","Cannot modify unique value infos of a UniqueValueRenderer created from a web style");const t=this.uniqueValueInfos;if(t)for(let i=0;i<t.length;i++){const s=t[i];if(String(s.value)===String(e)){delete this._valueInfoMap[T(e)],t.splice(i,1);break}}this._updateGroupsFromInfos(),this._isInfosSource=!0,this._watchUniqueValueInfos()}async getUniqueValueInfo(e,t){let i=t;return this.valueExpression&&null==t?.arcade&&(i={...i,arcade:await(0,z.l)()}),this._getUniqueValueInfo(e,i)}getSymbol(e,t){if(this.valueExpression&&null==t?.arcade)return void n.A.getLogger(this).error("#getSymbol()","Please use getSymbolAsync if valueExpression is used");const i=this._getUniqueValueInfo(e,t);return i?.symbol||this.defaultSymbol}async getSymbolAsync(e,t){let i=t;if(this.valueExpression&&null==i?.arcade){const e=await(0,z.l)(),{arcadeUtils:t}=e;t.hasGeometryOperations(this.valueExpression)&&await t.enableGeometryOperations(),i={...i,arcade:e}}const s=this._getUniqueValueInfo(e,i);return s?.symbol||this.defaultSymbol}get symbols(){const e=[];if(this._isInfosSource)for(const t of this.uniqueValueInfos??[])t.symbol&&e.push(t.symbol);else for(const t of this.uniqueValueGroups??[])for(const i of t.classes??[])i.symbol&&e.push(i.symbol);return this.defaultSymbol&&e.push(this.defaultSymbol),e}getAttributeHash(){return this.visualVariables?.reduce((e,t)=>e+t.getAttributeHash(),"")??""}getMeshHash(){const e=JSON.stringify(this.backgroundFillSymbol),t=JSON.stringify(this.defaultSymbol),i=this.uniqueValueInfos?.reduce((e,t)=>e+t.getMeshHash(),"");return`${e}.${t}.${i}.${this.field}.${this.field2}.${this.field3}.${this.fieldDelimiter}.${this.valueExpression}`}clone(){const e=new x({field:this.field,field2:this.field2,field3:this.field3,defaultLabel:this.defaultLabel,defaultSymbol:(0,r.o8)(this.defaultSymbol),orderByClassesEnabled:this.orderByClassesEnabled,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,fieldDelimiter:this.fieldDelimiter,visualVariables:(0,r.o8)(this.visualVariables),legendOptions:(0,r.o8)(this.legendOptions),authoringInfo:(0,r.o8)(this.authoringInfo),backgroundFillSymbol:(0,r.o8)(this.backgroundFillSymbol)});this._isDefaultSymbolDerived&&(e._isDefaultSymbolDerived=!0),e._set("portal",this.portal);const t=(0,r.o8)(this.uniqueValueInfos),i=(0,r.o8)(this.uniqueValueGroups);return this.styleOrigin&&(e._set("styleOrigin",Object.freeze((0,r.o8)(this.styleOrigin))),Object.freeze(t),Object.freeze(i)),e._set("uniqueValueInfos",t),e._updateValueInfoMap(),e._set("uniqueValueGroups",i),e._isInfosSource=this._isInfosSource,e._watchUniqueValueInfosAndGroups(),e}get arcadeRequired(){return this.arcadeRequiredForVisualVariables||!!this.valueExpression}async collectRequiredFields(e,t){const i=[this.collectVVRequiredFields(e,t),this.collectSymbolFields(e,t)];await Promise.all(i)}async collectSymbolFields(e,t){const i=[...this.symbols.map(i=>i.collectRequiredFields(e,t)),(0,d.Dx)(e,t,null,this.valueExpression)];(0,d.rq)(e,t,this.field),(0,d.rq)(e,t,this.field2),(0,d.rq)(e,t,this.field3),await Promise.all(i)}populateFromStyle(){return(0,A.cF)(this.styleOrigin,{portal:this.portal}).then(e=>{const t=[];return this._valueInfoMap={},e?.data&&Array.isArray(e.data.items)&&e.data.items.forEach(i=>{const s=new I.A({styleUrl:e.styleUrl,styleName:e.styleName,portal:this.portal,name:i.name});this.defaultSymbol||i.name!==e.data.defaultItem||(this.defaultSymbol=s,this._isDefaultSymbolDerived=!0);const l=new M.A({value:i.name,symbol:s});t.push(l),this._valueInfoMap[T(i.name)]=l}),this._set("uniqueValueInfos",Object.freeze(t)),this._updateGroupsFromInfos(!0),this._isInfosSource=null,this._watchUniqueValueInfos(),!this.defaultSymbol&&this.uniqueValueInfos?.length&&(this.defaultSymbol=this.uniqueValueInfos[0].symbol,this._isDefaultSymbolDerived=!0),this})}_updateFieldDelimiter(){this.field&&this.field2&&!this.fieldDelimiter&&this._set("fieldDelimiter",",")}_updateUniqueValues(){null!=this._isInfosSource&&(this._isInfosSource?this._updateGroupsFromInfos():this._updateInfosFromGroups())}_updateValueInfoMap(){this._valueInfoMap={};const{uniqueValueInfos:e}=this;if(e)for(const t of e)this._valueInfoMap[T(t.value)]=t}_watchUniqueValueInfosAndGroups(){this._watchUniqueValueInfos(),this._watchUniqueValueGroups()}_watchUniqueValueInfos(){this.removeHandles(k);const{uniqueValueInfos:e}=this;if(e){const t=[];for(const i of e)t.push((0,a.wB)(()=>({symbol:i.symbol,value:i.value,label:i.label,description:i.description}),(e,t)=>{e!==t&&(this._updateGroupsFromInfos(),this._isInfosSource=!0)},{sync:!0}));this.addHandles(t,k)}}_watchUniqueValueGroups(){this.removeHandles(E);const{uniqueValueGroups:e}=this;if(e){const t=[];for(const i of e){t.push((0,a.wB)(()=>({classes:i.classes}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}));for(const e of i.classes??[])t.push((0,a.wB)(()=>({symbol:e.symbol,values:e.values,label:e.label,description:e.description}),(e,t)=>{e!==t&&(this._updateInfosFromGroups(),this._isInfosSource=!1)},{sync:!0}))}this.addHandles(t,E)}}_updateInfosFromGroups(){if(!this.uniqueValueGroups)return this._set("uniqueValueInfos",null),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const e=[],{field:t,field2:i,field3:s,fieldDelimiter:l,uniqueValueGroups:r,valueExpression:n}=this;if(!t&&!n)return this._set("uniqueValueInfos",e),this._updateValueInfoMap(),void this._watchUniqueValueInfos();const o=!(!t||!i);for(const t of r)for(const r of t.classes??[]){const{symbol:t,label:n,values:a,description:u}=r;for(const r of a??[]){const{value:a,value2:p,value3:c}=r,d=[a];i&&d.push(p),s&&d.push(c);const h=o?d.join(l||""):d[0]??void 0;e.push(new M.A({symbol:t,label:n,value:h,description:u}))}}this._set("uniqueValueInfos",e),this._updateValueInfoMap(),this._watchUniqueValueInfos()}_updateGroupsFromInfos(e=!1){if(!this.uniqueValueInfos)return this._set("uniqueValueGroups",null),void this._watchUniqueValueGroups();const{field:t,field2:i,valueExpression:s,fieldDelimiter:l,uniqueValueInfos:r}=this;if(!t&&!s||!r.length)return this._set("uniqueValueGroups",[]),void this._watchUniqueValueGroups();const n=!(!t||!i),o=r.map(e=>{const{symbol:t,label:i,value:s,description:r}=e,[o,a,u]=n?s?.toString()?.split(l||"")||[]:[s];return new S({symbol:t,label:i,description:r,values:[new w({value:o,value2:a,value3:u})]})}),a=[new C({classes:o})];e&&Object.freeze(a),this._set("uniqueValueGroups",a),this._watchUniqueValueGroups()}_getUniqueValueInfo(e,t){return this.valueExpression?this._getUnqiueValueInfoForExpression(e,t):this._getUnqiueValueInfoForFields(e)}_getUnqiueValueInfoForExpression(e,t){const{viewingMode:i,scale:s,spatialReference:l,arcade:r,timeZone:n}=t??{};let o=this._cache.compiledFunc;const a=r.arcadeUtils;if(!o){const e=a.createSyntaxTree(this.valueExpression);o=a.createFunction(e),this._cache.compiledFunc=o}const u=a.executeFunction(o,a.createExecContext(e,a.getViewInfo({viewingMode:i,scale:s,spatialReference:l}),n));return this._valueInfoMap[T(u)]}_getUnqiueValueInfoForFields(e){const t=this.field,i=e.attributes;let s;if(this.field2){const e=this.field2,l=this.field3,r=[];t&&r.push(i[t]),e&&r.push(i[e]),l&&r.push(i[l]),s=r.join(this.fieldDelimiter||"")}else t&&(s=i[t]);return this._valueInfoMap[T(s)]}static fromPortalStyle(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleName:e})),i._set("portal",t?.portal||h.A.getDefault());const s=i.populateFromStyle();return s.catch(t=>{n.A.getLogger(this.prototype).error(`#fromPortalStyle('${e}'[, ...])`,"Failed to create unique value renderer from style name",t)}),s}static fromStyleUrl(e,t){const i=new x(t?.properties);i._set("styleOrigin",Object.freeze({styleUrl:e}));const s=i.populateFromStyle();return s.catch(t=>{n.A.getLogger(this.prototype).error(`#fromStyleUrl('${e}'[, ...])`,"Failed to create unique value renderer from style URL",t)}),s}};(0,s.Cg)([(0,u.MZ)({readOnly:!0})],O.prototype,"_cache",null),(0,s.Cg)([(0,Z.e)({uniqueValue:"unique-value"})],O.prototype,"type",void 0),(0,s.Cg)([(0,u.MZ)(f.As)],O.prototype,"backgroundFillSymbol",void 0),(0,s.Cg)([(0,u.MZ)({value:null,json:{type:String,read:{source:"field1"},write:{target:"field1"}}})],O.prototype,"field",null),(0,s.Cg)([(0,u.wg)("field")],O.prototype,"castField",null),(0,s.Cg)([(0,q.K)("field")],O.prototype,"writeField",null),(0,s.Cg)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],O.prototype,"field2",null),(0,s.Cg)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],O.prototype,"field3",null),(0,s.Cg)([(0,u.MZ)({type:Boolean,json:{name:"drawInClassOrder",default:!1,write:!0,origins:{"web-scene":{write:!1}}}})],O.prototype,"orderByClassesEnabled",void 0),(0,s.Cg)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],O.prototype,"valueExpression",null),(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],O.prototype,"valueExpressionTitle",void 0),(0,s.Cg)([(0,u.MZ)({type:g.A,json:{write:!0}})],O.prototype,"legendOptions",void 0),(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],O.prototype,"defaultLabel",void 0),(0,s.Cg)([(0,u.MZ)((0,o.$N)({...f.z4},{json:{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}},origins:{"web-scene":{write:{overridePolicy(){return{enabled:!this._isDefaultSymbolDerived}}}}}}}))],O.prototype,"defaultSymbol",null),(0,s.Cg)([(0,u.MZ)({type:String,value:null,json:{write:!0}})],O.prototype,"fieldDelimiter",null),(0,s.Cg)([(0,u.MZ)({type:h.A,readOnly:!0})],O.prototype,"portal",void 0),(0,s.Cg)([(0,F.w)("portal",["styleName"])],O.prototype,"readPortal",null),(0,s.Cg)([(0,u.MZ)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:()=>({enabled:!0})}}})],O.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,F.w)("styleOrigin",["styleName","styleUrl"])],O.prototype,"readStyleOrigin",null),(0,s.Cg)([(0,q.K)("styleOrigin",{styleName:{type:String},styleUrl:{type:String}})],O.prototype,"writeStyleOrigin",null),(0,s.Cg)([(0,u.MZ)({type:[C],json:{read:{source:["uniqueValueGroups","uniqueValueInfos"],reader:(e,t,i)=>(t.uniqueValueGroups||function(e){const{field1:t,field2:i,field3:s,fieldDelimiter:l,uniqueValueInfos:r,valueExpression:n}=e,o=!(!t||!i);return[{classes:(r??[]).map(e=>{const{symbol:r,label:a,value:u,description:p}=e,[c,d,h]=o?u?.toString()?.split(l||"")||[]:[u],y=[];return(t||n)&&y.push(c),i&&y.push(d),s&&y.push(h),{symbol:r,label:a,values:[y],description:p}})}]}(t)).map(e=>C.fromJSON(e,i))},write:{overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0}}}}})],O.prototype,"uniqueValueGroups",null),(0,s.Cg)([(0,u.MZ)({type:[M.A],json:{read:!1,write:{isRequired:!0,overridePolicy(){return this.styleOrigin?{enabled:!1}:{enabled:!0,isRequired:!0}}}}})],O.prototype,"uniqueValueInfos",null),O=x=(0,s.Cg)([(0,u.$K)("esri.renderers.UniqueValueRenderer")],O)},94833(e,t,i){i.d(t,{A:()=>a});var s,l=i(31635),r=i(25482),n=i(91429),o=i(49849);let a=s=class extends r.o{constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.value=null}clone(){return new s({value:this.value,description:this.description,label:this.label,symbol:this.symbol?this.symbol.clone():null})}getMeshHash(){const e=JSON.stringify(this.symbol?.toJSON());return`${this.value}.${e}`}};(0,l.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"description",void 0),(0,l.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],a.prototype,"label",void 0),(0,l.Cg)([(0,n.MZ)(o.Wp)],a.prototype,"symbol",void 0),(0,l.Cg)([(0,n.MZ)(o.Ug)],a.prototype,"value",void 0),a=s=(0,l.Cg)([(0,n.$K)("esri.renderers.support.UniqueValueInfo")],a)},95349(e,t,i){i.d(t,{g:()=>n,r:()=>o});var s=i(2485),l=i(72606),r=i(1626);const n={key:"type",base:l.A,typeMap:{algorithmic:s.A,multipart:r.A}};function o(e){return e?.type?"algorithmic"===e.type?s.A.fromJSON(e):"multipart"===e.type?r.A.fromJSON(e):null:null}},98205(e,t,i){function s(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function l(e){return null!=e&&!isNaN(e)&&isFinite(e)}function r(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function n(e,t){const i=t||r(e),s=e.valueUnit||"unknown";return"unknown"===i?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===s?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}i.d(t,{KZ:()=>n,eh:()=>r,gf:()=>l,of:()=>s})}}]);