@arcgis/core 5.2.0-next.87 → 5.2.0-next.89

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 (679) hide show
  1. package/Graphic.js +1 -1
  2. package/arcade/Dictionary.js +1 -1
  3. package/arcade/Feature.js +1 -1
  4. package/arcade/ImmutablePointArray.js +1 -1
  5. package/arcade/Pixel.js +1 -1
  6. package/arcade/Voxel.js +1 -1
  7. package/arcade/arcadeAsyncRuntime.js +1 -1
  8. package/arcade/arcadeCompiler.js +1 -1
  9. package/arcade/arcadeRuntime.js +1 -1
  10. package/arcade/containerUtils.js +1 -1
  11. package/arcade/debug.js +1 -1
  12. package/arcade/deepClone.js +1 -1
  13. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  14. package/arcade/featureset/support/FeatureSet.js +1 -1
  15. package/arcade/functions/centroid.js +1 -1
  16. package/arcade/functions/date.js +1 -1
  17. package/arcade/functions/feature.js +1 -1
  18. package/arcade/functions/featuresetbase.js +1 -1
  19. package/arcade/functions/featuresetgeom.js +1 -1
  20. package/arcade/functions/featuresetstats.js +1 -1
  21. package/arcade/functions/featuresetstring.js +1 -1
  22. package/arcade/functions/fieldStats.js +1 -1
  23. package/arcade/functions/geomasync.js +1 -1
  24. package/arcade/functions/geometry.js +1 -1
  25. package/arcade/functions/geomsync.js +1 -1
  26. package/arcade/functions/knowledgegraph.js +1 -1
  27. package/arcade/functions/maths.js +1 -1
  28. package/arcade/functions/stats.js +1 -1
  29. package/arcade/functions/string.js +1 -1
  30. package/arcade/functions/track.js +1 -1
  31. package/arcade/geometry/adapters/accessor.js +2 -0
  32. package/arcade/geometry/adapters/dehydrated.js +2 -0
  33. package/arcade/geometry/adapters/gx.js +2 -0
  34. package/arcade/geometry/adapters/json.js +2 -0
  35. package/arcade/geometry/adapters/optimized.js +2 -0
  36. package/arcade/geometry/adapters/tuple.js +2 -0
  37. package/arcade/geometry/adapters/utils.js +2 -0
  38. package/arcade/geometry/arrayOfPointsConversions.js +2 -0
  39. package/arcade/geometry/constructors.js +1 -1
  40. package/arcade/geometry/functions.js +1 -1
  41. package/arcade/geometry/isSelfIntersecting.js +2 -0
  42. package/arcade/geometry/nearestCoordinate.js +2 -0
  43. package/arcade/geometry/nearestVertex.js +1 -1
  44. package/arcade/geometry/operators.js +1 -1
  45. package/arcade/geometry/operatorsWorker.js +1 -1
  46. package/arcade/geometry/rotate.js +1 -1
  47. package/arcade/geometry.js +2 -0
  48. package/arcade/languageUtils.js +1 -1
  49. package/arcade.js +1 -1
  50. package/arcgisGlobal.d.ts +1 -0
  51. package/assets/esri/core/workers/RemoteClient.js +1 -1
  52. package/assets/esri/core/workers/chunks/{0b8c9657975388f1e4c8.js → 00181785a180e934bf7c.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{01e648b258efa6408070.js → 0336f4f8498a22347720.js} +1 -1
  54. package/assets/esri/core/workers/chunks/05393b23ab24126d4236.js +1 -0
  55. package/assets/esri/core/workers/chunks/07613ecf13c38ad58b79.js +1 -0
  56. package/assets/esri/core/workers/chunks/08263c07d92c48806834.js +1 -0
  57. package/assets/esri/core/workers/chunks/090ea7a131f8f60203ed.js +1 -0
  58. package/assets/esri/core/workers/chunks/09e01fd1c199be0c8e03.js +1 -0
  59. package/assets/esri/core/workers/chunks/{12d6d73ca1fa55640a4f.js → 0b4a7209b99227a842ad.js} +1 -1
  60. package/assets/esri/core/workers/chunks/0d95f72e1c07ab867d21.js +1 -0
  61. package/assets/esri/core/workers/chunks/0dbbac7a2378728571a7.js +1 -0
  62. package/assets/esri/core/workers/chunks/0f15468ffefd3e9a17b8.js +29 -0
  63. package/assets/esri/core/workers/chunks/13e92f6a9573a2818fb7.js +1 -0
  64. package/assets/esri/core/workers/chunks/159b16f47665f94a0305.js +1 -0
  65. package/assets/esri/core/workers/chunks/15f4f7e34e14e3cf52e6.js +1 -0
  66. package/assets/esri/core/workers/chunks/19e93d4d37018e3ee849.js +1 -0
  67. package/assets/esri/core/workers/chunks/{911f3a1b8dd4bc5c9782.js → 1bf5c0a4bc5a960a3fa2.js} +1 -1
  68. package/assets/esri/core/workers/chunks/1bf967c68d0c795d3fb4.js +1 -0
  69. package/assets/esri/core/workers/chunks/1c378d489c5402888f76.js +1 -0
  70. package/assets/esri/core/workers/chunks/1d1e8d8b1fcf2d9f3dfc.js +1 -0
  71. package/assets/esri/core/workers/chunks/{e5c8f9fef88ca33624e9.js → 1e087fb13b7b0a5d6fec.js} +1 -1
  72. package/assets/esri/core/workers/chunks/1e192ac0533a5c0b5a7a.js +1 -0
  73. package/assets/esri/core/workers/chunks/1f9d6180a96d557838e9.js +1 -0
  74. package/assets/esri/core/workers/chunks/1fe077f57a087c0e9119.js +1 -0
  75. package/assets/esri/core/workers/chunks/20f6e681ccd8bf884b77.js +1 -0
  76. package/assets/esri/core/workers/chunks/212222b64039d436b9a6.js +1 -0
  77. package/assets/esri/core/workers/chunks/22c94f9a69b2157f8dbd.js +1 -0
  78. package/assets/esri/core/workers/chunks/23addf8b11938e0c96e9.js +1 -0
  79. package/assets/esri/core/workers/chunks/25a2e02677a74834c8b5.js +1 -0
  80. package/assets/esri/core/workers/chunks/26ecc841396e5e719b6a.js +1 -0
  81. package/assets/esri/core/workers/chunks/27c0bed59626c7f64125.js +1 -0
  82. package/assets/esri/core/workers/chunks/2bc3e7f394386fa75447.js +1 -0
  83. package/assets/esri/core/workers/chunks/2c9783e3b44986e86797.js +1 -0
  84. package/assets/esri/core/workers/chunks/2ceb07b125c84b51f02a.js +1 -0
  85. package/assets/esri/core/workers/chunks/2cf2f2842c19be84ab4d.js +1 -0
  86. package/assets/esri/core/workers/chunks/2d07d5a9ec67c39ef10c.js +1 -0
  87. package/assets/esri/core/workers/chunks/{a7c715648a07ed70b122.js → 2ec44ebc48beeba11201.js} +1 -1
  88. package/assets/esri/core/workers/chunks/2f2d699b072472fa710e.js +1 -0
  89. package/assets/esri/core/workers/chunks/2f3bbc1f7d4abbbeec2f.js +1 -0
  90. package/assets/esri/core/workers/chunks/30af0f7c4cfa541c9efd.js +1 -0
  91. package/assets/esri/core/workers/chunks/30d816bdeea00f6fa1ca.js +1 -0
  92. package/assets/esri/core/workers/chunks/{39c0a3eb6a870953d530.js → 31a0620a6028e94c7532.js} +3 -3
  93. package/assets/esri/core/workers/chunks/32f11b4aeae1ef00e466.js +1 -0
  94. package/assets/esri/core/workers/chunks/37adb55d9f83faad1712.js +1 -0
  95. package/assets/esri/core/workers/chunks/3869dca884d7ca6488f5.js +1 -0
  96. package/assets/esri/core/workers/chunks/39b6a5222f45cb8dbc94.js +1 -0
  97. package/assets/esri/core/workers/chunks/3a9c6f58a1a065c14017.js +1 -0
  98. package/assets/esri/core/workers/chunks/3aceedec9abfb2fdfa18.js +1 -0
  99. package/assets/esri/core/workers/chunks/3b552afffaa78bf4fe18.js +1 -0
  100. package/assets/esri/core/workers/chunks/{fe06cc2f90b2d551e4c1.js → 3bbd2d4a19c3b7ad82e4.js} +1 -1
  101. package/assets/esri/core/workers/chunks/3de07326da4c47cd2aab.js +1 -0
  102. package/assets/esri/core/workers/chunks/3f5234120d3a14186c1c.js +1 -0
  103. package/assets/esri/core/workers/chunks/3f82410d9f701e7ad8eb.js +1 -0
  104. package/assets/esri/core/workers/chunks/{dbd6bbd3e834ff9d220e.js → 41cf6163758d28fb1968.js} +1 -1
  105. package/assets/esri/core/workers/chunks/45858d1c6487f4a98e40.js +1 -0
  106. package/assets/esri/core/workers/chunks/45c1c90ac6c14657f3ff.js +1 -0
  107. package/assets/esri/core/workers/chunks/46f8c7ae7fb356c3410d.js +1 -0
  108. package/assets/esri/core/workers/chunks/486f1a3b7269ce6c3911.js +1 -0
  109. package/assets/esri/core/workers/chunks/497c5a9c95e9a89ac217.js +1 -0
  110. package/assets/esri/core/workers/chunks/49d36e54644dc2966128.js +1 -0
  111. package/assets/esri/core/workers/chunks/4aefe6fd4d725a107758.js +1 -0
  112. package/assets/esri/core/workers/chunks/4b6f433022a6822706cb.js +1 -0
  113. package/assets/esri/core/workers/chunks/4c7264e3f4156f92d613.js +1 -0
  114. package/assets/esri/core/workers/chunks/4ee99e654dad6f09abee.js +1 -0
  115. package/assets/esri/core/workers/chunks/50525b617ef78086d3c7.js +1 -0
  116. package/assets/esri/core/workers/chunks/{a7727a2377470d586ff9.js → 51c9bd7c03d780fadebc.js} +1 -1
  117. package/assets/esri/core/workers/chunks/5235b9c21ac4156c2375.js +1 -0
  118. package/assets/esri/core/workers/chunks/52422500ca3d6cf2e596.js +1 -0
  119. package/assets/esri/core/workers/chunks/527b87fddf33bb5d519e.js +1 -0
  120. package/assets/esri/core/workers/chunks/{a4bae2396fae48b57047.js → 595edbc1e9bba47d5676.js} +1 -1
  121. package/assets/esri/core/workers/chunks/5af16937904c06fb06f6.js +1 -0
  122. package/assets/esri/core/workers/chunks/5bf65dbfd9c7a5ea187d.js +1 -0
  123. package/assets/esri/core/workers/chunks/5d7a5aa608ed6192b016.js +1 -0
  124. package/assets/esri/core/workers/chunks/5d9c92c4e60a4696fdad.js +1 -0
  125. package/assets/esri/core/workers/chunks/5ed7bc9e6cb7cdee92e2.js +1 -0
  126. package/assets/esri/core/workers/chunks/{272c8ccdbd3dcc14e99b.js → 5ed89c862eee1345e3af.js} +1 -1
  127. package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +1 -0
  128. package/assets/esri/core/workers/chunks/607acd9f615f87e14075.js +1 -0
  129. package/assets/esri/core/workers/chunks/62ee6c247f783acabb74.js +1 -0
  130. package/assets/esri/core/workers/chunks/64ce2d060ae7cdd412cf.js +1 -0
  131. package/assets/esri/core/workers/chunks/65f4ca7201e7267bfc81.js +1 -0
  132. package/assets/esri/core/workers/chunks/67efdd296007a809586c.js +1 -0
  133. package/assets/esri/core/workers/chunks/680557b8832fbdab7f46.js +1 -0
  134. package/assets/esri/core/workers/chunks/691434d4c6a38e63d819.js +1 -0
  135. package/assets/esri/core/workers/chunks/{ba67aaa08e4f11e1140a.js → 696cb3bf167327d5b0b9.js} +1 -1
  136. package/assets/esri/core/workers/chunks/69700ed16727ed0c4e3a.js +1 -0
  137. package/assets/esri/core/workers/chunks/6a2d890640b2cd6c5ccb.js +1 -0
  138. package/assets/esri/core/workers/chunks/6b84982dfaf084a61b93.js +1 -0
  139. package/assets/esri/core/workers/chunks/{7343a44a2382a1d68497.js → 6b9dbf43c0659e55c539.js} +1 -1
  140. package/assets/esri/core/workers/chunks/6de5c6af62776e1b9776.js +1 -0
  141. package/assets/esri/core/workers/chunks/71308dca3fd05687e7bd.js +1 -0
  142. package/assets/esri/core/workers/chunks/75bddfe2be64379db8fd.js +1 -0
  143. package/assets/esri/core/workers/chunks/777f2fdf1f4b9f243893.js +1 -0
  144. package/assets/esri/core/workers/chunks/78085f804969c9282700.js +1 -0
  145. package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +1 -0
  146. package/assets/esri/core/workers/chunks/7c56446184abcd14678b.js +1 -0
  147. package/assets/esri/core/workers/chunks/7e41cee4a0ae75e1490d.js +1 -0
  148. package/assets/esri/core/workers/chunks/7f55a150e4da02786311.js +1 -0
  149. package/assets/esri/core/workers/chunks/847b02d188ece9b563ad.js +1 -0
  150. package/assets/esri/core/workers/chunks/86c3d3c7015f1cd55fac.js +1 -0
  151. package/assets/esri/core/workers/chunks/87e0ceb1a64ab08e679a.js +1 -0
  152. package/assets/esri/core/workers/chunks/903c7bd079888f65fef1.js +1 -0
  153. package/assets/esri/core/workers/chunks/9226205850e35b7fc610.js +1 -0
  154. package/assets/esri/core/workers/chunks/94453d075ce02eff4844.js +1 -0
  155. package/assets/esri/core/workers/chunks/9474c913e53f69679197.js +1 -0
  156. package/assets/esri/core/workers/chunks/94ddfe165ac25aef8229.js +1 -0
  157. package/assets/esri/core/workers/chunks/{75a2c43311f5f9058f62.js → 94f62ff81cc6fb83e73f.js} +1 -1
  158. package/assets/esri/core/workers/chunks/95ccac3734ac70387b03.js +1 -0
  159. package/assets/esri/core/workers/chunks/97c7dfd29ad4c2966cb4.js +1 -0
  160. package/assets/esri/core/workers/chunks/{1354b8442c2c501238f1.js → 986c5024f22bbfc49aba.js} +1 -1
  161. package/assets/esri/core/workers/chunks/9b81bd62a2c72f592db1.js +1 -0
  162. package/assets/esri/core/workers/chunks/{62596065747abce1964d.js → 9b8e33985310f281f084.js} +1 -1
  163. package/assets/esri/core/workers/chunks/9e2b3754a76e0dd4a94a.js +1 -0
  164. package/assets/esri/core/workers/chunks/a03e7333e3328036f478.js +1 -0
  165. package/assets/esri/core/workers/chunks/a0565137027c83108953.js +1 -0
  166. package/assets/esri/core/workers/chunks/a176727a1148ca4fb432.js +1 -0
  167. package/assets/esri/core/workers/chunks/a3b403f8acb90af19adb.js +1 -0
  168. package/assets/esri/core/workers/chunks/a4596f028758649da099.js +1 -0
  169. package/assets/esri/core/workers/chunks/a46ac0be9aabc4cfedc7.js +1 -0
  170. package/assets/esri/core/workers/chunks/a4a22149077c7780481c.js +1 -0
  171. package/assets/esri/core/workers/chunks/a6ab627e965fe7e5bd52.js +1 -0
  172. package/assets/esri/core/workers/chunks/a6d4132a16c51323a38a.js +1 -0
  173. package/assets/esri/core/workers/chunks/a7954ad55a241af9064f.js +1 -0
  174. package/assets/esri/core/workers/chunks/a7e6382ecc91c876117f.js +1 -0
  175. package/assets/esri/core/workers/chunks/a88bf8ae93077e1b48cf.js +1 -0
  176. package/assets/esri/core/workers/chunks/a8b878c12cb1a6ea012b.js +1 -0
  177. package/assets/esri/core/workers/chunks/{ec0803cfa5051c4d300d.js → aa0ef4493a7e9bed159f.js} +1 -1
  178. package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +1 -0
  179. package/assets/esri/core/workers/chunks/add834f867900a7091d2.js +1 -0
  180. package/assets/esri/core/workers/chunks/{bbf4c2ee4d56bb0f1a81.js → afa6b74d9ca9ed0154af.js} +1 -1
  181. package/assets/esri/core/workers/chunks/b0e25ccb5a1e57a82628.js +1 -0
  182. package/assets/esri/core/workers/chunks/b17a9853250ab626d58d.js +1 -0
  183. package/assets/esri/core/workers/chunks/b19cff0e43fab2632660.js +1 -0
  184. package/assets/esri/core/workers/chunks/b2e2234fdf8e05bc3312.js +1 -0
  185. package/assets/esri/core/workers/chunks/b6063d1755def00d4889.js +1 -0
  186. package/assets/esri/core/workers/chunks/bb56ab53c5a10c9518a6.js +1 -0
  187. package/assets/esri/core/workers/chunks/bd1a7e95a797e1ed4a7b.js +1 -0
  188. package/assets/esri/core/workers/chunks/bd2602195e265f8fdb15.js +1 -0
  189. package/assets/esri/core/workers/chunks/bdfffa5f88b559a4b42d.js +1 -0
  190. package/assets/esri/core/workers/chunks/{f762f0f6c83748d8e328.js → bee411f08e2a9499f8f5.js} +1 -1
  191. package/assets/esri/core/workers/chunks/bf11319138facf44752c.js +1 -0
  192. package/assets/esri/core/workers/chunks/bf357afbabaa8dec4d75.js +1 -0
  193. package/assets/esri/core/workers/chunks/bf7875fda48b15271a10.js +1 -0
  194. package/assets/esri/core/workers/chunks/bfa59005a9b191d18546.js +1 -0
  195. package/assets/esri/core/workers/chunks/bfb8fc6b940bd5510e29.js +1 -0
  196. package/assets/esri/core/workers/chunks/{b311658b8a223efe35d6.js → c0e073a77484b0dfd383.js} +1 -1
  197. package/assets/esri/core/workers/chunks/c13aa45ccd5efb662f88.js +1 -0
  198. package/assets/esri/core/workers/chunks/c176df477bbbbc9c6922.js +1 -0
  199. package/assets/esri/core/workers/chunks/{073224c6ac77dc9e97af.js → c23943e51734254d31e8.js} +1 -1
  200. package/assets/esri/core/workers/chunks/c35553d07ad169910742.js +1 -0
  201. package/assets/esri/core/workers/chunks/c4fef90cf08bbe4f0bb5.js +1 -0
  202. package/assets/esri/core/workers/chunks/c5c2fed38e0ccf84f1fa.js +1 -0
  203. package/assets/esri/core/workers/chunks/c80277a313205853a857.js +1 -0
  204. package/assets/esri/core/workers/chunks/c88bfa51d2a8a024fc24.js +1 -0
  205. package/assets/esri/core/workers/chunks/c91042f8bf886056a29c.js +1 -0
  206. package/assets/esri/core/workers/chunks/ca204c110438f7315790.js +1 -0
  207. package/assets/esri/core/workers/chunks/ca36d85a47179d95f2fc.js +1 -0
  208. package/assets/esri/core/workers/chunks/cb6fb04fe5c8d90d4196.js +1 -0
  209. package/assets/esri/core/workers/chunks/ccaeabc3be07f3c96f50.js +1 -0
  210. package/assets/esri/core/workers/chunks/{85f459297b0214141d43.js → cd02a6078443b8f63927.js} +1 -1
  211. package/assets/esri/core/workers/chunks/{3a36c132ceddef3d15c8.js → cdbcc4cd9145dd93db49.js} +1 -1
  212. package/assets/esri/core/workers/chunks/{e90feee1756a2209f93f.js → ce9fe1a89b474f9e7ee7.js} +1 -1
  213. package/assets/esri/core/workers/chunks/d0cf9ff48f051adbd455.js +1 -0
  214. package/assets/esri/core/workers/chunks/d119671a32a050517cca.js +1 -0
  215. package/assets/esri/core/workers/chunks/d26be8313526ecea9c68.js +1 -0
  216. package/assets/esri/core/workers/chunks/d270b49c037085503016.js +1 -0
  217. package/assets/esri/core/workers/chunks/{f5eee6e548bb24b5a003.js → d30a7fc8dab4ebb8893b.js} +1 -1
  218. package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +1 -0
  219. package/assets/esri/core/workers/chunks/d36bbda9b7261534568f.js +1 -0
  220. package/assets/esri/core/workers/chunks/d4b0012ae1d3b8a9ba01.js +1 -0
  221. package/assets/esri/core/workers/chunks/d58d6b55b2749a535eb3.js +1 -0
  222. package/assets/esri/core/workers/chunks/d6f7aa280f1bd201d4ef.js +1 -0
  223. package/assets/esri/core/workers/chunks/{60f490afdbe299f89669.js → d871572997600930e017.js} +1 -1
  224. package/assets/esri/core/workers/chunks/da9aacdb0b4a04f42fb8.js +1 -0
  225. package/assets/esri/core/workers/chunks/daf7b647bd960d8bad56.js +1 -0
  226. package/assets/esri/core/workers/chunks/{10ac92dcd3738ec23dfb.js → db04c1bad40d068306ba.js} +1 -1
  227. package/assets/esri/core/workers/chunks/{3427f0c026301bcf7272.js → db180f8d25471cfa48af.js} +1 -1
  228. package/assets/esri/core/workers/chunks/ddf284648a73b6993737.js +1 -0
  229. package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +1 -0
  230. package/assets/esri/core/workers/chunks/e1682e94cc714197ebb4.js +1 -0
  231. package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +1 -0
  232. package/assets/esri/core/workers/chunks/e370a3337b3c90240e73.js +1 -0
  233. package/assets/esri/core/workers/chunks/e39bccc000c768120a32.js +1 -0
  234. package/assets/esri/core/workers/chunks/e40e08029325f43452d0.js +1 -0
  235. package/assets/esri/core/workers/chunks/e50adcfb392adfb3f79c.js +1 -0
  236. package/assets/esri/core/workers/chunks/{0d7d54e74b5639a0be6e.js → e707534a700a2de687ca.js} +1 -1
  237. package/assets/esri/core/workers/chunks/e823c9ccb7bc348d8824.js +1 -0
  238. package/assets/esri/core/workers/chunks/e88eee4c2fc4229c2a8b.js +1 -0
  239. package/assets/esri/core/workers/chunks/e9f29019aa78f07ace66.js +1 -0
  240. package/assets/esri/core/workers/chunks/ea75c23c44452f45a949.js +1 -0
  241. package/assets/esri/core/workers/chunks/ea91c57a0b31f3f65ee5.js +1 -0
  242. package/assets/esri/core/workers/chunks/eda04911553cf99fb99b.js +1 -0
  243. package/assets/esri/core/workers/chunks/ee77999df3785468b2b6.js +1 -0
  244. package/assets/esri/core/workers/chunks/ef851a2cff76fd211c07.js +1 -0
  245. package/assets/esri/core/workers/chunks/f106cc7f559856f69b9f.js +1 -0
  246. package/assets/esri/core/workers/chunks/f247f3c5148fa0237a7c.js +1 -0
  247. package/assets/esri/core/workers/chunks/{a26dc2647a15b830390e.js → f253875feb11883deb84.js} +1 -1
  248. package/assets/esri/core/workers/chunks/f3716ce04d09af31cfb1.js +1 -0
  249. package/assets/esri/core/workers/chunks/f3d57c5b9dffd12e45b4.js +1 -0
  250. package/assets/esri/core/workers/chunks/f3e53be08ab9dbdf17ae.js +1 -0
  251. package/assets/esri/core/workers/chunks/f43ae1c2f89e1c4396cc.js +1 -0
  252. package/assets/esri/core/workers/chunks/f60ed579981913d44675.js +1 -0
  253. package/assets/esri/core/workers/chunks/{147d1e7e2852a4197e5f.js → f665fb4c5633e0a459d8.js} +1 -1
  254. package/assets/esri/core/workers/chunks/f66e597e524b26e61cd3.js +1 -0
  255. package/assets/esri/core/workers/chunks/{bec140a69cfdb0519680.js → f74c7cbe4bd12f73ae90.js} +1 -1
  256. package/assets/esri/core/workers/chunks/{e6f6b38eda34708d61c5.js → f7f2102b16d201e5f531.js} +1 -1
  257. package/assets/esri/core/workers/chunks/f82ae237452b97cfc024.js +1 -0
  258. package/assets/esri/core/workers/chunks/f83c3597e9332bd991eb.js +1 -0
  259. package/assets/esri/core/workers/chunks/f8a6d8cdcabcd1d511b6.js +1 -0
  260. package/assets/esri/core/workers/chunks/f8f7b86bbd62106bc3d4.js +1 -0
  261. package/assets/esri/core/workers/chunks/f9a4387f850d85c44ca5.js +1 -0
  262. package/assets/esri/core/workers/chunks/fbc7576ed12964059da6.js +1 -0
  263. package/assets/esri/core/workers/chunks/fdd0e6d9927d3c43b0d3.js +1 -0
  264. package/assets/esri/core/workers/chunks/fddcb8be714ad18ad0c8.js +1 -0
  265. package/assets/esri/core/workers/chunks/{baa46edd87e97f922128.js → ffe749d790320dddfa74.js} +1 -1
  266. package/chunks/Bufferer-CclWhXVb.js +1 -1
  267. package/chunks/Distance2DCalculator-DjIp2uQi.js +1 -1
  268. package/chunks/Envelope.js +1 -1
  269. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +1 -1
  270. package/chunks/GeodeticUtils.js +1 -1
  271. package/chunks/GeographicTransformation.js +1 -1
  272. package/chunks/Geometry.js +1 -1
  273. package/chunks/GlowComposite.glsl.js +9 -7
  274. package/chunks/MultiPathImpl.js +1 -1
  275. package/chunks/OperatorCentroid2D.js +1 -1
  276. package/chunks/OperatorContains.js +2 -0
  277. package/chunks/OperatorCrosses.js +1 -1
  278. package/chunks/OperatorCut.js +1 -1
  279. package/chunks/OperatorDisjoint.js +2 -0
  280. package/chunks/OperatorDistance.js +2 -0
  281. package/chunks/OperatorEquals.js +2 -0
  282. package/chunks/OperatorGeodesicBuffer.js +1 -1
  283. package/chunks/OperatorGeodeticArea.js +1 -1
  284. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  285. package/chunks/OperatorGeodeticLength.js +1 -1
  286. package/chunks/OperatorGraphicBuffer.js +1 -1
  287. package/chunks/OperatorIntegrate.js +1 -1
  288. package/chunks/OperatorIntersects.js +1 -1
  289. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  290. package/chunks/OperatorOverlaps.js +1 -1
  291. package/chunks/OperatorProximity.js +1 -1
  292. package/chunks/OperatorProximityGeodesic.js +1 -1
  293. package/chunks/OperatorRelate.js +2 -0
  294. package/chunks/OperatorShapePreservingLength.js +1 -1
  295. package/chunks/OperatorShapePreservingProject.js +1 -1
  296. package/chunks/OperatorSimplifyOGC.js +1 -1
  297. package/chunks/OperatorTouches.js +1 -1
  298. package/chunks/OperatorWithin.js +1 -1
  299. package/chunks/Point2D.js +1 -1
  300. package/chunks/ProjectionTransformation.js +1 -1
  301. package/chunks/SideCalculator2D-DX0718xq.js +1 -1
  302. package/chunks/UnitFactory.js +1 -1
  303. package/chunks/aiServices.js +1 -1
  304. package/chunks/array.js +1 -1
  305. package/chunks/boundedPlane.js +1 -1
  306. package/chunks/cameraUtilsSpherical.js +1 -1
  307. package/chunks/languageUtils.js +1 -1
  308. package/config.js +1 -1
  309. package/core/accessorSupport/Property.js +1 -1
  310. package/core/sql/TimeOnly.js +1 -1
  311. package/core/units.js +1 -1
  312. package/editing/sharedTemplates/executor/builders/bufferLineToPolygon.js +1 -1
  313. package/editing/sharedTemplates/executor/builders/bufferPointToPolygon.js +1 -1
  314. package/editing/sharedTemplates/executor/builders/bufferPolygonToPolygon.js +1 -1
  315. package/editing/sharedTemplates/executor/builders/pointAtIntersectionVerticesOfLine.js +1 -1
  316. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  317. package/form/elements/inputs/inputUtils.js +1 -1
  318. package/geometry/operators/areaOperator.js +1 -1
  319. package/geometry/operators/bufferOperator.js +1 -1
  320. package/geometry/operators/centroidOperator.js +1 -1
  321. package/geometry/operators/clipOperator.js +1 -1
  322. package/geometry/operators/containsOperator.js +1 -1
  323. package/geometry/operators/convexHullOperator.js +1 -1
  324. package/geometry/operators/crossesOperator.js +1 -1
  325. package/geometry/operators/cutOperator.js +1 -1
  326. package/geometry/operators/densifyOperator.js +1 -1
  327. package/geometry/operators/differenceOperator.js +1 -1
  328. package/geometry/operators/disjointOperator.js +1 -1
  329. package/geometry/operators/distanceOperator.js +1 -1
  330. package/geometry/operators/equalsOperator.js +1 -1
  331. package/geometry/operators/generalizeOperator.js +1 -1
  332. package/geometry/operators/geodesicBufferOperator.js +1 -1
  333. package/geometry/operators/geodeticAreaOperator.js +1 -1
  334. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  335. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  336. package/geometry/operators/geodeticLengthOperator.js +1 -1
  337. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  338. package/geometry/operators/gx/operatorBuffer.js +1 -1
  339. package/geometry/operators/gx/operatorDifference.js +1 -1
  340. package/geometry/operators/gx/operatorIntersection.js +1 -1
  341. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  342. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  343. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  344. package/geometry/operators/gx/operatorSimplify.js +1 -1
  345. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  346. package/geometry/operators/gx/operatorUnion.js +1 -1
  347. package/geometry/operators/intersectionOperator.js +1 -1
  348. package/geometry/operators/intersectsOperator.js +1 -1
  349. package/geometry/operators/json/containsOperator.js +1 -1
  350. package/geometry/operators/json/crossesOperator.js +1 -1
  351. package/geometry/operators/json/disjointOperator.js +1 -1
  352. package/geometry/operators/json/intersectsOperator.js +1 -1
  353. package/geometry/operators/json/overlapsOperator.js +1 -1
  354. package/geometry/operators/json/touchesOperator.js +1 -1
  355. package/geometry/operators/json/unionOperator.js +1 -1
  356. package/geometry/operators/json/withinOperator.js +1 -1
  357. package/geometry/operators/labelPointOperator.js +1 -1
  358. package/geometry/operators/lengthOperator.js +1 -1
  359. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  360. package/geometry/operators/offsetOperator.js +1 -1
  361. package/geometry/operators/overlapsOperator.js +1 -1
  362. package/geometry/operators/proximityOperator.js +1 -1
  363. package/geometry/operators/relateOperator.js +1 -1
  364. package/geometry/operators/reshapeOperator.js +1 -1
  365. package/geometry/operators/simplifyOGCOperator.js +1 -1
  366. package/geometry/operators/simplifyOperator.js +1 -1
  367. package/geometry/operators/support/apiConverter.js +1 -1
  368. package/geometry/operators/support/jsonConverter.js +1 -1
  369. package/geometry/operators/support/projectionTransformation.js +1 -1
  370. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  371. package/geometry/operators/touchesOperator.js +1 -1
  372. package/geometry/operators/unionOperator.js +1 -1
  373. package/geometry/operators/withinOperator.js +1 -1
  374. package/geometry/support/convexPolyhedron.js +1 -1
  375. package/geometry/support/curves/circleUtils.js +1 -1
  376. package/geometry/support/curves/ellipticArc7Utils.js +1 -1
  377. package/geometry/support/frustum.js +1 -1
  378. package/geometry/support/plane.js +1 -1
  379. package/geometry/support/webMercatorUtils.js +1 -1
  380. package/kernel.js +1 -1
  381. package/layers/VectorTileLayer.js +1 -1
  382. package/layers/graphics/data/FlatFeatureStore.js +1 -1
  383. package/layers/graphics/data/QueryEngine.js +1 -1
  384. package/layers/graphics/hydratedFeatures.js +1 -1
  385. package/layers/mixins/DataSeriesLayer.js +1 -1
  386. package/layers/support/csvUtils.js +1 -1
  387. package/layers/support/fieldUtils.js +1 -1
  388. package/layers/video/VideoController.js +1 -1
  389. package/package.json +4 -4
  390. package/support/ArcadeExpression.js +1 -1
  391. package/support/arcadeUtils.js +1 -1
  392. package/support/loadArcade.js +1 -1
  393. package/support/revision.js +1 -1
  394. package/support/tests/serviceMockDependencies.js +1 -1
  395. package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
  396. package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementController.js +1 -1
  397. package/views/2d/engine/vectorTiles/TileManager.js +1 -1
  398. package/views/2d/engine/webgl/util/Fader.js +1 -1
  399. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  400. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  401. package/views/3d/analysis/LineOfSight/LineOfSightConfiguration.js +1 -1
  402. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  403. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  404. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  405. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementController.js +1 -1
  406. package/views/3d/input/SceneInputManager.js +1 -1
  407. package/views/3d/input/handlers/RopePullNavigation.js +2 -0
  408. package/views/3d/layers/I3SMeshView3D.js +1 -1
  409. package/views/3d/layers/IntegratedMeshNormals.js +1 -1
  410. package/views/3d/layers/TiledLayerView3D.js +1 -1
  411. package/views/3d/layers/graphics/featureExpressionInfoUtils.js +1 -1
  412. package/views/3d/layers/i3s/I3SNode.js +1 -1
  413. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  414. package/views/3d/layers/i3s/SweptSphereVolume.js +1 -1
  415. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  416. package/views/3d/layers/support/IntegratedMesh3DTilesVertexProcessing.js +1 -1
  417. package/views/3d/state/Frustum.js +1 -1
  418. package/views/3d/state/controllers/RopePullController.js +2 -0
  419. package/views/3d/state/utils/ropePullUtils.js +1 -1
  420. package/views/3d/support/ElevationAgnosticVisibility.js +1 -1
  421. package/views/3d/support/sphericalTileUtils.js +1 -1
  422. package/views/3d/terrain/PlanarPatch.js +1 -1
  423. package/views/3d/terrain/SphericalPatch.js +1 -1
  424. package/views/3d/terrain/Tile.js +1 -1
  425. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  426. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  427. package/views/3d/webgl-engine/lib/LineMaterial.js +2 -0
  428. package/views/3d/webgl-engine/lib/Material.js +1 -1
  429. package/views/3d/webgl-engine/lib/PointMaterial.js +2 -0
  430. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  431. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  432. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  433. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  434. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  435. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  436. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  437. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  438. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  439. package/views/SelectionManager.js +1 -1
  440. package/views/draw/DrawTool.js +1 -1
  441. package/views/draw/support/createUtils.js +1 -1
  442. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  443. package/views/interactive/sketch/constraints.js +1 -1
  444. package/views/popupAdapter.js +1 -1
  445. package/views/support/GeometryWorker.js +1 -1
  446. package/views/support/geometry3dUtils.js +1 -1
  447. package/views/support/selectionUtils.js +1 -1
  448. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  449. package/widgets/BatchAttributeForm/expressions/ArcadeExecutorProvider.js +1 -1
  450. package/widgets/BatchAttributeForm/templates/FieldElementTemplate.js +1 -1
  451. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  452. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  453. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  454. package/widgets/FeatureTable/support/types.d.ts +3 -1
  455. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  456. package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
  457. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  458. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  459. package/widgets/OrientedImageryViewer/support/panConstraint.js +1 -1
  460. package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
  461. package/widgets/OrientedImageryViewer/videoViewerUtils.js +1 -1
  462. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  463. package/widgets/support/SelectionList/selectionListUtils.d.ts +58 -0
  464. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  465. package/widgets/support/Selector2D/selectorUtils.js +1 -1
  466. package/arcade/kernel.js +0 -2
  467. package/assets/esri/core/workers/chunks/01b7babaefe6500fd6eb.js +0 -1
  468. package/assets/esri/core/workers/chunks/06e109e92de7fa0956e3.js +0 -1
  469. package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +0 -1
  470. package/assets/esri/core/workers/chunks/0993e51d3a9701ed2198.js +0 -1
  471. package/assets/esri/core/workers/chunks/09a0a1e794ddff65aa08.js +0 -1
  472. package/assets/esri/core/workers/chunks/0e57d33bd202d0972207.js +0 -1
  473. package/assets/esri/core/workers/chunks/114ba901fd319ce87dc6.js +0 -1
  474. package/assets/esri/core/workers/chunks/12a3b55195ce3244259d.js +0 -1
  475. package/assets/esri/core/workers/chunks/151bac9e519a3b821baf.js +0 -1
  476. package/assets/esri/core/workers/chunks/156f85ac1885464f0072.js +0 -1
  477. package/assets/esri/core/workers/chunks/180eebd8b7badc2840c9.js +0 -1
  478. package/assets/esri/core/workers/chunks/19cb8963d5ec2246357b.js +0 -1
  479. package/assets/esri/core/workers/chunks/19d4ecee1c161ac0f33c.js +0 -1
  480. package/assets/esri/core/workers/chunks/19ece9f5313f53384cac.js +0 -1
  481. package/assets/esri/core/workers/chunks/1d770e8f0fe57d937daa.js +0 -1
  482. package/assets/esri/core/workers/chunks/1dd22b8df6a52277c64b.js +0 -1
  483. package/assets/esri/core/workers/chunks/1ede298ab815e9ad625c.js +0 -1
  484. package/assets/esri/core/workers/chunks/208bc524bd1e0d3aab79.js +0 -1
  485. package/assets/esri/core/workers/chunks/20a4ae83542c7d39cf0f.js +0 -1
  486. package/assets/esri/core/workers/chunks/21071ab3d7b2771406ae.js +0 -1
  487. package/assets/esri/core/workers/chunks/21bfa89363104f041101.js +0 -1
  488. package/assets/esri/core/workers/chunks/21d0a4d6639d32278f11.js +0 -1
  489. package/assets/esri/core/workers/chunks/22a75fdc6ba60213a870.js +0 -1
  490. package/assets/esri/core/workers/chunks/22e004ed97e06536ecef.js +0 -1
  491. package/assets/esri/core/workers/chunks/23942712a3f6290e0fdb.js +0 -1
  492. package/assets/esri/core/workers/chunks/242287de82586d42f0a4.js +0 -1
  493. package/assets/esri/core/workers/chunks/25cb5086eaa412f6820b.js +0 -1
  494. package/assets/esri/core/workers/chunks/26c8ed0aef59ed6d5267.js +0 -1
  495. package/assets/esri/core/workers/chunks/2742d62fceaf0736aef0.js +0 -1
  496. package/assets/esri/core/workers/chunks/276eba546dc8774076ee.js +0 -1
  497. package/assets/esri/core/workers/chunks/28e02b213da9e682d3dc.js +0 -29
  498. package/assets/esri/core/workers/chunks/2d8195231cb16247f198.js +0 -1
  499. package/assets/esri/core/workers/chunks/2db1227ecd421728630d.js +0 -1
  500. package/assets/esri/core/workers/chunks/2ddc9c9ff6ec243d85e2.js +0 -1
  501. package/assets/esri/core/workers/chunks/2e712154ebb895d96ba1.js +0 -1
  502. package/assets/esri/core/workers/chunks/2f2df51d4976ae65edae.js +0 -1
  503. package/assets/esri/core/workers/chunks/32d31fd4cffdf5a80acb.js +0 -1
  504. package/assets/esri/core/workers/chunks/33aaa5a49e396a0aca47.js +0 -1
  505. package/assets/esri/core/workers/chunks/35622088727e120c93b9.js +0 -1
  506. package/assets/esri/core/workers/chunks/3714cc26f446c4d9cc2c.js +0 -1
  507. package/assets/esri/core/workers/chunks/3722d40d161d60370936.js +0 -1
  508. package/assets/esri/core/workers/chunks/3ac4cfeb1af12a9dc27d.js +0 -1
  509. package/assets/esri/core/workers/chunks/3b009c05eaec5a7048a8.js +0 -1
  510. package/assets/esri/core/workers/chunks/3b376318df4ff8519370.js +0 -1
  511. package/assets/esri/core/workers/chunks/3bf37fd3280f4891c76b.js +0 -1
  512. package/assets/esri/core/workers/chunks/3d18a10a1ecfabe92db3.js +0 -1
  513. package/assets/esri/core/workers/chunks/3de20165796fa4f76728.js +0 -1
  514. package/assets/esri/core/workers/chunks/3fbd4c7e25440c4713f2.js +0 -1
  515. package/assets/esri/core/workers/chunks/407dba2be21255eb47fc.js +0 -1
  516. package/assets/esri/core/workers/chunks/414093fa4957d17bf551.js +0 -1
  517. package/assets/esri/core/workers/chunks/44b1a4e8a65221ad3808.js +0 -1
  518. package/assets/esri/core/workers/chunks/48b31b8534e7bfe42976.js +0 -1
  519. package/assets/esri/core/workers/chunks/48f6af09436723f2d861.js +0 -1
  520. package/assets/esri/core/workers/chunks/49e37f653b81f9e4f7cc.js +0 -1
  521. package/assets/esri/core/workers/chunks/4b4221a869b3f0d517fa.js +0 -1
  522. package/assets/esri/core/workers/chunks/4b86bcde5992eb752ab0.js +0 -1
  523. package/assets/esri/core/workers/chunks/4b9095e2bd060efd47c4.js +0 -1
  524. package/assets/esri/core/workers/chunks/5084de4d0d4961b63ab7.js +0 -1
  525. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +0 -1
  526. package/assets/esri/core/workers/chunks/5324e4feb78203204c0c.js +0 -1
  527. package/assets/esri/core/workers/chunks/5536cee0dfc183584a9b.js +0 -1
  528. package/assets/esri/core/workers/chunks/58d10928959ae1e2e8d9.js +0 -1
  529. package/assets/esri/core/workers/chunks/597a8e3d9e458298fdd3.js +0 -1
  530. package/assets/esri/core/workers/chunks/5a006ff759fad9fc25cb.js +0 -1
  531. package/assets/esri/core/workers/chunks/60be6de19c5659091d8f.js +0 -1
  532. package/assets/esri/core/workers/chunks/61a38237e163b39520e5.js +0 -1
  533. package/assets/esri/core/workers/chunks/61fcdba6f2097378dce5.js +0 -1
  534. package/assets/esri/core/workers/chunks/6561c01c67db1f4c546e.js +0 -1
  535. package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +0 -1
  536. package/assets/esri/core/workers/chunks/67452ba9e87962b9e01e.js +0 -1
  537. package/assets/esri/core/workers/chunks/68195277046861ed39a7.js +0 -1
  538. package/assets/esri/core/workers/chunks/68705692335d57522030.js +0 -1
  539. package/assets/esri/core/workers/chunks/6a2a4da3a1cd64ff576f.js +0 -1
  540. package/assets/esri/core/workers/chunks/6af1680771fd8ae8c7dc.js +0 -1
  541. package/assets/esri/core/workers/chunks/6c367de583e0e657ca3a.js +0 -1
  542. package/assets/esri/core/workers/chunks/6d2021a0f0c9a3c6a0e6.js +0 -1
  543. package/assets/esri/core/workers/chunks/6db4a4f9a9ce7cc738d0.js +0 -1
  544. package/assets/esri/core/workers/chunks/6f2a9259240769c7cd6e.js +0 -1
  545. package/assets/esri/core/workers/chunks/724260e36efea90585f4.js +0 -1
  546. package/assets/esri/core/workers/chunks/74ae1222787389d5fcaa.js +0 -1
  547. package/assets/esri/core/workers/chunks/74bfaa98da6c5d375f05.js +0 -1
  548. package/assets/esri/core/workers/chunks/7a68a16f7fea712b9fd6.js +0 -1
  549. package/assets/esri/core/workers/chunks/7b2174b19d06c16715f0.js +0 -1
  550. package/assets/esri/core/workers/chunks/7d8e59ad438fb34b476d.js +0 -1
  551. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +0 -1
  552. package/assets/esri/core/workers/chunks/80795118467fb31ea4ed.js +0 -1
  553. package/assets/esri/core/workers/chunks/820c530b8765ecb1f36e.js +0 -1
  554. package/assets/esri/core/workers/chunks/830daaca32352da6eebe.js +0 -1
  555. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
  556. package/assets/esri/core/workers/chunks/85c538bf1209f0da1f8e.js +0 -1
  557. package/assets/esri/core/workers/chunks/8c2921081ca3e7fd0385.js +0 -1
  558. package/assets/esri/core/workers/chunks/8db3fd97e8eccd3ba1db.js +0 -1
  559. package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +0 -1
  560. package/assets/esri/core/workers/chunks/8e79a84e224d05204e7d.js +0 -1
  561. package/assets/esri/core/workers/chunks/8e9aff66a2d4e2cc102b.js +0 -1
  562. package/assets/esri/core/workers/chunks/917318f8e186f466dc52.js +0 -1
  563. package/assets/esri/core/workers/chunks/9267f6a65c2245696eac.js +0 -1
  564. package/assets/esri/core/workers/chunks/9407db0584c730591161.js +0 -1
  565. package/assets/esri/core/workers/chunks/958e161634b5bfd50625.js +0 -1
  566. package/assets/esri/core/workers/chunks/9658b46a7111cda53b0d.js +0 -1
  567. package/assets/esri/core/workers/chunks/974bcaf2a059b8cfb153.js +0 -1
  568. package/assets/esri/core/workers/chunks/99881d0a6c2490a16268.js +0 -1
  569. package/assets/esri/core/workers/chunks/99980c944acb8ff88d6a.js +0 -1
  570. package/assets/esri/core/workers/chunks/9c227785f4454d3966ea.js +0 -1
  571. package/assets/esri/core/workers/chunks/9d61d9136f3d00aab530.js +0 -1
  572. package/assets/esri/core/workers/chunks/9df2685583393a87df2d.js +0 -1
  573. package/assets/esri/core/workers/chunks/9e840a71906c4deef776.js +0 -1
  574. package/assets/esri/core/workers/chunks/9ee6e8a6b9bfda758c21.js +0 -1
  575. package/assets/esri/core/workers/chunks/a03f4605bde69bfb6d41.js +0 -1
  576. package/assets/esri/core/workers/chunks/a327843cee2057ee76c0.js +0 -1
  577. package/assets/esri/core/workers/chunks/a557347fb313df6fcc79.js +0 -1
  578. package/assets/esri/core/workers/chunks/a8da0728a12fc46dca23.js +0 -1
  579. package/assets/esri/core/workers/chunks/a9ea28e0f22cfe3ccf92.js +0 -1
  580. package/assets/esri/core/workers/chunks/aae92f23b38ae22dd8bf.js +0 -1
  581. package/assets/esri/core/workers/chunks/ad3714da9c90d7471385.js +0 -1
  582. package/assets/esri/core/workers/chunks/b047f9e9ba26037657ed.js +0 -1
  583. package/assets/esri/core/workers/chunks/b1323800119bd5c1759b.js +0 -1
  584. package/assets/esri/core/workers/chunks/b18c35f25da18a3219d7.js +0 -1
  585. package/assets/esri/core/workers/chunks/b1f68ee65cce457d7b5b.js +0 -1
  586. package/assets/esri/core/workers/chunks/b2d6fd436981c890152f.js +0 -1
  587. package/assets/esri/core/workers/chunks/b3c518ca8679fbe16ece.js +0 -1
  588. package/assets/esri/core/workers/chunks/b4b4fe06364bea9b0750.js +0 -1
  589. package/assets/esri/core/workers/chunks/b61b7005edd9ced925e9.js +0 -1
  590. package/assets/esri/core/workers/chunks/b661aae7e3ce955a783e.js +0 -1
  591. package/assets/esri/core/workers/chunks/b66ebe53bd879aa9de57.js +0 -1
  592. package/assets/esri/core/workers/chunks/b8ca80134abfcc692244.js +0 -1
  593. package/assets/esri/core/workers/chunks/bbdf10d76d852072c878.js +0 -1
  594. package/assets/esri/core/workers/chunks/bbeb61d9302323bae9fb.js +0 -1
  595. package/assets/esri/core/workers/chunks/bbfd2b4af8e498b61af9.js +0 -1
  596. package/assets/esri/core/workers/chunks/bdafd4f03585351cecc3.js +0 -1
  597. package/assets/esri/core/workers/chunks/bddd5aa7a14cd45ff91c.js +0 -1
  598. package/assets/esri/core/workers/chunks/be31c2cb97f664a54306.js +0 -1
  599. package/assets/esri/core/workers/chunks/be4319827db91aa71bf5.js +0 -1
  600. package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +0 -1
  601. package/assets/esri/core/workers/chunks/c1568bcd3f04014152e1.js +0 -1
  602. package/assets/esri/core/workers/chunks/c1a7c475ce0c59ffa75a.js +0 -1
  603. package/assets/esri/core/workers/chunks/c229a4eedda468c914a9.js +0 -1
  604. package/assets/esri/core/workers/chunks/c2b2942456f1b10d0e96.js +0 -1
  605. package/assets/esri/core/workers/chunks/c308d8f419ba63c583e6.js +0 -1
  606. package/assets/esri/core/workers/chunks/c5dc2743c7116d0bc0d8.js +0 -1
  607. package/assets/esri/core/workers/chunks/c68cc3b9c170b8de22dc.js +0 -1
  608. package/assets/esri/core/workers/chunks/c6ef0636073e28350c91.js +0 -1
  609. package/assets/esri/core/workers/chunks/c71368cd64f240da1743.js +0 -1
  610. package/assets/esri/core/workers/chunks/cb2f27e5d465124b9868.js +0 -1
  611. package/assets/esri/core/workers/chunks/cee2f7f3b3f84688e49d.js +0 -1
  612. package/assets/esri/core/workers/chunks/d0942860a53b02371e94.js +0 -1
  613. package/assets/esri/core/workers/chunks/d13eeff678972a245d5d.js +0 -1
  614. package/assets/esri/core/workers/chunks/d3d7b4cd28a0dc2720d4.js +0 -1
  615. package/assets/esri/core/workers/chunks/d3ea7ac6fe71c95faa75.js +0 -1
  616. package/assets/esri/core/workers/chunks/d41e4498aaf4970f48b0.js +0 -1
  617. package/assets/esri/core/workers/chunks/d56603e1d0031f3c5f3b.js +0 -1
  618. package/assets/esri/core/workers/chunks/d7c8725ffb175cec5f8a.js +0 -1
  619. package/assets/esri/core/workers/chunks/d96fa373dcb621c2a869.js +0 -1
  620. package/assets/esri/core/workers/chunks/da233362b06b6db375f1.js +0 -1
  621. package/assets/esri/core/workers/chunks/dbc8f15a6be835f4897d.js +0 -1
  622. package/assets/esri/core/workers/chunks/e00d0036974aaec7d876.js +0 -1
  623. package/assets/esri/core/workers/chunks/e0c75ae3a211a8da10f7.js +0 -1
  624. package/assets/esri/core/workers/chunks/e474106292834633e7d4.js +0 -1
  625. package/assets/esri/core/workers/chunks/e557043f90c051e93925.js +0 -1
  626. package/assets/esri/core/workers/chunks/e5cbed6f19c743915c8e.js +0 -1
  627. package/assets/esri/core/workers/chunks/e5ecd93bd32e99bc99d1.js +0 -1
  628. package/assets/esri/core/workers/chunks/e64ccdb8328eb6514e59.js +0 -1
  629. package/assets/esri/core/workers/chunks/eb8c4f194bb66a27d418.js +0 -1
  630. package/assets/esri/core/workers/chunks/ebd8c77df5df63bd3efe.js +0 -1
  631. package/assets/esri/core/workers/chunks/f14347f5d63f5d102617.js +0 -1
  632. package/assets/esri/core/workers/chunks/f3c0280b6c87f2383a60.js +0 -1
  633. package/assets/esri/core/workers/chunks/f42c4dcb8f413ca1c6fd.js +0 -1
  634. package/assets/esri/core/workers/chunks/f5773321487ec248fa3b.js +0 -1
  635. package/assets/esri/core/workers/chunks/f76911f71540b058a881.js +0 -1
  636. package/assets/esri/core/workers/chunks/f988d5a6dcc15fe34797.js +0 -1
  637. package/assets/esri/core/workers/chunks/fa29b5064d6626cfc019.js +0 -1
  638. package/assets/esri/core/workers/chunks/fa882d0f4a9826533421.js +0 -1
  639. package/assets/esri/core/workers/chunks/fb2d43608006f588e3cb.js +0 -1
  640. package/assets/esri/core/workers/chunks/fbd02e8277fe2252ecd2.js +0 -1
  641. package/assets/esri/core/workers/chunks/fc1aeea22f8c9d63864a.js +0 -1
  642. package/assets/esri/core/workers/chunks/fc3c03cfa3d6bf3b37dc.js +0 -1
  643. package/assets/esri/core/workers/chunks/fcf7299e2ee904ab9882.js +0 -1
  644. package/assets/esri/core/workers/chunks/ff07d351553deb70b889.js +0 -1
  645. package/assets/esri/core/workers/chunks/ffee66699f5d26569baf.js +0 -1
  646. package/chunks/OperatorDefinitions.js +0 -2
  647. package/chunks/areaOperator.js +0 -2
  648. package/chunks/bufferOperator.js +0 -2
  649. package/chunks/centroidOperator.js +0 -2
  650. package/chunks/clipOperator.js +0 -2
  651. package/chunks/containsOperator.js +0 -2
  652. package/chunks/convexHullOperator.js +0 -2
  653. package/chunks/crossesOperator.js +0 -2
  654. package/chunks/cutOperator.js +0 -2
  655. package/chunks/densifyOperator.js +0 -2
  656. package/chunks/differenceOperator.js +0 -2
  657. package/chunks/disjointOperator.js +0 -2
  658. package/chunks/distanceOperator.js +0 -2
  659. package/chunks/equalsOperator.js +0 -2
  660. package/chunks/generalizeOperator.js +0 -2
  661. package/chunks/geodesicBufferOperator.js +0 -2
  662. package/chunks/geodeticAreaOperator.js +0 -2
  663. package/chunks/geodeticDensifyOperator.js +0 -2
  664. package/chunks/geodeticDistanceOperator.js +0 -2
  665. package/chunks/geodeticLengthOperator.js +0 -2
  666. package/chunks/intersectionOperator.js +0 -2
  667. package/chunks/intersectsOperator.js +0 -2
  668. package/chunks/labelPointOperator.js +0 -2
  669. package/chunks/lengthOperator.js +0 -2
  670. package/chunks/multiPartToSinglePartOperator.js +0 -2
  671. package/chunks/offsetOperator.js +0 -2
  672. package/chunks/overlapsOperator.js +0 -2
  673. package/chunks/proximityOperator.js +0 -2
  674. package/chunks/relateOperator.js +0 -2
  675. package/chunks/simplifyOperator.js +0 -2
  676. package/chunks/symmetricDifferenceOperator.js +0 -2
  677. package/chunks/touchesOperator.js +0 -2
  678. package/chunks/unionOperator.js +0 -2
  679. package/chunks/withinOperator.js +0 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9588],{9588(e,t,l){l.d(t,{BlobReader:()=>r.nZ,BlobWriter:()=>r.D7,ZipReader:()=>r.zg});var r=l(18244)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9588],{9588(e,t,l){l.d(t,{BlobReader:()=>r.nZ,BlobWriter:()=>r.D7,ZipReader:()=>r.zg});var r=l(74402)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2819,5165],{25728(t,e,r){r.d(e,{M:()=>_});var i=r(32198),s=r(69622),n=r(76953),o=r(4718);class a{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(8),this._values=new Map,this.multipleOriginsSupported=!0}clone(t){const e=new a,r=this._originStores[0];r&&r.forEach((t,r)=>{e.set(r,(0,o.o8)(t),0)});for(let r=2;r<8;r++){const i=this._originStores[r];i&&i.forEach((i,s)=>{t&&t.has(s)||e.set(s,(0,o.o8)(i),r)})}return e}get(t,e){const r=void 0===e?this._values:this._originStores[e];return r?r.get(t):void 0}keys(t){const e=null==t?this._values:this._originStores[t];return e?[...e.keys()]:[]}set(t,e,r=7){let i=this._originStores[r];if(i||(i=new Map,this._originStores[r]=i),i.set(t,e),!this._values.has(t)||this._propertyOriginMap.get(t)<=r){const i=this._values.get(t);return this._values.set(t,e),this._propertyOriginMap.set(t,r),i!==e}return!1}delete(t,e=7){const r=this._originStores[e];if(!r)return;const i=r.get(t);if(r.delete(t),this._values.has(t)&&this._propertyOriginMap.get(t)===e){this._values.delete(t);for(let r=e-1;r>=0;r--){const e=this._originStores[r];if(e&&e.has(t)){this._values.set(t,e.get(t)),this._propertyOriginMap.set(t,r);break}}}return i}has(t,e){const r=void 0===e?this._values:this._originStores[e];return!!r&&r.has(t)}revert(t,e){for(;e>0&&!this.has(t,e);)--e;const r=this._originStores[e],i=r?.get(t),s=this._values.get(t);return this._values.set(t,i),this._propertyOriginMap.set(t,e),s!==i}originOf(t){return this._propertyOriginMap.get(t)||0}isAtOrigin(t,e){return this.has(t,e)&&this.originOf(t)===e}isBelowOrigin(t,e){return!this.has(t)||this.originOf(t)<e}forEach(t){this._values.forEach(t)}}var l=r(35666),u=r(45917),h=r(88620),p=r(64108);const c=t=>{const e=t;let r=class extends e{constructor(...t){super(...t);const e=(0,h.oY)(this),r=e.store,i=new a;e.store=i,(0,n.k)(e,r,i)}read(t,e){(0,u.L)(this,t,e)}getAtOrigin(t,e){const r=d(this),i=(0,l.aB)(e);return r.get(t,i)}originOf(t){return(0,l.OL)(this.originIdOf(t))}originIdOf(t){return d(this).originOf(t)}revertToOrigin(t,e){const r=d(this),i=(0,l.aB)(e),s=(0,h.oY)(this);"*"===t&&r.keys(i).forEach(t=>this.revertToOrigin(t,e)),s.invalidate(t),r.revert(t,i),s.commit(t)}revertAllToOrigin(t){const e=d(this),r=(0,l.aB)(t);e.keys(r).forEach(e=>this.revertToOrigin(e,t))}};return r=(0,i.Cg)([(0,p.$)("esri.core.ReadOnlyMultiOriginJSONSupport")],r),r};function d(t){return(0,h.oY)(t).store}c(s.A);var y=r(91429),g=r(16649),f=r(49422);const v=t=>{const e=t;let r=class extends e{constructor(...t){super(...t)}clear(t,e="user"){(0,h.oY)(this).clearOrigin(t,(0,l.aB)(e))}write(t,e){return(0,f.M)(this,t=t||{},e),t}setAtOrigin(t,e,r){(0,h.oY)(this).setAtOrigin(t,e,(0,l.aB)(r))}removeOrigin(t){const e=m(this),r=(0,l.aB)(t),i=e.keys(r);for(const t of i)e.originOf(t)===r&&e.set(t,e.get(t,r),7)}updateOrigin(t,e){const r=m(this),i=(0,l.aB)(e),s=(0,g.Jt)(this,t);for(let e=i+1;e<8;++e)r.delete(t,e);r.set(t,s,i)}toJSON(t){return this.write({},t)}};return r=(0,i.Cg)([(0,y.$K)("esri.core.WriteableMultiOriginJSONMixin")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function m(t){return(0,h.oY)(t).store}const _=t=>{const e=v(c(t));let r=class extends e{};return r=(0,i.Cg)([(0,p.$)("esri.core.MultiOriginJSONSupport")],r),r};_(s.A)},60999(t,e,r){r.d(e,{DZ:()=>y,Ke:()=>d,Tj:()=>h,UT:()=>g,aD:()=>v,jJ:()=>u});var i=r(32198),s=r(69622),n=r(97768),o=r(17676),a=r(10107),l=r(64108);function u(t,e,r){return(0,o.Lx)(t.map((t,i)=>e.apply(r,[t,i])))}async function h(t,e,r){return(await(0,o.Lx)(t.map((t,i)=>e.apply(r,[t,i])))).map(t=>t.value)}function p(t){return{ok:!0,value:t}}function c(t){return{ok:!1,error:t}}async function d(t){if(null==t)return{ok:!1,error:new Error("no promise provided")};try{return p(await t)}catch(t){return c(t)}}async function y(t){try{return p(await t)}catch(t){return(0,o.QP)(t),c(t)}}function g(t,e){return new f(t,e)}let f=class extends s.A{get value(){return null!=(t=this._result)&&!0===t.ok?t.value:null;var t}get error(){return null!=(t=this._result)&&!1===t.ok?t.error:null;var t}get finished(){return null!=this._result}constructor(t,e){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,n.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=t(r),this.promise.then(t=>{this._result=p(t),this._cleanup()},t=>{this._result=c(t),this._cleanup()}),this._abortHandle=(0,o.u7)(e,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,n.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,a.MZ)()],f.prototype,"value",null),(0,i.Cg)([(0,a.MZ)()],f.prototype,"error",null),(0,i.Cg)([(0,a.MZ)()],f.prototype,"finished",null),(0,i.Cg)([(0,a.MZ)()],f.prototype,"promise",void 0),(0,i.Cg)([(0,a.MZ)()],f.prototype,"_result",void 0),f=(0,i.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],f);class v{constructor(){this._sequence=Promise.resolve()}async acquire(){let t;this._sequence=new Promise(e=>{t=this._sequence.then(()=>e,()=>e)});const e=await t;return{[Symbol.dispose]:e}}async run(t){const e={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(e,await this.acquire(),!1),await t()}catch(t){e.error=t,e.hasError=!0}finally{(0,i.hk)(e)}}}},48526(t,e,r){r.d(e,{A:()=>f});var i,s=r(32198),n=r(4576),o=r(4718),a=r(91429),l=r(5443),u=r(91075),h=r(86738),p=r(16930),c=r(90634),d=r(47610),y=r(56993),g=r(43937);let f=i=class extends u.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:r,hasZ:i,spatialReference:s}=t;switch(e??=[],e?.at(0)?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=p.A.WGS84,{...t,hasM:r,hasZ:i,points:e,spatialReference:s}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,c.ge)(this);return t?new l.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:r,hasZ:s}=this;return new i({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:r,hasZ:s})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,r=t.spatialReference;return null!=e==(null!=r)&&!(null!=e&&null!=r&&!e.equals(r))&&(0,n.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,y.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],r={x:e[0],y:e[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(r.z=e[2],i=3),this.hasM&&(r.m=e[i]),new h.A(r)}removePoint(t){if(!this._validateInputs(t))return null;const e=new h.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,y.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,s.Cg)([(0,g.K)("points")],f.prototype,"writePoints",null),f=i=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,r){r.d(e,{A:()=>y});var i,s=r(32198),n=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),h=r(16930),p=r(90634),c=r(56993),d=r(43937);let y=i=class extends l.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:r,hasZ:i,spatialReference:s}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=h.A.WGS84,{...t,hasM:r,hasZ:i,paths:e,spatialReference:s}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,n.o8)(t)}get extent(){const t=(0,p.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,n.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,r=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const i=[];for(let e=0,r=t.length;e<r;e++)i[e]=t[e].toArray();e[r]=i}else e[r]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new i;return t.spatialReference=this.spatialReference,t.paths=(0,n.o8)(this.paths),t.curvePaths=(0,n.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const r=this.paths[t][e],i=this.hasZ,s=this.hasM;return i&&!s?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):s&&!i?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):i&&s?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(t,e,r){return this._validateInputs(t,e,!0)?((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t].splice(e,0,r),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],r=this.spatialReference,i=e.map(t=>new u.A(t,r));return this.notifyChange("paths"),i}removePoint(t,e){if(!this._validateInputs(t,e))return null;const r=new u.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(t,e,r){return this._validateInputs(t,e)?((0,c.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t][e]=r,this.notifyChange("paths"),this):this}_validateInputs(t,e,r=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const i=this.paths[t];if(r&&(e<0||e>i.length))return!1;if(!r&&(e<0||e>=i.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],y.prototype,"curvePaths",void 0),(0,s.Cg)([(0,d.K)("curvePaths")],y.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],y.prototype,"paths",void 0),(0,s.Cg)([(0,d.K)("paths")],y.prototype,"writePaths",null),y=i=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],y),y.prototype.toJSON.isDefaultToJSON=!0},60408(t,e,r){function i(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function s(t){return void 0!==t.points}function n(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function u(t){return t?n(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":i(t)?"esriGeometryEnvelope":s(t)?"esriGeometryMultipoint":null:null}function h(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function p(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}r.d(e,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>s,W0:()=>p,ZC:()=>i,fT:()=>n,uW:()=>l})},45165(t,e,r){r.r(e);var i=r(32198),s=r(49186),n=r(25728),o=r(76030),a=r(91429),l=r(4146),u=r(8303);let h=class extends((0,u.A)((0,n.M)(l.A))){constructor(t){super(t),this.resourceInfo=null,this.persistenceEnabled=!0,this.type="unsupported"}initialize(){this.addResolvingPromise(new Promise((t,e)=>{(0,o._)(()=>{const t=this.resourceInfo&&(this.resourceInfo.layerType||this.resourceInfo.type);let r="Unsupported layer type";t&&(r+=" "+t),e(new s.A("layer:unsupported-layer-type",r,{layerType:t}))})}))}read(t,e){const r={resourceInfo:t};null!=t.id&&(r.id=t.id),null!=t.title&&(r.title=t.title),super.read(r,e)}write(t,e){return Object.assign(t||{},this.resourceInfo,{id:this.id})}};(0,i.Cg)([(0,a.MZ)({readOnly:!0})],h.prototype,"resourceInfo",void 0),(0,i.Cg)([(0,a.MZ)({type:["show","hide"]})],h.prototype,"listMode",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,readOnly:!1})],h.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1},readOnly:!0,value:"unsupported"})],h.prototype,"type",void 0),h=(0,i.Cg)([(0,a.$K)("esri.layers.UnsupportedLayer")],h);const p=h;r.d(e,["default",0,p])},8303(t,e,r){var i=r(32198),s=r(92602),n=r(70333),o=r(11254),a=r(60999),l=r(49186),u=r(36563),h=r(53966),p=r(97768),c=r(17676),d=r(84952),y=r(91429),g=r(77548),f=r(20655),v=r(80812),m=r(41318),_=r(10407),w=r(36005),P=r(43937);const A={credential:null,user:null};r.d(e,["A",0,t=>{const e=t;let I=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(t){t!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",t))}readPortalItem(t,e,r){if(e.itemId)return new v.default({id:e.itemId,portal:r?.portal})}writePortalItem(t,e){t?.id&&(e.itemId=t.id)}async loadFromPortal(t,e){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(e),await i({instance:this,supportedTypes:t.supportedTypes,validateItem:t.validateItem,supportsData:t.supportsData,layerModuleTypeMap:t.layerModuleTypeMap,populateGroupLayer:t.populateGroupLayer},e)}catch(t){throw(0,c.zf)(t)||h.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${t}`),t}}async reloadFromPortal(t){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:e}=await r.e(1204).then(r.bind(r,41204)),i=new AbortController,s=(0,u.rE)(i);return this.addHandles(s,"reloadFromPortal"),await e({instance:this,supportedTypes:t.supportedTypes,validateItem:t.validateItem,supportsData:t.supportsData,layerModuleTypeMap:t.layerModuleTypeMap,populateGroupLayer:t.populateGroupLayer},{signal:i.signal})}catch(t){throw(0,c.zf)(t)||h.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${t}`),t}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(t){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(t).catch(t=>((0,c.QP)(t),!0)))}async setUserPrivileges(t,e){if(!s.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(e);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:s}}=await this._fetchUserPrivileges(t,e);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",s)}catch(t){(0,c.QP)(t)}}async _fetchUserPrivileges(t,e){let r=this.portalItem;if(!t||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(e);const i=!n.id?.findCredential(this.url),s=t===r.id;if(s&&r.portal.user)return this._getUserPrivileges(r,i);let o,a;if(s)o=r.portal.url;else try{o=await(0,g.wI)(this.url,e)}catch(t){(0,c.QP)(t)}if(!o||!(0,d.b8)(o,r.portal.url))return this._fetchFallbackUserPrivileges(e);try{const t=null!=e?e.signal:null;a=await(n.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:t}))}catch(t){(0,c.QP)(t)}const l=!0,u=!1,h=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:h}};try{if(s?await r.reload():(r=new v.default({id:t,portal:{url:o}}),await r.load(e)),r.portal.user)return this._getUserPrivileges(r,i)}catch(t){(0,c.QP)(t)}return{features:{edit:l,fullEdit:u},content:{updateItem:h}}}_getUserPrivileges(t,e){const r=(0,_.It)(t);return e&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(t){let e=!0;try{e=await this._fetchUserHasEditingPrivileges(t)}catch(t){(0,c.QP)(t)}return{features:{edit:e,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(t){const e=this.url?n.id?.findCredential(this.url):null;if(!e)return!0;const r=A.credential===e?A.user:await this._fetchEditingUser(t);return A.credential=e,A.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(t){const e=this.portalItem?.portal?.user;if(e)return e;const r=n.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,s=f.A.getDefault();if(s&&s.loaded&&(0,d.S8)(s.restUrl)===(0,d.S8)(i))return s.user;const l=`${i}/community/self`,u=null!=t?t.signal:null,h=await(0,a.Ke)((0,o.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return h.ok?m.A.fromJSON(h.value.data):null}read(t,e){e&&(e.layer=this),super.read(t,e)}write(t,e){const r=e?.portal,i=this.portalItem?.id&&(this.portalItem.portal||f.A.getDefault());return r&&i&&!(0,d.ut)(i.restUrl,r.restUrl)?(e.messages&&e.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(t,{...e,layer:this})}};return(0,i.Cg)([(0,y.MZ)({type:v.default})],I.prototype,"portalItem",null),(0,i.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,i.Cg)([(0,P.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,i.Cg)([(0,y.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,i.Cg)([(0,y.$K)("esri.layers.mixins.PortalLayer")],I),I}])},10407(t,e,r){r.d(e,{It:()=>d,LG:()=>o,OM:()=>u,Sm:()=>h,Y:()=>a,bK:()=>l,sQ:()=>p});var i=r(99917),s=r(16930),n=r(28735);function o(t,e){if(!a(t,e)){const r=t.typeKeywords;r?r.push(e):t.typeKeywords=[e]}}function a(t,e){return!!t.typeKeywords?.includes(e)}function l(t){return a(t,c.HOSTED_SERVICE)}function u(t,e){const r=t.typeKeywords;if(r){const t=r.indexOf(e);t>-1&&r.splice(t,1)}}function h(t,e,r){r?o(t,e):u(t,e)}async function p(t){const e=t.clone().normalize();let r;if(e.length>1)for(const t of e)r?t.width>r.width&&(r=t):r=t;else r=e[0];return async function(t){const e=t.spatialReference;if(e.isWGS84)return t.clone();if(e.isWebMercator)return(0,n.ci)(t);const r=s.A.WGS84;return await(0,i.initializeProjection)(e,r),(0,i.project)(t,r)}(r)}const c={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 d(t){const{portal:e,isOrgItem:r,itemControl:i}=t,s=e.user?.privileges;let n=!s||s.includes("features:user:edit"),o=!!r&&!!s?.includes("features:user:fullEdit");const a="update"===i||"admin"===i;return a?o=n=!0:o&&(n=!0),{features:{edit:n,fullEdit:o},content:{updateItem:a}}}r.d(e,["mm",0,c])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8878],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},92400(e,t,r){r.d(t,{CU:()=>s,UQ:()=>o,fF:()=>i,o6:()=>l});var n=r(17676);class i{constructor(){}}function l(e,t,r){if(e instanceof i&&!(e instanceof s)){const n=new s;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,u,a)=>{a=a.map(t=>t instanceof i&&!(t instanceof s)?l(t,e,o):t);const c=this.call(r,{args:a});return(0,n.$X)(c)?c.then(e=>l(e,r,o)):c})}}class s extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>f,Qi:()=>m,eB:()=>h,eg:()=>y,f0:()=>p,ke:()=>u,nE:()=>a,rX:()=>d});var n=r(66131),i=r(44729),l=r(15032),o=r(20437),s=r(34747);function u(e){return o.A.fromJSON(e.toJSON())}function a(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof s.c9}function d(e){return e instanceof n.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof l.k}function m(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function h(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},78878(e,t,r){r.d(t,{$:()=>M,A:()=>Fe,B:()=>K,E:()=>U,F:()=>E,G:()=>L,H:()=>he,I:()=>h,J:()=>J,K:()=>k,L:()=>A,M:()=>fe,N:()=>O,O:()=>X,P:()=>be,Q:()=>w,R:()=>g,S:()=>ke,T:()=>ce,U:()=>ee,V:()=>H,W:()=>Ce,X:()=>Ze,Y:()=>Ae,Z:()=>Me,_:()=>De,a:()=>Ne,a0:()=>Z,a1:()=>F,a3:()=>oe,a4:()=>Oe,a5:()=>Se,a6:()=>ye,a7:()=>de,a8:()=>pe,a9:()=>we,b:()=>x,c:()=>ie,d:()=>D,e:()=>ve,f:()=>_,g:()=>$,h:()=>G,i:()=>N,j:()=>R,k:()=>j,l:()=>I,m:()=>P,n:()=>V,o:()=>Y,p:()=>v,q:()=>z,r:()=>q,t:()=>se,u:()=>C,v:()=>ae,w:()=>le,y:()=>re,z:()=>ne});var n=r(66131),i=r(99719),l=r(85935),o=r(92400),s=r(93818),u=r(33325),a=r(14607),c=r(44729),f=r(15032),d=r(73444),p=r(54218),y=r(34747),m=r(94128);class g{constructor(e){this.value=e}}class h{constructor(e){this.value=e}}const b={type:"VOID"},T=Symbol("BREAK"),S=Symbol("CONTINUE");function F(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function N(e){return e instanceof o.fF}function v(e){return e instanceof i.x}function x(e){return!!((0,p.Kg)(e)||(0,p.Et)(e)||_(e)||z(e)||q(e)||(0,p.Lm)(e)||null===e||e===b)}function O(e,t){return void 0===e?t:e}function w(e){if(null==e)return"";if((0,p.cy)(e))return"Array";if($(e))return"Array";if(_(e))return"Date";if(q(e))return"Time";if(z(e))return"DateOnly";if((0,p.Kg)(e))return"String";if((0,p.Lm)(e))return"Boolean";if((0,p.Et)(e))return"Number";if(P(e))return"Attachment";if(V(e))return"Portal";if(I(e))return"Dictionary";if(Y(e))return"KnowledgeGraph";if(v(e))return"Module";if(G(e))return"Feature";if(D(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return N(e)?"Function":j(e)?"FeatureSet":R(e)?"FeatureSetCollection":L(e)?"Voxel":E(e)?"Pixel":e===b?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function C(e){return e===b}function D(e){return"esri.arcade.Geometry"===e?.arcadeDeclaredClass}function A(e){return D(e)&&"point"===e.type}function Z(e){return D(e)&&"multipoint"===e.type}function k(e){return D(e)&&"polyline"===e.type}function M(e){return D(e)&&"polygon"===e.type}function J(e){return D(e)&&"extent"===e.type}function G(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function L(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function E(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function I(e){return"esri.arcade.Dictionary"===e?.declaredClass}function V(e){return"esri.arcade.Portal"===e?.declaredClass}function P(e){return"esri.arcade.Attachment"===e?.declaredClass}function K(e){return I(e)||G(e)||L(e)||E(e)}function R(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function Y(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function $(e){return e instanceof s.A}function _(e){return e instanceof n.lY}function z(e){return e instanceof c.n}function q(e){return e instanceof f.k}function B(e){return null!=e&&"object"==typeof e}function U(e,t,r,n){if(e.length<t||e.length>r)throw new l.D$("WrongNumberOfParameters",n)}function X(e){return null==e||C(e)||""===e}function H(e){return e<0?-Math.round(-e):Math.round(e)}function Q(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.GP)(e,{pattern:t}))}function W(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ee(t),{locale:(0,d.JK)(),numberingSystem:"latn"})}function ee(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function te(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function re(e,t,r){if(null===e){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}if(e===b){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Et)(e)){if((0,p.Et)(t))return te(e,t,r);if((0,p.Lm)(t))return te(e,ae(t),r);if(null===t||t===b)return te(e,0,r);if((0,p.Kg)(t))return te(e,ae(t),r);if(_(t))return te(e,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Kg)(e)){if((0,p.Kg)(t))return te(le(e),le(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if((0,p.Et)(t))return te(ae(e),t,r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Lm)(t))return te(ae(e),ae(t),r)}else if(_(e)){if(_(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if((0,p.Lm)(e)){if((0,p.Lm)(t))return te(e,t,r);if((0,p.Et)(t))return te(ae(e),ae(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Kg)(t))return te(ae(e),ae(t),r)}else if(z(e)){if(_(t))return te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if(q(e)){if(_(t))throw new l.D$("CannotCompareDateAndTime",null);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))return te(e.toNumber(),t.toNumber(),r);if(z(t))throw new l.D$("CannotCompareDateAndTime",null)}return!!ne(e,t)&&("<="===r||">="===r)}function ne(e,t){if(e===t)return!0;if(null===e&&t===b||null===t&&e===b)return!0;if(_(e)&&_(t))return e.equals(t);if(q(e)&&q(t))return e.equals(t);if(z(e)&&z(t))return e.equals(t);if($(e))return e.equalityTest(t);if(A(e)&&A(t)){const r=e.id,n=t.id;if(null!=r)return r===n}return!(!B(e)||!B(t)||e._underlyingGraphic!==t._underlyingGraphic||void 0===e._underlyingGraphic||null===e._underlyingGraphic)}function ie(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,p.Lm)(i)||(0,p.Et)(i)||(0,p.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):D(i)?r+=JSON.stringify(n)+":"+se(i):q(i)||z(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:$(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+se(i,null,t):_(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e))return se(e);if((0,p.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=ue(e[r]);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=ue(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():N(e)?"object, Function":e===b?"":v(e)?"object, Module":""}function oe(e){const t=[];if($(e)){for(let r=0;r<e.length();r++)t[r]=ae(e.get(r));return t}if(!(0,p.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=ae(e[r]);return t}function se(e,t,r=!1){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e)){if("extent"===e.type){const{xmin:t,xmax:r,ymin:n,ymax:i,zmin:l,zmax:o,mmin:s,mmax:u}=e.asJsonLikeGeometry();return'{"xmin":'+t+',"ymin":'+n+","+(e.hasZ?'"zmin":'+l+",":"")+(e.hasM?'"mmin":'+s+",":"")+'"xmax":'+r+',"ymax":'+i+","+(e.hasZ?'"zmax":'+o+",":"")+(e.hasM?'"mmax":'+u+",":"")+'"spatialReference":'+ge(e.spatialReference)+"}"}return ge(e.castAsJson(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0)}if((0,p.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=ue(e[n],r);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=ue(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):N(e)?"object, Function":C(e)?"":v(e)?"object, Module":""}function ue(e,t=!1){if(null===e)return"null";if((0,p.Lm)(e)||(0,p.Kg)(e))return JSON.stringify(e);if((0,p.Et)(e))return e.toString();if(D(e))return se(e,null,t);if($(e))return se(e,null,t);if((0,p.cy)(e))return se(e,null,t);if(_(e))return t?JSON.stringify(e.getTime()):JSON.stringify(W(e,""));if(q(e))return JSON.stringify(e.toString());if(z(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===b)return"null";return"null"}function ae(e,t){return(0,p.Et)(e)?e:null===e||""===e?0:_(e)||z(e)||q(e)?NaN:(0,p.Lm)(e)?e?1:0:(0,p.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,p.Kg)(e)?(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.qg)(e,{pattern:t})):e===b?0:Number(e)}function ce(e,t){if(_(e))return e;if((0,p.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let l=y.c9.fromISO(e,{zone:i});return l.isValid||r.test(e)&&(e=e.replace(r,"T$1"),l=y.c9.fromISO(e,{zone:t}),l.isValid)?l:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function fe(e){return(0,p.Lm)(e)?e:(0,p.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,p.Et)(e)&&0!==e&&!isNaN(e)}function de(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(_(t))r=t.toNumber();else if(z(t))r=t.toString();else if(q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=ae(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function pe(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function ye(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,s=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new l.D$("FieldNotFound",null,{key:e});let u=t.typeIdField,a="id",c=t.types;if(t.subtypeField&&(u=t.subtypeField,a="code",c=t.subtypes??[]),null===n&&r&&u)n=r.hasField(u)?r.field(u):null;else if(u&&null!==n){let e=!1;for(const t of c||[])if(n===t[a]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[a],e=!0;break}e||(n=null,r&&u&&(n=r.hasField(u)?r.field(u):null))}return null!=n&&c.some(e=>e[a]===n&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=me(s.name,t),o=!0),!0)),o||i||(i=me(e,t)),{field:s,domain:i}}function me(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ge(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function he(e){const t=[];for(const r of e)G(r)?t.push(r.geometry()):t.push(r);return t}function be(e,t=!0){if(null==e)return[];if((0,p.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if($(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(x(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let Te=0;function Se(){return Te++,Te%100==0?(Te=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Fe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Ne(e){return null==e?null:(0,p.Lm)(e)||(0,p.Et)(e)||(0,p.Kg)(e)?e:D(e)?e.castAsJson():$(e)?e.toArray().map(e=>Ne(e)):Array.isArray(e)?e.map(e=>Ne(e)):(0,p.$P)(e)?e:_(e)?e.toJSDate():q(e)?e.toString():z(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ve(e,t=null){if($(e)&&(e=e.toArray()),null==e)return null;if(x(e)||D(e)||(0,p.$P)(e)||_(e))return Ne(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||x(i)||D(i)||(0,p.$P)(i)||_(i))n.push(Ne(i));else{const e=n.push(null)-1;r.push(ve(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function xe(e){return Oe(e)?e.parent:e}function Oe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function we(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ce(e,t,r){const n=xe(e.fullSchema());return null===n?null:n.fields?ye(t,n,e,r):null}function De(e){const t=xe(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Ae(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const l=ye(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return de(l,r)}function Ze(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return pe(ye(t,i,e,n),r)}function ke(e){return e?.timeZone??"system"}function Me(e){const t=xe(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Je=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:h,ReturnResult:g,absRound:H,arcadeVersion:"1.36",autoCastFeatureToGeometry:he,binaryOperator:Fe,breakResult:T,castAsJson:Ne,castAsJsonAsync:ve,castRecordToText:ie,continueResult:S,defaultTimeZone:ke,defaultUndefined:O,equalityTest:ne,featureDomainCodeLookup:Ze,featureDomainValueLookup:Ae,featureFullDomain:Ce,featureSchema:Me,featureSubtypes:De,getDomain:ye,getDomainCode:pe,getDomainValue:de,getType:w,greaterThanLessThan:re,isArray:p.cy,isAttachment:P,isBoolean:p.Lm,isDate:_,isDateOnly:z,isDictionary:I,isDictionaryLike:K,isEmpty:X,isExtent:J,isFeature:G,isFeatureSet:j,isFeatureSetCollection:R,isFunctionParameter:N,isGeometry:D,isGraphic:m.D,isImmutableArray:$,isInteger:p.Fq,isJsDate:p.$P,isKnowledgeGraph:Y,isModule:v,isMultipoint:Z,isNumber:p.Et,isPixel:E,isPoint:A,isPolygon:M,isPolyline:k,isPortal:V,isSimpleType:x,isString:p.Kg,isSubtypeGrouplayer:we,isSubtypeSublayer:Oe,isTime:q,isVoid:C,isVoxel:L,multiReplace:F,pcCheck:U,standardiseDateFormat:ee,tick:Se,toBoolean:fe,toDate:ce,toNumber:ae,toNumberArray:oe,toString:le,toStringArray:be,toStringExplicit:se,voidOperation:b},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,T,"D",0,S,"s",0,Je,"x",0,b])},14607(e,t,r){r.d(t,{B:()=>a,GP:()=>s,qg:()=>c});var n=r(799),i=r(73444);const l={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in l;if(!t){const r=e.split("-");r.length>1&&r[0]in l&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=l[e];return{decimal:r,group:n,pattern:o}}function s(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,l=t.split(";"),o=l[0];if((t=l[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const s=u,a=o.match(s);if(!a)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(s,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let l=r.places;i?l=r.places.slice(i+1):+l>=0||(l=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(l))));const o=String(Math.abs(e)).split("."),s=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>s.length&&(o[1]=s.padEnd(Number(e),"0")),+l<s.length&&(o[1]=s.slice(0,Math.max(0,Number(l))))}else o[1]&&o.pop();const u=n[0].replace(",","");let a=u.indexOf("0");-1!==a&&(a=u.length-a,a>o[0].length&&(o[0]=o[0].padStart(a,"0")),u.includes("#")||(o[0]=o[0].slice(-a)));let c,f,d=n[0].lastIndexOf(",");if(-1!==d){c=n[0].length-d-1;const e=n[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(r.group||","),o.join(r.decimal||".")}(e,a[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const u=/[#0,]*[#0](?:\.0*#*)?/;function a(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,l=t.decimal;let s=1;if(r.includes("%"))s/=100;else if(r.includes("‰"))s/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const a=r.split(";");1===a.length&&a.push("-"+a[0]);const c=d(a,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(u,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:l,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==s&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const u=n[0].split(",");return u.length>1&&(r.groupSize=u.pop().length,u.length>1&&(r.groupSize2=u.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),r=d(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:l,factor:s}}function c(e,t){const r=a(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const d=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return p(n.join("|"),Boolean(r))},p=(e,t)=>"("+(t?"?:":"")+e+")"},73444(e,t,r){r.d(t,{JK:()=>u,Ml:()=>g,QC:()=>f,lR:()=>c,oQ:()=>y});var n=r(36563);let i;r(44208);const l=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function u(){return void 0===i&&(i=s()),i}const a=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=u()){return d(e)?.language}function f(e=u()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=u()){return a.exec(e)?.groups}const p=[];function y(e){return p.push(e),(0,n.hA)(()=>{p.splice(p.indexOf(e),1)})}new Map;const m=[];function g(e){return m.push(e),(0,n.hA)(()=>m.splice(m.indexOf(e),1))}function h(){const e=s();i!==e&&([...m].forEach(t=>t(e)),i=e,[...p].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",h),o&&new MutationObserver(()=>{h()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>s});var n,i=r(32198),l=r(25482),o=r(91429);let s=n=class extends l.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],s.prototype,"code",void 0),s=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],s)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(32198),l=r(4718),o=r(91429),s=r(39357),u=r(76357),a=r(93223);let c=class extends u.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,l.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[s.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>a});var n=r(32198),i=r(66552),l=r(25482),o=r(91429),s=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let a=class extends l.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"name",void 0),(0,n.Cg)([(0,s.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],a)},20437(e,t,r){r.d(t,{A:()=>y});var n,i=r(32198),l=r(66552),o=r(25482),s=r(91429),u=r(56507),a=r(8631),c=r(98453),f=r(36005),d=r(93223);const p=new l.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let y=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?p.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,s.MZ)({types:a.g,json:{read:{reader:a.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,s.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.Field")],y)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(32198),l=r(91429),o=r(76357),s=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],u.prototype,"maxValue",void 0),(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,s.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>d,g:()=>f});var n,i=r(53177),l=r(76357),o=r(32198),s=r(91429),u=r(93223);let a=class extends l.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],a.prototype,"type",void 0),a=n=(0,o.Cg)([(0,s.$K)("esri.layers.support.InheritedDomain")],a);var c=r(41628);const f={key:"type",base:l.A,typeMap:{range:c.A,"coded-value":i.A,inherited:a}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return a.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9829],{39829(n,t,e){e.d(t,{A:()=>M});var r,i=e(32198),s=e(4576),o=e(51447),u=e(4718),a=e(53966),l=e(91429),h=e(5443),c=e(91075),f=e(86738),m=e(16930),g=e(12359),x=e(94078),p=e(95108),y=e(90634),I=e(47610),v=e(28735),d=e(56993),N=e(43937);function P(n){return!Array.isArray(n[0])}let M=r=class extends c.A{static fromExtent(n){const t=n.clone().normalize(),{spatialReference:e}=n;let i=!1,s=!1;for(const n of t)n.hasZ&&(i=!0),n.hasM&&(s=!0);const o={rings:t.map(n=>{const t=[[n.xmin,n.ymin],[n.xmin,n.ymax],[n.xmax,n.ymax],[n.xmax,n.ymin],[n.xmin,n.ymin]];if(i&&n.hasZ){const e=n.zmin+.5*(n.zmax-n.zmin);for(let n=0;n<t.length;n++)t[n].push(e)}if(s&&n.hasM){const e=n.mmin+.5*(n.mmax-n.mmin);for(let n=0;n<t.length;n++)t[n].push(e)}return t}),spatialReference:e};return i&&(o.hasZ=!0),s&&(o.hasM=!0),new r(o)}constructor(n){super(function(n){if(!n)return;let{rings:t,hasM:e,hasZ:r,spatialReference:i}=n;switch(t??=[],function(n){return"number"==typeof n[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,e??=!0;break;case 3:r??=!0!==e,e??=!r;break;default:r??=!1,e??=!1}return i??=m.A.WGS84,{...n,hasM:e,hasZ:r,rings:t,spatialReference:i}}(n)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,o.Lx)(a.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const n=(0,g.Ve)(this);return n?f.A.fromJSON(n):null}writeCurveRings(n,t){t.curveRings=(0,u.o8)(n)}get extent(){const n=(0,y.v)(this),{spatialReference:t}=this;return n?new h.A({...n,spatialReference:t}):null}writeRings(n,t){t.rings=(0,u.o8)(this.rings)}addRing(n){if(!n)return;const t=this.rings,e=t.length;if(P(n)){const r=[];for(let t=0,e=n.length;t<e;t++)r[t]=n[t].toArray();t[e]=r}else t[e]=n.slice();return this.notifyChange("rings"),this}clone(){const n=new r;return n.spatialReference=this.spatialReference,n.rings=(0,u.o8)(this.rings),n.curveRings=(0,u.o8)(this.curveRings),n.hasZ=this.hasZ,n.hasM=this.hasM,n}equals(n){if(this===n)return!0;if(null==n)return!1;const t=this.spatialReference,e=n.spatialReference;if(null!=t!=(null!=e))return!1;if(null!=t&&null!=e&&!t.equals(e))return!1;if(this.rings.length!==n.rings.length)return!1;for(let t=0;t<this.rings.length;t++){const e=this.rings[t],r=n.rings[t];if(!(0,s.aI)(e,r,I.v6))return!1}return!0}contains(n){if(!n)return!1;const t=(0,v.Cv)(n,this.spatialReference);return(0,x.m3)(this,null!=t?t:n)}isClockwise(n){const t=P(n)?n.map(n=>this.hasZ?this.hasM?[n.x,n.y,n.z,n.m]:[n.x,n.y,n.z]:[n.x,n.y]):n;return(0,p.$3)(t)}getPoint(n,t){if(!this._validateInputs(n,t))return null;const e=this.rings[n][t],r=this.hasZ,i=this.hasM;return r&&!i?new f.A(e[0],e[1],e[2],void 0,this.spatialReference):i&&!r?new f.A(e[0],e[1],void 0,e[2],this.spatialReference):r&&i?new f.A(e[0],e[1],e[2],e[3],this.spatialReference):new f.A(e[0],e[1],this.spatialReference)}insertPoint(n,t,e){return this._validateInputs(n,t,!0)?((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.rings[n].splice(t,0,e),this.notifyChange("rings"),this):this}removePoint(n,t){if(!this._validateInputs(n,t))return null;const e=new f.A(this.rings[n].splice(t,1)[0],this.spatialReference);return this.notifyChange("rings"),e}removeRing(n){if(!this._validateInputs(n,null))return null;const t=this.rings.splice(n,1)[0],e=this.spatialReference,r=t.map(n=>new f.A(n,e));return this.notifyChange("rings"),r}setPoint(n,t,e){return this._validateInputs(n,t)?((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.rings[n][t]=e,this.notifyChange("rings"),this):this}_validateInputs(n,t,e=!1){if(null==n||n<0||n>=this.rings.length)return!1;if(null!=t){const r=this.rings[n];if(e&&(t<0||t>r.length))return!1;if(!e&&(t<0||t>=r.length))return!1}return!0}toJSON(n){return this.write({},n)}};(0,i.Cg)([(0,l.MZ)({readOnly:!0})],M.prototype,"cache",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],M.prototype,"centroid",null),(0,i.Cg)([(0,l.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],M.prototype,"curveRings",void 0),(0,i.Cg)([(0,N.K)("curveRings")],M.prototype,"writeCurveRings",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],M.prototype,"extent",null),(0,i.Cg)([(0,l.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],M.prototype,"rings",void 0),(0,i.Cg)([(0,N.K)("rings")],M.prototype,"writeRings",null),M=r=(0,i.Cg)([(0,l.$K)("esri.geometry.Polygon")],M),M.prototype.toJSON.isDefaultToJSON=!0},51118(n,t,e){function r(n){const t=[];for(n.reset();n.nextPath();){const e=[];for(;n.nextPoint();){const t=[n.x,n.y];n.hasZ&&t.push(n.z),n.hasM&&t.push(n.m),e.push(t)}t.push(e)}return n.reset(),t}function i(n){const t=[];for(;n.nextPoint();)t.push([n.x,n.y]);return n.seekPathStart(),t}e.d(t,{A:()=>i,x:()=>r})},537(n,t,e){e.d(t,{B$:()=>p,LJ:()=>y,Pj:()=>d,Rg:()=>g,Yz:()=>I,z8:()=>x});var r=e(19419),i=e(79567),s=e(52006);function o(n){return void 0!==n.xmin&&void 0!==n.ymin&&void 0!==n.xmax&&void 0!==n.ymax}function u(n){return void 0!==n.points}function a(n){return void 0!==n.x&&void 0!==n.y}function l(n){return void 0!==n.paths}function h(n){return void 0!==n.rings}function c(n){return function(t,e){return null==t?e:null==e?t:n(t,e)}}const f=c(Math.min),m=c(Math.max);function g(n,t){return l(t)?I(n,t.curvePaths??t.paths,!1,!1)??n:h(t)?I(n,t.curveRings??t.rings,!1,!1)??n:u(t)?d(n,t.points,!1,!1,!1,!1):o(t)?v(n,t):(a(t)&&(n[0]=t.x,n[1]=t.y,n[2]=t.x,n[3]=t.y),n)}function x(n){let t,e,i,s;for(n.reset(),t=i=1/0,e=s=-1/0;n.nextPath();){const r=p(n);t=Math.min(r[0],t),i=Math.min(r[1],i),e=Math.max(r[2],e),s=Math.max(r[3],s)}return(0,r.vt)([t,i,e,s])}function p(n){let t,e,i,s;for(t=i=1/0,e=s=-1/0;n.nextPoint();)t=Math.min(n.x,t),i=Math.min(n.y,i),e=Math.max(n.x,e),s=Math.max(n.y,s);return(0,r.vt)([t,i,e,s])}function y(n,t){return l(t)?I(n,t.curvePaths??t.paths,!0,!1)??n:h(t)?I(n,t.curveRings??t.rings,!0,!1)??n:u(t)?d(n,t.points,!0,!1,!0,!1):o(t)?v(n,t,0,0,!0,!1):(a(t)&&(n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.x,n[4]=t.y,n[5]=t.z),n)}function I(n,t,e,o){const u=e?3:2;if(!t.length||!t[0].length)return null;let a,l,h,c,[g,x]=(0,s.yP)(t[0][0]),p=g,y=x;for(let n=0;n<t.length;n++){const I=t[n];for(let n=0;n<I.length;n++){const t=(0,s.yP)(I[n]),[v,d]=t;if(g=f(g,v),x=f(x,d),p=m(p,v),y=m(y,d),e&&t.length>2){const n=t[2];a=f(a,n),l=m(l,n)}if(o&&t.length>u){const n=t[u];h=f(h,n),c=m(c,n)}const N=I[n];if((0,s.Xq)(N)||n<1)continue;const P=(0,s.yP)(I[n-1]),M=(0,r.fA)(g,x,p,y);[g,x,p,y]=(0,i.e)(M,P,N)}}return e?o?(n[0]=g,n[1]=x,n[2]=a,n[3]=h,n[4]=p,n[5]=y,n[6]=l,n[7]=c,n.length=8,n):(n[0]=g,n[1]=x,n[2]=a,n[3]=p,n[4]=y,n[5]=l,n.length=6,n):o?(n[0]=g,n[1]=x,n[2]=h,n[3]=p,n[4]=y,n[5]=c,n.length=6,n):(n[0]=g,n[1]=x,n[2]=p,n[3]=y,n.length=4,n)}function v(n,t,e,r,i,s){const o=t.xmin,u=t.xmax,a=t.ymin,l=t.ymax;let h=t.zmin,c=t.zmax,f=t.mmin,m=t.mmax;return i?(h=h||0,c=c||0,s?(f=f||0,m=m||0,n[0]=o,n[1]=a,n[2]=h,n[3]=f,n[4]=u,n[5]=l,n[6]=c,n[7]=m,n):(n[0]=o,n[1]=a,n[2]=h,n[3]=u,n[4]=l,n[5]=c,n)):s?(f=f||0,m=m||0,n[0]=o,n[1]=a,n[2]=f,n[3]=u,n[4]=l,n[5]=m,n):(n[0]=o,n[1]=a,n[2]=u,n[3]=l,n)}function d(n,t,e,r,i,s){const o=e?3:2,u=r&&s,a=e&&i;if(!t.length||!t[0].length)return null;let l,h,c,g,[x,p]=t[0],[y,I]=t[0];for(let n=0;n<t.length;n++){const e=t[n],[r,i]=e;if(x=f(x,r),p=f(p,i),y=m(y,r),I=m(I,i),a&&e.length>2){const n=e[2];l=f(l,n),h=m(h,n)}if(u&&e.length>o){const n=e[o];c=f(l,n),g=m(h,n)}}return i?(l=l||0,h=h||0,s?(c=c||0,g=g||0,n[0]=x,n[1]=p,n[2]=l,n[3]=c,n[4]=y,n[5]=I,n[6]=h,n[7]=g,n):(n[0]=x,n[1]=p,n[2]=l,n[3]=y,n[4]=I,n[5]=h,n)):s?(c=c||0,g=g||0,n[0]=x,n[1]=p,n[2]=c,n[3]=y,n[4]=I,n[5]=g,n):(n[0]=x,n[1]=p,n[2]=y,n[3]=I,n)}},12359(n,t,e){e.d(t,{IK:()=>h,TP:()=>c,Ve:()=>u,Z4:()=>s,l8:()=>o,w2:()=>l});var r=e(51118),i=e(95108);function s({xmin:n,xmax:t,ymin:e,ymax:r,zmin:i,zmax:s,hasZ:o}){const u=[(n+t)/2,(e+r)/2];return o&&u.push((i+s)/2),u}function o(n){return function(n,t){if(!n?.length)return null;const e=[],r=[],s=t?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let e=0,i=n.length;e<i;e++){const i=a(n[e],t,s);i&&r.push(i)}if(r.sort((n,e)=>{let r=n[2]-e[2];return 0===r&&t&&(r=n[4]-e[4]),r}),r.length&&(e[0]=r[0][0],e[1]=r[0][1],t&&(e[2]=r[0][3]),(e[0]<s[0]||e[0]>s[1]||e[1]<s[2]||e[1]>s[3]||t&&(e[2]<s[4]||e[2]>s[5]))&&(e.length=0)),!e.length){const r=n[0]&&n[0].length?function(n,t){const e=t?[0,0,0]:[0,0],r=t?[0,0,0]:[0,0];let s=0,o=0,u=0,a=0;for(let l=0,h=n.length;l<h-1;l++){const h=n[l],c=n[l+1];if(h&&c){e[0]=h[0],e[1]=h[1],r[0]=c[0],r[1]=c[1],t&&h.length>2&&c.length>2&&(e[2]=h[2],r[2]=c[2]);const n=(0,i.R3)(e,r);if(n){s+=n;const e=(0,i.t9)(h,c);o+=n*e[0],u+=n*e[1],t&&e.length>2&&(a+=n*e[2])}}}return s>0?t?[o/s,u/s,a/s]:[o/s,u/s]:n.length?n[0]:null}(n[0],t):null;if(!r)return null;e[0]=r[0],e[1]=r[1],t&&r.length>2&&(e[2]=r[2])}return e}(n.rings,n.hasZ??!1)}function u(n){const t=o(n);if(!t)return null;const{hasZ:e,spatialReference:r}=n,[i,s,u]=t;return isNaN(i)||isNaN(s)||e&&isNaN(u)?null:{x:i,y:s,z:e?u:void 0,spatialReference:r}}function a(n,t,e){let r=0,i=0,s=0,o=0,u=0;const a=n.length?n[0][0]:0,l=n.length?n[0][1]:0,h=n.length&&t?n[0][2]:0;for(let c=0;c<n.length;c++){const f=n[c],m=n[(c+1)%n.length],[g,x,p]=f,y=g-a,I=x-l,[v,d,N]=m,P=v-a,M=d-l,R=y*M-P*I;if(o+=R,r+=(y+P)*R,i+=(I+M)*R,t&&f.length>2&&m.length>2){const n=p-h,t=N-h,e=y*t-P*n;s+=(n+t)*e,u+=e}g<e[0]&&(e[0]=g),g>e[1]&&(e[1]=g),x<e[2]&&(e[2]=x),x>e[3]&&(e[3]=x),t&&(p<e[4]&&(e[4]=p),p>e[5]&&(e[5]=p))}if(o>0&&(o*=-1),u>0&&(u*=-1),!o)return null;o*=.5,u*=.5;const c=[r/(6*o)+a,i/(6*o)+l,o];return t&&(e[4]===e[5]||0===u?(c[3]=(e[4]+e[5])/2,c[4]=0):(c[3]=s/(6*u)+h,c[4]=u)),c}function l(n,t){let e=0,r=0,i=0;n.nextPoint();const s=n.pathSize?n.x:0,o=n.pathSize?n.y:0;for(let u=0;u<n.pathSize;u++){n.seekInPath(u);const a=[n.x,n.y];n.seekInPath((u+1)%n.pathSize);const l=[n.x,n.y],[h,c]=a,f=h-s,m=c-o,[g,x]=l,p=g-s,y=x-o,I=f*y-p*m;i+=I,e+=(f+p)*I,r+=(m+y)*I,h<t[0]&&(t[0]=h),h>t[1]&&(t[1]=h),c<t[2]&&(t[2]=c),c>t[3]&&(t[3]=c)}return i>0&&(i*=-1),i?(i*=.5,[e/(6*i)+s,r/(6*i)+o,i]):null}function h(n){const{hasZ:t,totalSize:e}=n;if(0===e)return null;const s=[],o=[],u=t?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY];for(n.reset();n.nextPath();){const t=a((0,r.A)(n),n.hasZ,u);t&&o.push(t)}if(o.sort((n,e)=>{let r=n[2]-e[2];return 0===r&&t&&(r=n[4]-e[4]),r}),o.length&&(s[0]=o[0][0],s[1]=o[0][1],t&&(s[2]=o[0][3]),(s[0]<u[0]||s[0]>u[1]||s[1]<u[2]||s[1]>u[3]||t&&(s[2]<u[4]||s[2]>u[5]))&&(s.length=0)),!s.length){n.reset(),n.nextPath();const e=n.pathSize?function(n){const{hasZ:t}=n,e=t?[0,0,0]:[0,0],r=t?[0,0,0]:[0,0];let s=0,o=0,u=0,a=0;if(n.nextPoint()){let l=n.x,h=n.y,c=n.z;for(;n.nextPoint();){const f=n.x,m=n.y,g=n.z;e[0]=l,e[1]=h,r[0]=f,r[1]=m,t&&(e[2]=c,r[2]=g);const x=(0,i.R3)(e,r);if(x){s+=x;const n=(0,i.t9)(e,r);o+=x*n[0],u+=x*n[1],t&&n.length>2&&(a+=x*n[2])}l=f,h=m,c=g}}return s>0?t?[o/s,u/s,a/s]:[o/s,u/s]:n.pathSize?(n.seekPathStart(),n.nextPoint(),[n.x,n.y]):null}(n):null;if(!e)return null;s[0]=e[0],s[1]=e[1],t&&e.length>2&&(s[2]=e[2])}return s}function c(n){let t=0;for(n.reset();n.nextPath();)t+=n.getCurrentRingArea();if(t<1e-6){const t=h(n);return t?[t[0],t[1]]:null}const e=[0,0];if(n.reset(),!n.nextPath()||!n.nextPoint())return null;const r=[n.x,n.y];for(n.reset();n.nextPath();)m(e,r,n);return e[0]*=1/t,e[1]*=1/t,e[0]+=r[0],e[1]+=r[1],e}const f=1/3;function m(n,t,e){if(!n||!e||e.pathSize<3)return null;e.nextPoint();const r=e.x,i=e.y;e.nextPoint();let s,o=e.x-r,u=e.y-i,a=0,l=0;for(;e.nextPoint();)a=e.x-r,l=e.y-i,s=.5*f*(a*u-l*o),n[0]+=s*(o+a),n[1]+=s*(u+l),o=a,u=l;const h=e.getCurrentRingArea(),c=[r,i];return c[0]-=t[0],c[1]-=t[1],c[0]*=h,c[1]*=h,n[0]+=c[0],n[1]+=c[1],n}},95108(n,t,e){e.d(t,{$3:()=>h,Ng:()=>u,R3:()=>i,Xf:()=>o,Yl:()=>l,gR:()=>s,m3:()=>f,t9:()=>a});var r=e(4576);function i(n,t){const e=t[0]-n[0],r=t[1]-n[1];if(n.length>2&&t.length>2){const i=n[2]-t[2];return Math.sqrt(e*e+r*r+i*i)}return Math.sqrt(e*e+r*r)}function s(n,t,e,r){const[i,s]=t,[o,u]=e,[a,l]=r,h=a-o,c=l-u,f=h*h+c*c,m=(i-o)*h+(s-u)*c,g=Math.min(1,Math.max(0,m/f));return n[0]=o+h*g,n[1]=u+c*g,n}function o(n,t,e){let r,i,s,o,a=!1,l=1/0;for(e.reset();e.nextPath();)if(e.nextPoint())for(r=e.x,i=e.y;e.nextPoint();)s=e.x,o=e.y,i>t!=o>t&&n<(s-r)*(t-i)/(o-i)+r&&(a=!a),l=Math.min(l,u(n,t,r,i,s,o)),r=s,i=o;return 0===l?0:(a?1:-1)*Math.sqrt(l)}function u(n,t,e,r,i,s){let o=e,u=r,a=i-o,l=s-u;if(0!==a||0!==l){const e=((n-o)*a+(t-u)*l)/(a*a+l*l);e>1?(o=i,u=s):e>0&&(o+=a*e,u+=l*e)}return a=n-o,l=t-u,a*a+l*l}function a(n,t){return function(n,t,e){const r=n[0]+e*(t[0]-n[0]),i=n[1]+e*(t[1]-n[1]);return n.length>2&&t.length>2?[r,i,n[2]+e*(t[2]-n[2])]:[r,i]}(n,t,.5)}function l(n){const t=n.length;let e=0;for(let r=0;r<t-1;++r)e+=i(n[r],n[r+1]);return e}function h(n,t=0,e=1){let r=0;const i=n.length;let s=n[0];for(let o=1;o<i;o++){const i=n[o];r+=(i[t]-s[t])*(i[e]+s[e]),s=i}if(c(n)){const i=n[0];r+=(i[t]-s[t])*(i[e]+s[e])}return r>=0}function c(n){const t=n.length;return t>0&&!(0,r.aI)(n[0],n[t-1])}function f(n){if("rings"in n)for(const t of n.rings)c(t)&&t.push(t[0].slice())}e(52006)},90634(n,t,e){e.d(t,{HA:()=>h,JM:()=>c,Z3:()=>g,ge:()=>f,v:()=>m});var r=e(537);const i=[];function s(n,t,e,r){return{xmin:n,ymin:t,xmax:e,ymax:r}}function o(n,t,e,r,i,s){return{xmin:n,ymin:t,zmin:e,xmax:r,ymax:i,zmax:s}}function u(n,t,e,r,i,s){return{xmin:n,ymin:t,mmin:e,xmax:r,ymax:i,mmax:s}}function a(n,t,e,r,i,s,o,u){return{xmin:n,ymin:t,zmin:e,mmin:r,xmax:i,ymax:s,zmax:o,mmax:u}}function l(n,t=!1,e=!1){return t?e?a(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7]):o(n[0],n[1],n[2],n[3],n[4],n[5]):e?u(n[0],n[1],n[2],n[3],n[4],n[5]):s(n[0],n[1],n[2],n[3])}function h(n){return n?function(n){return void 0!==n.xmin&&void 0!==n.ymin&&void 0!==n.xmax&&void 0!==n.ymax}(n)?n:function(n){return void 0!==n.x&&void 0!==n.y}(n)?function(n){const{x:t,y:e,z:r,m:i}=n,l=null!=i;return null!=r?l?a(t,e,r,i,t,e,r,i):o(t,e,r,t,e,r):l?u(t,e,i,t,e,i):s(t,e,t,e)}(n):function(n){return void 0!==n.rings}(n)?m(n):function(n){return void 0!==n.paths}(n)?g(n):function(n){return void 0!==n.points}(n)?f(n):null:null}function c(n,{xmin:t,ymin:e,zmin:r,mmin:i,xmax:s,ymax:o,zmax:u,mmax:a}){n.xmin=Math.min(n.xmin,t),n.xmax=Math.max(n.xmax,s),n.ymin=Math.min(n.ymin,e),n.ymax=Math.max(n.ymax,o),null!=n.zmin&&(n.zmin=Math.min(n.zmin,r),n.zmax=Math.max(n.zmax,u)),null!=n.mmin&&(n.mmin=Math.min(n.mmin,i),n.mmax=Math.max(n.mmax,a))}function f(n){const{hasZ:t,hasM:e,points:s}=n,o=(0,r.Pj)(i,s,t??!1,e??!1,t??!1,e??!1);return o?l(o,t,e):null}function m(n){const{hasZ:t,hasM:e,rings:s,curveRings:o}=n,u=(0,r.Yz)(i,o??s,t??!1,e??!1);return u?l(u,t,e):null}function g(n){const{hasZ:t,hasM:e,paths:s,curvePaths:o}=n,u=(0,r.Yz)(i,o??s,t??!1,e??!1);return u?l(u,t,e):null}},47610(n,t,e){function r([n,t,e,r],[i,s,o,u]){return n===i&&t===s&&(null==e&&null==o||e===o)&&(null==r&&null==u||r===u)}e.d(t,{v6:()=>r}),e(5443),e(83960)},83960(n,t,e){e.d(t,{X_:()=>s,oW:()=>u,zx:()=>o});var r=e(34727),i=e(86211);function s(n,t){const e=t||n.extent,r=n.width,s=(0,i.GA)(e?.spatialReference);return e&&r?e.width/r*s*39.37*96:0}function o(n,t,e){return function(n,t){return 0===t||(0,r.Sp)(n,t)||n<t}(n,t)&&function(n,t){return 0===t||(0,r.Sp)(n,t)||n>t}(n,e)}function u(n,t){return(0,r.Sp)(n,t)?0:(n||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},56993(n,t,e){function r(n,t,e=!1){let{hasM:r,hasZ:i}=n;Array.isArray(t)?4!==t.length||r||i?3===t.length&&e&&!r?(i=!0,r=!1):3===t.length&&r&&i&&(r=!1,i=!1):(r=!0,i=!0):(i=!i&&t.hasZ&&(!r||t.hasM),r=!r&&t.hasM&&(!i||t.hasZ)),n.hasZ=i,n.hasM=r}e.d(t,{h:()=>r})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3543,7367],{93543(e,n,t){t.r(n),t.d(n,{executeScript:()=>me,extend:()=>we,prepareScript:()=>ye});var r=t(48938),a=t(99719),o=t(72888),i=t(17433),s=t(67862),c=t(11484),l=t(66395),u=t(85935),f=t(93833),d=t(92400),w=t(78878),p=t(19157),y=t(3367),m=t(63680),h=t(81113),g=t(32091),b=t(87367),v=t(21593),D=t(36770),R=t(47346),$=t(29304),x=t(4730),S=t(53966),I=t(16930),C=t(94128),F=t(54218);const A=()=>S.A.getLogger("esri.arcade.arcadeAsyncRuntime"),k=Symbol("debugInfo"),G=Symbol("uninitialized");function N(e){if(e===G)throw new u.D$("InvalidIdentifier",null)}function E(e){return N(e),e}function J(e,n){const t=(0,r.X)(n);if(null!==e.localScope){const n=e.localScope[t];if(void 0!==n)return{scope:e.localScope,id:t,var:n}}const a=e.globalScope[t];if(void 0!==a)return{scope:e.globalScope,id:t,var:a};throw new u.D$("InvalidIdentifier",n)}function P(e,n,t="InvalidIdentifier"){const a=(0,r.X)(n);if(null!==e.localScope){const n=e.localScope[a];if(void 0!==n)return N(n),n.value}const o=e.globalScope[a];if(void 0!==o)return N(o),o.value;throw new u.D$(t,n)}const O=function(){};async function L(e,n){const t=[];for(let r=0;r<n.arguments.length;r++)t.push(await q(e,n.arguments[r]));return t}async function M(e,n,t){return!0===n.preparsed?t(e,null,n.arguments):t(e,n,await L(e,n))}O.prototype=Object.freeze(Object.create(null));class H extends d.fF{constructor(e,n,t,r,a){super(),this.definition=e,this.context=n,this._params=t,this._locals=r,this._debugInfo=a}get debugName(){return this.definition.id.name}createFunction(e){return(...n)=>{const t=new O;t[k]=this._debugInfo;const r={spatialReference:this.context.spatialReference,console:this.context.console,lrucache:this.context.lrucache,timeZone:this.context.timeZone??null,exports:this.context.exports,libraryResolver:this.context.libraryResolver,interceptor:this.context.interceptor,services:this.context.services,abortSignal:this.context.abortSignal,localScope:t,depthCounter:{depth:e.depthCounter.depth+1},globalScope:this.context.globalScope,contextScopeDebugInfo:this.context.contextScopeDebugInfo,track:this.context.track};if(r.depthCounter.depth>64)throw new u.D$("MaximumCallDepth",null);return U(r,this.definition.body,this._params,this._locals,n,null)}}call(e,n){return B(e,n,(t,r,a)=>{const o=new O;o[k]=this._debugInfo;const i={spatialReference:e.spatialReference,services:e.services,console:e.console,libraryResolver:e.libraryResolver,exports:e.exports,lrucache:e.lrucache,timeZone:e.timeZone??null,interceptor:e.interceptor,localScope:o,abortSignal:e.abortSignal,globalScope:e.globalScope,contextScopeDebugInfo:e.contextScopeDebugInfo,depthCounter:{depth:e.depthCounter.depth+1},track:e.track};if(i.depthCounter.depth>64)throw new u.D$("MaximumCallDepth",n);return U(i,this.definition.body,this._params,this._locals,a,n)})}marshalledCall(e,n,t,r){return r(e,n,async(a,o,i)=>{const s=new O;s[k]=this._debugInfo;const c={spatialReference:e.spatialReference,services:e.services,globalScope:t.globalScope,contextScopeDebugInfo:t.contextScopeDebugInfo,depthCounter:{depth:e.depthCounter.depth+1},libraryResolver:e.libraryResolver,exports:e.exports,console:e.console,abortSignal:e.abortSignal,lrucache:e.lrucache,timeZone:e.timeZone??null,interceptor:e.interceptor,localScope:s,track:e.track};return i=i.map(n=>!(0,w.i)(n)||n instanceof d.CU?n:(0,d.o6)(n,e,r)),(0,d.o6)(await U(c,this.definition.body,this._params,this._locals,i,n),t,r)})}}async function U(e,n,t,r,a,o){if(t.length!==a.length)throw new u.D$("WrongNumberOfParameters",o);if(null!=e.localScope){for(let n=0;n<t.length;n++)e.localScope[t[n]]={value:a[n]};for(const n of r)e.localScope[n]=G}const i=await K(e,n);if(i instanceof w.R)return i.value;if(i===w.C)throw new u.D$("UnexpectedToken",o);if(i===w.D)throw new u.D$("UnexpectedToken",o);return i instanceof w.I?i.value:i}class j extends a.x{constructor(e){super(),this.moduleGlobalContext=e}global(e){const n=(0,r.X)(e);if(!this.moduleGlobalContext.exports.has(n))throw new u.D$("ModuleExportNotFound",null);const t=this.moduleGlobalContext.globalScope[n];if(N(t),(0,w.i)(t.value)&&!(t.value instanceof d.CU)){const e=new d.CU;return e.fn=t.value,e.parameterEvaluator=M,e.context=this.moduleGlobalContext,this.moduleGlobalContext.globalScope[n]={value:e},e}return t.value}setGlobal(e,n){if((0,w.i)(n))throw new u.D$("AssignModuleFunction",null);const t=(0,r.X)(e);if(!this.moduleGlobalContext.exports.has(t))throw new u.D$("ModuleExportNotFound",null);this.moduleGlobalContext.globalScope[t]={value:n}}hasGlobal(e){return this.moduleGlobalContext.exports.has((0,r.X)(e))}static async load(e,n){const{globals:t,exports:a}=(0,i.aU)(n),s=new de;null!=e.contextScopeDebugInfo&&(s[k]={declaredNames:t});for(const e of t.keys())e in s||(s[e]=G);const c=e.spatialReference??I.A.WebMercator,l={lrucache:e.lrucache,interceptor:e.interceptor,services:e.services,console:e.console??pe,abortSignal:e.abortSignal??r._,timeZone:e.timeZone??null,spatialReference:c,track:null,depthCounter:{depth:1},libraryResolver:new o.a(e.libraryResolver._moduleSingletons,n.loadedModules),exports:a,localScope:null,globalScope:s,contextScopeDebugInfo:null!=e.contextScopeDebugInfo?{declaredNames:new Map}:null};return await Q(l,n),new j(l)}}async function B(e,n,t){return!0===n.preparsed?t(e,null,n.arguments):t(e,n,await L(e,n))}function _(e,n,t){const r=new Map;if(n)for(const[a,o]of n.declaredNames){const n=e[a];r.set(o,null==n||n===G?null:(0,c.R)(n.value,t))}else for(const n of Object.getOwnPropertyNames(e)){const a=e[n];r.set(n,a===G?null:(0,c.R)(a.value,t))}return r}function Z(e){return e instanceof H?`ƒ ${e.debugName}(${e.definition.params.map(e=>e.name).join(", ")})`:(0,c.h)(e)}function z(e,n){const t=e.services?.debugger;if(null==t)return;const r={renderFunction:Z,defaultTimeZone:e.timeZone??"system"};return t.pause(n,{profile:null!=e.contextScopeDebugInfo?_(e.globalScope,e.contextScopeDebugInfo,r):new Map,globals:_(e.globalScope,e.globalScope[k],r),locals:null==e.localScope?null:_(e.localScope,e.localScope[k],r)})}async function q(e,n){n.breakpoint&&await z(e,n.breakpoint);try{switch(n.type){case"UpdateExpression":return await async function(e,n){const t=n.argument;if("CallExpression"===t.type)throw new u.D$("NeverReach",n);if("MemberExpression"===t.type){const r=await q(e,t.object);let a,o;if(!0===t.computed)a=await q(e,t.property);else{if("Identifier"!==t.property.type)throw new u.D$("Unrecognized",n);a=t.property.name}if((0,F.cy)(r)){if(!(0,F.Et)(a))throw new u.D$("ArrayAccessMustBeNumber",n);if(a<0&&(a=r.length+a),a<0||a>=r.length)throw new u.D$("OutOfBounds",n);o=(0,w.v)(r[a]),r[a]="++"===n.operator?o+1:o-1}else if(r instanceof l.A){if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0!==r.hasField(a))throw new u.D$("FieldNotFound",n,{key:a});o=(0,w.v)(r.field(a)),r.setField(a,"++"===n.operator?o+1:o-1)}else if(r instanceof j){if(!1===(0,F.Kg)(a))throw new u.D$("ModuleAccessorMustBeString",n);if(!0!==r.hasGlobal(a))throw new u.D$("ModuleExportNotFound",n);o=(0,w.v)(r.global(a)),r.setGlobal(a,"++"===n.operator?o+1:o-1)}else{if(!(0,w.h)(r))throw(0,w.g)(r)?new u.D$("Immutable",n):new u.D$("InvalidParameter",n);if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0!==r.hasField(a))throw new u.D$("FieldNotFound",n,{key:a});o=(0,w.v)(r.field(a)),r.setField(a,"++"===n.operator?o+1:o-1)}return!1===n.prefix?o:"++"===n.operator?o+1:o-1}const r=J(e,t),a=(0,w.v)(E(r.var).value),o="++"===n.operator?a+1:a-1;return r.scope[r.id]={value:o},!1===n.prefix?a:"++"===n.operator?a+1:a-1}(e,n);case"AssignmentExpression":return await async function(e,n){const t=n.left;if("MemberExpression"===t.type){const r=await q(e,t.object);let a;if(!0===t.computed)a=await q(e,t.property);else{if("Identifier"!==t.property.type)throw new u.D$("InvalidIdentifier",n);a=t.property.name}const o=await q(e,n.right);if((0,F.cy)(r)){if(!(0,F.Et)(a))throw new u.D$("ArrayAccessMustBeNumber",n);if(a<0&&(a=r.length+a),a<0||a>r.length)throw new u.D$("OutOfBounds",n);if(a===r.length){if("="!==n.operator)throw new u.D$("OutOfBounds",n);r[a]=V(o,n.operator,r[a],n)}else r[a]=V(o,n.operator,r[a],n)}else if(r instanceof l.A){if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0===r.hasField(a))r.setField(a,V(o,n.operator,r.field(a),n));else{if("="!==n.operator)throw new u.D$("FieldNotFound",n,{key:a});r.setField(a,V(o,n.operator,null,n))}}else if(r instanceof j){if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0!==r.hasGlobal(a))throw new u.D$("ModuleExportNotFound",n);r.setGlobal(a,V(o,n.operator,r.global(a),n))}else{if(!(0,w.h)(r))throw(0,w.g)(r)?new u.D$("Immutable",n):new u.D$("InvalidParameter",n);if(!1===(0,F.Kg)(a))throw new u.D$("KeyAccessorMustBeString",n);if(!0===r.hasField(a))r.setField(a,V(o,n.operator,r.field(a),n));else{if("="!==n.operator)throw new u.D$("FieldNotFound",n,{key:a});r.setField(a,V(o,n.operator,null,n))}}return w.x}const r=J(e,t),a=await q(e,n.right);return r.scope[r.id]={value:V(a,n.operator,"="!==n.operator?E(r.var).value:null,n)},w.x}(e,n);case"TemplateLiteral":return await async function(e,n){let t="",r=0;for(const a of n.quasis)if(t+=a.value?a.value.cooked:"",!1===a.tail){if(n.expressions[r]){const a=await q(e,n.expressions[r]);if((0,w.i)(a))throw new u.D$("NoFunctionInTemplateLiteral",n);t+=(0,w.w)(a)}r++}return t}(e,n);case"Identifier":return ae(e,n);case"MemberExpression":return await async function(e,n){return ne(e,await q(e,n.object),n)}(e,n);case"Literal":return n.value;case"CallExpression":return await async function(e,n){let t;if("Identifier"===n.callee.type){const r=n.callee;r.breakpoint&&await z(e,r.breakpoint),t=P(e,n.callee,"FunctionNotFound")}else t=await q(e,n.callee);return oe(e,t,n)}(e,n);case"UnaryExpression":return await async function(e,n){const t=await q(e,n.argument);if((0,F.Lm)(t)){if("!"===n.operator)return!t;if("-"===n.operator)return-1*(0,w.v)(t);if("+"===n.operator)return 1*(0,w.v)(t);if("~"===n.operator)return~(0,w.v)(t);throw new u.D$("UnsupportUnaryOperator",n)}if("-"===n.operator)return-1*(0,w.v)(t);if("+"===n.operator)return 1*(0,w.v)(t);if("~"===n.operator)return~(0,w.v)(t);throw new u.D$("UnsupportUnaryOperator",n)}(e,n);case"BinaryExpression":return await async function(e,n){const t=await q(e,n.left),r=await q(e,n.right);switch(n.operator){case"|":case"<<":case">>":case">>>":case"^":case"&":return(0,w.A)((0,w.v)(t),(0,w.v)(r),n.operator);case"==":return(0,w.z)(t,r);case"!=":return!(0,w.z)(t,r);case"<":case">":case"<=":case">=":return(0,w.y)(t,r,n.operator);case"+":return(0,F.Kg)(t)||(0,F.Kg)(r)?(0,w.w)(t)+(0,w.w)(r):(0,w.v)(t)+(0,w.v)(r);case"-":return(0,w.v)(t)-(0,w.v)(r);case"*":return(0,w.v)(t)*(0,w.v)(r);case"/":return(0,w.v)(t)/(0,w.v)(r);case"%":return(0,w.v)(t)%(0,w.v)(r);default:throw n.operator,new u.D$("UnsupportedOperator",n)}}(e,n);case"LogicalExpression":return await async function(e,n){const t=await q(e,n.left);if(!(0,F.Lm)(t))throw new u.D$("LogicalExpressionOnlyBoolean",n);switch(n.operator){case"||":{if(!0===t)return t;const r=await q(e,n.right);if((0,F.Lm)(r))return r;throw new u.D$("LogicExpressionOrAnd",n)}case"&&":{if(!1===t)return t;const r=await q(e,n.right);if((0,F.Lm)(r))return r;throw new u.D$("LogicExpressionOrAnd",n)}default:throw n.operator,new u.D$("LogicExpressionOrAnd",n)}}(e,n);case"ArrayExpression":return await async function(e,n){const t=[];for(let r=0;r<n.elements.length;r++)t.push(await q(e,n.elements[r]));for(let e=0;e<t.length;e++){if((0,w.i)(t[e]))throw new u.D$("NoFunctionInArray",n);t[e]===w.x&&(t[e]=null)}return t}(e,n);case"ObjectExpression":return await async function(e,n){const t=[];for(let r=0;r<n.properties.length;r++){const a=n.properties[r],o=await q(e,a.value),i="Identifier"===a.key.type?a.key.name:await q(e,a.key);t[r]={key:i,value:o}}const r=Object.create(null),a=new Map;for(let e=0;e<t.length;e++){const o=t[e];if((0,w.i)(o.value))throw new u.D$("NoFunctionInDictionary",n);if(!1===(0,F.Kg)(o.key))throw new u.D$("KeyMustBeString",n);let i=o.key.toString();const s=i.toLowerCase();a.has(s)?i=a.get(s):a.set(s,i),o.value===w.x?r[i]=null:r[i]=o.value}const o=new l.A(r);return o.immutable=!1,o}(e,n);case"MemberAccessChainExpression":return await async function(e,n){const t=(0,i.YZ)(n);let r=await q(e,t.root);for(const n of t.sections){const t=await re(e,r,n.checked);if(null==t)return null;r=await te(e,t,n.unchecked)}return r}(e,n);case"SafeMemberExpression":throw A().error("SafeMemberExpression outside of MemberAccessChainExpression"),new u.D$("Unrecognized",n);default:throw new u.D$("Unrecognized",n)}}catch(e){throw(0,u.i2)(e,n)}}async function K(e,n){n.breakpoint&&await z(e,n.breakpoint);try{switch(n.type){case"ImportDeclaration":return await async function(e,n){const t=J(e,n.specifiers[0].local),r=e.libraryResolver;if(null==r)throw A().error("Internal error: module loader not initialized"),new u.D$("NeverReach",n);const a=r.loadLibrary(t.id);let o;return r._moduleSingletons?.has(a.uri)?o=r._moduleSingletons.get(a.uri):(o=await j.load(e,a.syntax),r._moduleSingletons?.set(a.uri,o)),t.scope[t.id]={value:o},w.x}(e,n);case"ExportNamedDeclaration":return await async function(e,n){return await K(e,n.declaration),w.x}(e,n);case"VariableDeclaration":return await async function(e,n){for(const t of n.declarations)await ee(e,t);return w.x}(e,n);case"BlockStatement":return await Q(e,n);case"FunctionDeclaration":return await async function(e,n){if(null!=e.localScope)throw A().error("Function declarations are only valid in global scope."),new u.D$("NeverReach",n);const t=(0,r.X)(n.id);if(!(t in e.globalScope))throw A().error(`Function "${t}" not declared.`),new u.D$("NeverReach",n);const a=(0,i.SV)(n),o=n.params.map(e=>(0,r.X)(e)),s=Array.from(a.keys()).filter(e=>!o.includes(e));let c=null;return null!=e.contextScopeDebugInfo&&(c={declaredNames:new Map([...n.params.map(e=>[(0,r.X)(e),e.name]),...a])}),e.globalScope[t]={value:new H(n,e,o,s,c)},w.x}(e,n);case"ReturnStatement":return await async function(e,n){if(null===n.argument)return new w.R(w.x);const t=await q(e,n.argument);return new w.R(t)}(e,n);case"IfStatement":return await async function(e,n){const t=await q(e,n.test);if(!0===t)return K(e,n.consequent);if(!1===t)return null!==n.alternate?K(e,n.alternate):w.x;throw new u.D$("BooleanConditionRequired",n)}(e,n);case"ExpressionStatement":return await async function(e,n){const t=await q(e,n.expression);return t===w.x?w.x:new w.I(t)}(e,n);case"ForStatement":return await async function(e,n){try{for(null!==n.init&&("VariableDeclaration"===n.init.type?await K(e,n.init):await q(e,n.init));;){if(null!==n.test){const t=await q(e,n.test);if(!0===e.abortSignal?.aborted)throw new u.D$("Cancelled",n);if(!1===t)break;if(!0!==t)throw new u.D$("BooleanConditionRequired",n)}const t=await K(e,n.body);if(t===w.C)break;if(t instanceof w.R)return t;null!==n.update&&await q(e,n.update)}return w.x}catch(e){throw e}}(e,n);case"WhileStatement":return await async function(e,n){let t=await q(e,n.test);if(!1===t)return w.x;if(!0!==t)throw new u.D$("BooleanConditionRequired",n);for(;!0===t;){const r=await K(e,n.body);if(r===w.C)break;if(r instanceof w.R)return r;if(t=await q(e,n.test),!0!==t&&!1!==t)throw new u.D$("BooleanConditionRequired",n)}return w.x}(e,n);case"ForInStatement":return await async function(e,n){const t=await q(e,n.right);"VariableDeclaration"===n.left.type&&await K(e,n.left);const r=J(e,"VariableDeclaration"===n.left.type?n.left.declarations[0].id:n.left);return(0,F.cy)(t)||(0,F.Kg)(t)?await X(e,n,t,r):(0,w.g)(t)?await T(e,n,t,r):t instanceof l.A||(0,w.B)(t)?await X(e,n,t.keys(),r,"k"):(0,w.k)(t)?await W(e,n,t,r):(0,w.d)(t)?await X(e,n,(0,s.T)(t),r,"k"):w.x}(e,n);case"ForOfStatement":return await async function(e,n){const t=await q(e,n.right);"VariableDeclaration"===n.left.type&&await K(e,n.left);const r=J(e,"VariableDeclaration"===n.left.type?n.left.declarations[0].id:n.left);return(0,F.cy)(t)||(0,F.Kg)(t)?await X(e,n,t,r,"k"):(0,w.g)(t)?await T(e,n,t,r,"k"):t instanceof l.A||(0,w.B)(t)?await async function(e,n,t,r){for(const a of t.keys()){const o=t.field(a);r.scope[r.id]={value:l.A.containerEntry(a,o)};const i=await K(e,n.body);if(i===w.C)break;if(i instanceof w.R)return i}return w.x}(e,n,t,r):(0,w.k)(t)?await W(e,n,t,r):(0,w.d)(t)?await async function(e,n,t,r){for(const a of(0,s.T)(t)){const o=(0,s.Ny)(t,a);r.scope[r.id]={value:l.A.containerEntry(a,o)};const i=await K(e,n.body);if(i===w.C)break;if(i instanceof w.R)return i}return w.x}(e,n,t,r):w.x}(e,n);case"BreakStatement":return w.C;case"EmptyStatement":return w.x;case"ContinueStatement":return w.D;default:throw new u.D$("Unrecognized",n)}}catch(e){throw(0,u.i2)(e,n)}}async function X(e,n,t,r,a="i"){const o=t.length;for(let i=0;i<o;i++){if("k"===a){if(i>=t.length)throw new u.D$("OutOfBounds",n);r.scope[r.id]={value:t[i]}}else r.scope[r.id]={value:i};const o=await K(e,n.body);if(o===w.C)break;if(o instanceof w.R)return o}return w.x}async function T(e,n,t,r,a="i"){const o=t.length();for(let i=0;i<o;i++){r.scope[r.id]="k"===a?{value:t.get(i)}:{value:i};const o=await K(e,n.body);if(o===w.C)break;if(o instanceof w.R)return o}return w.x}async function W(e,n,t,r){e:for await(const a of await t.queryAll(e.abortSignal))for(const o of a){r.scope[r.id]={value:f.Xj.createFromGraphicLikeObject(o.geometry,o.attributes,t,e.timeZone)};const a=await K(e,n.body);if(a===w.C)break e;if(a instanceof w.R)return a}return w.x}function V(e,n,t,r){switch(n){case"=":return e===w.x?null:e;case"/=":return(0,w.v)(t)/(0,w.v)(e);case"*=":return(0,w.v)(t)*(0,w.v)(e);case"-=":return(0,w.v)(t)-(0,w.v)(e);case"+=":return(0,F.Kg)(t)||(0,F.Kg)(e)?(0,w.w)(t)+(0,w.w)(e):(0,w.v)(t)+(0,w.v)(e);case"%=":return(0,w.v)(t)%(0,w.v)(e);default:throw new u.D$("UnsupportedOperator",r)}}async function Q(e,n){return Y(e,n,0)}async function Y(e,n,t){if(t>=n.body.length)return w.x;const r=await K(e,n.body[t]);return r instanceof w.R||r===w.C||r===w.D||t===n.body.length-1?r:Y(e,n,t+1)}async function ee(e,n){n.breakpoint&&await z(e,n.breakpoint);let t=null;t=null===n.init?null:await q(e,n.init),t===w.x&&(t=null);const r=J(e,n.id);r.scope[r.id]={value:t}}async function ne(e,n,t){const r=t.computed?await q(e,t.property):t.property.name;return(0,s.Xf)(n,r)}async function te(e,n,t){for(const r of t)switch(r.type){case"MemberExpression":n=await ne(e,n,r);break;case"CallExpression":n=await oe(e,n,r);break;default:throw new u.D$("Unrecognized",r)}return n}async function re(e,n,t){const r=t.computed?await q(e,t.property):t.property.name;return(0,s.c$)(n,r)}function ae(e,n){return P(e,n)}async function oe(e,n,t){if((0,w.i)(n))return n.call(e,t);throw new u.D$("CallNonFunction",t)}async function ie(e,n){(0,w.E)(null===n.arguments?[]:n.arguments,3,3,n);const t=await q(e,n.arguments[0]);if(!1===(0,F.Lm)(t))throw new u.D$("BooleanConditionRequired",n);return q(e,t?n.arguments[1]:n.arguments[2])}async function se(e,n){(0,w.E)(null===n.arguments?[]:n.arguments,2,3,n);const t=await q(e,n.arguments[0]);if(3===n.arguments.length){const r=await q(e,n.arguments[1]),a=(0,s.jd)(t,r);return null!=a&&""!==a?a:q(e,n.arguments[2])}return null==t||""===t?q(e,n.arguments[1]):t}async function ce(e,n){if(n.arguments.length<2)throw new u.D$("WrongNumberOfParameters",n);if(2===n.arguments.length)return q(e,n.arguments[1]);if((n.arguments.length-1)%2==0)throw new u.D$("WrongNumberOfParameters",n);return le(e,n,1,await q(e,n.arguments[0]))}async function le(e,n,t,r){const a=await q(e,n.arguments[t]);if((0,w.z)(a,r))return q(e,n.arguments[t+1]);const o=n.arguments.length-t;return 1===o?q(e,n.arguments[t]):2===o?null:3===o?q(e,n.arguments[t+2]):le(e,n,t+2,r)}async function ue(e,n){if(n.arguments.length<3)throw new u.D$("WrongNumberOfParameters",n);if(n.arguments.length%2==0)throw new u.D$("WrongNumberOfParameters",n);const t=await q(e,n.arguments[0]);if(!1===(0,F.Lm)(t))throw new u.D$("BooleanConditionRequired",n.arguments[0]);return fe(e,n,0,t)}async function fe(e,n,t,r){if(!0===r)return q(e,n.arguments[t+1]);if(3===n.arguments.length-t)return q(e,n.arguments[t+2]);const a=await q(e,n.arguments[t+2]);if(!1===(0,F.Lm)(a))throw new u.D$("ModuleExportNotFound",n.arguments[t+2]);return fe(e,n,t+2,a)}const de=function(){const e=Object.create(null);(0,h.d)(e,M),(0,$.d)(e,M),(0,g.d)(e,M,ae),(0,D.d)(e,M),(0,v.d)(e,M),(0,R.d)(e,M),(0,x.dW)(e,M),(0,b.registerFunctions)({functions:e,compiled:!1,signatures:null,evaluateIdentifier:null,mode:"async",standardFunction:M,standardFunctionAsync:B}),e.iif=ie,e.defaultvalue=se,e.decode=ce,e.when=ue;const n=function(){this.textformatting={value:l.A.textFormatting()}};(n.prototype=Object.create(null)).infinity=Object.freeze({value:Number.POSITIVE_INFINITY}),n.prototype.nan=Object.freeze({value:Number.NaN}),n.prototype.pi=Object.freeze({value:Math.PI});for(const[t,r]of Object.entries(e))n.prototype[t]=Object.freeze({value:new d.UQ(r,t)});return n}();function we(e){const n={mode:"async",compiled:!1,functions:Object.create(null),signatures:[],standardFunction:M,standardFunctionAsync:B,evaluateIdentifier:ae};for(let t=0;t<e.length;t++)e[t].registerFunctions(n);for(const[e,t]of Object.entries(n.functions))de.prototype[e]=Object.freeze({value:new d.UQ(t,e)});for(let e=0;e<n.signatures.length;e++)(0,p.WC)(n.signatures[e],"async")}function pe(e){console.log(e)}function ye(e,n){const t=new Set(Object.keys(n?.vars||{}).map(e=>(0,r.X)(e))),a=new Set(Object.keys(n?.customfunctions||{}).map(e=>(0,r.X)(e))),{globals:s,exports:c}=(0,i.aU)(e);let l=null;if(n?.breakpoints){for(const[t,r]of(0,i.ti)(n.breakpoints,e))t.breakpoint=r;l={declaredNames:new Map(Object.keys(n?.vars||{}).map(e=>[(0,r.X)(e),e]).filter(([e])=>!s.has(e)))}}return async n=>{const i=n.spatialReference??I.A.WebMercator;let p=null;e.usesModules&&(p=new o.a(new Map,e.loadedModules));const y=new de;null!=l&&(y[k]={declaredNames:s});for(const e of a)null!=n.customfunctions&&e in n.customfunctions?y[e]={value:new d.UQ(n.customfunctions[e],e)}:y[e]=G;for(const e of t){if(null==n.vars||!(e in n.vars)){e in y||(y[e]=G);continue}const t=n.vars[e]??null;(0,C.D)(t)?y[e]={value:f.Xj.createFromGraphic(t,n.timeZone??null)}:y[e]={value:t}}for(const e of s.keys())e in y||(y[e]=G);const m={lrucache:n.lrucache,interceptor:n.interceptor,services:n.services,console:n.console??pe,abortSignal:n.abortSignal??r._,timeZone:n.timeZone??null,spatialReference:i,track:n.track,depthCounter:{depth:1},libraryResolver:p,exports:c,localScope:null,globalScope:y,contextScopeDebugInfo:l},h=await Q(m,e);if(h instanceof w.R||h instanceof w.I){const e=h.value;if((0,w.u)(e))return null;if((0,w.i)(e))throw new u.D$("IllegalResult",null);return e}if((0,w.u)(h))return null;if(h===w.C)throw new u.D$("IllegalResult",null);if(h===w.D)throw new u.D$("IllegalResult",null);throw new u.D$("NeverReach",null)}}function me(e,n){return ye(e,n)(n)}we([m.A]),we([y.A])},87367(e,n,t){t.r(n),t.d(n,{registerFunctions:()=>b});var r=t(47609),a=t(67862),o=t(66395),i=t(85935),s=t(54639),c=t(78878),l=t(80672),u=t(38222),f=t(98919),d=t(71163),w=t(36983),p=t(70333),y=t(11254);async function m(e,n,t){const r=p.id?.findCredential(e.restUrl);if(!r)return null;if("loaded"===e.loadStatus&&""===n&&e.user?.sourceJSON&&!1===t)return e.user.sourceJSON;const a={responseType:"json",query:{f:"json"}};if(t&&(a.query.returnUserLicenseTypeExtensions=!0),""===n){const n=await(0,y.A)(e.restUrl+"/community/self",a);if(n.data){const e=n.data;if(e?.username)return e}return null}const o=await(0,y.A)(e.restUrl+"/community/users/"+n,a);if(o.data){const e=o.data;return e.error?null:e}return null}var h=t(54218);function g(e){if(null==e)return e;switch(typeof e){case"string":case"number":return e;default:throw new i.D$("InvalidParameter",null)}}function b(e){"async"===e.mode&&(e.functions.disjoint=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]||(0,d.C)("disjoint",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.intersects=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("intersects",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.touches=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("touches",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.crosses=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("crosses",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.within=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("within",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.contains=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("contains",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.overlaps=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null!==r[0]&&null!==r[1]&&(0,d.C)("overlaps",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])))},e.functions.equals=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>((0,c.E)(r,2,2,t),r[0]===r[1]||((0,c.d)(r[0])&&(0,c.d)(r[1])?(0,d.C)("equals",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]):((0,c.f)(r[0])&&(0,c.f)(r[1])||!!((0,c.r)(r[0])&&(0,c.r)(r[1])||(0,c.q)(r[0])&&(0,c.q)(r[1])))&&r[0].equals(r[1]))))},e.functions.relate=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,3,3,t),(0,c.d)(r[0])&&(0,c.d)(r[1]))return(0,d.C)("relate",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference),(0,c.w)(r[2])]);if((0,c.d)(r[0])&&null===r[1])return!1;if((0,c.d)(r[1])&&null===r[0])return!1;if(null===r[0]&&null===r[1])return!1;throw new i.D$("InvalidParameter",t)})},e.functions.intersection=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]||null===r[1]?null:(0,w.R)(await(0,d.C)("intersection",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)))},e.functions.union=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(0===(r=(0,c.H)(r)).length)throw new i.D$("WrongNumberOfParameters",t);const a=[];if(1===r.length)if((0,h.cy)(r[0])){for(const e of(0,c.H)(r[0]))if(null!==e){if(!(0,c.d)(e))throw new i.D$("InvalidParameter",t);a.push(e)}}else{if(!(0,c.g)(r[0])){if((0,c.d)(r[0]))return r[0].clone();if(null===r[0])return null;throw new i.D$("InvalidParameter",t)}for(const e of(0,c.H)(r[0].toArray()))if(null!==e){if(!(0,c.d)(e))throw new i.D$("InvalidParameter",t);a.push(e)}}else for(const e of r)if(null!==e){if(!(0,c.d)(e))throw new i.D$("InvalidParameter",t);a.push(e)}if(0===a.length)return null;const o=a[0].spatialReference;return(0,w.R)(await(0,d.C)("union",[a.map(e=>e.asJsonGeometry()),(0,s.b)(o)]),o)})},e.functions.difference=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]?null:null===r[1]?r[0].clone():(0,w.R)(await(0,d.C)("difference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)))},e.functions.symmetricdifference=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>(r=(0,c.H)(r),(0,f.ZL)(r,t),null===r[0]&&null===r[1]?null:null===r[0]?r[1]?.clone()??null:null===r[1]?r[0]?.clone()??null:(0,w.R)(await(0,d.C)("symmetricDifference",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)))},e.functions.clip=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),!(0,c.J)(r[1])&&null!==r[1])throw new i.D$("InvalidParameter",t);if(null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return null===r[1]?null:(0,w.R)(await(0,d.C)("clip",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)})},e.functions.cut=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),!(0,c.K)(r[1])&&null!==r[1])throw new i.D$("InvalidParameter",t);if(null===r[0])return[];if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);if(null===r[1])return[r[0].clone()];const a=r[0].spatialReference;return(await(0,d.C)("cut",[r[0].asJsonGeometry(),r[1].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])).map(e=>(0,w.R)(e,a)).filter(e=>null!=e)})},e.functions.area=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{if((0,c.E)(a,1,2,t),a=(0,c.H)(a),(0,c.k)(a[0])){const e=await a[0].sumArea(g(a[1]),null,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}let o=a[0];if(((0,h.cy)(o)||(0,c.g)(o))&&(o=(0,u.zt)(a[0],n.spatialReference)),null===o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("area",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),g(a[1])])})},e.functions.areageodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{(0,c.E)(a,1,3,t);let o=(a=(0,c.H)(a))[0];((0,h.cy)(o)||(0,c.g)(o))&&(o=(0,u.zt)(o,n.spatialReference));const l=g(a[1]),w=(0,f.qr)(a[2]);if((0,c.k)(o)){const e=await o.sumArea(l,w,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}if(null==o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("geodeticArea",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),l,w])})},e.functions.length=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{if((0,c.E)(a,1,2,t),a=(0,c.H)(a),(0,c.k)(a[0])){const e=await a[0].sumLength(g(a[1]),null,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}let o=a[0];if(((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(o=(0,u.X1)(a[0],n.spatialReference)),null===o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("length",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),g(a[1])])})},e.functions.length3d=function(n,r){return e.standardFunctionAsync(n,r,async(e,a,o)=>{if((0,c.E)(o,1,2,r),null===(o=(0,c.H)(o))[0])return 0;let l=o[0];if(((0,h.cy)(o[0])||(0,c.g)(o[0]))&&(l=(0,u.X1)(o[0],n.spatialReference)),null===l)return 0;if(!(0,c.d)(l))throw new i.D$("InvalidParameter",r);if(!0===l.hasZ){const{convertFromSpatialReferenceUnit:e,toLengthUnit:n}=await Promise.resolve().then(t.bind(t,40547)),r=(0,f.UI)(l);return e(l.spatialReference,n(o[1]),r)}return(0,d.C)("length",[l.asJsonGeometry(),(0,s.b)(l.spatialReference),g(o[1])])})},e.functions.lengthgeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{(0,c.E)(a,1,3,t);let o=(a=(0,c.H)(a))[0];((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(o=(0,u.X1)(a[0],n.spatialReference));const l=g(a[1]),w=(0,f.qr)(a[2]);if((0,c.k)(o)){const e=await o.sumLength(l,w,n.abortSignal);if(n.abortSignal.aborted)throw new i.D$("Cancelled",t);return e}if(null===o)return 0;if(!(0,c.d)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("geodeticLength",[o.asJsonGeometry(),(0,s.b)(o.spatialReference),l,w])})},e.functions.distance=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{a=(0,c.H)(a),(0,c.E)(a,2,3,t);let o=a[0];if(((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(o=(0,u.yg)(a[0],n.spatialReference)),!(0,c.d)(o))throw new i.D$("InvalidParameter",t);let l=a[1];if(((0,h.cy)(a[1])||(0,c.g)(a[1]))&&(l=(0,u.yg)(a[1],n.spatialReference)),!(0,c.d)(l))throw new i.D$("InvalidParameter",t);return(0,d.C)("distance",[o.asJsonGeometry(),l.asJsonGeometry(),(0,s.b)(o.spatialReference),g(a[2])])})},e.functions.distancegeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,4,t);const a=r[0];if(!(0,c.L)(a))throw new i.D$("InvalidParameter",t);const o=r[1];if(!(0,c.L)(o))throw new i.D$("InvalidParameter",t);return(0,d.C)("geodeticDistance",[a.asJsonGeometry(),o.asJsonGeometry(),(0,s.b)(a.spatialReference),g(r[2]),(0,f.qr)(r[3])])})},e.functions.densify=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,3,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=(0,c.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",t);if(a<=0)throw new i.D$("InvalidParameter",t);switch(r[0].type){case"polygon":case"polyline":case"extent":return(0,w.R)(await(0,d.C)("densify",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference),a,g(r[2])]),r[0].spatialReference);default:return r[0]}})},e.functions.densifygeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,c.d)(a))throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",t);if(o<=0)throw new i.D$("InvalidParameter",t);const l=g(r[2]),u=(0,f.qr)(r[3]);switch(a.type){case"polygon":case"polyline":case"extent":return(0,w.R)(await(0,d.C)("geodeticDensify",[a.asJsonGeometry(),(0,s.b)(a.spatialReference),o,l,u]),a.spatialReference);default:return a}})},e.functions.generalize=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,4,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=(0,c.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",t);const o=(0,c.M)((0,c.N)(r[2],!0));return(0,w.R)(await(0,d.C)("generalize",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference),a,g(r[3]),o]),r[0].spatialReference)})},e.functions.buffer=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,3,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=(0,c.v)(r[1]);if(isNaN(a))throw new i.D$("InvalidParameter",t);return 0===a?r[0].clone():(0,w.R)(await(0,d.C)("buffer",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference),a,g(r[2])]),r[0].spatialReference)})},e.functions.buffergeodetic=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,4,t);const a=r[0];if(null==a)return null;if(!(0,c.d)(a))throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",t);if(0===o)return a.clone();const l=g(r[2]),u=(0,f.qr)(r[3]);return(0,w.R)(await(0,d.C)("geodesicBuffer",[a.asJsonGeometry(),(0,s.b)(a.spatialReference),o,l,u]),a.spatialReference)})},e.functions.offset=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,6,t);const a=r[0];if(null===a)return null;if(!(0,c.d)(a)||"polygon"!==a.type&&"polyline"!==a.type)throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(isNaN(o))throw new i.D$("InvalidParameter",t);const l=r[2],u=(0,f.ug)(r[3]),p=(0,c.v)((0,c.N)(r[4],10));if(isNaN(p))throw new i.D$("InvalidParameter",t);const y=(0,c.v)((0,c.N)(r[5],0));if(isNaN(y))throw new i.D$("InvalidParameter",t);return(0,w.R)(await(0,d.C)("offset",[a.asJsonGeometry(),(0,s.b)(a.spatialReference),o,g(l),u,p,y]),a.spatialReference)})},e.functions.rotate=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{r=(0,c.H)(r),(0,c.E)(r,2,3,t);const a=r[0];if(null===a)return null;if(!(0,c.d)(a))throw new i.D$("InvalidParameter",t);const o=(0,c.v)(r[1]);if(!Number.isFinite(o))throw new i.D$("InvalidParameter",t);const s=r[2];if(null!=s&&!(0,c.L)(s))throw new i.D$("InvalidParameter",t);const l=s?.asJsonLikeGeometry();return(0,w.R)(await(0,d.C)("rotate",[a.asJsonGeometry(),o,l?.x,l?.y]),a.spatialReference)})},e.functions.centroid=function(n,t){return e.standardFunctionAsync(n,t,async(e,r,a)=>{if(a=(0,c.H)(a),(0,c.E)(a,1,2,t),null===a[0])return null;const o=(0,f.Hz)(a[1]);let s=a[0];if(((0,h.cy)(a[0])||(0,c.g)(a[0]))&&(s="geometric"===o?(0,u.yg)(a[0],n.spatialReference):(0,u.zt)(a[0],n.spatialReference),null===s))return null;if(!(0,c.d)(s))throw new i.D$("InvalidParameter",t);return(0,w.p)("point","geometric"===o?await(0,d.C)("centroid",[s.asJsonGeometry()]):await(0,d.C)("labelPoint",[s.asJsonGeometry()]),s.spatialReference)})},e.functions.measuretocoordinate=function(n,t){return e.standardFunctionAsync(n,t,f.Cd)},e.functions.pointtocoordinate=function(n,t){return e.standardFunctionAsync(n,t,f.kr)},e.functions.distancetocoordinate=function(n,t){return e.standardFunctionAsync(n,t,f.Bn)},e.functions.multiparttosinglepart=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);const a=r[0].spatialReference;return(await(0,d.C)("multiPartToSinglePart",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])).map(e=>(0,w.R)(e,a)).filter(e=>null!=e)})},e.functions.isselfintersecting=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,t)=>{(0,c.E)(t,1,1,n);let r=(t=(0,c.H)(t))[0];return((0,h.cy)(t[0])||(0,c.g)(t[0]))&&(r=(0,u.X1)(t[0],e.spatialReference)),!!(0,c.d)(r)&&await(0,d.C)("isSelfIntersecting",[r.asJsonGeometry(),(0,s.b)(r.spatialReference)])})},e.functions.issimple=function(n,t){return e.standardFunctionAsync(n,t,(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return!0;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return(0,d.C)("isSimple",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference)])})},e.functions.simplify=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return(0,w.R)(await(0,d.C)("simplify",[r[0].asJsonGeometry(),(0,s.b)(r[0].spatialReference)]),r[0].spatialReference)})},e.functions.convexhull=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,1,1,t),null===r[0])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);return(0,w.R)(await(0,d.C)("convexHull",[r[0].asJsonGeometry()]),r[0].spatialReference)})},e.functions.getuser=function(n,t){return e.standardFunctionAsync(n,t,async(e,o,s)=>{(0,c.E)(s,0,2,t);let u=(0,c.N)(s[1],""),f=!0===u;if(u=!0===u||!1===u?"":(0,c.w)(u),0===s.length||s[0]instanceof r.A){const e=(0,l.RI)(n,s.length>0?s[0]:null),t=await m(e,u,f);return null!=t?(0,a.Tg)(JSON.parse(JSON.stringify(t))):null}let d=null;if((0,c.k)(s[0])&&(d=s[0]),d){if(f=!1,u)return null;await d.load();const e=await d.getOwningSystemUrl();if(!e){if(!u){const e=await d.getIdentityUser();return null!=e?(0,a.Tg)({username:e}):null}return null}const t=(0,l.RI)(n,new r.A(e)),o=await m(t,u,f);return null!=o?(0,a.Tg)(JSON.parse(JSON.stringify(o))):null}throw new i.D$("InvalidParameter",t)})},e.functions.nearestcoordinate=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);if(!(0,c.L)(r[1]))throw new i.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestCoordinate",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:o.A.createMutable({__proto__:null,coordinate:(0,w.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})},e.functions.nearestvertex=function(n,t){return e.standardFunctionAsync(n,t,async(e,n,r)=>{if(r=(0,c.H)(r),(0,c.E)(r,2,2,t),null==r[0]||null==r[1])return null;if(!(0,c.d)(r[0]))throw new i.D$("InvalidParameter",t);if(!(0,c.L)(r[1]))throw new i.D$("InvalidParameter",t);const a=await(0,d.C)("getNearestVertex",[r[0].asJsonGeometry(),r[1].asJsonGeometry()]);return null==a?null:o.A.createMutable({__proto__:null,coordinate:(0,w.p)("point",a.coordinate,r[0].spatialReference),distance:a.distance,sideOfLine:a.sideOfLine})})})}},71163(e,n,t){t.d(n,{C:()=>c});var r=t(29953);let a,o,i=!1;function s(){return a??=(0,r.ho)("arcadeGeometryOperatorsWorker").then(e=>{o=e,i=!0,a=void 0})}async function c(e,n){return i?o.apply("invokeGeometryOp",[e,n]):(await s(),c(e,n))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[756],{90756(t,e,s){s.d(e,{execute:()=>a});var n=s(61691),r=s(55537),o=s(88885),c=s(95213),u=s(39117),m=u.U;function i(t,e){return{m_geometry:t,m_side:e}}class l extends n.G{m_bConsiderTouch;m_cuttee;m_cutter;m_tolerance;m_cutIndex=-1;m_cuts=[];m_progressTracker;constructor(t,e,s,n,r){super(),this.m_progressTracker=r,this.m_cuttee=e.clone(),this.m_cutter=new o.a({copy:s}),this.m_bConsiderTouch=t;const u=(0,c.g)(e,s);this.m_tolerance=(0,c.c)(n,u,!0)}next(){return-1===this.m_cutIndex&&this.generateCuts(),++this.m_cutIndex<this.m_cuts.length?this.m_cuts[this.m_cutIndex]:null}getGeometryID(){return this.m_cutIndex}tock(){return!0}getRank(){return 1}generateCuts(){switch(this.m_cuttee.getGeometryType()){case r.G.enumPolyline:this.generatePolylineCuts();break;case r.G.enumPolygon:this.generatePolygonCuts()}}generatePolylineCuts(){const t=new o.a,e=new o.a,s=new o.a;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const n=[];!function(t,e,s,n,r,c){if(e.isEmpty()){const t=i(e,0);return void r.push(t)}if(s.isEmpty()){const t=i(e,0);return void r.push(t)}const l=[],h=new o.E;{const o=h.createGeometryUserIndex(),a=h.addGeometry(e),d=h.addGeometry(s),_=new u.a6(c);let y=0,p=null;if(h.hasCurves()){p=new m;const t=h.getEnvelope2D(c);y=(0,u.N)(n.total());const e=(0,u.M)(n.total(),t);(0,u.Q)(h,e,n.total(),12e3,p,null,c)}h.dbgVerifyCurves(),_.setEditShapeCrackAndCluster(h,n),_.cut(t,o,a,d,l);for(const t of l){null!==p&&p.stitchCurves(h,t,y,!1);const e=i(h.getGeometry(t),(0,u.a7)(h.getGeometryUserIndex(t,o)));r.push(e)}null!==p&&p.clearStitcher(h)}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,n,this.m_progressTracker);for(let o=0;o<n.length;o++){const c=n[o];1===c.m_side?t.add(c.m_geometry,!1):2===c.m_side||4===c.m_side?e.add(c.m_geometry,!1):3===c.m_side?this.m_cuts.push(c.m_geometry):0===c.m_side?s.add(c.m_geometry,!1):(0,r.d)("")}s.isEmpty()||t.isEmpty()&&e.isEmpty()&&!(this.m_cuts.length>=3)||this.m_cuts.push(s),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}generatePolygonCuts(){const t=new o.P,e=new o.P,s=new o.P;this.m_cuts.length=0,this.m_cuts.push(t),this.m_cuts.push(e);const n=[];!function(t,e,s,n,r,c){if(e.isEmpty()){const t=i(e,0);return void r.push(t)}if(s.isEmpty()){const t=i(e,0);return void r.push(t)}const l=[],h=new o.E;{const t=h.createGeometryUserIndex(),a=h.addGeometry(e),d=h.addGeometry(s),_=new u.a6(c);let y=0,p=null;if(h.hasCurves()){p=new m;const t=h.getEnvelope2D(c);y=(0,u.N)(n.total());const e=(0,u.M)(n.total(),t);(0,u.Q)(h,e,n.total(),12e3,p,null,c)}h.dbgVerifyCurves(),_.setEditShapeCrackAndCluster(h,n),_.cut(!1,t,a,d,l),null!==p&&p.stitchCurves(h,-1,y,!0);let g=h.getGeometry(a);const C=new o.P,E=new o.P,f=[];for(let e=0;e<l.length;e++){let s=null;{const r=new o.E,m=r.addGeometry(g),i=r.addGeometry(h.getGeometry(l[e]));if(r.hasCurves()){const t=r.getEnvelope2D(c);y=(0,u.N)(n.total());const e=(0,u.M)(n.total(),t);(0,u.Q)(r,e,n.total(),12e3,p,null,c)}_.setEditShapeCrackAndCluster(r,n);const a=_.intersection(m,i);if(null!==p&&p.stitchCurves(r,-1,y,!0),s=r.getGeometry(a),s.isEmpty())continue;const d=h.getGeometryUserIndex(l[e],t);2===d?C.add(s,!1):1===d?E.add(s,!1):f.push(s)}{const t=new o.E,s=t.addGeometry(g),r=t.addGeometry(h.getGeometry(l[e]));if(t.hasCurves()){const e=t.getEnvelope2D(c);y=(0,u.N)(n.total());const s=(0,u.M)(n.total(),e);(0,u.Q)(t,s,n.total(),12e3,p,null,c)}_.setEditShapeCrackAndCluster(t,n);const m=_.difference(s,r);null!==p&&p.stitchCurves(t,-1,y,!0),g=t.getGeometry(m)}}if(!g.isEmpty()&&l.length>0&&f.push(g),C.isEmpty()&&E.isEmpty())return;if(!C.isEmpty()){const t=i(C,1);r.push(t)}if(!E.isEmpty()){const t=i(E,2);r.push(t)}for(let t=0,e=f.length;t<e;++t){const e=i(f[t],3);r.push(e)}}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,n,this.m_progressTracker);for(let o=0;o<n.length;o++){const c=n[o];1===c.m_side?t.add(c.m_geometry,!1):2===c.m_side?e.add(c.m_geometry,!1):3===c.m_side?this.m_cuts.push(c.m_geometry):0===c.m_side?s.add(c.m_geometry,!1):(0,r.d)("")}(0,r.g)(s.isEmpty()||1===n.length),t.isEmpty()&&e.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}}const h=new class{getOperatorType(){return 10005}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e,s,n,r){return new l(t,e,s,n,r)}};function a(t,e,s){const n=h.execute(!0,t,e,s,null);return Array.from(n)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2867,5248],{66131(e,t,s){s.d(t,{lY:()=>l,mT:()=>d});var i=s(59534),n=s(799),r=s(3330),o=s(34747);const a={TimeZoneNotRecognized:"Timezone identifier has not been recognized."};class c extends Error{constructor(e,t){super((0,n.HC)(a[e],t)),this.declaredRootClass="esri.arcade.arcadedate.dateerror",Error.captureStackTrace&&Error.captureStackTrace(this,c)}}function u(e,t,s){return e<t?e-t:e>s?e-s:0}function h(e,t,s){return e<t?t:e>s?s:e}class l{constructor(e){this._date=e,this.declaredRootClass="esri.arcade.arcadedate"}static fromParts(e=0,t=1,s=1,i=0,n=0,r=0,a=0,c){if(isNaN(e)||isNaN(t)||isNaN(s)||isNaN(i)||isNaN(n)||isNaN(r)||isNaN(a))return null;const m=o.c9.local(e,t).daysInMonth;let f=o.c9.fromObject({day:h(s,1,m),year:e,month:h(t,1,12),hour:h(i,0,23),minute:h(n,0,59),second:h(r,0,59),millisecond:h(a,0,999)},{zone:d(c)});return f=f.plus({months:u(t,1,12),days:u(s,1,m),hours:u(i,0,23),minutes:u(n,0,59),seconds:u(r,0,59),milliseconds:u(a,0,999)}),new l(f)}static get systemTimeZoneCanonicalName(){return Intl.DateTimeFormat().resolvedOptions().timeZone??"system"}static arcadeDateAndZoneToArcadeDate(e,t){const s=d(t);return e.isUnknownTimeZone||s===r.GB.instance?l.fromParts(e.year,e.monthJS+1,e.day,e.hour,e.minute,e.second,e.millisecond,s):new l(e._date.setZone(s))}static dateJSToArcadeDate(e){return new l(o.c9.fromJSDate(e,{zone:"system"}))}static dateJSAndZoneToArcadeDate(e,t="system"){const s=d(t);return new l(o.c9.fromJSDate(e,{zone:s}))}static unknownEpochToArcadeDate(e){return new l(o.c9.fromMillis(e,{zone:r.GB.instance}))}static unknownDateJSToArcadeDate(e){return new l(o.c9.fromMillis(e.getTime(),{zone:r.GB.instance}))}static epochToArcadeDate(e,t="system"){const s=d(t);return new l(o.c9.fromMillis(e,{zone:s}))}static dateTimeToArcadeDate(e){return new l(e)}clone(){return new l(this._date)}changeTimeZone(e){const t=d(e);return l.dateTimeToArcadeDate(this._date.setZone(t))}static dateTimeAndZoneToArcadeDate(e,t){const s=d(t);return e.zone===r.GB.instance||s===r.GB.instance?l.fromParts(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond,s):new l(e.setZone(s))}static nowToArcadeDate(e){const t=d(e);return new l(o.c9.fromJSDate(new Date,{zone:t}))}static nowUTCToArcadeDate(){return new l(o.c9.utc())}get isSystem(){return"system"===this.timeZone||this.timeZone===l.systemTimeZoneCanonicalName}equals(e){return this.isSystem&&e.isSystem?this.toNumber()===e.toNumber():this.isUnknownTimeZone===e.isUnknownTimeZone&&this._date.equals(e._date)}get isUnknownTimeZone(){return this._date.zone===r.GB.instance}get isValid(){return this._date.isValid}get hour(){return this._date.hour}get second(){return this._date.second}get day(){return this._date.day}get dayOfWeekISO(){return this._date.weekday}get dayOfWeekJS(){let e=this._date.weekday;return e>6&&(e=0),e}get millisecond(){return this._date.millisecond}get monthISO(){return this._date.month}get weekISO(){return this._date.weekNumber}get yearISO(){return this._date.weekYear}get monthJS(){return this._date.month-1}get year(){return this._date.year}get minute(){return this._date.minute}get zone(){return this._date.zone}get timeZoneOffset(){return this.isUnknownTimeZone?0:this._date.offset}get timeZone(){if(this.isUnknownTimeZone)return"unknown";if("system"===this._date.zone.type)return"system";const e=this.zone;return"fixed"===e.type?0===e.fixed?"UTC":e.formatOffset(0,"short"):e.name}stringify(){return JSON.stringify(this.toJSDate())}plus(e){return new l(this._date.plus(e))}diff(e,t){return this._date.diff(e._date,t)[t]}toISODate(){return this._date.toISODate()}toISOString(e){return e?this._date.toISO({suppressMilliseconds:!0,includeOffset:!this.isUnknownTimeZone}):this._date.toISO({includeOffset:!this.isUnknownTimeZone})}toISOTime(e,t){return this._date.toISOTime({suppressMilliseconds:e,includeOffset:t&&!this.isUnknownTimeZone})}toFormat(e,t){return this.isUnknownTimeZone&&(e=e.replaceAll("Z","")),this._date.toFormat(e,t)}toJSDate(){return this._date.toJSDate()}toSQLValue(){return this._date.toFormat("yyyy-LL-dd HH:mm:ss")}toSQLWithKeyword(){return`timestamp '${this.toSQLValue()}'`}toDateTime(){return this._date}toNumber(){return this._date.toMillis()}getTime(){return this._date.toMillis()}toUTC(){return new l(this._date.toUTC())}toLocal(){return new l(this._date.toLocal())}toString(){return this.toISOString(!0)}static fromReaderAsTimeStampOffset(e){if(!e)return null;const t=o.c9.fromISO(e,{setZone:!0});return new l(t)}}function d(e,t=!0){if(e instanceof o.bo)return e;switch((0,i.B)(e)){case"system":return"system";case"utc":return"UTC";case"unknown":return r.GB.instance}if(/^[+-]?[0-9]{1,2}(:[0-9]{2})?$/.test(e)){const t=o.mQ.parseSpecifier("UTC"+(e.startsWith("+")||e.startsWith("-")?"":"+")+e);if(t)return t}const s=o.oh.create(e);if(!s.isValid){if(t)throw new c("TimeZoneNotRecognized");return null}return s}},59534(e,t,s){s.d(t,{B:()=>n,b:()=>r});var i=s(85935);function n(e){return e.toLowerCase().replaceAll(/[\s-]+/g,"")}class r{constructor(e,t){const s=new Map;for(const t of e){const e=n(t);if(s.has(e))throw new Error(`${t} already added as ${s.get(e)}`);s.set(e,t)}if(null!=t)for(const[e,i]of t){const t=n(e);if(s.has(t))throw new Error(`${e} already associated with ${s.get(t)}`);s.set(t,i)}this._enumMap=s}lookup(e){return this._enumMap.get(n(e))}get(e){const t=this.lookup(e);if(null==t)throw new i.D$("InvalidParameter",null);return t}}},85935(e,t,s){s.d(t,{D$:()=>a,O$:()=>h,i2:()=>l,mT:()=>u,ps:()=>m});var i=s(799);const n={TypeNotAllowedInFeature:"Feature attributes only support dates, numbers, strings, guids.",LogicError:"Logic error - {reason}",CannotCompareDateAndTime:"Cannot compare date or dateonly with timeonly types",NeverReach:"Encountered unreachable logic",AsyncNotEnabled:"Async Arcade must be enabled for this script",ModuleAccessorMustBeString:"Module accessor must be a string",ModuleExportNotFound:"Module has no export with provided identifier",ModulesNotSupported:"Current profile does not support modules",ArrayAccessMustBeNumber:"Array accessor must be a number",FunctionNotFound:"Function not found",FieldNotFound:"Key not found - {key}",CircularModules:"Circular module dependencies are not allowed",Cancelled:"Execution cancelled",UnsupportedHashType:"Type not supported in hash function",IllegalResult:"Value is not a supported return type",PortalRequired:"Portal is required",InvalidParameter:"Invalid parameter",WrongNumberOfParameters:"Call with wrong number of parameters",Unrecognized:"Unrecognized code structure",UnrecognizedType:"Unrecognized type",WrongSpatialReference:"Cannot work with geometry in this spatial reference. It is different to the execution spatial reference",BooleanConditionRequired:"Conditions must use booleans",NoFunctionInDictionary:"Dictionaries cannot contain functions.",NoFunctionInArray:"Arrays cannot contain functions.",NoFunctionInTemplateLiteral:"Template Literals do not expect functions by value.",KeyAccessorMustBeString:"Accessor must be a string",KeyMustBeString:"Object keys must be a string",Immutable:"Object is immutable",UnexpectedToken:"Unexpected token",MemberOfNull:"Cannot access property of null object",MaximumCallDepth:"Exceeded maximum function depth",OutOfBounds:"Out of bounds",InvalidIdentifier:"Identifier not recognized",CallNonFunction:"Expression is not a function",InvalidMemberAccessKey:"Cannot access value using a key of this type",AssignModuleFunction:"Cannot assign function to module variable",UnsupportUnaryOperator:"Unsupported unary operator",UnsupportedOperator:"Unsupported operator",LogicalExpressionOnlyBoolean:"Logical expressions must be boolean",LogicExpressionOrAnd:"Logical expression can only be combined with || or &&",CannotChangeTimeZoneTime:"Cannot change the timezone of a Time",CannotChangeTimeZoneDateOnly:"Cannot change the timezone of a DateOnly",FeatureSetDoesNotHaveSubtypes:"FeatureSet does not have subtypes"};function r(e){return"object"==typeof e&&"line"in e&&"column"in e&&"number"==typeof e.line&&"number"==typeof e.column}class o extends Error{constructor(e,t){super(c(t)+("object"==typeof e&&null!=e&&"message"in e?e.message:""),{cause:e}),this.loc=t?.loc??null}}class a extends Error{constructor(e,t,s){super("Execution error - "+c(t)+(0,i.HC)(n[e],s)),this.declaredRootClass="esri.arcade.arcadeexecutionerror",this.loc=t?.loc??null}}function c(e){return null==e?.loc?"":`Line ${e.loc.start.line}:${e.loc.start.column}: `}class u extends Error{constructor(e,t,s){super("Compilation error - "+c(t)+(0,i.HC)(n[e],s)),this.declaredRootClass="esri.arcade.arcadecompilationerror",this.loc=t?.loc??null}}class h extends Error{constructor(){super("Uncompilable code structures"),this.declaredRootClass="esri.arcade.arcadeuncompilableerror"}}function l(e,t){return!function(e){if(e instanceof Error&&"loc"in e){const t=e.loc;return null==t||"object"==typeof t&&"start"in t&&null!=t.start&&r(t.start)&&(!("end"in t)||null==t.end||r(t.end))}return!1}(e)||null==e.loc&&null!=t?.loc?new o(e,t):e}const d={UnrecognizedUri:"Unrecognized uri - {uri}",UnsupportedUriProtocol:"Unrecognized uri protocol"};class m extends Error{constructor(e,t){super((0,i.HC)(d[e],t)),this.declaredRootClass="esri.arcade.arcademoduleerror"}}},66344(e,t,s){s.d(t,{q:()=>a});const i=!!(0,s(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,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(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const s=this._db.get(e.id+t);return s?.size??0}put(e,t,s,n,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==s&&this._notifyRemove(t,a.entry,a.size,0)),n>this._maxSize)return void this._notifyRemove(t,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 ${t}`),void this._notifyRemove(t,s,0,0);const c=1+Math.max(o,-4)- -3;this._db.set(t,new r(s,n,c)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const s=this._db.get(t);if(!s)return;this._size-=s.size,e.size-=s.size;let i=s.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,s.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}s.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const s=this._db.get(t);if(s)return this._size-=s.size,e.size-=s.size,this._db.delete(t),++this._hit,s.entry;++this._miss}get(e,t){t=e.id+t;const s=this._db.get(t);if(void 0!==s)return this._db.delete(t),s.lives=s.lifetime,this._db.set(t,s),++this._hit,s.entry;++this._miss}peek(e,t){const s=this._db.get(e.id+t);return s?++this._hit:++this._miss,s?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},s=new Array;this._db.forEach((e,i)=>{const n=e.lifetime;s[n]=(s[n]||0)+e.size,this._clients.forEach(s=>{const{id:n,name:r}=s;if(i.startsWith(n)){const s=t[r]||0;t[r]=s+e.size}})});const i={};this._clients.forEach(e=>{const s=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[s]||0;t[s]=n,i[s]=Math.round(100*e.hitRate)+"%"}else i[s]="0%"});const n=Object.keys(t);n.sort((e,s)=>t[s]-t[e]),n.forEach(s=>e[s]=Math.round(t[s]/2**20)+"MB / "+i[s]);for(let t=s.length-1;t>=0;--t){const i=s[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,s)=>{s.startsWith(t)&&(this._size-=e.size,this._db.delete(s),this._notifyRemove(s,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,s]of this._db)t.startsWith(e.id)&&(yield s.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,s,i){const n=this._clients.get(e.split(o)[0])?.removeFunc,r=n?.(t,i,s);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const s=t??this;if(s.size<=e)return;const i=t?.id;let n=!0;for(;n;){n=!1;for(const[r,a]of this._db)if(0===a.lifetime&&(!i||r.startsWith(i))){const i=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,a,i),s.size<=.9*e)return;n||=this._db.has(r)}}for(const[n,r]of this._db)if(!i||n.startsWith(i)){const i=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,r,i),s.size<=.9*e)return}}_purgeItem(e,t,s){if(this._db.delete(e),t.lives<=1){this._size-=t.size,s&&(s.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,s&&(s.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class r{constructor(e,t,s){this.entry=e,this.size=t,this.lifetime=s,this.lives=s}}const o=":";class a{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,s=1){this._storage.put(this,e,t,s,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},44729(e,t,s){s.d(t,{n:()=>c});var i=s(66131),n=s(73444),r=s(34747);function o(e){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let t="";const s=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;for(const i of e.match(s)||[])switch(i){case"D":t+="d";break;case"DD":t+="dd";break;case"DDD":t+="o";break;case"d":t+="c";break;case"ddd":t+="ccc";break;case"dddd":t+="cccc";break;case"M":t+="L";break;case"MM":t+="LL";break;case"MMM":t+="LLL";break;case"MMMM":t+="LLLL";break;case"YY":t+="yy";break;case"Y":case"YYYY":t+="yyyy";break;case"Q":t+="q";break;case"X":case"x":t+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?t+=`'${i.slice(1,-1)}'`:t+=`'${i}'`}return t}const a="esri.core.sql.dateonly";class c{constructor(e,t,s){this._year=e,this._month=t,this._day=s,this.declaredRootClass=a}static isDateOnly(e){return"object"==typeof e&&null!=e&&"declaredRootClass"in e&&e.declaredRootClass===a}get month(){return this._month}get monthJS(){return this._month-1}get year(){return this._year}get day(){return this._day}get isValid(){return this.toDateTime("unknown").isValid}equals(e){return c.isDateOnly(e)&&e.day===this.day&&e.month===this.month&&e.year===this.year}compare(e){return this.year===e.year?this.month===e.month?this.day-e.day:this.month-e.month:this.year-e.year}clone(){return new c(this._year,this._month,this._day)}toDateTime(e){return r.c9.fromObject({day:this.day,month:this.month,year:this.year},{zone:(0,i.mT)(e)})}toDateTimeLuxon(e){return r.c9.fromObject({day:this.day,month:this.month,year:this.year},{zone:(0,i.mT)(e)})}toString(){return`${this.year.toString().padStart(4,"0")}-${this.month.toString().padStart(2,"0")}-${this.day.toString().padStart(2,"0")}`}toFormat(e=null,t=!0){if(null===e||""===e)return this.toString();if(t&&(e=o(e)),!e)return"";const s=this.toDateTime("unknown");return i.lY.dateTimeToArcadeDate(s).toFormat(e,{locale:(0,n.JK)(),numberingSystem:"latn"})}toArcadeDate(){const e=this.toDateTime("unknown");return i.lY.dateTimeToArcadeDate(e)}toNumber(){return this.toDateTime("unknown").toMillis()}toJSDate(){return this.toDateTime("unknown").toJSDate()}toStorageFormat(){return this.toFormat("yyyy-LL-dd",!1)}toSQLValue(){return this.toFormat("yyyy-LL-dd",!1)}toSQLWithKeyword(){return"date '"+this.toFormat("yyyy-LL-dd",!1)+"'"}plus(e,t){return c.fromDateTime(this.toUTCDateTime().plus({[e]:t}))}toUTCDateTime(){return r.c9.utc(this.year,this.month,this.day,0,0,0,0)}difference(e,t){switch(t.toLowerCase()){case"days":case"day":case"d":return this.toUTCDateTime().diff(e.toUTCDateTime(),"days").days;case"months":case"month":return this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months;case"minutes":case"minute":case"m":return"M"===t?this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months:this.toUTCDateTime().diff(e.toUTCDateTime(),"minutes").minutes;case"seconds":case"second":case"s":return this.toUTCDateTime().diff(e.toUTCDateTime(),"seconds").seconds;case"milliseconds":case"millisecond":case"ms":default:return this.toUTCDateTime().diff(e.toUTCDateTime(),"milliseconds").milliseconds;case"hours":case"hour":case"h":return this.toUTCDateTime().diff(e.toUTCDateTime(),"hours").hours;case"years":case"year":case"y":return this.toUTCDateTime().diff(e.toUTCDateTime(),"years").years}}static fromMilliseconds(e){const t=r.c9.fromMillis(e,{zone:r.mQ.utcInstance});return t.isValid?c.fromParts(t.year,t.month,t.day):null}static fromSeconds(e){const t=r.c9.fromSeconds(e,{zone:r.mQ.utcInstance});return t.isValid?c.fromParts(t.year,t.month,t.day):null}static fromReader(e){if(!e)return null;const t=e.indexOf("-");if(t<0)return null;const s=e.indexOf("-",t+1);return s<0?null:new c(parseInt(e.slice(0,t),10),parseInt(e.slice(t+1,s),10),parseInt(e.slice(s+1),10))}static fromParts(e,t,s){const i=new c(e,t,s);return!1===i.isValid?null:i}static fromDateJS(e){return c.fromParts(e.getFullYear(),e.getMonth()+1,e.getDay())}static fromDateTime(e){return c.fromParts(e.year,e.month,e.day)}static fromSqlTimeStampOffset(e){return this.fromDateTime(e.toDateTime())}static fromString(e,t=null){if(""===e)return null;if(null===e)return null;const s=[];if(t)(t=o(t))&&s.push(t);else if(null===t||""===t){const t=r.c9.fromISO(e,{setZone:!0});return t.isValid?c.fromParts(t.year,t.month,t.day):null}for(const i of s){const s=r.c9.fromFormat(e,t??i);if(s.isValid)return new c(s.year,s.month,s.day)}return null}static fromNow(e="system"){const t=r.c9.fromJSDate(new Date).setZone((0,i.mT)(e));return new c(t.year,t.month,t.day)}}},15032(e,t,s){s.d(t,{k:()=>c});var i=s(73444),n=s(54218),r=s(34747);function o(e){if(!e)return"";const t=/(a|A|hh?|HH?|mm?|ss?|SSS|S|.)/g;let s="";for(const i of e.match(t)||[])switch(i){case"SSS":case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":s+=i;break;case"A":case"a":s+="a";break;default:s+=`'${i}'`}return s}const a="esri.core.sql.timeonly";class c{constructor(e,t,s,i){this._hour=e,this._minute=t,this._second=s,this._millisecond=i,this.declaredRootClass=a}static isTimeOnly(e){return"object"==typeof e&&null!=e&&"declaredRootClass"in e&&e.declaredRootClass===a}get hour(){return this._hour}get minute(){return this._minute}get second(){return this._second}get millisecond(){return this._millisecond}equals(e){return c.isTimeOnly(e)&&e.hour===this.hour&&e.minute===this.minute&&e.second===this.second&&e.millisecond===this.millisecond}clone(){return new c(this.hour,this.minute,this.second,this.millisecond)}isValid(){return(0,n.Fq)(this.hour)&&(0,n.Fq)(this.minute)&&(0,n.Fq)(this.second)&&(0,n.Fq)(this.millisecond)&&this.hour>=0&&this.hour<24&&this.minute>=0&&this.minute<60&&this.second>=0&&this.second<60&&this.millisecond>=0&&this.millisecond<1e3}toString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}:${this.second.toString().padStart(2,"0")}`+(this.millisecond>0?"."+this.millisecond.toString().padStart(3,"0"):"")}toSQLValue(){return this.toString()}toSQLWithKeyword(){return`time '${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}:${this.second.toString().padStart(2,"0")}${this.millisecond>0?"."+this.millisecond.toString().padStart(3,"0"):""}'`}toStorageString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}:${this.second.toString().padStart(2,"0")}`}toFormat(e=null){return null===e||""===e?this.toString():(e=o(e))?r.c9.local(1970,1,1,this._hour,this._minute,this._second,this._millisecond).toFormat(e,{locale:(0,i.JK)(),numberingSystem:"latn"}):""}toNumber(){return this.millisecond+1e3*this.second+1e3*this.minute*60+60*this.hour*60*1e3}static fromParts(e,t,s,i){const n=new c(e,t,s,i);return n.isValid()?n:null}static fromReader(e){if(!e)return null;const t=e.indexOf(":");if(t<0)return null;const s=e.indexOf(":",t+1);return s<0?null:new c(parseInt(e.slice(0,t),10),parseInt(e.slice(t+1,s),10),parseInt(e.slice(s+1),10),0)}static fromMilliseconds(e){if(e>864e5||e<0)return null;const t=Math.floor(e/1e3%60),s=Math.floor(e/6e4%60),i=Math.floor(e/36e5%24),n=Math.floor(e%1e3);return new c(i,s,t,n)}static fromDateJS(e){return new c(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}static fromDateTime(e){return new c(e.hour,e.minute,e.second,e.millisecond)}static fromSqlTimeStampOffset(e){return this.fromDateTime(e.toDateTime())}static fromString(e,t=null){if(""===e)return null;if(null===e)return null;const s=[];t?(t=o(t))&&s.push(t):null!==t&&""!==t||(s.push("HH:mm:ss"),s.push("HH:mm:ss.SSS"),s.push("hh:mm:ss a"),s.push("hh:mm:ss.SSS a"),s.push("HH:mm"),s.push("hh:mm a"),s.push("H:mm"),s.push("h:mm a"),s.push("H:mm:ss"),s.push("h:mm:ss a"),s.push("H:mm:ss.SSS"),s.push("h:mm:ss.SSS a"));for(const t of s){const s=r.c9.fromFormat(e,t);if(s.isValid)return new c(s.hour,s.minute,s.second,s.millisecond)}return null}plus(e,t){switch(e){case"days":case"years":case"months":return this.clone();case"hours":case"minutes":case"seconds":case"milliseconds":return c.fromDateTime(this.toUTCDateTime().plus({[e]:t}))}return null}toUTCDateTime(){return r.c9.utc(1970,1,1,this.hour,this.minute,this.second,this.millisecond)}difference(e,t){switch(t.toLowerCase()){case"days":case"day":case"d":return this.toUTCDateTime().diff(e.toUTCDateTime(),"days").days;case"months":case"month":return this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months;case"minutes":case"minute":case"m":return"M"===t?this.toUTCDateTime().diff(e.toUTCDateTime(),"months").months:this.toUTCDateTime().diff(e.toUTCDateTime(),"minutes").minutes;case"seconds":case"second":case"s":return this.toUTCDateTime().diff(e.toUTCDateTime(),"seconds").seconds;case"milliseconds":case"millisecond":case"ms":default:return this.toUTCDateTime().diff(e.toUTCDateTime(),"milliseconds").milliseconds;case"hours":case"hour":case"h":return this.toUTCDateTime().diff(e.toUTCDateTime(),"hours").hours;case"years":case"year":case"y":return this.toUTCDateTime().diff(e.toUTCDateTime(),"years").years}}}},44123(e,t,s){s.d(t,{WhereClauseCache:()=>r});var i=s(66344),n=s(89696);class r{constructor(e,t){this._cache=new i.q(e),this._invalidCache=new i.q(t)}get(e,t){const s=`${t?.uid}:${e}`,i=this._cache.get(s);if(i)return i;if(null!=this._invalidCache.get(s))return null;try{const i=n.A.create(e,{fieldsIndex:t});return this._cache.put(s,i),i}catch(e){return this._invalidCache.put(s,e),null}}getError(e,t){const s=`${t?.uid}:${e}`;return this._invalidCache.get(s)??null}}},73444(e,t,s){s.d(t,{JK:()=>c,Ml:()=>g,QC:()=>l,lR:()=>h,oQ:()=>f});var i=s(36563);let n;s(44208);const r=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return r??e??t??"en"}function c(){return void 0===n&&(n=a()),n}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function h(e=c()){return d(e)?.language}function l(e=c()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=c()){return u.exec(e)?.groups}const m=[];function f(e){return m.push(e),(0,i.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const y=[];function g(e){return y.push(e),(0,i.hA)(()=>y.splice(y.indexOf(e),1))}function p(){const e=a();n!==e&&([...y].forEach(t=>t(e)),n=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",p),o&&new MutationObserver(()=>{p()}).observe(o,{attributeFilter:["lang"]})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7339],{68197(e,t,i){i.d(t,{A:()=>u});var r=i(40876),s=i(4576),n=i(34727),o=i(56507);function l(e){return(0,n.qE)((0,o.Vr)(e),0,255)}function a(e,t){const i=e.toString(16).padStart(2,"0");return t?i.slice(0,1):i}class u{static blendColors(e,t,i,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*i),r.g=Math.round(e.g+(t.g-e.g)*i),r.b=Math.round(e.b+(t.b-e.b)*i),r.a=e.a+(t.a-e.a)*i,r._sanitize()}static fromRgb(e,t){const i=(0,r.lT)(e);return i?u.fromArray(i,t):null}static fromHex(e,t=new u){const i=(0,r.oW)(e);return i?u.fromArray(i,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const i=(0,r.Eq)(e);return i?u.fromArray(i,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,s.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,i=e?.digits??6,r=3===i||4===i,s=4===i||8===i,n=`#${a(this.r,r)}${a(this.g,r)}${a(this.b,r)}${s?a(Math.round(255*this.a),r):""}`;return t?n.toUpperCase():n}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=l(this.r),i=l(this.g),r=l(this.b);return 0===e||1!==this.a?[t,i,r,l(255*this.a)]:[t,i,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,i,r){this.r=e,this.g=t,this.b=i,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,i){i.d(t,{A:()=>C});var r,s,n=i(32198),o=i(37838),l=i(69540),a=i(51447),u=i(25482),h=i(53966),c=i(36708),d=i(24326),p=i(91429),y=i(12195),f=i(65864),g=i(50498),m=i(55156),b=i(60950),_=i(54339),v=i(94128),S=i(33910);const w=Symbol("meshGeometryHandles");function M(e){if(null==e)return null;const t={};for(const i in e){const r=e[i];r&&(t[i]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let C=class extends((0,l.OU)(u.o)){static{r=v.Z}static{s=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(h.A.getLogger(this),"Graphic",{version:"4.30"})}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),this._watchMeshGeometryChanges(),this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new s({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const i=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[i,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,m.I)(this.origin);if(e)return(0,_.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,_.r)(this,t):null}getGlobalId(){const e=(0,m.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:M(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,y.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const i={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",i,i,e.action)}}_notifyLayer(e,t,i,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const s={graphic:this,property:e,oldValue:t,newValue:i};"origin-transform"===e&&(s.action=r),"attributes"===e&&(s.attributeName=r),this.layer.graphicChanged(s)}_watchMeshGeometryChanges(){this.removeHandles(w);const e=this.geometry;"mesh"===e?.type&&this.addHandles([(0,c.z7)(()=>e.vertexSpace.origin?{localMatrix:e.transform?.localMatrix,origin:e.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>({vertexAttributes:e.vertexAttributes}),()=>{e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",e,e)},{equals:(e,t)=>e===t,sync:!0})],w)}};(0,n.Cg)([(0,p.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const i in e){const r=(0,f.rS)(e[i]);r&&(t[i]=r)}return 0!==Object.keys(t).length?t:null}}})],C.prototype,"aggregateGeometries",null),(0,n.Cg)([(0,p.MZ)({value:null})],C.prototype,"attributes",null),(0,n.Cg)([(0,p.MZ)({value:null,types:g.yR,json:{read:f.rS}})],C.prototype,"geometry",null),(0,n.Cg)([(0,p.MZ)()],C.prototype,"distance",void 0),(0,n.Cg)([(0,p.MZ)({type:Boolean})],C.prototype,"isAggregate",void 0),(0,n.Cg)([(0,p.MZ)({clonable:!1})],C.prototype,"layer",void 0),(0,n.Cg)([(0,p.MZ)({clonable:"reference"})],C.prototype,"origin",void 0),(0,n.Cg)([(0,p.MZ)({type:o.A,value:null})],C.prototype,"popupTemplate",null),(0,n.Cg)([(0,p.MZ)({clonable:"reference"})],C.prototype,"sourceLayer",void 0),(0,n.Cg)([(0,p.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],C.prototype,"statisticsAggregatedIds",void 0),(0,n.Cg)([(0,p.MZ)({value:null,types:S.Es})],C.prototype,"symbol",null),(0,n.Cg)([(0,p.MZ)({clonable:!1,json:{read:!1,write:!1}})],C.prototype,"_version",void 0),(0,n.Cg)([(0,p.MZ)({type:Boolean,value:!0})],C.prototype,"visible",null),C=s=(0,n.Cg)([(0,p.$K)("esri.Graphic")],C)},19334(e,t,i){i.d(t,{e:()=>o});var r=i(54639),s=i(14112);class n{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry.toJSON()}toAccessorGeometry(e){return this._geometry}toGxGeometry(e){return e.fromAccessorGeometry(this._geometry)}}function o(e){if(null==e)return null;switch(e.type){case"point":if((0,s.e6)(e))return null;break;case"polygon":if((0,s.Wq)(e))return null;break;case"polyline":if((0,s.IY)(e))return null;break;case"multipoint":if((0,s.DG)(e))return null;break;case"extent":if((0,s.As)(e))return null;break;default:return null}const t=r.R.of(e.type,e.spatialReference,e.hasZ,e.hasM,new n(e));return t.asAccessorGeometry(),t}},36983(e,t,i){i.d(t,{R:()=>u,p:()=>h});var r=i(54639),s=i(14112),n=i(16930),o=i(60408),l=i(65864);class a{constructor(e){this._geometry=e}toJsonGeometry(){return this._geometry}toAccessorGeometry(e){const t=(0,l.rS)(this._geometry);return t.spatialReference=e,t}toGxGeometry(e){return e.fromJsonGeometry(this._geometry)}}function u(e,t){if(null==e||"object"!=typeof e)return null;let i=t;if("spatialReference"in e&&(e.spatialReference instanceof n.A?i=e.spatialReference:"object"==typeof e.spatialReference&&null!=e.spatialReference&&(i=new n.A,i.read(e.spatialReference))),null==i)throw new Error("Spatial reference required");return(0,o.fT)(e)?h("point",e,i):(0,o.Rg)(e)?h("polyline",e,i):(0,o.Bi)(e)?h("polygon",e,i):(0,o.U9)(e)?h("multipoint",e,i):(0,o.ZC)(e)?h("extent",e,i):null}function h(e,t,i){if(null==t)return null;let n=!1,o=!1;switch(e){case"point":if((0,s.e6)(t))return null;n=void 0!==t.z,o=void 0!==t.m;break;case"polygon":if((0,s.Wq)(t))return null;n=!0===t.hasZ,o=!0===t.hasM;break;case"polyline":if((0,s.IY)(t))return null;n=!0===t.hasZ,o=!0===t.hasM;break;case"multipoint":if((0,s.DG)(t))return null;n=!0===t.hasZ,o=!0===t.hasM;break;case"extent":if((0,s.As)(t))return null;n=null!=t.zmin&&null!=t.zmax,o=null!=t.mmin&&null!=t.mmax;break;default:throw new Error("Unsupported geometry type: "+t.type)}return r.R.of(e,i,n,o,new a(t))}},14112(e,t,i){function r(e){return"NaN"===e.x||null===e.x||isNaN(e.x)}function s(e){if(0===(e.curveRings??e.rings).length)return!0;for(const t of e.curveRings??e.rings)if(t.length>0)return!1;return!0}function n(e){if(0===(e.curvePaths??e.paths).length)return!0;for(const t of e.curvePaths??e.paths)if(t.length>0)return!1;return!0}function o(e){return 0===e.points.length}function l(e){return"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)}i.d(t,{As:()=>l,DG:()=>o,IY:()=>n,Wq:()=>s,e6:()=>r})},40876(e,t,i){i.d(t,{Eq:()=>p,G1:()=>f,TS:()=>n,V6:()=>s,Vm:()=>y,ay:()=>a,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>c,oW:()=>h,xV:()=>_});const r={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 s(e){return!!r[e]||!!r[e.toLowerCase()]}function n(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...n(e)]}function l(e,t,i){i<0&&++i,i>1&&--i;const r=6*i;return r<1?e+(t-e)*r:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function a(e,t,i,r=1){const s=(e%360+360)%360/360,n=i<=.5?i*(t+1):i+t-i*t,o=2*i-n;return[Math.round(255*l(o,n,s+1/3)),Math.round(255*l(o,n,s)),Math.round(255*l(o,n,s-1/3)),r]}function u(e){const t=e.length>5,i=t?8:4,r=(1<<i)-1,s=t?1:17,n=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const l=[0,0,0,1];let a;return n&&(a=o&r,o>>=i,l[3]=s*a/255),a=o&r,o>>=i,l[2]=s*a,a=o&r,o>>=i,l[1]=s*a,a=o&r,o>>=i,l[0]=s*a,l}function h(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),i=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),s=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,i+16*i,r+16*r,(s+16*s)/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 c(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),i=t[1];if("rgb"===i&&3===e.length||"rgba"===i&&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"===i&&3===e.length||"hsla"===i&&4===e.length)return a(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=s(e)?n(e):null;return t??=c(e),t??=h(e),t}function y(e){const t=p(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function f(e){return m(e,0,1)}function g(e){return Math.round(m(e,0,255))}function m(e,t,i){return e=Number(e),isNaN(e)?i:e<t?t:e>i?i:e}const b=1/2.2;function _(e){return e**b}i.d(t,["iw",0,b])},38961(e,t,i){var r=i(32198),s=i(7762),n=i(36708),o=i(10107),l=i(64108),a=i(80559);let u=class extends s.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)(()=>this._refresh(),n.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const i of e)null!=i&&(t=this._processCollection(t,i));this.splice(t)}_createNewInstance(e){return new s.A(e)}_processCollection(e,t){if(!t)return e;const i=this.itemFilterFunction??(e=>!!e);for(const r of t)if(r){if(i(r)){const t=this.indexOf(r,e);t>=0?t!==e&&this.reorder(r,e):this.add(r,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(r);if(Array.isArray(t))for(const i of t)e=this._processCollection(e,i);else e=this._processCollection(e,t)}}return e}};(0,r.Cg)([(0,o.MZ)()],u.prototype,"getCollections",void 0),(0,r.Cg)([(0,o.MZ)()],u.prototype,"getChildrenFunction",void 0),(0,r.Cg)([(0,o.MZ)()],u.prototype,"itemFilterFunction",void 0),u=(0,r.Cg)([(0,l.$)("esri.core.CollectionFlattener")],u);const h=u;i.d(t,["A",0,h])},66344(e,t,i){i.d(t,{q:()=>l});const r=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class s{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,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(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,s,o){t=e.id+t;const l=this._db.get(t);if(l&&(this._size-=l.size,e.size-=l.size,this._db.delete(t),l.entry!==i&&this._notifyRemove(t,l.entry,l.size,0)),s>this._maxSize)return void this._notifyRemove(t,i,s,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!s||s<0)return r||console.warn(`Refusing to cache entry with size ${s} for key ${t}`),void this._notifyRemove(t,i,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(t,new n(i,s,a)),this._size+=s,e.size+=s,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let r=i.entry.usedMemory;for(;r>this._maxSize;){const e=this._notifyRemove(t,i.entry,r,1);if(!(null!=e&&e>0))return void this._db.delete(t);r=e}i.size=r,this._size+=r,e.size+=r,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,r)=>{const s=e.lifetime;i[s]=(i[s]||0)+e.size,this._clients.forEach(i=>{const{id:s,name:n}=i;if(r.startsWith(s)){const i=t[n]||0;t[n]=i+e.size}})});const r={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const s=t[i]||0;t[i]=s,r[i]=Math.round(100*e.hitRate)+"%"}else r[i]="0%"});const s=Object.keys(t);s.sort((e,i)=>t[i]-t[e]),s.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+r[i]);for(let t=i.length-1;t>=0;--t){const r=i[t];r&&(e["Priority "+(t+-3-1)]=Math.round(r/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,r){const s=this._clients.get(e.split(o)[0])?.removeFunc,n=s?.(t,r,i);return"number"==typeof n?n:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const r=t?.id;let s=!0;for(;s;){s=!1;for(const[n,l]of this._db)if(0===l.lifetime&&(!r||n.startsWith(r))){const r=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,l,r),i.size<=.9*e)return;s||=this._db.has(n)}}for(const[s,n]of this._db)if(!r||s.startsWith(r)){const r=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,n,r),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const r=this._notifyRemove(e,t.entry,t.size,1);null!=r&&r>0&&(this._size+=r,i&&(i.size+=r),t.lives=t.lifetime,t.size=r,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new s(0);class n{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new s(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},6797(e,t,i){i.d(t,{Ui:()=>d});var r=i(69622),s=i(7762),n=i(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof r.A}function a(e){return e instanceof s.A?Object.keys(e.items):l(e)?(0,n.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof s.A?e.items[t]:e[t]}function h(e){return e?e.declaredClass:null}function c(e,t){const i=e.diff;if(i&&"function"==typeof i)return i(e,t);const r=a(e),s=a(t);if(0===r.length&&0===s.length)return;if(!r.length||!s.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const n=s.filter(e=>!r.includes(e)),d=r.filter(e=>!s.includes(e)),p=r.filter(i=>s.includes(i)&&u(e,i)!==u(t,i)).concat(n,d).sort(),y=h(e);if(y&&o.has(y)&&p.length)return{type:"complete",oldValue:e,newValue:t};let f;const g=l(e)&&l(t);for(const r of p){const s=u(e,r),n=u(t,r);let o;if((g||"function"!=typeof s&&"function"!=typeof n)&&s!==n&&(null!=s||null!=n)){if(i&&i[r]&&"function"==typeof i[r])o=i[r]?.(s,n);else if(s instanceof Date&&n instanceof Date){if(s.getTime()===n.getTime())continue;o={type:"complete",oldValue:s,newValue:n}}else o="object"==typeof s&&"object"==typeof n&&h(s)===h(n)?c(s,n):{type:"complete",oldValue:s,newValue:n};null!=o&&(null!=f?f.diff[r]=o:f={type:"partial",diff:{[r]:o}})}}return f}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&h(e)!==h(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},90629(e,t,i){i.d(t,{Lz:()=>s,PN:()=>n,cr:()=>o,gs:()=>a,r_:()=>u,tc:()=>l}),i(39829);const r=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function s(e){return e?e/72*96:0}function n(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(r);if(t){const i=Number(t[1]),r=t[3]&&t[3].toLowerCase(),s=e.startsWith("-"),o="px"===r?n(i):i;return s?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function l(e=0,t=0){return{x:e,y:t}}function a(e=0,t=0){return[e,t]}function u(e=0,t=0,i=0){return[e,t,i]}},65864(e,t,i){i.d(t,{rS:()=>h,xD:()=>d});var r=i(5443),s=i(91075),n=i(48526),o=i(86738),l=i(39829),a=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof s.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?n.A.fromJSON(e):(0,u.ZC)(e)?r.A.fromJSON(e):null}const c={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:l.A};function d(e){return e&&c[e]||null}},50498(e,t,i){var r=i(66552),s=i(5443),n=i(91075),o=i(48526),l=i(86738),a=i(39829),u=i(82799);const h=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:n.A,key:"type",typeMap:{extent:s.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}},p=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});i.d(t,["Ye",0,c,"gy",0,h,"iI",0,p,"yR",0,d])},99959(e,t,i){i.d(t,{A:()=>n});var r=i(32198),s=i(91429);let n=class{};n=(0,r.Cg)([(0,s.$K)("esri.graphic.GraphicOrigin")],n)},55156(e,t,i){i.d(t,{I:()=>s});const r=Symbol("idFieldsProviderSymbol");function s(e){return(t=e)&&r in t?e[r]:void 0;var t}i.d(t,["e",0,r])},89808(e,t,i){const r=Symbol("getSliceableSymbol");i.d(t,["Q",0,r])},162(e,t,i){i.r(t),i.d(t,{default:()=>V});var r=i(32198),s=i(7762),n=i(38961),o=i(25728),l=i(17676),a=i(36708),u=i(84952),h=i(91429),c=i(5443),d=i(16930),p=i(4146),y=i(63074),f=i(34287),g=i(8303),m=i(54310),b=i(25036),_=i(10873),v=i(65529),S=i(25482),w=i(92474),M=i(799),C=i(56507),A=i(89808),z=i(99959);const F=Symbol("isKMLGraphicOrigin");var I;class x extends z.A{get[(I=F,A.Q)](){return this.layer}constructor(e,t){super(),this[I]=!0,this.type="kml",this.layer=e,this.sublayer=t}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var R=i(92602),T=i(70333),P=(i(37838),i(11254)),L=i(4718),k=i(70328),G=i(537);i(65494),i(22671);const E={esriGeometryPoint:"points",esriGeometryPolyline:"polylines",esriGeometryPolygon:"polygons"};function N(e){const t=e.folders||[],i=t.slice(),r=new Map,s=new Map,n=new Map,o=new Map,l=new Map,a={esriGeometryPoint:s,esriGeometryPolyline:n,esriGeometryPolygon:o};(e.featureCollection?.layers||[]).forEach(e=>{const t=(0,L.o8)(e);t.featureSet.features=[];const i=e.featureSet.geometryType;r.set(i,t);const l=e.layerDefinition.objectIdField;"esriGeometryPoint"===i?J(s,l,e.featureSet.features):"esriGeometryPolyline"===i?J(n,l,e.featureSet.features):"esriGeometryPolygon"===i&&J(o,l,e.featureSet.features)}),e.groundOverlays&&e.groundOverlays.forEach(e=>{l.set(e.id,e)}),t.forEach(t=>{t.networkLinkIds.forEach(r=>{const s=function(e,t,i){const r=function(e,t){let i;return t.some(t=>t.id===e&&(i=t,!0)),i}(e,i);return r&&(r.parentFolderId=t,r.networkLink=r),r}(r,t.id,e.networkLinks);s&&i.push(s)})}),i.forEach(e=>{if(e.featureInfos){e.points=(0,L.o8)(r.get("esriGeometryPoint")),e.polylines=(0,L.o8)(r.get("esriGeometryPolyline")),e.polygons=(0,L.o8)(r.get("esriGeometryPolygon")),e.mapImages=[];for(const t of e.featureInfos)switch(t.type){case"esriGeometryPoint":case"esriGeometryPolyline":case"esriGeometryPolygon":{const i=a[t.type].get(t.id);i&&e[E[t.type]]?.featureSet.features.push(i);break}case"GroundOverlay":{const i=l.get(t.id);i&&e.mapImages.push(i);break}}e.fullExtent=j([e])}});const u=j(i);return{folders:t,sublayers:i,extent:u}}function O(e,t,i,r){const s=T.id?.findCredential(e);e=(0,u.a6)(e,{token:s?.token});const n=R.A.kmlServiceUrl;return(0,P.A)(n,{query:{url:e,model:"simple",folders:"",refresh:0!==i||void 0,outSR:JSON.stringify(t)},responseType:"json",signal:r})}function Z(e,t,i=null,r=[]){const s=[],n={},o=t.sublayers,l=new Set(t.folders.map(e=>e.id));return o.forEach(t=>{const o=new e;if(i?o.read(t,i):o.read(t),r.length&&l.has(o.id)&&(o.visible=r.includes(o.id)),n[t.id]=o,null!=t.parentFolderId&&-1!==t.parentFolderId){const e=n[t.parentFolderId];e.sublayers||(e.sublayers=[]),e.sublayers?.unshift(o)}else s.unshift(o)}),s}function J(e,t,i){i.forEach(i=>{e.set(i.attributes[t],i)})}function j(e){const t=(0,k.vt)(k.qv),i=(0,k.vt)(k.qv);for(const r of e){if(r.polygons?.featureSet?.features)for(const e of r.polygons.featureSet.features)(0,G.LJ)(t,e.geometry),(0,k.RF)(i,t);if(r.polylines?.featureSet?.features)for(const e of r.polylines.featureSet.features)(0,G.LJ)(t,e.geometry),(0,k.RF)(i,t);if(r.points?.featureSet?.features)for(const e of r.points.featureSet.features)(0,G.LJ)(t,e.geometry),(0,k.RF)(i,t);if(r.mapImages)for(const e of r.mapImages)(0,G.LJ)(t,e.extent),(0,k.RF)(i,t)}return(0,k.aI)(i,k.qv)?void 0:{xmin:i[0],ymin:i[1],zmin:i[2],xmax:i[3],ymax:i[4],zmax:i[5],spatialReference:d.A.WGS84}}var q,U=i(36005);let H=q=class extends((0,v.Zt)((0,S.T)(w.x_))){constructor(...e){super(...e),this.description=null,this.fullExtent=null,this.id=null,this.networkLink=null,this.parent=null,this.sublayers=null,this.title=null,this.sourceJSON=null,this.layer=null,this.addHandles([(0,a.on)(()=>this.sublayers,"after-add",({item:e})=>{e.parent=this,e.layer=this.layer},a.OH),(0,a.on)(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},a.OH),(0,a.wB)(()=>this.sublayers,(e,t)=>{if(t)for(const e of t)e.layer=e.parent=null;if(e)for(const t of e)t.parent=this,t.layer=this.layer},a.OH),(0,a.wB)(()=>this.layer,e=>{if(this.sublayers)for(const t of this.sublayers)t.layer=e},a.OH)])}initialize(){(0,a.C_)(()=>this.networkLink).then(()=>(0,a.C_)(()=>!0===this.visible)).then(()=>this.load())}async load(e){if(!this.networkLink)return this;if(this.networkLink.viewFormat)return this;const t=null!=e?e.signal:null,i=this._fetchService(this._get("networkLink")?.href??"",t).then(e=>{const t=j(e.sublayers);this.fullExtent=c.A.fromJSON(t),this.sourceJSON=e;const i=(0,C.dp)(s.A.ofType(q),Z(q,e));this.sublayers?this.sublayers.addMany(i):this.sublayers=i,this.layer?.emit("sublayer-update"),this.layer&&this.layer.notifyChange("visibleSublayers")});return this.addResolvingPromise(i),this}get visible(){return this._get("visible")}set visible(e){this._get("visible")!==e&&(this._set("visible",e),this.layer&&this.layer.notifyChange("visibleSublayers"))}readVisible(e,t){return!!t.visibility}get origin(){return this.layer?new x(this.layer,this):null}_fetchService(e,t){return O(e,this.layer.outSpatialReference,this.layer.refreshInterval,t).then(e=>N(e.data))}};(0,r.Cg)([(0,h.MZ)()],H.prototype,"description",void 0),(0,r.Cg)([(0,h.MZ)({type:c.A})],H.prototype,"fullExtent",void 0),(0,r.Cg)([(0,h.MZ)()],H.prototype,"id",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,value:null})],H.prototype,"networkLink",void 0),(0,r.Cg)([(0,h.MZ)({json:{write:{allowNull:!0}}})],H.prototype,"parent",void 0),(0,r.Cg)([(0,h.MZ)({type:s.A.ofType(q),json:{write:{allowNull:!0}}})],H.prototype,"sublayers",void 0),(0,r.Cg)([(0,h.MZ)({value:null,json:{read:{source:"name",reader:e=>(0,M._e)(e)}}})],H.prototype,"title",void 0),(0,r.Cg)([(0,h.MZ)({value:!0})],H.prototype,"visible",null),(0,r.Cg)([(0,U.w)("visible",["visibility"])],H.prototype,"readVisible",null),(0,r.Cg)([(0,h.MZ)()],H.prototype,"sourceJSON",void 0),(0,r.Cg)([(0,h.MZ)()],H.prototype,"layer",void 0),(0,r.Cg)([(0,h.MZ)()],H.prototype,"origin",null),H=q=(0,r.Cg)([(0,h.$K)("esri.layers.support.KMLSublayer")],H);var B=i(43937);const D=["kml","xml"];let $=class extends((0,y.dM)((0,m.J)((0,b.j)((0,f.q)((0,g.A)((0,o.M)(p.A))))))){constructor(...e){super(...e),this._visibleFolders=[],this.allSublayers=new n.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>e.sublayers}),this.outSpatialReference=d.A.WGS84,this.path=null,this.legendEnabled=!1,this.operationalLayerType="KML",this.sublayers=null,this.type="kml",this.url=null}initialize(){this.addHandles([(0,a.wB)(()=>this.sublayers,(e,t)=>{t&&t.forEach(e=>{e.parent=null,e.layer=null}),e&&e.forEach(e=>{e.parent=this,e.layer=this})},a.OH),this.on("sublayer-update",()=>this.notifyChange("fullExtent"))])}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}get sublayerById(){const e=new Map;for(const t of this.allSublayers)e.set(t.id,t);return e}readSublayersFromItemOrWebMap(e,t){this._visibleFolders=t.visibleFolders}readSublayers(e,t,i){return Z(H,t,i,this._visibleFolders)}writeSublayers(e,t){const i=[],r=e.toArray();for(;r.length;){const e=r[0];e.networkLink||(e.visible&&i.push(e.id),e.sublayers&&r.push(...e.sublayers.toArray())),r.shift()}t.visibleFolders=i}get title(){const e=this._get("title");return e&&"defaults"!==this.originOf("title")?e:this.url?(0,u.e7)(this.url,D)||"KML":e}set title(e){this._set("title",e)}get visibleSublayers(){const e=this.sublayers,t=[],i=e=>{e.visible&&(t.push(e),e.sublayers&&e.sublayers.forEach(i))};return e?.forEach(i),t}get fullExtent(){return this._recomputeFullExtent()}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["KML"],supportsData:!1},e).catch(l.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}destroy(){super.destroy(),this.allSublayers.destroy()}async _fetchService(e){const t=N((await Promise.resolve().then(()=>this.resourceInfo?{ssl:!1,data:this.resourceInfo}:O(this.url??"",this.outSpatialReference,this.refreshInterval,e))).data);t&&this.read(t,{origin:"service"})}_recomputeFullExtent(){let e=null;null!=this.extent&&(e=this.extent.clone());const t=i=>{if(i.sublayers)for(const r of i.sublayers.items)t(r),r.visible&&r.fullExtent&&(null!=e?e.union(r.fullExtent):e=r.fullExtent.clone())};return t(this),e}};(0,r.Cg)([(0,h.MZ)({readOnly:!0})],$.prototype,"allSublayers",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],$.prototype,"sublayerById",null),(0,r.Cg)([(0,h.MZ)({type:d.A})],$.prototype,"outSpatialReference",void 0),(0,r.Cg)([(0,h.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0}},read:!1}})],$.prototype,"path",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1,write:!1}})],$.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,h.MZ)({type:["show","hide","hide-children"]})],$.prototype,"listMode",void 0),(0,r.Cg)([(0,h.MZ)({type:["KML"]})],$.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,h.MZ)({})],$.prototype,"resourceInfo",void 0),(0,r.Cg)([(0,h.MZ)({type:s.A.ofType(H),json:{write:{ignoreOrigin:!0}}})],$.prototype,"sublayers",void 0),(0,r.Cg)([(0,U.w)(["web-map","portal-item"],"sublayers",["visibleFolders"])],$.prototype,"readSublayersFromItemOrWebMap",null),(0,r.Cg)([(0,U.w)("service","sublayers",["sublayers"])],$.prototype,"readSublayers",null),(0,r.Cg)([(0,B.K)("sublayers")],$.prototype,"writeSublayers",null),(0,r.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],$.prototype,"type",void 0),(0,r.Cg)([(0,h.MZ)({json:{origins:{"web-map":{read:{source:"title"}}},write:{ignoreOrigin:!0}}})],$.prototype,"title",null),(0,r.Cg)([(0,h.MZ)(_.OZ)],$.prototype,"url",void 0),(0,r.Cg)([(0,h.MZ)({readOnly:!0})],$.prototype,"visibleSublayers",null),(0,r.Cg)([(0,h.MZ)({type:c.A})],$.prototype,"extent",void 0),(0,r.Cg)([(0,h.MZ)()],$.prototype,"fullExtent",null),$=(0,r.Cg)([(0,h.$K)("esri.layers.KMLLayer")],$);const V=$},8303(e,t,i){var r=i(32198),s=i(92602),n=i(70333),o=i(11254),l=i(60999),a=i(49186),u=i(36563),h=i(53966),c=i(97768),d=i(17676),p=i(84952),y=i(91429),f=i(77548),g=i(20655),m=i(80812),b=i(41318),_=i(10407),v=i(36005),S=i(43937);const w={credential:null,user:null};i.d(t,["A",0,e=>{const t=e;let M=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){super.destroy(),this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,i){if(t.itemId)return new m.default({id:t.itemId,portal:i?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:r}=await i.e(1204).then(i.bind(i,41204));return(0,d.Te)(t),await r({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)||h.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 i.e(1204).then(i.bind(i,41204)),r=new AbortController,s=(0,u.rE)(r);return this.addHandles(s,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:r.signal})}catch(e){throw(0,d.zf)(e)||h.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(!s.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:i,fullEdit:r},content:{updateItem:s}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",i),this._set("userHasFullEditingPrivileges",r),this._set("userHasUpdateItemPrivileges",s)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let i=this.portalItem;if(!e||!i||!i.loaded||i.sourceUrl)return this._fetchFallbackUserPrivileges(t);const r=!n.id?.findCredential(this.url),s=e===i.id;if(s&&i.portal.user)return this._getUserPrivileges(i,r);let o,l;if(s)o=i.portal.url;else try{o=await(0,f.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!o||!(0,p.b8)(o,i.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(n.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const a=!0,u=!1,h=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:h}};try{if(s?await i.reload():(i=new m.default({id:e,portal:{url:o}}),await i.load(t)),i.portal.user)return this._getUserPrivileges(i,r)}catch(e){(0,d.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:h}}}_getUserPrivileges(e,t){const i=(0,_.It)(e);return t&&(i.features.edit=!0),i}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?n.id?.findCredential(this.url):null;if(!t)return!0;const i=w.credential===t?w.user:await this._fetchEditingUser(e);return w.credential=t,w.user=i,null==i?.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const i=n.id?.findServerInfo(this.url??"");if(!i?.owningSystemUrl)return null;const r=`${i.owningSystemUrl}/sharing/rest`,s=g.A.getDefault();if(s&&s.loaded&&(0,p.S8)(s.restUrl)===(0,p.S8)(r))return s.user;const a=`${r}/community/self`,u=null!=e?e.signal:null,h=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return h.ok?b.A.fromJSON(h.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t?.portal,r=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return i&&r&&!(0,p.ut)(r.restUrl,i.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,r.Cg)([(0,y.MZ)({type:m.default})],M.prototype,"portalItem",null),(0,r.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],M.prototype,"readPortalItem",null),(0,r.Cg)([(0,S.K)("web-document","portalItem",{itemId:{type:String}})],M.prototype,"writePortalItem",null),(0,r.Cg)([(0,y.MZ)({clonable:!1})],M.prototype,"resourceReferences",void 0),(0,r.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasEditingPrivileges",void 0),(0,r.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasFullEditingPrivileges",void 0),(0,r.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],M.prototype,"userHasUpdateItemPrivileges",void 0),M=(0,r.Cg)([(0,y.$K)("esri.layers.mixins.PortalLayer")],M),M}])},95466(e,t,i){i.d(t,{A:()=>u});var r=i(49186),s=i(53966),n=i(12195),o=i(30524),l=i(98623),a=i(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],c(e))}static fromLayerJSON(e){return new u(e.fields??[],c(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const i=[];for(const e of this.fields){const t=e?.name,r=(0,o.GZ)(t);if(t&&r){const s=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(s,e),this._normalizedFieldsMap.set(r,e),i.push(`${s}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,o.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,o.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,o.te)(e)||(0,o.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,o.te)(e)||(0,o.Xz)(e)||e.nullable||void 0!==(0,o.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,o.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(s.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new r.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):h.has(t.type)?l.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,o.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,n.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const h=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function c(e){const t=new Map;if(!e.fields)return t;const i=!0===e.datesInUnknownTimezone,{timeInfo:r,editFieldsInfo:s}=e,n=(r?"startField"in r?r.startField:r.startTimeField:"")??"",u=(r?"endField"in r?r.endField:r.endTimeField:"")??"",c=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,a.ZS)(e.dateFieldsTimeReference):null,d=s?function(e){return"timeZone"in e}(s)?s.timeZone??c:s.dateFieldsTimeReference?(0,a.ZS)(s.dateFieldsTimeReference):c??"UTC":null,p=r?function(e){return"timeZone"in e}(r)?r.timeZone??c:r.timeReference?(0,a.ZS)(r.timeReference):c:null,y=new Map([[(0,o.NF)(s?.creationDateField??""),d],[(0,o.NF)(s?.editDateField??""),d],[(0,o.NF)(n),p],[(0,o.NF)(u),p]]);for(const{name:r,type:s}of e.fields)if(h.has(s))t.set(r,l.L);else if("date"!==s&&"esriFieldTypeDate"!==s)t.set(r,null);else if(i)t.set(r,l.L);else{const e=y.get((0,o.NF)(r??""))??c;t.set(r,e)}return t}},10407(e,t,i){i.d(t,{It:()=>p,LG:()=>o,OM:()=>u,Sm:()=>h,Y:()=>l,bK:()=>a,sQ:()=>c});var r=i(99917),s=i(16930),n=i(28735);function o(e,t){if(!l(e,t)){const i=e.typeKeywords;i?i.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,d.HOSTED_SERVICE)}function u(e,t){const i=e.typeKeywords;if(i){const e=i.indexOf(t);e>-1&&i.splice(e,1)}}function h(e,t,i){i?o(e,t):u(e,t)}async function c(e){const t=e.clone().normalize();let i;if(t.length>1)for(const e of t)i?e.width>i.width&&(i=e):i=e;else i=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,n.ci)(e);const i=s.A.WGS84;return await(0,r.initializeProjection)(t,i),(0,r.project)(e,i)}(i)}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:i,itemControl:r}=e,s=t.user?.privileges;let n=!s||s.includes("features:user:edit"),o=!!i&&!!s?.includes("features:user:fullEdit");const l="update"===r||"admin"===r;return l?o=n=!0:o&&(n=!0),{features:{edit:n,fullEdit:o},content:{updateItem:l}}}i.d(t,["mm",0,d])},96576(e,t,i){i.d(t,{A:()=>c});var r,s=i(32198),n=i(4718),o=i(91429),l=i(92438),a=i(63988),u=i(49849),h=i(93223);let c=r=class extends((0,a.h)(l.A)){constructor(e){super(e),this.description=null,this.label=null,this.symbol=null,this.type="simple"}async collectRequiredFields(e,t){await Promise.all([this.collectSymbolFields(e,t),this.collectVVRequiredFields(e,t)])}async collectSymbolFields(e,t){await Promise.all(this.symbols.map(i=>i.collectRequiredFields(e,t)))}getSymbol(e,t){return this.symbol}async getSymbolAsync(e,t){return this.symbol}get symbols(){return this.symbol?[this.symbol]:[]}get arcadeRequired(){return this.arcadeRequiredForVisualVariables}clone(){return new r({description:this.description,label:this.label,symbol:(0,n.o8)(this.symbol),visualVariables:(0,n.o8)(this.visualVariables),authoringInfo:(0,n.o8)(this.authoringInfo)})}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],c.prototype,"description",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],c.prototype,"label",void 0),(0,s.Cg)([(0,o.MZ)(u.Wp)],c.prototype,"symbol",void 0),(0,s.Cg)([(0,h.e)({simple:"simple"})],c.prototype,"type",void 0),c=r=(0,s.Cg)([(0,o.$K)("esri.renderers.SimpleRenderer")],c)},65494(e,t,i){i.d(t,{L:()=>a,r:()=>o});var r=i(90360),s=i(41214),n=i(59923);function o(e,t){return a(e,null,t)}const l=(0,r.C)({types:s.Hg});function a(e,t,i){return e?e&&(e.styleName||e.styleUrl)&&"uniqueValue"!==e.type?((0,n.Yc)(i,"warning","renderer",`Only UniqueValueRenderer can be referenced from a web style, but found '${e.type}'`,{definition:e}),null):l(e,t,i):null}},98205(e,t,i){i.d(t,{KZ:()=>l,eh:()=>o,gf:()=>n,of:()=>s});const r=Symbol("SizeVariableInstance");function s(e){return null!=e&&"object"==typeof e&&r in e}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function o(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function l(e,t){const i=t||o(e),r=e.valueUnit||"unknown";return"unknown"===i?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}i.d(t,["uY",0,r])},22671(e,t,i){i.d(t,{A:()=>b});var r,s=i(32198),n=i(52106),o=i(66552),l=i(25482),a=i(4718),u=i(91429),h=i(16930),c=i(60408),d=i(65864),p=i(50498),y=i(20437),f=i(36005),g=i(43937);const m=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let b=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,n.A)}writeGeometryType(e,t,i,r){if(e)return void m.write(e,t,i,r);const{features:s}=this;if(s)for(const e of s)if(null!=e?.geometry)return void m.write(e.geometry.type,t,i,r)}readQueryGeometry(e,t){if(!e)return null;const i=!!e.spatialReference,r=(0,d.rS)(e);return r&&!i&&t.spatialReference&&(r.spatialReference=h.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:i}=this;if(i)for(const e of i)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let i=0;i<t.features.length;i++){const r=t.features[i];if(r.geometry){const t=e?.[i];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,i],translate:[r,s]}=e,n=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((s-e)/i));for(let e=0,t=n.length;e<t;e++)o?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:i}=this;if(!i)return this;const{translate:[r,s],scale:[n,o]}=i;let l=null,a=null;if(this.hasZ&&null!=i?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=i;l=i=>i*t+e}if(this.hasM&&null!=i?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=i;a=i=>null==i?i:i*t+e}const u=this._getHydrationFunction(e,e=>e*n+r,e=>s-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,i){const r=h.A.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const n=e[t],o=i.fromJSON(n),l=n.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=r);const a=n.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],i=a[e],s=i?.spatialReference;null==t||s||(t.spatialReference=r)}s.push(o)}return s}_quantizePoints(e,t,i){let r,s;const n=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=i(l[1]);e===r&&o===s||(n.push([e-r,o-s]),r=e,s=o)}else r=t(l[0]),s=i(l[1]),n.push([r,s])}return n.length>0?n:null}_getQuantizationFunction(e,t,i){return"point"===e?e=>(e.x=t(e.x),e.y=i(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,c.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,n=r.length;e<n;e++){const n=r[e],o=this._quantizePoints(n,t,i);o&&s.push(o)}return s.length>0?((0,c.Bi)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,i);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,i,r,s){return"point"===e?e=>{e.x=t(e.x),e.y=i(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,c.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,r=n.length;e<r;e++){const r=n[e];for(let e=0,s=r.length;e<s;e++){const s=r[e];e>0?(o+=s[0],l+=s[1]):(o=s[0],l=s[1]),s[0]=t(o),s[1]=i(l)}}if(r&&s)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2]),i[3]=s(i[3])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=r(i[2])}}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,i=t.length;e<i;e++){const i=t[e];i[2]=s(i[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=i(e.ymin),e.xmax=t(e.xmax),e.ymax=i(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let o,l;for(let e=0,r=n.length;e<r;e++){const r=n[e];e>0?(o+=r[0],l+=r[1]):(o=r[0],l=r[1]),r[0]=t(o),r[1]=i(l)}if(r&&s)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2]),t[3]=s(t[3])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}else if(s)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=s(t[2])}}:null}};(0,s.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],b.prototype,"displayFieldName",void 0),(0,s.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"exceededTransferLimit",void 0),(0,s.Cg)([(0,u.MZ)({type:[n.A],json:{write:!0}})],b.prototype,"features",void 0),(0,s.Cg)([(0,f.w)("features")],b.prototype,"readFeatures",null),(0,s.Cg)([(0,u.MZ)({type:[y.A],json:{write:!0}})],b.prototype,"fields",void 0),(0,s.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],b.prototype,"geometryType",void 0),(0,s.Cg)([(0,g.K)("geometryType")],b.prototype,"writeGeometryType",null),(0,s.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasM",void 0),(0,s.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],b.prototype,"hasZ",void 0),(0,s.Cg)([(0,u.MZ)({types:p.yR,json:{write:!0}})],b.prototype,"queryGeometry",void 0),(0,s.Cg)([(0,f.w)("queryGeometry")],b.prototype,"readQueryGeometry",null),(0,s.Cg)([(0,u.MZ)({type:h.A,json:{write:!0}})],b.prototype,"spatialReference",void 0),(0,s.Cg)([(0,g.K)("spatialReference")],b.prototype,"writeSpatialReference",null),(0,s.Cg)([(0,u.MZ)({json:{write:!0}})],b.prototype,"transform",void 0),b=r=(0,s.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],b),b.prototype.toJSON.isDefaultToJSON=!0},93470(e,t,i){const r=[252,146,31,255],s={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},n={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r};i.d(t,["Cb",0,s,"HW",0,{type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},"JR",0,[153,153,153,255],"JZ",0,{type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},"WR",0,{type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},"b6",0,{type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null},"fT",0,r,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,n])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7982],{27982(e,a,r){r.r(a),r.d(a,{fromUrl:()=>d,isGaussianSplat3DTilesUrl:()=>h});var t=r(49186),n=r(84952),s=r(60694),l=r(92009),i=r(23154),o=r(2976),c=r(77548),u=r(7861);const y={FeatureLayer:!0,SceneLayer:!0,VideoLayer:!0};async function d(e){const{properties:a,url:o}=e,d={...a,url:o},p=await async function(e,a){let r=(0,s.qg)(e);if(null==r&&(r=await async function(e,a){const r=await(0,u.L)(e,{customParameters:a});let t=null,l=null;const i=r.type;if("Feature Layer"===i||"Table"===i?(t="FeatureServer",l=r.id??null):"indexedVector"===i?t="VectorTileServer":r.hasOwnProperty("mapName")?t="MapServer":r.hasOwnProperty("bandCount")&&r.hasOwnProperty("pixelSizeX")?t="ImageServer":r.hasOwnProperty("maxRecordCount")&&r.hasOwnProperty("allowGeometryUpdates")?t="FeatureServer":r.hasOwnProperty("streamUrls")?t="StreamServer":w(r)?(t="SceneServer",l=r.id):r.hasOwnProperty("layers")&&w(r.layers?.[0])&&(t="SceneServer"),!t)return null;const o=null!=l?(0,s.iz)(e):null;return{title:null!=o&&r.name||(0,n.e7)(e),serverType:t,sublayer:l,url:{path:null!=o?o.serviceUrl:(0,n.An)(e).path}}}(e,a)),null==r)throw new t.A("arcgis-layers:url-mismatch","The url '${url}' is not a valid arcgis resource",{url:e});const{serverType:o,sublayer:d}=r;let f;const m={FeatureServer:"FeatureLayer",KnowledgeGraphServer:"KnowledgeGraphLayer",StreamServer:"StreamLayer",VectorTileServer:"VectorTileLayer",VideoServer:"VideoLayer"},p="FeatureServer"===o,b="SceneServer"===o,S={parsedUrl:r,Constructor:null,layerId:p||b?d??void 0:void 0,layers:[],tables:[]};switch(o){case"MapServer":if(null!=d){const{type:r}=await(0,u.L)(e,{customParameters:a});switch(f="FeatureLayer",r){case"Annotation Layer":f="AnnotationFeatureLayer";break;case"Dimension Layer":f="DimensionFeatureLayer";break;case"Catalog Layer":f="CatalogLayer";break;case"Annotation SubLayer":case"Catalog Dynamic Group Layer":throw new t.A("arcgis-layers:unsupported",`fromUrl() does not support "${r}" type`)}}else f=await async function(e,a){return(await(0,u.L)(e,{customParameters:a})).tileInfo}(e,a)?"TileLayer":"MapImageLayer";break;case"ImageServer":{const r=await(0,u.L)(e,{customParameters:a}),{tileInfo:t,cacheType:n}=r;f=t?"LERC"!==t?.format?.toUpperCase()||n&&"elevation"!==n.toLowerCase()?"ImageryTileLayer":"ElevationLayer":"ImageryLayer";break}case"SceneServer":{const e=await(0,u.L)(r.url.path,{customParameters:a});if(f="SceneLayer",e){const a=e?.layers;if("Voxel"===e?.layerType)f="VoxelLayer";else if(a?.length){const e=a[0]?.layerType;null!=e&&null!=c.XX[e]&&(f=c.XX[e])}}break}case"3DTilesServer":f=await h(e,a)?"GaussianSplatLayer":"IntegratedMesh3DTilesLayer";break;case"FeatureServer":if(f="FeatureLayer",null!=d){const r=await(0,u.L)(e,{customParameters:a});S.sourceJSON=r,S.preferredUrl=(0,c.$x)();const n=(0,i.Jo)(r.type);if(!n)throw new t.A("arcgis-layers:unsupported",`fromUrl() does not support "${r.type}" type`);f=n}break;default:f=m[o]}if(y[f]&&null==d){const r=await async function(e,a,r){let t,n,s,o,y;switch(a){case"FeatureServer":{const a=await(0,i.QM)(e,{customParameters:r});s=(0,c.$x)(e,{preferredHost:a.preferredHost});const n=!!a.layersJSON,l=a.layersJSON||a.serviceJSON;o=n?l?.layers:[],y=n?l?.tables:[],t=l;break}case"SceneServer":{const a=await async function(e,a){const r=await(0,u.L)(e,{customParameters:a}),t=r.layers?.[0];if(!t)return{serviceInfo:r};try{const{serverUrl:t}=await(0,l.L)(e),n=await(0,u.L)(t,{customParameters:a}).catch(()=>null);return n&&(r.tables=n.tables),{serviceInfo:r,tableServerUrl:t}}catch{return{serviceInfo:r}}}(e,r);t=a.serviceInfo,n=a.tableServerUrl;break}default:t=await(0,u.L)(e,{customParameters:r})}return{preferredUrl:s,layers:t?.layers?.map(e=>({id:e.id})).reverse()||[],tables:t?.tables?.map(e=>({serverUrl:n,id:e.id})).reverse()||[],layerInfos:o,tableInfos:y}}(e,o,a),n=r.layers.length+r.tables.length;if(p){if(0===n)throw new t.A("arcgis-layers:no-data",`The feature service '${e}' does not have any supported layers or tables`);S.preferredUrl=r.preferredUrl,S.layerInfos=r.layerInfos,S.tableInfos=r.tableInfos}if(1!==n)S.layers=r.layers,S.tables=r.tables,p&&r.layerInfos?.length&&(S.sublayerConstructorProvider=await async function(e){if(!e.length)return;const a=new Set,r=[];for(const{type:t}of e)a.has(t)||(a.add(t),r.push(L((0,i.Jo)(t))));const t=await Promise.all(r),n=new Map;return Array.from(a).forEach((e,a)=>{n.set(e,t[a])}),e=>n.get(e.type)}(r.layerInfos));else if(p||b){const e=r.layerInfos?.[0]??r.tableInfos?.[0];S.layerId=r.layers[0]?.id??r.tables[0]?.id,S.sourceJSON=e,p&&(f=(0,i.Jo)(e?.type))}}return S.Constructor=await L(f),S}(o,a?.customParameters),{Constructor:b,layerId:S,sourceJSON:v,parsedUrl:P,layers:g,tables:I}=p;if(g.length+I.length===0)return null!=S&&(d.layerId=S),null!=v&&(d.sourceJSON=v),new b(d);const T=new(0,(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9866),r.e(6569)]).then(r.bind(r,85989))).default)({title:P.title});return await async function(e,a,r){const t=a.sublayerConstructorProvider;for(const{id:n,serverUrl:s}of a.layers){const l=f(a.layerInfos,n),i=m(s,n,l,(l&&t?.(l))??a.Constructor,r);e.add(i)}if(a.tables.length){const t=await L("FeatureLayer");a.tables.forEach(({id:n,serverUrl:s})=>{const l=m(s,n,f(a.tableInfos,n),t,r);e.tables.add(l)})}}(T,p,d),T}function f(e,a){return e?e.find(({id:e})=>e===a):null}function m(e,a,r,t,n){const s={...n,layerId:a};return null!=e&&(s.url=e),null!=r&&(s.sourceJSON=r),"sublayerTitleMode"in t.prototype&&(s.sublayerTitleMode="service-name"),new t(s)}function w(e){return null!=e&&e.hasOwnProperty("store")&&e.hasOwnProperty("id")&&"number"==typeof e.id}async function L(e){return(0,o.U[e])()}async function h(e,a){const r=await(0,u.L)(e,{customParameters:a}),t=r.extensions?.["3DTILES_content_gltf"];return!0===t?.extensionsRequired?.includes("KHR_gaussian_splatting")}},92009(e,a,r){r.d(a,{L:()=>u});var t=r(70333),n=r(11254),s=r(49186),l=r(17676),i=r(60694),o=r(20655),c=r(80812);async function u(e,a){const r=(0,i.qg)(e);if(!r)throw new s.A("invalid-url","Invalid scene service url");const u={...a,sceneServerUrl:r.url.path,layerId:r.sublayer??void 0};if(u.sceneLayerItem??=await async function(e){const a=(await y(e)).serviceItemId;if(!a)return null;const r=new c.default({id:a,apiKey:e.apiKey}),s=await async function(e){const a=t.id?.findServerInfo(e.sceneServerUrl);if(a?.owningSystemUrl)return a.owningSystemUrl;const r=e.sceneServerUrl.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{const a=(await(0,n.A)(r,{query:{f:"json"},responseType:"json",signal:e.signal})).data.owningSystemUrl;if(a)return a}catch(e){(0,l.QP)(e)}return null}(e);null!=s&&(r.portal=new o.A({url:s}));try{return await r.load({signal:e.signal})}catch(e){return(0,l.QP)(e),null}}(u),null==u.sceneLayerItem)return d(u.sceneServerUrl.replace("/SceneServer","/FeatureServer"),u);const f=await async function({sceneLayerItem:e,signal:a}){if(!e)return null;try{const r=(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:a})).find(e=>"Feature Service"===e.type)||null;if(!r)return null;const t=new c.default({portal:r.portal,id:r.id});return await t.load(),t}catch(e){return(0,l.QP)(e),null}}(u);if(!f?.url)throw new s.A("related-service-not-found","Could not find feature service through portal item relationship");u.featureServiceItem=f;const m=await d(f.url,u);return m.portalItem=f,m}async function y(e){if(e.rootDocument)return e.rootDocument;const a={query:{f:"json",...e.customParameters,token:e.apiKey},responseType:"json",signal:e.signal};try{const r=await(0,n.A)(e.sceneServerUrl,a);e.rootDocument=r.data}catch{e.rootDocument={}}return e.rootDocument}async function d(e,a){const r=(0,i.qg)(e);if(!r)throw new s.A("invalid-feature-service-url","Invalid feature service url");const t=r.url.path,l=a.layerId;if(null==l)return{serverUrl:t};const o=y(a),c=a.featureServiceItem?await a.featureServiceItem.fetchData("json"):null,u=(c?.layers?.[0]||c?.tables?.[0])?.customParameters,d=e=>{const r={query:{f:"json",...u},responseType:"json",authMode:e,signal:a.signal};return(0,n.A)(t,r)},f=d("anonymous").catch(()=>d("no-prompt")),[m,w]=await Promise.all([f,o]),L=w?.layers,h=m.data&&m.data.layers;if(!Array.isArray(h))throw new Error("expected layers array");if(Array.isArray(L)){for(let e=0;e<Math.min(L.length,h.length);e++)if(L[e].id===l)return{serverUrl:t,layerId:h[e].id}}else if(null!=l&&l<h.length)return{serverUrl:t,layerId:h[l].id};throw new Error("could not find matching associated sublayer")}},23154(e,a,r){r.d(a,{A6:()=>i,Aq:()=>w,Jo:()=>m,QM:()=>l});var t=r(77548),n=r(7861);const s=new Set(["Annotation Layer","Catalog Layer","Dimension Layer","Feature Layer","Oriented Imagery Layer"]);async function l(e,a){const{serviceJSON:r,layersJSON:t,...n}=await i(e,a);u(r);const s={serviceJSON:r,...n};return t&&(u(t),s.layersJSON=t),s}async function i(e,a){const{loadContext:r,...s}=a||{},l=r?await r.fetchServiceMetadata(e,s):await(0,n.L)(e,s),i=(0,t.G$)();f(l);const o={serviceJSON:l,preferredHost:i};if((l.currentVersion??0)<10.5)return o;const c=`${(0,t.$x)()??e}/layers`,u=r?await r.fetchServiceMetadata(c,s):await(0,n.L)(c,s);return f(u),o.layersJSON={layers:u.layers,tables:u.tables},o}function o(e){return s.has(e.type)}function c(e){return"Table"===e.type}function u(e){e.layers=e.layers?.filter(o),e.tables=e.tables?.filter(c)}function y(e){e.type||="Feature Layer"}function d(e){e.type||="Table"}function f(e){e.layers?.forEach(y),e.tables?.forEach(d)}function m(e){if(!e)return"FeatureLayer";switch(e){case"Feature Layer":case"Table":return"FeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"DimensionFeatureLayer";case"Annotation Layer":return"AnnotationFeatureLayer"}return null}function w(e,a){if(!e)return a?"Table":"ArcGISFeatureLayer";switch(e){case"Annotation Layer":return"ArcGISAnnotationLayer";case"Catalog Layer":return"CatalogLayer";case"Dimension Layer":return"ArcGISDimensionLayer";case"Feature Layer":return"ArcGISFeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Parcel Layer":return"ParcelLayer";case"Table":return"Table";case"Topology Layer":return"TopologyLayer";case"Trace Network Layer":return"TraceNetworkLayer";case"Utility Network Layer":return"UtilityNetworkLayer";default:return null}}},2976(e,a,r){const t={AnnotationFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(2889),r.e(4676),r.e(4674),r.e(2718),r.e(1954)]).then(r.bind(r,20737))).default,BingMapsLayer:async()=>(await Promise.all([r.e(8278),r.e(7865),r.e(6554),r.e(6684)]).then(r.bind(r,17029))).default,BuildingSceneLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(7005),r.e(9918),r.e(1427),r.e(2754),r.e(7120)]).then(r.bind(r,82411))).default,CSVLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(3813)]).then(r.bind(r,68695))).default,CatalogLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(9789),r.e(4674),r.e(893),r.e(2718),r.e(7013),r.e(7067),r.e(7925)]).then(r.bind(r,83508))).default,DimensionFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(2889),r.e(4676),r.e(4674),r.e(2718),r.e(3376)]).then(r.bind(r,25077))).default,DimensionLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(6619)]).then(r.bind(r,71493))).default,ElevationLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(8732),r.e(3885)]).then(r.bind(r,38732))).default,FeatureLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(3075)]).then(r.bind(r,53781))).default,GaussianSplatLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(765),r.e(6475)]).then(r.bind(r,36475))).default,GeoJSONLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(903)]).then(r.bind(r,15481))).default,GeoRSSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(2363)]).then(r.bind(r,63201))).default,GroupLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9866),r.e(6569)]).then(r.bind(r,85989))).default,ImageryLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(893),r.e(5130),r.e(3690),r.e(7772),r.e(8768)]).then(r.bind(r,87772))).default,ImageryTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(5130),r.e(373),r.e(3690),r.e(9235),r.e(3500),r.e(1003),r.e(2806),r.e(7870)]).then(r.bind(r,90124))).default,IntegratedMesh3DTilesLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(765),r.e(8325),r.e(9544)]).then(r.bind(r,61528))).default,IntegratedMeshLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(9953),r.e(765),r.e(1427),r.e(8325),r.e(7464)]).then(r.bind(r,74660))).default,KMLLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(1214),r.e(5051),r.e(4473),r.e(7339)]).then(r.bind(r,162))).default,KnowledgeGraphLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(9696),r.e(359),r.e(6390),r.e(3902),r.e(4720),r.e(4934),r.e(8692)]).then(r.bind(r,28692))).default,LineOfSightLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(3730),r.e(9695)]).then(r.bind(r,49695))).default,LinkChartLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(9696),r.e(359),r.e(6390),r.e(3902),r.e(4720),r.e(4934),r.e(3309)]).then(r.bind(r,93309))).default,MapImageLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(4674),r.e(893),r.e(8470),r.e(1474)]).then(r.bind(r,7656))).default,MapNotesLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(4720),r.e(2469)]).then(r.bind(r,96299))).default,MediaLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(6963),r.e(182)]).then(r.bind(r,90182))).default,OGCFeatureLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9918),r.e(5977)]).then(r.bind(r,65977))).default,OpenStreetMapLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(919),r.e(349)]).then(r.bind(r,40349))).default,OrientedImageryLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(9789),r.e(4674),r.e(2718),r.e(3781),r.e(6854)]).then(r.bind(r,16852))).default,ParquetLayer:async()=>(await Promise.all([r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(3819),r.e(7320),r.e(8419)]).then(r.bind(r,99680))).default,PointCloudLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2869),r.e(7984),r.e(7515)]).then(r.bind(r,77885))).default,RouteLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(564),r.e(2869),r.e(3910),r.e(1214),r.e(5051),r.e(4473),r.e(1099)]).then(r.bind(r,39622))).default,SceneLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2292),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(7005),r.e(9918),r.e(1427),r.e(2754),r.e(1086)]).then(r.bind(r,2e4))).default,StreamLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(8593)]).then(r.bind(r,79457))).default,SubtypeGroupLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(2889),r.e(4676),r.e(9789),r.e(4674),r.e(2718),r.e(4451)]).then(r.bind(r,97483))).default,TileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(4674),r.e(893),r.e(8470),r.e(6200)]).then(r.bind(r,71756))).default,UnknownLayer:async()=>(await Promise.all([r.e(9917),r.e(3928)]).then(r.bind(r,146))).default,UnsupportedLayer:async()=>(await Promise.all([r.e(9917),r.e(2819)]).then(r.bind(r,45165))).default,VectorTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(9953),r.e(6554),r.e(7886),r.e(7821)]).then(r.bind(r,50638))).default,VideoLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(3910),r.e(4674),r.e(6963),r.e(449)]).then(r.bind(r,86875))).default,ViewshedLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(3730),r.e(6650)]).then(r.bind(r,96650))).default,VoxelLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(2869),r.e(4443)]).then(r.bind(r,21005))).default,WCSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(5130),r.e(373),r.e(3690),r.e(9235),r.e(3500),r.e(2806),r.e(2061)]).then(r.bind(r,20521))).default,WFSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(9953),r.e(6554),r.e(564),r.e(2869),r.e(3910),r.e(7552),r.e(1214),r.e(5051),r.e(2889),r.e(4473),r.e(4676),r.e(1017),r.e(5411)]).then(r.bind(r,21901))).default,WMSLayer:async()=>(await Promise.all([r.e(5620),r.e(9917),r.e(8278),r.e(7865),r.e(2292),r.e(6554),r.e(2869),r.e(3910),r.e(417)]).then(r.bind(r,51904))).default,WMTSLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(919),r.e(309)]).then(r.bind(r,20309))).default,WebTileLayer:async()=>(await Promise.all([r.e(9917),r.e(8278),r.e(7865),r.e(6554),r.e(919)]).then(r.bind(r,47314))).default};r.d(a,["U",0,t])},7861(e,a,r){r.d(a,{L:()=>n});var t=r(11254);async function n(e,a){return(await(0,t.A)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}})).data}}}]);