@arcgis/core 5.2.0-next.40 → 5.2.0-next.41

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 (544) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/002356e675769d20e5c0.js +1 -0
  3. package/assets/esri/core/workers/chunks/02ab09285a5c4ca98066.js +1 -0
  4. package/assets/esri/core/workers/chunks/0646524250bb9fe82935.js +1 -0
  5. package/assets/esri/core/workers/chunks/06e71d52773eb656a4bf.js +261 -0
  6. package/assets/esri/core/workers/chunks/0a50efb07eee36237e21.js +1 -0
  7. package/assets/esri/core/workers/chunks/0a98a13418f53082ca7a.js +1 -0
  8. package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +1 -0
  9. package/assets/esri/core/workers/chunks/0ae35b02dda9b9662560.js +1 -0
  10. package/assets/esri/core/workers/chunks/0d1224693a62a26a0e72.js +1 -0
  11. package/assets/esri/core/workers/chunks/{542d8a6c415098b9857c.js → 0da4816c11b45b4a6289.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{8a39dd585742960d3ca2.js → 0dcfd82a2669df6eb5a0.js} +1 -1
  13. package/assets/esri/core/workers/chunks/0f19bc532be24ca64755.js +1 -0
  14. package/assets/esri/core/workers/chunks/0f674c625f24ac73e25a.js +1 -0
  15. package/assets/esri/core/workers/chunks/11a3aa43fb940c21f148.js +1 -0
  16. package/assets/esri/core/workers/chunks/11e00ca5ac1b004f4ecc.js +1 -0
  17. package/assets/esri/core/workers/chunks/1276df03201c1b855fee.js +1 -0
  18. package/assets/esri/core/workers/chunks/13c893e448bedc5c1cef.js +1 -0
  19. package/assets/esri/core/workers/chunks/15c2d9bec0455fc363a9.js +1 -0
  20. package/assets/esri/core/workers/chunks/15de305ac3d6433748e7.js +1 -0
  21. package/assets/esri/core/workers/chunks/18d874739ee9ffad7480.js +1 -0
  22. package/assets/esri/core/workers/chunks/1dc1bfb3425665f560e4.js +1 -0
  23. package/assets/esri/core/workers/chunks/{1cd8dff4373494b01ad4.js → 1e342d532925569daadb.js} +1 -1
  24. package/assets/esri/core/workers/chunks/1f118d85d8271ad7690b.js +1 -0
  25. package/assets/esri/core/workers/chunks/1fece9757de7c10d1e9f.js +1 -0
  26. package/assets/esri/core/workers/chunks/{a2e754df3215e8b00a8f.js → 2015f4def2ef201bdab8.js} +1 -1
  27. package/assets/esri/core/workers/chunks/23570397304969f724b3.js +1 -0
  28. package/assets/esri/core/workers/chunks/24c0b3586bb6500eda53.js +2 -0
  29. package/assets/esri/core/workers/chunks/26e7884d8639df4d994b.js +1 -0
  30. package/assets/esri/core/workers/chunks/26fdc8382e009672924e.js +1 -0
  31. package/assets/esri/core/workers/chunks/{96860b6035e0b06672dd.js → 272c8ab189217240d05f.js} +1 -1
  32. package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +1 -0
  33. package/assets/esri/core/workers/chunks/279a9a38b04a21cdfd11.js +1 -0
  34. package/assets/esri/core/workers/chunks/284e88805184334396fe.js +1 -0
  35. package/assets/esri/core/workers/chunks/28bc5e8e82f188b30eb9.js +1 -0
  36. package/assets/esri/core/workers/chunks/2a4868acd546312aa6d8.js +1 -0
  37. package/assets/esri/core/workers/chunks/2b8909a488cf3b231eec.js +1398 -0
  38. package/assets/esri/core/workers/chunks/2d7cfc68a38dabd8898a.js +1 -0
  39. package/assets/esri/core/workers/chunks/2da337d7fd9295f6b967.js +1 -0
  40. package/assets/esri/core/workers/chunks/2e79fb1b8445b2091cdb.js +1 -0
  41. package/assets/esri/core/workers/chunks/2f29f08cddd5add9388e.js +1 -0
  42. package/assets/esri/core/workers/chunks/30c53a7e1ad5aa52f2f3.js +1 -0
  43. package/assets/esri/core/workers/chunks/31c4db1eac8f765bb93f.js +1 -0
  44. package/assets/esri/core/workers/chunks/32fb597aef66c444758f.js +1 -0
  45. package/assets/esri/core/workers/chunks/34fcb776e4de1d870bbd.js +30 -0
  46. package/assets/esri/core/workers/chunks/352d144d7651da8a29c9.js +1 -0
  47. package/assets/esri/core/workers/chunks/354199a41de44902de84.js +1 -0
  48. package/assets/esri/core/workers/chunks/36781219ca9ba5d7fe52.js +1 -0
  49. package/assets/esri/core/workers/chunks/36999a2e383c8eb3c398.js +1 -0
  50. package/assets/esri/core/workers/chunks/36f8a912842181e1f0aa.js +1 -0
  51. package/assets/esri/core/workers/chunks/{ed1d4ebf487c7dcd5c33.js → 37a8cfec11057947b45f.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{2b2b042a6d6949b06127.js → 381790e1f3df05c7eb68.js} +1 -1
  53. package/assets/esri/core/workers/chunks/383304d33b496c5d8baa.js +1 -0
  54. package/assets/esri/core/workers/chunks/{4e28f49d0be20ea50fd7.js → 383392c63202ac044b6c.js} +1 -1
  55. package/assets/esri/core/workers/chunks/394716bd1ecfd638d708.js +2 -0
  56. package/assets/esri/core/workers/chunks/3aacb935d632834d4154.js +1 -0
  57. package/assets/esri/core/workers/chunks/3c8e98cf23ad8ef12fcb.js +1 -0
  58. package/assets/esri/core/workers/chunks/4056659d5c7698265129.js +1 -0
  59. package/assets/esri/core/workers/chunks/4129b27fcd4103cdc499.js +1 -0
  60. package/assets/esri/core/workers/chunks/44e64186318728d1be51.js +1 -0
  61. package/assets/esri/core/workers/chunks/474ea8c97d101e41b3f5.js +1 -0
  62. package/assets/esri/core/workers/chunks/475c60ed8785d07911c6.js +1 -0
  63. package/assets/esri/core/workers/chunks/{c7662455252b48531da1.js → 484b3e2a220c440ccbb4.js} +1 -1
  64. package/assets/esri/core/workers/chunks/4d4710d57c72ec75cccc.js +1 -0
  65. package/assets/esri/core/workers/chunks/4e1b087453fc5e20e961.js +1 -0
  66. package/assets/esri/core/workers/chunks/4e94793aab42ebd251ca.js +1 -0
  67. package/assets/esri/core/workers/chunks/4f2a61dfae6ca8ed1ec8.js +1 -0
  68. package/assets/esri/core/workers/chunks/4f59357f535f30a6b5cc.js +1 -0
  69. package/assets/esri/core/workers/chunks/509cfac9e5d86a8ee449.js +1 -0
  70. package/assets/esri/core/workers/chunks/510acf2e8781be9b0dba.js +1 -0
  71. package/assets/esri/core/workers/chunks/52c4b4dabcb0d162be72.js +1 -0
  72. package/assets/esri/core/workers/chunks/{697e0ce10d77b90d4fee.js → 538fe46dfd685a490e23.js} +1 -1
  73. package/assets/esri/core/workers/chunks/5441f96cdd0660229efe.js +1 -0
  74. package/assets/esri/core/workers/chunks/551d0c5432f7a08dea77.js +1 -0
  75. package/assets/esri/core/workers/chunks/55924fb0de05e727f5e3.js +1 -0
  76. package/assets/esri/core/workers/chunks/55af58b6dff52dc040fe.js +2 -0
  77. package/assets/esri/core/workers/chunks/56bbde1dff96b423fbb9.js +1 -0
  78. package/assets/esri/core/workers/chunks/57824ecc10b25e3ad794.js +1 -0
  79. package/assets/esri/core/workers/chunks/{9ba705a6ddabca0f77b1.js → 580451761cadfe308919.js} +1 -1
  80. package/assets/esri/core/workers/chunks/5923ebadd4f75be2c9cc.js +1 -0
  81. package/assets/esri/core/workers/chunks/5b18696109fe84a1010a.js +2 -0
  82. package/assets/esri/core/workers/chunks/{db96a0c66578b2d1b715.js → 5b30231ae0a8f4b8435f.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{77a4f6f224d7ca4b69f4.js → 5bf4ab72b9634b06cc5d.js} +1 -1
  84. package/assets/esri/core/workers/chunks/5ce168ae45ab7e7a71d1.js +1 -0
  85. package/assets/esri/core/workers/chunks/{7b1678dcf62481469544.js → 5dc17b76c6ecc24e7b9a.js} +1 -1
  86. package/assets/esri/core/workers/chunks/5e35828216020f33e26b.js +1 -0
  87. package/assets/esri/core/workers/chunks/5f0d6c853873a7f32527.js +1 -0
  88. package/assets/esri/core/workers/chunks/5fe9eea35ddb428efd8b.js +1 -0
  89. package/assets/esri/core/workers/chunks/6010b7be978698a642d0.js +1 -0
  90. package/assets/esri/core/workers/chunks/613e799377bdb767c955.js +1 -0
  91. package/assets/esri/core/workers/chunks/6210fb6cd31844f23964.js +1 -0
  92. package/assets/esri/core/workers/chunks/632ab11cdd4b0d9a5cc5.js +1 -0
  93. package/assets/esri/core/workers/chunks/64247e439ef3e1f712e9.js +1 -0
  94. package/assets/esri/core/workers/chunks/661a59133ae34f172174.js +1 -0
  95. package/assets/esri/core/workers/chunks/6b0acd1a7dd74a7367e0.js +1 -0
  96. package/assets/esri/core/workers/chunks/6d247ff53421d27628ce.js +1 -0
  97. package/assets/esri/core/workers/chunks/6e45d0db97ffa4509177.js +1 -0
  98. package/assets/esri/core/workers/chunks/6f408397e2c8a2ea9805.js +1 -0
  99. package/assets/esri/core/workers/chunks/700c08dd2e734c15e621.js +1 -0
  100. package/assets/esri/core/workers/chunks/705d6b108fd121cea887.js +1 -0
  101. package/assets/esri/core/workers/chunks/71ce1009dadcae8f8094.js +1 -0
  102. package/assets/esri/core/workers/chunks/72fe7fb03c156f26a589.js +1 -0
  103. package/assets/esri/core/workers/chunks/733b2e181683d5fc7c95.js +1 -0
  104. package/assets/esri/core/workers/chunks/79b857bb301f9c4169d6.js +1 -0
  105. package/assets/esri/core/workers/chunks/79c0a966f7d11d3c217f.js +1 -0
  106. package/assets/esri/core/workers/chunks/7a818499c1079906c2d7.js +1 -0
  107. package/assets/esri/core/workers/chunks/7ac47a9ad244100bc3b1.js +1 -0
  108. package/assets/esri/core/workers/chunks/7b862a074816c099b9ff.js +1 -0
  109. package/assets/esri/core/workers/chunks/7baa363b3b0a442a63d2.js +1 -0
  110. package/assets/esri/core/workers/chunks/7cc729b57a6a52c8ac68.js +1 -0
  111. package/assets/esri/core/workers/chunks/{4abe820bbe4f7ffccc09.js → 7df795bc4fa1d433463b.js} +1 -1
  112. package/assets/esri/core/workers/chunks/7ea65aa6d3e684e12082.js +1 -0
  113. package/assets/esri/core/workers/chunks/7f7a76f5fef25049fbf8.js +1 -0
  114. package/assets/esri/core/workers/chunks/7fa9dc39bf0a7a6fdc1f.js +1 -0
  115. package/assets/esri/core/workers/chunks/821176ee3be724621bb0.js +1 -0
  116. package/assets/esri/core/workers/chunks/825eb845216762a1ed2f.js +1 -0
  117. package/assets/esri/core/workers/chunks/82f4aa0533db009b11d8.js +2 -0
  118. package/assets/esri/core/workers/chunks/{2a344bca6837ca3b5c41.js.LICENSE.txt → 82f4aa0533db009b11d8.js.LICENSE.txt} +0 -6
  119. package/assets/esri/core/workers/chunks/830d1a7dee43422507ab.js +1 -0
  120. package/assets/esri/core/workers/chunks/835643f716f7058a2722.js +1 -0
  121. package/assets/esri/core/workers/chunks/84fa102a93b2144c28fb.js +1 -0
  122. package/assets/esri/core/workers/chunks/85ce7673d42526a79fd2.js +1 -0
  123. package/assets/esri/core/workers/chunks/893ffc38e1a43de5b63d.js +1 -0
  124. package/assets/esri/core/workers/chunks/{93df864c2e829f0fd5ce.js → 8a1970e68bc1e833cb7f.js} +1 -1
  125. package/assets/esri/core/workers/chunks/{684c9b4bd9590d2db12f.js → 8a410edcdf74ba957159.js} +1 -1
  126. package/assets/esri/core/workers/chunks/8b73694d5a97638a3a61.js +1 -0
  127. package/assets/esri/core/workers/chunks/8bb20ef549ec1c86b38e.js +1 -0
  128. package/assets/esri/core/workers/chunks/{6ef3b8d67b498d655a99.js → 8c5e65982c3f9295e844.js} +1 -1
  129. package/assets/esri/core/workers/chunks/8cb2fe91d1d8f49c14f8.js +1 -0
  130. package/assets/esri/core/workers/chunks/{1961b59756933e0a82f2.js → 8dcc6c19d5b3a5ac5512.js} +1 -1
  131. package/assets/esri/core/workers/chunks/8dee03779b569f233daf.js +1 -0
  132. package/assets/esri/core/workers/chunks/8ec5e470583b75fceae1.js +1 -0
  133. package/assets/esri/core/workers/chunks/8f2fecd8a0a972d68590.js +1 -0
  134. package/assets/esri/core/workers/chunks/9073b0f0ec93d6e243b9.js +1 -0
  135. package/assets/esri/core/workers/chunks/90ace5f9b4af1beea6bf.js +1 -0
  136. package/assets/esri/core/workers/chunks/94719ac469dadc4c05dc.js +1 -0
  137. package/assets/esri/core/workers/chunks/94e9cf8e729ec36de5be.js +1 -0
  138. package/assets/esri/core/workers/chunks/96d5fed0235558c0e348.js +1 -0
  139. package/assets/esri/core/workers/chunks/98b27cf8acbfa4259758.js +1 -0
  140. package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +1 -0
  141. package/assets/esri/core/workers/chunks/99772ce7e628364434fa.js +1 -0
  142. package/assets/esri/core/workers/chunks/{b1a0eb6598309e11337f.js → 99e3aa4832ed87474ab4.js} +1 -1
  143. package/assets/esri/core/workers/chunks/9a6208ab670ad74e6f7d.js +1 -0
  144. package/assets/esri/core/workers/chunks/9a97f6cda2f36941efae.js +1 -0
  145. package/assets/esri/core/workers/chunks/9b1199104a6822ab7340.js +1 -0
  146. package/assets/esri/core/workers/chunks/9ceeae787dc7c194d60e.js +1 -0
  147. package/assets/esri/core/workers/chunks/9ebc98746b1f085b82b7.js +1 -0
  148. package/assets/esri/core/workers/chunks/9ee3741eef73f3edb18b.js +1 -0
  149. package/assets/esri/core/workers/chunks/9fb87a7dba62b527c0ba.js +1 -0
  150. package/assets/esri/core/workers/chunks/a10f63a08d976be058be.js +1 -0
  151. package/assets/esri/core/workers/chunks/a183b77854f5b42c1a86.js +1 -0
  152. package/assets/esri/core/workers/chunks/a23f4d8e7c372f5fb6d7.js +1 -0
  153. package/assets/esri/core/workers/chunks/a25f51d2d3ff6b9af7ca.js +1 -0
  154. package/assets/esri/core/workers/chunks/a27172dacdb85a774c4b.js +1 -0
  155. package/assets/esri/core/workers/chunks/a27cdf4c29dd50a6dab1.js +1 -0
  156. package/assets/esri/core/workers/chunks/a294dd12b5c708ce04af.js +1 -0
  157. package/assets/esri/core/workers/chunks/a3c882fe7599dc0f4f27.js +1 -0
  158. package/assets/esri/core/workers/chunks/a90f7b1c6c69b6033b4c.js +1 -0
  159. package/assets/esri/core/workers/chunks/a9c641bcdef161c754bf.js +1 -0
  160. package/assets/esri/core/workers/chunks/a9d391071803b1e9e8a0.js +1 -0
  161. package/assets/esri/core/workers/chunks/{757982a73174aa7ab0d1.js → aa0fb77c62a2d4eb20a5.js} +1 -1
  162. package/assets/esri/core/workers/chunks/aaa66a04b882b0ba2961.js +1 -0
  163. package/assets/esri/core/workers/chunks/ae50b2d5e63f62c088d2.js +1 -0
  164. package/assets/esri/core/workers/chunks/af3ac4bed43e901b59c7.js +1 -0
  165. package/assets/esri/core/workers/chunks/af97e19516dbbcfb5286.js +1 -0
  166. package/assets/esri/core/workers/chunks/aff0e7761276036e029d.js +1 -0
  167. package/assets/esri/core/workers/chunks/b23d1e10fc4161d1f3eb.js +1 -0
  168. package/assets/esri/core/workers/chunks/b32bdf5730953c2fb16b.js +1 -0
  169. package/assets/esri/core/workers/chunks/b3f1a442d6b7826e917f.js +1 -0
  170. package/assets/esri/core/workers/chunks/b4047333265a2665aef9.js +1 -0
  171. package/assets/esri/core/workers/chunks/b45a013039bbd2614525.js +680 -0
  172. package/assets/esri/core/workers/chunks/b7170816736769d3b7b0.js +1 -0
  173. package/assets/esri/core/workers/chunks/{5c63b38160c7d063b8af.js → b780514be87a22b49b01.js} +1 -1
  174. package/assets/esri/core/workers/chunks/b792857a178da2dd77d6.js +1 -0
  175. package/assets/esri/core/workers/chunks/b819a9187426d0c146df.js +1 -0
  176. package/assets/esri/core/workers/chunks/{1d92da90fbbc3f98b201.js → b8d788e110c212a879ab.js} +1 -1
  177. package/assets/esri/core/workers/chunks/b94cd7eac5ff4a78dd5b.js +1 -0
  178. package/assets/esri/core/workers/chunks/b9d6f89f9b8e9d1bc787.js +1 -0
  179. package/assets/esri/core/workers/chunks/b9f40681af1fa00b5bbe.js +1 -0
  180. package/assets/esri/core/workers/chunks/{bc547cf814d6703cef59.js → bb95922cd4631d6f17fb.js} +1 -1
  181. package/assets/esri/core/workers/chunks/bcb5017500d144b73908.js +1 -0
  182. package/assets/esri/core/workers/chunks/bd862382f72ebd446b46.js +1 -0
  183. package/assets/esri/core/workers/chunks/bdd19dab276d20d5381a.js +1 -0
  184. package/assets/esri/core/workers/chunks/bee5e738ecf8680909c4.js +1 -0
  185. package/assets/esri/core/workers/chunks/{9be4438ce2c7180adadf.js → bf287f0e2ecb4532dc00.js} +1 -1
  186. package/assets/esri/core/workers/chunks/{5115059b012ef84407cf.js → bfb6566c27c09deb0929.js} +1 -1
  187. package/assets/esri/core/workers/chunks/c055c16379f5bb56e930.js +1 -0
  188. package/assets/esri/core/workers/chunks/c13e55b9efb0b532f7ee.js +1 -0
  189. package/assets/esri/core/workers/chunks/c369d4266f38e9ea6592.js +1 -0
  190. package/assets/esri/core/workers/chunks/c3fae4f4522604a9c17e.js +1 -0
  191. package/assets/esri/core/workers/chunks/c4c25db769a78e677e33.js +1 -0
  192. package/assets/esri/core/workers/chunks/c50e4e8c6188e64e7d45.js +1 -0
  193. package/assets/esri/core/workers/chunks/c838cc1c786368b78598.js +1 -0
  194. package/assets/esri/core/workers/chunks/c8db0a4fb5bc982dc9fc.js +1 -0
  195. package/assets/esri/core/workers/chunks/{82adfa2dbd40e1becaf4.js → c97451f75c23be979476.js} +1 -1
  196. package/assets/esri/core/workers/chunks/ca118c42c0f609ca7912.js +1 -0
  197. package/assets/esri/core/workers/chunks/ca419858910af5505d3d.js +1 -0
  198. package/assets/esri/core/workers/chunks/cb17cd8aaf77238c0236.js +1 -0
  199. package/assets/esri/core/workers/chunks/{034dd8ee5152a12412cd.js → cba3316910ff088f4d77.js} +1 -1
  200. package/assets/esri/core/workers/chunks/cc414fd2e313d89d524d.js +1 -0
  201. package/assets/esri/core/workers/chunks/{7b8466f892a38a53c600.js → cce83896093279c70449.js} +1 -1
  202. package/assets/esri/core/workers/chunks/cda04571d7623c17ada2.js +1 -0
  203. package/assets/esri/core/workers/chunks/cea4b18e7f83c02922b1.js +1 -0
  204. package/assets/esri/core/workers/chunks/cf03d391d50a4c7aca4f.js +1 -0
  205. package/assets/esri/core/workers/chunks/d03f427442bb0c287d05.js +1 -0
  206. package/assets/esri/core/workers/chunks/d082de5dd83bd73d209b.js +1 -0
  207. package/assets/esri/core/workers/chunks/d08d3c6f21e6ba8268ca.js +1 -0
  208. package/assets/esri/core/workers/chunks/d36f17d32c654b1ac7fa.js +1 -0
  209. package/assets/esri/core/workers/chunks/d36fba71c52ea4e71546.js +1 -0
  210. package/assets/esri/core/workers/chunks/{18f980465db5a86153d1.js → d37a72111dffc4c4db70.js} +1 -1
  211. package/assets/esri/core/workers/chunks/d41ab2abcfacc87809b5.js +1 -0
  212. package/assets/esri/core/workers/chunks/d4ed094962a41d756c95.js +1 -0
  213. package/assets/esri/core/workers/chunks/d5561dff043789494845.js +1 -0
  214. package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +1 -0
  215. package/assets/esri/core/workers/chunks/d847c3cb2043a983145b.js +1 -0
  216. package/assets/esri/core/workers/chunks/d849bdaf5bdfdc37531a.js +1 -0
  217. package/assets/esri/core/workers/chunks/da6134c7883531f21afe.js +1 -0
  218. package/assets/esri/core/workers/chunks/{c48dfda8dcb9551606fb.js → dad39ddf0f8dfb0bef47.js} +1 -1
  219. package/assets/esri/core/workers/chunks/dadefe369f49e89a2610.js +1 -0
  220. package/assets/esri/core/workers/chunks/dccb46c7dce68528c72b.js +1 -0
  221. package/assets/esri/core/workers/chunks/dd65c32ae55fcf1282fe.js +1 -0
  222. package/assets/esri/core/workers/chunks/ddafe402f1bc9e8285ef.js +1 -0
  223. package/assets/esri/core/workers/chunks/de9573871f64c01e9f01.js +1 -0
  224. package/assets/esri/core/workers/chunks/dedf678490572c500a19.js +30 -0
  225. package/assets/esri/core/workers/chunks/df174346a7e9b629a392.js +1 -0
  226. package/assets/esri/core/workers/chunks/df30053a10d4930924d5.js +1 -0
  227. package/assets/esri/core/workers/chunks/dfbdc72c7ea137e3841d.js +1 -0
  228. package/assets/esri/core/workers/chunks/e21b3490bfce75405e55.js +1 -0
  229. package/assets/esri/core/workers/chunks/e2c9393bec747f7876bb.js +1 -0
  230. package/assets/esri/core/workers/chunks/e3e966777f18164afcd8.js +1 -0
  231. package/assets/esri/core/workers/chunks/e4a2eefffe16cd5bb20f.js +1 -0
  232. package/assets/esri/core/workers/chunks/{d0983cc19d19c19c3478.js → e4aacfc1617ccf60bd5a.js} +1 -1
  233. package/assets/esri/core/workers/chunks/{3a526e1d18490b99332f.js → e5bb7ee670a3ba5ba3fe.js} +1 -1
  234. package/assets/esri/core/workers/chunks/e5c75459de85a6dd2f14.js +1 -0
  235. package/assets/esri/core/workers/chunks/e798ca23f02a2dd65bd4.js +1 -0
  236. package/assets/esri/core/workers/chunks/e94f2d6037fba042dc6e.js +1 -0
  237. package/assets/esri/core/workers/chunks/e9511627418c6864148a.js +1 -0
  238. package/assets/esri/core/workers/chunks/ea8f224da4c5c95a3547.js +1 -0
  239. package/assets/esri/core/workers/chunks/ec1a2e68957fae48e60b.js +30 -0
  240. package/assets/esri/core/workers/chunks/ec2e0b2e31fd53b81d0a.js +1 -0
  241. package/assets/esri/core/workers/chunks/ed552941eca621a51f16.js +1 -0
  242. package/assets/esri/core/workers/chunks/ee58f4bbc0a1f7d03df0.js +1 -0
  243. package/assets/esri/core/workers/chunks/f04cb48fc73635d0572f.js +1 -0
  244. package/assets/esri/core/workers/chunks/f06f591680c9e93e69f6.js +1 -0
  245. package/assets/esri/core/workers/chunks/f1d3cf674b6bea89e122.js +1 -0
  246. package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +1 -0
  247. package/assets/esri/core/workers/chunks/{6a51499c6623ddce5f00.js → f2adf1227a795604d3b8.js} +1 -1
  248. package/assets/esri/core/workers/chunks/f30578843f4faefd53b4.js +1 -0
  249. package/assets/esri/core/workers/chunks/{57c003c6745d450558a7.js → f4aed2b6e92bd0474069.js} +1 -1
  250. package/assets/esri/core/workers/chunks/f5d7f69047e1b1116202.js +1 -0
  251. package/assets/esri/core/workers/chunks/f5d809d30cbb56be852d.js +1 -0
  252. package/assets/esri/core/workers/chunks/{2d92f0042facb55edcff.js → f65adaaa33d9f3b131f6.js} +1 -1
  253. package/assets/esri/core/workers/chunks/f9b654f801cb416e9e17.js +1 -0
  254. package/assets/esri/core/workers/chunks/fb34d6d96c8c0d53fcf6.js +1 -0
  255. package/assets/esri/core/workers/chunks/fb51f823b25c827c6b29.js +1 -0
  256. package/assets/esri/core/workers/chunks/fba8065a3a6fbd877e23.js +1 -0
  257. package/assets/esri/core/workers/chunks/fd47ee8598e37fea03fe.js +1 -0
  258. package/assets/esri/core/workers/chunks/fefbde2c2e527bb716ee.js +1 -0
  259. package/assets/esri/core/workers/chunks/ff089723a27859fe18d1.js +1 -0
  260. package/assets/esri/layers/raster/formats/lerc-wasm.wasm +0 -0
  261. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  262. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  263. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  264. package/chunks/arcgis-knowledge-client-core.js +1 -1
  265. package/config.js +1 -1
  266. package/geometry/support/sphere.js +1 -1
  267. package/interfaces.d.ts +5 -0
  268. package/kernel.js +1 -1
  269. package/layers/AnnotationFeatureLayer.d.ts +13 -3
  270. package/layers/DimensionFeatureLayer.d.ts +10 -3
  271. package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
  272. package/layers/raster/formats/RasterCodec.js +1 -1
  273. package/package.json +3 -3
  274. package/support/revision.js +1 -1
  275. package/views/2d/engine/webgl/definitions.js +1 -1
  276. package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
  277. package/views/2d/engine/webgl/mesh/templates/segmentUtils.js +1 -1
  278. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  279. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  280. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  281. package/views/2d/layers/features/FeatureContainer.js +1 -1
  282. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  283. package/views/3d/layers/I3SMeshView3D.js +1 -1
  284. package/views/3d/layers/SceneLayerWorker.js +1 -1
  285. package/views/3d/layers/SceneLayerWorkerHandle.js +1 -1
  286. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  287. package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
  288. package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
  289. package/views/3d/webgl/RenderCamera.js +1 -1
  290. package/views/3d/webgl-engine/effects/WeatherFader.js +1 -1
  291. package/views/3d/webgl-engine/effects/clouds/CloudsParameters.js +1 -1
  292. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  293. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  294. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  295. package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
  296. package/views/3d/webgl-engine/materials/DefaultBufferWriter.js +1 -1
  297. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  298. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  299. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  300. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  301. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  302. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  303. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  304. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  305. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  306. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  307. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  308. package/views/3d/webgl-engine/materials/renderers/BufferRange.js +1 -1
  309. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  310. package/views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js +1 -1
  311. package/views/Viewport2DMixin.js +1 -1
  312. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  313. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  314. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  315. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  316. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  317. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  318. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  319. package/widgets/Sketch.js +1 -1
  320. package/assets/esri/core/workers/chunks/02b043a3c5fa8bcb4c5b.js +0 -1
  321. package/assets/esri/core/workers/chunks/03437a8ef35c200dbf17.js +0 -1
  322. package/assets/esri/core/workers/chunks/0603cbd938ab619c706b.js +0 -1
  323. package/assets/esri/core/workers/chunks/08405116b5feb2d00101.js +0 -1
  324. package/assets/esri/core/workers/chunks/0a6e03263ab0906d8bcf.js +0 -1
  325. package/assets/esri/core/workers/chunks/0af6b87a3d77bb93b893.js +0 -1
  326. package/assets/esri/core/workers/chunks/0edd250159ec259601b3.js +0 -1
  327. package/assets/esri/core/workers/chunks/0f10d7d592c36ee2d1ea.js +0 -1
  328. package/assets/esri/core/workers/chunks/0f8fcbd0650b6a924f75.js +0 -1
  329. package/assets/esri/core/workers/chunks/0f976bfb7db98c2c0e05.js +0 -1
  330. package/assets/esri/core/workers/chunks/1040bce57ea63a6dbca4.js +0 -2
  331. package/assets/esri/core/workers/chunks/10510f76f8538c2dfb84.js +0 -1
  332. package/assets/esri/core/workers/chunks/1079914101d69a40b3eb.js +0 -1
  333. package/assets/esri/core/workers/chunks/11af659688cf963ea6cd.js +0 -1
  334. package/assets/esri/core/workers/chunks/15081b361fc42f40b865.js +0 -1
  335. package/assets/esri/core/workers/chunks/1599dc5309a4e60017ce.js +0 -261
  336. package/assets/esri/core/workers/chunks/181e98399732f425305d.js +0 -1
  337. package/assets/esri/core/workers/chunks/1837f97f720d255a1694.js +0 -1
  338. package/assets/esri/core/workers/chunks/18c4c437ded8bfbd3305.js +0 -1
  339. package/assets/esri/core/workers/chunks/18f4b2099299942aaf97.js +0 -1
  340. package/assets/esri/core/workers/chunks/1958facb000b6c16bfe4.js +0 -1
  341. package/assets/esri/core/workers/chunks/196e7515a43bd0026f49.js +0 -1
  342. package/assets/esri/core/workers/chunks/1a0903b1d2d5101977c6.js +0 -1
  343. package/assets/esri/core/workers/chunks/1aa7496a7dc95aae11ac.js +0 -1
  344. package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +0 -1
  345. package/assets/esri/core/workers/chunks/1c263ffb7144e171a64f.js +0 -1
  346. package/assets/esri/core/workers/chunks/1d524690c4b66289bd20.js +0 -1
  347. package/assets/esri/core/workers/chunks/20fa2c3d4360afa5e136.js +0 -1
  348. package/assets/esri/core/workers/chunks/210ffc448c73a7bf63aa.js +0 -1
  349. package/assets/esri/core/workers/chunks/23f81f4a3d7a983eef23.js +0 -1
  350. package/assets/esri/core/workers/chunks/2540beb53f1443a070d7.js +0 -1
  351. package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +0 -1
  352. package/assets/esri/core/workers/chunks/2757c4bf0280e27f3484.js +0 -1
  353. package/assets/esri/core/workers/chunks/294537e1ac43e8dfeaea.js +0 -1
  354. package/assets/esri/core/workers/chunks/29a1d0659bbc5a039864.js +0 -1
  355. package/assets/esri/core/workers/chunks/29df3f829006719b2680.js +0 -1
  356. package/assets/esri/core/workers/chunks/2a344bca6837ca3b5c41.js +0 -2
  357. package/assets/esri/core/workers/chunks/2a5dbed88bbd96cfac9f.js +0 -1
  358. package/assets/esri/core/workers/chunks/2b044c8fab2055a8818d.js +0 -1
  359. package/assets/esri/core/workers/chunks/2d956dacb26d71d1c174.js +0 -1
  360. package/assets/esri/core/workers/chunks/2da797ae5af9d2ede42d.js +0 -1
  361. package/assets/esri/core/workers/chunks/2dbcdfdf000226bfe746.js +0 -1
  362. package/assets/esri/core/workers/chunks/2e495a28494c2351837b.js +0 -1
  363. package/assets/esri/core/workers/chunks/2ef80e003b4f0393ac2e.js +0 -1
  364. package/assets/esri/core/workers/chunks/2fc3e43b64300014dddc.js +0 -1
  365. package/assets/esri/core/workers/chunks/30cf84a47ebefd180bb7.js +0 -1
  366. package/assets/esri/core/workers/chunks/314bc1b356d43bfa72a8.js +0 -1
  367. package/assets/esri/core/workers/chunks/34a024eda22d228e1fbe.js +0 -1
  368. package/assets/esri/core/workers/chunks/37e823202424c11076cb.js +0 -1
  369. package/assets/esri/core/workers/chunks/38a76bc4ef5c10ab0488.js +0 -1
  370. package/assets/esri/core/workers/chunks/390f2beee8e3f2a302e4.js +0 -1
  371. package/assets/esri/core/workers/chunks/3a76fffa2016c16d7989.js +0 -1398
  372. package/assets/esri/core/workers/chunks/3c2eb386c0165150e039.js +0 -1
  373. package/assets/esri/core/workers/chunks/3e4b379a6a197b9c4e6b.js +0 -1
  374. package/assets/esri/core/workers/chunks/3ec91474658eae87b832.js +0 -1
  375. package/assets/esri/core/workers/chunks/3eee32db0e9a5086b9a8.js +0 -1
  376. package/assets/esri/core/workers/chunks/406c7723e8db470822bf.js +0 -1
  377. package/assets/esri/core/workers/chunks/41aca863324387576cf8.js +0 -1
  378. package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +0 -1
  379. package/assets/esri/core/workers/chunks/4452fd0c59431904d533.js +0 -1
  380. package/assets/esri/core/workers/chunks/448e0596005cba9a4225.js +0 -1
  381. package/assets/esri/core/workers/chunks/4545cf12ad0824ce6b41.js +0 -1
  382. package/assets/esri/core/workers/chunks/45530a49fa1f09d1682e.js +0 -1
  383. package/assets/esri/core/workers/chunks/459e89d1b94a3b204d20.js +0 -30
  384. package/assets/esri/core/workers/chunks/45b2e58051f42ebd236e.js +0 -1
  385. package/assets/esri/core/workers/chunks/4611cf051c3c396fdf96.js +0 -1
  386. package/assets/esri/core/workers/chunks/46e3d33e44e5398221e2.js +0 -1
  387. package/assets/esri/core/workers/chunks/47656ec12401e53f4bd3.js +0 -1
  388. package/assets/esri/core/workers/chunks/47948c72bc01bd173c20.js +0 -2
  389. package/assets/esri/core/workers/chunks/48f1c3a7c9f16d6896f6.js +0 -1
  390. package/assets/esri/core/workers/chunks/49713dfa4c8b788079d1.js +0 -1
  391. package/assets/esri/core/workers/chunks/4a8201e09bc3ad5cc00b.js +0 -1
  392. package/assets/esri/core/workers/chunks/4ad86d6b1be07c97b6f6.js +0 -1
  393. package/assets/esri/core/workers/chunks/4be0c64bbf2449d57ea5.js +0 -1
  394. package/assets/esri/core/workers/chunks/4d57c771af4137f74bfb.js +0 -1
  395. package/assets/esri/core/workers/chunks/4f25aac84d9eb10cac83.js +0 -1
  396. package/assets/esri/core/workers/chunks/50b34e246f8eef2f6e07.js +0 -1
  397. package/assets/esri/core/workers/chunks/514ab968c0d75062e6ab.js +0 -1
  398. package/assets/esri/core/workers/chunks/51838d55d8ec4ce70398.js +0 -1
  399. package/assets/esri/core/workers/chunks/557300ec03bae84d8afc.js +0 -1
  400. package/assets/esri/core/workers/chunks/57abf838fcff0f0e2c5e.js +0 -1
  401. package/assets/esri/core/workers/chunks/57dd017fed2943d24e3d.js +0 -1
  402. package/assets/esri/core/workers/chunks/59801b2ccaaf4b394e02.js +0 -1
  403. package/assets/esri/core/workers/chunks/5a2d2dcdfa8d958f277d.js +0 -1
  404. package/assets/esri/core/workers/chunks/5a62c9f64db4fcae5e52.js +0 -1
  405. package/assets/esri/core/workers/chunks/5aebecb5c2b3e7887127.js +0 -1
  406. package/assets/esri/core/workers/chunks/5e68b74fd548c7cdba36.js +0 -1
  407. package/assets/esri/core/workers/chunks/5f360492560ae07083a6.js +0 -1
  408. package/assets/esri/core/workers/chunks/6022f43ebd58e21c737a.js +0 -1
  409. package/assets/esri/core/workers/chunks/6048c89fc4dcd2e9988d.js +0 -1
  410. package/assets/esri/core/workers/chunks/61efc7f5fab1c2b1f764.js +0 -1
  411. package/assets/esri/core/workers/chunks/62b137a795e487fa06a1.js +0 -1
  412. package/assets/esri/core/workers/chunks/632de34ebd2f44b4423d.js +0 -1
  413. package/assets/esri/core/workers/chunks/63ca17f569407c89bde1.js +0 -30
  414. package/assets/esri/core/workers/chunks/643c7506f8fe8e06acd2.js +0 -1
  415. package/assets/esri/core/workers/chunks/6596b12bb286a0b45a68.js +0 -1
  416. package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +0 -1
  417. package/assets/esri/core/workers/chunks/661f50cb97604453f942.js +0 -1
  418. package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +0 -1
  419. package/assets/esri/core/workers/chunks/6896a6dd36fa91a27151.js +0 -1
  420. package/assets/esri/core/workers/chunks/68bc674affe2f7269c40.js +0 -1
  421. package/assets/esri/core/workers/chunks/6c02493a1c1deff49c7e.js +0 -1
  422. package/assets/esri/core/workers/chunks/6cdf1db30793133294dd.js +0 -1
  423. package/assets/esri/core/workers/chunks/6ff6783f89ecd3a5e752.js +0 -1
  424. package/assets/esri/core/workers/chunks/70763c7b68d8abe8d5fe.js +0 -1
  425. package/assets/esri/core/workers/chunks/716b1f073e3cd807abd3.js +0 -1
  426. package/assets/esri/core/workers/chunks/71a3f05cb86ae2920f8d.js +0 -1
  427. package/assets/esri/core/workers/chunks/71b672259bac2befd9c7.js +0 -1
  428. package/assets/esri/core/workers/chunks/71c996e1ae84d9daddf2.js +0 -1
  429. package/assets/esri/core/workers/chunks/723bb56de2324b41df4e.js +0 -1
  430. package/assets/esri/core/workers/chunks/73f61107cb7e6d30bf03.js +0 -1
  431. package/assets/esri/core/workers/chunks/752c34cee981862add89.js +0 -1
  432. package/assets/esri/core/workers/chunks/75915f81caaf9e5345a9.js +0 -1
  433. package/assets/esri/core/workers/chunks/75baf6dff6e7658b17b3.js +0 -1
  434. package/assets/esri/core/workers/chunks/760dfd585b6c2c1937ce.js +0 -1
  435. package/assets/esri/core/workers/chunks/76449e50222111ba0eb1.js +0 -1
  436. package/assets/esri/core/workers/chunks/76789f46b2c65d219cf9.js +0 -1
  437. package/assets/esri/core/workers/chunks/76bed5497f42f23a27ed.js +0 -1
  438. package/assets/esri/core/workers/chunks/7849cf0352c0a604e164.js +0 -1
  439. package/assets/esri/core/workers/chunks/7908aed639521cf572e8.js +0 -1
  440. package/assets/esri/core/workers/chunks/7d65a8ec5e1f871b9321.js +0 -1
  441. package/assets/esri/core/workers/chunks/7e4093f42795ba2f8cfd.js +0 -1
  442. package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +0 -1
  443. package/assets/esri/core/workers/chunks/804c31973f7d116523cb.js +0 -1
  444. package/assets/esri/core/workers/chunks/81726d997a2d34449bb2.js +0 -1
  445. package/assets/esri/core/workers/chunks/81883bca8a79ee2ddb00.js +0 -1
  446. package/assets/esri/core/workers/chunks/832ecc1f7d45774c4726.js +0 -1
  447. package/assets/esri/core/workers/chunks/8461f50e9875db4ccfec.js +0 -1
  448. package/assets/esri/core/workers/chunks/8598997340682113a2a5.js +0 -1
  449. package/assets/esri/core/workers/chunks/860a0f9d20f53db1caf4.js +0 -1
  450. package/assets/esri/core/workers/chunks/867e39bb444947c93586.js +0 -1
  451. package/assets/esri/core/workers/chunks/88ec63501fa2f6fdadca.js +0 -1
  452. package/assets/esri/core/workers/chunks/8980767c5b626e4dc3b9.js +0 -1
  453. package/assets/esri/core/workers/chunks/89dd1b1acb0d69264c93.js +0 -1
  454. package/assets/esri/core/workers/chunks/8a66a3e8391206f7d8aa.js +0 -1
  455. package/assets/esri/core/workers/chunks/8a8b7ac6693bdfbebf07.js +0 -1
  456. package/assets/esri/core/workers/chunks/8ad5e80e911419c1685a.js +0 -1
  457. package/assets/esri/core/workers/chunks/8b526ca2dd6fc6a7e921.js +0 -1
  458. package/assets/esri/core/workers/chunks/8e80441eddef1b5be8b9.js +0 -1
  459. package/assets/esri/core/workers/chunks/8f16a358ed83d2264415.js +0 -1
  460. package/assets/esri/core/workers/chunks/8fce15ce4cfdccf407f3.js +0 -1
  461. package/assets/esri/core/workers/chunks/8fd63cb38036f331a803.js +0 -1
  462. package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +0 -1
  463. package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +0 -1
  464. package/assets/esri/core/workers/chunks/937cf55b3b9d324eea73.js +0 -1
  465. package/assets/esri/core/workers/chunks/93d4bda22bde33fafa57.js +0 -1
  466. package/assets/esri/core/workers/chunks/9639b1dd27ccc17ee21e.js +0 -1
  467. package/assets/esri/core/workers/chunks/966d002acec8c72be56a.js +0 -1
  468. package/assets/esri/core/workers/chunks/986d8c3907aeeb18c4f6.js +0 -1
  469. package/assets/esri/core/workers/chunks/98e489c2b85feded7776.js +0 -1
  470. package/assets/esri/core/workers/chunks/9aef0b87f471626abd66.js +0 -1
  471. package/assets/esri/core/workers/chunks/9ba9a3705623679bc305.js +0 -1
  472. package/assets/esri/core/workers/chunks/a188d0767825d322f96d.js +0 -1
  473. package/assets/esri/core/workers/chunks/a4d3cbc02dc1186a9a6d.js +0 -1
  474. package/assets/esri/core/workers/chunks/a638de0102c3990403d1.js +0 -1
  475. package/assets/esri/core/workers/chunks/a6bda5f17fb1c03f7e4b.js +0 -1
  476. package/assets/esri/core/workers/chunks/a6dc01847f39413f78b8.js +0 -1
  477. package/assets/esri/core/workers/chunks/acc733b4881c3e4e503e.js +0 -1
  478. package/assets/esri/core/workers/chunks/b022debf9e0bc2bff0e2.js +0 -1
  479. package/assets/esri/core/workers/chunks/b09935d0105d50a0971b.js +0 -1
  480. package/assets/esri/core/workers/chunks/b12fc1b5a9da97346684.js +0 -1
  481. package/assets/esri/core/workers/chunks/b4323e69e624c6b51754.js +0 -1
  482. package/assets/esri/core/workers/chunks/b45e91249a8ea1559a2b.js +0 -1
  483. package/assets/esri/core/workers/chunks/b50a42a9f96515beb929.js +0 -1
  484. package/assets/esri/core/workers/chunks/b5141f240ca79729686d.js +0 -1
  485. package/assets/esri/core/workers/chunks/b549a4d4b1a34bee8beb.js +0 -1
  486. package/assets/esri/core/workers/chunks/bb89b6fd93513c61b2d3.js +0 -1
  487. package/assets/esri/core/workers/chunks/bc553ecc8cbcc1b02717.js +0 -1
  488. package/assets/esri/core/workers/chunks/bcba02f61cf0abcb5600.js +0 -1
  489. package/assets/esri/core/workers/chunks/bccc199af4e2e49f7acd.js +0 -1
  490. package/assets/esri/core/workers/chunks/bd0f488e228a75fbefb3.js +0 -30
  491. package/assets/esri/core/workers/chunks/bd155794e9bc16dd0474.js +0 -1
  492. package/assets/esri/core/workers/chunks/bf6ae205fbfbfcd1a0ee.js +0 -1
  493. package/assets/esri/core/workers/chunks/c148ad0ea9258046ac1f.js +0 -1
  494. package/assets/esri/core/workers/chunks/c228b058dd91bf0e1102.js +0 -1
  495. package/assets/esri/core/workers/chunks/c4e44fde4bc4ff89e2bc.js +0 -1
  496. package/assets/esri/core/workers/chunks/c4fc85281ca83af7abaf.js +0 -1
  497. package/assets/esri/core/workers/chunks/c610ccbfdb1c5b06c217.js +0 -1
  498. package/assets/esri/core/workers/chunks/c660a5a1086870a3a6b9.js +0 -1
  499. package/assets/esri/core/workers/chunks/c8b7ffc5cb3f1493129e.js +0 -1
  500. package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +0 -1
  501. package/assets/esri/core/workers/chunks/c93a68618674b38b932e.js +0 -1
  502. package/assets/esri/core/workers/chunks/c961aff385e38b081204.js +0 -1
  503. package/assets/esri/core/workers/chunks/cc0efa716b8414a44398.js +0 -1
  504. package/assets/esri/core/workers/chunks/cd66bd30f654fe571e57.js +0 -1
  505. package/assets/esri/core/workers/chunks/cd88e6f02bc2e5b67abf.js +0 -1
  506. package/assets/esri/core/workers/chunks/cf826787ab8d4b27ad80.js +0 -1
  507. package/assets/esri/core/workers/chunks/cfbbfa5edffa57bd3a8e.js +0 -1
  508. package/assets/esri/core/workers/chunks/d0217187aed8bb7038f4.js +0 -1
  509. package/assets/esri/core/workers/chunks/d1928a8c86a8966e5582.js +0 -1
  510. package/assets/esri/core/workers/chunks/d2745886ba5a86fd5c4c.js +0 -680
  511. package/assets/esri/core/workers/chunks/d4c341b15d9244276fb9.js +0 -1
  512. package/assets/esri/core/workers/chunks/d5faab9799891e5da5a8.js +0 -1
  513. package/assets/esri/core/workers/chunks/d811924acc9c0be95bba.js +0 -1
  514. package/assets/esri/core/workers/chunks/db90fb8ac96579259566.js +0 -1
  515. package/assets/esri/core/workers/chunks/dd0acd0f8b96839b4f24.js +0 -2
  516. package/assets/esri/core/workers/chunks/dd785e595cd08b2d6284.js +0 -1
  517. package/assets/esri/core/workers/chunks/e0b47b08ae2c36c76fa2.js +0 -1
  518. package/assets/esri/core/workers/chunks/e1ddb8e4977b317fd40c.js +0 -1
  519. package/assets/esri/core/workers/chunks/e4015870412edd69453c.js +0 -1
  520. package/assets/esri/core/workers/chunks/e7cb1b72f0b54e845741.js +0 -1
  521. package/assets/esri/core/workers/chunks/e7e7c7cbfd8542bd7a46.js +0 -1
  522. package/assets/esri/core/workers/chunks/e80376832050a4b6d28a.js +0 -1
  523. package/assets/esri/core/workers/chunks/e8a885b576da3ec145d3.js +0 -1
  524. package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +0 -1
  525. package/assets/esri/core/workers/chunks/e961c6140c39921816a8.js +0 -1
  526. package/assets/esri/core/workers/chunks/eb7daa0f6610983ff8db.js +0 -1
  527. package/assets/esri/core/workers/chunks/eb842cf470ce28a73187.js +0 -1
  528. package/assets/esri/core/workers/chunks/eeea5710275c967e8d51.js +0 -1
  529. package/assets/esri/core/workers/chunks/ef32e454012f3b0e3f77.js +0 -1
  530. package/assets/esri/core/workers/chunks/f31a8e76f1dde23c0900.js +0 -1
  531. package/assets/esri/core/workers/chunks/f50bba74ae72c07e131a.js +0 -1
  532. package/assets/esri/core/workers/chunks/f58ddf37dee066a5c0d8.js +0 -1
  533. package/assets/esri/core/workers/chunks/f80cadcc2a588da63b38.js +0 -1
  534. package/assets/esri/core/workers/chunks/f83e3ad67b60744afd6d.js +0 -1
  535. package/assets/esri/core/workers/chunks/f859c53432f258af77e3.js +0 -2
  536. package/assets/esri/core/workers/chunks/f8bbb52b865a0a242140.js +0 -1
  537. package/assets/esri/core/workers/chunks/f8f3579d0c1b65762902.js +0 -1
  538. package/assets/esri/core/workers/chunks/f9592bcdd9988199a7ea.js +0 -1
  539. package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +0 -1
  540. package/assets/esri/core/workers/chunks/ff7e1eb2366d4301d288.js +0 -1
  541. /package/assets/esri/core/workers/chunks/{47948c72bc01bd173c20.js.LICENSE.txt → 24c0b3586bb6500eda53.js.LICENSE.txt} +0 -0
  542. /package/assets/esri/core/workers/chunks/{f859c53432f258af77e3.js.LICENSE.txt → 394716bd1ecfd638d708.js.LICENSE.txt} +0 -0
  543. /package/assets/esri/core/workers/chunks/{1040bce57ea63a6dbca4.js.LICENSE.txt → 55af58b6dff52dc040fe.js.LICENSE.txt} +0 -0
  544. /package/assets/esri/core/workers/chunks/{dd0acd0f8b96839b4f24.js.LICENSE.txt → 5b18696109fe84a1010a.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2917],{68197(t,e,s){s.d(e,{A:()=>c});var i=s(40876),n=s(4576),r=s(34727),o=s(56507);function h(t){return(0,r.qE)((0,o.Vr)(t),0,255)}function a(t,e){const s=t.toString(16).padStart(2,"0");return e?s.slice(0,1):s}class c{static blendColors(t,e,s,i=new c){return i.r=Math.round(t.r+(e.r-t.r)*s),i.g=Math.round(t.g+(e.g-t.g)*s),i.b=Math.round(t.b+(e.b-t.b)*s),i.a=t.a+(e.a-t.a)*s,i._sanitize()}static fromRgb(t,e){const s=(0,i.lT)(t);return s?c.fromArray(s,e):null}static fromHex(t,e=new c){const s=(0,i.oW)(t);return s?c.fromArray(s,e):null}static fromArray(t,e=new c){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const s=(0,i.Eq)(t);return s?c.fromArray(s,e):null}static fromJSON(t){return null!=t?new c([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)c.fromString(t,this);else if((0,n.yc)(t))c.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof c||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,s=t?.digits??6,i=3===s||4===s,n=4===s||8===s,r=`#${a(this.r,i)}${a(this.g,i)}${a(this.b,i)}${n?a(Math.round(255*this.a),i):""}`;return e?r.toUpperCase():r}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=h(this.r),s=h(this.g),i=h(this.b);return 0===t||1!==this.a?[e,s,i,h(255*this.a)]:[e,s,i]}clone(){return new c(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,s,i){this.r=t,this.g=e,this.b=s,this.a=i}}c.prototype.declaredClass="esri.Color"},40876(t,e,s){s.d(e,{Eq:()=>g,G1:()=>m,TS:()=>r,Tf:()=>b,V6:()=>n,Vm:()=>d,ay:()=>a,c1:()=>p,c4:()=>o,iw:()=>y,j5:()=>c,lT:()=>u,oW:()=>l,xV:()=>v});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(t){return!!i[t]||!!i[t.toLowerCase()]}function r(t){return i[t]??i[t.toLowerCase()]}function o(t){return[...r(t)]}function h(t,e,s){s<0&&++s,s>1&&--s;const i=6*s;return i<1?t+(e-t)*i:2*s<1?e:3*s<2?t+(e-t)*(2/3-s)*6:t}function a(t,e,s,i=1){const n=(t%360+360)%360/360,r=s<=.5?s*(e+1):s+e-s*e,o=2*s-r;return[Math.round(255*h(o,r,n+1/3)),Math.round(255*h(o,r,n)),Math.round(255*h(o,r,n-1/3)),i]}function c(t){const e=t.length>5,s=e?8:4,i=(1<<s)-1,n=e?1:17,r=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const h=[0,0,0,1];let a;return r&&(a=o&i,o>>=s,h[3]=n*a/255),a=o&i,o>>=s,h[2]=n*a,a=o&i,o>>=s,h[1]=n*a,a=o&i,o>>=s,h[0]=n*a,h}function l(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),i=parseInt(t.slice(3,4),16),n=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,s+16*s,i+16*i,(n+16*n)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),s=e[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),f(e)}return f(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return a(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function f(t){return t[0]=p(t[0]),t[1]=p(t[1]),t[2]=p(t[2]),t[3]=4===t.length?m(t[3]):1,t}function g(t){let e=n(t)?r(t):null;return e??=u(t),e??=l(t),e}function d(t){const e=g(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return _(t,0,1)}function p(t){return Math.round(_(t,0,255))}function _(t,e,s){return t=Number(t),isNaN(t)?s:t<e?e:t>s?s:t}const b=2.2,y=1/b;function v(t){return t**y}},7762(t,e,s){s.d(e,{A:()=>I});var i,n=s(5482),r=s(98291),o=s(4576),h=s(65529),a=s(36563),c=s(4718),l=s(53966),u=s(93687),f=s(76030),g=s(56507),d=s(62788),m=s(10107),p=s(7695),_=s(64108),b=s(95488),y=s(12195);class v{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}}class S{constructor(t,e,s,i,n){this.target=t,this.added=e,this.removed=s,this.start=i,this.deleteCount=n}}const z=new u.A(()=>new v,void 0,t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1});function w(t){t&&"object"==typeof t&&"destroy"in t&&"function"==typeof t.destroy&&t.destroy()}function k(t){return t?t instanceof N?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function x(t){if(t?.length)return t[0]}function M(t,e,s,i){const n=Math.min(t.length-s,e.length-i);let r=0;for(;r<n&&t[s+r]===e[i+r];)r++;return r}function C(t,e,s,i){e&&e.forEach((e,n,r)=>{t.push(e),C(t,s.call(i,e,n,r),s,i)})}const A=new Set,E=new Set,R=new Set,P=new Map;let L=0,N=i=class extends h.nJ{static ofType(t){if(!t)return i;if(P.has(t))return P.get(t);let e=null;if("function"==typeof t)e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(const s in t.typeMap){const i=t.typeMap[s].prototype.declaredClass;e?e+=` | ${i}`:e=i}let s=class extends i{};return(0,n.Cg)([(0,p.u)({Type:t,ensureType:"function"==typeof t?(0,g.dp)(t):(0,g.aq)(t)})],s.prototype,"itemType",void 0),s=(0,n.Cg)([(0,_.$)(`esri.core.Collection<${e}>`)],s),P.set(t,s),s}static isCollection(t){return null!=t&&t instanceof i}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new b.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:L++})}normalizeCtorArgs(t){return t?(0,o.yc)(t)||t instanceof i?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(t){t>this._length?l.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(t,Math.max(0,this._length-t))}get items(){return(0,d.gc)(this._observable),this._items}set items(t){this._emitBeforeChanges(1)||(this._splice(0,this.length,k(t)),this._emitAfterChanges(1))}hasEventListener(t){return!this.destroyed&&("change"===t?this._chgListeners.length>0:super.hasEventListener(t))}on(t,e){if(this.destroyed)return(0,a.hA)();if("change"===t){const t=this._chgListeners,s={removed:!1,callback:e};return t.push(s),this._notifications&&this._notifications.push({listeners:t.slice(),items:this._items.slice(),changes:[]}),(0,a.hA)(()=>{s.removed=!0,t.splice(t.indexOf(s),1)})}return super.on(t,e)}once(t,e){const s="deref"in e?()=>e.deref():()=>e,i=this.on(t,t=>{s()?.call(null,t),i.remove()});return i}add(t,e){if((0,d.gc)(this._observable),this._emitBeforeChanges(1))return this;const s=this.getNextIndex(e??null);return this._splice(s,0,[t]),this._emitAfterChanges(1),this}addMany(t,e=this._items.length){if((0,d.gc)(this._observable),!t?.length)return this;if(this._emitBeforeChanges(1))return this;const s=this.getNextIndex(e);return this._splice(s,0,k(t)),this._emitAfterChanges(1),this}at(t){if((0,d.gc)(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if((0,d.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const t=this._removeAllRaw();return this._emitAfterChanges(2),t}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,d.gc)(this._observable),this._createNewInstance({items:this._items.map(c.o8)})}concat(...t){(0,d.gc)(this._observable);const e=t.map(k);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if((0,d.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const s=this._splice(0,this.length),i=s.length;for(let n=0;n<i;n++)t.call(e,s[n],n,s);this._emitAfterChanges(2)}destroyAll(){this.drain(w)}destroyMany(t){const e=this.removeMany(t);return e.forEach(w),e}every(t,e){return(0,d.gc)(this._observable),this._items.every(t,e)}filter(t,e){(0,d.gc)(this._observable);const s=2===arguments.length?this._items.filter(t,e):this._items.filter(t);return this._createNewInstance({items:s})}find(t,e){return(0,d.gc)(this._observable),this._items.find(t,e)}findIndex(t,e){return(0,d.gc)(this._observable),this._items.findIndex(t,e)}flatten(t,e){(0,d.gc)(this._observable);const s=[];return C(s,this,t,e),new i(s)}forEach(t,e){return(0,d.gc)(this._observable),this._items.forEach(t,e)}getItemAt(t){return(0,d.gc)(this._observable),this._items[t]}getNextIndex(t){(0,d.gc)(this._observable);const e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return(0,d.gc)(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return(0,d.gc)(this._observable),this._items.indexOf(t,e)}join(t=","){return(0,d.gc)(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return(0,d.gc)(this._observable),this._items.lastIndexOf(t,e)}map(t,e){(0,d.gc)(this._observable);const s=this._items.map(t,e);return new i({items:s})}reorder(t,e=this.length-1){(0,d.gc)(this._observable);const s=this.indexOf(t);if(-1!==s){if(e<0?e=0:e>=this.length&&(e=this.length-1),s!==e){if(this._emitBeforeChanges(4))return t;this._splice(s,1),this._splice(e,0,[t]),this._emitAfterChanges(4)}return t}}pop(){if((0,d.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=x(this._splice(this.length-1,1));return this._emitAfterChanges(2),t}push(...t){return(0,d.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,t),this._emitAfterChanges(1)),this.length}reduce(t,e){(0,d.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduce(t,e):s.reduce(t)}reduceRight(t,e){(0,d.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduceRight(t,e):s.reduceRight(t)}remove(t){return(0,d.gc)(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if((0,d.gc)(this._observable),t<0||t>=this.length||this._emitBeforeChanges(2))return;const e=x(this._splice(t,1));return this._emitAfterChanges(2),e}removeMany(t){if((0,d.gc)(this._observable),!t?.length||this._emitBeforeChanges(2))return[];const e=t instanceof i?t.toArray():t,s=this._items,n=[],r=e.length;for(let t=0;t<r;t++){const i=e[t],r=s.indexOf(i);if(r>-1){const i=1+M(e,s,t+1,r+1),o=this._splice(r,i);o&&o.length>0&&n.push.apply(n,o),t+=i-1}}return this._emitAfterChanges(2),n}reverse(){if((0,d.gc)(this._observable),this._emitBeforeChanges(4))return this;const t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(4),this}shift(){if((0,d.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=x(this._splice(0,1));return this._emitAfterChanges(2),t}slice(t=0,e=this.length){return(0,d.gc)(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return(0,d.gc)(this._observable),this._items.some(t,e)}sort(t){if((0,d.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(t))return this;const e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(4),this}_requiresSort(t=(t,e)=>t===e?0:t<e?-1:1){const e=this.length-1;for(let s=0;s<e;s++)if(t(this.items[s],this.items[s+1])>0)return!0;return!1}splice(t,e,...s){(0,d.gc)(this._observable),1===arguments.length&&(e=this.length),e??=0;const i=(e?2:0)|(s.length?1:0);if(this._emitBeforeChanges(i))return[];const n=this._splice(t,e,s)||[];return this._emitAfterChanges(i),n}toArray(){return(0,d.gc)(this._observable),this._items.slice()}toJSON(t){return(0,d.gc)(this._observable),this.toArray().map(e=>(0,y.W)(e)?e.toJSON(t):e)}toLocaleString(){return(0,d.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,d.gc)(this._observable),this._items.toString()}unshift(...t){return(0,d.gc)(this._observable),!t.length||this._emitBeforeChanges(1)||(this._splice(0,0,t),this._emitAfterChanges(1)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,s){const i=this._items,n=this.itemType;let r,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,f._)(()=>this._dispatchChange())),t<0&&(t+=this.length),e){if(o=i.splice(t,e),this.hasEventListener("before-remove")){const e=z.acquire();e.target=this,e.cancellable=!0;for(let s=0,n=o.length;s<n;s++)r=o[s],e.reset(r),this.emit("before-remove",e),e.defaultPrevented&&(o.splice(s,1),i.splice(t,0,r),t+=1,s-=1,n-=1);z.release(e)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const t=z.acquire();t.target=this,t.cancellable=!1;const e=o.length;for(let s=0;s<e;s++)t.reset(o[s]),this.emit("after-remove",t);z.release(t)}}if(s?.length){if(n){const t=[];for(const e of s){const s=n.ensureType(e);null==s&&null!=e||t.push(s)}s=t}const e=this.hasEventListener("before-add"),r=this.hasEventListener("after-add"),o=t===this.length;if(e||r){const n=z.acquire();n.target=this,n.cancellable=!0;const h=z.acquire();h.target=this,h.cancellable=!1;for(const a of s)e?(n.reset(a),this.emit("before-add",n),n.defaultPrevented||(o?i.push(a):i.splice(t++,0,a),this._length=i.length,r&&(h.reset(a),this.emit("after-add",h)))):(o?i.push(a):i.splice(t++,0,a),this._length=i.length,h.reset(a),this.emit("after-add",h));z.release(h),z.release(n)}else{if(o)for(const t of s)i.push(t);else i.splice(t,0,...s);this._length=i.length}}if((s?.length||o?.length)&&this._notifyChangeEvent(s,o),this.hasEventListener("after-splice")){const i=new S(this,s,o,t,e);this.emit("after-splice",i)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){const s=z.acquire();s.target=this,s.cancellable=!0,s.type=t,this.emit("before-changes",s),e=s.defaultPrevented,z.release(s)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){const e=z.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),z.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const t=this._notifications;this._notifications=null;for(const e of t){const t=e.changes;A.clear(),E.clear(),R.clear();for(const{added:e,removed:s}of t){if(e)if(0===R.size&&0===E.size)for(const t of e)A.add(t);else for(const t of e)E.has(t)?(R.add(t),E.delete(t)):R.has(t)||A.add(t);if(s)if(0===R.size&&0===A.size)for(const t of s)E.add(t);else for(const t of s)A.has(t)?A.delete(t):(R.delete(t),E.add(t))}const s=r.A.acquire();A.forEach(t=>{s.push(t)});const i=r.A.acquire();E.forEach(t=>{i.push(t)});const n=this._items,o=e.items,h=r.A.acquire();if(R.forEach(t=>{o.indexOf(t)!==n.indexOf(t)&&h.push(t)}),e.listeners&&(s.length||i.length||h.length)){const t={target:this,added:s,removed:i,moved:h},n=e.listeners.length;for(let s=0;s<n;s++){const i=e.listeners[s];i.removed||i.callback.call(this,t)}}r.A.release(s),r.A.release(i),r.A.release(h)}A.clear(),E.clear(),R.clear()}};(0,n.Cg)([(0,m.MZ)()],N.prototype,"_updating",void 0),(0,n.Cg)([(0,m.MZ)()],N.prototype,"_length",void 0),(0,n.Cg)([(0,m.MZ)()],N.prototype,"length",null),(0,n.Cg)([(0,m.MZ)()],N.prototype,"items",null),(0,n.Cg)([(0,m.MZ)({readOnly:!0})],N.prototype,"updating",null),N=i=(0,n.Cg)([(0,_.$)("esri.core.Collection")],N);const I=N},69052(t,e,s){s.d(e,{hr:()=>n,ie:()=>a,uC:()=>h});var i=s(34727);class n{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,s=!1){return r(this.range,this.min,this.max,t,e,s)}clamp(t,e=0){return(0,i.qE)(t-e,this.min,this.max)+e}monotonic(t,e,s){return t<e?e:e+o(this.range,t-e,s)}minimalMonotonic(t,e,s){return r(this.range,t,t+this.range,e,s)}center(t,e,s){return e=this.monotonic(t,e,s),this.normalize((t+e)/2,s)}diff(t,e,s){return this.monotonic(t,e,s)-t}shortestSignedDiff(t,e){t=this.normalize(t);const s=(e=this.normalize(e))-t,i=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(s)<Math.abs(i)?s:i}contains(t,e,s){return e=this.minimalMonotonic(t,e),(s=this.minimalMonotonic(t,s))>t&&s<e}}function r(t,e,s,i,n=0,r=!1){return(i-=n)<e?i+=o(t,e-i):i>s&&(i-=o(t,i-s)),r&&i===s&&(i=e),i+n}function o(t,e,s=0){return Math.ceil((e-s)/t)*t+s}const h=new n(0,2*Math.PI),a=(new n(-Math.PI,Math.PI),new n(0,360))},4902(t,e,s){s.d(e,{s:()=>o});var i=s(5482),n=s(64108);let r=0;const o=t=>{const e=t;let s=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+r++})}};return s=(0,i.Cg)([(0,n.$)("esri.core.Identifiable")],s),s};o(class{})},66344(t,e,s){s.d(e,{q:()=>h});const i=!!(0,s(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(t=10485760,e=.3){this._maxSize=t,this._maxClientSizeRatio=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(t){this._clients.set(t.id.slice(0,-1),t)}deregister(t){this.clear(t),this._sizeLimits.delete(t),this._clients.delete(t.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(t,e){const s=this._db.get(t.id+e);return s?.size??0}put(t,e,s,n,o){e=t.id+e;const h=this._db.get(e);if(h&&(this._size-=h.size,t.size-=h.size,this._db.delete(e),h.entry!==s&&this._notifyRemove(e,h.entry,h.size,0)),n>this._maxSize)return void this._notifyRemove(e,s,n,0);if(void 0===s)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return i||console.warn(`Refusing to cache entry with size ${n} for key ${e}`),void this._notifyRemove(e,s,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(e,new r(s,n,a)),this._size+=n,t.size+=n,this._checkSize()}updateSize(t,e){e=t.id+e;const s=this._db.get(e);if(!s)return;this._size-=s.size,t.size-=s.size;let i=s.entry.usedMemory;for(;i>this._maxSize;){const t=this._notifyRemove(e,s.entry,i,1);if(!(null!=t&&t>0))return void this._db.delete(e);i=t}s.size=i,this._size+=i,t.size+=i,this._checkSize()}pop(t,e){e=t.id+e;const s=this._db.get(e);if(s)return this._size-=s.size,t.size-=s.size,this._db.delete(e),++this._hit,s.entry;++this._miss}get(t,e){e=t.id+e;const s=this._db.get(e);if(void 0!==s)return this._db.delete(e),s.lives=s.lifetime,this._db.set(e,s),++this._hit,s.entry;++this._miss}peek(t,e){const s=this._db.get(t.id+e);return s?++this._hit:++this._miss,s?.entry}get performanceInfo(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},s=new Array;this._db.forEach((t,i)=>{const n=t.lifetime;s[n]=(s[n]||0)+t.size,this._clients.forEach(s=>{const{id:n,name:r}=s;if(i.startsWith(n)){const s=e[r]||0;e[r]=s+t.size}})});const i={};this._clients.forEach(t=>{const s=t.name;if("hitRate"in t&&"number"==typeof t.hitRate&&!isNaN(t.hitRate)&&t.hitRate>0){const n=e[s]||0;e[s]=n,i[s]=Math.round(100*t.hitRate)+"%"}else i[s]="0%"});const n=Object.keys(e);n.sort((t,s)=>e[s]-e[t]),n.forEach(s=>t[s]=Math.round(e[s]/2**20)+"MB / "+i[s]);for(let e=s.length-1;e>=0;--e){const i=s[e];i&&(t["Priority "+(e+-3-1)]=Math.round(i/this._size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._clients.forEach(t=>t.resetHitRate())}clear(t){const e=t.id;this._db.forEach((t,s)=>{s.startsWith(e)&&(this._size-=t.size,this._db.delete(s),this._notifyRemove(s,t.entry,t.size,0))}),t.size=0}clearAll(){this._db.forEach((t,e)=>this._notifyRemove(e,t.entry,t.size,0)),this._clients.forEach(t=>t.size=0),this._size=0,this._db.clear()}*values(t){for(const[e,s]of this._db)e.startsWith(t.id)&&(yield s.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,s,i){const n=this._clients.get(t.split(o)[0])?.removeFunc,r=n?.(e,i,s);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((t,e)=>this._checkSizeLimits(t,e)),this._clients.forEach(t=>this._checkSizeLimits(this._maxClientSize,t)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(t,e){null==e||e<=0?this._sizeLimits.delete(t):this._sizeLimits.set(t,e)}_checkSizeLimits(t,e){const s=e??this;if(s.size<=t)return;const i=e?.id;let n=!0;for(;n;){n=!1;for(const[r,h]of this._db)if(0===h.lifetime&&(!i||r.startsWith(i))){const i=e??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,h,i),s.size<=.9*t)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!i||n.startsWith(i)){const i=e??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,r,i),s.size<=.9*t)return}}_purgeItem(t,e,s){if(this._db.delete(t),e.lives<=1){this._size-=e.size,s&&(s.size-=e.size);const i=this._notifyRemove(t,e.entry,e.size,1);null!=i&&i>0&&(this._size+=i,s&&(s.size+=i),e.lives=e.lifetime,e.size=i,this._db.set(t,e))}else--e.lives,this._db.set(t,e)}}new n(0);class r{constructor(t,e,s){this.entry=t,this.size=e,this.lifetime=s,this.lives=s}}const o=":";class h{constructor(t,e){this.removeFunc=e,this.id="",this.name="",this.size=0,this._storage=new n(t,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(t,e,s=1){this._storage.put(this,t,e,s,1)}pop(t){return this._storage.pop(this,t)}get(t){return this._storage.get(this,t)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(t){this._storage.maxSize=t}resetHitRate(){}}},7695(t,e,s){function i(t){return(e,s)=>{e[s]=t}}s.d(e,{u:()=>i})},56512(t,e,s){function i(t){let e,s,i=[],n=!1;return function(...r){return n&&e===this&&function(t,e){if(t.length!==e.length)return!1;for(let s=0;s<t.length;++s)if(t[s]!==e[s])return!1;return!0}(r,i)||(s=t.apply(this,r),e=this,i=r,n=!0),s}}s.d(e,{B:()=>i})},36708(t,e,s){s.d(e,{C_:()=>f,OH:()=>m,Vh:()=>p,on:()=>u,pc:()=>_,wB:()=>a,z7:()=>c});var i=s(37955),n=s(36563),r=s(97768),o=s(17676),h=s(14012);function a(t,e,s={}){return l(t,e,s,g)}function c(t,e,s={}){return l(t,e,s,d)}function l(t,e,s={},i){let n=null;const o=s.once?(t,s)=>{i(t)&&((0,r.xt)(n),e(t,s))}:(t,s)=>{i(t)&&e(t,s)};if(n=(0,h.Cn)(t,o,s.sync,s.equals),s.initial){const e=t();o(e,e)}return n}function u(t,e,s,o={}){let h=null,c=null,l=null;function u(){h&&c&&(c.remove(),o.onListenerRemove?.(h),h=null,c=null)}function f(t){o.once&&o.once&&(0,r.xt)(l),s(t)}const g=a(t,(t,s)=>{u(),(0,i.wb)(t)&&(h=t,c=(0,i.on)(t,e,f),o.onListenerAdd?.(t))},{sync:o.sync,initial:!0});return l=(0,n.hA)(()=>{g.remove(),u()}),l}function f(t,e){return function(t,e,s){if((0,o.G4)(s))return Promise.reject((0,o.NK)());const i=t();if(e?.(i))return Promise.resolve(i);let h=null;function a(){h=(0,r.xt)(h)}return new Promise((i,r)=>{h=(0,n.vE)([(0,o.u7)(s,()=>{a(),r((0,o.NK)())}),l(t,t=>{a(),i(t)},{sync:!1,once:!0},e??g)])})}(t,d,e)}function g(t){return!0}function d(t){return!!t}s(80559);const m={sync:!0},p={initial:!0},_={sync:!0,initial:!0}},90629(t,e,s){s.d(e,{Lz:()=>n,PN:()=>r,cr:()=>o,gs:()=>a,r_:()=>c,tc:()=>h}),s(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function n(t){return t?t/72*96:0}function r(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(i);if(e){const s=Number(e[1]),i=e[3]&&e[3].toLowerCase(),n=t.startsWith("-"),o="px"===i?r(s):s;return n?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function h(t=0,e=0){return{x:t,y:e}}function a(t=0,e=0){return[t,e]}function c(t=0,e=0,s=0){return[t,e,s]}},31411(t,e,s){s.d(e,{GS:()=>k,gh:()=>M});var i=s(49186),n=s(56512),r=s(65864),o=s(4305),h=s(50954),a=s(52006),c=s(49663),l=s(46068),u=s(15507);const f=1e-6,g=[0,0];function d(t){return{maxSegmentLength:t.maxSegmentLength??0,maxDeviation:t.maxDeviation??0,maxSegmentsPerCurve:t.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(t.minSegmentsPerCurve??1,1)}}class m{constructor(t,e){this.curveStart=t,this.curveEnd=e,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(t,e){this.tStart=0,this.arcStart=t,this.tEndStack.push(1),this.arcEndStack.push(e)}splitAt(t){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(t),this.arcEndStack.push(this.interpolate(t))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(t,{maxDeviation:e,maxSegmentLength:s,maxSegmentsPerCurve:i,minSegmentsPerCurve:n}){const r=s*s,o=e*e,h=1/i,a=this.interpolate(0),c=this.interpolate(1);(0,u.kb)(this.curveStart,a)>f&&t.push(a),this.initialize(a,c);const l=1/n;for(let t=n-1;t>0;t--){const e=t*l;this.pop(),this.splitAt(e)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<h||(0===r||!isFinite(r)||(0,u.kb)(this.arcStart,this.arcEnd)<r)&&(0===o||!isFinite(o)||this.getDeviation2()<o)?(t.push(this.arcEnd),this.next()):this.splitInHalf();return(0,u.kb)(this.curveEnd,c)>f&&t.push([...this.curveEnd]),t}}class p extends m{constructor(t,e){const[s,i,n]=e.b;super(t,s),this._controlPointsStack=[],this._curveControlPoints=[i,n],this._arcControlPoints=[i,n],this._controlPointsStack.push(this._arcControlPoints)}splitAt(t){const{arcStart:e,arcEnd:s,tStart:i,tEnd:n}=this,[r,o]=this._arcControlPoints,h=(t-i)/(n-i),a=(0,u.RS)([],e,r,h),c=(0,u.RS)(g,r,o,h),l=(0,u.RS)([],o,s,h),f=(0,u.RS)([],a,c,h),d=(0,u.RS)([],c,l,h),m=(0,u.RS)([],f,d,h);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([d,l]),this.tEndStack.push(t),this.arcEndStack.push(m),this._arcControlPoints[0]=a,this._arcControlPoints[1]=f,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(t){const{curveStart:e,curveEnd:s}=this,[i,n]=this._curveControlPoints;return(0,o.B4)(e,i,n,s,t)}getDeviation2(){const{arcStart:t,arcEnd:e}=this,[s,i]=this._arcControlPoints;return Math.max((0,u.yE)(s,t,e),(0,u.yE)(i,t,e))}}class _ extends m{constructor(t,e){const[s]=e.a;super(t,s),this._derivedEllipse=(0,l.SW)(t,e)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(t){return(0,l.Uk)(this._derivedEllipse,t)}getDeviation2(){return(0,u.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function b(t,e,s,{cx:i,cy:n,radius:r,thetaStart:o,thetaEnd:h,isInvalid:a},{maxDeviation:c,maxSegmentLength:l,maxSegmentsPerCurve:g,minSegmentsPerCurve:d}){if(a)return t.push([...s]),t;const m=2*r,p=[i+r*Math.cos(o),n+r*Math.sin(o)],_=[i+r*Math.cos(h),n+r*Math.sin(h)];(0,u.kb)(e,p)>f&&t.push(p);const b=Math.abs(h-o),y=l>0&&l<m?2*Math.asin(l/m):b,v=c>0&&c<=r?2*Math.acos(1-c/r):b,S=Math.min(y,v),z=Math.min(g,Math.max(d,Math.ceil(Math.abs(b/S)))),w=1/z;for(let e=1;e<z;e++){const s=e*w,a=o*(1-s)+h*s;t.push([i+r*Math.cos(a),n+r*Math.sin(a)])}return t.push(_),(0,u.kb)(s,_)>f&&t.push([...s]),t}function y(t,e,s,i){return new p(e,s).densify(t,i)}function v(t,e,s,i){const n=(0,h.pM)(e,s),[r]=s.c;return b(t,e,r,n,i)}function S(t,e,s,i){const n=(0,c.io)(e,s),[r]=s.a;return b(t,e,r,n,i)}function z(t,e,s,i){const[n,r,o,h,a,c,l]=s.a;return 0===c||0===l?(t.push([...n]),t):new _(e,s).densify(t,i)}function w(t,e,s,i){return(0,a.Xq)(s)?(t.push([...s]),t):(0,a.n1)(s)?y(t,e,s,i):(0,a.aO)(s)?v(t,e,s,i):(0,a.DA)(s)?S(t,e,s,i):z(t,e,s,i)}function k(t,e={}){if(!(0,a.Ed)(t))return t;const s=d(e),i=(0,a.FD)(t),n=[];for(const t of i){const e=[];for(let i=0;i<t.length-1;i++){const n=i+1,r=[...(0,a.yP)(t[i])];0===i&&e.push(r),w(e,r,t[n],s)}n.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},paths:n,spatialReference:t.spatialReference}:{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},rings:n,spatialReference:t.spatialReference}}const x=(0,n.B)(t=>({maxDeviation:0,maxSegmentLength:100*t,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function M(t,e,n){const o=new Set(e);return await async function(t,e,n){let r=null;for(const o of t)if(o&&(0,a.Ed)(o)&&null==o.spatialReference.xyTolerance&&(0,a.V8)(o,e)){const t=o.spatialReference;if(!t)throw new i.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const e=C(t);if(n.has(e))o.spatialReference=n.get(e);else{r||(r=await Promise.all([s.e(3661),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(1550)]).then(s.bind(s,78125)));const h=r.fromSpatialReference(t),a=h?.getTolerance();if(null==a)throw new i.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const c=o.spatialReference.clone();c.read({xyTolerance:a}),o.spatialReference=c,n.set(e,c)}}}(t,o,n),t.map(t=>{if(!t||!(0,a.Ed)(t))return t;const s=t.spatialReference.xyTolerance;if(null==s)return t;const i=x(s);return(0,r.rS)(function(t,e,s){if(!(0,a.Ed)(t))return t;const i=new Set(e),n=d(s),r=(0,a.FD)(t),o=[];let h=!1;for(const t of r){const e=[];for(let s=0;s<t.length-1;s++){const r=s+1,o=[...(0,a.yP)(t[s])];0===s&&e.push(o);const c=t[r];(0,a.Xq)(c)?e.push([...c]):(0,a.n1)(c)&&!i.has("cubic-bezier")?y(e,o,c,n):(0,a.aO)(c)&&!i.has("circular-arc")?v(e,o,c,n):(0,a.DA)(c)&&!i.has("elliptic-arc")?S(e,o,c,n):(0,a.wY)(c)&&!i.has("elliptic-arc")?z(e,o,c,n):(e.push((0,a.tk)(c)),h=!0)}o.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},spatialReference:t.spatialReference,...h?{curvePaths:o}:{paths:o}}:{hasZ:t.hasZ,hasM:t.hasM,spatialReference:t.spatialReference,...h?{curveRings:o}:{rings:o}}}(t,e,i))})}function C(t){if(null!=t.wkid)return`${t.wkid}`;if(null!=t.wkt)return t.wkt;const e="toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():t;return JSON.stringify(e)}},17136(t,e,s){s.d(e,{Y_:()=>R,O7:()=>A,el:()=>C});var i=s(92602),n=s(69052),r=s(49186),o=s(53966),h=s(39829),a=s(82799),c=s(16930),l=s(80754),u=s(21325),f=s(28735),g=s(52006),d=s(31411),m=s(11254),p=s(60408),_=s(65864),b=s(2272),y=s(84952),v=s(92300);const S=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function z(t){return"polygon"===t[0].type}function w(t){return"polyline"===t[0].type}function k(t,e,s){const i=1e6;if(e){const e=(0,g.Ed)(t)?(0,d.GS)(t,{maxSegmentLength:i}):function(t,e){if(!(t instanceof a.A||t instanceof h.A)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw S().error(t),new r.A("internal:geometry",t)}const s=(0,l.r8)(t),i=[];for(const t of s){const s=[];i.push(s),s.push([t[0][0],t[0][1]]);for(let i=0;i<t.length-1;i++){const n=t[i][0],r=t[i][1],o=t[i+1][0],h=t[i+1][1],a=Math.sqrt((o-n)*(o-n)+(h-r)*(h-r)),c=(h-r)/a,l=(o-n)/a,u=a/e;if(u>1){for(let t=1;t<=u-1;t++){const i=t*e,o=l*i+n,h=c*i+r;s.push([o,h])}const t=(a+Math.floor(u-1)*e)/2,i=l*t+n,o=c*t+r;s.push([i,o])}s.push([o,h])}}return function(t){return"polygon"===t.type}(t)?new h.A({rings:i,spatialReference:t.spatialReference}):new a.A({paths:i,spatialReference:t.spatialReference})}(t,i);t=(0,f.ci)(e,!0)}return s&&(t=(0,l.kS)(t,s)),t}function x(t,e,s){if(Array.isArray(t)){const i=t[0];if(i>e){const s=(0,l.kd)(i,e);t[0]=i+s*(-2*e)}else if(i<s){const e=(0,l.kd)(i,s);t[0]=i+e*(-2*s)}}else{const i=t.x;if(i>e){const s=(0,l.kd)(i,e);t=t.clone().offset(s*(-2*e),0)}else if(i<s){const e=(0,l.kd)(i,s);t=t.clone().offset(e*(-2*s),0)}}return t}function M(t,e){let s=-1;for(let i=0;i<e.cutIndexes.length;i++){const n=e.cutIndexes[i],r=e.geometries[i],o=(0,l.r8)(r);for(let t=0;t<o.length;t++){const e=o[t];e.some(s=>{if(s[0]<180)return!0;{let s=0;for(let t=0;t<e.length;t++){const i=e[t][0];s=i>s?i:s}s=Number(s.toFixed(9));const i=-360*(0,l.kd)(s,180);for(let s=0;s<e.length;s++){const e=r.getPoint(t,s);r.setPoint(t,s,e.clone().offset(i,0))}return!0}})}if(n===s){if(z(t))for(const e of(0,l.r8)(r))t[n]=t[n].addRing(e);else if(w(t))for(const e of(0,l.r8)(r))t[n]=t[n].addPath(e)}else s=n,t[n]=r}return t}async function C(t,e,s){if(!Array.isArray(t))return C([t],e);e&&"string"!=typeof e&&S().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const n="string"==typeof e?e:e?.url??i.A.geometryServiceUrl;let r,o,c,g,d,z,w,A,E=0;const R=[],P=[];for(const e of t)if(null!=e)if(r||(r=e.spatialReference,o=(0,u.Vp)(r),c=r.isWebMercator,z=c?102100:4326,g=l.j7[z].maxX,d=l.j7[z].minX,w=l.j7[z].plus180Line,A=l.j7[z].minus180Line),o)if("mesh"===e.type)P.push(e);else if("point"===e.type)P.push(x(e.clone(),g,d));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map(t=>x(t,g,d)),P.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,o);P.push(t.rings?new h.A(t):t)}else if(e.extent){const t=e.extent,s=(0,l.kd)(t.xmin,d)*(2*g);let i=0===s?e.clone():(0,l.kS)(e.clone(),s);t.offset(s,0);let{xmin:n,xmax:r}=t;n=Number(n.toFixed(9)),r=Number(r.toFixed(9)),t.intersects(w)&&r!==g?(E=r>E?r:E,i=k(i,c),R.push(i),P.push("cut")):t.intersects(A)&&n!==d?(E=r*(2*g)>E?r*(2*g):E,i=k(i,c,360),R.push(i),P.push("cut")):P.push(i)}else P.push(e.clone());else P.push(e);else P.push(e);let L=(0,l.kd)(E,g),N=-90;const I=L,q=new a.A;for(;L>0;){const t=360*L-180;q.addPath([[t,N],[t,-1*N]]),N*=-1,L--}if(R.length>0&&I>0){const e=M(R,await async function(t,e,s,i){const n=(0,b.Dl)(t),r=e[0].spatialReference,o={...i,responseType:"json",query:{...n.query,f:"json",sr:(0,u.YX)(r),target:JSON.stringify({geometryType:(0,p.$B)(e[0]),geometries:e}),cutter:JSON.stringify(s)}},h=await(0,m.A)(n.path+"/cut",o),{cutIndexes:a,geometries:c=[]}=h.data;return{cutIndexes:a,geometries:c.map(t=>{const e=(0,_.rS)(t);return e.spatialReference=r,e})}}(n,R,q,s)),i=[],r=[];for(let s=0;s<P.length;s++){const n=P[s];if("cut"!==n)r.push(n);else{const n=e.shift(),o=t[s];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&n.rings.length>=o.rings.length?(i.push(n),r.push("simplify")):r.push(c?(0,f.Gh)(n):n)}}if(!i.length)return r;const o=await async function(t,e,s){const i="string"==typeof t?(0,y.An)(t):t,n=e[0].spatialReference,r=(0,p.$B)(e[0]),o={...s,query:{...i.query,f:"json",sr:(0,u.YX)(n),geometries:JSON.stringify((0,v.X)(e))}},{data:h}=await(0,m.A)(i.path+"/simplify",o);return(0,v.V)(h.geometries,r,n)}(n,i,s),h=[];for(let t=0;t<r.length;t++){const e=r[t];"simplify"!==e?h.push(e):h.push(c?(0,f.Gh)(o.shift()):o.shift())}return h}const O=[];for(let t=0;t<P.length;t++){const e=P[t];if("cut"!==e)O.push(e);else{const t=R.shift();O.push(!0===c?(0,f.Gh)(t):t)}}return O}function A(t,e,s){const i=(0,u.Vp)(s);if(null==i)return t;const[n,r]=i.valid,o=2*r;let h=0,a=0;e>r?h=Math.ceil(Math.abs(e-r)/o):e<n&&(h=-Math.ceil(Math.abs(e-n)/o)),t>r?a=Math.ceil(Math.abs(t-r)/o):t<n&&(a=-Math.ceil(Math.abs(t-n)/o));let c=t+(h-a)*o;const l=c-e;return l>r?c-=o:l<n&&(c+=o),c}function E(t){const e=(0,u.Vp)(t);if(null==e)return null;const[s,i]=e.valid;return new n.hr(s,i)}const R=E(c.A.WGS84);E(c.A.WebMercator)},80754(t,e,s){s.d(e,{j7:()=>h,kS:()=>c,kd:()=>a,r8:()=>l});var i=s(82799),n=s(16930),r=s(60408),o=s(52006);const h={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:n.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:n.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:n.A.WGS84})}};function a(t,e){return Math.ceil((t-e)/(2*e))}function c(t,e){if((0,o.Ed)(t))for(const s of function(t){return(0,r.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of s){if((0,o.aO)(t)){const[s,i]=t.c;s[0]+=e,i[0]+=e;continue}if((0,o.FG)(t)){const[s,i]=t.a;s[0]+=e,i[0]+=e;continue}if((0,o.n1)(t)){const[s,i,n]=t.b;s[0]+=e,i[0]+=e,n[0]+=e;continue}t[0]+=e}for(const s of l(t))for(const t of s)t[0]+=e;return t}function l(t){return(0,r.Bi)(t)?t.rings:t.paths}},50498(t,e,s){s.d(e,{Ye:()=>u,gy:()=>l,iI:()=>g,yR:()=>f});var i=s(66552),n=s(5443),r=s(91075),o=s(48526),h=s(86738),a=s(39829),c=s(82799);const l=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),u=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),f={base:r.A,key:"type",typeMap:{extent:n.A,multipoint:o.A,point:h.A,polyline:c.A,polygon:a.A}},g=new i.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},73133(t,e,s){s.d(e,{j:()=>i});const i=(0,s(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2491],{11006(e,t,n){function i(e,t,n,i,o){r(e,t,n||0,i||e.length-1,o||s)}function r(e,t,n,i,s){for(;i>n;){if(i-n>600){var a=i-n+1,l=t-n+1,c=Math.log(a),u=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*u*(a-u)/a)*(l-a/2<0?-1:1);r(e,t,Math.max(n,Math.floor(t-l*u/a+h)),Math.min(i,Math.floor(t+(a-l)*u/a+h)),s)}var d=e[t],p=n,m=i;for(o(e,n,t),s(e[i],d)>0&&o(e,n,i);p<m;){for(o(e,p,m),p++,m--;s(e[p],d)<0;)p++;for(;s(e[m],d)>0;)m--}0===s(e[n],d)?o(e,n,m):o(e,++m,i),m<=t&&(n=m+1),t<=m&&(i=m-1)}}function o(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function s(e,t){return e<t?-1:e>t?1:0}n.d(t,{q:()=>i})},40876(e,t,n){n.d(t,{Eq:()=>p,G1:()=>f,TS:()=>o,Tf:()=>x,V6:()=>r,Vm:()=>m,ay:()=>l,c1:()=>g,c4:()=>s,iw:()=>_,j5:()=>c,lT:()=>h,oW:()=>u,xV:()=>v});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(e){return!!i[e]||!!i[e.toLowerCase()]}function o(e){return i[e]??i[e.toLowerCase()]}function s(e){return[...o(e)]}function a(e,t,n){n<0&&++n,n>1&&--n;const i=6*n;return i<1?e+(t-e)*i:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,i=1){const r=(e%360+360)%360/360,o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return[Math.round(255*a(s,o,r+1/3)),Math.round(255*a(s,o,r)),Math.round(255*a(s,o,r-1/3)),i]}function c(e){const t=e.length>5,n=t?8:4,i=(1<<n)-1,r=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&i,s>>=n,a[3]=r*l/255),l=s&i,s>>=n,a[2]=r*l,l=s&i,s>>=n,a[1]=r*l,l=s&i,s>>=n,a[0]=r*l,a}function u(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function h(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?f(e[3]):1,e}function p(e){let t=r(e)?o(e):null;return t??=h(e),t??=u(e),t}function m(e){const t=p(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function f(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const x=2.2,_=1/x;function v(e){return e**_}},62885(e,t,n){n.d(t,{H:()=>o,V:()=>r});var i=n(7762);function r(e,t,n=i.A){return t||(t=new n),t===e||t.destroyed||(t.removeAll(),(r=e)&&(Array.isArray(r)||"items"in r&&Array.isArray(r.items))?t.addMany(e):e&&t.add(e)),t;var r}function o(e){return e}},21287(e,t,n){n.d(t,{M5:()=>h,eV:()=>u});var i=n(11254),r=n(49186),o=n(17676),s=n(84952),a=n(26306);let l=null,c=!0;function u(e,t,n,i){if(!t||!n)throw new Error("Cannot construct image data without dimensions");if(c)try{return new ImageData(e,t,n)}catch(e){c=!1}const r=function(e,t,n){return n||(l||(l=document.createElement("canvas"),l.width=1,l.height=1),n=l),n.getContext("2d").createImageData(e,t)}(t,n,i);return r.data.set(e,0),r}async function h(e,t){const{arrayBuffer:l,mediaType:c}=await async function(e,t){const n=(0,s.r$)(e);if(n?.isBase64)return{arrayBuffer:(0,a.M)(n.data),mediaType:n.mediaType};const r=await(0,i.A)(e,{responseType:"array-buffer",...t});return{arrayBuffer:r.data,mediaType:r.getHeader?.("Content-Type")??""}}(e,t),u="image/png"===c;if("image/gif"===c){const{isAnimatedGIF:e,parseGif:i}=await n.e(820).then(n.bind(n,10820));if(e(l))return i(l,t)}if(u){const{isAnimatedPNG:e,parseApng:i}=await n.e(2390).then(n.bind(n,22390));if(e(l))return i(l,t)}return async function(e,t){const n=window.URL.createObjectURL(e);try{const{data:e}=await(0,i.A)(n,{...t,responseType:"image"});return e}catch(e){if(!(0,o.zf)(e))throw new r.A("invalid-image",`Could not fetch requested image at ${n}`);throw e}finally{window.URL.revokeObjectURL(n)}}(new Blob([l],{type:c}),t)}},48163(e,t,n){function i(){return[0,0]}function r(e){return[e[0],e[1]]}function o(e,t){return[e,t]}function s(){return o(1,1)}function a(){return o(-1,-1)}function l(){return o(1,0)}function c(){return o(0,1)}n.d(t,{IA:()=>h,Un:()=>u,fA:()=>o,o8:()=>r,vt:()=>i});const u=s(),h=a(),d=l(),p=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:h,ONES:u,UNIT_X:d,UNIT_Y:p,ZEROS:[0,0],clone:r,create:i,freeze:function(e,t){return[e,t]},fromArray:function(e,t=[0,0]){const n=Math.min(2,e.length);for(let i=0;i<n;++i)t[i]=e[i];return t},fromValues:o,negativeOnes:a,ones:s,unitX:l,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},75503(e,t,n){n.d(t,{wq:()=>a});var i=n(4576),r=n(21818),o=(n(44208),n(15142)),s=n(11006);class a{constructor(e=9,t){this._compareMinX=d,this._compareMinY=p,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),w.prune(),P.prune(),b.prune(),M.prune()}all(e){l(this._data,e)}search(e,t){let n=this._data;const i=this._toBBox;if(_(e,n))for(w.clear();n;){for(let r=0,o=n.children.length;r<o;r++){const o=n.children[r],s=n.leaf?i(o):o;_(e,s)&&(n.leaf?t(o):x(e,s)?l(o,t):w.push(o))}n=w.pop()}}collides(e){let t=this._data;const n=this._toBBox;if(!_(e,t))return!1;for(w.clear();t;){for(let i=0,r=t.children.length;i<r;i++){const r=t.children[i],o=t.leaf?n(r):r;if(_(e,o)){if(t.leaf||x(e,o))return!0;w.push(r)}}t=w.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,n=e.length;t<n;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new C([]),this}remove(e){if(!e)return this;let t,n=this._data,o=null,s=0,a=!1;const l=this._toBBox(e);for(b.clear(),M.clear();n||b.length>0;){if(n||(n=b.pop(),o=b.data[b.length-1],s=M.pop()??0,a=!0),n.leaf&&(t=(0,i.qh)(n.children,(0,r.z)(e),n.children.length,n.indexHint),-1!==t))return n.children.splice(t,1),b.push(n),this._condense(b),this;a||n.leaf||!x(n,l)?o?(s++,n=o.children[s],a=!1):n=null:(b.push(n),M.push(s),s=0,o=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,n,i){const r=n-t+1;let o=this._maxEntries;if(r<=o){const i=new C(e.slice(t,n+1));return c(i,this._toBBox),i}i||(i=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/o**(i-1)));const s=new R([]);s.height=i;const a=Math.ceil(r/o),l=a*Math.ceil(Math.sqrt(o));v(e,t,n,l,this._compareMinX);for(let r=t;r<=n;r+=l){const t=Math.min(r+l-1,n);v(e,r,t,a,this._compareMinY);for(let n=r;n<=t;n+=a){const r=Math.min(n+a-1,t);s.children.push(this._build(e,n,r,i-1))}}return c(s,this._toBBox),s}_insert(e,t,n){const i=this._toBBox,r=n?e:i(e);b.clear();const o=function(e,t,n,i){for(;i.push(t),!0!==t.leaf&&i.length-1!==n;){let n,i=1/0,r=1/0;for(let o=0,s=t.children.length;o<s;o++){const s=t.children[o],a=m(s),l=g(e,s)-a;l<r?(r=l,i=a<i?a:i,n=s):l===r&&a<i&&(i=a,n=s)}t=n||t.children[0]}return t}(r,this._data,t,b);for(o.children.push(e),h(o,r);t>=0&&b.data[t].children.length>this._maxEntries;)this._split(b,t),t--;!function(e,t,n){for(let i=n;i>=0;i--)h(t.data[i],e)}(r,b,t)}_split(e,t){const n=e.data[t],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);const o=this._chooseSplitIndex(n,r,i);if(!o)return;const s=n.children.splice(o,n.children.length-o),a=n.leaf?new C(s):new R(s);a.height=n.height,c(n,this._toBBox),c(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(n,a)}_splitRoot(e,t){this._data=new R([e,t]),this._data.height=e.height+1,c(this._data,this._toBBox)}_chooseSplitIndex(e,t,n){let i,r,o;i=r=1/0;for(let s=t;s<=n-t;s++){const t=u(e,0,s,this._toBBox),a=u(e,s,n,this._toBBox),l=y(t,a),c=m(t)+m(a);l<i?(i=l,o=s,r=c<r?c:r):l===i&&c<r&&(r=c,o=s)}return o}_chooseSplitAxis(e,t,n){const i=e.leaf?this._compareMinX:d,r=e.leaf?this._compareMinY:p;this._allDistMargin(e,t,n,i)<this._allDistMargin(e,t,n,r)&&e.children.sort(i)}_allDistMargin(e,t,n,i){e.children.sort(i);const r=this._toBBox,o=u(e,0,t,r),s=u(e,n-t,n,r);let a=f(o)+f(s);for(let i=t;i<n-t;i++){const t=e.children[i];h(o,e.leaf?r(t):t),a+=f(o)}for(let i=n-t-1;i>=t;i--){const t=e.children[i];h(s,e.leaf?r(t):t),a+=f(s)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const n=e.data[t];if(0===n.children.length)if(t>0){const r=e.data[t-1],o=r.children;o.splice((0,i.qh)(o,n,o.length,r.indexHint),1)}else this.clear();else c(n,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let n=e;for(P.clear();n;){if(!0===n.leaf)for(const e of n.children)t((0,r.z)(e));else P.pushArray(n.children);n=P.pop()??null}}function c(e,t){u(e,0,e.children.length,t,e)}function u(e,t,n,i,r){r||(r=new C([])),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let o,s=t;s<n;s++)o=e.children[s],h(r,e.leaf?i(o):o);return r}function h(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function d(e,t){return e.minX-t.minX}function p(e,t){return e.minY-t.minY}function m(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function f(e){return e.maxX-e.minX+(e.maxY-e.minY)}function g(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function y(e,t){const n=Math.max(e.minX,t.minX),i=Math.max(e.minY,t.minY),r=Math.min(e.maxX,t.maxX),o=Math.min(e.maxY,t.maxY);return Math.max(0,r-n)*Math.max(0,o-i)}function x(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function _(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function v(e,t,n,i,r){const o=[t,n];for(;o.length;){const t=o.pop(),n=o.pop();if(t-n<=i)continue;const a=n+Math.ceil((t-n)/i/2)*i;(0,s.q)(e,a,n,t,r),o.push(n,a,a,t)}}const w=new o.A,P=new o.A,b=new o.A,M=new o.A({deallocator:void 0});class I{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class A extends I{constructor(){super(...arguments),this.height=1,this.indexHint=new i.vW}}class C extends A{constructor(e){super(),this.children=e,this.leaf=!0}}class R extends A{constructor(e){super(),this.children=e,this.leaf=!1}}},16494(e,t,n){n.d(t,{Nd:()=>a,W5:()=>s});var i=n(17632);const r=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],s=new i.I({whiteList:r,onTagAttr:(e,t,n)=>{const i=`${t}="${n}"`;if(o.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),a=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},90629(e,t,n){n.d(t,{Lz:()=>r,PN:()=>o,cr:()=>s,gs:()=>l,r_:()=>c,tc:()=>a}),n(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function o(e){return e?72*e/96:0}function s(e){if("string"==typeof e){const t=e.match(i);if(t){const n=Number(t[1]),i=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),s="px"===i?o(n):n;return r?-s:s}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function a(e=0,t=0){return{x:e,y:t}}function l(e=0,t=0){return[e,t]}function c(e=0,t=0,n=0){return[e,t,n]}},13069(e,t,n){n.d(t,{AG:()=>a,lk:()=>r,vD:()=>s,yS:()=>o});const i="randomUUID"in crypto;function r(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${r().toUpperCase()}}`}function s(){return`{${r()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},80754(e,t,n){n.d(t,{j7:()=>a,kS:()=>c,kd:()=>l,r8:()=>u});var i=n(82799),r=n(16930),o=n(60408),s=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function c(e,t){if((0,s.Ed)(e))for(const n of function(e){return(0,o.Bi)(e)?e.curveRings:e.curvePaths}(e))for(const e of n){if((0,s.aO)(e)){const[n,i]=e.c;n[0]+=t,i[0]+=t;continue}if((0,s.FG)(e)){const[n,i]=e.a;n[0]+=t,i[0]+=t;continue}if((0,s.n1)(e)){const[n,i,r]=e.b;n[0]+=t,i[0]+=t,r[0]+=t;continue}e[0]+=t}for(const n of u(e))for(const e of n)e[0]+=t;return e}function u(e){return(0,o.Bi)(e)?e.rings:e.paths}},89056(e,t,n){n.d(t,{b3:()=>h,jZ:()=>u});var i=n(12195),r=n(19419),o=n(537),s=n(95108),a=n(60408),l=n(80754),c=n(21325);function u(e){return d(e,!0)}function h(e){return d(e,!1)}function d(e,t){if(null==e)return null;const n=e.spatialReference,r=(0,c.Vp)(n),s=(0,i.W)(e)?e.toJSON():e;if(!r)return s;const u=(0,c.K8)(n)?102100:4326,h=l.j7[u].maxX,d=l.j7[u].minX;if((0,a.fT)(s))return m(s,h,d);if((0,a.U9)(s))return s.points=s.points.map(e=>m(e,h,d)),s;if((0,a.ZC)(s))return p(s,r);if((0,a.Bi)(s)||(0,a.Rg)(s)){const e=(0,o.Rg)(v,s),n={xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3]},i=(0,l.kd)(n.xmin,d)*(2*h),r=0===i?s:(0,l.kS)(s,i);return n.xmin+=i,n.xmax+=i,n.xmax>h?x(r,h,t):n.xmin<d?x(r,d,t):r}return s}function p(e,t){if(!t)return e;const n=function(e,t){const n=[],{ymin:i,ymax:r,xmin:o,xmax:s}=e,a=e.xmax-e.xmin,[l,c]=t.valid,{x:u,frameId:h}=f(e.xmin,t),{x:d,frameId:p}=f(e.xmax,t),m=u===d&&a>0;if(a>2*c){const e={xmin:o<s?u:d,ymin:i,xmax:c,ymax:r},t={xmin:l,ymin:i,xmax:o<s?d:u,ymax:r},a={xmin:0,ymin:i,xmax:c,ymax:r},m={xmin:l,ymin:i,xmax:0,ymax:r},f=[],y=[];g(e,a)&&f.push(h),g(e,m)&&y.push(h),g(t,a)&&f.push(p),g(t,m)&&y.push(p);for(let e=h+1;e<p;e++)f.push(e),y.push(e);n.push(new _(e,[h]),new _(t,[p]),new _(a,f),new _(m,y))}else u>d||m?n.push(new _({xmin:u,ymin:i,xmax:c,ymax:r},[h]),new _({xmin:l,ymin:i,xmax:d,ymax:r},[p])):n.push(new _({xmin:u,ymin:i,xmax:d,ymax:r},[h]));return n}(e,t).map(e=>e.extent);return n.length<2?n[0]||e:n.length>2?(e.xmin=t.valid[0],e.xmax=t.valid[1],e):{rings:n.map(e=>[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]])}}function m(e,t,n){if(Array.isArray(e)){const i=e[0];if(i>t){const n=(0,l.kd)(i,t);e[0]=i+n*(-2*t)}else if(i<n){const t=(0,l.kd)(i,n);e[0]=i+t*(-2*n)}}else{const i=e.x;if(i>t){const n=(0,l.kd)(i,t);e.x+=n*(-2*t)}else if(i<n){const t=(0,l.kd)(i,n);e.x+=t*(-2*n)}}return e}function f(e,t){const[n,i]=t.valid,r=2*i;let o,s=0;return e>i?(o=Math.ceil(Math.abs(e-i)/r),e-=o*r,s=o):e<n&&(o=Math.ceil(Math.abs(e-n)/r),e+=o*r,s=-o),{x:e,frameId:s}}function g(e,t){const{xmin:n,ymin:i,xmax:r,ymax:o}=t;return y(e,n,i)&&y(e,n,o)&&y(e,r,o)&&y(e,r,i)}function y(e,t,n){return t>=e.xmin&&t<=e.xmax&&n>=e.ymin&&n<=e.ymax}function x(e,t,n=!0){const i=!(0,a.Rg)(e);if(i&&(0,s.m3)(e),n)return(new w).cut(e,t);const r=i?e.rings:e.paths,o=i?4:2,l=r.length,c=-2*t;for(let e=0;e<l;e++){const t=r[e];if(t&&t.length>=o){const e=[];for(const[n,...i]of t)e.push([n+c,...i]);r.push(e)}}return i?e.rings=r:e.paths=r,e}class _{constructor(e,t){this.extent=e,this.frameIds=t}}const v=(0,r.vt)();class w{constructor(){this._linesIn=[],this._linesOut=[]}cut(e,t){let n;if(this._xCut=t,e.rings)this._closed=!0,n=e.rings,this._minPts=4;else{if(!e.paths)return null;this._closed=!1,n=e.paths,this._minPts=2}for(const e of n){if(!e||e.length<this._minPts)continue;let t=!0;for(const n of e)t?(this.moveTo(n),t=!1):this.lineTo(n);this._closed&&this.close()}this._pushLineIn(),this._pushLineOut(),n=[];for(const e of this._linesIn)e&&e.length>=this._minPts&&n.push(e);const i=-2*this._xCut;for(const e of this._linesOut)if(e&&e.length>=this._minPts){for(const t of e)t[0]+=i;n.push(e)}return this._closed?e.rings=n:e.paths=n,e}moveTo(e){this._pushLineIn(),this._pushLineOut(),this._prevSide=this._side(e[0]),this._moveTo(e[0],e[1],this._prevSide),this._prevPt=e,this._firstPt=e}lineTo(e){const t=this._side(e[0]);if(t*this._prevSide===-1){const n=this._intersect(this._prevPt,e);this._lineTo(this._xCut,n,0),this._prevSide=0,this._lineTo(e[0],e[1],t)}else this._lineTo(e[0],e[1],t);this._prevSide=t,this._prevPt=e}close(){const e=this._firstPt,t=this._prevPt;e[0]===t[0]&&e[1]===t[1]||this.lineTo(e),this._checkClosingPt(this._lineIn),this._checkClosingPt(this._lineOut)}_moveTo(e,t,n){this._closed?(this._lineIn.push([n<=0?e:this._xCut,t]),this._lineOut.push([n>=0?e:this._xCut,t])):(n<=0&&this._lineIn.push([e,t]),n>=0&&this._lineOut.push([e,t]))}_lineTo(e,t,n){this._closed?(P(this._lineIn,n<=0?e:this._xCut,t),P(this._lineOut,n>=0?e:this._xCut,t)):n<0?(0===this._prevSide&&this._pushLineOut(),this._lineIn.push([e,t])):n>0?(0===this._prevSide&&this._pushLineIn(),this._lineOut.push([e,t])):this._prevSide<0?(this._lineIn.push([e,t]),this._lineOut.push([e,t])):this._prevSide>0&&(this._lineOut.push([e,t]),this._lineIn.push([e,t]))}_checkClosingPt(e){const t=e.length;t>3&&e[0][0]===this._xCut&&e[t-2][0]===this._xCut&&e[1][0]===this._xCut&&(e[0][1]=e[t-2][1],e.pop())}_side(e){return e<this._xCut?-1:e>this._xCut?1:0}_intersect(e,t){const n=(this._xCut-e[0])/(t[0]-e[0]);return e[1]+n*(t[1]-e[1])}_pushLineIn(){this._lineIn&&this._lineIn.length>=this._minPts&&this._linesIn.push(this._lineIn),this._lineIn=[]}_pushLineOut(){this._lineOut&&this._lineOut.length>=this._minPts&&this._linesOut.push(this._lineOut),this._lineOut=[]}}function P(e,t,n){const i=e.length;i>1&&e[i-1][0]===t&&e[i-2][0]===t?e[i-1][1]=n:e.push([t,n])}},90182(e,t,n){n.r(t),n.d(t,{default:()=>tt});var i=n(5482),r=n(7762),o=n(49186),s=n(53966),a=n(25728),l=n(17676),c=n(91429),u=n(16930),h=n(4146),d=n(63074),p=n(34287),m=n(8303),f=n(25036),g=n(69540),y=n(25482),x=n(77690),_=n(29242),v=n(37585),w=n(35522);const P=(0,n(51850).vt)(),b=(0,_.vt)(),M=(0,_.vt)(),I=(0,_.vt)();function A(e,t,n){return(0,w.hZ)(P,t[0],t[1],1),(0,w.ei)(P,P,(0,x.mg)(b,n)),0===P[2]?(0,v.hZ)(e,P[0],P[1]):(0,v.hZ)(e,P[0]/P[2],P[1]/P[2])}function C(e,t,n){return R(M,t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]),R(I,n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]),(0,x.lw)(e,(0,x.KC)(M,M),I),0!==e[8]&&(e[0]/=e[8],e[1]/=e[8],e[2]/=e[8],e[3]/=e[8],e[4]/=e[8],e[5]/=e[8],e[6]/=e[8],e[7]/=e[8],e[8]/=e[8]),e}function R(e,t,n,i,r,o,s,a,l){(0,x.hZ)(e,t,i,o,n,r,s,1,1,1),(0,w.hZ)(P,a,l,1),(0,x.KC)(b,e);const[c,u,h]=(0,w.ei)(P,P,(0,x.mg)(b,b));return(0,x.hZ)(b,c,0,0,0,u,0,0,0,h),(0,x.lw)(e,b,e)}var E=n(90629),S=n(48163),L=n(86738),O=n(39829),T=n(91218),B=n(56560);const Z=e=>{const t=e;return class extends t{projectOrWarn(e,t){if(null==e)return e;const{geometry:n,pending:i}=(0,T.projectOrLoad)(e,t);return i?null:i||n?n:(s.A.getLogger(this).warn("geometry could not be projected to the spatial reference",{georeference:this,geometry:e,sourceSpatialReference:e.spatialReference,targetSpatialReference:t}),null)}}};var k=n(36005),j=n(43937);const Y=(0,_.vt)(),U=(0,S.vt)();let N=class extends y.o{};(0,i.Cg)([(0,c.MZ)({type:Number,json:{write:{isRequired:!0}}})],N.prototype,"x",void 0),(0,i.Cg)([(0,c.MZ)({type:Number,json:{write:{isRequired:!0}}})],N.prototype,"y",void 0),N=(0,i.Cg)([(0,c.$K)("esri.layers.support.ControlPointsGeoreference.ControlPointJSONType")],N);let H=class extends((0,y.T)(Z(g.Pw))){constructor(e){super(e),this.height=0,this.type="control-points",this.width=0}get controlPoints(){return this._get("controlPoints")??null}set controlPoints(e){this._set("controlPoints",e)}readControlPoints(e,t){const n=u.A.fromJSON(t.spatialReference),i=(0,_.fA)(...t.coefficients,1);return e.map(e=>((0,v.hZ)(U,e.x,e.y),A(U,U,i),{sourcePoint:e,mapPoint:new L.A({x:U[0],y:U[1],spatialReference:n})}))}writeControlPoints(e,t,n,i){if(null==this.transform){const e=new o.A("web-document-write:invalid-georeference","Invalid 'controlPoints', 'width', 'height' configuration. Make sure the parent media element is loaded i.e. the ImageElement or VideoElement set as 'MediaLayer.source'.",{layer:i?.layer,georeference:this});return void(i?.messages?i.messages.push(e):s.A.getLogger(this).error(e.name,e.message))}null!=e&&X(e[0])&&(t.controlPoints=e.map(e=>{const t=e.sourcePoint;return{x:t.x,y:t.y}}),t.spatialReference=e[0].mapPoint.spatialReference.toJSON(),t.coefficients=this.transform.slice(0,8))}get coords(){if(null==this.controlPoints)return null;const e=this._updateTransform(Y);if(null==e||!X(this.controlPoints[0]))return null;const t=this.controlPoints[0].mapPoint.spatialReference;return function(e,t,n,i){const r=(0,S.fA)(0,n),o=(0,S.fA)(0,0),s=(0,S.fA)(t,0),a=(0,S.fA)(t,n);return A(r,r,e),A(o,o,e),A(s,s,e),A(a,a,e),new O.A({rings:[[r,o,s,a,r]],spatialReference:i})}(e,this.width,this.height,t)}set coords(e){if(null==this.controlPoints||!X(this.controlPoints[0]))return;const t=this.controlPoints[0].mapPoint.spatialReference;if(null==(e=this.projectOrWarn(e,t)))return;const{width:n,height:i}=this,{rings:[[r,o,s,a]]}=e,l=new B.A({sourcePoint:(0,E.tc)(0,i),mapPoint:new L.A({x:r[0],y:r[1],spatialReference:t})}),c=new B.A({sourcePoint:(0,E.tc)(0,0),mapPoint:new L.A({x:o[0],y:o[1],spatialReference:t})}),u=new B.A({sourcePoint:(0,E.tc)(n,0),mapPoint:new L.A({x:s[0],y:s[1],spatialReference:t})}),h=new B.A({sourcePoint:(0,E.tc)(n,i),mapPoint:new L.A({x:a[0],y:a[1],spatialReference:t})});X(l)&&X(c)&&X(u)&&X(h)&&(Q(Y,l,c,u,h),this.controlPoints=this.controlPoints.map(({sourcePoint:e})=>((0,v.hZ)(U,e.x,e.y),A(U,U,Y),{sourcePoint:e,mapPoint:new L.A({x:U[0],y:U[1],spatialReference:t})})))}get inverseTransform(){return null==this.transform?null:(0,x.B8)((0,_.vt)(),this.transform)}get transform(){return this._updateTransform()}toMap(e){if(null==e||null==this.transform||null==this.controlPoints||!X(this.controlPoints[0]))return null;(0,v.hZ)(U,e.x,e.y);const t=this.controlPoints[0].mapPoint.spatialReference;return A(U,U,this.transform),new L.A({x:U[0],y:U[1],spatialReference:t})}toSource(e){if(null==e||null==this.inverseTransform||null==this.controlPoints||!X(this.controlPoints[0]))return null;const t=this.controlPoints[0].mapPoint.spatialReference;return e=e.normalize(),null==(e=(0,T.projectOrLoad)(e,t).geometry)?null:((0,v.hZ)(U,e.x,e.y),A(U,U,this.inverseTransform),(0,E.tc)(U[0],U[1]))}toSourceNormalized(e){const t=this.toSource(e);return null!=t&&(t.x/=this.width,t.y/=this.height),t}_updateTransform(e){const{controlPoints:t,width:n,height:i}=this;if(!(null!=t&&n>0&&i>0))return null;const[r,o,s,a]=t;if(!X(r))return null;const l=r.mapPoint.spatialReference,c=this._projectControlPoint(o,l),u=this._projectControlPoint(s,l),h=this._projectControlPoint(a,l);if(!c.valid||!u.valid||!h.valid)return null;if(!X(c.controlPoint))return null;null==e&&(e=(0,_.vt)());let d=null;return d=X(u.controlPoint)&&X(h.controlPoint)?Q(e,r,c.controlPoint,u.controlPoint,h.controlPoint):X(u.controlPoint)?function(e,t,n,i){return J($,F,t),J(z,W,n),J(V,q,i),(0,v.Cc)(G,$,z,.5),(0,v.e$)(G,V,G,Math.PI),(0,v.Cc)(D,F,W,.5),(0,v.e$)(D,q,D,Math.PI),ie(e,$,z,V,G,F,W,q,D)}(e,r,c.controlPoint,u.controlPoint):function(e,t,n){return J($,F,t),J(z,W,n),(0,v.e$)(V,z,$,K),(0,v.e$)(G,$,z,K),(0,v.e$)(q,W,F,-K),(0,v.e$)(D,F,W,-K),ie(e,$,z,V,G,F,W,q,D)}(e,r,c.controlPoint),d.every(e=>0===e)?null:d}_projectControlPoint(e,t){if(!X(e))return{valid:!0,controlPoint:e};const{sourcePoint:n,mapPoint:i}=e,{geometry:r,pending:o}=(0,T.projectOrLoad)(i,t);return o?{valid:!1,controlPoint:null}:o||r?{valid:!0,controlPoint:new B.A({sourcePoint:n,mapPoint:r})}:(s.A.getLogger(this).warn("map point could not be projected to the spatial reference",{georeference:this,controlPoint:e,sourceSpatialReference:i.spatialReference,targetSpatialReference:t}),{valid:!1,controlPoint:null})}};function X(e){return null!=e?.sourcePoint&&null!=e.mapPoint}(0,i.Cg)([(0,c.MZ)({type:[B.A],json:{write:{allowNull:!1,isRequired:!0,target:{controlPoints:{type:[N],isRequired:!0},coefficients:{type:[Number],isRequired:!0},spatialReference:{type:u.A,isRequired:!0}}}}})],H.prototype,"controlPoints",null),(0,i.Cg)([(0,k.w)("controlPoints")],H.prototype,"readControlPoints",null),(0,i.Cg)([(0,j.K)("controlPoints")],H.prototype,"writeControlPoints",null),(0,i.Cg)([(0,c.MZ)({clonable:!1})],H.prototype,"coords",null),(0,i.Cg)([(0,c.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],H.prototype,"height",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],H.prototype,"inverseTransform",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],H.prototype,"transform",null),(0,i.Cg)([(0,c.MZ)({type:Number,nonNullable:!0,json:{write:{isRequired:!0}}})],H.prototype,"width",void 0),H=(0,i.Cg)([(0,c.$K)("esri.layers.support.ControlPointsGeoreference")],H);const $=(0,S.vt)(),z=(0,S.vt)(),V=(0,S.vt)(),G=(0,S.vt)(),F=(0,S.vt)(),W=(0,S.vt)(),q=(0,S.vt)(),D=(0,S.vt)(),K=Math.PI/2;function J(e,t,n){(0,v.hZ)(e,n.sourcePoint.x,n.sourcePoint.y),(0,v.hZ)(t,n.mapPoint.x,n.mapPoint.y)}function Q(e,t,n,i,r){return J($,F,t),J(z,W,n),J(V,q,i),J(G,D,r),ie(e,$,z,V,G,F,W,q,D)}const ee=new Array(8).fill(0),te=new Array(8).fill(0);function ne(e,t,n,i,r){return e[0]=t[0],e[1]=t[1],e[2]=n[0],e[3]=n[1],e[4]=i[0],e[5]=i[1],e[6]=r[0],e[7]=r[1],e}function ie(e,t,n,i,r,o,s,a,l){return C(e,ne(ee,t,n,i,r),ne(te,o,s,a,l))}var re=n(11254),oe=n(21287),se=n(84952),ae=n(13069),le=n(92474),ce=n(64108);let ue=0;const he=e=>{const t=e;let n=class extends t{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:ue++})}};return n=(0,i.Cg)([(0,ce.$)("esri.core.NumericIdentifiable")],n),n};var de=n(35666),pe=n(5443),me=n(21325);const fe=(0,S.vt)();let ge=class extends(Z(g.Pw)){constructor(e){super(e),this.bottomLeft=null,this.bottomRight=null,this.topLeft=null,this.topRight=null,this.type="corners"}get coords(){let{topLeft:e,topRight:t,bottomLeft:n,bottomRight:i}=this;if(null==e||null==t||null==n||null==i)return null;const r=e.spatialReference;return t=this.projectOrWarn(t,r),n=this.projectOrWarn(n,r),i=this.projectOrWarn(i,r),null==t||null==n||null==i?null:new O.A({rings:[[[n.x,n.y],[e.x,e.y],[t.x,t.y],[i.x,i.y],[n.x,n.y]]],spatialReference:r})}set coords(e){const{topLeft:t}=this;if(null==t)return;const n=t.spatialReference;if(null==(e=this.projectOrWarn(e,n)))return;const{rings:[[i,r,o,s]]}=e;this.bottomLeft=new L.A({x:i[0],y:i[1],spatialReference:n}),this.topLeft=new L.A({x:r[0],y:r[1],spatialReference:n}),this.topRight=new L.A({x:o[0],y:o[1],spatialReference:n}),this.bottomRight=new L.A({x:s[0],y:s[1],spatialReference:n})}toSourceNormalized(e){const{topLeft:t,topRight:n,bottomRight:i,bottomLeft:r}=this;if(null==e||null==t||null==n||null==i||null==r)return null;const o=t.spatialReference;e=e.normalize();const s=(0,T.projectOrLoad)(e,o).geometry;if(null==s)return null;(0,v.hZ)(fe,s.x,s.y);const a=C((0,_.vt)(),[t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y],[0,0,0,1,1,0,1,1]);return A(fe,fe,a),(0,E.tc)(fe[0],fe[1])}};(0,i.Cg)([(0,c.MZ)({clonable:!1})],ge.prototype,"coords",null),(0,i.Cg)([(0,c.MZ)({type:L.A})],ge.prototype,"bottomLeft",void 0),(0,i.Cg)([(0,c.MZ)({type:L.A})],ge.prototype,"bottomRight",void 0),(0,i.Cg)([(0,c.MZ)({type:L.A})],ge.prototype,"topLeft",void 0),(0,i.Cg)([(0,c.MZ)({type:L.A})],ge.prototype,"topRight",void 0),ge=(0,i.Cg)([(0,c.$K)("esri.layers.support.CornersGeoreference")],ge);const ye=ge;var xe=n(34727),_e=n(34304);let ve=class extends(Z(g.Pw)){constructor(e){super(e),this.extent=null,this.rotation=0,this.type="extent-and-rotation"}get coords(){if(null==this.extent)return null;const{xmin:e,ymin:t,xmax:n,ymax:i,spatialReference:r}=this.extent;let o;if(this.rotation){const{x:r,y:s}=this.extent.center,a=we(r,s,this.rotation);o=[a(e,t),a(e,i),a(n,i),a(n,t)],o.push(o[0])}else o=[[e,t],[e,i],[n,i],[n,t],[e,t]];return new O.A({rings:[o],spatialReference:r})}set coords(e){if(null==e||null==this.extent)return;const t=this.extent.spatialReference;if(e=this.projectOrWarn(e,t),null==e?.extent)return;const{rings:[[n,i,r]],extent:{center:{x:o,y:s}}}=e,a=(0,xe.KJ)(Math.PI/2-Math.atan2(i[1]-n[1],i[0]-n[0])),l=we(o,s,-a),[c,u]=l(n[0],n[1]),[h,d]=l(r[0],r[1]);this.extent=new pe.A({xmin:c,ymin:u,xmax:h,ymax:d,spatialReference:t}),this.rotation=a}toSourceNormalized(e){const{extent:t,rotation:n}=this;if(null==e||null==t)return null;const{xmin:i,ymin:r,xmax:o,ymax:s,center:a,spatialReference:l}=t;e=e.normalize();const c=(0,T.projectOrLoad)(e,l).geometry;if(null==c)return null;let u=c.x,h=c.y;return n&&([u,h]=we(a.x,a.y,-n)(u,h)),(0,E.tc)((0,xe.hs)(u,i,o,0,1),(0,xe.hs)(h,s,r,0,1))}};function we(e,t,n){const i=(0,_e.DF)(n),r=Math.cos(i),o=Math.sin(i);return(n,i)=>[r*(n-e)+o*(i-t)+e,r*(i-t)-o*(n-e)+t]}function Pe(e,t){const n=(0,de.aB)(t);return function(e){return"media"===e?.type}(e)&&!!e.portalItem&&null!=n&&n>3}function be(e,t,n){return{enabled:!Pe(n?.layer,n?.origin),ignoreOrigin:!0}}(0,i.Cg)([(0,c.MZ)({clonable:!1})],ve.prototype,"coords",null),(0,i.Cg)([(0,c.MZ)({type:pe.A})],ve.prototype,"extent",void 0),(0,i.Cg)([(0,c.MZ)({type:Number})],ve.prototype,"rotation",void 0),ve=(0,i.Cg)([(0,c.$K)("esri.layers.support.ExtentAndRotationGeoreference")],ve);const Me={json:{name:"url",type:String,write:{overridePolicy:be}}},Ie={readOnly:!0,json:{read:!1,write:{target:"mediaType",overridePolicy:be}}},Ae={types:{key:"type",base:null,typeMap:{"control-points":H,corners:ye,"extent-and-rotation":ve}},json:{types:{key:"type",base:null,typeMap:{"control-points":H}},write:{overridePolicy:()=>({enabled:!0,ignoreOrigin:!0})}}};var Ce=n(59923);let Re=class extends(he((0,a.M)(le.x_))){constructor(e){super(e),this.georeference=null,this.opacity=1}readGeoreference(e){return H.fromJSON(e)}writeGeoreference(e,t,n,i){const r=i?.resources?.pendingOperations,o=()=>{const r=function(e,t,n){if(!e||"control-points"===e.type)return e;const{coords:i}=e;if(5!==i?.rings[0]?.length)return null;const[r,o,s,a]=i.rings[0],{spatialReference:l}=i;return new H({controlPoints:[new B.A({mapPoint:new L.A({x:r[0],y:r[1],spatialReference:l}),sourcePoint:(0,E.tc)(0,n)}),new B.A({mapPoint:new L.A({x:o[0],y:o[1],spatialReference:l}),sourcePoint:(0,E.tc)(0,0)}),new B.A({mapPoint:new L.A({x:s[0],y:s[1],spatialReference:l}),sourcePoint:(0,E.tc)(t,0)}),new B.A({mapPoint:new L.A({x:a[0],y:a[1],spatialReference:l}),sourcePoint:(0,E.tc)(t,n)})],width:t,height:n})}(this.georeference,this.contentWidth,this.contentHeight);if(r){if("control-points"!==e.type&&s.A.getLogger(this).warn(`only georeference of type 'control-points' may be persisted. The georeference of type '${e.type}' has been automatically converted.`),4!==r.controlPoints?.length)return void(0,Ce.qt)(i,"ControlPointsGeoreference.controlPoints","only 'control-points' georeference with 4 control points may be persisted.");t[n]=r.write({},i)}};if("control-points"!==e.type&&!this.loaded&&r)return t[n]={},void r.push(this.load().then(o));o()}get contentWidth(){return 0}get contentHeight(){return 0}toSource(e){const{georeference:t,contentWidth:n,contentHeight:i}=this;if(null==e||null==t||0===n||0===i)return null;const r=t.toSourceNormalized(e);return null==r?null:(r.x*=n,r.y*=i,r)}};(0,i.Cg)([(0,c.MZ)(Ae)],Re.prototype,"georeference",void 0),(0,i.Cg)([(0,k.w)("georeference")],Re.prototype,"readGeoreference",null),(0,i.Cg)([(0,j.K)("georeference")],Re.prototype,"writeGeoreference",null),(0,i.Cg)([(0,c.MZ)({json:{read:!1,write:!1}})],Re.prototype,"opacity",void 0),Re=(0,i.Cg)([(0,c.$K)("esri.layers.support.MediaElementBase")],Re);var Ee=n(85648);const Se=Symbol("ImageElementInstance"),Le=Symbol("VideoElementInstance");function Oe(e){return function(e){return null!=e&&"object"==typeof e&&Se in e}(e)||function(e){return null!=e&&"object"==typeof e&&Le in e}(e)}var Te,Be=n(97159);let Ze=class extends Re{static{Te=Se}constructor(e){super(e),this.animationOptions=null,this.content=null,this.image=null,this.type="image",this[Te]=!0,this.image=null}load(){const e=this.image;if("string"==typeof e){const t=(0,oe.M5)(e).then(e=>{this._set("content",e)});this.addResolvingPromise(t)}else if(e instanceof HTMLImageElement){const t=e.decode().then(()=>{this._set("content",e)});this.addResolvingPromise(t)}else e?this._set("content",e):this.addResolvingPromise(Promise.reject(new o.A("image-element:invalid-image-type","Invalid image type",{image:e})));return Promise.resolve(this)}get contentWidth(){return null==this.content?0:this.content instanceof HTMLImageElement?this.content.naturalWidth:this.content.width}get contentHeight(){return null==this.content?0:this.content instanceof HTMLImageElement?this.content.naturalHeight:this.content.height}readImage(e,t,n){return(0,Be.f)(t.url,n)}writeImage(e,t,n,i){if(null==e)return;const r=i?.portalItem,o=i?.resources;if(!r||!o)return void("string"==typeof e&&(t[n]=(0,Be.t)(e,i)));const s=function(e){return"string"==typeof e&&!(0,se.DB)(e)&&!(0,se.w8)(e)}(e)?e:null;if(s){if(null==(0,Be.i)(s))return void(t[n]=s);const e=(0,Be.t)(s,{...i,verifyItemRelativeUrls:i?.verifyItemRelativeUrls?{writtenUrls:i.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},1);if(r&&e&&!(0,se.oP)(e))return o.toKeep.push({resource:r.resourceFromPath(e),compress:!1}),void(t[n]=e)}t[n]="<pending>",o.pendingOperations.push(async function(e){return"string"==typeof e?(0,se.DB)(e)?(0,se.N9)(e):(await(0,re.A)(e,{responseType:"blob"})).data:new Promise(t=>function(e){if(e instanceof HTMLCanvasElement)return e;const t=e instanceof HTMLImageElement?e.naturalWidth:e.width,n=e instanceof HTMLImageElement?e.naturalHeight:e.height,i=document.createElement("canvas"),r=i.getContext("2d");return i.width=t,i.height=n,e instanceof HTMLImageElement?r.drawImage(e,0,0,e.width,e.height):e instanceof ImageData&&r.putImageData(e,0,0),i}(e).toBlob(t))}(e).then(e=>{const i=function(e,t){const n=(0,ae.lk)(),i=`${(0,se.fj)("media",n)}.${(0,Ee.n)({type:"blob",blob:e})}`;return t.resourceFromPath(i)}(e,r);t[n]=i.itemRelativeUrl,o.toAdd.push({resource:i,content:{type:"blob",blob:e},compress:!1,finish:e=>{this.image=e.url}})}))}};(0,i.Cg)([(0,c.MZ)()],Ze.prototype,"animationOptions",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],Ze.prototype,"content",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],Ze.prototype,"contentWidth",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],Ze.prototype,"contentHeight",null),(0,i.Cg)([(0,c.MZ)(Me)],Ze.prototype,"image",void 0),(0,i.Cg)([(0,k.w)("image",["url"])],Ze.prototype,"readImage",null),(0,i.Cg)([(0,j.K)("image")],Ze.prototype,"writeImage",null),(0,i.Cg)([(0,c.MZ)(Ie)],Ze.prototype,"type",void 0),Ze=(0,i.Cg)([(0,c.$K)("esri.layers.support.ImageElement")],Ze);var ke=n(62885),je=n(65529),Ye=n(61893),Ue=n(36708),Ne=n(19419),He=n(12176),Xe=n(6518),$e=n(69622),ze=n(89056);let Ve=class extends $e.A{constructor(e){super(e)}get bounds(){const e=this.coords;return null==e?.extent?null:(0,Ne.VY)(e.extent)}get coords(){const e=this.element.georeference?.coords;return(0,T.projectOrLoad)(e,this.spatialReference).geometry}get normalizedCoords(){return O.A.fromJSON((0,ze.jZ)(this.coords))}get normalizedBounds(){const e=null!=this.normalizedCoords?this.normalizedCoords.extent:null;return null!=e?(0,Ne.VY)(e):null}};(0,i.Cg)([(0,c.MZ)()],Ve.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.MZ)()],Ve.prototype,"element",void 0),(0,i.Cg)([(0,c.MZ)()],Ve.prototype,"bounds",null),(0,i.Cg)([(0,c.MZ)()],Ve.prototype,"coords",null),(0,i.Cg)([(0,c.MZ)()],Ve.prototype,"normalizedCoords",null),(0,i.Cg)([(0,c.MZ)()],Ve.prototype,"normalizedBounds",null),Ve=(0,i.Cg)([(0,c.$K)("esri.layers.support.MediaElementView")],Ve);var Ge,Fe=n(16494),We=n(38969);const qe=Symbol("canplay");let De=class extends Re{static{Ge=Le}constructor(e){super(e),this.autoplay=!0,this.content=null,this.type="video",this[Ge]=!0}load(){const e=this.video;return"string"==typeof e?this.addResolvingPromise(this._preProcessVideoUrl(e).then(async e=>{const t=document.createElement("video");return t.src=Fe.W5.sanitizeUrl((0,se.s2)(e)),t.crossOrigin="anonymous",t.autoplay=this.autoplay,t.muted=!0,t.loop=!0,t.playsInline=!0,this._loadVideo(t).then(()=>{this._set("content",t)})})):e instanceof HTMLVideoElement?this.addResolvingPromise(this._loadVideo(e).then(()=>{this._set("content",e)})):this.addResolvingPromise(Promise.reject(new o.A("video-element:invalid-video-type","Invalid video type",{video:e}))),Promise.resolve(this)}get contentWidth(){return this.content?.videoWidth??0}get contentHeight(){return this.content?.videoHeight??0}get currentTime(){return this.content?.currentTime}set currentTime(e){if(!this.content)return;const t=(0,xe.qE)(e,0,this.content.duration);"fastSeek"in this.content?this.content.fastSeek(t):this.content.currentTime=t,this.content.play().then(()=>{this.content?.pause()}).catch(()=>{})}get duration(){return this.content?.duration}set video(e){"not-loaded"===this.loadStatus?this._set("video",e):s.A.getLogger(this).error("#video","video cannot be changed after the element is loaded.")}writeVideo(e,t,n,i){if(!e)return void(i?.messages&&i.messages.push(new o.A("video-element:unsupported-video","video source is missing")));const r=function(e){return"string"==typeof e&&!(0,se.DB)(e)&&!(0,se.w8)(e)}(e)?e:null;if(!r)return void(i?.messages&&i.messages.push(new o.A("video-element:unsupported-video","video source must be an absolute url")));!(0,se.oP)(r)&&i?.blockedRelativeUrls&&i.blockedRelativeUrls.push(r);const s=(0,se.s2)(r);(0,Be.i)(s)?i?.messages&&i.messages.push(new o.A("video-element:unsupported-video","video source cannot be an item resource")):t[n]=s}async _preProcessVideoUrl(e){if((0,se.zs)(e))return(0,se.yM)(e);try{return await(0,re.A)(e,{method:"head"}),e}catch{try{return(0,se.yM)(e,!0)}catch{return e}}}async _loadVideo(e){"anonymous"!==e.crossOrigin&&(e.crossOrigin="anonymous",(0,se.w8)(e.src)||(e.src=e.src));try{await(0,We.i)(e,e=>this.addHandles(e,qe)),this.autoplay&&await e.play().catch(e=>{throw console.error(e),e})}finally{this.removeHandles(qe)}}};(0,i.Cg)([(0,c.MZ)()],De.prototype,"autoplay",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],De.prototype,"content",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],De.prototype,"contentWidth",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],De.prototype,"contentHeight",null),(0,i.Cg)([(0,c.MZ)({type:Number})],De.prototype,"currentTime",null),(0,i.Cg)([(0,c.MZ)({type:Number})],De.prototype,"duration",null),(0,i.Cg)([(0,c.MZ)(Me)],De.prototype,"video",null),(0,i.Cg)([(0,j.K)("video")],De.prototype,"writeVideo",null),(0,i.Cg)([(0,c.MZ)(Ie)],De.prototype,"type",void 0),De=(0,i.Cg)([(0,c.$K)("esri.layers.support.VideoElement")],De);const Ke={key:"type",defaultKeyValue:"image",base:Re,typeMap:{image:Ze,video:De}},Je=r.A.ofType(Ke);let Qe=class extends((0,le.WV)((0,Ye.g)(je.nJ))){constructor(e){super(e),this._index=new Xe.F,this._elementViewsMap=new Map,this._elementsIndexes=new Map,this._elementsChangedHandler=e=>{for(const t of e.removed){const e=this._elementViewsMap.get(t);this._elementViewsMap.delete(t),this._index.delete(e),this.removeHandles(e),e.destroy(),this.notifyChange("fullExtent")}const{spatialReference:t}=this;for(const n of e.added){if(this._elementViewsMap.get(n))continue;const e=new Ve({spatialReference:t,element:n});this._elementViewsMap.set(n,e);const i=(0,Ue.wB)(()=>e.coords,()=>this._updateIndexForElement(e,!1));this._updateIndexForElement(e,!0),this.addHandles(i,e)}this._elementsIndexes.clear(),this.elements.forEach((e,t)=>this._elementsIndexes.set(e,t)),this.emit("refresh")},this.elements=new Je}async load(e){if((0,l.Te)(e),!this.spatialReference){const e=this.elements.find(e=>null!=e.georeference?.coords);this._set("spatialReference",e?e.georeference.coords.spatialReference:u.A.WGS84)}return this._elementsChangedHandler({added:this.elements.items,removed:[]}),this.addHandles(this.elements.on("change",this._elementsChangedHandler)),this}destroy(){this._index.clear(),this._elementViewsMap.clear(),this._elementsIndexes.clear()}get elements(){return this._get("elements")}set elements(e){this._set("elements",(0,ke.V)(e,this._get("elements"),Je))}get fullExtent(){if("not-loaded"===this.loadStatus)return null;const e=this._index.fullBounds;return null==e?null:new pe.A({xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3],spatialReference:this.spatialReference})}set spatialReference(e){"not-loaded"===this.loadStatus?this._set("spatialReference",e):s.A.getLogger(this).error("#spatialReference","spatialReference cannot be changed after the source is loaded.")}async queryElements(e,t){await this.load(),await(0,T.initializeProjection)(e.spatialReference,this.spatialReference,null,t);const n=(0,me.aI)(e.spatialReference,this.spatialReference)?e:(0,T.project)(e,this.spatialReference);if(!n)return[];const i=n.normalize(),r=[];for(const e of i)this._index.forEachInBounds((0,Ne.VY)(e),({normalizedCoords:t,element:n})=>{null!=t&&(0,He.fA)(e,t)&&r.push(n)});return r.sort((e,t)=>this._elementsIndexes.get(e)-this._elementsIndexes.get(t)),r}hasElement(e){return this.elements.includes(e)}_updateIndexForElement(e,t){const n=e.normalizedBounds,i=this._index.has(e),r=null!=n;this._index.delete(e),r&&this._index.set(e,n),this.notifyChange("fullExtent"),t||(i!==r?this.emit("refresh"):this.emit("change",{element:e.element}))}};(0,i.Cg)([(0,c.MZ)()],Qe.prototype,"elements",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],Qe.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)()],Qe.prototype,"spatialReference",null),Qe=(0,i.Cg)([(0,c.$K)("esri.layers.support.LocalMediaElementSource")],Qe);let et=class extends((0,d.dM)((0,f.j)((0,p.q)((0,m.A)((0,a.M)(h.A)))))){constructor(e){super(e),this.effectiveSource=null,this.georeference=null,this.copyright=null,this.operationalLayerType="MediaLayer",this.spatialReference=null,this.type="media",this._debouncedSaveOperations=(0,l.sg)(async(e,t,i)=>{const{save:r,saveAs:o}=await n.e(3561).then(n.bind(n,63561));switch(e){case 0:return r(this,t);case 1:return o(this,i,t)}}),this.source=new Qe}load(e){return this.addResolvingPromise(this._doLoad(e)),Promise.resolve(this)}async _doLoad(e){await this.loadFromPortal({supportedTypes:["Media Layer"]},e);let t=this.source;if(!t)throw new o.A("media-layer:source-missing","Set 'MediaLayer.source' before loading the layer.");const n=this._getSourceOverride(t,this.georeference);n&&(this.setAtOrigin("source",n,"web-map"),this.setAtOrigin("source",n,"web-scene"),t=n);const i=Oe(t)?new Qe({elements:new r.A([t])}):t;this._set("effectiveSource",i),this.spatialReference&&(i.spatialReference=this.spatialReference),await i.load(e),this.spatialReference=i.spatialReference}destroy(){this.effectiveSource?.destroy(),this.effectiveSource!==this.source&&this.source?.destroy()}readGeoreference(e,t){return e&&"itemId"in t&&t.itemId?e:void 0}get fullExtent(){return this.loaded?this.effectiveSource.fullExtent:null}get loaded(){return super.loaded}get source(){return this._get("source")}set source(e){"loaded"!==this.loadStatus&&"failed"!==this.loadStatus?this._set("source",e):s.A.getLogger(this).error("#source","source cannot be changed after the layer is loaded.")}castSource(e){return e?Array.isArray(e)?new Qe({elements:new r.A(e)}):e instanceof r.A?new Qe({elements:e}):e:null}readSource(e,t,n){if("itemId"in t&&t.itemId)return;const i=this._createSource(t);return i?.read(t,n),i}writeSource(e,t,n,i){if(e&&e instanceof Qe){const t=e.elements.length;if(1!==t)return void(i?.messages&&i.messages.push(new o.A("media-layer:unsupported-source",`local media element source can only be persisted if it contains exactly one ImageElement, but it has ${t}.`)));e=e.elements.at(0)}Oe(e)?e.write(t,i):i?.messages&&(e?i.messages.push(new o.A("media-layer:unsupported-source","only media elements of type 'ImageElement' or 'VideoElement' can be persisted")):i.messages.push(new o.A("media-layer:unsupported-source","the media layer is missing a source")))}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}_createSource(e){if("mediaType"in e)switch(e.mediaType){case"image":return new Ze;case"video":return new De}return null}_getSourceOverride(e,t){if(Oe(e)&&3===this.originIdOf("source")&&t&&(5===this.originIdOf("georeference")||4===this.originIdOf("georeference"))){const n=e.toJSON(),i=this._createSource(n);return i.read({...n},{origin:"portal-item"}),i.read({georeference:t},{origin:"web-map"}),i.read({georeference:t},{origin:"web-scene"}),i}return null}};(0,i.Cg)([(0,c.MZ)({readOnly:!0})],et.prototype,"effectiveSource",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{"web-document":{read:!0}}}})],et.prototype,"georeference",void 0),(0,i.Cg)([(0,k.w)("web-document","georeference")],et.prototype,"readGeoreference",null),(0,i.Cg)([(0,c.MZ)({type:String})],et.prototype,"copyright",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],et.prototype,"fullExtent",null),(0,i.Cg)([(0,c.MZ)({type:["MediaLayer"]})],et.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide"]})],et.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)({nonNullable:!0,json:{write:{enabled:!0,allowNull:!1,target:{url:{type:String},mediaType:{type:["image","video"]},georeference:{type:H}},overridePolicy(e,t,n){return{enabled:!0,allowNull:!1,ignoreOrigin:Pe(this,n?.origin)&&Oe(e)&&!!e.georeference&&e.originIdOf("georeference")>3}}}}})],et.prototype,"source",null),(0,i.Cg)([(0,c.wg)("source")],et.prototype,"castSource",null),(0,i.Cg)([(0,k.w)("source",["url"])],et.prototype,"readSource",null),(0,i.Cg)([(0,j.K)("source")],et.prototype,"writeSource",null),(0,i.Cg)([(0,c.MZ)({type:u.A})],et.prototype,"spatialReference",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],et.prototype,"type",void 0),et=(0,i.Cg)([(0,c.$K)("esri.layers.MediaLayer")],et);const tt=et},6518(e,t,n){n.d(t,{F:()=>a});var i=n(44208),r=n(75503),o=n(19419);const s={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,i.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((n,i)=>{e[t++]=i}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,o.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,n){(function(e){s.minX=e[0],s.minY=e[1],s.maxX=e[2],s.maxY=e[3]})(t),e.search(s,n)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},8303(e,t,n){n.d(t,{A:()=>P});var i=n(5482),r=n(92602),o=n(70333),s=n(11254),a=n(60999),l=n(49186),c=n(36563),u=n(53966),h=n(97768),d=n(17676),p=n(84952),m=n(91429),f=n(77548),g=n(20655),y=n(80812),x=n(41318),_=n(10407),v=n(36005),w=n(43937);const P=e=>{const t=e;let P=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,h.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,n){if(t.itemId)return new y.default({id:t.itemId,portal:n?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await n.e(1204).then(n.bind(n,41204));return(0,d.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,d.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await n.e(1204).then(n.bind(n,41204)),i=new AbortController,r=(0,c.rE)(i);return this.addHandles(r,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:i.signal})}catch(e){throw(0,d.zf)(e)||u.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!r.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:n,fullEdit:i},content:{updateItem:r}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",n),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",r)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let n=this.portalItem;if(!e||!n||!n.loaded||n.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!o.id?.findCredential(this.url),r=e===n.id;if(r&&n.portal.user)return this._getUserPrivileges(n,i);let s,a;if(r)s=n.portal.url;else try{s=await(0,f.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!s||!(0,p.b8)(s,n.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(o.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const l=!0,c=!1,u=!1;if(!a)return{features:{edit:l,fullEdit:c},content:{updateItem:u}};try{if(r?await n.reload():(n=new y.default({id:e,portal:{url:s}}),await n.load(t)),n.portal.user)return this._getUserPrivileges(n,i)}catch(e){(0,d.QP)(e)}return{features:{edit:l,fullEdit:c},content:{updateItem:u}}}_getUserPrivileges(e,t){const n=(0,_.It)(e);return t&&(n.features.edit=!0),n}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const n=b.credential===t?b.user:await this._fetchEditingUser(e);return b.credential=t,b.user=n,null==n?.privileges||n.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const n=o.id?.findServerInfo(this.url??"");if(!n?.owningSystemUrl)return null;const i=`${n.owningSystemUrl}/sharing/rest`,r=g.A.getDefault();if(r&&r.loaded&&(0,p.S8)(r.restUrl)===(0,p.S8)(i))return r.user;const l=`${i}/community/self`,c=null!=e?e.signal:null,u=await(0,a.Ke)((0,s.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:c}));return u.ok?x.A.fromJSON(u.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const n=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return n&&i&&!(0,p.ut)(i.restUrl,n.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,m.MZ)({type:y.default})],P.prototype,"portalItem",null),(0,i.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],P.prototype,"readPortalItem",null),(0,i.Cg)([(0,w.K)("web-document","portalItem",{itemId:{type:String}})],P.prototype,"writePortalItem",null),(0,i.Cg)([(0,m.MZ)({clonable:!1})],P.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,m.MZ)({type:Boolean,readOnly:!0})],P.prototype,"userHasUpdateItemPrivileges",void 0),P=(0,i.Cg)([(0,m.$K)("esri.layers.mixins.PortalLayer")],P),P},b={credential:null,user:null}},38969(e,t,n){n.d(t,{i:()=>r});var i=n(37955);function r(e,t){return new Promise((n,r)=>{e.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?n():(t((0,i.Oo)(e,"canplay",n)),t((0,i.Oo)(e,"error",r)))})}},10407(e,t,n){n.d(t,{It:()=>p,LG:()=>s,OM:()=>c,Sm:()=>u,Y:()=>a,bK:()=>l,mm:()=>d,sQ:()=>h});var i=n(91218),r=n(16930),o=n(28735);function s(e,t){if(!a(e,t)){const n=e.typeKeywords;n?n.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,d.HOSTED_SERVICE)}function c(e,t){const n=e.typeKeywords;if(n){const e=n.indexOf(t);e>-1&&n.splice(e,1)}}function u(e,t,n){n?s(e,t):c(e,t)}async function h(e){const t=e.clone().normalize();let n;if(t.length>1)for(const e of t)n?e.width>n.width&&(n=e):n=e;else n=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);const n=r.A.WGS84;return await(0,i.initializeProjection)(t,n),(0,i.project)(e,n)}(n)}const d={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",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",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function p(e){const{portal:t,isOrgItem:n,itemControl:i}=e,r=t.user?.privileges;let o=!r||r.includes("features:user:edit"),s=!!n&&!!r?.includes("features:user:fullEdit");const a="update"===i||"admin"===i;return a?s=o=!0:s&&(o=!0),{features:{edit:o,fullEdit:s},content:{updateItem:a}}}},85648(e,t,n){n.d(t,{n:()=>r});var i=n(84952);function r(e){return o[function(e){return"json"===e.type?"application/json":"blob"===e.type?e.blob.type:function(e){const t=(0,i.Zo)(e);return l[t]||s}(e.url)}(e)]||a}const o={},s="text/plain",a=o[s],l={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const e in l)o[l[e]]=e}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8050],{65529(a,e,t){t.d(e,{Zt:()=>i,a$:()=>o,bk:()=>d,nJ:()=>s});var n=t(69622),r=t(36563);const i=a=>{const e=a;return class extends e{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(a,e){let t=this._listenersMap?.get(a);if(!t)return!1;let n=!1;for(const a of t.slice()){const t="deref"in a?a.deref():a;t?t?.call(this,e):n=!0}return n&&(t=t.filter(a=>!("deref"in a)||null!=a.deref()),this._listenersMap.set(a,t)),t.length>0}on(a,e){if(Array.isArray(a)){const t=a.map(a=>this.on(a,e));return(0,r.vE)(t)}if(a.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const t=this._listenersMap.get(a)||[];return t.push(e),this._listenersMap.set(a,t),(0,r.hA)(()=>{const t=this._listenersMap?.get(a),n=t?.indexOf(e)??-1;n>=0&&t.splice(n,1)})}once(a,e){const t=this.on(a,a=>{t.remove();const n="deref"in e?e.deref():e;n?.call(null,a)});return t}hasEventListener(a){const e=this._listenersMap?.get(a);return null!=e&&e.length>0}}},o=i(class{}),d=o,s=i(n.A)},3330(a,e,t){t.d(e,{GB:()=>r,Qo:()=>o,Y4:()=>i});var n=t(92647);class r{static{this.instance=n.mQ.parseSpecifier("UTC")}}function i(a){return a instanceof n.bo?a===r.instance:"unknown"===a?.toString().toLowerCase()}function o(a){return i(a)?r.instance:a}},97770(a,e,t){t.d(e,{Ey:()=>P,F8:()=>D,J2:()=>U,Yq:()=>G,_m:()=>b,_v:()=>M,iS:()=>L,wj:()=>Z});var n=t(66552),r=t(73444),i=t(98623),o=(t(56400),t(92647));const d={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},s={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},m={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},l={year:"numeric",month:"long",day:"numeric"},T={year:"numeric",month:"short",day:"numeric"},u={year:"numeric",month:"long",weekday:"long",day:"numeric"},h={hour:"numeric",minute:"numeric"},S={...h,second:"numeric"},A={hourCycle:"h23"},g={...h,...A},y={...S,...A},f={"short-date":c,"short-date-short-time":{...c,...h},"short-date-short-time-24":{...c,...g},"short-date-long-time":{...c,...S},"short-date-long-time-24":{...c,...y},"short-date-le":c,"short-date-le-short-time":{...c,...h},"short-date-le-short-time-24":{...c,...g},"short-date-le-long-time":{...c,...S},"short-date-le-long-time-24":{...c,...y},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...h},"long-month-day-year-short-time-24":{...l,...g},"long-month-day-year-long-time":{...l,...S},"long-month-day-year-long-time-24":{...l,...y},"day-short-month-year":T,"day-short-month-year-short-time":{...T,...h},"day-short-month-year-short-time-24":{...T,...g},"day-short-month-year-long-time":{...T,...S},"day-short-month-year-long-time-24":{...T,...y},"long-date":u,"long-date-short-time":{...u,...h},"long-date-short-time-24":{...u,...g},"long-date-long-time":{...u,...S},"long-date-long-time-24":{...u,...y},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":h,"long-time":S},M=(0,n.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),E={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},C=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),p=C.find(({type:a})=>"month"===a)?.value.toLowerCase();function k(){const a=(0,r.lR)();return(a&&E[a])??(0,r.QC)()}"mart"!==p&&(E.bs="sr-Latn-CS");let v=new WeakMap;const w=f["short-date-short-time"];function U(a){return f[a]}function b(a){const{dateStyle:e,timeStyle:t,hour12:n,year:r,month:i}=a,o={};return e?o.dateStyle=e:r&&(o.year=r,o.month=i||void 0),t&&!o.year&&(o.timeStyle=t,o.hour12="auto"===n?void 0:"always"===n),o}function G(a,e=w){return function(a){let e=v.get(a);if(!e){const t=k(),n=Z(a.timeZone??i.qU),r={...a,timeZone:n};e=new Intl.DateTimeFormat(t,r),v.set(a,e)}return e}(e).format(a)}function L(a,e=w){return G(new Date(a),{...e,...m,...s})}function D(a,e=w){return G(new Date(`1970-01-01T${a}Z`),{...e,...m,...d})}function P(a,e=w){const t=o.c9.fromISO(a,{setZone:!0});if(!t.isValid)return a;if(e.timeZone)return G(t.toJSDate(),e);const n=0===t.offset?i.n$:e.timeZone,r={...e,timeZone:n};return t.toLocaleString(r,{locale:k()})}function Z(a){switch(a){case i.qU:return i.N5;case i.L5:return i.n$;default:return a}}(0,r.Ml)(()=>{v=new WeakMap})},73444(a,e,t){t.d(e,{JK:()=>s,Ml:()=>A,QC:()=>l,lR:()=>c,oQ:()=>h});var n=t(36563);let r;t(44208);const i=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function d(){const a=o?.getAttribute("lang"),e=globalThis.navigator?.language;return i??a??e??"en"}function s(){return void 0===r&&(r=d()),r}const m=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(a=s()){return T(a)?.language}function l(a=s()){const e=T(a);return e?.language&&e?.extlang?a.replace(`${e.language}-`,""):a}function T(a=s()){return m.exec(a)?.groups}const u=[];function h(a){return u.push(a),(0,n.hA)(()=>{u.splice(u.indexOf(a),1)})}new Map;const S=[];function A(a){return S.push(a),(0,n.hA)(()=>S.splice(S.indexOf(a),1))}function g(){const a=d();r!==a&&([...S].forEach(e=>e(a)),r=a,[...u].forEach(e=>e(a)))}globalThis.addEventListener?.("languagechange",g),o&&new MutationObserver(()=>{g()}).observe(o,{attributeFilter:["lang"]})},98623(a,e,t){t.d(e,{L5:()=>r,N5:()=>o,n$:()=>i,qU:()=>n});const n="system",r="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone},56400(a,e,t){t.d(e,{ZS:()=>m,S3:()=>u,hv:()=>c,wr:()=>l,P6:()=>s});var n=t(91869),r=t(3330),i=t(98623);const o=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var d=t(92647);function s(a,e=!1){return{json:{read:{source:a,reader:(e,t)=>t[a]?m(t[a]):null},write:!!e&&{allowNull:!0,writer(e,t){t[a]=e?function(a){return{timeZoneIANA:a}}(e):null}}}}}function m(a,e=i.qU){return a?function(a){return"timeZoneIANA"in a}(a)?a.timeZoneIANA:function(a,e=i.qU){if(!a||!o.has(a.timeZone))return e;const t=o.get(a.timeZone);return function(a){return a.startsWith("UTC")}(a.timeZone)||a.respectsDaylightSaving?t:function(a){const e=d.c9.local().setZone(a),t=Math.min(e.set({month:1,day:1}).offset,e.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${d.mQ.instance(-t).formatOffset(0,"narrow")}`}(t)}(a,e):e}function c(a,e,t,n,r){if(e&&"date"===r)return{timeZone:i.n$,timeZoneName:void 0};const o=n.hour,d=t===i.L5;return{timeZone:d?"timestamp-offset"===r?void 0:a??i.n$:t,timeZoneName:d&&o?"shortOffset":void 0}}function l(a){const e=new Set(["etc/utc","etc/gmt","gmt"]),t=new Set(Intl.supportedValuesOf("timeZone").map(a=>a.toLowerCase()));return a===i.qU||a===i.L5||e.has(a.toLowerCase())||t.has(a.toLowerCase())}const T=new Map;function u(a){return a===i.L5?r.GB.instance:a===i.n$||"Etc/UTC"===a?d.mQ.utcInstance:(0,n.tE)(T,a,()=>d.oh.create(a))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1812,1948,6061,7992,8125,9169],{61691(e,t,r){r.d(t,{G:()=>s});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},76061(e,t,r){r.d(t,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(e){super(),this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},96957(e,t,r){r.d(t,{e:()=>o,s:()=>u});var s=r(4576),n=r(68613),i=r(78125);function o(e,t){const r=(0,i.getSpatialReference)(e);return(0,i.toGeometry)((0,n.g7)((0,i.fromGeometry)(e),(0,i.fromGeometry)(t),(0,i.fromSpatialReference)(r)),r)}const a=(0,n.fz)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(e,t){const r=e.map(i.fromGeometry),o=(0,i.getSpatialReference)(e);return(0,n.zo)(r,(0,i.fromGeometry)(t),(0,i.fromSpatialReference)(o)).map(e=>(0,i.toGeometry)(e,o)).filter(s.Ru)},supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},69397(e,t,r){r.d(t,{Qf:()=>u,Qh:()=>o,RS:()=>n,Ul:()=>f,i5:()=>m,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(e){if(!e)return 0;let t=c;for(const r in e)e.hasOwnProperty(r)&&(t+=a(e[r],!1));return t}function o(e){if(!e)return 0;if("number"==typeof e[0])return u(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return h(e,8);let r=l;for(let s=0;s<t;s++)r+=a(e[s]);return r}(e);let t=c;for(const r in e)e.hasOwnProperty(r)&&(t+=a(e[r]));return t}function a(e,t=!0){switch(typeof e){case"object":return t?o(e):c;case"string":return function(e){return 32+e.length}(e);case"number":return n;case"boolean":return 4;default:return 8}}function u(...e){return e.reduce((e,t)=>e+(t?(0,s.iu)(t)?t.byteLength+m:Array.isArray(t)?h(t,n):0:0),0)}function h(e,t){return l+e.length*t}const c=32,l=16,m=145,f=64},87992(e,t,r){r.d(t,{JR:()=>w,ME:()=>E,MY:()=>R,NO:()=>C,Nh:()=>_,V2:()=>A,_s:()=>O,e6:()=>Y,gh:()=>P,tr:()=>X,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),o=r(19419),a=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),m=r(52006),f=r(49663),g=r(46068),p=r(92722);class x{constructor({type:e,spatialReference:t,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:m,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=m,this.segmentCountBezier=f}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:e,segmentCountArc:t,segmentCountBezier:r}=this;return e&&e-t-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function e(e){return e?n.Ul+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){const{type:e,vertexCount:t,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:o}=this,a=A(e,t,r,s,n,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*t),0),a.vertexZ?.set(h.subarray(0,t),0),a.vertexM?.set(c.subarray(0,t),0),this.isMultipart()){const{partOffsets:e,partFlags:t}=this;a.partFlags.set(t.subarray(0,r+1)),a.partOffsets.set(e.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:e,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;a.segmentFlags.set(e.subarray(0,t),0),a.segmentIndices.set(r.subarray(0,t),0),a.segmentParams.set(s.subarray(0,n),0)}return a}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,u.aI)(this.spatialReference,e.spatialReference))return!1;if(this.vertexCount!==e.vertexCount||this.partCount!==e.partCount)return!1;if(this.hasZ!==e.hasZ||this.hasM!==e.hasM)return!1;if(this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;const r=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,r)=>Math.abs(e-r)>t||isNaN(e)!==isNaN(r);for(let t=0;t<this.vertexCount;++t)if(r(this.vertexXY[2*t],e.vertexXY[2*t])||r(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(r(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(r(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(e){this.geometry=e,this.value=new d(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(e){this.geometry=e,this.index=-1,this._readVertex=V(e),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class v{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===e.geometry.type,this.value=new M(e.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=V(e)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;const t=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){const e=t[r++],s=t[r++],n=t[r++],i=t[r++];return{b:[this.end,[e,s],[n,i]]}}const s=t[r++],n=t[r++],i=t[r++],o=t[r++],a=t[r++],u=t[r++];r++,r++;const h=t[r++],c=t[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,c]]};const l=2&s?0:1,m=1&s?0:1;return{a:[this.end,[a,u],l,m,o,n,i]}}}function C(e,t){const r={stack:[],error:void 0,hasError:!1};try{return t??=(0,o.Ie)(),(0,s.mS)(r,new G(e,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(t,function(e){let t;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:a}=e,u=S(e);if(e.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new G(e,["vertexZ","vertexM"]),!1);const n=(0,o.Ie)();for(const t of e.parts){let e=t.startVertex;for(const{curve:r}of t.segments)(0,l.e)(n,e,r),e=(0,m.yP)(r)}const[i,a,h,c]=n;t={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}else{let e,s,i,o;e=s=1/0,i=o=-1/0;for(let t=0;t<r;++t){const r=n[2*t],a=n[2*t+1];e=Math.min(e,r),i=Math.max(i,r),s=Math.min(s,a),o=Math.max(o,a)}t={xmin:e,ymin:s,xmax:i,ymax:o,spatialReference:u}}if(i){let e=1/0,r=-1/0;for(const t of i)e=Math.min(e,t),r=Math.max(r,t);t.zmin=e,t.zmax=r}if(a){let e=1/0,r=-1/0;for(const t of a)e=Math.min(e,t),r=Math.max(r,t);t.mmin=e,t.mmax=r}return t}(e)),t}catch(e){r.error=e,r.hasError=!0}finally{(0,s.hk)(r)}}function E(e){let t,r,s;if((0,a.fT)(e)){s="point";const{x:n,y:i,z:o,m:a}=e,u=[n,i];null!=o&&u.push(o),null!=a&&u.push(a),r=[[u]],t=1}else(0,a.U9)(e)?(s="multipoint",r=[e.points],t=e.points.length):(0,a.Rg)(e)?(s="polyline",r=e.curvePaths??e.paths,t=r.reduce((e,t)=>e+t.length,0)):(s="polygon",r=e.curveRings??e.rings,t=r.reduce((e,t)=>(0===t.length||(e+=t.length,Z(t[0],(0,m.yP)(t.at(-1)))&&--e),e),0));const n=A(s,t,s.includes("point")?0:r.length,(0,a.Pv)(e),(0,a.W0)(e),(0,m.Ed)(e)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=n;function l(e){u[2*g]=e[0],u[2*g+1]=e[1],i&&(h[g]=e[2]),o&&(c[g]=e[f]),++g}n.spatialReference=e.spatialReference??void 0;const f=n.hasZ?3:2;let g=0;if(!n.isMultipart()){if(!i&&!o){for(const[e,t]of r[0])u[2*g]=e,u[2*g+1]=t,++g;return n}for(const e of r[0])l(e);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,m.Ed)(e)){for(const e of r){if(x[y++]=g,0===e.length)continue;let t=e.length;if(p&&Z(e[0],e.at(-1))&&--t,i||o)for(let r=0;r<t;++r)l(e[r]);else for(let r=0;r<t;++r){const[t,s]=e[r];u[2*g]=t,u[2*g+1]=s,++g}}return x[y]=g,n}function d(e){const t=v+e;if(t<=(n.segmentParams?.length??0))return;let r=t*F;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const e of r){if(n.partOffsets[y++]=g,0===e.length)continue;const t=e[0];let r=t;for(let t=1;t<e.length;++t){const s=e[t];l(r);const i=g-1;(0,m.wY)(s)?(d(10),++n.segmentCountArc,v=O(r,s,n,i,v),r=s.a[0]):(0,m.DA)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,m.aO)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.c[0]):(0,m.n1)(s)?(d(4),++n.segmentCountBezier,v=X(0,s,n,i,v),r=s.b[0]):r=s}p&&Z(t,r)||l(r)}return n.partOffsets[y]=g,n}function P(e){const t=V(e),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=e,o=S(e);if("point"===e.type){const[t,r]=e.vertexXY,s=e.vertexZ?.[0],n=e.vertexM?.[0];return{x:t,y:r,z:s,m:n,spatialReference:o}}let a=0;if("multipoint"===e.type){const e=[];for(;a<r;)e.push(t(a++));return{points:e,spatialReference:o,hasZ:n,hasM:i}}const u="polygon"===e.type;if(!e.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=e.partOffsets[n+1],i=new Array;for(;a<s;)i.push(t(a++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:o}:{paths:r,hasZ:n,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:t,startVertex:r}of e.parts){const e=[r];for(const{curve:r}of t)e.push(r);h.push(e)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:o}}function _(e,{lengths:t,coords:r,hasZ:s,hasM:n},i){const o=e.includes("point")?0:t.length,a="polygon"===e,u="point"===e?1:t.reduce((e,t)=>e+t,0)-(a?o:0);s??=!1,n??=!1;const h=A(e,u,o,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let e=0,t=0;e<u;++e)h.vertexXY[2*e]=r[t++],h.vertexXY[2*e+1]=r[t++],s&&(h.vertexZ[e]=r[t++]),n&&(h.vertexM[e]=r[t++]);return h}const c=2+Number(s)+Number(n);let l=0,m=0;h.partOffsets[0]=0;for(const e of t){const t=h.partOffsets[m],i=t+e-Number(a);h.partOffsets[++m]=i;for(let e=t;e<i;++e)h.vertexXY[2*e]=r[l++],h.vertexXY[2*e+1]=r[l++],s&&(h.vertexZ[e]=r[l++]),n&&(h.vertexM[e]=r[l++]);a&&(l+=c)}return h}function w({type:e,vertexCount:t,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new p.A([],[],a,u);i=Math.max(i,1);const c="polygon"===e;let l=0;for(let e=0;e<i;++e){const i=o?.[e+1]??t,m=h.coords.length;for(let e=l;e<i;++e)h.coords.push(r[2*e],r[2*e+1]),a&&h.coords.push(s[e]),u&&h.coords.push(n[e]);if(c){const e=l;h.coords.push(r[2*e],r[2*e+1]),a&&h.coords.push(s[e]),u&&h.coords.push(n[e])}h.lengths.push((h.coords.length-m)/h.stride),l=i}return"point"===e&&(h.lengths.length=0),h}function R(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;const t=e.getText()||void 0,r=e.isCustomWkid()?0:e.getOldID();if(r<=0)return{wkt:t};let s=e.getLatestID();(s<=0||s===r)&&(s=void 0);const n=e.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:t};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:t};let o=e.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:r,wkt:t,latestWkid:s,vcsWkid:i,latestVcsWkid:o}}(e.getSpatialReference()),e=e.getGeometry()),new x({...e.toFlatGeometry(),spatialReference:t})}class G{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(const r of t)e[r]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function S({spatialReference:e}){return e instanceof i.A?e.toJSON():e}function V({vertexXY:e,vertexZ:t,vertexM:r}){return t?r?s=>[e[2*s],e[2*s+1],t[s],r[s]]:r=>[e[2*r],e[2*r+1],t[r]]:r?t=>[e[2*t],e[2*t+1],r[t]]:t=>[e[2*t],e[2*t+1]]}function Z(e,t){return e.every((e,r)=>e===t[r])}function A(e,t,r,s,n,i,o,a){o??=0,a??=0;const u=new x({type:e,vertexCount:t,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*t;s&&(h+=Float64Array.BYTES_PER_ELEMENT*t),n&&(h+=Float64Array.BYTES_PER_ELEMENT*t),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=t*Int8Array.BYTES_PER_ELEMENT,h+=t*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*t),l+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(c,l,t),l+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(c,l,t),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,t),u.segmentIndices.fill(z),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,t),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function O(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const[a,[u,h],c,l,m,f,p]=t.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(e,t),[d,v]=(0,g.Uk)(y,.5);return n[o++]=x,n[o++]=f,n[o++]=p,n[o++]=m,n[o++]=u,n[o++]=h,n[o++]=y.u2-y.u1,n[o++]=y.u1,n[o++]=d,n[o++]=v,o}function b(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){r[i]=4,s[i]=o;const a=(0,f.io)(e,t);return I(a,4,...(0,h.mq)(a,.5),n,o)}function Y(e,t,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,o){return r[i]=4,s[i]=o,I((0,c.pM)(e,t),0,...t.c[1],n,o)}function I(e,t,r,s,n,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=e;return u>h||(t|=1),Math.abs(h-u)<=Math.PI||(t|=2),n[i++]=t,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=o,n[i++]=a,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function X(e,{b:[t,[r,s],[n,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=r,u[c++]=s,u[c++]=n,u[c++]=i,c}const F=1.61803,z=-1},68613(e,t,r){r.d(t,{fz:()=>x,g7:()=>g,zo:()=>p});var s=r(76061),n=r(61691),i=r(55537),o=r(83661),a=r(88885),u=r(79187),h=r(95213),c=r(15756);function l(e,t,r,s){const n=e.getImpl().getAttributeStreamRef(0),i=e.getPointCount(),a=t.getXY(),c=e.createInstance(),l=(0,h.f)(r),m=new u.Envelope2D;if(e.queryEnvelope(m),m.inflateCoords(l,l),m.contains(a)){const r=l*l;let s=!1;const u=(0,o.d)(i,!1);for(let e=0;e<i;e++){const t=n.read(2*e),i=n.read(2*e+1),o=t-a.x,h=i-a.y;o*o+h*h<=r&&(s=!0,u[e]=!0)}if(s)for(let t=0;t<i;t++)u[t]||c.addPoints(e,t,t+1);else c.addPoints(e,0,i),c.add(t)}else c.addPoints(e,0,i),c.add(t);return c}class m extends n.G{m_inputGeoms;m_progressTracker;m_spatialReference;m_rightGeom;m_index;m_bEmpty;constructor(e,t,r,s){super(),this.m_progressTracker=s,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=r,this.m_rightGeom=t.next(),this.m_bEmpty=!this.m_rightGeom,(0,i.c)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const e=this.m_inputGeoms.next();return e?((0,i.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),function(e,t,r,s){const n=e.getDimension(),m=t.getDimension();if(n!==m)return n>m?e:t;if(e.isEmpty())return t;if(t.isEmpty())return e;const f=new u.Envelope2D,g=new u.Envelope2D,p=new u.Envelope2D;e.queryEnvelope(f),t.queryEnvelope(g),p.setCoords({env2D:f}),p.mergeEnvelope2D(g);const x=(0,h.c)(r,p,!0),y=e.getGeometryType(),d=t.getGeometryType();return y===i.G.enumPoint&&d===i.G.enumPoint?function(e,t,r){const s=(0,h.f)(r),n=s*s,i=e.getXY(),u=t.getXY(),c=new a.M({vd:e.getDescription()});return o.P.sqrDistance(i,u)>n&&(c.add(e),c.add(t)),c}(e,t,x):y===i.G.enumPoint&&d===i.G.enumMultiPoint?l(t,e,x):y===i.G.enumMultiPoint&&d===i.G.enumPoint?l(e,t,x):(0,c.ax)(e,t,r,s)}(e,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const f=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,r,s){return new m(e,t,r,s)}execute(e,t,r,n){const o=new s.S([e]),a=new s.S([t]),u=this.executeMany(o,a,r,n).next();return u||(0,i.d)("null output"),u}};function g(e,t,r){return f.execute(e,t,r,null)}function p(e,t,r){const n=f.executeMany(new s.S(e),new s.S([t]),r,null);return Array.from(n)}function x(){return f.supportsCurves()}},78125(e,t,r){r.r(t),r.d(t,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>_,toGeometry:()=>P,toMultipoint:()=>w,toPoint:()=>R,toPolygon:()=>G,toPolyline:()=>S});var s=r(83661),n=r(55537),i=r(95213),o=r(88885),a=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),m=(r(90293),r(83299));const f="_gxVersion";function g(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function p(e){switch(e.type){case"point":return d(e);case"multipoint":return y(e);case"polyline":return M(e);case"polygon":return v(e);case"extent":return x(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function x(e){if(!e.getCacheValue(f)){const t=new i.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(2,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(1,0,e.zmin,e.zmax),e.setCacheValue(f,t)}return e.getCacheValue(f)}function y(e){if(!e.getCacheValue(f)){const t=new o.M,r=new i.P,s=e.points,n=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,i=s.length;e<i;e++){const i=s[e];r.setXYCoords(i[0],i[1]),a&&r.setZ(i[2]??0),n&&r.setM(i[u]??NaN),t.add(r)}e.setCacheValue(f,t)}return e.getCacheValue(f)}function d(e){if(!e.getCacheValue(f)){const t=new i.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(f,t)}return e.getCacheValue(f)}function v(e){if(!e.getCacheValue(f)){const{curveRings:t,hasM:r,hasZ:s,rings:n}=e,i=(0,m.fromGeometryToGXGeometry)({curveRings:t,hasM:r,hasZ:s,rings:n});e.setCacheValue(f,i)}return e.getCacheValue(f)}function M(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:r,hasZ:s,paths:n}=e,i=(0,m.fromGeometryToGXGeometry)({curvePaths:t,hasM:r,hasZ:s,paths:n});e.setCacheValue(f,i)}return e.getCacheValue(f)}function C(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:r,hasZ:s,paths:n}=e,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:r,hasZ:s,paths:n});e.setCacheValue(f,i)}return e.getCacheValue(f)}function E(e){return e.cache?(e.cache[f]??=(0,m.fromSpatialReference)(e),e.cache[f]):(0,m.fromSpatialReference)(e)}function P(e,t){if(e)switch(e.getGeometryType()){case n.G.enumPoint:return R(e,t);case n.G.enumEnvelope:return _(e,t);case n.G.enumMultiPoint:return w(e,t);case n.G.enumPolyline:return S(e,t);case n.G.enumPolygon:return G(e,t)}return null}function _(e,t){if(e.isEmpty())return null;const r=new a.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),s=e.getDescription();if(s.hasM()){const t=e.queryInterval(2,0);r.mmin=t.vmin,r.mmax=t.vmax}if(s.hasZ()){const t=e.queryInterval(1,0);r.zmin=t.vmin,r.zmax=t.vmax}return r.setCacheValue(f,e),r}function w(e,t){if(e.isEmpty())return null;const r=e.getDescription(),s=r.hasM(),n=r.hasZ(),o=[],a=new i.P;for(let t=0,r=e.getPointCount();t<r;t++){e.getPointByVal(t,a);const r=[a.getX(),a.getY()];n&&r.push(a.getZ()),s&&r.push(a.getM()),o.push(r)}const h=new u.A({hasM:s,hasZ:n,points:o,spatialReference:t});return h.setCacheValue(f,e),h}function R(e,t){if(e instanceof s.P)return new h.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const r=new h.A({x:e.getX(),y:e.getY(),spatialReference:t}),n=e.getDescription();return n.hasM()&&(r.m=e.getM()),n.hasZ()&&(r.z=e.getZ()),r.setCacheValue(f,e),r}function G(e,t){if(e.isEmpty())return null;const r=c.A.fromJSON({...(0,m.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(f,e),r}function S(e,t){if(e.isEmpty())return null;const r=l.A.fromJSON({...(0,m.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(f,e),r}},89041(e,t,r){r.d(t,{execute:()=>s.e}),r(4576),r(68613),r(78125);var s=r(96957)},92722(e,t,r){r.d(t,{A:()=>n});var s=r(69397);class n{constructor(e=[],t=[],r=!1,s=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:e,coords:t,hasZ:r,hasM:s}){return new n(e,t,r||!1,s||!1)}static fromRect([e,t,r,s]){const i=r-e,o=s-t;return new n([5],[e,t,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*t],i=this.coords[s*t+1];for(let o=1;o<r;o+=1){const r=s*(t+o),a=this.coords[r],u=this.coords[r+1];e+=-.5*(a-n)*(u+i),n=a,i=u}t+=r}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(t+n);e(this.coords[s],this.coords[s+1])}t+=s}}deltaDecode(){const e=this.clone(),{coords:t,lengths:r}=e;let s=0;const{stride:n}=this;for(const e of r){for(let r=1;r<e;r++){const e=n*(s+r);t[e]+=t[e-n],t[e+1]+=t[e+1-n]}s+=e}return e}clone(e){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return e?(e.set(i),new n(t,e,this.hasZ,this.hasM)):new n(t,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const r=new Array(t*e);for(let t=0,s=0;t<r.length;t+=e)r[s++]=this.coords[t],r[s++]=this.coords[t+1];return new n(this.lengths,r,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1132,1550,1666,1948,6061,7992,8125,9169],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},70031(t,e,r){r.d(e,{O:()=>n});var s=r(15756);class n extends s.z{getOperatorType(){return 4}execute(t,e,r,n){return!(0,s.A)(t,e,r,4,n)}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},10767(t,e,r){r.d(e,{a:()=>a,e:()=>o,i:()=>h,s:()=>u});var s=r(70031),n=r(78125);const i=new s.O;function a(t){const e=(0,n.getSpatialReference)(t);return i.accelerateGeometry((0,n.fromGeometry)(t),(0,n.fromSpatialReference)(e),1)}function o(t,e){return i.execute((0,n.fromGeometry)(t),(0,n.fromGeometry)(e),(0,n.fromSpatialReference)(t.spatialReference),null)}const u=i.supportsCurves(),h=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:a,execute:o,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>n,Ul:()=>g,i5:()=>f,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let s=0;s<e;s++)r+=o(t[s]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return n;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,n):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,g=64},87992(t,e,r){r.d(e,{JR:()=>Z,ME:()=>E,MY:()=>O,NO:()=>M,Nh:()=>V,V2:()=>_,_s:()=>b,e6:()=>G,gh:()=>P,tr:()=>F,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),a=r(19419),o=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),f=r(52006),g=r(49663),m=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=_(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=w(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new C(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class C{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=w(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,u],l,f,a,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,s.mS)(r,new R(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:o}=t,u=S(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new R(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,f.yP)(r)}const[i,o,h,c]=n;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function E(t){let e,r,s;if((0,o.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,u=[n,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,o.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,A(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const n=_(s,e,s.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=n;function l(t){u[2*m]=t[0],u[2*m+1]=t[1],i&&(h[m]=t[2]),a&&(c[m]=t[g]),++m}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let m=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*m]=t,u[2*m+1]=e,++m;return n}for(const t of r[0])l(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,f.Ed)(t)){for(const t of r){if(x[y++]=m,0===t.length)continue;let e=t.length;if(p&&A(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*m]=e,u[2*m+1]=s,++m}}return x[y]=m,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=m,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];l(r);const i=m-1;(0,f.wY)(s)?(d(10),++n.segmentCountArc,v=b(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(d(10),++n.segmentCountArc,v=G(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(d(4),++n.segmentCountBezier,v=F(0,s,n,i,v),r=s.b[0]):r=s}p&&A(e,r)||l(r)}return n.partOffsets[y]=m,n}function P(t){const e=w(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=S(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:a}}function V(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const h=_(t,u,a,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(s)+Number(n);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(o);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],s&&(h.vertexZ[t]=r[l++]),n&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function Z({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new p.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function O(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class R{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function w({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function A(t,e){return t.every((t,r)=>t===e[r])}function _(t,e,r,s,n,i,a,o){a??=0,o??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(z),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[u,h],c,l,f,g,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,m.SW)(t,e),[d,v]=(0,m.Uk)(y,.5);return n[a++]=x,n[a++]=g,n[a++]=p,n[a++]=f,n[a++]=u,n[a++]=h,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,g.io)(t,e);return I(o,4,...(0,h.mq)(o,.5),n,a)}function G(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,c.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function F(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=s,u[c++]=n,u[c++]=i,c}const X=1.61803,z=-1},25275(t,e,r){r.r(e),r.d(e,{accelerateGeometry:()=>s.a,execute:()=>s.e,supportsCurves:()=>s.s}),r(70031),r(78125);var s=r(10767)},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>C,fromPolylineUsingImportOperator:()=>M,fromSpatialReference:()=>E,getSpatialReference:()=>m,toExtent:()=>V,toGeometry:()=>P,toMultipoint:()=>Z,toPoint:()=>O,toPolygon:()=>R,toPolyline:()=>S});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const g="_gxVersion";function m(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return C(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(g)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(g,e)}return t.getCacheValue(g)}function y(t){if(!t.getCacheValue(g)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(g,e)}return t.getCacheValue(g)}function d(t){if(!t.getCacheValue(g)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(g,e)}return t.getCacheValue(g)}function v(t){if(!t.getCacheValue(g)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function C(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function M(t){if(!t.getCacheValue(g)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(g,i)}return t.getCacheValue(g)}function E(t){return t.cache?(t.cache[g]??=(0,f.fromSpatialReference)(t),t.cache[g]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return O(t,e);case n.G.enumEnvelope:return V(t,e);case n.G.enumMultiPoint:return Z(t,e);case n.G.enumPolyline:return S(t,e);case n.G.enumPolygon:return R(t,e)}return null}function V(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(g,t),r}function Z(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:s,hasZ:n,points:a,spatialReference:e});return h.setCacheValue(g,t),h}function O(t,e){if(t instanceof s.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(g,t),r}function R(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}function S(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(g,t),r}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-n)*(u+i),n=o,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1948,2260,6061,7992,8125,9169],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>n,Ul:()=>m,i5:()=>f,lM:()=>i,qK:()=>c});var s=r(34275);const n=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let s=0;s<e;s++)r+=o(t[s]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return n;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,s.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,n):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,r){r.d(e,{JR:()=>V,ME:()=>E,MY:()=>Z,NO:()=>M,Nh:()=>_,V2:()=>S,_s:()=>G,e6:()=>I,gh:()=>P,tr:()=>F,uX:()=>x});var s=r(5482),n=r(69397),i=r(16930),a=r(19419),o=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),f=r(52006),m=r(49663),g=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=S(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=R(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new C(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class C{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=R(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[h,c]]};const l=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,u],l,f,a,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,s.mS)(r,new w(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:i,vertexM:o}=t,u=A(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new w(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,f.yP)(r)}const[i,o,h,c]=n;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function E(t){let e,r,s;if((0,o.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,u=[n,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,o.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const n=S(s,e,s.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=n;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),a&&(c[g]=t[m]),++g}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let g=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*g]=t,u[2*g+1]=e,++g;return n}for(const t of r[0])l(t);return n}const p="polygon"===s,{partOffsets:x}=n;let y=0;if(!(0,f.Ed)(t)){for(const t of r){if(x[y++]=g,0===t.length)continue;let e=t.length;if(p&&O(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];u[2*g]=e,u[2*g+1]=s,++g}}return x[y]=g,n}function d(t){const e=v+t;if(e<=(n.segmentParams?.length??0))return;let r=e*X;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let v=0;for(const t of r){if(n.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];l(r);const i=g-1;(0,f.wY)(s)?(d(10),++n.segmentCountArc,v=G(r,s,n,i,v),r=s.a[0]):(0,f.DA)(s)?(d(10),++n.segmentCountArc,v=Y(r,s,n,i,v),r=s.a[0]):(0,f.aO)(s)?(d(10),++n.segmentCountArc,v=I(r,s,n,i,v),r=s.c[0]):(0,f.n1)(s)?(d(4),++n.segmentCountBezier,v=F(0,s,n,i,v),r=s.b[0]):r=s}p&&O(e,r)||l(r)}return n.partOffsets[y]=g,n}function P(t){const e=R(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=A(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:n,hasM:i,spatialReference:a}}function _(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const h=S(t,u,a,s,n,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],s&&(h.vertexZ[t]=r[e++]),n&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(s)+Number(n);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],i=e+t-Number(o);h.partOffsets[++f]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],s&&(h.vertexZ[t]=r[l++]),n&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function V({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new p.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(s[t]),u&&h.coords.push(n[t])}h.lengths.push((h.coords.length-f)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function Z(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class w{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function A({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function R({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,r)=>t===e[r])}function S(t,e,r,s,n,i,a,o){a??=0,o??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,s&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),n&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(k),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function G(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[u,h],c,l,f,m,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return n[a++]=x,n[a++]=m,n[a++]=p,n[a++]=f,n[a++]=u,n[a++]=h,n[a++]=y.u2-y.u1,n[a++]=y.u1,n[a++]=d,n[a++]=v,a}function Y(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,m.io)(t,e);return b(o,4,...(0,h.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,b((0,c.pM)(t,e),0,...e.c[1],n,a)}function b(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),n[i++]=e,n[i++]=c,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=h-u,n[i++]=u,n[i++]=r,n[i++]=s,i}function F(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=s,u[c++]=n,u[c++]=i,c}const X=1.61803,k=-1},50647(t,e,r){r.d(e,{execute:()=>h}),r(4576),r(76061);var s=r(61691),n=r(55537);class i extends s.G{m_inputGeometryCursor;m_transformation;m_index;constructor(t,e,r){super(),this.m_index=-1,this.m_transformation=e.clone(),this.m_inputGeometryCursor=t}next(){let t;if(t=this.m_inputGeometryCursor.next()){(0,n.c)(t),this.m_index=this.m_inputGeometryCursor.getGeometryID();const e=t.clone();return e.applyTransformation(this.m_transformation),e}return null}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}}const a=new class{getOperatorType(){return 10303}supportsCurves(){return!0}accelerateGeometry(t,e,r){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,r){return new i(t,e,r)}execute(t,e,r){const s=t.clone();return s.applyTransformation(e),s}};function o(t,e){return a.execute(t,e,null)}var u=r(78125);function h(t,e){const r=(0,u.getSpatialReference)(t);return(0,u.toGeometry)(o((0,u.fromGeometry)(t),e.transform),r)}a.supportsCurves()},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>C,fromPolylineUsingImportOperator:()=>M,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>_,toGeometry:()=>P,toMultipoint:()=>V,toPoint:()=>Z,toPolygon:()=>w,toPolyline:()=>A});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),f=(r(90293),r(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return C(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(m)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(m,i)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(m,i)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(m,i)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return Z(t,e);case n.G.enumEnvelope:return _(t,e);case n.G.enumMultiPoint:return V(t,e);case n.G.enumPolyline:return A(t,e);case n.G.enumPolygon:return w(t,e)}return null}function _(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(m,t),r}function V(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:s,hasZ:n,points:a,spatialReference:e});return h.setCacheValue(m,t),h}function Z(t,e){if(t instanceof s.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(m,t),r}function w(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}function A(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(m,t),r}},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-n)*(u+i),n=o,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8278],{25728(e,r,t){t.d(r,{M:()=>b});var i=t(5482),a=t(69622),n=t(76953),s=t(4718),o=t(35666);class l{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(o.AU),this._values=new Map,this.multipleOriginsSupported=!0}clone(e){const r=new l,t=this._originStores[0];t&&t.forEach((e,t)=>{r.set(t,(0,s.o8)(e),0)});for(let t=2;t<o.AU;t++){const i=this._originStores[t];i&&i.forEach((i,a)=>{e&&e.has(a)||r.set(a,(0,s.o8)(i),t)})}return r}get(e,r){const t=void 0===r?this._values:this._originStores[r];return t?t.get(e):void 0}keys(e){const r=null==e?this._values:this._originStores[e];return r?[...r.keys()]:[]}set(e,r,t=7){let i=this._originStores[t];if(i||(i=new Map,this._originStores[t]=i),i.set(e,r),!this._values.has(e)||this._propertyOriginMap.get(e)<=t){const i=this._values.get(e);return this._values.set(e,r),this._propertyOriginMap.set(e,t),i!==r}return!1}delete(e,r=7){const t=this._originStores[r];if(!t)return;const i=t.get(e);if(t.delete(e),this._values.has(e)&&this._propertyOriginMap.get(e)===r){this._values.delete(e);for(let t=r-1;t>=0;t--){const r=this._originStores[t];if(r&&r.has(e)){this._values.set(e,r.get(e)),this._propertyOriginMap.set(e,t);break}}}return i}has(e,r){const t=void 0===r?this._values:this._originStores[r];return!!t&&t.has(e)}revert(e,r){for(;r>0&&!this.has(e,r);)--r;const t=this._originStores[r],i=t?.get(e),a=this._values.get(e);return this._values.set(e,i),this._propertyOriginMap.set(e,r),a!==i}originOf(e){return this._propertyOriginMap.get(e)||0}isAtOrigin(e,r){return this.has(e,r)&&this.originOf(e)===r}isBelowOrigin(e,r){return!this.has(e)||this.originOf(e)<r}forEach(e){this._values.forEach(e)}}var y=t(45917),p=t(88620),u=t(64108);const d=e=>{const r=e;let t=class extends r{constructor(...e){super(...e);const r=(0,p.oY)(this),t=r.store,i=new l;r.store=i,(0,n.k)(r,t,i)}read(e,r){(0,y.L)(this,e,r)}getAtOrigin(e,r){const t=c(this),i=(0,o.aB)(r);return t.get(e,i)}originOf(e){return(0,o.OL)(this.originIdOf(e))}originIdOf(e){return c(this).originOf(e)}revertToOrigin(e,r){const t=c(this),i=(0,o.aB)(r),a=(0,p.oY)(this);"*"===e&&t.keys(i).forEach(e=>this.revertToOrigin(e,r)),a.invalidate(e),t.revert(e,i),a.commit(e)}revertAllToOrigin(e){const r=c(this),t=(0,o.aB)(e);r.keys(t).forEach(r=>this.revertToOrigin(r,e))}};return t=(0,i.Cg)([(0,u.$)("esri.core.ReadOnlyMultiOriginJSONSupport")],t),t};function c(e){return(0,p.oY)(e).store}d(a.A);var g=t(91429),L=t(16649),m=t(49422);const h=e=>{const r=e;let t=class extends r{constructor(...e){super(...e)}clear(e,r="user"){(0,p.oY)(this).clearOrigin(e,(0,o.aB)(r))}write(e,r){return(0,m.M)(this,e=e||{},r),e}setAtOrigin(e,r,t){(0,p.oY)(this).setAtOrigin(e,r,(0,o.aB)(t))}removeOrigin(e){const r=S(this),t=(0,o.aB)(e),i=r.keys(t);for(const e of i)r.originOf(e)===t&&r.set(e,r.get(e,t),7)}updateOrigin(e,r){const t=S(this),i=(0,o.aB)(r),a=(0,L.Jt)(this,e);for(let r=i+1;r<o.AU;++r)t.delete(e,r);t.set(e,a,i)}toJSON(e){return this.write({},e)}};return t=(0,i.Cg)([(0,g.$K)("esri.core.WriteableMultiOriginJSONMixin")],t),t.prototype.toJSON.isDefaultToJSON=!0,t};function S(e){return(0,p.oY)(e).store}const b=e=>{const r=h(d(e));let t=class extends r{};return t=(0,i.Cg)([(0,u.$)("esri.core.MultiOriginJSONSupport")],t),t};b(a.A)},89317(e,r,t){t.d(r,{K:()=>i});const i=["operational-layers","basemap-base-layers","basemap-ground-layers","ground"]},34287(e,r,t){t.d(r,{q:()=>h});var i=t(5482),a=t(49186),n=t(84952),s=t(91429),o=t(56507),l=t(89317),y=t(45917),p=t(49422),u=t(10873),d=t(6345),c=t(79677),g=t(59923),L=t(36005),m=t(43937);const h=e=>{const r=e;let t=class extends r{constructor(){super(...arguments),this.persistenceEnabled=!0,this.title=null}readId(e,r,t){return"Group Layer"===t?.portalItem?.type?void 0:e}writeListMode(e,r,t,i){(i&&"ground"===i.layerContainerType||e&&(0,p.R)(this,t,{},i))&&(r[t]=e)}writeOperationalLayerType(e,r,t){e&&(r[t]=e)}writeTitle(e,r){r.title=e??"Layer"}readVisibilityTimeExtent(e){return e?c.A.fromArray(e):null}writeVisibilityTimeExtent(e,r,t,i){e&&"tables"!==i.layerContainerType&&(e.isEmpty?i?.messages&&i.messages.push(new a.A("layer:invalid-visibilityTimeExtent","visibilityTimeExtent cannot be empty")):r[t]=e.toArray())}read(e,r){r&&(r.layer=this),(0,y.t)(this,e,r=>super.read(e,r),r)}write(e,r){if(!this.persistenceEnabled&&!r?.ignorePersistenceEnabled)return null;if(r?.origin&&!(0,d.Bu)(r,this.operationalLayerType,this.type))return(0,g.U4)(r,this),null;const t=super.write(e,{...r,layer:this}),i=!!r&&!!r.messages&&!!r.messages.filter(e=>e instanceof a.A&&"web-document-write:property-required"===e.name).length;return(0,n.w8)(t?.url)?(r?.messages?.push(new a.A("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&i?null:t}beforeSave(){}};return(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],t.prototype,"id",void 0),(0,i.Cg)([(0,L.w)("id",["id"])],t.prototype,"readId",null),(0,i.Cg)([(0,s.MZ)(u.C1)],t.prototype,"listMode",void 0),(0,i.Cg)([(0,m.K)("listMode")],t.prototype,"writeListMode",null),(0,i.Cg)([(0,s.MZ)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1},"web-scene":{name:"layerType",read:!1,write:{enabled:!0,ignoreOrigin:!0,layerContainerTypes:l.K,isRequired:!0}}}}})],t.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,m.K)("operationalLayerType")],t.prototype,"writeOperationalLayerType",null),(0,i.Cg)([(0,s.MZ)(u.ke)],t.prototype,"opacity",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,readOnly:!1})],t.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],t.prototype,"title",void 0),(0,i.Cg)([(0,m.K)("title"),(0,m.K)(["web-scene"],"title")],t.prototype,"writeTitle",null),(0,i.Cg)([(0,s.MZ)({type:c.A,json:{origins:{"web-scene":{write:{layerContainerTypes:l.K}}}}})],t.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,L.w)("visibilityTimeExtent")],t.prototype,"readVisibilityTimeExtent",null),(0,i.Cg)([(0,m.K)(["portal-item","web-map","web-scene"],"visibilityTimeExtent",{visibilityTimeExtent:{type:[[o.jz,o.Uv]]}})],t.prototype,"writeVisibilityTimeExtent",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"visibility",write:{layerContainerTypes:l.K}}})],t.prototype,"visible",void 0),t=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OperationalLayer")],t),t}},10873(e,r,t){t.d(r,{C1:()=>T,Fm:()=>f,Ih:()=>v,M6:()=>d,OZ:()=>g,PY:()=>u,Qo:()=>h,Yj:()=>m,es:()=>A,fV:()=>L,hG:()=>M,hn:()=>I,id:()=>w,kF:()=>c,ke:()=>b,zQ:()=>C});var i=t(66552),a=t(89317),n=t(5443),s=t(16930),o=t(97159),l=t(88625),y=t(43440),p=t(78553);const u={type:Boolean,value:!0,json:{origins:{service:{read:!1,write:!1},"web-map":{read:!1,write:!1}},name:"screenSizePerspective",write:{enabled:!0,layerContainerTypes:a.K}}},d={type:Boolean,value:!0,json:{name:"disablePopup",read:{reader:(e,r)=>!r.disablePopup},write:{enabled:!0,writer(e,r,t){r[t]=!e}}}},c={type:Boolean,value:!0,nonNullable:!0,json:{name:"showLabels",write:{enabled:!0,layerContainerTypes:a.K}}},g={type:String,json:{origins:{"portal-item":{write:!1}},write:{isRequired:!0,ignoreOrigin:!0,writer:o.w}}},L={type:Boolean,value:!0,nonNullable:!0,json:{origins:{service:{read:{enabled:!1}}},name:"showLegend",write:{enabled:!0,layerContainerTypes:a.K}}},m={value:null,type:l.A,json:{origins:{service:{name:"elevationInfo",write:!0}},name:"layerDefinition.elevationInfo",write:{enabled:!0,layerContainerTypes:a.K}}};function h(e){return{type:e,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}}}const S={write:{enabled:!0,layerContainerTypes:a.K},read:!0},b={type:Number,json:{origins:{"web-document":S,"portal-item":{write:{layerContainerTypes:a.K}}}}},v={...b,json:{...b.json,origins:{"web-document":{...S,write:{enabled:!0,layerContainerTypes:a.K,target:{opacity:{type:Number},"layerDefinition.drawingInfo.transparency":{type:Number}}}}},read:{source:["layerDefinition.drawingInfo.transparency","drawingInfo.transparency"],reader:(e,r,t)=>t&&"service"!==t.origin||!r.drawingInfo||void 0===r.drawingInfo.transparency?r.layerDefinition?.drawingInfo&&void 0!==r.layerDefinition.drawingInfo.transparency?(0,p.D)(r.layerDefinition.drawingInfo.transparency):void 0:(0,p.D)(r.drawingInfo.transparency)}}},f={type:n.A,readOnly:!0,json:{origins:{service:{read:{source:["fullExtent","spatialReference"],reader:(e,r)=>{const t=n.A.fromJSON(e);return null!=r.spatialReference&&"object"==typeof r.spatialReference&&(t.spatialReference=s.A.fromJSON(r.spatialReference)),t}}}},read:!1}},w={type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}}}},I={type:Number,json:{origins:{service:{write:{enabled:!1}}},name:"layerDefinition.minScale",write:{layerContainerTypes:a.K}}},M={type:Number,json:{origins:{service:{write:{enabled:!1}}},name:"layerDefinition.maxScale",write:{layerContainerTypes:a.K}}},T={json:{write:{ignoreOrigin:!0,layerContainerTypes:a.K},origins:{"web-map":{read:!1,write:!1}}}},C={type:y.A,json:{name:"attributeTableInfo",write:!0}},O=new i.J({High:"high",Medium:"medium",Low:"low",None:"none"}),A={type:O.apiValues,json:{name:"layerDefinition.barrierWeight",default:"high",read:O.read,write:O.write,origins:{service:{read:!1}}}}},6345(e,r,t){t.d(r,{Bu:()=>b,VH:()=>S});var i=t(44208);const a={ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",BingMapsAerial:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",OpenStreetMap:"OpenStreetMapLayer",VectorTileLayer:"VectorTileLayer",WCS:"WCSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},n={ArcGISAnnotationLayer:"AnnotationFeatureLayer",ArcGISDimensionLayer:"DimensionFeatureLayer",ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISStreamLayer:"StreamLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",ArcGISVideoLayer:"VideoLayer",BingMapsAerial:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",CatalogLayer:"CatalogLayer",CSV:"CSVLayer",GeoJSON:"GeoJSONLayer",GeoRSS:"GeoRSSLayer",GroupLayer:"GroupLayer",KML:"KMLLayer",KnowledgeGraphLayer:"KnowledgeGraphLayer",MediaLayer:"MediaLayer",OGCFeatureLayer:"OGCFeatureLayer",OrientedImageryLayer:"OrientedImageryLayer",get ParquetLayer(){return(0,i.A)("parquetlayer-persistence-enabled")?"ParquetLayer":"UnsupportedLayer"},SubtypeGroupLayer:"SubtypeGroupLayer",VectorTileLayer:"VectorTileLayer",WCS:"WCSLayer",WFS:"WFSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},s={ArcGISFeatureLayer:"FeatureLayer",SubtypeGroupTable:"SubtypeGroupLayer"},o={ArcGISImageServiceLayer:"UnsupportedLayer",ArcGISMapServiceLayer:"UnsupportedLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",OpenStreetMap:"OpenStreetMapLayer",VectorTileLayer:"VectorTileLayer",WCS:"UnsupportedLayer",WMS:"UnsupportedLayer",WebTiledLayer:"WebTileLayer"},l={IntegratedMesh3DTilesLayer:"IntegratedMesh3DTilesLayer"},y={ArcGISTiledElevationServiceLayer:"ElevationLayer",RasterDataElevationLayer:"UnsupportedLayer"},p={ArcGISDimensionLayer:"DimensionLayer",ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISTiledElevationServiceLayer:"ElevationLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",BuildingSceneLayer:"BuildingSceneLayer",CatalogLayer:"CatalogLayer",CSV:"CSVLayer",GaussianSplatLayer:"GaussianSplatLayer",GeoJSON:"GeoJSONLayer",GroupLayer:"GroupLayer",IntegratedMesh3DTilesLayer:"IntegratedMesh3DTilesLayer",Object3DTilesLayer:"UnsupportedLayer",IntegratedMeshLayer:"IntegratedMeshLayer",KML:"KMLLayer",LineOfSightLayer:"LineOfSightLayer",MediaLayer:"MediaLayer",OGCFeatureLayer:"OGCFeatureLayer",OrientedImageryLayer:"OrientedImageryLayer",PointCloudLayer:"PointCloudLayer",RasterDataLayer:"UnsupportedLayer",VectorTileLayer:"VectorTileLayer",ViewshedLayer:"ViewshedLayer",Voxel:"VoxelLayer",WCS:"WCSLayer",WFS:"WFSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},u={ArcGISFeatureLayer:"FeatureLayer"},d={...n,LinkChartLayer:"LinkChartLayer"},c=a,g=s,L={ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISStreamLayer:"StreamLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",BuildingSceneLayer:"BuildingSceneLayer",IntegratedMesh3DTilesLayer:"IntegratedMesh3DTilesLayer",IntegratedMeshLayer:"IntegratedMeshLayer",MediaLayer:"MediaLayer",OrientedImageryLayer:"OrientedImageryLayer",PointCloudLayer:"PointCloudLayer",SubtypeGroupLayer:"SubtypeGroupLayer",WCS:"WCSLayer"},m=s;function h(e){switch(e.origin){case"web-scene":switch(e.layerContainerType){case"basemap-base-layers":return o;case"basemap-ground-layers":return l;case"ground":return y;case"tables":return u;default:return p}case"link-chart":switch(e.layerContainerType){case"basemap-base-layers":return c;case"tables":return g;default:return d}default:switch(e.layerContainerType){case"basemap-base-layers":return a;case"tables":return s;case"ground":case"basemap-ground-layers":return;default:return n}}}function S(e,r){if(!r)return"UnknownLayer";if("DefaultTileLayer"===r){let r="UnknownLayer";if("web-scene"===e.origin)switch(e.layerContainerType){case"operational-layers":case"basemap-base-layers":r="TileLayer";break;case"ground":r="ElevationLayer"}else switch(e.layerContainerType){case"basemap-base-layers":case"operational-layers":r="TileLayer"}return r}return h(e)?.[r]??"UnknownLayer"}function b(e,r,t){if(!e?.origin)return!1;switch(e.origin){case"web-map":case"link-chart":if("operational-layers"===e.layerContainerType&&"ArcGISDimensionLayer"===r&&"dimension-feature"!==t)return!1;break;case"web-scene":if("operational-layers"===e.layerContainerType&&"ArcGISTiledElevationServiceLayer"===r)return!1}const i=function(e){if("portal-item"===e.origin)switch(e.layerContainerType){case"basemap-base-layers":case"ground":case"basemap-ground-layers":return;case"tables":return m;default:return L}return h(e)}(e)?.[r];return null!=i&&"UnknownLayer"!==i&&"UnsupportedLayer"!==i}},31756(e,r,t){t.d(r,{j:()=>n});var i=t(86211),a=t(79258);const n={unknown:1,inches:(0,i.oU)(1,"meters","inches"),feet:(0,i.oU)(1,"meters","feet"),"us-feet":(0,i.oU)(1,"meters","us-feet"),yards:(0,i.oU)(1,"meters","yards"),miles:(0,i.oU)(1,"meters","miles"),"nautical-miles":(0,i.oU)(1,"meters","nautical-miles"),millimeters:(0,i.oU)(1,"meters","millimeters"),centimeters:(0,i.oU)(1,"meters","centimeters"),decimeters:(0,i.oU)(1,"meters","decimeters"),meters:(0,i.oU)(1,"meters","meters"),kilometers:(0,i.oU)(1,"meters","kilometers"),"decimal-degrees":1/(0,i.vl)(1,"meters",a.$O.radius)}},88625(e,r,t){t.d(r,{A:()=>S});var i,a=t(5482),n=t(69540),s=t(66552),o=t(25482),l=t(97768),y=t(91429),p=t(30524);let u=i=class extends o.o{constructor(e){super(e),this.expression=void 0,this.title=void 0}async collectRequiredFields(e,r){return(0,p.Dx)(e,r,null,this.expression)}clone(){return new i({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,a.Cg)([(0,y.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"expression",void 0),(0,a.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=i=(0,a.Cg)([(0,y.$K)("esri.symbols.support.FeatureExpressionInfo")],u);const d=u;var c=t(16271),g=t(36005),L=t(43937);const m=(0,s.O)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),h=new s.J({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let S=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.featureExpressionInfo=void 0,this.offset=null}readFeatureExpressionInfo(e,r){return null!=e?e.expression?e:void 0:r.featureExpression&&0===r.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,r,t,i){r[t]=e.write({},i),"0"===e.expression&&(r.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:r}=this;return this._isOverridden("mode")?this._get("mode"):null!=e||r?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,r){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,r):null}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,l.CM)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,a.Cg)([(0,y.MZ)({type:d,json:{write:!0}})],S.prototype,"featureExpressionInfo",void 0),(0,a.Cg)([(0,g.w)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],S.prototype,"readFeatureExpressionInfo",null),(0,a.Cg)([(0,L.K)("featureExpressionInfo",{featureExpressionInfo:{type:d},"featureExpression.value":{type:[0]}})],S.prototype,"writeFeatureExpressionInfo",null),(0,a.Cg)([(0,y.MZ)({type:m.apiValues,nonNullable:!0,json:{type:m.jsonValues,read:m.read,write:{writer:m.write,isRequired:!0}}})],S.prototype,"mode",null),(0,a.Cg)([(0,y.MZ)({type:Number,json:{write:!0}})],S.prototype,"offset",void 0),(0,a.Cg)([(0,y.MZ)({type:c.KQ,json:{type:String,read:h.read,write:h.write}})],S.prototype,"unit",null),S=(0,a.Cg)([(0,y.$K)("esri.symbols.support.ElevationInfo")],S)},16271(e,r,t){t.d(r,{Ao:()=>n,KQ:()=>s});var i=t(4576),a=t(31756);function n(e){return 1/(a.j[e]||1)}const s=function(){const e=Object.keys(a.j);return(0,i.TF)(e,"decimal-degrees"),e.sort(),e}()},43440(e,r,t){t.d(r,{A:()=>O});var i=t(5482),a=t(25482),n=t(4718),s=t(91429),o=t(69540),l=t(10107),y=t(64108);let p=class extends a.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"label",void 0),(0,i.Cg)([(0,l.MZ)()],p.prototype,"type",void 0),p=(0,i.Cg)([(0,y.$)("esri.tables.elements.AttributeTableElement")],p);const u=p;let d=class extends((0,o.OU)(u)){constructor(e){super(e),this.displayType="auto",this.type="attachment"}clone(){return super.clone()}};(0,i.Cg)([(0,s.MZ)({type:["auto"],json:{write:!0}})],d.prototype,"displayType",void 0),(0,i.Cg)([(0,s.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],d.prototype,"type",void 0),d=(0,i.Cg)([(0,s.$K)("esri.tables.elements.AttributeTableAttachmentElement")],d);const c=d;let g=class extends((0,o.OU)(u)){constructor(e){super(e),this.description=null,this.fieldName=null,this.label=null,this.type="field"}clone(){return super.clone()}};(0,i.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],g.prototype,"description",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],g.prototype,"fieldName",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],g.prototype,"label",void 0),(0,i.Cg)([(0,s.MZ)({type:["field"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],g.prototype,"type",void 0),g=(0,i.Cg)([(0,s.$K)("esri.tables.elements.AttributeTableFieldElement")],g);const L=g;var m=t(56507);let h=class extends((0,o.OU)(u)){constructor(e){super(e),this.relationshipId=null,this.type="relationship"}clone(){return super.clone()}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{type:m.jz,write:{enabled:!0,isRequired:!0}}})],h.prototype,"relationshipId",void 0),(0,i.Cg)([(0,s.MZ)({type:["relationship"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],h.prototype,"type",void 0),h=(0,i.Cg)([(0,s.$K)("esri.tables.elements.AttributeTableRelationshipElement")],h);const S=h,b={base:u,key:"type",typeMap:{attachment:c,field:L,relationship:S}};let v=class extends((0,o.OU)(u)){constructor(e){super(e),this.elements=null,this.type="group"}clone(){return super.clone()}};(0,i.Cg)([(0,s.MZ)({types:[b],json:{name:"attributeTableElements",write:!0}})],v.prototype,"elements",void 0),(0,i.Cg)([(0,s.MZ)({type:["group"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],v.prototype,"type",void 0),v=(0,i.Cg)([(0,s.$K)("esri.tables.elements.AttributeTableGroupElement")],v);const f=v;let w=class extends((0,o.OU)(a.o)){constructor(e){super(e),this.field=null,this.order=null}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],w.prototype,"field",void 0),(0,i.Cg)([(0,s.MZ)({type:["asc","desc"],json:{write:!0}})],w.prototype,"order",void 0),w=(0,i.Cg)([(0,s.$K)("esri.tables.support.FieldOrder")],w);const I=w;var M;const T=function(e){return{typesWithGroup:{base:u,key:"type",typeMap:{attachment:c,field:L,group:e,relationship:S}},typesWithoutGroup:b}}(f);let C=M=class extends a.o{constructor(e){super(e),this.elements=null,this.orderByFields=null}clone(){return new M({elements:(0,n.o8)(this.elements),orderByFields:(0,n.o8)(this.orderByFields)})}};(0,i.Cg)([(0,s.MZ)({types:[T.typesWithGroup],json:{name:"attributeTableElements",write:!0}})],C.prototype,"elements",void 0),(0,i.Cg)([(0,s.MZ)({type:[I],json:{write:!0}})],C.prototype,"orderByFields",void 0),C=M=(0,i.Cg)([(0,s.$K)("esri.tables.AttributeTableTemplate")],C);const O=C}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,6061],{61691(t,e,s){s.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,s){s.d(e,{S:()=>n});var r=s(61691);class n extends r.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),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}}},87992(t,e,s){s.d(e,{JR:()=>S,ME:()=>E,MY:()=>P,NO:()=>M,Nh:()=>O,V2:()=>Y,_s:()=>b,e6:()=>I,gh:()=>_,tr:()=>X,uX:()=>p});var r=s(5482),n=s(69397),i=s(16930),a=s(19419),o=s(60408),h=s(21325),u=s(513),l=s(50954),g=s(79567),c=s(52006),m=s(49663),f=s(46068),x=s(92722);class p{constructor({type:t,spatialReference:e,vertexCount:s,vertexXY:r,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:g,segmentCountArc:c,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=s,this.vertexXY=r,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=g,this.segmentCountArc=c,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:s}=this;return t&&t-e-s}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?n.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:s,hasZ:r,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=Y(t,e,s,r,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,s+1)),o.partOffsets.set(t.subarray(0,s+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:s,segmentParams:r,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(s.subarray(0,e),0),o.segmentParams.set(r.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,h.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const s=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,s)=>Math.abs(t-s)>e||isNaN(t)!==isNaN(s);for(let e=0;e<this.vertexCount;++e)if(s(this.vertexXY[2*e],t.vertexXY[2*e])||s(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(s(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(s(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(s(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new v(this):[][Symbol.iterator]()}}class v{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=R(t),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new C(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class C{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=R(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let s=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[s++],r=e[s++],n=e[s++],i=e[s++];return{b:[this.end,[t,r],[n,i]]}}const r=e[s++],n=e[s++],i=e[s++],a=e[s++],o=e[s++],h=e[s++];s++,s++;const u=e[s++],l=e[s++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[u,l]]};const g=2&r?0:1,c=1&r?0:1;return{a:[this.end,[o,h],g,c,a,n,i]}}}function M(t,e){const s={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,r.mS)(s,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:s,vertexXY:n,vertexZ:i,vertexM:o}=t,h=F(t);if(t.hasCurves()){const s={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(s,new A(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:s}of e.segments)(0,g.e)(n,t,s),t=(0,c.yP)(s)}const[i,o,u,l]=n;e={xmin:i,ymin:o,xmax:u,ymax:l,spatialReference:h}}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}else{let t,r,i,a;t=r=1/0,i=a=-1/0;for(let e=0;e<s;++e){const s=n[2*e],o=n[2*e+1];t=Math.min(t,s),i=Math.max(i,s),r=Math.min(r,o),a=Math.max(a,o)}e={xmin:t,ymin:r,xmax:i,ymax:a,spatialReference:h}}if(i){let t=1/0,s=-1/0;for(const e of i)t=Math.min(t,e),s=Math.max(s,e);e.zmin=t,e.zmax=s}if(o){let t=1/0,s=-1/0;for(const e of o)t=Math.min(t,e),s=Math.max(s,e);e.mmin=t,e.mmax=s}return e}(t)),e}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}function E(t){let e,s,r;if((0,o.fT)(t)){r="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),s=[[h]],e=1}else(0,o.U9)(t)?(r="multipoint",s=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",s=t.curvePaths??t.paths,e=s.reduce((t,e)=>t+e.length,0)):(r="polygon",s=t.curveRings??t.rings,e=s.reduce((t,e)=>(0===e.length||(t+=e.length,Z(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const n=Y(r,e,r.includes("point")?0:s.length,(0,o.Pv)(t),(0,o.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:a,vertexXY:h,vertexZ:u,vertexM:l}=n;function g(t){h[2*f]=t[0],h[2*f+1]=t[1],i&&(u[f]=t[2]),a&&(l[f]=t[m]),++f}n.spatialReference=t.spatialReference??void 0;const m=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of s[0])h[2*f]=t,h[2*f+1]=e,++f;return n}for(const t of s[0])g(t);return n}const x="polygon"===r,{partOffsets:p}=n;let v=0;if(!(0,c.Ed)(t)){for(const t of s){if(p[v++]=f,0===t.length)continue;let e=t.length;if(x&&Z(t[0],t.at(-1))&&--e,i||a)for(let s=0;s<e;++s)g(t[s]);else for(let s=0;s<e;++s){const[e,r]=t[s];h[2*f]=e,h[2*f+1]=r,++f}}return p[v]=f,n}function d(t){const e=y+t;if(e<=(n.segmentParams?.length??0))return;let s=e*k;s=20*Math.ceil(s/20);const r=n.segmentParams;n.segmentParams=new Float64Array(s),null!=r&&n.segmentParams.set(r)}let y=0;for(const t of s){if(n.partOffsets[v++]=f,0===t.length)continue;const e=t[0];let s=e;for(let e=1;e<t.length;++e){const r=t[e];g(s);const i=f-1;(0,c.wY)(r)?(d(10),++n.segmentCountArc,y=b(s,r,n,i,y),s=r.a[0]):(0,c.DA)(r)?(d(10),++n.segmentCountArc,y=V(s,r,n,i,y),s=r.a[0]):(0,c.aO)(r)?(d(10),++n.segmentCountArc,y=I(s,r,n,i,y),s=r.c[0]):(0,c.n1)(r)?(d(4),++n.segmentCountBezier,y=X(0,r,n,i,y),s=r.b[0]):s=r}x&&Z(e,s)||g(s)}return n.partOffsets[v]=f,n}function _(t){const e=R(t),{vertexCount:s,partCount:r,hasZ:n,hasM:i}=t,a=F(t);if("point"===t.type){const[e,s]=t.vertexXY,r=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:s,z:r,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<s;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const s=new Array;for(let n=0;n<r;++n){const r=t.partOffsets[n+1],i=new Array;for(;o<r;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),s.push(i)}return h?{rings:s,hasZ:n,hasM:i,spatialReference:a}:{paths:s,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:s}of t.parts){const t=[s];for(const{curve:s}of e)t.push(s);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function O(t,{lengths:e,coords:s,hasZ:r,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);r??=!1,n??=!1;const u=Y(t,h,a,r,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=s[e++],u.vertexXY[2*t+1]=s[e++],r&&(u.vertexZ[t]=s[e++]),n&&(u.vertexM[t]=s[e++]);return u}const l=2+Number(r)+Number(n);let g=0,c=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[c],i=e+t-Number(o);u.partOffsets[++c]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=s[g++],u.vertexXY[2*t+1]=s[g++],r&&(u.vertexZ[t]=s[g++]),n&&(u.vertexM[t]=s[g++]);o&&(g+=l)}return u}function S({type:t,vertexCount:e,vertexXY:s,vertexZ:r,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new x.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let g=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,c=u.coords.length;for(let t=g;t<i;++t)u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t]);if(l){const t=g;u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-c)/u.stride),g=i}return"point"===t&&(u.lengths.length=0),u}function P(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,s=t.isCustomWkid()?0:t.getOldID();if(s<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===s)&&(r=void 0);const n=t.getVCS();if(null==n)return{wkid:s,latestWkid:r,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:s,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const s of e)t[s]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function F({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function R({vertexXY:t,vertexZ:e,vertexM:s}){return e?s?r=>[t[2*r],t[2*r+1],e[r],s[r]]:s=>[t[2*s],t[2*s+1],e[s]]:s?e=>[t[2*e],t[2*e+1],s[e]]:e=>[t[2*e],t[2*e+1]]}function Z(t,e){return t.every((t,s)=>t===e[s])}function Y(t,e,s,r,n,i,a,o){a??=0,o??=0;const h=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:s,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(s+1)*Int32Array.BYTES_PER_ELEMENT,u+=(s+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(u);let g=0;return h.vertexXY=new Float64Array(l,g,2*e),g+=h.vertexXY.byteLength,r&&(h.vertexZ=new Float64Array(l,g,e),g+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,g,e),g+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,g,h.segmentParamCount),g+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,g,e),h.segmentIndices.fill(N),g+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,g,s+1),g+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,g,s+1),g+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,s).fill(1)),i&&(h.segmentFlags=new Int8Array(l,g,e),h.segmentFlags.fill(1),g+=h.segmentFlags.byteLength),h}function b(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const[o,[h,u],l,g,c,m,x]=e.a;let p=4;g||(p|=1),l||(p|=2);const v=(0,f.SW)(t,e),[d,y]=(0,f.Uk)(v,.5);return n[a++]=p,n[a++]=m,n[a++]=x,n[a++]=c,n[a++]=h,n[a++]=u,n[a++]=v.u2-v.u1,n[a++]=v.u1,n[a++]=d,n[a++]=y,a}function V(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const o=(0,m.io)(t,e);return w(o,4,...(0,u.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){return s[i]=4,r[i]=a,w((0,l.pM)(t,e),0,...e.c[1],n,a)}function w(t,e,s,r,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=s,n[i++]=r,i}function X(t,{b:[e,[s,r],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=s,h[l++]=r,h[l++]=n,h[l++]=i,l}const k=1.61803,N=-1}}]);