@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([[5681,7694,9481],{159(e,t,n){n.d(t,{A:()=>a});var r,i=n(31635),o=n(69622),l=n(91429),s=n(99157);let a=r=class extends o.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,l.MZ)({type:[s.A],nonNullable:!0})],a.prototype,"steps",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,n){n.d(t,{Vj:()=>u,cj:()=>a,jh:()=>o,l5:()=>s,xm:()=>l});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function l(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function s(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},6797(e,t,n){n.d(t,{Ui:()=>f});var r=n(69622),i=n(7762),o=n(88620);const l=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function s(e){return e instanceof r.A}function a(e){return e instanceof i.A?Object.keys(e.items):s(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const r=a(e),i=a(t);if(0===r.length&&0===i.length)return;if(!r.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!r.includes(e)),f=r.filter(e=>!i.includes(e)),d=r.filter(n=>i.includes(n)&&u(e,n)!==u(t,n)).concat(o,f).sort(),h=c(e);if(h&&l.has(h)&&d.length)return{type:"complete",oldValue:e,newValue:t};let g;const m=s(e)&&s(t);for(const r of d){const i=u(e,r),o=u(t,r);let l;if((m||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(n&&n[r]&&"function"==typeof n[r])l=n[r]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;l={type:"complete",oldValue:i,newValue:o}}else l="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=l&&(null!=g?g.diff[r]=l:g={type:"partial",diff:{[r]:l}})}}return g}function f(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(e,t,n,r,i,o,l,s,a,u,c,p,f,d,h,g){return[e,t,n,r,i,o,l,s,a,u,c,p,f,d,h,g]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(37539);function i(e,t,n,i,o,l,s=Math.floor(e.length/3)){const a=(0,r.jd)(t,o);if(null==a)return!1;if(a===r.pO){if(e===i&&n===l)return!0;const t=n+3*s;for(let r=n,o=l;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*s;for(let t=n,r=l;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},13069(e,t,n){n.d(t,{AG:()=>s,lk:()=>i,vD:()=>l,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function l(){return`{${i()}}`}function s(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},16494(e,t,n){n.d(t,{Nd:()=>s,W5:()=>l});var r=n(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),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],l=new r.I({whiteList:i,onTagAttr:(e,t,n)=>{const r=`${t}="${n}"`;if(o.includes(t))return r},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),s=new r.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311(e,t,n){n.d(t,{A:()=>d});var r=n(31635),i=n(69622),o=n(4576),l=n(60999),s=n(7762),a=n(16494),u=n(91429),c=n(30524),p=n(43668);const f=/<br\s*\/*>/gi;let d=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,l.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??n.e(9926).then(n.bind(n,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new s.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const n=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(n.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:n,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(n,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const n=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of n){const n=t.split("."),r=this.fieldsIndex.get(n.at(-1)??"");r&&e.add(r.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const n of t){const t=this.fieldsIndex.get(n);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,n){const r=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],n)).get(r)??""}async getTitles(e,t,n){const r=new Map,i=n?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);n?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:l,workingTitle:s}=this,u=s&&l;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let p=u?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:l,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:s}):"";n?.removeHTML&&(p=a.Nd.sanitize(p).replaceAll(f," ")),r.set(c,p)})}catch{}return r}async _checkAndReQueryGraphics(e,t){const n=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(n.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const r=e.createQuery();r.where="1=1",r.outFields=[...this.requiredFields],r.objectIds=n;const i=await e.queryFeatures(r);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const n of e){if(!n.fieldName)continue;const e=this.fieldsIndex.get(n.fieldName),r=e?.name??n.fieldName;n.fieldName=r,t.set(r.toLowerCase(),n)}return t}_createFormattedAttributes(e,t,n="system"){const r=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const n=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:n}})}catch{}}const o={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:r,attributes:o,graphic:t,timeZone:n,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,r.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"_arcadeTask",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"_featureUtils",void 0),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"featureUtilsPromise",null),(0,r.Cg)([(0,u.MZ)({readOnly:!0})],d.prototype,"calculatedExpressions",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"displayField",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"effectivePopupTemplate",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"expressionsUsedInTitle",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"fieldInfoMap",null),(0,r.Cg)([(0,u.MZ)()],d.prototype,"fields",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"objectIdField",void 0),(0,r.Cg)([(0,u.MZ)()],d.prototype,"requiredFields",null),d=(0,r.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],d)},29005(e,t,n){n.d(t,{A:()=>u});var r=n(31635),i=n(69540),o=n(66552),l=n(25482),s=n(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,i.OU)(l.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r.Cg)([(0,s.$K)("esri.layers.support.FeatureTemplate")],u)},32730(e,t,n){n.d(t,{BI:()=>d,D3:()=>p,XJ:()=>f,lc:()=>c,mX:()=>g,rU:()=>h,tH:()=>b});var r=n(799);const i="__begin__",o="__end__",l=new RegExp(i,"ig"),s=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function p(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function d(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function h(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function g(e){let t;return e?(t=(0,r.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(l,'" + ').replaceAll(s,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,v=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=y.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=v.exec(e),t?t[2]:null)}},37352(e,t,n){n.d(t,{A:()=>a});var r,i=n(31635),o=n(7762),l=n(25482),s=n(91429);let a=r=class extends l.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"floorField",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:!1,write:!1}})],a.prototype,"viewAllLevelIds",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.layers.support.LayerFloorInfo")],a)},37539(e,t,n){n.d(t,{pO:()=>g,jd:()=>f,Tp:()=>d,w5:()=>p});var r=n(34727),i=n(86211),o=n(73941),l=n(79258);Math.PI;const s=l.$O.radius,a=l.$O.eccentricitySquared,u={a1:s*a,a2:s*a*s*a,a3:s*a*a/2,a4:s*a*s*a*2.5,a5:s*a+s*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=n(21325);const p={2:{5:g,7:null,9:null,10:g,1:w,6:null,8:null,0:null,3:y,11:M,2:g,4:C},5:{5:g,7:null,9:null,10:g,1:w,6:null,8:null,0:null,3:y,11:M,2:g,4:C},7:{5:null,7:g,9:null,10:g,1:null,6:x,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:m,7:null,9:null,10:m,1:function(e,t,n,r){const i=e[t]/O,o=Z-2*Math.atan(Math.exp(-e[t+1]/O)),l=O+(e[t+2]??0),s=Math.cos(o)*l;n[r]=Math.cos(i)*s,n[r+1]=Math.sin(i)*s,n[r+2]=Math.sin(o)*l},6:null,8:null,0:null,3:g,11:function(e,t,n,r){m(e,t,n,r),M(n,r,n,r)},2:m,4:function(e,t,n,r){m(e,t,n,r),C(n,r,n,r)}},4:{5:_,7:null,9:null,10:_,1:function(e,t,n,r){_(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){_(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){_(e,t,n,r),M(n,r,n,r)},2:_,4:g},1:{5:F,7:null,9:null,10:F,1:g,6:null,8:null,0:null,3:function(e,t,n,r){F(e,t,n,r),y(n,r,n,r)},11:function(e,t,n,r){F(e,t,n,r),M(n,r,n,r)},2:F,4:function(e,t,n,r){F(e,t,n,r),C(n,r,n,r)}},6:{5:null,7:j,9:null,10:j,1:null,6:g,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: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:w,6:x,8:I,0:null,3:y,11:M,2:g,4:C},11:{5:v,7:null,9:null,10:v,1:function(e,t,n,r){v(e,t,n,r),w(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){v(e,t,n,r),y(n,r,n,r)},11:g,2:v,4:function(e,t,n,r){v(e,t,n,r),C(n,r,n,r)}}};function f(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(R.source.spatialReference===e&&R.dest.spatialReference===t)return R;const n=h(e,R.source),r=h(t,R.dest);return 0===n&&0===r?(0,c.aI)(e,t)?R.projector=g:R.projector=null:R.projector=p[n][r],R}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function g(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function m(e,t,n,r){n[r]=E*(e[t]/O),n[r+1]=E*(Z-2*Math.atan(Math.exp(-e[t+1]/O))),n[r+2]=e[t+2]??0}function y(e,t,n,i){!function(e,t,n,i,o){const l=.4999999*Math.PI,s=(0,r.qE)(S*e[t+1],-l,l),a=Math.sin(s);n[i++]=S*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,l.$O)}function M(e,t,n,r){n[r]=e[t]*k,n[r+1]=e[t+1]*k,n[r+2]=e[t+2]??0}function v(e,t,n,r){n[r]=e[t]*P,n[r+1]=e[t+1]*P,n[r+2]=e[t+2]??0}function b(e,t,n,r,i){const o=i+(e[t+2]??0),l=S*e[t],s=S*e[t+1],a=Math.cos(s)*o;n[r]=Math.cos(l)*a,n[r+1]=Math.sin(l)*a,n[r+2]=Math.sin(s)*o}function I(e,t,n,r){b(e,t,n,r,l.Sw.radius)}function x(e,t,n,r){b(e,t,n,r,l.sH.radius)}function w(e,t,n,r){b(e,t,n,r,l.$O.radius)}function T(e,t,n,i,o){const l=e[t],s=e[t+1],a=e[t+2]??0,u=Math.sqrt(l*l+s*s+a*a),c=(0,r.YN)(a/(0===u?1:u)),p=Math.atan2(s,l);n[i++]=E*p,n[i++]=E*c,n[i]=u-o}function A(e,t,n,r){T(e,t,n,r,l.Sw.radius)}function j(e,t,n,r){T(e,t,n,r,l.sH.radius)}function F(e,t,n,r){T(e,t,n,r,l.$O.radius)}function C(e,t,n,r){!function(e,t,n,r,i){const o=S*e[t],l=S*e[t+1],s=e[t+2]??0,a=Math.sin(l),u=Math.cos(l),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+s)*u*Math.cos(o),n[r++]=(c+s)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+s)*a}(e,t,n,r,l.$O)}function _(e,t,n,r){const i=u,o=e[t],s=e[t+1],a=e[t+2]??0;let c,p,f,d,h,g,m,y,M,v,b,I,x,w,T,A,j,F,C,_,R;c=Math.abs(a),p=o*o+s*s,f=Math.sqrt(p),d=p+a*a,h=Math.sqrt(d),_=Math.atan2(s,o),g=a*a/d,m=p/d,w=i.a2/h,T=i.a3-i.a4/h,m>.3?(y=c/h*(1+m*(i.a1+w+g*T)/h),C=Math.asin(y),v=y*y,M=Math.sqrt(1-v)):(M=f/h*(1-g*(i.a5-w-m*T)/h),C=Math.acos(M),v=1-M*M,y=Math.sqrt(v)),b=1-l.$O.eccentricitySquared*v,I=l.$O.radius/Math.sqrt(b),x=i.a6*I,w=f-I*M,T=c-x*y,j=M*w+y*T,A=M*T-y*w,F=A/(x/b+j),C+=F,R=j+A*F/2,a<0&&(C=-C),n[r++]=E*_,n[r++]=E*C,n[r]=R}const R={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},S=(0,r.kU)(1),E=(0,r.KJ)(1),Z=.5*Math.PI,O=l.$O.radius,k=O*Math.PI/180,P=180/(O*Math.PI)},41366(e,t,n){n.d(t,{K:()=>p,Q:()=>a});var r=n(31635),i=n(66552),o=n(53966),l=n(91429),s=n(93223);const a=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,n=null!=this.normalizationTotal;return t||n?(e=t&&c||n&&u||null,t&&n&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r.Cg)([(0,l.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,s.e)(a,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,r.Cg)([(0,l.$K)("esri.rest.support.NormalizationBinParametersMixin")],n),n}},41560(e,t,n){n.d(t,{Ch:()=>l,mW:()=>o});var r=n(34727),i=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function l(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],p(r));return t}(e);if(o&&((0,r.gg)(t,o[0])||(0,r.ZH)(n,o[1])))return"";const l=Array.from(s(e,t,n)),a=function(e,t,n){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,r.ZH)(i,t)||(0,r.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],i=e[t+1];if((0,r.ZH)(c(i.minScale),p(n.maxScale)))return!0}return!1}(l,t,n)?"1=1":l.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*s(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)a(r.minScale,r.maxScale,t,n)&&(yield r)}}function a(e,t,n,i){return e=c(e),n=c(n),t=p(t),!(!(0,r.Sp)(n,e)&&(i??n)>e||(0,r.Hx)(t,n)||void 0!==i&&(0,r.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},45067(e,t,n){n.d(t,{A:()=>c});var r=n(31635),i=n(69540),o=n(66552),l=n(25482),s=n(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,i.OU)(l.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,r.Cg)([(0,s.MZ)({json:{read:a.read,write:a.write}})],c.prototype,"cardinality",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,r.Cg)([(0,s.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,r.Cg)([(0,s.$K)("esri.layers.support.Relationship")],c)},52106(e,t,n){n.d(t,{A:()=>I});var r,i=n(31635),o=n(37838),l=n(69540),s=n(51447),a=n(25482),u=n(53966),c=n(36708),p=n(24326),f=n(91429),d=n(12195),h=n(65864),g=n(50498),m=n(55156),y=n(60950),M=n(54339),v=n(33910);function b(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let I=class extends((0,l.OU)(a.o)){static{r=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,s.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 r({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,y.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,M.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,M.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:b(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,d.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,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,f.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,h.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],I.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,f.MZ)({value:null})],I.prototype,"attributes",null),(0,i.Cg)([(0,f.MZ)({value:null,types:g.yR,json:{read:h.rS}})],I.prototype,"geometry",null),(0,i.Cg)([(0,f.MZ)({type:Boolean})],I.prototype,"isAggregate",void 0),(0,i.Cg)([(0,f.MZ)({clonable:!1})],I.prototype,"layer",void 0),(0,i.Cg)([(0,f.MZ)({clonable:"reference"})],I.prototype,"origin",void 0),(0,i.Cg)([(0,f.MZ)({type:o.A,value:null})],I.prototype,"popupTemplate",null),(0,i.Cg)([(0,f.MZ)({clonable:"reference"})],I.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,f.MZ)({value:null,types:v.Es})],I.prototype,"symbol",null),(0,i.Cg)([(0,f.MZ)({clonable:!1,json:{read:!1,write:!1}})],I.prototype,"_version",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,value:!0})],I.prototype,"visible",null),I=r=(0,i.Cg)([(0,f.$K)("esri.Graphic")],I)},52136(e,t,n){n.d(t,{p:()=>o});var r=n(31635),i=n(91429);const o=e=>{const t=e;let n=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,r.Cg)([(0,i.MZ)({type:String})],n.prototype,"apiKey",null),n=(0,r.Cg)([(0,i.$K)("esri.layers.mixins.APIKeyMixin")],n),n}},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},70328(e,t,n){n.d(t,{BI:()=>v,DC:()=>p,Ej:()=>d,Ie:()=>y,Jt:()=>M,Ne:()=>h,RF:()=>c,aI:()=>I,fA:()=>l,gE:()=>a,hZ:()=>m,iT:()=>f,is:()=>b,qv:()=>x,vI:()=>g,vY:()=>s,v_:()=>w,vt:()=>o,w1:()=>u});var r=n(5443),i=(n(19419),n(4197));function o(e=w){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function l(e,t,n,r,i,l,s=o()){return s[0]=e,s[1]=t,s[2]=n,s[3]=r,s[4]=i,s[5]=l,s}function s(e,t=o()){return function(e,t,n,r=o()){return m(r,x),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],l=e[2],s=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),l=Math.min(l,t[n+3*e+2]),s=Math.max(s,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=l,e[3]=s,e[4]=a,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[n,r,o,l,s,a]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=a,t[6]=n,t[7]=s,t[8]=o,t[9]=n,t[10]=s,t[11]=a,t[12]=l,t[13]=r,t[14]=o,t[15]=l,t[16]=r,t[17]=a,t[18]=l,t[19]=s,t[20]=o,t[21]=l,t[22]=s,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(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 d(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,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function g(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function y(e){return e?m(e,x):o(x)}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function v(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function I(e,t,n){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];o()},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>G,initializeProjection:()=>K,isEqualBaseGCS:()=>V,isLoaded:()=>_,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>S,load:()=>Z,project:()=>O,projectAsync:()=>q,projectExtent:()=>te,projectMany:()=>k,projectMultipoint:()=>H,projectOrLoad:()=>N,projectOrLoadMany:()=>L,projectPoint:()=>J,projectPolygon:()=>X,projectPolyline:()=>Y,projectWithoutEngine:()=>D,requiresLoad:()=>E,test:()=>U,tryProject:()=>P,unload:()=>z});var r=n(49186),i=n(74887),o=n(62788),l=n(95488),s=n(51850),a=n(21276),u=n(73941),c=n(5443),p=n(91075),f=n(48526),d=n(86738),h=n(39829),g=n(82799),m=n(16930),y=n(159),M=n(9762),v=n(37539);function b(e,t,n,r,i,o){return I[0]=e,I[1]=t,I[2]=n,(0,M.projectBuffer)(I,r,0,i,o,0)}const I=(0,s.vt)();var x=n(21325);let w=null,T=null,A=null,j=null,F={};const C=new l.I;function _(){return!!(T?.isLoaded()&&A?.isLoaded()&&j?.isLoaded())}function R(){return!!_()||((0,o.gc)(C),Z(),!1)}function S(e,t){return!e||!t||G(e,t)||R()}function E(e,t){return!G(e,t)&&!_()}async function Z(e){null==w&&(w=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(T=e,T.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(A=e,A.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(j=e,j.load()))])),await w,(0,i.Te)(e),C.notify()}function O(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),k(e,e[0].spatialReference,t,n)):((0,a.f)(e),k([e],e.spatialReference,t,n)[0])}function k(e,t,n,r){if(null==t||null==n)return e;if(G(t,n,r))return e.map(e=>D(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return k(e.map(e=>D(e,t,m.A.WGS84)),m.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return k(e,t,m.A.WGS84).map(e=>D(e,m.A.WGS84,n));if(!_())throw new $;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:j.getTransformation(t,n,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=F[e];i||(i=j.getTransformation(t,n)||new y.A,F[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?T.executeMany(e,n,r):A.executeMany(e,n,r)}function P(e,t,n){try{return O(e,t,n)}catch(e){return null}}function N(e,t){const n=L([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function L(e,t,n){if(!_())for(const n of e)if(null!=n&&!(0,x.aI)(n.spatialReference,t)&&(0,x.fn)(n.spatialReference)&&(0,x.fn)(t)&&!G(n.spatialReference,t))return(0,o.gc)(C),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,x.aI)(e.spatialReference,t)?e:(0,x.fn)(e.spatialReference)&&(0,x.fn)(t)?O(e,t,n):null)}}class $ extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){w=null,T=null,A=null,j=null,F={}}const U={get loadPromise(){return w}};async function q(e,t,n){if((0,i.Te)(n),!e)return e;const r=L(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),q(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function G(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,x.aI)(e,t)||(0,x.fn)(e)&&(0,x.fn)(t)&&!!(0,v.jd)(e,t))}function V(e,t){if((0,x.aI)(e,t))return!0;if(!(0,x.fn)(e)||!(0,x.fn)(t))return!1;const n=(0,x.oT)(e)||(0,x.K8)(e)||(0,x.x1)(e),r=(0,x.oT)(t)||(0,x.K8)(t)||(0,x.x1)(t);return n&&r}async function K(e,t,n,r){if(_())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!G(t,n,i))return Z(r)}else if(e&&t&&!G(e,t,n))return Z(r);return(0,i.NO)(r)}function D(e,t,n){return e?"x"in e?B(e,t,new d.A,n,0):"xmin"in e?ne(e,t,new c.A,n,0):"rings"in e?ee(e,t,new h.A,n,0):"paths"in e?Q(e,t,new g.A,n,0):"points"in e?W(e,t,new f.A,n,0):null:null}function J(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=B(e,e.spatialReference,t,n,r)}function B(e,t,n,r,i){ie[0]=e.x,ie[1]=e.y;const o=e.z;return ie[2]=void 0!==o?o:i,(0,M.projectBuffer)(ie,t,0,ie,r,0)?(n.x=ie[0],n.y=ie[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ie[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function H(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=W(e,e.spatialReference,t,n,r)}function W(e,t,n,r,i){const{points:o,hasZ:l,hasM:s}=e,a=[],c=o.length,p=[];for(const e of o)p.push(e[0],e[1],l?e[2]:i);if(!(0,M.projectBuffer)(p,t,0,p,r,0,c))return null;const f=l||(0,u.xP)(r);for(let e=0;e<c;++e){const t=3*e,n=p[t],r=p[t+1];f&&s?a.push([n,r,p[t+2],o[e][3]]):f?a.push([n,r,p[t+2]]):s?a.push([n,r,o[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=l,n.hasM=s,n}function Y(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,i){const{paths:o,hasZ:l,hasM:s}=e,a=[];if(!re(o,l??!1,s??!1,t,a,r,i))return null;const c=l||(0,u.xP)(r);return n.paths=a,n.spatialReference=r,n.hasZ=c,n.hasM=s,n}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,r)}function ee(e,t,n,r,i){const{rings:o,hasZ:l,hasM:s}=e,a=[];if(!re(o,l??!1,s??!1,t,a,r,i))return null;const c=l||(0,u.xP)(r);return n.rings=a,n.spatialReference=r,n.hasZ=c,n.hasM=s,n}function te(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,r)}function ne(e,t,n,r,i){const{xmin:o,ymin:l,xmax:s,ymax:a,hasZ:c,hasM:p}=e;if(!b(o,l,c?e.zmin:i,t,ie,r))return null;const f=c||(0,u.xP)(r);return n.xmin=ie[0],n.ymin=ie[1],f&&(n.zmin=ie[2]),b(s,a,c?e.zmax:i,t,ie,r)?(n.xmax=ie[0],n.ymax=ie[1],f&&(n.zmax=ie[2]),p&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function re(e,t,n,r,i,o,l=0){const s=new Array;for(const n of e)for(const e of n)s.push(e[0],e[1],t?e[2]:l);if(!(0,M.projectBuffer)(s,r,0,s,o,0))return!1;let a=0;i.length=0;const c=t||(0,u.xP)(o);for(const t of e){const e=new Array;for(const r of t)c&&n?e.push([s[a++],s[a++],s[a++],r[3]]):c?e.push([s[a++],s[a++],s[a++]]):n?(e.push([s[a++],s[a++],r[2]]),a++):(e.push([s[a++],s[a++]]),a++);i.push(e)}return!0}const ie=(0,s.vt)()},99157(e,t,n){n.d(t,{A:()=>s});var r,i=n(31635),o=n(69622),l=n(91429);let s=r=class extends o.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,l.MZ)()],s.prototype,"isInverse",void 0),(0,i.Cg)([(0,l.MZ)()],s.prototype,"wkt",void 0),(0,i.Cg)([(0,l.MZ)()],s.prototype,"wkid",void 0),s=r=(0,i.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],s)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7136,9785],{159(e,t,r){r.d(t,{A:()=>l});var i,o=r(31635),n=r(69622),s=r(91429),a=r(99157);let l=i=class extends n.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,o.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=i=(0,o.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>l,jh:()=>n,l5:()=>a,xm:()=>s});var i=r(34275),o=r(9093);function n(e){return e<=i.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=i.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e){return[...e]}function u(e){const t=(0,o.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},6797(e,t,r){r.d(t,{Ui:()=>d});var i=r(69622),o=r(7762),n=r(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof i.A}function l(e){return e instanceof o.A?Object.keys(e.items):a(e)?(0,n.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof o.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function c(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const i=l(e),o=l(t);if(0===i.length&&0===o.length)return;if(!i.length||!o.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const n=o.filter(e=>!i.includes(e)),d=i.filter(e=>!o.includes(e)),y=i.filter(r=>o.includes(r)&&u(e,r)!==u(t,r)).concat(n,d).sort(),m=p(e);if(m&&s.has(m)&&y.length)return{type:"complete",oldValue:e,newValue:t};let f;const h=a(e)&&a(t);for(const i of y){const o=u(e,i),n=u(t,i);let s;if((h||"function"!=typeof o&&"function"!=typeof n)&&o!==n&&(null!=o||null!=n)){if(r&&r[i]&&"function"==typeof r[i])s=r[i]?.(o,n);else if(o instanceof Date&&n instanceof Date){if(o.getTime()===n.getTime())continue;s={type:"complete",oldValue:o,newValue:n}}else s="object"==typeof o&&"object"==typeof n&&p(o)===p(n)?c(o,n):{type:"complete",oldValue:o,newValue:n};null!=s&&(null!=f?f.diff[i]=s:f={type:"partial",diff:{[i]:s}})}}return f}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},8303(e,t,r){r.d(t,{A:()=>C});var i=r(31635),o=r(92602),n=r(70333),s=r(11254),a=r(60999),l=r(49186),u=r(53966),p=r(97768),c=r(74887),d=r(84952),y=r(91429),m=r(77548),f=r(20655),h=r(80812),g=r(41318),v=r(10407),b=r(36005),w=r(43937);const C=e=>{const t=e;let C=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.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 h.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,c.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,c.QP)(e),!0)))}async setUserPrivileges(e,t){if(!o.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:o}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",o)}catch(e){(0,c.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!n.id?.findCredential(this.url),o=e===r.id;if(o&&r.portal.user)return this._getUserPrivileges(r,i);let s,a;if(o)s=r.portal.url;else try{s=await(0,m.wI)(this.url,t)}catch(e){(0,c.QP)(e)}if(!s||!(0,d.b8)(s,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(n.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.QP)(e)}const l=!0,u=!1,p=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:p}};try{if(o?await r.reload():(r=new h.default({id:e,portal:{url:s}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,c.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:p}}}_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,c.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?n.id?.findCredential(this.url):null;if(!t)return!0;const r=T.credential===t?T.user:await this._fetchEditingUser(e);return T.credential=t,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=n.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,o=f.A.getDefault();if(o&&o.loaded&&(0,d.S8)(o.restUrl)===(0,d.S8)(i))return o.user;const l=`${i}/community/self`,u=null!=e?e.signal:null,p=await(0,a.Ke)((0,s.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?g.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||f.A.getDefault());return r&&i&&!(0,d.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,y.MZ)({type:h.default})],C.prototype,"portalItem",null),(0,i.Cg)([(0,b.w)("web-document","portalItem",["itemId"])],C.prototype,"readPortalItem",null),(0,i.Cg)([(0,w.K)("web-document","portalItem",{itemId:{type:String}})],C.prototype,"writePortalItem",null),(0,i.Cg)([(0,y.MZ)({clonable:!1})],C.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],C.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],C.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],C.prototype,"userHasUpdateItemPrivileges",void 0),C=(0,i.Cg)([(0,y.$K)("esri.layers.mixins.PortalLayer")],C),C},T={credential:null,user:null}},9093(e,t,r){function i(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(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:()=>o,vt:()=>i,zK:()=>n});const n=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:n,clone:o,create:i,fromValues:function(e,t,r,i,o,n,s,a,l,u,p,c,d,y,m,f){return[e,t,r,i,o,n,s,a,l,u,p,c,d,y,m,f]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>o});var i=r(37539);function o(e,t,r,o,n,s,a=Math.floor(e.length/3)){const l=(0,i.jd)(t,n);if(null==l)return!1;if(l===i.pO){if(e===o&&r===s)return!0;const t=r+3*a;for(let i=r,n=s;i<t;i++,n++)o[n]=e[i]??0;return!0}const u=r+3*a;for(let t=r,i=s;t<u;t+=3,i+=3)l(e,t,o,i);return!0}},10407(e,t,r){r.d(t,{It:()=>y,LG:()=>s,OM:()=>u,Sm:()=>p,Y:()=>a,bK:()=>l,mm:()=>d,sQ:()=>c});var i=r(91218),o=r(16930),n=r(28735);function s(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,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 p(e,t,r){r?s(e,t):u(e,t)}async function c(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,n.ci)(e);const r=o.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.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 y(e){const{portal:t,isOrgItem:r,itemControl:i}=e,o=t.user?.privileges;let n=!o||o.includes("features:user:edit"),s=!!r&&!!o?.includes("features:user:fullEdit");const a="update"===i||"admin"===i;return a?s=n=!0:s&&(n=!0),{features:{edit:n,fullEdit:s},content:{updateItem:a}}}},17136(e,t,r){r.d(t,{Y_:()=>N,O7:()=>I,el:()=>A});var i=r(92602),o=r(69052),n=r(49186),s=r(53966),a=r(39829),l=r(82799),u=r(16930),p=r(80754),c=r(21325),d=r(28735),y=r(11254),m=r(60408),f=r(65864),h=r(2272),g=r(84952),v=r(92300);const b=()=>s.A.getLogger("esri.geometry.support.normalizeUtils");function w(e){return"polygon"===e[0].type}function C(e){return"polyline"===e[0].type}function T(e,t,r){if(t){const t=function(e,t){if(!(e instanceof l.A||e instanceof a.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw b().error(e),new n.A("internal:geometry",e)}const r=(0,p.r8)(e),i=[];for(const e of r){const r=[];i.push(r),r.push([e[0][0],e[0][1]]);for(let i=0;i<e.length-1;i++){const o=e[i][0],n=e[i][1],s=e[i+1][0],a=e[i+1][1],l=Math.sqrt((s-o)*(s-o)+(a-n)*(a-n)),u=(a-n)/l,p=(s-o)/l,c=l/t;if(c>1){for(let e=1;e<=c-1;e++){const i=e*t,s=p*i+o,a=u*i+n;r.push([s,a])}const e=(l+Math.floor(c-1)*t)/2,i=p*e+o,s=u*e+n;r.push([i,s])}r.push([s,a])}}return function(e){return"polygon"===e.type}(e)?new a.A({rings:i,spatialReference:e.spatialReference}):new l.A({paths:i,spatialReference:e.spatialReference})}(e,1e6);e=(0,d.ci)(t,!0)}return r&&(e=(0,p.kS)(e,r)),e}function S(e,t,r){if(Array.isArray(e)){const i=e[0];if(i>t){const r=(0,p.kd)(i,t);e[0]=i+r*(-2*t)}else if(i<r){const t=(0,p.kd)(i,r);e[0]=i+t*(-2*r)}}else{const i=e.x;if(i>t){const r=(0,p.kd)(i,t);e=e.clone().offset(r*(-2*t),0)}else if(i<r){const t=(0,p.kd)(i,r);e=e.clone().offset(t*(-2*r),0)}}return e}function M(e,t){let r=-1;for(let i=0;i<t.cutIndexes.length;i++){const o=t.cutIndexes[i],n=t.geometries[i],s=(0,p.r8)(n);for(let e=0;e<s.length;e++){const t=s[e];t.some(r=>{if(r[0]<180)return!0;{let r=0;for(let e=0;e<t.length;e++){const i=t[e][0];r=i>r?i:r}r=Number(r.toFixed(9));const i=-360*(0,p.kd)(r,180);for(let r=0;r<t.length;r++){const t=n.getPoint(e,r);n.setPoint(e,r,t.clone().offset(i,0))}return!0}})}if(o===r){if(w(e))for(const t of(0,p.r8)(n))e[o]=e[o].addRing(t);else if(C(e))for(const t of(0,p.r8)(n))e[o]=e[o].addPath(t)}else r=o,e[o]=n}return e}async function A(e,t,r){if(!Array.isArray(e))return A([e],t);t&&"string"!=typeof t&&b().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const o="string"==typeof t?t:t?.url??i.A.geometryServiceUrl;let n,s,u,w,C,I,O,N,j=0;const Z=[],D=[];for(const t of e)if(null!=t)if(n||(n=t.spatialReference,s=(0,c.Vp)(n),u=n.isWebMercator,I=u?102100:4326,w=p.j7[I].maxX,C=p.j7[I].minX,O=p.j7[I].plus180Line,N=p.j7[I].minus180Line),s)if("mesh"===t.type)D.push(t);else if("point"===t.type)D.push(S(t.clone(),w,C));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>S(e,w,C)),D.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,s);D.push(e.rings?new a.A(e):e)}else if(t.extent){const e=t.extent,r=(0,p.kd)(e.xmin,C)*(2*w);let i=0===r?t.clone():(0,p.kS)(t.clone(),r);e.offset(r,0);let{xmin:o,xmax:n}=e;o=Number(o.toFixed(9)),n=Number(n.toFixed(9)),e.intersects(O)&&n!==w?(j=n>j?n:j,i=T(i,u),Z.push(i),D.push("cut")):e.intersects(N)&&o!==C?(j=n*(2*w)>j?n*(2*w):j,i=T(i,u,360),Z.push(i),D.push("cut")):D.push(i)}else D.push(t.clone());else D.push(t);else D.push(t);let x=(0,p.kd)(j,w),R=-90;const B=x,F=new l.A;for(;x>0;){const e=360*x-180;F.addPath([[e,R],[e,-1*R]]),R*=-1,x--}if(Z.length>0&&B>0){const t=M(Z,await async function(e,t,r,i){const o=(0,h.Dl)(e),n=t[0].spatialReference,s={...i,responseType:"json",query:{...o.query,f:"json",sr:(0,c.YX)(n),target:JSON.stringify({geometryType:(0,m.$B)(t[0]),geometries:t}),cutter:JSON.stringify(r)}},a=await(0,y.A)(o.path+"/cut",s),{cutIndexes:l,geometries:u=[]}=a.data;return{cutIndexes:l,geometries:u.map(e=>{const t=(0,f.rS)(e);return t.spatialReference=n,t})}}(o,Z,F,r)),i=[],n=[];for(let r=0;r<D.length;r++){const o=D[r];if("cut"!==o)n.push(o);else{const o=t.shift(),s=e[r];null!=s&&"polygon"===s.type&&s.rings&&s.rings.length>1&&o.rings.length>=s.rings.length?(i.push(o),n.push("simplify")):n.push(u?(0,d.Gh)(o):o)}}if(!i.length)return n;const s=await async function(e,t,r){const i="string"==typeof e?(0,g.An)(e):e,o=t[0].spatialReference,n=(0,m.$B)(t[0]),s={...r,query:{...i.query,f:"json",sr:(0,c.YX)(o),geometries:JSON.stringify((0,v.X)(t))}},{data:a}=await(0,y.A)(i.path+"/simplify",s);return(0,v.V)(a.geometries,n,o)}(o,i,r),a=[];for(let e=0;e<n.length;e++){const t=n[e];"simplify"!==t?a.push(t):a.push(u?(0,d.Gh)(s.shift()):s.shift())}return a}const P=[];for(let e=0;e<D.length;e++){const t=D[e];if("cut"!==t)P.push(t);else{const e=Z.shift();P.push(!0===u?(0,d.Gh)(e):e)}}return P}function I(e,t,r){const i=(0,c.Vp)(r);if(null==i)return e;const[o,n]=i.valid,s=2*n;let a=0,l=0;t>n?a=Math.ceil(Math.abs(t-n)/s):t<o&&(a=-Math.ceil(Math.abs(t-o)/s)),e>n?l=Math.ceil(Math.abs(e-n)/s):e<o&&(l=-Math.ceil(Math.abs(e-o)/s));let u=e+(a-l)*s;const p=u-t;return p>n?u-=s:p<o&&(u+=s),u}function O(e){const t=(0,c.Vp)(e);if(null==t)return null;const[r,i]=t.valid;return new o.hr(r,i)}const N=O(u.A.WGS84);O(u.A.WebMercator)},24097(e,t,r){r.d(t,{K:()=>i});const i={type:String,json:{read:{source:"token"},write:{target:"token"}}}},25036(e,t,r){r.d(t,{j:()=>n});var i=r(31635),o=r(91429);const n=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&function(e,t){e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale}(e,t.effectiveScaleRange);const r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,i.Cg)([(0,o.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}},34507(e,t,r){r.r(t),r.d(t,{default:()=>Ft});var i=r(31635),o=r(92602),n=r(52106),s=r(37838),a=r(4576),l=r(7762),u=r(49186),p=r(53966),c=r(25728),d=r(93637),y=r(74887),m=r(36708),f=r(86211),h=r(84952),g=r(91429),v=r(46130),b=r(5443),w=r(48526),C=r(91218),T=r(16930),S=r(21325),M=r(4146),A=r(63074),I=r(16131),O=r(8303),N=r(25036),j=r(60694),Z=r(25482),D=r(53930),x=r(33910);let R=class extends Z.o{constructor(e){super(e),this.break=new D.A({color:[255,255,255],size:12,outline:{color:[0,122,194],width:3}}),this.first=new D.A({color:[0,255,0],size:20,outline:{color:[255,255,255],width:4}}),this.unlocated=new D.A({color:[255,0,0],size:12,outline:{color:[255,255,255],width:3}}),this.last=new D.A({color:[255,0,0],size:20,outline:{color:[255,255,255],width:4}}),this.middle=new D.A({color:[51,51,51],size:12,outline:{color:[0,122,194],width:3}}),this.waypoint=new D.A({color:[255,255,255],size:12,outline:{color:[0,122,194],width:3}})}};(0,i.Cg)([(0,g.MZ)({types:x.wC})],R.prototype,"break",void 0),(0,i.Cg)([(0,g.MZ)({types:x.wC})],R.prototype,"first",void 0),(0,i.Cg)([(0,g.MZ)({types:x.wC})],R.prototype,"unlocated",void 0),(0,i.Cg)([(0,g.MZ)({types:x.wC})],R.prototype,"last",void 0),(0,i.Cg)([(0,g.MZ)({types:x.wC})],R.prototype,"middle",void 0),(0,i.Cg)([(0,g.MZ)({types:x.wC})],R.prototype,"waypoint",void 0),R=(0,i.Cg)([(0,g.$K)("esri.layers.support.RouteStopSymbols")],R);var B=r(94985),F=r(31593);let P=class extends Z.o{constructor(e){super(e),this.directionLines=new F.A({color:[0,122,194],width:6}),this.directionPoints=new D.A({color:[255,255,255],size:6,outline:{color:[0,122,194],width:2}}),this.pointBarriers=new D.A({style:"x",size:10,outline:{color:[255,0,0],width:3}}),this.polygonBarriers=new B.A({color:[255,170,0,.6],outline:{width:7.5,color:[255,0,0,.6]}}),this.polylineBarriers=new F.A({width:7.5,color:[255,85,0,.7]}),this.routeInfo=new F.A({width:8,color:[20,89,127]}),this.stops=new R}};(0,i.Cg)([(0,g.MZ)({types:x.Y7})],P.prototype,"directionLines",void 0),(0,i.Cg)([(0,g.MZ)({types:x.wC})],P.prototype,"directionPoints",void 0),(0,i.Cg)([(0,g.MZ)({types:x.wC})],P.prototype,"pointBarriers",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Ac})],P.prototype,"polygonBarriers",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Y7})],P.prototype,"polylineBarriers",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Y7})],P.prototype,"routeInfo",void 0),(0,i.Cg)([(0,g.MZ)({type:R})],P.prototype,"stops",void 0),P=(0,i.Cg)([(0,g.$K)("esri.layers.support.RouteSymbols")],P);var E=r(20655),_=r(80812),L=r(10407),J=r(65494),U=r(11254),k=r(2272),$=r(2073),W=r(93223);let V=class extends Z.o{constructor(e){super(e),this.dataType=null,this.name=null,this.parameterNames=null,this.restrictionUsageParameterName=null,this.timeNeutralAttributeName=null,this.trafficSupport=null,this.units=null,this.usageType=null}};(0,i.Cg)([(0,g.MZ)({type:String})],V.prototype,"dataType",void 0),(0,i.Cg)([(0,W.e)($.et,{ignoreUnknown:!1})],V.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({type:[String]})],V.prototype,"parameterNames",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],V.prototype,"restrictionUsageParameterName",void 0),(0,i.Cg)([(0,W.e)($.Mm,{ignoreUnknown:!1})],V.prototype,"timeNeutralAttributeName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],V.prototype,"trafficSupport",void 0),(0,i.Cg)([(0,W.e)($.dn)],V.prototype,"units",void 0),(0,i.Cg)([(0,W.e)($.WU)],V.prototype,"usageType",void 0),V=(0,i.Cg)([(0,g.$K)("esri.rest.support.NetworkAttribute")],V);const G=V;let q=class extends Z.o{constructor(e){super(e),this.buildTime=null,this.name=null,this.networkAttributes=null,this.networkSources=null,this.state=null}};(0,i.Cg)([(0,g.MZ)({type:Number})],q.prototype,"buildTime",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],q.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({type:[G]})],q.prototype,"networkAttributes",void 0),(0,i.Cg)([(0,g.MZ)()],q.prototype,"networkSources",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],q.prototype,"state",void 0),q=(0,i.Cg)([(0,g.$K)("esri.rest.support.NetworkDataset")],q);const K=q;var z=r(69540),Y=r(36005),H=r(43937);let X=class extends((0,z.OU)(Z.o)){constructor(e){super(e),this.attributeParameterValues=null,this.description=null,this.distanceAttributeName=null,this.id=null,this.impedanceAttributeName=null,this.name=null,this.restrictionAttributeNames=null,this.simplificationTolerance=null,this.simplificationToleranceUnits=null,this.timeAttributeName=null,this.type=null,this.useHierarchy=null,this.uturnAtJunctions=null}readId(e,t){return t.id??t.itemId??null}readRestrictionAttributes(e,t){const{restrictionAttributeNames:r}=t;return null==r?null:r.map(e=>$.OC.fromJSON(e))}writeRestrictionAttributes(e,t,r){null!=e&&(t[r]=e.map(e=>$.OC.toJSON(e)))}};(0,i.Cg)([(0,g.MZ)({type:[Object],json:{write:!0}})],X.prototype,"attributeParameterValues",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],X.prototype,"description",void 0),(0,i.Cg)([(0,W.e)($.dd,{ignoreUnknown:!1})],X.prototype,"distanceAttributeName",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],X.prototype,"id",void 0),(0,i.Cg)([(0,Y.w)("id",["id","itemId"])],X.prototype,"readId",null),(0,i.Cg)([(0,W.e)($.et,{ignoreUnknown:!1})],X.prototype,"impedanceAttributeName",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],X.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({type:[String],json:{write:!0}})],X.prototype,"restrictionAttributeNames",void 0),(0,i.Cg)([(0,Y.w)("restrictionAttributeNames")],X.prototype,"readRestrictionAttributes",null),(0,i.Cg)([(0,H.K)("restrictionAttributeNames")],X.prototype,"writeRestrictionAttributes",null),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:{allowNull:!0}}})],X.prototype,"simplificationTolerance",void 0),(0,i.Cg)([(0,W.e)($.hY)],X.prototype,"simplificationToleranceUnits",void 0),(0,i.Cg)([(0,W.e)($.Mm,{ignoreUnknown:!1})],X.prototype,"timeAttributeName",void 0),(0,i.Cg)([(0,W.e)($.ow)],X.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],X.prototype,"useHierarchy",void 0),(0,i.Cg)([(0,W.e)($.hE)],X.prototype,"uturnAtJunctions",void 0),X=(0,i.Cg)([(0,g.$K)("esri.rest.support.TravelMode")],X);let Q=class extends Z.o{constructor(e){super(e),this.accumulateAttributeNames=null,this.attributeParameterValues=null,this.currentVersion=null,this.defaultTravelMode=null,this.directionsLanguage=null,this.directionsLengthUnits=null,this.directionsSupportedLanguages=null,this.directionsTimeAttribute=null,this.hasZ=null,this.impedance=null,this.networkDataset=null,this.supportedTravelModes=null}readAccumulateAttributes(e){return null==e?null:e.map(e=>$.et.fromJSON(e))}writeAccumulateAttributes(e,t,r){e?.length&&(t[r]=e.map(e=>$.et.toJSON(e)))}get capabilities(){return{supportsNow:(this.currentVersion??10)>=10.81}}readDefaultTravelMode(e,t){const r=t.supportedTravelModes?.find(({id:e})=>e===t.defaultTravelMode)??t.supportedTravelModes?.find(({itemId:e})=>e===t.defaultTravelMode);return r?X.fromJSON(r):null}};function ee(e,t,r,i){i[r]=[t.length,t.length+e.length],e.forEach(e=>{t.push(e.geometry)})}async function te(e,t,r){if(!e)throw new u.A("network-service:missing-url","Url to Network service is missing");const i=(0,k.jV)({f:"json",token:t},r),{data:o}=await(0,U.A)(e,i),n=o.currentVersion>=10.4?async function(e,t,r){try{const i=(0,k.jV)({f:"json",token:t},r),o=(0,h.UC)(e)+"/retrieveTravelModes",{data:{supportedTravelModes:n,defaultTravelMode:s}}=await(0,U.A)(o,i);return{supportedTravelModes:n,defaultTravelMode:s}}catch(e){throw new u.A("network-service:retrieveTravelModes","Could not get to the NAServer's retrieveTravelModes.",{error:e})}}(e,t,r):async function(e,t){const r=(0,k.jV)({f:"json"},t),{data:i}=await(0,U.A)(e.replace(/\/rest\/.*$/i,"/info"),r);if(!i?.owningSystemUrl)return{supportedTravelModes:[],defaultTravelMode:null};const{owningSystemUrl:o}=i,n=(0,h.UC)(o)+"/sharing/rest/portals/self",{data:s}=await(0,U.A)(n,r),a=(0,d.wc)("helperServices.routingUtilities.url",s);if(!a)return{supportedTravelModes:[],defaultTravelMode:null};const l=(0,k.Dl)(o),u=/\/solve$/i.test(l.path)?"Route":/\/solveclosestfacility$/i.test(l.path)?"ClosestFacility":"ServiceAreas",p=(0,k.jV)({f:"json",serviceName:u},t),c=(0,h.UC)(a)+"/GetTravelModes/execute",y=await(0,U.A)(c,p),m=[];let f=null;if(y?.data?.results?.length){const e=y.data.results;for(const t of e)if("supportedTravelModes"===t.paramName){if(t.value?.features)for(const{attributes:e}of t.value.features)if(e){const t=JSON.parse(e.TravelMode);m.push(t)}}else"defaultTravelMode"===t.paramName&&(f=t.value)}return{supportedTravelModes:m,defaultTravelMode:f}}(e,r),{defaultTravelMode:s,supportedTravelModes:a}=await n;return o.defaultTravelMode=s,o.supportedTravelModes=a,Q.fromJSON(o)}(0,i.Cg)([(0,g.MZ)()],Q.prototype,"accumulateAttributeNames",void 0),(0,i.Cg)([(0,Y.w)("accumulateAttributeNames")],Q.prototype,"readAccumulateAttributes",null),(0,i.Cg)([(0,H.K)("accumulateAttributeNames")],Q.prototype,"writeAccumulateAttributes",null),(0,i.Cg)([(0,g.MZ)()],Q.prototype,"attributeParameterValues",void 0),(0,i.Cg)([(0,g.MZ)()],Q.prototype,"capabilities",null),(0,i.Cg)([(0,g.MZ)()],Q.prototype,"currentVersion",void 0),(0,i.Cg)([(0,g.MZ)()],Q.prototype,"defaultTravelMode",void 0),(0,i.Cg)([(0,Y.w)("defaultTravelMode",["defaultTravelMode","supportedTravelModes"])],Q.prototype,"readDefaultTravelMode",null),(0,i.Cg)([(0,g.MZ)()],Q.prototype,"directionsLanguage",void 0),(0,i.Cg)([(0,W.e)($.Z7)],Q.prototype,"directionsLengthUnits",void 0),(0,i.Cg)([(0,g.MZ)()],Q.prototype,"directionsSupportedLanguages",void 0),(0,i.Cg)([(0,W.e)($.Mm,{ignoreUnknown:!1})],Q.prototype,"directionsTimeAttribute",void 0),(0,i.Cg)([(0,g.MZ)()],Q.prototype,"hasZ",void 0),(0,i.Cg)([(0,W.e)($.et,{ignoreUnknown:!1})],Q.prototype,"impedance",void 0),(0,i.Cg)([(0,g.MZ)({type:K})],Q.prototype,"networkDataset",void 0),(0,i.Cg)([(0,g.MZ)({type:[X]})],Q.prototype,"supportedTravelModes",void 0),Q=(0,i.Cg)([(0,g.$K)("esri.rest.support.NetworkServiceDescription")],Q);var re=r(16649),ie=r(17136);function oe(e,t){if(null==e)return null;const r={},i=new RegExp(`^${t}`,"i");for(const o of Object.keys(e))if(i.test(o)){const i=o.slice(t.length);r[$.et.fromJSON(i)]=e[o]}return r}function ne(e,t,r){if(null!=e){t.attributes||(t.attributes={});for(const i in e){const o=$.et.toJSON(i);t.attributes[`${r}${o}`]=e[i]}}}function se(e){const t={};for(const r of Object.keys(e)){const i=r;t[$.et.fromJSON(i)]=e[r]}return t}function ae(e){const t={};for(const r of Object.keys(e)){const i=r;t[$.et.toJSON(i)]=e[r]}return t}function le(e,t){return null==e||null==t?null:Math.round((e-t)/6e4)}function ue(e){const t=e.toJSON(),r=t;return r.accumulateAttributeNames&&=t.accumulateAttributeNames?.join(),r.attributeParameterValues&&=JSON.stringify(t.attributeParameterValues),r.barriers&&=JSON.stringify(t.barriers),r.locateSettings&&=JSON.stringify(t.locateSettings),r.outSR&&=t.outSR?.wkid,r.overrides&&=JSON.stringify(t.overrides),r.polygonBarriers&&=JSON.stringify(t.polygonBarriers),r.polylineBarriers&&=JSON.stringify(t.polylineBarriers),r.restrictionAttributeNames&&=t.restrictionAttributeNames?.join(),r.stops&&=JSON.stringify(t.stops),r.travelMode&&=JSON.stringify(t.travelMode),r}var pe=r(22671),ce=r(66552),de=r(37807);const ye=new ce.J({0:"informative",1:"process-definition",2:"process-start",3:"process-stop",50:"warning",100:"error",101:"empty",200:"abort"});let me=class extends de.A{constructor(e){super(e),this.type=null}};(0,i.Cg)([(0,g.MZ)({type:String,json:{read:ye.read,write:ye.write}})],me.prototype,"type",void 0),me=(0,i.Cg)([(0,g.$K)("esri.rest.support.NAMessage")],me);const fe=me;var he=r(82799),ge=r(86738);let ve=class extends Z.o{constructor(e){super(e)}};(0,i.Cg)([(0,g.MZ)({json:{read:{source:"string"}}})],ve.prototype,"text",void 0),(0,i.Cg)([(0,W.e)($.Ec,{name:"stringType"})],ve.prototype,"type",void 0),ve=(0,i.Cg)([(0,g.$K)("esri.rest.support.DirectionsString")],ve);const be=ve;let we=class extends Z.o{constructor(e){super(e),this.arriveTime=null,this.arriveTimeOffset=null,this.geometry=null,this.strings=null}readArriveTimeOffset(e,t){return le(t.ETA,t.arriveTimeUTC)}readGeometry(e,t){return ge.A.fromJSON(t.point)}};(0,i.Cg)([(0,g.MZ)({type:Date,json:{read:{source:"arriveTimeUTC"}}})],we.prototype,"arriveTime",void 0),(0,i.Cg)([(0,g.MZ)()],we.prototype,"arriveTimeOffset",void 0),(0,i.Cg)([(0,Y.w)("arriveTimeOffset",["arriveTimeUTC","ETA"])],we.prototype,"readArriveTimeOffset",null),(0,i.Cg)([(0,g.MZ)({type:ge.A})],we.prototype,"geometry",void 0),(0,i.Cg)([(0,Y.w)("geometry",["point"])],we.prototype,"readGeometry",null),(0,i.Cg)([(0,g.MZ)({type:[be]})],we.prototype,"strings",void 0),we=(0,i.Cg)([(0,g.$K)("esri.rest.support.DirectionsEvent")],we);const Ce=we;let Te=class extends n.A{constructor(e){super(e),this.events=null,this.geometry=null,this.strings=null}set attributes(e){super.attributes=e}readGeometry(e,t){const r=function(e){if(null==e||""===e)return null;let t=0,r=0,i=0,o=0;const n=[];let s,a,l,u,p,c,d,y,m=0,f=0,h=0;if(p=e.match(/((\+|-)[^+\-|]+|\|)/g),p||(p=[]),0===parseInt(p[m],32)){m=2;const e=parseInt(p[m],32);m++,c=parseInt(p[m],32),m++,1&e&&(f=p.indexOf("|")+1,d=parseInt(p[f],32),f++),2&e&&(h=p.indexOf("|",f)+1,y=parseInt(p[h],32),h++)}else c=parseInt(p[m],32),m++;for(;m<p.length&&"|"!==p[m];){s=parseInt(p[m],32)+t,m++,t=s,a=parseInt(p[m],32)+r,m++,r=a;const e=[s/c,a/c];f&&(u=parseInt(p[f],32)+i,f++,i=u,e.push(u/d)),h&&(l=parseInt(p[h],32)+o,h++,o=l,e.push(l/y)),n.push(e)}return{paths:[n],hasZ:f>0,hasM:h>0}}(t.compressedGeometry);return null!=r?he.A.fromJSON(r):null}};(0,i.Cg)([(0,g.MZ)({type:[Ce]})],Te.prototype,"events",void 0),(0,i.Cg)([(0,g.MZ)({type:he.A})],Te.prototype,"geometry",void 0),(0,i.Cg)([(0,Y.w)("geometry",["compressedGeometry"])],Te.prototype,"readGeometry",null),(0,i.Cg)([(0,g.MZ)({type:[be]})],Te.prototype,"strings",void 0),Te=(0,i.Cg)([(0,g.$K)("esri.rest.support.DirectionsFeature")],Te);const Se=Te;let Me=class extends pe.A{constructor(e){super(e),this.extent=null,this.features=[],this.geometryType="polyline",this.routeId=null,this.routeName=null,this.totalDriveTime=null,this.totalLength=null,this.totalTime=null}readFeatures(e,t){if(!e)return[];const r=t.summary.envelope.spatialReference??t.spatialReference,i=r&&T.A.fromJSON(r);return e.map(e=>{const t=Se.fromJSON(e);if(null!=t.geometry&&(t.geometry.spatialReference=i),null!=t.events)for(const e of t.events)null!=e.geometry&&(e.geometry.spatialReference=i);return t})}get mergedGeometry(){return this.features?function(e,t){if(0===e.length)return new he.A({spatialReference:t});const r=[];for(const t of e)for(const e of t.paths)r.push(...e);const i=[];r.forEach((e,t)=>{0!==t&&e[0]===r[t-1][0]&&e[1]===r[t-1][1]||i.push(e)});const{hasM:o,hasZ:n}=e[0];return new he.A({hasM:o,hasZ:n,paths:[i],spatialReference:t})}(this.features.map(({geometry:e})=>e),this.extent.spatialReference):null}get strings(){return this.features.flatMap(({strings:e})=>e).filter(a.Ru)}};(0,i.Cg)([(0,g.MZ)({type:b.A,json:{read:{source:"summary.envelope"}}})],Me.prototype,"extent",void 0),(0,i.Cg)([(0,g.MZ)({nonNullable:!0})],Me.prototype,"features",void 0),(0,i.Cg)([(0,Y.w)("features")],Me.prototype,"readFeatures",null),(0,i.Cg)([(0,g.MZ)()],Me.prototype,"geometryType",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Me.prototype,"mergedGeometry",null),(0,i.Cg)([(0,g.MZ)()],Me.prototype,"routeId",void 0),(0,i.Cg)([(0,g.MZ)()],Me.prototype,"routeName",void 0),(0,i.Cg)([(0,g.MZ)({value:null,readOnly:!0})],Me.prototype,"strings",null),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"summary.totalDriveTime"}}})],Me.prototype,"totalDriveTime",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"summary.totalLength"}}})],Me.prototype,"totalLength",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"summary.totalTime"}}})],Me.prototype,"totalTime",void 0),Me=(0,i.Cg)([(0,g.$K)("esri.rest.support.DirectionsFeatureSet")],Me);const Ae=Me;let Ie=class extends Z.o{constructor(e){super(e),this.directionLines=null,this.directionPoints=null,this.directions=null,this.route=null,this.routeName=null,this.stops=null,this.traversedEdges=null,this.traversedJunctions=null,this.traversedTurns=null}};(0,i.Cg)([(0,g.MZ)({type:pe.A,json:{write:!0}})],Ie.prototype,"directionLines",void 0),(0,i.Cg)([(0,g.MZ)({type:pe.A,json:{write:!0}})],Ie.prototype,"directionPoints",void 0),(0,i.Cg)([(0,g.MZ)({type:Ae,json:{write:!0}})],Ie.prototype,"directions",void 0),(0,i.Cg)([(0,g.MZ)({type:n.A,json:{write:!0}})],Ie.prototype,"route",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Ie.prototype,"routeName",void 0),(0,i.Cg)([(0,g.MZ)({type:[n.A],json:{write:!0}})],Ie.prototype,"stops",void 0),(0,i.Cg)([(0,g.MZ)({type:pe.A,json:{write:!0}})],Ie.prototype,"traversedEdges",void 0),(0,i.Cg)([(0,g.MZ)({type:pe.A,json:{write:!0}})],Ie.prototype,"traversedJunctions",void 0),(0,i.Cg)([(0,g.MZ)({type:pe.A,json:{write:!0}})],Ie.prototype,"traversedTurns",void 0),Ie=(0,i.Cg)([(0,g.$K)("esri.rest.support.RouteResult")],Ie);const Oe=Ie;function Ne(e){return e?pe.A.fromJSON(e).features.filter(a.Ru):[]}let je=class extends Z.o{constructor(e){super(e),this.checksum=null,this.messages=null,this.pointBarriers=null,this.polylineBarriers=null,this.polygonBarriers=null,this.routeResults=null}readPointBarriers(e,t){return Ne(t.barriers)}readPolylineBarriers(e){return Ne(e)}readPolygonBarriers(e){return Ne(e)}};function Ze(e){return e instanceof pe.A}async function De(e,t,r){const i=[],o=[],n={},s={},a=(0,k.Dl)(e),{path:l}=a;Ze(t.stops)&&ee(t.stops.features,o,"stops.features",n),Ze(t.pointBarriers)&&ee(t.pointBarriers.features,o,"pointBarriers.features",n),Ze(t.polylineBarriers)&&ee(t.polylineBarriers.features,o,"polylineBarriers.features",n),Ze(t.polygonBarriers)&&ee(t.polygonBarriers.features,o,"polygonBarriers.features",n);const u=await(0,ie.el)(o);for(const e in n){const t=n[e];i.push(e),s[e]=u.slice(t[0],t[1])}if(function(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)if(null!=e&&e.hasZ)return!0}return!1}(s,i)){let e=null;try{e=await te(l,t.apiKey,r)}catch{}e&&!e.hasZ&&function(e,t){for(let r=0;r<t.length;r++){const i=e[t[r]];if(i&&i.length)for(const e of i)e.z=void 0}p.A.getLogger("esri.rest.networkService").warnOnce("The remote Network Analysis service is powered by a network dataset which is not Z-aware.\nZ-coordinates of the input geometry are ignored.")}(s,i)}for(const e in s)s[e].forEach((r,i)=>{(0,re.Jt)(t,e)[i].geometry=r});const c={...r,query:{...a.query,...ue(t),f:"json"}},d=l.endsWith("/solve")?l:`${l}/solve`,{data:y}=await(0,U.A)(d,c);return function(e){const{barriers:t,checksum:r,directionLines:i,directionPoints:o,directions:n,messages:s,polygonBarriers:a,polylineBarriers:l,routes:u,stops:p,traversedEdges:c,traversedJunctions:d,traversedTurns:y}=e,m=e=>{const t=h.find(t=>t.routeName===e);if(null!=t)return t;const r={routeId:h.length+1,routeName:e};return h.push(r),r},f=e=>{const t=h.find(t=>t.routeId===e);if(null!=t)return t;const r={routeId:e,routeName:null};return h.push(r),r},h=[];u?.features.forEach((e,t)=>{e.geometry.spatialReference=u.spatialReference??void 0;const r=e.attributes.Name,i=t+1;h.push({routeId:i,routeName:r,route:e})}),n?.forEach(e=>{const{routeName:t}=e;m(t).directions=e});const g=p?.features.every(e=>null==e.attributes.RouteName)&&h.length>0?h[0].routeName:null;return p?.features.forEach(e=>{e.geometry&&(e.geometry.spatialReference??=p.spatialReference??void 0);const t=g??e.attributes.RouteName,r=m(t);r.stops??=[],r.stops.push(e)}),i?.features.forEach(e=>{const t=e.attributes.RouteID,r=f(t),{geometryType:o,spatialReference:n}=i;r.directionLines??={features:[],geometryType:o,spatialReference:n},r.directionLines.features.push(e)}),o?.features.forEach(e=>{const t=e.attributes.RouteID,r=f(t),{geometryType:i,spatialReference:n}=o;r.directionPoints??={features:[],geometryType:i,spatialReference:n},r.directionPoints.features.push(e)}),c?.features.forEach(e=>{const t=e.attributes.RouteID,r=f(t),{geometryType:i,spatialReference:o}=c;r.traversedEdges??={features:[],geometryType:i,spatialReference:o},r.traversedEdges.features.push(e)}),d?.features.forEach(e=>{const t=e.attributes.RouteID,r=f(t),{geometryType:i,spatialReference:o}=d;r.traversedJunctions??={features:[],geometryType:i,spatialReference:o},r.traversedJunctions.features.push(e)}),y?.features.forEach(e=>{const t=e.attributes.RouteID,r=f(t);r.traversedTurns??={features:[]},r.traversedTurns.features.push(e)}),je.fromJSON({barriers:t,checksum:r,messages:s,polygonBarriers:a,polylineBarriers:l,routeResults:h})}(y)}var xe;(0,i.Cg)([(0,g.MZ)({type:String})],je.prototype,"checksum",void 0),(0,i.Cg)([(0,g.MZ)({type:[fe]})],je.prototype,"messages",void 0),(0,i.Cg)([(0,g.MZ)({type:[n.A]})],je.prototype,"pointBarriers",void 0),(0,i.Cg)([(0,Y.w)("pointBarriers",["barriers"])],je.prototype,"readPointBarriers",null),(0,i.Cg)([(0,g.MZ)({type:[n.A]})],je.prototype,"polylineBarriers",void 0),(0,i.Cg)([(0,Y.w)("polylineBarriers")],je.prototype,"readPolylineBarriers",null),(0,i.Cg)([(0,g.MZ)({type:[n.A]})],je.prototype,"polygonBarriers",void 0),(0,i.Cg)([(0,Y.w)("polygonBarriers")],je.prototype,"readPolygonBarriers",null),(0,i.Cg)([(0,g.MZ)({type:[Oe]})],je.prototype,"routeResults",void 0),je=(0,i.Cg)([(0,g.$K)("esri.rest.support.RouteSolveResult")],je);let Re=class extends((0,z.OU)(Z.o)){static{xe=this}constructor(e){super(e),this.directionLineType=null,this.directionPointId=null,this.distance=null,this.duration=null,this.fromLevel=null,this.geometry=null,this.objectId=null,this.popupTemplate=null,this.symbol=null,this.toLevel=null,this.type="direction-line"}static{this.fields=[{name:"ObjectID",alias:"ObjectID",type:"esriFieldTypeOID"},{name:"DirectionLineType",alias:"Line Type",type:"esriFieldTypeInteger"},{name:"DirectionPointID",alias:"Direction Point ID",type:"esriFieldTypeInteger"},{name:"FromLevel",alias:"From Level",type:"esriFieldTypeInteger"},{name:"Meters",alias:"Meters",type:"esriFieldTypeDouble"},{name:"Minutes",alias:"Minutes",type:"esriFieldTypeDouble"},{name:"ToLevel",alias:"To Level",type:"esriFieldTypeInteger"}]}static fromGraphic(e){return new xe({directionLineType:$.gD.fromJSON(e.attributes.DirectionLineType),directionPointId:e.attributes.DirectionPointID,distance:e.attributes.Meters,duration:e.attributes.Minutes,fromLevel:e.attributes.FromLevel??null,geometry:e.geometry,objectId:e.attributes.ObjectID??e.attributes.__OBJECTID,popupTemplate:e.popupTemplate,symbol:e.symbol,toLevel:e.attributes.ToLevel??null})}toGraphic(){const e={ObjectID:this.objectId,DirectionLineType:this.directionLineType?$.gD.toJSON(this.directionLineType):null,DirectionPointID:this.directionPointId,Meters:this.distance,Minutes:this.duration};return null!=this.fromLevel&&(e.FromLevel=this.fromLevel),null!=this.toLevel&&(e.ToLevel=this.toLevel),new n.A({geometry:this.geometry,attributes:e,symbol:this.symbol,popupTemplate:this.popupTemplate})}};var Be;(0,i.Cg)([(0,g.MZ)({type:$.gD.apiValues,json:{read:{source:"attributes.DirectionLineType",reader:$.gD.read}}})],Re.prototype,"directionLineType",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.DirectionPointID"}}})],Re.prototype,"directionPointId",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.Meters"}}})],Re.prototype,"distance",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.Minutes"}}})],Re.prototype,"duration",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.FromLevel"}}})],Re.prototype,"fromLevel",void 0),(0,i.Cg)([(0,g.MZ)({type:he.A})],Re.prototype,"geometry",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.ObjectID"}}})],Re.prototype,"objectId",void 0),(0,i.Cg)([(0,g.MZ)({type:s.A})],Re.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Es})],Re.prototype,"symbol",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.ToLevel"}}})],Re.prototype,"toLevel",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],Re.prototype,"type",void 0),Re=xe=(0,i.Cg)([(0,g.$K)("esri.rest.support.DirectionLine")],Re);let Fe=class extends((0,z.OU)(Z.o)){static{Be=this}constructor(e){super(e),this.alternateName=null,this.arrivalTime=null,this.arrivalTimeOffset=null,this.azimuth=null,this.branchName=null,this.directionPointType=null,this.displayText=null,this.exitName=null,this.geometry=null,this.intersectingName=null,this.level=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.sequence=null,this.shortVoiceInstruction=null,this.stopId=null,this.symbol=null,this.towardName=null,this.type="direction-point",this.voiceInstruction=null}readArrivalTime(e,t){return null!=t.attributes.ArrivalTime?new Date(t.attributes.ArrivalTime):null}static{this.fields=[{name:"ObjectID",alias:"ObjectID",type:"esriFieldTypeOID"},{name:"AlternateName",alias:"Alternative Name",type:"esriFieldTypeString"},{name:"ArrivalTime",alias:"Arrival Time",type:"esriFieldTypeDate"},{name:"ArrivalUTCOffset",alias:"Arrival Time Offset",type:"esriFieldTypeInteger"},{name:"Azimuth",alias:"Azimuth",type:"esriFieldTypeDouble"},{name:"BranchName",alias:"Branch Name",type:"esriFieldTypeString"},{name:"DirectionPointType",alias:"Directions Point Type",type:"esriFieldTypeInteger"},{name:"DisplayText",alias:"Display Text",type:"esriFieldTypeString"},{name:"ExitName",alias:"Exit Name",type:"esriFieldTypeString"},{name:"IntersectingName",alias:"Intersecting Name",type:"esriFieldTypeString"},{name:"Level",alias:"Level",type:"esriFieldTypeInteger"},{name:"Name",alias:"Name",type:"esriFieldTypeString"},{name:"Sequence",alias:"Sequence",type:"esriFieldTypeInteger"},{name:"ShortVoiceInstruction",alias:"Short Voice Instruction",type:"esriFieldTypeString"},{name:"StopID",alias:"Stop ID",type:"esriFieldTypeInteger"},{name:"TowardName",alias:"Toward Name",type:"esriFieldTypeString"},{name:"VoiceInstruction",alias:"Voice Instruction",type:"esriFieldTypeString"}]}static fromGraphic(e){return new Be({alternateName:e.attributes.AlternateName??null,arrivalTime:null!=e.attributes.ArrivalTime?new Date(e.attributes.ArrivalTime):null,arrivalTimeOffset:e.attributes.ArrivalUTCOffset??null,azimuth:e.attributes.Azimuth??null,branchName:e.attributes.BranchName??null,directionPointType:$._6.fromJSON(e.attributes.DirectionPointType),displayText:e.attributes.DisplayText??null,exitName:e.attributes.ExitName??null,geometry:e.geometry,intersectingName:e.attributes.IntersectingName??null,level:e.attributes.Level??null,name:e.attributes.Name??null,objectId:e.attributes.ObjectID??e.attributes.__OBJECTID,popupTemplate:e.popupTemplate,sequence:e.attributes.Sequence,shortVoiceInstruction:e.attributes.ShortVoiceInstruction??null,stopId:e.attributes.StopID??null,symbol:e.symbol,towardName:e.attributes.TowardName??null,voiceInstruction:e.attributes.VoiceInstruction??null})}toGraphic(){const e={ObjectID:this.objectId,DirectionPointType:this.directionPointType?$._6.toJSON(this.directionPointType):null,Sequence:this.sequence,StopID:this.stopId};return null!=this.alternateName&&(e.AlternateName=this.alternateName),null!=this.arrivalTime&&(e.ArrivalTime=this.arrivalTime.getTime()),null!=this.arrivalTimeOffset&&(e.ArrivalUTCOffset=this.arrivalTimeOffset),null!=this.azimuth&&(e.Azimuth=this.azimuth),null!=this.branchName&&(e.BranchName=this.branchName),null!=this.displayText&&(e.DisplayText=this.displayText),null!=this.exitName&&(e.ExitName=this.exitName),null!=this.intersectingName&&(e.IntersectingName=this.intersectingName),null!=this.level&&(e.Level=this.level),null!=this.name&&(e.Name=this.name),null!=this.shortVoiceInstruction&&(e.ShortVoiceInstruction=this.shortVoiceInstruction),null!=this.towardName&&(e.TowardName=this.towardName),null!=this.voiceInstruction&&(e.VoiceInstruction=this.voiceInstruction),new n.A({geometry:this.geometry,attributes:e,symbol:this.symbol,popupTemplate:this.popupTemplate})}};var Pe;(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.AlternateName"}}})],Fe.prototype,"alternateName",void 0),(0,i.Cg)([(0,g.MZ)({type:Date})],Fe.prototype,"arrivalTime",void 0),(0,i.Cg)([(0,Y.w)("arrivalTime",["attributes.ArrivalTime"])],Fe.prototype,"readArrivalTime",null),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.ArrivalUTCOffset"}}})],Fe.prototype,"arrivalTimeOffset",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.Azimuth"}}})],Fe.prototype,"azimuth",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.BranchName"}}})],Fe.prototype,"branchName",void 0),(0,i.Cg)([(0,g.MZ)({type:$._6.apiValues,json:{read:{source:"attributes.DirectionPointType",reader:$._6.read}}})],Fe.prototype,"directionPointType",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.DisplayText"}}})],Fe.prototype,"displayText",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.ExitName"}}})],Fe.prototype,"exitName",void 0),(0,i.Cg)([(0,g.MZ)({type:ge.A})],Fe.prototype,"geometry",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.IntersectingName"}}})],Fe.prototype,"intersectingName",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.Level"}}})],Fe.prototype,"level",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.Name"}}})],Fe.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.ObjectID"}}})],Fe.prototype,"objectId",void 0),(0,i.Cg)([(0,g.MZ)({type:s.A})],Fe.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.Sequence"}}})],Fe.prototype,"sequence",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.ShortVoiceInstruction"}}})],Fe.prototype,"shortVoiceInstruction",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.StopID"}}})],Fe.prototype,"stopId",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Es})],Fe.prototype,"symbol",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.TowardName"}}})],Fe.prototype,"towardName",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],Fe.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.VoiceInstruction"}}})],Fe.prototype,"voiceInstruction",void 0),Fe=Be=(0,i.Cg)([(0,g.$K)("esri.rest.support.DirectionPoint")],Fe);let Ee=class extends((0,z.OU)(Z.o)){static{Pe=this}constructor(e){super(e),this.addedCost=null,this.barrierType=null,this.costs=null,this.curbApproach=null,this.fullEdge=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.positionAlong=null,this.sideOfEdge=null,this.sourceId=null,this.sourceOid=null,this.status=null,this.symbol=null,this.type="point-barrier"}readCosts(e,t){return oe(t.attributes,"Attr_")}writeCosts(e,t){ne(e,t,"Attr_")}set geometry(e){this._get("geometry")&&(this._set("positionAlong",null),this._set("sideOfEdge",null),this._set("sourceId",null),this._set("sourceOid",null),this._set("status",null)),this._set("geometry",e)}static{this.fields=[{name:"ObjectID",alias:"ObjectID",type:"esriFieldTypeOID"},{name:"AddedCost",alias:"Added Cost",type:"esriFieldTypeDouble"},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger"},{name:"Costs",alias:"Costs",type:"esriFieldTypeString"},{name:"CurbApproach",alias:"Curb Approach",type:"esriFieldTypeInteger"},{name:"FullEdge",alias:"Full Edge",type:"esriFieldTypeInteger"},{name:"Name",alias:"Name",type:"esriFieldTypeString"},{name:"Status",alias:"Status",type:"esriFieldTypeInteger"}]}static fromGraphic(e){return new Pe({addedCost:e.attributes.AddedCost??null,barrierType:null!=e.attributes.BarrierType?$.iM.fromJSON(e.attributes.BarrierType):null,costs:null!=e.attributes.Costs?se(JSON.parse(e.attributes.Costs)):null,curbApproach:null!=e.attributes.CurbApproach?$.JJ.fromJSON(e.attributes.CurbApproach):null,fullEdge:null!=e.attributes.FullEdge?$.fe.fromJSON(e.attributes.FullEdge):null,geometry:e.geometry,name:e.attributes.Name??null,objectId:e.attributes.ObjectID??e.attributes.__OBJECTID,popupTemplate:e.popupTemplate,status:null!=e.attributes.Status?$.$r.fromJSON(e.attributes.Status):null,symbol:e.symbol})}toGraphic(){const e={ObjectID:this.objectId,AddedCost:this.addedCost,BarrierType:this.barrierType?$.iM.toJSON(this.barrierType):null,Costs:this.costs?JSON.stringify(ae(this.costs)):null,CurbApproach:this.curbApproach?$.JJ.toJSON(this.curbApproach):null,FullEdge:this.fullEdge?$.fe.toJSON(this.fullEdge):null,Name:this.name,Status:this.status?$.$r.toJSON(this.status):null};return new n.A({geometry:this.geometry,attributes:e,symbol:this.symbol,popupTemplate:this.popupTemplate})}};(0,i.Cg)([(0,g.MZ)()],Ee.prototype,"addedCost",void 0),(0,i.Cg)([(0,g.MZ)({type:$.iM.apiValues,json:{name:"attributes.BarrierType",read:{reader:$.iM.read},write:{writer:$.iM.write}}})],Ee.prototype,"barrierType",void 0),(0,i.Cg)([(0,g.MZ)()],Ee.prototype,"costs",void 0),(0,i.Cg)([(0,Y.w)("costs",["attributes"])],Ee.prototype,"readCosts",null),(0,i.Cg)([(0,H.K)("costs")],Ee.prototype,"writeCosts",null),(0,i.Cg)([(0,g.MZ)({type:$.JJ.apiValues,json:{read:{source:"attributes.CurbApproach",reader:$.JJ.read}}})],Ee.prototype,"curbApproach",void 0),(0,i.Cg)([(0,g.MZ)({type:$.fe.apiValues,json:{name:"attributes.FullEdge",read:{reader:$.fe.read},write:{writer:$.fe.write}}})],Ee.prototype,"fullEdge",void 0),(0,i.Cg)([(0,g.MZ)({type:ge.A,json:{write:!0},value:null})],Ee.prototype,"geometry",null),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.Name"}})],Ee.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.ObjectID"}})],Ee.prototype,"objectId",void 0),(0,i.Cg)([(0,g.MZ)({type:s.A})],Ee.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.PosAlong"}})],Ee.prototype,"positionAlong",void 0),(0,i.Cg)([(0,g.MZ)({type:$.mt.apiValues,json:{name:"attributes.SideOfEdge",read:{reader:$.mt.read},write:{writer:$.mt.write}}})],Ee.prototype,"sideOfEdge",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.SourceID"}})],Ee.prototype,"sourceId",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.SourceOID"}})],Ee.prototype,"sourceOid",void 0),(0,i.Cg)([(0,g.MZ)({type:$.$r.apiValues,json:{read:{source:"attributes.Status",reader:$.$r.read}}})],Ee.prototype,"status",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Es})],Ee.prototype,"symbol",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],Ee.prototype,"type",void 0),Ee=Pe=(0,i.Cg)([(0,g.$K)("esri.rest.support.PointBarrier")],Ee);var _e,Le=r(39829);let Je=class extends((0,z.OU)(Z.o)){static{_e=this}constructor(e){super(e),this.barrierType=null,this.costs=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.scaleFactor=null,this.symbol=null,this.type="polygon-barrier"}readCosts(e,t){return oe(t.attributes,"Attr_")}writeCosts(e,t){ne(e,t,"Attr_")}static{this.fields=[{name:"ObjectID",alias:"ObjectID",type:"esriFieldTypeOID"},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger"},{name:"Costs",alias:"Costs",type:"esriFieldTypeString"},{name:"Name",alias:"Name",type:"esriFieldTypeString"},{name:"ScaleFactor",alias:"Scale Factor",type:"esriFieldTypeDouble"}]}static fromGraphic(e){return new _e({barrierType:null!=e.attributes.BarrierType?$.iM.fromJSON(e.attributes.BarrierType):null,costs:null!=e.attributes.Costs?se(JSON.parse(e.attributes.Costs)):null,geometry:e.geometry,name:e.attributes.Name??null,objectId:e.attributes.ObjectID??e.attributes.__OBJECTID,popupTemplate:e.popupTemplate,scaleFactor:e.attributes.ScaleFactor??null,symbol:e.symbol})}toGraphic(){const e={ObjectID:this.objectId,BarrierType:this.barrierType?$.iM.toJSON(this.barrierType):null,Costs:this.costs?JSON.stringify(ae(this.costs)):null,Name:this.name??null,ScaleFactor:this.scaleFactor??null};return new n.A({geometry:this.geometry,attributes:e,symbol:this.symbol,popupTemplate:this.popupTemplate})}};var Ue;(0,i.Cg)([(0,g.MZ)({type:$.iM.apiValues,json:{name:"attributes.BarrierType",read:{reader:$.iM.read},write:{writer:$.iM.write}}})],Je.prototype,"barrierType",void 0),(0,i.Cg)([(0,g.MZ)()],Je.prototype,"costs",void 0),(0,i.Cg)([(0,Y.w)("costs",["attributes"])],Je.prototype,"readCosts",null),(0,i.Cg)([(0,H.K)("costs")],Je.prototype,"writeCosts",null),(0,i.Cg)([(0,g.MZ)({type:Le.A,json:{write:!0}})],Je.prototype,"geometry",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.Name"}})],Je.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.ObjectID"}})],Je.prototype,"objectId",void 0),(0,i.Cg)([(0,g.MZ)({type:s.A})],Je.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)()],Je.prototype,"scaleFactor",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Es})],Je.prototype,"symbol",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],Je.prototype,"type",void 0),Je=_e=(0,i.Cg)([(0,g.$K)("esri.rest.support.PolygonBarrier")],Je);let ke=class extends((0,z.OU)(Z.o)){static{Ue=this}constructor(e){super(e),this.barrierType=null,this.costs=null,this.geometry=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.scaleFactor=null,this.symbol=null,this.type="polyline-barrier"}readCosts(e,t){return oe(t.attributes,"Attr_")}static{this.fields=[{name:"ObjectID",alias:"ObjectID",type:"esriFieldTypeOID"},{name:"BarrierType",alias:"Barrier Type",type:"esriFieldTypeInteger"},{name:"Costs",alias:"Costs",type:"esriFieldTypeString"},{name:"Name",alias:"Name",type:"esriFieldTypeString"},{name:"ScaleFactor",alias:"Scale Factor",type:"esriFieldTypeDouble"}]}static fromGraphic(e){return new Ue({barrierType:null!=e.attributes.BarrierType?$.iM.fromJSON(e.attributes.BarrierType):null,costs:null!=e.attributes.Costs?se(JSON.parse(e.attributes.Costs)):null,geometry:e.geometry,name:e.attributes.Name??null,objectId:e.attributes.ObjectID??e.attributes.__OBJECTID,popupTemplate:e.popupTemplate,scaleFactor:e.attributes.ScaleFactor??null,symbol:e.symbol})}toGraphic(){const e={ObjectID:this.objectId,BarrierType:this.barrierType?$.iM.toJSON(this.barrierType):null,Costs:this.costs?JSON.stringify(ae(this.costs)):null,Name:this.name,ScaleFactor:this.scaleFactor};return new n.A({geometry:this.geometry,attributes:e,symbol:this.symbol,popupTemplate:this.popupTemplate})}};(0,i.Cg)([(0,g.MZ)({type:$.iM.apiValues,json:{read:{source:"attributes.BarrierType",reader:$.iM.read}}})],ke.prototype,"barrierType",void 0),(0,i.Cg)([(0,g.MZ)()],ke.prototype,"costs",void 0),(0,i.Cg)([(0,Y.w)("costs",["attributes"])],ke.prototype,"readCosts",null),(0,i.Cg)([(0,g.MZ)({type:he.A,json:{write:!0}})],ke.prototype,"geometry",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.Name"}})],ke.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.ObjectID"}})],ke.prototype,"objectId",void 0),(0,i.Cg)([(0,g.MZ)({type:s.A})],ke.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)()],ke.prototype,"scaleFactor",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Es})],ke.prototype,"symbol",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],ke.prototype,"type",void 0),ke=Ue=(0,i.Cg)([(0,g.$K)("esri.rest.support.PolylineBarrier")],ke);let $e=class extends Z.o{constructor(e){super(e),this.accumulateAttributes=null,this.directionsLanguage=null,this.findBestSequence=null,this.preserveFirstStop=null,this.preserveLastStop=null,this.startTimeIsUTC=null,this.timeWindowsAreUTC=null,this.travelMode=null}readAccumulateAttributes(e){return null==e?null:e.map(e=>$.et.fromJSON(e))}writeAccumulateAttributes(e,t,r){e?.length&&(t[r]=e.map(e=>$.et.toJSON(e)))}};var We;(0,i.Cg)([(0,g.MZ)({type:[String],json:{name:"accumulateAttributeNames",write:!0}})],$e.prototype,"accumulateAttributes",void 0),(0,i.Cg)([(0,Y.w)("accumulateAttributes")],$e.prototype,"readAccumulateAttributes",null),(0,i.Cg)([(0,H.K)("accumulateAttributes")],$e.prototype,"writeAccumulateAttributes",null),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],$e.prototype,"directionsLanguage",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],$e.prototype,"findBestSequence",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],$e.prototype,"preserveFirstStop",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],$e.prototype,"preserveLastStop",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],$e.prototype,"startTimeIsUTC",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],$e.prototype,"timeWindowsAreUTC",void 0),(0,i.Cg)([(0,g.MZ)({type:X,json:{write:!0}})],$e.prototype,"travelMode",void 0),$e=(0,i.Cg)([(0,g.$K)("esri.rest.support.RouteSettings")],$e);let Ve=class extends((0,z.OU)(Z.o)){static{We=this}constructor(e){super(e),this.analysisSettings=null,this.endTime=null,this.endTimeOffset=null,this.firstStopId=null,this.geometry=null,this.lastStopId=null,this.messages=null,this.name=null,this.objectId=null,this.popupTemplate=null,this.startTime=null,this.startTimeOffset=null,this.stopCount=null,this.symbol=null,this.totalCosts=null,this.totalDistance=null,this.totalDuration=null,this.totalLateDuration=null,this.totalViolations=null,this.totalWait=null,this.totalWaitDuration=null,this.type="route-info",this.version="1.0.0"}readEndTime(e,t){return null!=t.attributes.EndTimeUTC?new Date(t.attributes.EndTimeUTC):null}readEndTimeOffset(e,t){return le(t.attributes.EndTime,t.attributes.EndTimeUTC)}readStartTime(e,t){return null!=t.attributes.StartTimeUTC?new Date(t.attributes.StartTimeUTC):null}readStartTimeOffset(e,t){return le(t.attributes.StartTime,t.attributes.StartTimeUTC)}readTotalCosts(e,t){return oe(t.attributes,"Total_")}readTotalViolations(e,t){return oe(t.attributes,"TotalViolation_")}readTotalWait(e,t){return oe(t.attributes,"TotalWait_")}static{this.fields=[{name:"ObjectID",alias:"ObjectID",type:"esriFieldTypeOID"},{name:"AnalysisSettings",alias:"Analysis Settings",type:"esriFieldTypeString"},{name:"EndTime",alias:"End Time",type:"esriFieldTypeDate"},{name:"EndUTCOffset",alias:"End Time Offset",type:"esriFieldTypeInteger"},{name:"Messages",alias:"Messages",type:"esriFieldTypeString"},{name:"RouteName",alias:"Route Name",type:"esriFieldTypeString"},{name:"StartTime",alias:"Start Time",type:"esriFieldTypeDate"},{name:"StartUTCOffset",alias:"Start Time Offset",type:"esriFieldTypeInteger"},{name:"TotalCosts",alias:"Total Costs",type:"esriFieldTypeString"},{name:"TotalLateMinutes",alias:"Total Late Minutes",type:"esriFieldTypeDouble"},{name:"TotalMeters",alias:"Total Meters",type:"esriFieldTypeDouble"},{name:"TotalMinutes",alias:"Total Minutes",type:"esriFieldTypeDouble"},{name:"TotalWaitMinutes",alias:"Total Wait Minutes",type:"esriFieldTypeDouble"},{name:"Version",alias:"Version",type:"esriFieldTypeString"}]}static fromGraphic(e){return new We({analysisSettings:null!=e.attributes.AnalysisSettings?$e.fromJSON(JSON.parse(e.attributes.AnalysisSettings)):null,endTime:null!=e.attributes.EndTime?new Date(e.attributes.EndTime):null,endTimeOffset:e.attributes.EndUTCOffset??null,geometry:e.geometry,messages:null!=e.attributes.Messages?JSON.parse(e.attributes.Messages):null,name:e.attributes.RouteName,objectId:e.attributes.ObjectID??e.attributes.__OBJECTID,popupTemplate:e.popupTemplate,startTime:null!=e.attributes.StartTime?new Date(e.attributes.StartTime):null,startTimeOffset:e.attributes.StartUTCOffset??null,symbol:e.symbol,totalCosts:null!=e.attributes.TotalCosts?se(JSON.parse(e.attributes.TotalCosts)):null,totalDistance:e.attributes.TotalMeters??null,totalDuration:e.attributes.TotalMinutes??null,totalLateDuration:e.attributes.TotalLateMinutes??null,totalWaitDuration:e.attributes.TotalWaitMinutes??null,version:e.attributes.Version})}toGraphic(){const e={ObjectID:this.objectId,AnalysisSettings:this.analysisSettings?JSON.stringify(this.analysisSettings.toJSON()):null,EndTime:this.endTime?.getTime()??null,EndUTCOffset:this.endTimeOffset,Messages:this.messages?JSON.stringify(this.messages):null,RouteName:this.name,StartTime:this.startTime?.getTime()??null,StartUTCOffset:this.startTimeOffset,TotalCosts:this.totalCosts?JSON.stringify(ae(this.totalCosts)):null,TotalLateMinutes:this.totalLateDuration,TotalMeters:this.totalDistance,TotalMinutes:this.totalDuration,TotalWaitMinutes:this.totalWaitDuration,Version:this.version};return new n.A({geometry:this.geometry,attributes:e,symbol:this.symbol,popupTemplate:this.popupTemplate})}};(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"analysisSettings",void 0),(0,i.Cg)([(0,g.MZ)({type:Date})],Ve.prototype,"endTime",void 0),(0,i.Cg)([(0,Y.w)("endTime",["attributes.EndTimeUTC"])],Ve.prototype,"readEndTime",null),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"endTimeOffset",void 0),(0,i.Cg)([(0,Y.w)("endTimeOffset",["attributes.EndTime","attributes.EndTimeUTC"])],Ve.prototype,"readEndTimeOffset",null),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.FirstStopID"}}})],Ve.prototype,"firstStopId",void 0),(0,i.Cg)([(0,g.MZ)({type:he.A})],Ve.prototype,"geometry",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.LastStopID"}}})],Ve.prototype,"lastStopId",void 0),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"messages",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.Name"}}})],Ve.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.ObjectID"}}})],Ve.prototype,"objectId",void 0),(0,i.Cg)([(0,g.MZ)({type:s.A})],Ve.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({type:Date})],Ve.prototype,"startTime",void 0),(0,i.Cg)([(0,Y.w)("startTime",["attributes.StartTimeUTC"])],Ve.prototype,"readStartTime",null),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"startTimeOffset",void 0),(0,i.Cg)([(0,Y.w)("startTimeOffset",["attributes.StartTime","attributes.StartTimeUTC"])],Ve.prototype,"readStartTimeOffset",null),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.StopCount"}}})],Ve.prototype,"stopCount",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Es})],Ve.prototype,"symbol",void 0),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"totalCosts",void 0),(0,i.Cg)([(0,Y.w)("totalCosts",["attributes"])],Ve.prototype,"readTotalCosts",null),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"totalDistance",void 0),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"totalDuration",void 0),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"totalLateDuration",void 0),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"totalViolations",void 0),(0,i.Cg)([(0,Y.w)("totalViolations",["attributes"])],Ve.prototype,"readTotalViolations",null),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"totalWait",void 0),(0,i.Cg)([(0,Y.w)("totalWait",["attributes"])],Ve.prototype,"readTotalWait",null),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"totalWaitDuration",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],Ve.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)()],Ve.prototype,"version",void 0),Ve=We=(0,i.Cg)([(0,g.$K)("esri.rest.support.RouteInfo")],Ve);var Ge=r(56507),qe=r(24097),Ke=r(65864),ze=r(50498);let Ye=class extends((0,z.OU)(Z.o)){constructor(e){super(e),this.doNotLocateOnRestrictedElements=null,this.geometry=null,this.geometryType=null,this.name=null,this.spatialRelationship=null,this.type="layer",this.where=null}};(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],Ye.prototype,"doNotLocateOnRestrictedElements",void 0),(0,i.Cg)([(0,g.MZ)({types:ze.yR,json:{read:Ke.rS,write:!0}})],Ye.prototype,"geometry",void 0),(0,i.Cg)([(0,W.e)($.Vj)],Ye.prototype,"geometryType",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{name:"layerName",write:!0}})],Ye.prototype,"name",void 0),(0,i.Cg)([(0,W.e)($.vS,{name:"spatialRel"})],Ye.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Ye.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Ye.prototype,"where",void 0),Ye=(0,i.Cg)([(0,g.$K)("esri.rest.support.DataLayer")],Ye);var He=r(10107),Xe=r(64108);let Qe=class extends((0,z.OU)(Z.o)){constructor(e){super(e),this.name=null,this.where=null}};(0,i.Cg)([(0,He.MZ)({json:{write:!0}})],Qe.prototype,"name",void 0),(0,i.Cg)([(0,He.MZ)({json:{write:!0}})],Qe.prototype,"where",void 0),Qe=(0,i.Cg)([(0,Xe.$)("esri.rest.support.LocateSettingSource")],Qe);const et=Qe;let tt=class extends((0,z.OU)(Z.o)){constructor(e){super(e),this.allowAutoRelocate=null,this.sources=null}};(0,i.Cg)([(0,He.MZ)({type:Boolean,json:{write:!0}})],tt.prototype,"allowAutoRelocate",void 0),(0,i.Cg)([(0,He.MZ)({type:[et],json:{write:!0}})],tt.prototype,"sources",void 0),tt=(0,i.Cg)([(0,Xe.$)("esri.rest.support.LocateSettingBase")],tt);const rt=tt;let it=class extends rt{constructor(e){super(e),this.tolerance=null,this.toleranceUnits=null}};(0,i.Cg)([(0,He.MZ)({type:Number,json:{write:!0}})],it.prototype,"tolerance",void 0),(0,i.Cg)([(0,W.e)($.Y8)],it.prototype,"toleranceUnits",void 0),it=(0,i.Cg)([(0,Xe.$)("esri.rest.support.LocateSetting")],it);const ot=it;let nt=class extends((0,z.OU)(Z.o)){constructor(e){super(e),this.stops=null,this.pointBarriers=null,this.polylineBarriers=null,this.polygonBarriers=null}};(0,i.Cg)([(0,He.MZ)({type:ot,json:{write:!0}})],nt.prototype,"stops",void 0),(0,i.Cg)([(0,He.MZ)({type:ot,json:{name:"barriers",write:!0}})],nt.prototype,"pointBarriers",void 0),(0,i.Cg)([(0,He.MZ)({type:rt,json:{write:!0}})],nt.prototype,"polylineBarriers",void 0),(0,i.Cg)([(0,He.MZ)({type:rt,json:{write:!0}})],nt.prototype,"polygonBarriers",void 0),nt=(0,i.Cg)([(0,Xe.$)("esri.rest.support.LocateSettingsOverrides")],nt);const st=nt;let at=class extends((0,z.OU)(Z.o)){constructor(e){super(e),this.default=null,this.overrides=null}};(0,i.Cg)([(0,He.MZ)({type:ot,json:{write:!0}})],at.prototype,"default",void 0),(0,i.Cg)([(0,He.MZ)({type:st,json:{write:!0}})],at.prototype,"overrides",void 0),at=(0,i.Cg)([(0,Xe.$)("esri.rest.support.LocateSettings")],at);const lt=at;var ut;let pt=class extends pe.A{static{ut=this}constructor(e){super(e),this.doNotLocateOnRestrictedElements=null}clone(){return new ut({doNotLocateOnRestrictedElements:this.doNotLocateOnRestrictedElements,...this.cloneProperties()})}};(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],pt.prototype,"doNotLocateOnRestrictedElements",void 0),pt=ut=(0,i.Cg)([(0,g.$K)("esri.rest.support.NetworkFeatureSet")],pt);let ct=class extends((0,z.OU)(Z.o)){constructor(e){super(e),this.doNotLocateOnRestrictedElements=null,this.url=null}};var dt;(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],ct.prototype,"doNotLocateOnRestrictedElements",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],ct.prototype,"url",void 0),ct=(0,i.Cg)([(0,g.$K)("esri.rest.support.NetworkUrl")],ct);let yt=class extends((0,z.OU)(Z.o)){static{dt=this}constructor(e){super(e),this.accumulateAttributes=null,this.apiKey=null,this.attributeParameterValues=null,this.checksum=null,this.directionsLanguage=null,this.directionsLengthUnits=null,this.directionsOutputType=null,this.directionsStyleName=null,this.directionsTimeAttribute=null,this.findBestSequence=null,this.geometryPrecision=null,this.geometryPrecisionM=null,this.geometryPrecisionZ=null,this.ignoreInvalidLocations=null,this.impedanceAttribute=null,this.locateSettings=null,this.outputGeometryPrecision=null,this.outputGeometryPrecisionUnits=null,this.outputLines="true-shape",this.outSpatialReference=null,this.overrides=null,this.pointBarriers=null,this.polygonBarriers=null,this.polylineBarriers=null,this.preserveFirstStop=null,this.preserveLastStop=null,this.preserveObjectID=null,this.restrictionAttributes=null,this.restrictUTurns=null,this.returnBarriers=!1,this.returnDirections=!1,this.returnEmptyResults=null,this.returnPolygonBarriers=!1,this.returnPolylineBarriers=!1,this.returnRoutes=!0,this.returnStops=!1,this.returnTraversedEdges=null,this.returnTraversedJunctions=null,this.returnTraversedTurns=null,this.returnZ=!0,this.startTime=null,this.startTimeIsUTC=!0,this.stops=null,this.timeWindowsAreUTC=null,this.travelMode=null,this.useHierarchy=null,this.useTimeWindows=null}static from(e){return(0,Ge.PZ)(dt,e)}readAccumulateAttributes(e){return null==e?null:e.map(e=>$.et.fromJSON(e))}writeAccumulateAttributes(e,t,r){e?.length&&(t[r]=e.map(e=>$.et.toJSON(e)))}writePointBarriers(e,t,r){mt(e,t,r)}writePolygonBarrier(e,t,r){mt(e,t,r)}writePolylineBarrier(e,t,r){mt(e,t,r)}readRestrictionAttributes(e){return null==e?null:e.map(e=>$.OC.fromJSON(e))}writeRestrictionAttributes(e,t,r){e?.length&&(t[r]=e.map(e=>$.OC.toJSON(e)))}readStartTime(e,t){const{startTime:r}=t;return null==r?null:"now"===r?"now":new Date(r)}writeStartTime(e,t){null!=e&&(t.startTime="now"===e?"now":e.getTime())}readStops(e,t){return function(e){return function(e){return e&&"type"in e}(e)?Ye.fromJSON(e):function(e){return e&&"url"in e}(e)?ct.fromJSON(e):function(e){return e&&"features"in e&&"doNotLocateOnRestrictedElements"in e}(e)?pt.fromJSON(e):function(e){return e&&"features"in e}(e)?pe.A.fromJSON(e):null}(t.stops)}writeStops(e,t,r){mt(e,t,r)}};function mt(e,t,r){null!=e&&(t[r]=l.A.isCollection(e)?{features:e.toArray().map(e=>e.toJSON())}:e.toJSON())}var ft;(0,i.Cg)([(0,g.MZ)({type:[String],json:{name:"accumulateAttributeNames",write:!0}})],yt.prototype,"accumulateAttributes",void 0),(0,i.Cg)([(0,Y.w)("accumulateAttributes")],yt.prototype,"readAccumulateAttributes",null),(0,i.Cg)([(0,H.K)("accumulateAttributes")],yt.prototype,"writeAccumulateAttributes",null),(0,i.Cg)([(0,g.MZ)(qe.K)],yt.prototype,"apiKey",void 0),(0,i.Cg)([(0,g.MZ)({json:{write:!0}})],yt.prototype,"attributeParameterValues",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],yt.prototype,"checksum",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],yt.prototype,"directionsLanguage",void 0),(0,i.Cg)([(0,W.e)($.Z7)],yt.prototype,"directionsLengthUnits",void 0),(0,i.Cg)([(0,W.e)($.aJ)],yt.prototype,"directionsOutputType",void 0),(0,i.Cg)([(0,W.e)($.$n)],yt.prototype,"directionsStyleName",void 0),(0,i.Cg)([(0,W.e)($.Mm,{name:"directionsTimeAttributeName",ignoreUnknown:!1})],yt.prototype,"directionsTimeAttribute",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"findBestSequence",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],yt.prototype,"geometryPrecision",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],yt.prototype,"geometryPrecisionM",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],yt.prototype,"geometryPrecisionZ",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"ignoreInvalidLocations",void 0),(0,i.Cg)([(0,W.e)($.et,{name:"impedanceAttributeName",ignoreUnknown:!1})],yt.prototype,"impedanceAttribute",void 0),(0,i.Cg)([(0,g.MZ)({type:lt,json:{write:!0}})],yt.prototype,"locateSettings",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],yt.prototype,"outputGeometryPrecision",void 0),(0,i.Cg)([(0,W.e)($.hY)],yt.prototype,"outputGeometryPrecisionUnits",void 0),(0,i.Cg)([(0,W.e)($.Sr)],yt.prototype,"outputLines",void 0),(0,i.Cg)([(0,g.MZ)({type:T.A,json:{name:"outSR",write:!0}})],yt.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,g.MZ)({json:{write:!0}})],yt.prototype,"overrides",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"barriers",write:!0}})],yt.prototype,"pointBarriers",void 0),(0,i.Cg)([(0,H.K)("pointBarriers")],yt.prototype,"writePointBarriers",null),(0,i.Cg)([(0,g.MZ)({json:{write:!0}})],yt.prototype,"polygonBarriers",void 0),(0,i.Cg)([(0,H.K)("polygonBarriers")],yt.prototype,"writePolygonBarrier",null),(0,i.Cg)([(0,g.MZ)({json:{write:!0}})],yt.prototype,"polylineBarriers",void 0),(0,i.Cg)([(0,H.K)("polylineBarriers")],yt.prototype,"writePolylineBarrier",null),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"preserveFirstStop",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"preserveLastStop",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"preserveObjectID",void 0),(0,i.Cg)([(0,g.MZ)({type:[String],json:{name:"restrictionAttributeNames",write:!0}})],yt.prototype,"restrictionAttributes",void 0),(0,i.Cg)([(0,Y.w)("restrictionAttributes")],yt.prototype,"readRestrictionAttributes",null),(0,i.Cg)([(0,H.K)("restrictionAttributes")],yt.prototype,"writeRestrictionAttributes",null),(0,i.Cg)([(0,W.e)($.hE)],yt.prototype,"restrictUTurns",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnBarriers",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnDirections",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnEmptyResults",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnPolygonBarriers",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnPolylineBarriers",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnRoutes",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnStops",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnTraversedEdges",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnTraversedJunctions",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnTraversedTurns",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"returnZ",void 0),(0,i.Cg)([(0,g.MZ)({json:{write:!0}})],yt.prototype,"startTime",void 0),(0,i.Cg)([(0,Y.w)("startTime")],yt.prototype,"readStartTime",null),(0,i.Cg)([(0,H.K)("startTime")],yt.prototype,"writeStartTime",null),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"startTimeIsUTC",void 0),(0,i.Cg)([(0,g.MZ)({json:{write:!0}})],yt.prototype,"stops",void 0),(0,i.Cg)([(0,Y.w)("stops")],yt.prototype,"readStops",null),(0,i.Cg)([(0,H.K)("stops")],yt.prototype,"writeStops",null),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"timeWindowsAreUTC",void 0),(0,i.Cg)([(0,g.MZ)({type:X,json:{write:!0}})],yt.prototype,"travelMode",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"useHierarchy",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],yt.prototype,"useTimeWindows",void 0),yt=dt=(0,i.Cg)([(0,g.$K)("esri.rest.support.RouteParameters")],yt);let ht=class extends((0,z.OU)(Z.o)){static{ft=this}constructor(e){super(e),this.arriveCurbApproach=null,this.arriveTime=null,this.arriveTimeOffset=null,this.bearing=null,this.bearingTol=null,this.cumulativeCosts=null,this.cumulativeDistance=null,this.cumulativeDuration=null,this.curbApproach=null,this.departCurbApproach=null,this.departTime=null,this.departTimeOffset=null,this.distanceToNetworkInMeters=null,this.lateDuration=null,this.locationType=null,this.name=null,this.navLatency=null,this.objectId=null,this.popupTemplate=null,this.positionAlong=null,this.routeName=null,this.serviceCosts=null,this.serviceDistance=null,this.serviceDuration=null,this.sequence=null,this.sideOfEdge=null,this.snapX=null,this.snapY=null,this.snapZ=null,this.sourceId=null,this.sourceOid=null,this.status=null,this.symbol=null,this.timeWindowEnd=null,this.timeWindowEndOffset=null,this.timeWindowStart=null,this.timeWindowStartOffset=null,this.type="stop",this.violations=null,this.waitDuration=null,this.wait=null}readArriveTimeOffset(e,t){return le(t.attributes.ArriveTime,t.attributes.ArriveTimeUTC)}readCumulativeCosts(e,t){return oe(t.attributes,"Cumul_")}readDepartTimeOffset(e,t){return le(t.attributes.DepartTime,t.attributes.DepartTimeUTC)}set geometry(e){this._get("geometry")&&(this._set("positionAlong",null),this._set("sideOfEdge",null),this._set("sourceId",null),this._set("sourceOid",null),this._set("status",null)),this._set("geometry",e)}readServiceCosts(e,t){return oe(t.attributes,"Attr_")}writeServiceCosts(e,t){ne(e,t,"Attr_")}writeTimeWindowEnd(e,t){null!=e&&(t.attributes||(t.attributes={}),t.attributes.TimeWindowEnd=e.getTime())}writeTimeWindowStart(e,t){null!=e&&(t.attributes||(t.attributes={}),t.attributes.TimeWindowStart=e.getTime())}readViolations(e,t){return oe(t.attributes,"Violation_")}readWait(e,t){return oe(t.attributes,"Wait_")}static{this.fields=[{name:"ObjectID",alias:"ObjectID",type:"esriFieldTypeOID"},{name:"ArrivalCurbApproach",alias:"Arrival Curb Approach",type:"esriFieldTypeInteger"},{name:"ArrivalTime",alias:"Arrival Time",type:"esriFieldTypeDate"},{name:"ArrivalUTCOffset",alias:"Arrival Time",type:"esriFieldTypeInteger"},{name:"CumulativeCosts",alias:"Cumulative Costs",type:"esriFieldTypeString"},{name:"CumulativeMeters",alias:"Cumulative Meters",type:"esriFieldTypeDouble"},{name:"CumulativeMinutes",alias:"Cumulative Minutes",type:"esriFieldTypeDouble"},{name:"CurbApproach",alias:"Curb Approach",type:"esriFieldTypeInteger"},{name:"DepartureCurbApproach",alias:"Departure Curb Approach",type:"esriFieldTypeInteger"},{name:"DepartureTime",alias:"Departure Time",type:"esriFieldTypeDate"},{name:"DepartureUTCOffset",alias:"Departure Time",type:"esriFieldTypeInteger"},{name:"LateMinutes",alias:"Minutes Late",type:"esriFieldTypeDouble"},{name:"LocationType",alias:"Location Type",type:"esriFieldTypeInteger"},{name:"Name",alias:"Name",type:"esriFieldTypeString"},{name:"RouteName",alias:"Route Name",type:"esriFieldTypeString"},{name:"Sequence",alias:"Sequence",type:"esriFieldTypeInteger"},{name:"ServiceCosts",alias:"Service Costs",type:"esriFieldTypeString"},{name:"ServiceMeters",alias:"Service Meters",type:"esriFieldTypeDouble"},{name:"ServiceMinutes",alias:"Service Minutes",type:"esriFieldTypeDouble"},{name:"Status",alias:"Status",type:"esriFieldTypeInteger"},{name:"TimeWindowEnd",alias:"Time Window End",type:"esriFieldTypeDate"},{name:"TimeWindowEndUTCOffset",alias:"Time Window End Offset",type:"esriFieldTypeInteger"},{name:"TimeWindowStart",alias:"Time Window Start",type:"esriFieldTypeDate"},{name:"TimeWindowStartUTCOffset",alias:"Time Window Start Offset",type:"esriFieldTypeInteger"},{name:"WaitMinutes",alias:"Minutes Wait",type:"esriFieldTypeDouble"}]}static fromGraphic(e){return new ft({arriveCurbApproach:null!=e.attributes.ArrivalCurbApproach?$.JJ.fromJSON(e.attributes.ArrivalCurbApproach):null,arriveTime:null!=e.attributes.ArrivalTime?new Date(e.attributes.ArrivalTime):null,arriveTimeOffset:e.attributes.ArrivalUTCOffset,cumulativeCosts:null!=e.attributes.CumulativeCosts?se(JSON.parse(e.attributes.CumulativeCosts)):null,cumulativeDistance:e.attributes.CumulativeMeters??null,cumulativeDuration:e.attributes.CumulativeMinutes??null,curbApproach:null!=e.attributes.CurbApproach?$.JJ.fromJSON(e.attributes.CurbApproach):null,departCurbApproach:null!=e.attributes.DepartureCurbApproach?$.JJ.fromJSON(e.attributes.DepartureCurbApproach):null,departTime:null!=e.attributes.DepartureTime?new Date(e.attributes.DepartureTime):null,departTimeOffset:e.attributes.DepartureUTCOffset??null,geometry:e.geometry,lateDuration:e.attributes.LateMinutes??null,locationType:null!=e.attributes.LocationType?$.EM.fromJSON(e.attributes.LocationType):null,name:e.attributes.Name,objectId:e.attributes.ObjectID??e.attributes.__OBJECTID,popupTemplate:e.popupTemplate,routeName:e.attributes.RouteName,sequence:e.attributes.Sequence??null,serviceCosts:null!=e.attributes.ServiceCosts?se(JSON.parse(e.attributes.ServiceCosts)):null,serviceDistance:e.attributes.ServiceMeters??null,serviceDuration:e.attributes.ServiceMinutes??null,status:null!=e.attributes.Status?$.$r.fromJSON(e.attributes.Status):null,symbol:e.symbol,timeWindowEnd:null!=e.attributes.TimeWindowEnd?new Date(e.attributes.TimeWindowEnd):null,timeWindowEndOffset:e.attributes.TimeWindowEndUTCOffset??null,timeWindowStart:null!=e.attributes.TimeWindowStart?new Date(e.attributes.TimeWindowStart):null,timeWindowStartOffset:e.attributes.TimeWindowStartUTCOffset??null,waitDuration:e.attributes.WaitMinutes??null})}toGraphic(){const e={ObjectID:this.objectId,ArrivalCurbApproach:this.arriveCurbApproach?$.JJ.toJSON(this.arriveCurbApproach):null,ArrivalTime:this.arriveTime?.getTime()??null,ArrivalUTCOffset:this.arriveTimeOffset,CumulativeCosts:this.cumulativeCosts?JSON.stringify(ae(this.cumulativeCosts)):null,CumulativeMeters:this.cumulativeDistance,CumulativeMinutes:this.cumulativeDuration,CurbApproach:this.curbApproach?$.JJ.toJSON(this.curbApproach):null,DepartureCurbApproach:this.departCurbApproach?$.JJ.toJSON(this.departCurbApproach):null,DepartureTime:this.departTime?.getTime()??null,DepartureUTCOffset:this.departTimeOffset,LateMinutes:this.lateDuration,LocationType:this.locationType?$.EM.toJSON(this.locationType):null,Name:this.name,RouteName:this.routeName,Sequence:this.sequence,ServiceCosts:this.serviceCosts?JSON.stringify(ae(this.serviceCosts)):null,ServiceMeters:this.serviceDistance,ServiceMinutes:this.serviceDuration,Status:this.status?$.$r.toJSON(this.status):null,TimeWindowEnd:this.timeWindowEnd?.getTime()??null,TimeWindowEndUTCOffset:this.timeWindowEndOffset??this.arriveTimeOffset,TimeWindowStart:this.timeWindowStart?.getTime()??null,TimeWindowStartUTCOffset:this.timeWindowStartOffset??this.arriveTimeOffset,WaitMinutes:this.waitDuration};return new n.A({geometry:this.geometry,attributes:e,symbol:this.symbol,popupTemplate:this.popupTemplate})}};function gt(e){if(!e.length)return;const t=e.toArray(),r=t.map(({objectId:e})=>e).filter(e=>null!=e);let i=Math.max(...r,0);for(const e of t)e.objectId??=++i}function vt(e,t){return e.length===t.length&&bt(e)&&bt(t)}function bt(e){return e.every(({objectId:e})=>null!=e)}function wt(e,t){return!!e.length||!!t.length}function Ct(e){return e.length?e:null}function Tt(e){switch(e){case"esriGeometryPoint":return{type:"esriSMS",style:"esriSMSCircle",size:12,color:[0,0,0,0],outline:Tt("esriGeometryPolyline")};case"esriGeometryPolyline":return{type:"esriSLS",style:"esriSLSSolid",width:1,color:[0,0,0,0]};case"esriGeometryPolygon":return{type:"esriSFS",style:"esriSFSNull",outline:Tt("esriGeometryPolyline")}}}function St(e){return"layers"in e}async function Mt(e){const t=T.A.WGS84;return await(0,C.initializeProjection)(e.spatialReference,t),(0,C.project)(e,t)}function At(e,t){if(t&&e?.length&&!e.every(({symbol:e})=>!!e))for(const r of e)r.symbol=t}function It(e,t){switch(t){case"seconds":return e/60;case"hours":return 60*e;case"days":return 60*e*24;default:return e}}function Ot(e,t){return"decimal-degrees"===t||"points"===t||"unknown"===t?e:(0,f.oU)(e,t,"meters")}(0,i.Cg)([(0,g.MZ)({type:$.JJ.apiValues,json:{read:{source:"attributes.ArrivalCurbApproach",reader:$.JJ.read}}})],ht.prototype,"arriveCurbApproach",void 0),(0,i.Cg)([(0,g.MZ)({type:Date,json:{read:{source:"attributes.ArriveTimeUTC"}}})],ht.prototype,"arriveTime",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"arriveTimeOffset",void 0),(0,i.Cg)([(0,Y.w)("arriveTimeOffset",["attributes.ArriveTime","attributes.ArriveTimeUTC"])],ht.prototype,"readArriveTimeOffset",null),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.Bearing",read:!1,write:!0}})],ht.prototype,"bearing",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.BearingTol",read:!1,write:!0}})],ht.prototype,"bearingTol",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"cumulativeCosts",void 0),(0,i.Cg)([(0,Y.w)("cumulativeCosts",["attributes"])],ht.prototype,"readCumulativeCosts",null),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"cumulativeDistance",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"cumulativeDuration",void 0),(0,i.Cg)([(0,g.MZ)({type:$.JJ.apiValues,json:{name:"attributes.CurbApproach",read:{reader:$.JJ.read},write:{writer:$.JJ.write}}})],ht.prototype,"curbApproach",void 0),(0,i.Cg)([(0,g.MZ)({type:$.JJ.apiValues,json:{read:{source:"attributes.DepartCurbApproach",reader:$.JJ.read}}})],ht.prototype,"departCurbApproach",void 0),(0,i.Cg)([(0,g.MZ)({type:Date,json:{read:{source:"attributes.DepartTimeUTC"}}})],ht.prototype,"departTime",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"departTimeOffset",void 0),(0,i.Cg)([(0,Y.w)("departTimeOffset",["attributes.DepartTime","attributes.DepartTimeUTC"])],ht.prototype,"readDepartTimeOffset",null),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.DistanceToNetworkInMeters"}}})],ht.prototype,"distanceToNetworkInMeters",void 0),(0,i.Cg)([(0,g.MZ)({type:ge.A,json:{write:!0},value:null})],ht.prototype,"geometry",null),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"lateDuration",void 0),(0,i.Cg)([(0,g.MZ)({type:$.EM.apiValues,json:{name:"attributes.LocationType",read:{reader:$.EM.read},write:{writer:$.EM.write}}})],ht.prototype,"locationType",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.Name"}})],ht.prototype,"name",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.NavLatency",read:!1,write:!0}})],ht.prototype,"navLatency",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.ObjectID"}})],ht.prototype,"objectId",void 0),(0,i.Cg)([(0,g.MZ)({type:s.A})],ht.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.PosAlong"}})],ht.prototype,"positionAlong",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.RouteName"}})],ht.prototype,"routeName",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"serviceCosts",void 0),(0,i.Cg)([(0,Y.w)("serviceCosts",["attributes"])],ht.prototype,"readServiceCosts",null),(0,i.Cg)([(0,H.K)("serviceCosts")],ht.prototype,"writeServiceCosts",null),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"serviceDistance",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"serviceDuration",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.Sequence"}})],ht.prototype,"sequence",void 0),(0,i.Cg)([(0,g.MZ)({type:$.mt.apiValues,json:{name:"attributes.SideOfEdge",read:{reader:$.mt.read},write:{writer:$.mt.write}}})],ht.prototype,"sideOfEdge",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.SnapX"}}})],ht.prototype,"snapX",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.SnapY"}}})],ht.prototype,"snapY",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:{source:"attributes.SnapZ"}}})],ht.prototype,"snapZ",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.SourceID"}})],ht.prototype,"sourceId",void 0),(0,i.Cg)([(0,g.MZ)({json:{name:"attributes.SourceOID"}})],ht.prototype,"sourceOid",void 0),(0,i.Cg)([(0,g.MZ)({type:$.$r.apiValues,json:{name:"attributes.Status",read:{reader:$.$r.read},write:{writer:$.$r.write}}})],ht.prototype,"status",void 0),(0,i.Cg)([(0,g.MZ)({types:x.Es})],ht.prototype,"symbol",void 0),(0,i.Cg)([(0,g.MZ)({type:Date,json:{name:"attributes.TimeWindowEnd"}})],ht.prototype,"timeWindowEnd",void 0),(0,i.Cg)([(0,H.K)("timeWindowEnd")],ht.prototype,"writeTimeWindowEnd",null),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"timeWindowEndOffset",void 0),(0,i.Cg)([(0,g.MZ)({type:Date,json:{name:"attributes.TimeWindowStart"}})],ht.prototype,"timeWindowStart",void 0),(0,i.Cg)([(0,H.K)("timeWindowStart")],ht.prototype,"writeTimeWindowStart",null),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"timeWindowStartOffset",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],ht.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"violations",void 0),(0,i.Cg)([(0,Y.w)("violations",["attributes"])],ht.prototype,"readViolations",null),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"waitDuration",void 0),(0,i.Cg)([(0,g.MZ)()],ht.prototype,"wait",void 0),(0,i.Cg)([(0,Y.w)("wait",["attributes"])],ht.prototype,"readWait",null),ht=ft=(0,i.Cg)([(0,g.$K)("esri.rest.support.Stop")],ht);const Nt=l.A.ofType(Re),jt=l.A.ofType(Fe),Zt=l.A.ofType(Ee),Dt=l.A.ofType(Je),xt=l.A.ofType(ke),Rt=l.A.ofType(ht);let Bt=class extends((0,A.dM)((0,N.j)((0,I.q)((0,O.A)((0,c.M)(M.A)))))){constructor(e){super(e),this._cachedServiceDescription=null,this._featureCollection=null,this._type="Feature Collection",this.checksum=null,this.defaultSymbols=new P,this.directionLines=null,this.directionPoints=null,this.featureCollectionType="route",this.legendEnabled=!1,this.maxScale=0,this.minScale=0,this.pointBarriers=new Zt,this.polygonBarriers=new Dt,this.polylineBarriers=new xt,this.routeInfo=null,this.spatialReference=T.A.WGS84,this.stops=new Rt,this.type="route"}initialize(){const e=()=>{this._setStopSymbol(this.stops)},t=()=>{At(this.pointBarriers,this.defaultSymbols.pointBarriers)},r=()=>{At(this.polylineBarriers,this.defaultSymbols.polylineBarriers)},i=()=>{At(this.polygonBarriers,this.defaultSymbols.polygonBarriers)};this.addHandles([(0,m.on)(()=>this.stops,"change",e,{sync:!0,onListenerAdd:e}),(0,m.on)(()=>this.pointBarriers,"change",t,{sync:!0,onListenerAdd:t}),(0,m.on)(()=>this.polylineBarriers,"change",r,{sync:!0,onListenerAdd:r}),(0,m.on)(()=>this.polygonBarriers,"change",i,{sync:!0,onListenerAdd:i})])}writeFeatureCollectionWebmap(e,t,r,i){const o=[this._writePolygonBarriers(),this._writePolylineBarriers(),this._writePointBarriers(),this._writeRouteInfo(),this._writeDirectionLines(),this._writeDirectionPoints(),this._writeStops()].filter(e=>!!e),n=o.map((e,t)=>t),s="web-map"===i.origin?"featureCollection.layers":"layers";(0,d.sM)(s,o,t),t.opacity=this.opacity,t.visibility=this.visible,t.visibleLayers=n}readDirectionLines(e,t){return this._getNetworkFeatures(t,"DirectionLines",e=>Re.fromGraphic(e))}readDirectionPoints(e,t){return this._getNetworkFeatures(t,"DirectionPoints",e=>Fe.fromGraphic(e))}get fullExtent(){const e=new b.A({xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:T.A.WGS84});if(null!=this.routeInfo?.geometry)return this.routeInfo.geometry.extent??e;if(null==this.stops)return e;const t=this.stops.filter(e=>null!=e.geometry);if(t.length<2)return e;const{spatialReference:r}=t.at(0).geometry;if(null==r)return e;const i=t.toArray().map(e=>{const t=e.geometry;return[t.x,t.y]});return new w.A({points:i,spatialReference:r}).extent}readMaxScale(e,t){const r=St(t)?t.layers:t.featureCollection?.layers,i=r?.find(e=>null!=e.layerDefinition.maxScale);return i?.layerDefinition.maxScale??0}readMinScale(e,t){const r=St(t)?t.layers:t.featureCollection?.layers,i=r?.find(e=>null!=e.layerDefinition.minScale);return i?.layerDefinition.minScale??0}readPointBarriers(e,t){return this._getNetworkFeatures(t,"Barriers",e=>Ee.fromGraphic(e))}readPolygonBarriers(e,t){return this._getNetworkFeatures(t,"PolygonBarriers",e=>Je.fromGraphic(e))}readPolylineBarriers(e,t){return this._getNetworkFeatures(t,"PolylineBarriers",e=>ke.fromGraphic(e))}readRouteInfo(e,t){return this._getNetworkFeatures(t,"RouteInfo",e=>Ve.fromGraphic(e)).at(0)??null}readSpatialReference(e,t){const r=St(t)?t.layers:t.featureCollection?.layers;if(!r?.length)return T.A.WGS84;const{layerDefinition:i,featureSet:o}=r[0],n=o.features[0],s=n?.geometry?.spatialReference??o.spatialReference??i.spatialReference??i.extent.spatialReference??S.KK;return T.A.fromJSON(s)}readStops(e,t){return this._getNetworkFeatures(t,"Stops",e=>ht.fromGraphic(e),e=>this._setStopSymbol(e))}get title(){return this.routeInfo?.name??"Route"}set title(e){this._overrideIfSome("title",e)}get url(){return o.A.routeServiceUrl}set url(e){null!=e?this._set("url",(0,j.Jf)(e,p.A.getLogger(this))):this._set("url",o.A.routeServiceUrl)}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Feature Collection"]},e)),Promise.resolve(this)}removeAll(){this.removeResult(),this.pointBarriers.removeAll(),this.polygonBarriers.removeAll(),this.polylineBarriers.removeAll(),this.stops.removeAll()}removeResult(){null!=this.directionLines&&(this.directionLines.removeAll(),this._set("directionLines",null)),null!=this.directionPoints&&(this.directionPoints.removeAll(),this._set("directionPoints",null)),null!=this.routeInfo&&this._set("routeInfo",null)}async save(){await this.load();const{fullExtent:e,portalItem:t}=this;if(!t)throw new u.A("routelayer:portal-item-not-set","save() requires to the layer to have a portal item");if(!t.id)throw new u.A("routelayer:portal-item-not-saved","Please use saveAs() first to save the routelayer");if("Feature Collection"!==t.type)throw new u.A("routelayer:portal-item-wrong-type",'Portal item needs to have type "Feature Collection"');if(!this.routeInfo)throw new u.A("routelayer:route-unsolved","save() requires a solved route");const{portal:r}=t;await r.signIn(),r.user||await t.reload();const{itemUrl:i,itemControl:o}=t;if("admin"!==o&&"update"!==o)throw new u.A("routelayer:insufficient-permissions","To save this layer, you need to be the owner or an administrator of your organization");const n={messages:[],origin:"portal-item",portal:r,url:i?(0,h.An)(i):void 0,writtenProperties:[]},s=this.write(void 0,n);return t.extent=await Mt(e),t.title=this.title,await t.update({data:s}),t}async saveAs(e,t={}){if(await this.load(),null==this.routeInfo)throw new u.A("routelayer:route-unsolved","saveAs() requires a solved route");const r=_.default.from(e).clone();r.extent??=await Mt(this.fullExtent),r.id=null,r.portal??=E.A.getDefault(),r.title??=this.title,r.type="Feature Collection",r.typeKeywords=["Data","Feature Collection",L.mm.MULTI_LAYER,"Route Layer"];const{portal:i}=r,o={messages:[],origin:"portal-item",portal:i,url:null,writtenProperties:[]};await i.signIn();const n=t?.folder,s=this.write(void 0,o);return await i.user.addItem({item:r,folder:n,data:s}),this.portalItem=r,(0,v.v)(o),o.portalItem=r,r}async solve(e,t){gt(this.stops),gt(this.pointBarriers),gt(this.polylineBarriers),gt(this.polygonBarriers);const r=e?.stops??this.stops,i=e?.pointBarriers??Ct(this.pointBarriers),o=e?.polylineBarriers??Ct(this.polylineBarriers),n=e?.polygonBarriers??Ct(this.polygonBarriers);if(null==r)throw new u.A("routelayer:undefined-stops","the route layer must have stops defined in the route parameters.");if((function(e){return"esri.rest.support.FeatureSet"===e.declaredClass}(r)||function(e){return"esri.rest.support.NetworkFeatureSet"===e.declaredClass}(r))&&r.features.length<2||l.A.isCollection(r)&&r.length<2)throw new u.A("routelayer:insufficent-stops","the route layer must have two or more stops to solve a route.");if(l.A.isCollection(r))for(const e of r)e.routeName=null;const s=e?.apiKey,{checksum:a,url:p}=this,c=await this._getServiceDescription(p,s,t),d=e?.travelMode??c.defaultTravelMode,m=e?.accumulateAttributes??[];d&&(m.push(d.distanceAttributeName),d.timeAttributeName&&m.push(d.timeAttributeName));const f={accumulateAttributes:m,checksum:a,directionsOutputType:"featuresets",ignoreInvalidLocations:!0,pointBarriers:i,polylineBarriers:o,polygonBarriers:n,preserveObjectID:!0,returnBarriers:!!i,returnDirections:!0,returnPolygonBarriers:!!n,returnPolylineBarriers:!!o,returnRoutes:!0,returnStops:!0,stops:r},h=yt.from(e??{});let g;h.set(f);try{g=await De(p,h,t)}catch(e){throw(0,y.zf)(e)?e:new u.A("routelayer:failed-route-request","the routing request failed",{error:e})}const v=this._toRouteLayerSolution(g);return this._isOverridden("title")||(this.title=v.routeInfo.name??"Route"),this._populatePortalFields(v,c,h),v}update(e){const{checksum:t,directionLines:r,directionPoints:i,pointBarriers:o,polygonBarriers:n,polylineBarriers:s,routeInfo:a,stops:l}=e;vt(l,this.stops)?function(e,t){for(const r of e){const e=t.find(e=>e.objectId===r.objectId);e&&(e.arriveCurbApproach=r.arriveCurbApproach,e.arriveTime=r.arriveTime,e.arriveTimeOffset=r.arriveTimeOffset,e.cumulativeCosts=r.cumulativeCosts,e.cumulativeDistance=r.cumulativeDistance,e.cumulativeDuration=r.cumulativeDuration,e.curbApproach=r.curbApproach,e.departCurbApproach=r.departCurbApproach,e.departTime=r.departTime,e.departTimeOffset=r.departTimeOffset,e.distanceToNetworkInMeters=r.distanceToNetworkInMeters,e.geometry=r.geometry,e.lateDuration=r.lateDuration,e.name=r.name,e.navLatency=r.navLatency,e.positionAlong=r.positionAlong,e.routeName=r.routeName,e.serviceCosts=r.serviceCosts,e.serviceDistance=r.serviceDistance,e.serviceDuration=r.serviceDuration,e.sequence=r.sequence,e.sideOfEdge=r.sideOfEdge,e.snapX=r.snapX,e.snapY=r.snapY,e.snapZ=r.snapZ,e.sourceId=r.sourceId,e.sourceOid=r.sourceOid,e.status=r.status,e.symbol=r.symbol,e.timeWindowEnd=r.timeWindowEnd,e.timeWindowStart=r.timeWindowStart,e.violations=r.violations,e.waitDuration=r.waitDuration,e.wait=r.wait)}}(l,this.stops):this.set({stops:l}),wt(o,this.pointBarriers)&&(vt(o,this.pointBarriers)?function(e,t){for(const r of e){const e=t.find(e=>e.objectId===r.objectId);e&&(e.addedCost=r.addedCost,e.barrierType=r.barrierType,e.costs=r.costs,e.curbApproach=r.curbApproach,e.fullEdge=r.fullEdge,e.geometry=r.geometry,e.name=r.name,e.sideOfEdge=r.sideOfEdge,e.sourceId=r.sourceId,e.sourceOid=r.sourceOid,e.status=r.status,e.symbol=r.symbol)}}(o,this.pointBarriers):this.set({pointBarriers:o})),wt(s,this.polylineBarriers)&&(vt(s,this.polylineBarriers)?function(e,t){for(const r of e){const e=t.find(e=>e.objectId===r.objectId);e&&(e.barrierType=r.barrierType,e.costs=r.costs,e.geometry=r.geometry,e.name=r.name,e.scaleFactor=r.scaleFactor,e.symbol=r.symbol)}}(s,this.polylineBarriers):this.set({polylineBarriers:s})),wt(n,this.polygonBarriers)&&(vt(n,this.polygonBarriers)?function(e,t){for(const r of e){const e=t.find(e=>e.objectId===r.objectId);e&&(e.barrierType=r.barrierType,e.costs=r.costs,e.geometry=r.geometry,e.name=r.name,e.scaleFactor=r.scaleFactor,e.symbol=r.symbol)}}(n,this.polygonBarriers):this.set({polygonBarriers:n})),this.set({checksum:t}),this._set("directionLines",r),this._set("directionPoints",i),this._set("routeInfo",a),a.geometry&&(this.spatialReference=a.geometry.spatialReference)}_getNetworkFeatures(e,t,r,i){const o=St(e)?e.layers:e.featureCollection?.layers,a=o?.find(e=>e.layerDefinition.name===t);if(null==a)return new l.A;const{layerDefinition:u,popupInfo:p,featureSet:c}=a,d=u.drawingInfo.renderer,{features:y}=c,m=c.spatialReference??u.spatialReference??u.extent.spatialReference??S.KK,f=d&&(0,J.L)(d),h=T.A.fromJSON(m),g=y.map(e=>{const i=n.A.fromJSON(e);i.geometry&&e.geometry&&null==e.geometry.spatialReference&&(i.geometry.spatialReference=h);const o=r(i);return o.symbol??=f?.getSymbol(i)??this._getNetworkSymbol(t),o.popupTemplate??=p&&s.A.fromJSON(p),o});return i&&g.some(({symbol:e})=>!e)&&i(g),new l.A(g)}_getNetworkSymbol(e){switch(e){case"Barriers":return this.defaultSymbols.pointBarriers;case"DirectionPoints":return this.defaultSymbols.directionPoints;case"DirectionLines":return this.defaultSymbols.directionLines;case"PolylineBarriers":return this.defaultSymbols.polylineBarriers;case"PolygonBarriers":return this.defaultSymbols.polygonBarriers;case"RouteInfo":return this.defaultSymbols.routeInfo;case"Stops":return null}}async _getServiceDescription(e,t,r){if(null!=this._cachedServiceDescription&&this._cachedServiceDescription.url===e)return this._cachedServiceDescription.serviceDescription;const i=await te(e,t,r);return this._cachedServiceDescription={serviceDescription:i,url:e},i}_setStopSymbol(e){const t=l.A.isCollection(e)?e.toArray():e;if(!t||!t.length||!this.defaultSymbols.stops||t.every(({symbol:e})=>!!e))return;const{first:r,last:i,middle:o,unlocated:n,waypoint:s,break:u}=this.defaultSymbols.stops,p=t.map(({sequence:e})=>e).filter(a.Ru),c=t.length===p.length;if(!this.routeInfo&&!c||1===t.length)return void t.forEach((e,n)=>{switch(n){case 0:e.symbol=r;break;case t.length-1:e.symbol=i;break;default:e.symbol=o}});const d=Math.min(...p),y=Math.max(...p);for(const e of t)e.sequence!==d?e.sequence!==y?this.routeInfo&&"ok"!==e.status&&"not-located-on-closest"!==e.status?e.symbol=n:"waypoint"!==e.locationType?"break"!==e.locationType?e.symbol=o:e.symbol=u:e.symbol=s:e.symbol=i:e.symbol=r}_toRouteLayerSolution(e){const{checksum:t,routeResults:r}=e,i=r[0].stops?.map(e=>ht.fromJSON(e.toJSON()));this._setStopSymbol(i);const o=new Rt(i),n=new Dt(e.polygonBarriers?.map(e=>Je.fromJSON(e.toJSON())));At(n,this.defaultSymbols.polygonBarriers);const s=new xt(e.polylineBarriers?.map(e=>ke.fromJSON(e.toJSON())));At(s,this.defaultSymbols.polylineBarriers);const a=new Zt(e.pointBarriers?.map(e=>Ee.fromJSON(e.toJSON())));At(a,this.defaultSymbols.pointBarriers);const l=r[0].route?.toJSON(),u=Ve.fromJSON(l);u.symbol=this.defaultSymbols.routeInfo;const p=new jt(r[0].directionPoints?.features.map(e=>Fe.fromJSON(e.toJSON())));At(p,this.defaultSymbols.directionPoints);const c=new Nt(r[0].directionLines?.features.map(e=>Re.fromJSON(e.toJSON())));return At(c,this.defaultSymbols.directionLines),{checksum:t,directionLines:c,directionPoints:p,pointBarriers:a,polygonBarriers:n,polylineBarriers:s,routeInfo:u,stops:o}}_writeDirectionLines(){return this._writeNetworkFeatures(this.directionLines,this.defaultSymbols.directionLines,"esriGeometryPolyline",Re.fields,"DirectionLines","Direction Lines")}_writeDirectionPoints(){return this._writeNetworkFeatures(this.directionPoints,this.defaultSymbols.directionPoints,"esriGeometryPoint",Fe.fields,"DirectionPoints","Direction Points")}_writeNetworkFeatures(e,t,r,i,o,n){if(!e?.length)return null;const s=this.spatialReference.toJSON(),{fullExtent:a,maxScale:l,minScale:u}=this;return{featureSet:{features:e.toArray().map(e=>function(e){const{attributes:t,geometry:r,popupTemplate:i,symbol:o}=e.toGraphic().toJSON();return{attributes:t,geometry:r,popupInfo:i,symbol:o}}(e)),geometryType:r,spatialReference:s},layerDefinition:{capabilities:"Query,Update,Editing",drawingInfo:{renderer:{type:"simple",symbol:t?.toJSON()??Tt(r)}},extent:a.toJSON(),fields:i,geometryType:r,hasM:!1,hasZ:!1,maxScale:l,minScale:u,name:o,objectIdField:"ObjectID",spatialReference:s,title:n,type:"Feature Layer",typeIdField:""}}}_writePointBarriers(){return this._writeNetworkFeatures(this.pointBarriers,this.defaultSymbols.pointBarriers,"esriGeometryPoint",Ee.fields,"Barriers","Point Barriers")}_writePolygonBarriers(){return this._writeNetworkFeatures(this.polygonBarriers,this.defaultSymbols.polygonBarriers,"esriGeometryPolygon",Je.fields,"PolygonBarriers","Polygon Barriers")}_writePolylineBarriers(){return this._writeNetworkFeatures(this.polylineBarriers,this.defaultSymbols.polylineBarriers,"esriGeometryPolyline",ke.fields,"PolylineBarriers","Line Barriers")}_writeRouteInfo(){return this._writeNetworkFeatures(null!=this.routeInfo?new l.A([this.routeInfo]):null,this.defaultSymbols.routeInfo,"esriGeometryPolyline",Ve.fields,"RouteInfo","Route Details")}_writeStops(){const e=this._writeNetworkFeatures(this.stops,null,"esriGeometryPoint",ht.fields,"Stops","Stops");if(null==e)return null;const{stops:t}=this.defaultSymbols,r=t?.first?.toJSON(),i=t?.middle?.toJSON(),o=t?.last?.toJSON();return e.layerDefinition.drawingInfo.renderer={type:"uniqueValue",field1:"Sequence",defaultSymbol:i,uniqueValueInfos:[{value:"1",symbol:r,label:"First Stop"},{value:`${this.stops.length}`,symbol:o,label:"Last Stop"}]},e}_populatePortalFields(e,t,r){const i=t.networkDataset?.networkAttributes,o=i?.filter(({usageType:e})=>"cost"===e)??[],n=r.travelMode??t.defaultTravelMode;if(null==n)return void p.A.getLogger(this).warn("route-layer:missing-travel-mode","The routing service must have a default travel mode or one must be specified in the route parameter.");const{timeAttributeName:s,distanceAttributeName:a}=n,l=o.find(({name:e})=>e===s),c=o.find(({name:e})=>e===a),d=r.travelMode?.impedanceAttributeName??r.impedanceAttribute??t.impedance,y=l?.units,m=c?.units;if(!y||!m)throw new u.A("routelayer:unknown-impedance-units","the units of either the distance or time impedance are unknown");const f=r.directionsLanguage??t.directionsLanguage,h=r.accumulateAttributes??t.accumulateAttributeNames??[],g=new Set(o.filter(({name:e})=>e===s||e===a||e===d||null!=e&&h.includes(e)).map(({name:e})=>e)),v=e=>{for(const t in e)g.has(t)||delete e[t]};for(const t of e.pointBarriers)null!=t.costs&&(t.addedCost=t.costs[d]??0,v(t.costs));for(const t of e.polygonBarriers)null!=t.costs&&(t.scaleFactor=t.costs[d]??1,v(t.costs));for(const t of e.polylineBarriers)null!=t.costs&&(t.scaleFactor=t.costs[d]??1,v(t.costs));const{routeInfo:b}=e,{findBestSequence:w,preserveFirstStop:C,preserveLastStop:T,startTimeIsUTC:S,timeWindowsAreUTC:M}=r;b.analysisSettings=new $e({accumulateAttributes:h,directionsLanguage:f,findBestSequence:w,preserveFirstStop:C,preserveLastStop:T,startTimeIsUTC:S,timeWindowsAreUTC:M,travelMode:n}),b.totalDuration=It(b.totalCosts?.[s]??0,y),b.totalDistance=Ot(b.totalCosts?.[a]??0,m),b.totalLateDuration=It(b.totalViolations?.[s]??0,y),b.totalWaitDuration=It(b.totalWait?.[s]??0,y),null!=b.totalCosts&&v(b.totalCosts),null!=b.totalViolations&&v(b.totalViolations),null!=b.totalWait&&v(b.totalWait);for(const t of e.stops)null!=t.serviceCosts&&(t.serviceDuration=It(t.serviceCosts[s]??0,y),t.serviceDistance=Ot(t.serviceCosts[a]??0,m),v(t.serviceCosts)),null!=t.cumulativeCosts&&(t.cumulativeDuration=It(t.cumulativeCosts[s]??0,y),t.cumulativeDistance=Ot(t.cumulativeCosts[a]??0,m),v(t.cumulativeCosts)),null!=t.violations&&(t.lateDuration=It(t.violations[s]??0,y),v(t.violations)),null!=t.wait&&(t.waitDuration=It(t.wait[s]??0,y),v(t.wait))}};(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1,origins:{"portal-item":{write:{allowNull:!0,ignoreOrigin:!0}},"web-map":{write:{overridePolicy(){return{allowNull:!0,ignoreOrigin:null==this.portalItem}}}}}}})],Bt.prototype,"_featureCollection",void 0),(0,i.Cg)([(0,H.K)(["web-map","portal-item"],"_featureCollection")],Bt.prototype,"writeFeatureCollectionWebmap",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{target:"type",overridePolicy(){return{ignoreOrigin:null!=this.portalItem}}}}}}})],Bt.prototype,"_type",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],Bt.prototype,"checksum",void 0),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,type:P})],Bt.prototype,"defaultSymbols",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Bt.prototype,"directionLines",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"directionLines",["layers","featureCollection.layers"])],Bt.prototype,"readDirectionLines",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Bt.prototype,"directionPoints",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"directionPoints",["layers","featureCollection.layers"])],Bt.prototype,"readDirectionPoints",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1,origins:{"web-map":{write:{ignoreOrigin:!0}}}}})],Bt.prototype,"featureCollectionType",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Bt.prototype,"fullExtent",null),(0,i.Cg)([(0,g.MZ)({json:{origins:{"web-map":{name:"featureCollection.showLegend"}},write:!0}})],Bt.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:["show","hide"]})],Bt.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],Bt.prototype,"maxScale",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"maxScale",["layers","featureCollection.layers"])],Bt.prototype,"readMaxScale",null),(0,i.Cg)([(0,g.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],Bt.prototype,"minScale",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"minScale",["layers","featureCollection.layers"])],Bt.prototype,"readMinScale",null),(0,i.Cg)([(0,g.MZ)({type:["ArcGISFeatureLayer"],value:"ArcGISFeatureLayer"})],Bt.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,type:l.A.ofType(Ee)})],Bt.prototype,"pointBarriers",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"pointBarriers",["layers","featureCollection.layers"])],Bt.prototype,"readPointBarriers",null),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,type:l.A.ofType(Je)})],Bt.prototype,"polygonBarriers",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"polygonBarriers",["layers","featureCollection.layers"])],Bt.prototype,"readPolygonBarriers",null),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,type:l.A.ofType(ke)})],Bt.prototype,"polylineBarriers",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"polylineBarriers",["layers","featureCollection.layers"])],Bt.prototype,"readPolylineBarriers",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Bt.prototype,"routeInfo",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"routeInfo",["layers","featureCollection.layers"])],Bt.prototype,"readRouteInfo",null),(0,i.Cg)([(0,g.MZ)({type:T.A})],Bt.prototype,"spatialReference",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"spatialReference",["layers","featureCollection.layers"])],Bt.prototype,"readSpatialReference",null),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,type:l.A.ofType(ht)})],Bt.prototype,"stops",void 0),(0,i.Cg)([(0,Y.w)(["web-map","portal-item"],"stops",["layers","featureCollection.layers"])],Bt.prototype,"readStops",null),(0,i.Cg)([(0,g.MZ)()],Bt.prototype,"title",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],Bt.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)()],Bt.prototype,"url",null),Bt=(0,i.Cg)([(0,g.$K)("esri.layers.RouteLayer")],Bt);const Ft=Bt},37539(e,t,r){r.d(t,{pO:()=>f,jd:()=>d,Tp:()=>y,w5:()=>c});var i=r(34727),o=r(86211),n=r(73941),s=r(79258);Math.PI;const a=s.$O.radius,l=s.$O.eccentricitySquared,u={a1:a*l,a2:a*l*a*l,a3:a*l*l/2,a4:a*l*a*l*2.5,a5:a*l+a*l*l/2,a6:1-l};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var p=r(21325);const c={2:{5:f,7:null,9:null,10:f,1:S,6:null,8:null,0:null,3:g,11:v,2:f,4:N},5:{5:f,7:null,9:null,10:f,1:S,6:null,8:null,0:null,3:g,11:v,2:f,4:N},7:{5:null,7:f,9:null,10:f,1:null,6:T,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:C,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,t,r,i){const o=e[t]/B,n=R-2*Math.atan(Math.exp(-e[t+1]/B)),s=B+(e[t+2]??0),a=Math.cos(n)*s;r[i]=Math.cos(o)*a,r[i+1]=Math.sin(o)*a,r[i+2]=Math.sin(n)*s},6:null,8:null,0:null,3:f,11:function(e,t,r,i){h(e,t,r,i),v(r,i,r,i)},2:h,4:function(e,t,r,i){h(e,t,r,i),N(r,i,r,i)}},4:{5:j,7:null,9:null,10:j,1:function(e,t,r,i){j(e,t,r,i),S(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){j(e,t,r,i),g(r,i,r,i)},11:function(e,t,r,i){j(e,t,r,i),v(r,i,r,i)},2:j,4:f},1:{5:O,7:null,9:null,10:O,1:f,6:null,8:null,0:null,3:function(e,t,r,i){O(e,t,r,i),g(r,i,r,i)},11:function(e,t,r,i){O(e,t,r,i),v(r,i,r,i)},2:O,4:function(e,t,r,i){O(e,t,r,i),N(r,i,r,i)}},6:{5:null,7:I,9:null,10:I,1:null,6:f,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:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:S,6:T,8:C,0:null,3:g,11:v,2:f,4:N},11:{5:b,7:null,9:null,10:b,1:function(e,t,r,i){b(e,t,r,i),S(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){b(e,t,r,i),g(r,i,r,i)},11:f,2:b,4:function(e,t,r,i){b(e,t,r,i),N(r,i,r,i)}}};function d(e,t){return y(e,t)?.projector}function y(e,t){if(null==e||null==t)return null;if(Z.source.spatialReference===e&&Z.dest.spatialReference===t)return Z;const r=m(e,Z.source),i=m(t,Z.dest);return 0===r&&0===i?(0,p.aI)(e,t)?Z.projector=f:Z.projector=null:Z.projector=c[r][i],Z}function m(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,o.GA)(e,1)),(0,n.jA)(e)?t.spatialReferenceId=1:(0,p.oT)(e)?t.spatialReferenceId=2:(0,p.K8)(e)?t.spatialReferenceId=3:(0,p.r1)(e)?t.spatialReferenceId=11:e.wkt===n.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===n.FY.wkt?t.spatialReferenceId=6:e.wkt===n.LJ.wkt?t.spatialReferenceId=8:(0,p.q8)(e)?t.spatialReferenceId=7:(0,p.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function f(e,t,r,i){e!==r&&(r[i++]=e[t++],r[i++]=e[t++],r[i]=e[t]??0)}function h(e,t,r,i){r[i]=x*(e[t]/B),r[i+1]=x*(R-2*Math.atan(Math.exp(-e[t+1]/B))),r[i+2]=e[t+2]??0}function g(e,t,r,o){!function(e,t,r,o,n){const s=.4999999*Math.PI,a=(0,i.qE)(D*e[t+1],-s,s),l=Math.sin(a);r[o++]=D*e[t]*n.radius,r[o++]=n.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[o]=e[t+2]??0}(e,t,r,o,s.$O)}function v(e,t,r,i){r[i]=e[t]*F,r[i+1]=e[t+1]*F,r[i+2]=e[t+2]??0}function b(e,t,r,i){r[i]=e[t]*P,r[i+1]=e[t+1]*P,r[i+2]=e[t+2]??0}function w(e,t,r,i,o){const n=o+(e[t+2]??0),s=D*e[t],a=D*e[t+1],l=Math.cos(a)*n;r[i]=Math.cos(s)*l,r[i+1]=Math.sin(s)*l,r[i+2]=Math.sin(a)*n}function C(e,t,r,i){w(e,t,r,i,s.Sw.radius)}function T(e,t,r,i){w(e,t,r,i,s.sH.radius)}function S(e,t,r,i){w(e,t,r,i,s.$O.radius)}function M(e,t,r,o,n){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),p=(0,i.YN)(l/(0===u?1:u)),c=Math.atan2(a,s);r[o++]=x*c,r[o++]=x*p,r[o]=u-n}function A(e,t,r,i){M(e,t,r,i,s.Sw.radius)}function I(e,t,r,i){M(e,t,r,i,s.sH.radius)}function O(e,t,r,i){M(e,t,r,i,s.$O.radius)}function N(e,t,r,i){!function(e,t,r,i,o){const n=D*e[t],s=D*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),p=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);r[i++]=(p+a)*u*Math.cos(n),r[i++]=(p+a)*u*Math.sin(n),r[i++]=(p*(1-o.eccentricitySquared)+a)*l}(e,t,r,i,s.$O)}function j(e,t,r,i){const o=u,n=e[t],a=e[t+1],l=e[t+2]??0;let p,c,d,y,m,f,h,g,v,b,w,C,T,S,M,A,I,O,N,j,Z;p=Math.abs(l),c=n*n+a*a,d=Math.sqrt(c),y=c+l*l,m=Math.sqrt(y),j=Math.atan2(a,n),f=l*l/y,h=c/y,S=o.a2/m,M=o.a3-o.a4/m,h>.3?(g=p/m*(1+h*(o.a1+S+f*M)/m),N=Math.asin(g),b=g*g,v=Math.sqrt(1-b)):(v=d/m*(1-f*(o.a5-S-h*M)/m),N=Math.acos(v),b=1-v*v,g=Math.sqrt(b)),w=1-s.$O.eccentricitySquared*b,C=s.$O.radius/Math.sqrt(w),T=o.a6*C,S=d-C*v,M=p-T*g,I=v*S+g*M,A=v*M-g*S,O=A/(T/w+I),N+=O,Z=I+A*O/2,l<0&&(N=-N),r[i++]=x*j,r[i++]=x*N,r[i]=Z}const Z={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},D=(0,i.kU)(1),x=(0,i.KJ)(1),R=.5*Math.PI,B=s.$O.radius,F=B*Math.PI/180,P=180/(B*Math.PI)},46130(e,t,r){r.d(t,{v:()=>o});var i=r(76553);function o(e){e?.writtenProperties&&e.writtenProperties.forEach(({target:e,propName:t,newOrigin:r})=>{(0,i.H)(e)&&r&&e.originOf(t)!==r&&e.updateOrigin(t,r)})}},46140(e,t,r){r.d(t,{A:()=>o});var i=r(49186);let o=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[o,n]=t.split("."),s=/^\s*\d+\s*$/;if(!o?.match||!s.test(o))throw new i.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!n?.match||!s.test(n))throw new i.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(o,10),l=parseInt(n,10);return new e(a,l,r)}}},54339(e,t,r){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function o(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>o})},55674(e,t,r){r.d(t,{Ad:()=>y,Gj:()=>h,QY:()=>d,lL:()=>g,xR:()=>m});var i=r(66131),o=r(49186),n=(r(44208),r(44729)),s=r(15032),a=r(65864),l=r(95466),u=r(43668),p=r(98623);const c=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function y(e,t){return f.create(e,t,null,["$feature","$view"])}function m(e,t,r){return f.create(e,t,r,["$feature","$view","$config"])}class f{static async create(e,t,r,i){const{arcade:n,Dictionary:s}=await(0,u.l)();let a;try{a=n.parseScript(e)}catch(t){throw new o.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=n.scriptUsesGeometryEngine(a);l&&await n.enableGeometrySupport(),await n.loadDependentModules(new Set,a,null,!1,l);const p={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=n.compileScript(a,p);let d=null;null!=r&&(d=new s(r),d.immutable=!0);const y=new s;return y.immutable=!1,y.setField("scale",0),new f(e,n,a,c,t,y,d,s)}constructor(e,t,r,i,o,n,s,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=o,this._viewDict=n,this._configDict=s,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new h,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:o,currentEnd:n}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=o?null!=r?i.lY.epochToArcadeDate(o,r):i.lY.unknownEpochToArcadeDate(o):void 0,currentEnd:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class h{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===p.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return n.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return s.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??p.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},63074(e,t,r){r.d(t,{LF:()=>u,dM:()=>p,sU:()=>a});var i=r(31635),o=r(91429),n=r(89317),s=r(76369);const a={type:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"],nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:{layerContainerTypes:n.K}},"portal-item":{read:!0,write:{layerContainerTypes:n.K}}}}},l={read:{reader:s.LF},write:{allowNull:!0,writer:s.M9,layerContainerTypes:n.K}},u={json:{read:!1,write:!1,origins:{"web-map":l,"portal-item":l}}},p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"blendMode",void 0),(0,i.Cg)([(0,o.MZ)(u)],r.prototype,"effect",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.BlendLayer")],r),r}},65494(e,t,r){r.d(t,{L:()=>l,r:()=>s});var i=r(67076),o=r(90360),n=r(41214);function s(e,t){return l(e,null,t)}const a=(0,o.C)({types:n.Hg});function l(e,t,r){return e?e&&(e.styleName||e.styleUrl)&&"uniqueValue"!==e.type?(r?.messages&&r.messages.push(new i.A("renderer:unsupported","Only UniqueValueRenderer can be referenced from a web style, but found '"+e.type+"'",{definition:e,context:r})),null):a(e,t,r):null}},69052(e,t,r){r.d(t,{hr:()=>o,ie:()=>l,uC:()=>a});var i=r(34727);class o{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,r=!1){return n(this.range,this.min,this.max,e,t,r)}clamp(e,t=0){return(0,i.qE)(e-t,this.min,this.max)+t}monotonic(e,t,r){return e<t?t:t+s(this.range,e-t,r)}minimalMonotonic(e,t,r){return n(this.range,e,e+this.range,t,r)}center(e,t,r){return t=this.monotonic(e,t,r),this.normalize((e+t)/2,r)}diff(e,t,r){return this.monotonic(e,t,r)-e}shortestSignedDiff(e,t){e=this.normalize(e);const r=(t=this.normalize(t))-e,i=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(r)<Math.abs(i)?r:i}contains(e,t,r){return t=this.minimalMonotonic(e,t),(r=this.minimalMonotonic(e,r))>e&&r<t}}function n(e,t,r,i,o=0,n=!1){return(i-=o)<t?i+=s(e,t-i):i>r&&(i-=s(e,i-r)),n&&i===r&&(i=t),i+o}function s(e,t,r=0){return Math.ceil((t-r)/e)*e+r}const a=new o(0,2*Math.PI),l=(new o(-Math.PI,Math.PI),new o(0,360))},70328(e,t,r){r.d(t,{BI:()=>b,DC:()=>c,Ej:()=>y,Ie:()=>g,Jt:()=>v,Ne:()=>m,RF:()=>p,aI:()=>C,fA:()=>s,gE:()=>l,hZ:()=>h,iT:()=>d,is:()=>w,qv:()=>T,vI:()=>f,vY:()=>a,v_:()=>S,vt:()=>n,w1:()=>u});var i=r(5443),o=(r(19419),r(4197));function n(e=S){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,i,o,s,a=n()){return a[0]=e,a[1]=t,a[2]=r,a[3]=i,a[4]=o,a[5]=s,a}function a(e,t=n()){return function(e,t,r,i=n()){return h(i,T),function(e,t,r=0,i=t.length/3){let o=e[0],n=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<i;e++)o=Math.min(o,t[r+3*e]),n=Math.min(n,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=o,e[1]=n,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(i,e,t,r),i}(e,0,e.length/3,t)}function l(e,t=(0,o.jh)(24)){const[r,i,n,s,a,l]=e;return t[0]=r,t[1]=i,t[2]=n,t[3]=r,t[4]=i,t[5]=l,t[6]=r,t[7]=a,t[8]=n,t[9]=r,t[10]=a,t[11]=l,t[12]=s,t[13]=i,t[14]=n,t[15]=s,t[16]=i,t[17]=l,t[18]=s,t[19]=a,t[20]=n,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new i.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(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 y(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 m(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 f(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 h(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?h(e,T):n(T)}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,i,o){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=o,e[5]=Number.POSITIVE_INFINITY,e}function w(e){return 6===e.length}function C(e,t,r){if(null==e||null==t)return e===t;if(!w(e)||!w(t))return!1;if(r){for(let i=0;i<e.length;i++)if(!r(e[i],t[i]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const T=[1/0,1/0,1/0,-1/0,-1/0,-1/0],S=[0,0,0,0,0,0];n()},73681(e,t,r){r.d(t,{n:()=>l});var i=r(49186),o=r(53966),n=r(46140),s=r(95466),a=r(55674);class l{static async from(e,t,r){const s=e.dictionary_version?n.A.parse(e.dictionary_version):null,p=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const y=await(0,a.xR)(e.expression,null,c);if(!y)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const m=!s||!s.greaterEqual(4,0);m&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:s});const f=new u(r,m);return new l(m,p,y,f)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new s.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new s.A(t)}}class u extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},76369(e,t,r){r.d(t,{LF:()=>T,M9:()=>S});var i=r(49186),o=r(93637),n=r(40876),s=r(59247),a=r(27865);class l extends SyntaxError{constructor(e,t,r,i){super(e),this.expected=t,this.found=r,this.location=i,this.name="SyntaxError"}format(e){let t="Error: "+this.message;if(this.location){let r=null;const i=e.find(e=>e.source===this.location.source);i&&(r=i.text.split(/\r\n|\n|\r/g));const o=this.location.start,n=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(o):o,s=this.location.source+":"+n.line+":"+n.column;if(r){const e=this.location.end,i="".padEnd(n.line.toString().length," "),a=r[o.line-1],l=(o.line===e.line?e.column:a.length+1)-o.column||1;t+="\n --\x3e "+s+"\n"+i+" |\n"+n.line+" | "+a+"\n"+i+" | "+"".padEnd(o.column-1," ")+"".padEnd(l,"^")}else t+="\n at "+s}return t}static buildMessage(e,t){function r(e){return e.codePointAt(0).toString(16).toUpperCase()}const i=Object.prototype.hasOwnProperty.call(RegExp.prototype,"unicode")?new RegExp("[\\p{C}\\p{Mn}\\p{Mc}]","gu"):null;function o(e){return i?e.replace(i,e=>"\\u{"+r(e)+"}"):e}function n(e){return o(e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}function s(e){return o(e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,e=>"\\x0"+r(e)).replace(/[\x10-\x1F\x7F-\x9F]/g,e=>"\\x"+r(e)))}const a={literal:e=>'"'+n(e.text)+'"',class(e){const t=e.parts.map(e=>Array.isArray(e)?s(e[0])+"-"+s(e[1]):s(e));return"["+(e.inverted?"^":"")+t.join("")+"]"+(e.unicode?"u":"")},any:()=>"any character",end:()=>"end of input",other:e=>e.description};function l(e){return a[e.type](e)}return"Expected "+function(e){const t=e.map(l);if(t.sort(),t.length>0){let e=1;for(let r=1;r<t.length;r++)t[r-1]!==t[r]&&(t[e]=t[r],e++);t.length=e}switch(t.length){case 1:return t[0];case 2:return t[0]+" or "+t[1];default:return t.slice(0,-1).join(", ")+", or "+t[t.length-1]}}(e)+" but "+function(e){return e?'"'+n(e)+'"':"end of input"}(t)+" found."}}function u(e){if(!e||0===e.length)return null;if("string"==typeof e){const t=p(e);return t&&0!==t.length?t:null}const t=e.map(e=>{if(!Number.isFinite(e.scale)||e.scale<=0)throw new i.A("effect:invalid-scale","scale must be finite and greater than 0",{stop:e});return{scale:e.scale,effects:p(e.value)}});t.sort((e,t)=>t.effects.length-e.effects.length);for(let e=0;e<t.length-1;e++){if(!(0,a.mj)(t[e].effects,t[e+1].effects))throw new i.A("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:t[e].effects,b:t[e+1].effects});(0,a.O9)(t[e].effects,t[e+1].effects)}return t.sort((e,t)=>t.scale-e.scale),t}function p(e){let t;if(!e)return[];try{t=function(e,t){const r={},i=(t=void 0!==t?t:{}).grammarSource,o={start:Ce};let n=Ce;const s="none",a=")",u=",",p="(",c="%",d="px",y="cm",m="mm",f="in",h="pt",g="pc",v="deg",b="rad",w="grad",C="turn",T="#",S=".",M="e",A=/^[ \t\n\r]/,I=/^[a-z\-]/,O=/^[0-9a-fA-F]/,N=/^[+\-]/,j=/^[0-9]/,Z=ge("none"),D=fe("none",!1),x=fe(")",!1),R=fe(",",!1),B=he([" ","\t","\n","\r"],!1,!1,!1),F=ge("function"),P=fe("(",!1),E=ge("identifier"),_=he([["a","z"],"-"],!1,!1,!1),L=ge("percentage"),J=fe("%",!1),U=ge("length"),k=fe("px",!1),$=fe("cm",!1),W=fe("mm",!1),V=fe("in",!1),G=fe("pt",!1),q=fe("pc",!1),K=ge("angle"),z=fe("deg",!1),Y=fe("rad",!1),H=fe("grad",!1),X=fe("turn",!1),Q=ge("number"),ee=ge("color"),te=fe("#",!1),re=he([["0","9"],["a","f"],["A","F"]],!1,!1,!1),ie=he(["+","-"],!1,!1,!1),oe=he([["0","9"]],!1,!1,!1),ne=fe(".",!1),se=fe("e",!1);let ae=0|t.peg$currPos,le=ae;const ue=[{line:1,column:1}];let pe,ce=ae,de=t.peg$maxFailExpected||[],ye=0|t.peg$silentFails;if(t.startRule){if(!(t.startRule in o))throw new Error("Can't start parsing from rule \""+t.startRule+'".');n=o[t.startRule]}function me(){return e.substring(le,ae)}function fe(e,t){return{type:"literal",text:e,ignoreCase:t}}function he(e,t,r,i){return{type:"class",parts:e,inverted:t,ignoreCase:r,unicode:i}}function ge(e){return{type:"other",description:e}}function ve(t){let r,i=ue[t];if(i)return i;if(t>=ue.length)r=ue.length-1;else for(r=t;!ue[--r];);for(i=ue[r],i={line:i.line,column:i.column};r<t;)10===e.charCodeAt(r)?(i.line++,i.column=1):i.column++,r++;return ue[t]=i,i}function be(e,t,r){const o=ve(e),n=ve(t);return{source:i,start:{offset:e,line:o.line,column:o.column},end:{offset:t,line:n.line,column:n.column}}}function we(e){ae<ce||(ae>ce&&(ce=ae,de=[]),de.push(e))}function Ce(){let e;return e=Te(),e===r&&(e=function(){let e,t;if(e=[],t=Se(),t!==r)for(;t!==r;)e.push(t),t=Se();else e=r;return e}()),e}function Te(){let t,i;return ye++,t=ae,Ae(),e.substr(ae,4)===s?(i=s,ae+=4):(i=r,0===ye&&we(D)),i!==r?(Ae(),le=t,t=[]):(ae=t,t=r),ye--,t===r&&0===ye&&we(Z),t}function Se(){let t,i,o,n;return t=ae,Ae(),i=function(){let t,i,o;return ye++,t=ae,i=Ie(),i!==r?(40===e.charCodeAt(ae)?(o=p,ae++):(o=r,0===ye&&we(P)),o!==r?(le=t,t=i):(ae=t,t=r)):(ae=t,t=r),ye--,t===r&&(i=r,0===ye&&we(F)),t}(),i!==r?(Ae(),o=function(){let t,i,o,n,s,a,l,p;if(t=ae,i=Me(),i!==r){for(o=[],n=ae,s=Ae(),44===e.charCodeAt(ae)?(a=u,ae++):(a=r,0===ye&&we(R)),a===r&&(a=null),l=Ae(),p=Me(),p!==r?(s=[s,a,l,p],n=s):(ae=n,n=r);n!==r;)o.push(n),n=ae,s=Ae(),44===e.charCodeAt(ae)?(a=u,ae++):(a=r,0===ye&&we(R)),a===r&&(a=null),l=Ae(),p=Me(),p!==r?(s=[s,a,l,p],n=s):(ae=n,n=r);le=t,t=function(e,t){return t.length>0?function(e,t){return[e].concat(function(e){return e.map(function(e){return e[3]})}(t))}(e,t):[e]}(i,o)}else ae=t,t=r;return t}(),o===r&&(o=null),Ae(),41===e.charCodeAt(ae)?(n=a,ae++):(n=r,0===ye&&we(x)),n!==r?(Ae(),le=t,t=function(e,t){return{type:"function",name:e,parameters:t||[]}}(i,o)):(ae=t,t=r)):(ae=t,t=r),t}function Me(){let e,t;return e=ae,t=Oe(),t===r&&(t=Ne(),t===r&&(t=je(),t===r&&(t=function(){let e,t;return ye++,e=ae,Ae(),t=De(),t!==r?(le=e,e=function(e){return{value:e,unit:null}}(t)):(ae=e,e=r),ye--,e===r&&0===ye&&we(Q),e}()))),t!==r&&(le=e,t=function(e){return{type:"quantity",value:e.value,unit:e.unit}}(t)),e=t,e===r&&(e=ae,t=Ze(),t!==r&&(le=e,t=function(e){return{type:"color",colorType:e.type,value:e.value}}(t)),e=t),e}function Ae(){let t,i;for(ye++,t=[],i=e.charAt(ae),A.test(i)?ae++:(i=r,0===ye&&we(B));i!==r;)t.push(i),i=e.charAt(ae),A.test(i)?ae++:(i=r,0===ye&&we(B));return ye--,t}function Ie(){let t,i,o;if(ye++,t=ae,i=[],o=e.charAt(ae),I.test(o)?ae++:(o=r,0===ye&&we(_)),o!==r)for(;o!==r;)i.push(o),o=e.charAt(ae),I.test(o)?ae++:(o=r,0===ye&&we(_));else i=r;return i!==r&&(le=t,i=me()),t=i,ye--,t===r&&(i=r,0===ye&&we(E)),t}function Oe(){let t,i,o;return ye++,t=ae,Ae(),i=De(),i!==r?(37===e.charCodeAt(ae)?(o=c,ae++):(o=r,0===ye&&we(J)),o!==r?(le=t,t=function(e){return{value:e,unit:"%"}}(i)):(ae=t,t=r)):(ae=t,t=r),ye--,t===r&&0===ye&&we(L),t}function Ne(){let t,i,o;return ye++,t=ae,Ae(),i=De(),i!==r?(e.substr(ae,2)===d?(o=d,ae+=2):(o=r,0===ye&&we(k)),o!==r?(le=t,t=function(e){return{value:e,unit:"px"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,Ae(),i=De(),i!==r?(e.substr(ae,2)===y?(o=y,ae+=2):(o=r,0===ye&&we($)),o!==r?(le=t,t=function(e){return{value:e,unit:"cm"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,Ae(),i=De(),i!==r?(e.substr(ae,2)===m?(o=m,ae+=2):(o=r,0===ye&&we(W)),o!==r?(le=t,t=function(e){return{value:e,unit:"mm"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,Ae(),i=De(),i!==r?(e.substr(ae,2)===f?(o=f,ae+=2):(o=r,0===ye&&we(V)),o!==r?(le=t,t=function(e){return{value:e,unit:"in"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,Ae(),i=De(),i!==r?(e.substr(ae,2)===h?(o=h,ae+=2):(o=r,0===ye&&we(G)),o!==r?(le=t,t=function(e){return{value:e,unit:"pt"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,Ae(),i=De(),i!==r?(e.substr(ae,2)===g?(o=g,ae+=2):(o=r,0===ye&&we(q)),o!==r?(le=t,t=function(e){return{value:e,unit:"pc"}}(i)):(ae=t,t=r)):(ae=t,t=r)))))),ye--,t===r&&0===ye&&we(U),t}function je(){let t,i,o;return ye++,t=ae,i=De(),i!==r?(e.substr(ae,3)===v?(o=v,ae+=3):(o=r,0===ye&&we(z)),o!==r?(le=t,t=function(e){return{value:e,unit:"deg"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,i=De(),i!==r?(e.substr(ae,3)===b?(o=b,ae+=3):(o=r,0===ye&&we(Y)),o!==r?(le=t,t=function(e){return{value:e,unit:"rad"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,i=De(),i!==r?(e.substr(ae,4)===w?(o=w,ae+=4):(o=r,0===ye&&we(H)),o!==r?(le=t,t=function(e){return{value:e,unit:"grad"}}(i)):(ae=t,t=r)):(ae=t,t=r),t===r&&(t=ae,i=De(),i!==r?(e.substr(ae,4)===C?(o=C,ae+=4):(o=r,0===ye&&we(X)),o!==r?(le=t,t=function(e){return{value:e,unit:"turn"}}(i)):(ae=t,t=r)):(ae=t,t=r)))),ye--,t===r&&(i=r,0===ye&&we(K)),t}function Ze(){let t,i,o,n;if(ye++,t=ae,35===e.charCodeAt(ae)?(i=T,ae++):(i=r,0===ye&&we(te)),i!==r){if(o=[],n=e.charAt(ae),O.test(n)?ae++:(n=r,0===ye&&we(re)),n!==r)for(;n!==r;)o.push(n),n=e.charAt(ae),O.test(n)?ae++:(n=r,0===ye&&we(re));else o=r;o!==r?(le=t,t={type:"hex",value:me()}):(ae=t,t=r)}else ae=t,t=r;return t===r&&(t=ae,i=Se(),i!==r&&(le=t,i=function(e){return{type:"function",value:e}}(i)),t=i,t===r&&(t=ae,i=Ie(),i!==r&&(le=t,i={type:"named",value:me()}),t=i)),ye--,t===r&&(i=r,0===ye&&we(ee)),t}function De(){let t,i,o,n,s,a,l,u;for(t=ae,i=e.charAt(ae),N.test(i)?ae++:(i=r,0===ye&&we(ie)),i===r&&(i=null),o=ae,n=[],s=e.charAt(ae),j.test(s)?ae++:(s=r,0===ye&&we(oe));s!==r;)n.push(s),s=e.charAt(ae),j.test(s)?ae++:(s=r,0===ye&&we(oe));if(46===e.charCodeAt(ae)?(s=S,ae++):(s=r,0===ye&&we(ne)),s!==r){if(a=[],l=e.charAt(ae),j.test(l)?ae++:(l=r,0===ye&&we(oe)),l!==r)for(;l!==r;)a.push(l),l=e.charAt(ae),j.test(l)?ae++:(l=r,0===ye&&we(oe));else a=r;a!==r?(n=[n,s,a],o=n):(ae=o,o=r)}else ae=o,o=r;if(o===r)if(o=[],n=e.charAt(ae),j.test(n)?ae++:(n=r,0===ye&&we(oe)),n!==r)for(;n!==r;)o.push(n),n=e.charAt(ae),j.test(n)?ae++:(n=r,0===ye&&we(oe));else o=r;if(o!==r){if(n=ae,101===e.charCodeAt(ae)?(s=M,ae++):(s=r,0===ye&&we(se)),s!==r){if(a=e.charAt(ae),N.test(a)?ae++:(a=r,0===ye&&we(ie)),a===r&&(a=null),l=[],u=e.charAt(ae),j.test(u)?ae++:(u=r,0===ye&&we(oe)),u!==r)for(;u!==r;)l.push(u),u=e.charAt(ae),j.test(u)?ae++:(u=r,0===ye&&we(oe));else l=r;l!==r?(s=[s,a,l],n=s):(ae=n,n=r)}else ae=n,n=r;n===r&&(n=null),le=t,t=parseFloat(me())}else ae=t,t=r;return t}pe=n();const xe=pe!==r&&ae===e.length;function Re(){throw pe!==r&&ae<e.length&&we({type:"end"}),function(e,t,r){return new l(l.buildMessage(e,t),e,t,r)}(de,ce<e.length?function(t=ae){const r=e.codePointAt(t);return void 0===r?"":String.fromCodePoint(r)}(ce):null,ce<e.length?be(ce,ce+1):be(ce,ce))}return t.peg$library?{peg$result:pe,peg$currPos:ae,peg$FAILED:r,peg$maxFailExpected:de,peg$maxFailPos:ce,peg$success:xe,peg$throw:xe?void 0:Re}:xe?pe:void Re()}(e)}catch(t){throw new i.A("effect:invalid-syntax","Invalid effect syntax",{value:e,error:t})}return t.map(e=>function(e){try{switch(e.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(e){let t=1;return c(e.parameters,1),1===e.parameters.length&&(t=h(e.parameters[0])),new s.yG(e.name,t)}(e);case"opacity":return function(e){let t=1;return c(e.parameters,1),1===e.parameters.length&&(t=h(e.parameters[0])),new s.jm(t)}(e);case"hue-rotate":return function(e){let t=0;return c(e.parameters,1),1===e.parameters.length&&(t=function(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=m[e.unit]))throw new i.A("effect:type-error",`Expected <angle>, Actual: ${d(e)}`,{term:e})}(e),e.value*m[e.unit]||0}(e.parameters[0])),new s.Nd(t)}(e);case"blur":return function(e){let t=0;return c(e.parameters,1),1===e.parameters.length&&(t=g(e.parameters[0]),y(t,e.parameters[0])),new s.Fk(t)}(e);case"drop-shadow":return function(e){const t=[];let r=null;for(const o of e.parameters)if("color"===o.type){if(t.length&&Object.freeze(t),r)throw new i.A("effect:type-error","Accepts only one color",{});r=v(o)}else{const e=g(o);if(Object.isFrozen(t))throw new i.A("effect:type-error","<length> parameters not consecutive",{lengths:t});t.push(e),3===t.length&&y(e,o)}if(t.length<2||t.length>3)throw new i.A("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${t.length}}`,{lengths:t});return new s.$b(t[0],t[1],t[2]||0,r||b("black"))}(e);case"bloom":return function(e){let t=1,r=0,i=0;return c(e.parameters,3),e.parameters[0]&&(t=h(e.parameters[0])),e.parameters[1]&&(r=g(e.parameters[1]),y(r,e.parameters[1])),e.parameters[2]&&(i=h(e.parameters[2])),new s.bv(t,r,i)}(e)}}catch(t){throw t.details.filter=e,t}throw new i.A("effect:unknown-effect",`Effect '${e.name}' is not supported`,{effect:e})}(e))}function c(e,t){if(e.length>t)throw new i.A("effect:type-error",`Function supports up to ${t} parameters, Actual: ${e.length}`,{parameters:e})}function d(e){if("color"===e.type)return"<color>";if(e.unit){if(e.unit in f)return"<length>";if(e.unit in m)return"<angle>";if("%"===e.unit)return"<percentage>"}return"<double>"}function y(e,t){if(e<0)throw new i.A("effect:type-error",`Negative values are not allowed, Actual: ${e}`,{term:t})}const m={deg:1,grad:.9,rad:180/Math.PI,turn:360},f={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function h(e){!function(e){if("quantity"!==e.type||null!==e.unit&&"%"!==e.unit)throw new i.A("effect:type-error",`Expected <double> or <percentage>, Actual: ${d(e)}`,{term:e})}(e);const t=e.value;return y(t,e),"%"===e.unit?.01*t:t}function g(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=f[e.unit]))throw new i.A("effect:type-error",`Expected <length>, Actual: ${d(e)}`,{term:e})}(e),e.value*f[e.unit]||0}function v(e){switch(e.colorType){case"hex":return(0,n.j5)(e.value);case"named":return b(e.value);case"function":return function(e){if(c(e.parameters,4),w.test(e.name))return[h(e.parameters[0]),h(e.parameters[1]),h(e.parameters[2]),e.parameters[3]?h(e.parameters[3]):1];if(C.test(e.name))return(0,n.ay)(function(e){return function(e){if("quantity"!==e.type||null!==e.unit)throw new i.A("effect:type-error",`Expected <double>, Actual: ${d(e)}`,{term:e})}(e),y(e.value,e),e.value}(e.parameters[0]),h(e.parameters[1]),h(e.parameters[2]),e.parameters[3]?h(e.parameters[3]):1);throw new i.A("effect:syntax-error",`Invalid color function '${e.name}'`,{colorFunction:e})}(e.value)}}function b(e){if(!(0,n.V6)(e))throw new i.A("effect:unknown-color",`color '${e}' isn't valid`,{namedColor:e});return(0,n.c4)(e)}const w=/^rgba?/i,C=/^hsla?/i;function T(e,t,r){try{return function(e){if(!e||0===e.length)return null;if(function(e){const t=e[0];return!!t&&"scale"in t}(e)){const t=[];for(const r of e)t.push({scale:r.scale,value:M(r.value)});return t}return M(e)}(e)}catch(e){r?.messages?.push(e)}return null}function S(e,t,r,i){try{const i=function(e){const t=u(e);return t?(0,a.dw)(t)?t.map(e=>e.toJSON()):t.map(({scale:e,effects:t})=>({scale:e,value:t.map(e=>e.toJSON())})):null}(e);(0,o.sM)(r,i,t)}catch(e){i.messages&&i.messages.push(e)}}function M(e){if(!e?.length)return"";const t=[];for(const r of e){let e=[];switch(r.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":e=[A(r,"amount")];break;case"blur":e=[A(r,"radius","pt")];break;case"hue-rotate":e=[A(r,"angle","deg")];break;case"drop-shadow":e=[A(r,"xoffset","pt"),A(r,"yoffset","pt"),A(r,"blurRadius","pt"),I(r,"color")];break;case"bloom":e=[A(r,"strength"),A(r,"radius","pt"),A(r,"threshold")]}const i=`${r.type}(${e.filter(Boolean).join(" ")})`;u(i),t.push(i)}return t.join(" ")}function A(e,t,r){if(null==e[t])throw new i.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});return r?e[t]+r:""+e[t]}function I(e,t){if(null==e[t])throw new i.A("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});const r=e[t];return`rgba(${r[0]||0}, ${r[1]||0}, ${r[2]||0}, ${r[3]/255||0})`}},76553(e,t,r){function i(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>i})},80754(e,t,r){r.d(t,{j7:()=>s,kS:()=>l,kd:()=>a,r8:()=>u});var i=r(82799),o=r(16930),n=r(60408);const s={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:o.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:o.A.WGS84})}};function a(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const r=u(e);for(const e of r)for(const r of e)r[0]+=t;return e}function u(e){return(0,n.Bi)(e)?e.rings:e.paths}},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>$,initializeProjection:()=>V,isEqualBaseGCS:()=>W,isLoaded:()=>j,isLoadedOrLoad:()=>Z,isLoadedOrLoadFor:()=>D,load:()=>R,project:()=>B,projectAsync:()=>k,projectExtent:()=>te,projectMany:()=>F,projectMultipoint:()=>z,projectOrLoad:()=>E,projectOrLoadMany:()=>_,projectPoint:()=>q,projectPolygon:()=>Q,projectPolyline:()=>H,projectWithoutEngine:()=>G,requiresLoad:()=>x,test:()=>U,tryProject:()=>P,unload:()=>J});var i=r(49186),o=r(74887),n=r(62788),s=r(95488),a=r(51850),l=r(21276),u=r(73941),p=r(5443),c=r(91075),d=r(48526),y=r(86738),m=r(39829),f=r(82799),h=r(16930),g=r(159),v=r(9762),b=r(37539);function w(e,t,r,i,o,n){return C[0]=e,C[1]=t,C[2]=r,(0,v.projectBuffer)(C,i,0,o,n,0)}const C=(0,a.vt)();var T=r(21325);let S=null,M=null,A=null,I=null,O={};const N=new s.I;function j(){return!!(M?.isLoaded()&&A?.isLoaded()&&I?.isLoaded())}function Z(){return!!j()||((0,n.gc)(N),R(),!1)}function D(e,t){return!e||!t||$(e,t)||Z()}function x(e,t){return!$(e,t)&&!j()}async function R(e){null==S&&(S=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(M=e,M.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=>(I=e,I.load()))])),await S,(0,o.Te)(e),N.notify()}function B(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),F(e,e[0].spatialReference,t,r)):((0,l.f)(e),F([e],e.spatialReference,t,r)[0])}function F(e,t,r,i){if(null==t||null==r)return e;if($(t,r,i))return e.map(e=>G(e,t,r));if(null==i?.geographicTransformation&&(0,u.jA)(t))return F(e.map(e=>G(e,t,h.A.WGS84)),h.A.WGS84,r,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(r))return F(e,t,h.A.WGS84).map(e=>G(e,h.A.WGS84,r));if(!j())throw new L;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:I.getTransformation(t,r,i.areaOfInterestExtent)||new g.A};else if(!i?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let o=O[e];o||(o=I.getTransformation(t,r)||new g.A,O[e]=o),i={geographicTransformation:o,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof c.A?M.executeMany(e,r,i):A.executeMany(e,r,i)}function P(e,t,r){try{return B(e,t,r)}catch(e){return null}}function E(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(!j())for(const r of e)if(null!=r&&!(0,T.aI)(r.spatialReference,t)&&(0,T.fn)(r.spatialReference)&&(0,T.fn)(t)&&!$(r.spatialReference,t))return(0,n.gc)(N),{pending:R(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,T.aI)(e.spatialReference,t)?e:(0,T.fn)(e.spatialReference)&&(0,T.fn)(t)?B(e,t,r):null)}}class L extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function J(){S=null,M=null,A=null,I=null,O={}}const U={get loadPromise(){return S}};async function k(e,t,r){if((0,o.Te)(r),!e)return e;const i=_(Array.isArray(e)?e:[e],t,r);if(i.pending)return await i.pending,(0,o.Te)(r),k(e,t,r);const n=i.geometries??[];return Array.isArray(e)?n:n[0]}function $(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,T.aI)(e,t)||(0,T.fn)(e)&&(0,T.fn)(t)&&!!(0,b.jd)(e,t))}function W(e,t){if((0,T.aI)(e,t))return!0;if(!(0,T.fn)(e)||!(0,T.fn)(t))return!1;const r=(0,T.oT)(e)||(0,T.K8)(e)||(0,T.x1)(e),i=(0,T.oT)(t)||(0,T.K8)(t)||(0,T.x1)(t);return r&&i}async function V(e,t,r,i){if(j())return(0,o.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:r,options:o}of e)if(t&&r&&!$(t,r,o))return R(i)}else if(e&&t&&!$(e,t,r))return R(i);return(0,o.NO)(i)}function G(e,t,r){return e?"x"in e?K(e,t,new y.A,r,0):"xmin"in e?re(e,t,new p.A,r,0):"rings"in e?ee(e,t,new m.A,r,0):"paths"in e?X(e,t,new f.A,r,0):"points"in e?Y(e,t,new d.A,r,0):null:null}function q(e,t,r=t.spatialReference,i=0){return null!=r&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,r,i)}function K(e,t,r,i,o){oe[0]=e.x,oe[1]=e.y;const n=e.z;return oe[2]=void 0!==n?n:o,(0,v.projectBuffer)(oe,t,0,oe,i,0)?(r.x=oe[0],r.y=oe[1],r.spatialReference=i,void 0!==n||(0,u.xP)(i)?(r.z=oe[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 z(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=Y(e,e.spatialReference,t,r,i)}function Y(e,t,r,i,o){const{points:n,hasZ:s,hasM:a}=e,l=[],p=n.length,c=[];for(const e of n)c.push(e[0],e[1],s?e[2]:o);if(!(0,v.projectBuffer)(c,t,0,c,i,0,p))return null;const d=s||(0,u.xP)(i);for(let e=0;e<p;++e){const t=3*e,r=c[t],i=c[t+1];d&&a?l.push([r,i,c[t+2],n[e][3]]):d?l.push([r,i,c[t+2]]):a?l.push([r,i,n[e][2]]):l.push([r,i])}return r.points=l,r.spatialReference=i,r.hasZ=s,r.hasM=a,r}function H(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,i)}function X(e,t,r,i,o){const{paths:n,hasZ:s,hasM:a}=e,l=[];if(!ie(n,s??!1,a??!1,t,l,i,o))return null;const p=s||(0,u.xP)(i);return r.paths=l,r.spatialReference=i,r.hasZ=p,r.hasM=a,r}function Q(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,i)}function ee(e,t,r,i,o){const{rings:n,hasZ:s,hasM:a}=e,l=[];if(!ie(n,s??!1,a??!1,t,l,i,o))return null;const p=s||(0,u.xP)(i);return r.rings=l,r.spatialReference=i,r.hasZ=p,r.hasM=a,r}function te(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,i)}function re(e,t,r,i,o){const{xmin:n,ymin:s,xmax:a,ymax:l,hasZ:p,hasM:c}=e;if(!w(n,s,p?e.zmin:o,t,oe,i))return null;const d=p||(0,u.xP)(i);return r.xmin=oe[0],r.ymin=oe[1],d&&(r.zmin=oe[2]),w(a,l,p?e.zmax:o,t,oe,i)?(r.xmax=oe[0],r.ymax=oe[1],d&&(r.zmax=oe[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=i,r):null}function ie(e,t,r,i,o,n,s=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:s);if(!(0,v.projectBuffer)(a,i,0,a,n,0))return!1;let l=0;o.length=0;const p=t||(0,u.xP)(n);for(const t of e){const e=new Array;for(const i of t)p&&r?e.push([a[l++],a[l++],a[l++],i[3]]):p?e.push([a[l++],a[l++],a[l++]]):r?(e.push([a[l++],a[l++],i[2]]),l++):(e.push([a[l++],a[l++]]),l++);o.push(e)}return!0}const oe=(0,a.vt)()},92300(e,t,r){r.d(t,{V:()=>s,X:()=>n});var i=r(60408),o=r(65864);function n(e){return{geometryType:(0,i.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function s(e,t,r){const i=(0,o.xD)(t);return e.map(e=>{const t=i.fromJSON(e);return t.spatialReference=r,t})}},96576(e,t,r){r.d(t,{A:()=>c});var i,o=r(31635),n=r(4718),s=r(91429),a=r(92438),l=r(63988),u=r(49849),p=r(93223);let c=i=class extends((0,l.h)(a.A)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.type="simple"}async collectRequiredFields(e,t){await Promise.all([this.collectSymbolFields(e,t),this.collectVVRequiredFields(e,t)])}async collectSymbolFields(e,t){await Promise.all(this.symbols.map(r=>r.collectRequiredFields(e,t)))}getSymbol(e,t){return this.symbol}async getSymbolAsync(e,t){return this.symbol}get symbols(){return this.symbol?[this.symbol]:[]}getAttributeHash(){return this.visualVariables?.reduce((e,t)=>e+t.getAttributeHash(),"")??""}getMeshHash(){return this.symbols.reduce((e,t)=>e+JSON.stringify(t),"")}get arcadeRequired(){return this.arcadeRequiredForVisualVariables}clone(){return new i({description:this.description,label:this.label,symbol:(0,n.o8)(this.symbol),visualVariables:(0,n.o8)(this.visualVariables),authoringInfo:(0,n.o8)(this.authoringInfo)})}};(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,o.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,o.Cg)([(0,s.MZ)(u.Wp)],c.prototype,"symbol",void 0),(0,o.Cg)([(0,p.e)({simple:"simple"})],c.prototype,"type",void 0),c=i=(0,o.Cg)([(0,s.$K)("esri.renderers.SimpleRenderer")],c)},99157(e,t,r){r.d(t,{A:()=>a});var i,o=r(31635),n=r(69622),s=r(91429);let a=i=class extends n.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,o.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,o.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=i=(0,o.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,1190,5960,6061],{4197(t,n,e){e.d(n,{Vj:()=>c,cj:()=>h,jh:()=>s,l5:()=>u,xm:()=>o});var r=e(34275),i=e(9093);function s(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function u(t,n,e){return Array.isArray(t)?t.slice(n,n+e):t.subarray(n,n+e)}function h(t){return[...t]}function c(t){const n=(0,i.vt)();for(let e=0;e<16;++e)n[e]=t[e];return n}},9093(t,n,e){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}e.d(n,{o8:()=>i,vt:()=>r,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:r,fromValues:function(t,n,e,r,i,s,o,u,h,c,a,f,l,m,d,g){return[t,n,e,r,i,s,o,u,h,c,a,f,l,m,d,g]}},Symbol.toStringTag,{value:"Module"}))},51190(t,n,e){e.r(n),e.d(n,{execute:()=>s});var r=e(86211),i=e(83299);function s(t,n={}){const{unit:e}=n;let s=(0,i.fromGeometryToGXGeometry)(t).calculateLength2D();const o=(0,i.getSpatialReference)(t);return s&&e&&o&&(s=(0,r.PQ)(s,o,e)),s}},69397(t,n,e){e.d(n,{$B:()=>i,Qf:()=>c,Qh:()=>u,RS:()=>s,Ul:()=>d,ez:()=>l,lM:()=>o,qK:()=>f});var r=e(34275);function i(t){return 32+t.length}const s=16;function o(t){if(!t)return 0;let n=f;for(const e in t)t.hasOwnProperty(e)&&(n+=h(t[e],!1));return n}function u(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const n=t.length;if(0===n||"number"==typeof t[0])return a(t,8);let e=l;for(let r=0;r<n;r++)e+=h(t[r]);return e}(t);let n=f;for(const e in t)t.hasOwnProperty(e)&&(n+=h(t[e]));return n}function h(t,n=!0){switch(typeof t){case"object":return n?u(t):f;case"string":return i(t);case"number":return s;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,n)=>t+(n?(0,r.iu)(n)?n.byteLength+m:Array.isArray(n)?a(n,s):0:0),0)}function a(t,n){return l+t.length*n}const f=32,l=16,m=145,d=64},70328(t,n,e){e.d(n,{BI:()=>I,DC:()=>f,Ej:()=>m,Ie:()=>M,Jt:()=>x,Ne:()=>d,RF:()=>a,aI:()=>b,fA:()=>o,gE:()=>h,hZ:()=>y,iT:()=>l,is:()=>A,qv:()=>_,vI:()=>g,vY:()=>u,v_:()=>w,vt:()=>s,w1:()=>c});var r=e(5443),i=(e(19419),e(4197));function s(t=w){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,n,e,r,i,o,u=s()){return u[0]=t,u[1]=n,u[2]=e,u[3]=r,u[4]=i,u[5]=o,u}function u(t,n=s()){return function(t,n,e,r=s()){return y(r,_),function(t,n,e=0,r=n.length/3){let i=t[0],s=t[1],o=t[2],u=t[3],h=t[4],c=t[5];for(let t=0;t<r;t++)i=Math.min(i,n[e+3*t]),s=Math.min(s,n[e+3*t+1]),o=Math.min(o,n[e+3*t+2]),u=Math.max(u,n[e+3*t]),h=Math.max(h,n[e+3*t+1]),c=Math.max(c,n[e+3*t+2]);t[0]=i,t[1]=s,t[2]=o,t[3]=u,t[4]=h,t[5]=c}(r,t,n,e),r}(t,0,t.length/3,n)}function h(t,n=(0,i.jh)(24)){const[e,r,s,o,u,h]=t;return n[0]=e,n[1]=r,n[2]=s,n[3]=e,n[4]=r,n[5]=h,n[6]=e,n[7]=u,n[8]=s,n[9]=e,n[10]=u,n[11]=h,n[12]=o,n[13]=r,n[14]=s,n[15]=o,n[16]=r,n[17]=h,n[18]=o,n[19]=u,n[20]=s,n[21]=o,n[22]=u,n[23]=h,n}function c(t,n){const e=isFinite(t[2])||isFinite(t[5]);return new r.A(e?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function a(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function m(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function d(t,n,e=t){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e!==t&&(e[3]=t[3],e[4]=t[4],e[5]=t[5]),e}function g(t,n,e=t){return e[3]=n[0],e[4]=n[1],e[5]=n[2],e!==t&&(e[0]=t[0],e[1]=t[1],e[2]=t[2]),t}function y(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function M(t){return t?y(t,_):s(_)}function x(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function I(t,n,e,r,i){return t[0]=n,t[1]=e,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function A(t){return 6===t.length}function b(t,n,e){if(null==t||null==n)return t===n;if(!A(t)||!A(n))return!1;if(e){for(let r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1}else for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const _=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];s()},76061(t,n,e){e.d(n,{G:()=>r,S:()=>i});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class i extends r{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},92722(t,n,e){e.d(n,{A:()=>i});var r=e(69397);class i{constructor(t=[],n=[],e=!1,r=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=e,this.hasM=r}static fromJSON({lengths:t,coords:n,hasZ:e,hasM:r}){return new i(t,n,e||!1,r||!1)}static fromRect([t,n,e,r]){const s=e-t,o=r-n;return new i([5],[t,n,s,0,0,o,-s,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,n)=>t+n,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,n=0;for(const e of this.lengths){if(e<3)continue;const{stride:r}=this;let i=this.coords[r*n],s=this.coords[r*n+1];for(let o=1;o<e;o+=1){const e=r*(n+o),u=this.coords[e],h=this.coords[e+1];t+=-.5*(u-i)*(h+s),i=u,s=h}n+=e}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:e}=this;for(const r of this.lengths){for(let i=0;i<r;i++){const r=e*(n+i);t(this.coords[r],this.coords[r+1])}n+=r}}deltaDecode(){const t=this.clone(),{coords:n,lengths:e}=t;let r=0;const{stride:i}=this;for(const t of e){for(let e=1;e<t;e++){const t=i*(r+e);n[t]+=n[t-i],n[t+1]+=n[t+1-i]}r+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:e,size:r}=this,s=this.coords.slice(0,r*e);return t?(t.set(s),new i(n,t)):new i(n,Array.from(s),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const e=new Array(n*t);for(let n=0,r=0;n<e.length;n+=t)e[r++]=this.coords[n],e[r++]=this.coords[n+1];return new i(this.lengths,e,!1,!1)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1279],{60999(t,e,r){r.d(e,{DZ:()=>y,Ke:()=>f,Tj:()=>c,UT:()=>S,aD:()=>_,jJ:()=>u});var n=r(31635),a=r(69622),i=r(97768),s=r(74887),l=r(10107),o=r(64108);function u(t,e,r){return(0,s.Lx)(t.map((t,n)=>e.apply(r,[t,n])))}async function c(t,e,r){return(await(0,s.Lx)(t.map((t,n)=>e.apply(r,[t,n])))).map(t=>t.value)}function h(t){return{ok:!0,value:t}}function p(t){return{ok:!1,error:t}}async function f(t){if(null==t)return{ok:!1,error:new Error("no promise provided")};try{return h(await t)}catch(t){return p(t)}}async function y(t){try{return h(await t)}catch(t){return(0,s.QP)(t),p(t)}}function S(t,e){return new d(t,e)}let d=class extends a.A{get value(){return null!=(t=this._result)&&!0===t.ok?t.value:null;var t}get error(){return null!=(t=this._result)&&!1===t.ok?t.error:null;var t}get finished(){return null!=this._result}constructor(t,e){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,i.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=t(r),this.promise.then(t=>{this._result=h(t),this._cleanup()},t=>{this._result=p(t),this._cleanup()}),this._abortHandle=(0,s.u7)(e,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,i.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,l.MZ)()],d.prototype,"value",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"error",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"finished",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"promise",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"_result",void 0),d=(0,n.Cg)([(0,o.$)("esri.core.asyncUtils.ReactiveTask")],d);class _{constructor(){this._sequence=Promise.resolve()}async acquire(){let t;this._sequence=new Promise(e=>{t=this._sequence.then(()=>e,()=>e)});const e=await t;return{[Symbol.dispose]:e}}async run(t){const e={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(e,await this.acquire(),!1),await t()}catch(t){e.error=t,e.hasError=!0}finally{(0,n.hk)(e)}}}},85978(t,e,r){r.d(e,{A:()=>s});var n=r(87449),a=r(11221),i=r(33325);class s extends a.t1{constructor(t){super(),this.declaredClass="esri.layers.featureset.sources.Empty",this._maxProcessing=1e3,this._parent=t.parentfeatureset,this._databaseType=0}async _queryAll(){return a.An.features}async query(t){return a.An}async queryStat(t){return await this._manualStat(t.stat,t.field,t.limit??i.gO,t.abortSignal)}async canQueryAggregate(t){return!1}async queryAggregate(t){throw new n.dr("NeverReach")}async queryAttachments(){return[]}}},87817(t,e,r){r.r(e),r.d(e,{registerFunctions:()=>S});var n=r(85935),a=r(78502),i=r(78878),s=r(48938),l=r(87449),o=r(11221),u=r(33325),c=r(71163),h=r(90634);class p extends o.t1{constructor(t){super(),this.declaredClass="esri.arcade.featureset.actions.SpatialFilter",this._maxProcessing=40,this._parent=t.parentfeatureset,this._relation=t.relation,this._relationString=t.relationString??"",this._relationGeom=t.relationGeom}get _spatialFilter(){return{relation:"esriSpatialRelRelation"!==this._relation?this._relation:`esriSpatialRelRelation:${this._relationString}`,geometry:this._relationGeom}}async _queryAll(){return(await this.query({abortSignal:s._})).features}async query(t){await this._ensureLoaded();const e=await this._parent.query({...t,spatialFilter:this._spatialFilter});return(0,l.dZ)(t.abortSignal),{...e,spatialFilterApplied:null==t.spatialFilter,features:e.spatialFilterApplied?e.features:this._applySpatialFilter(e.features,t.abortSignal)}}async*_applySpatialFilter(t,e){for await(const r of t){(0,l.dZ)(e);const t=[];for(const e of r)await this._executeSpatialRelationTest(e)&&t.push(e);t.length>0&&(yield t)}}async queryStat(t){if(null!=t.spatialFilter)return{calculated:!1};const e=await this._parent.queryStat({...t,spatialFilter:this._spatialFilter});return e.calculated?e:null==t.where&&null==t.spatialFilter?this._manualStat(t.stat,t.field,t.limit??u.gO,t.abortSignal):{calculated:!1}}async canQueryAggregate(t){return null==t.spatialFilter&&this._parent.canQueryAggregate({...t,spatialFilter:this._spatialFilter})}async queryAggregate(t){if(null!=t.spatialFilter)throw new l.dr("NeverReach");return this._parent.queryAggregate({...t,spatialFilter:this._spatialFilter})}async _executeSpatialRelationTest(t){if(null==t.geometry)return!1;switch(this._relation){case"esriSpatialRelEnvelopeIntersects":{const e=(0,a.Yc)(this._relationGeom),r=(0,h.HA)(t.geometry);return null!=e&&null!=r&&(0,c.C)("intersects",[e.toJSON(),r])}case"esriSpatialRelIntersects":return(0,c.C)("intersects",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelContains":return(0,c.C)("contains",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelOverlaps":return(0,c.C)("overlaps",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelWithin":return(0,c.C)("within",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelTouches":return(0,c.C)("touches",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelCrosses":return(0,c.C)("crosses",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelRelation":return(0,c.C)("relate",[this._relationGeom.toJSON(),t.geometry,this._relationString]);default:return this._relation,!1}}getFieldsIndex(){return this._parent.getFieldsIndex()}}var f=r(85978);function y(t){return async(e,r,s)=>{if((0,i.B)(s,2,2,e,r),null===(s=(0,i.C)(s))[0]&&null===s[1])return!1;if((0,i.m)(s[0])){if((0,i.h)(s[1]))return new p({parentfeatureset:s[0],relation:t,relationGeom:s[1]});if(null===s[1])return new f.A({parentfeatureset:s[0]});throw new n.D$(e,"InvalidParameter",r)}if((0,i.h)(s[0])){if((0,i.h)(s[1])){switch(t){case"esriSpatialRelEnvelopeIntersects":{const t=(0,a.Yc)(s[0]),e=(0,a.Yc)(s[1]);return null!=t&&null!=e&&(0,c.C)("intersects",[t.toJSON(),e.toJSON()])}case"esriSpatialRelIntersects":return(0,c.C)("intersects",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelContains":return(0,c.C)("contains",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelOverlaps":return(0,c.C)("overlaps",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelWithin":return(0,c.C)("within",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelTouches":return(0,c.C)("touches",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelCrosses":return(0,c.C)("crosses",[s[0].toJSON(),s[1].toJSON()])}throw new n.D$(e,"InvalidParameter",r)}if((0,i.m)(s[1]))return new p({parentfeatureset:s[1],relation:t,relationGeom:s[0]});if(null===s[1])return!1;throw new n.D$(e,"InvalidParameter",r)}if(null===s[0]){if((0,i.m)(s[1]))return new f.A({parentfeatureset:s[1]});if((0,i.h)(s[1])||null===s[1])return!1}throw new n.D$(e,"InvalidParameter",r)}}function S(t){"async"===t.mode&&(t.functions.intersects=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelIntersects"))},t.functions.envelopeintersects=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelEnvelopeIntersects"))},t.signatures.push({name:"envelopeintersects",min:2,max:2}),t.functions.contains=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelContains"))},t.functions.overlaps=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelOverlaps"))},t.functions.within=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelWithin"))},t.functions.touches=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelTouches"))},t.functions.crosses=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelCrosses"))},t.functions.relate=function(e,r){return t.standardFunctionAsync(e,r,async(t,a,s)=>{if(s=(0,i.C)(s),(0,i.B)(s,3,3,e,r),(0,i.h)(s[0])&&(0,i.h)(s[1]))return(0,c.C)("relate",[s[0].toJSON(),s[1].toJSON(),(0,i.s)(s[2])]);if((0,i.h)(s[0])&&null===s[1])return!1;if((0,i.h)(s[1])&&null===s[0])return!1;if((0,i.m)(s[0])&&null===s[1])return new f.A({parentfeatureset:s[0]});if((0,i.m)(s[1])&&null===s[0])return new f.A({parentfeatureset:s[1]});if((0,i.m)(s[0])&&(0,i.h)(s[1]))return new p({parentfeatureset:s[0],relation:"esriSpatialRelRelation",relationGeom:s[1],relationString:(0,i.s)(s[2])});if((0,i.m)(s[1])&&(0,i.h)(s[0]))return new p({parentfeatureset:s[1],relation:"esriSpatialRelRelation",relationGeom:s[0],relationString:(0,i.s)(s[2])});if(null===s[0]&&null===s[1])return!1;throw new n.D$(e,"InvalidParameter",r)})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9062],{22671(e,t,n){n.d(t,{A:()=>x});var o,r=n(31635),i=n(52106),s=n(66552),l=n(25482),a=n(4718),f=n(91429),u=n(16930),c=n(60408),p=n(65864),y=n(50498),m=n(20437),h=n(36005),g=n(43937);const d=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let x=o=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,i.A)}writeGeometryType(e,t,n,o){if(e)return void d.write(e,t,n,o);const{features:r}=this;if(r)for(const e of r)if(null!=e?.geometry)return void d.write(e.geometry.type,t,n,o)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,o=(0,p.rS)(e);return o&&!n&&t.spatialReference&&(o.spatialReference=u.A.fromJSON(t.spatialReference)),o}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new o(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const o=t.features[n];if(o.geometry){const t=e?.[n];o.geometry=t?.toJSON()||o.geometry}}return t}quantize(e){const{scale:[t,n],translate:[o,r]}=e,i=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-o)/t),e=>Math.round((r-e)/n));for(let e=0,t=i.length;e<t;e++)s?.(i[e].geometry)||(i.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[o,r],scale:[i,s]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const f=this._getHydrationFunction(e,e=>e*i+o,e=>r-e*s,l,a);for(const{geometry:e}of t)null!=e&&f&&f(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const o=u.A.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const i=e[t],s=n.fromJSON(i),l=i.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=o);const a=i.aggregateGeometries,f=s.aggregateGeometries;if(a&&null!=f)for(const e in f){const t=f[e],n=a[e],r=n?.spatialReference;null==t||r||(t.spatialReference=o)}r.push(s)}return r}_quantizePoints(e,t,n){let o,r;const i=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=n(l[1]);e===o&&s===r||(i.push([e-o,s-r]),o=e,r=s)}else o=t(l[0]),r=n(l[1]),i.push([o,r])}return i.length>0?i:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const o=(0,c.Bi)(e)?e.rings:e.paths,r=[];for(let e=0,i=o.length;e<i;e++){const i=o[e],s=this._quantizePoints(i,t,n);s&&r.push(s)}return r.length>0?((0,c.Bi)(e)?e.rings=r:e.paths=r,e):null}:"multipoint"===e?e=>{const o=this._quantizePoints(e.points,t,n);return o&&o.length>0?(e.points=o,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,o,r){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),o&&(e.z=o(e.z))}:"polyline"===e||"polygon"===e?e=>{const i=(0,c.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,o=i.length;e<o;e++){const o=i[e];for(let e=0,r=o.length;e<r;e++){const r=o[e];e>0?(s+=r[0],l+=r[1]):(s=r[0],l=r[1]),r[0]=t(s),r[1]=n(l)}}if(o&&r)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2]),n[3]=r(n[3])}}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}else if(r)for(let e=0,t=i.length;e<t;e++){const t=i[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),o&&null!=e.zmax&&null!=e.zmin&&(e.zmax=o(e.zmax),e.zmin=o(e.zmin)),r&&null!=e.mmax&&null!=e.mmin&&(e.mmax=r(e.mmax),e.mmin=r(e.mmin))}:"multipoint"===e?e=>{const i=e.points;let s,l;for(let e=0,o=i.length;e<o;e++){const o=i[e];e>0?(s+=o[0],l+=o[1]):(s=o[0],l=o[1]),o[0]=t(s),o[1]=n(l)}if(o&&r)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=o(t[2]),t[3]=r(t[3])}else if(o)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=o(t[2])}else if(r)for(let e=0,t=i.length;e<t;e++){const t=i[e];t[2]=r(t[2])}}:null}};(0,r.Cg)([(0,f.MZ)({type:String,json:{write:!0}})],x.prototype,"displayFieldName",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"exceededTransferLimit",void 0),(0,r.Cg)([(0,f.MZ)({type:[i.A],json:{write:!0}})],x.prototype,"features",void 0),(0,r.Cg)([(0,h.w)("features")],x.prototype,"readFeatures",null),(0,r.Cg)([(0,f.MZ)({type:[m.A],json:{write:!0}})],x.prototype,"fields",void 0),(0,r.Cg)([(0,f.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:d.read}}})],x.prototype,"geometryType",void 0),(0,r.Cg)([(0,g.K)("geometryType")],x.prototype,"writeGeometryType",null),(0,r.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasM",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],x.prototype,"hasZ",void 0),(0,r.Cg)([(0,f.MZ)({types:y.yR,json:{write:!0}})],x.prototype,"queryGeometry",void 0),(0,r.Cg)([(0,h.w)("queryGeometry")],x.prototype,"readQueryGeometry",null),(0,r.Cg)([(0,f.MZ)({type:u.A,json:{write:!0}})],x.prototype,"spatialReference",void 0),(0,r.Cg)([(0,g.K)("spatialReference")],x.prototype,"writeSpatialReference",null),(0,r.Cg)([(0,f.MZ)({json:{write:!0}})],x.prototype,"transform",void 0),x=o=(0,r.Cg)([(0,f.$K)("esri.rest.support.FeatureSet")],x),x.prototype.toJSON.isDefaultToJSON=!0},58501(e,t,n){n.d(t,{q:()=>r});var o=n(62815);function r(e,t,n){if(!n?.features||!n.hasZ)return;const r=(0,o.N)(n.geometryType,t,e.outSpatialReference);if(r)for(const e of n.features)r(e.geometry)}},62815(e,t,n){n.d(t,{N:()=>s});var o=n(86211),r=n(73941),i=n(21325);function s(e,t,n){if(null==t||null==n||n.vcsWkid||(0,i.aI)(t,n)||(0,r.xP)(t)||(0,r.xP)(n))return;const s=(0,o.G9)(t)/(0,o.G9)(n);if(1!==s)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,s);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const n of e.paths)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const n of e.rings)for(const e of n)e.length>2&&(e[2]*=t)}(e,s);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const n of e.points)n.length>2&&(n[2]*=t)}(e,s);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,s);default:return}}},96520(e,t,n){n.d(t,{u:()=>s});var o=n(86211),r=n(21325);function i(e,t,n){if(null==e.hasM||e.hasZ)for(const e of t)for(const t of e)t.length>2&&(t[2]*=n)}function s(e,t,n){if(!e&&!t||!n)return;const r=(0,o.G9)(n);l(e,n,r),l(t,n,r)}function l(e,t,n){if(e)for(const o of e)a(o.geometry,t,n)}function a(e,t,n){if(!e?.spatialReference||(0,r.aI)(e.spatialReference,t))return;const s=(0,o.G9)(e.spatialReference)/n;if(1!==s)if("x"in e)null!=e.z&&(e.z*=s);else if("rings"in e)i(e,e.rings,s);else if("paths"in e)i(e,e.paths,s);else if("points"in e&&(null==e.hasM||e.hasZ))for(const t of e.points)t.length>2&&(t[2]*=s)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189],{4197(t,n,r){r.d(n,{Vj:()=>c,cj:()=>h,jh:()=>s,l5:()=>u,xm:()=>o});var e=r(34275),i=r(9093);function s(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,e.iu)(t)?t.byteLength/8:t.length)<=e.y9?Array.from(t):new Float64Array(t)}function u(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function h(t){return[...t]}function c(t){const n=(0,i.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},9093(t,n,r){function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>i,vt:()=>e,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:e,fromValues:function(t,n,r,e,i,s,o,u,h,c,a,f,l,m,d,g){return[t,n,r,e,i,s,o,u,h,c,a,f,l,m,d,g]}},Symbol.toStringTag,{value:"Module"}))},69397(t,n,r){r.d(n,{$B:()=>i,Qf:()=>c,Qh:()=>u,RS:()=>s,Ul:()=>d,ez:()=>l,lM:()=>o,qK:()=>f});var e=r(34275);function i(t){return 32+t.length}const s=16;function o(t){if(!t)return 0;let n=f;for(const r in t)t.hasOwnProperty(r)&&(n+=h(t[r],!1));return n}function u(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const n=t.length;if(0===n||"number"==typeof t[0])return a(t,8);let r=l;for(let e=0;e<n;e++)r+=h(t[e]);return r}(t);let n=f;for(const r in t)t.hasOwnProperty(r)&&(n+=h(t[r]));return n}function h(t,n=!0){switch(typeof t){case"object":return n?u(t):f;case"string":return i(t);case"number":return s;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,n)=>t+(n?(0,e.iu)(n)?n.byteLength+m:Array.isArray(n)?a(n,s):0:0),0)}function a(t,n){return l+t.length*n}const f=32,l=16,m=145,d=64},70328(t,n,r){r.d(n,{BI:()=>I,DC:()=>f,Ej:()=>m,Ie:()=>M,Jt:()=>x,Ne:()=>d,RF:()=>a,aI:()=>b,fA:()=>o,gE:()=>h,hZ:()=>y,iT:()=>l,is:()=>A,qv:()=>w,vI:()=>g,vY:()=>u,v_:()=>N,vt:()=>s,w1:()=>c});var e=r(5443),i=(r(19419),r(4197));function s(t=N){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,n,r,e,i,o,u=s()){return u[0]=t,u[1]=n,u[2]=r,u[3]=e,u[4]=i,u[5]=o,u}function u(t,n=s()){return function(t,n,r,e=s()){return y(e,w),function(t,n,r=0,e=n.length/3){let i=t[0],s=t[1],o=t[2],u=t[3],h=t[4],c=t[5];for(let t=0;t<e;t++)i=Math.min(i,n[r+3*t]),s=Math.min(s,n[r+3*t+1]),o=Math.min(o,n[r+3*t+2]),u=Math.max(u,n[r+3*t]),h=Math.max(h,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=i,t[1]=s,t[2]=o,t[3]=u,t[4]=h,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function h(t,n=(0,i.jh)(24)){const[r,e,s,o,u,h]=t;return n[0]=r,n[1]=e,n[2]=s,n[3]=r,n[4]=e,n[5]=h,n[6]=r,n[7]=u,n[8]=s,n[9]=r,n[10]=u,n[11]=h,n[12]=o,n[13]=e,n[14]=s,n[15]=o,n[16]=e,n[17]=h,n[18]=o,n[19]=u,n[20]=s,n[21]=o,n[22]=u,n[23]=h,n}function c(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function a(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function m(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function d(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function g(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function y(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function M(t){return t?y(t,w):s(w)}function x(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function I(t,n,r,e,i){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function A(t){return 6===t.length}function b(t,n,r){if(null==t||null==n)return t===n;if(!A(t)||!A(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],N=[0,0,0,0,0,0];s()},92722(t,n,r){r.d(n,{A:()=>i});var e=r(69397);class i{constructor(t=[],n=[],r=!1,e=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=r,this.hasM=e}static fromJSON({lengths:t,coords:n,hasZ:r,hasM:e}){return new i(t,n,r||!1,e||!1)}static fromRect([t,n,r,e]){const s=r-t,o=e-n;return new i([5],[t,n,s,0,0,o,-s,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,n)=>t+n,0)}get usedMemory(){return 64+(0,e.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,n=0;for(const r of this.lengths){if(r<3)continue;const{stride:e}=this;let i=this.coords[e*n],s=this.coords[e*n+1];for(let o=1;o<r;o+=1){const r=e*(n+o),u=this.coords[r],h=this.coords[r+1];t+=-.5*(u-i)*(h+s),i=u,s=h}n+=r}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const e of this.lengths){for(let i=0;i<e;i++){const e=r*(n+i);t(this.coords[e],this.coords[e+1])}n+=e}}deltaDecode(){const t=this.clone(),{coords:n,lengths:r}=t;let e=0;const{stride:i}=this;for(const t of r){for(let r=1;r<t;r++){const t=i*(e+r);n[t]+=n[t-i],n[t+1]+=n[t+1-i]}e+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:r,size:e}=this,s=this.coords.slice(0,e*r);return t?(t.set(s),new i(n,t)):new i(n,Array.from(s),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const r=new Array(n*t);for(let n=0,e=0;n<r.length;n+=t)r[e++]=this.coords[n],r[e++]=this.coords[n+1];return new i(this.lengths,r,!1,!1)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7546],{45165(e,t,r){r.r(t),r.d(t,{default:()=>a});var s=r(31635),o=r(49186),n=r(25728),i=r(76030),p=r(91429),l=r(4146),d=r(8303);let u=class extends((0,d.A)((0,n.M)(l.A))){constructor(e){super(e),this.resourceInfo=null,this.persistenceEnabled=!0,this.type="unsupported"}initialize(){this.addResolvingPromise(new Promise((e,t)=>{(0,i._)(()=>{const e=this.resourceInfo&&(this.resourceInfo.layerType||this.resourceInfo.type);let r="Unsupported layer type";e&&(r+=" "+e),t(new o.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,s.Cg)([(0,p.MZ)({readOnly:!0})],u.prototype,"resourceInfo",void 0),(0,s.Cg)([(0,p.MZ)({type:["show","hide"]})],u.prototype,"listMode",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,readOnly:!1})],u.prototype,"persistenceEnabled",void 0),(0,s.Cg)([(0,p.MZ)({json:{read:!1},readOnly:!0,value:"unsupported"})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,p.$K)("esri.layers.UnsupportedLayer")],u);const a=u}}]);