@arcgis/core 5.2.0-next.75 → 5.2.0-next.76

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 (355) hide show
  1. package/arcgisGlobal.d.ts +1 -0
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/013c9cc198736a72f7f2.js +1 -0
  4. package/assets/esri/core/workers/chunks/0194244a3f437ad74045.js +1 -0
  5. package/assets/esri/core/workers/chunks/{4dcd4a052b40047a9230.js → 08cac27df6c216ae1995.js} +1 -1
  6. package/assets/esri/core/workers/chunks/08ec5461af74356e7570.js +1 -0
  7. package/assets/esri/core/workers/chunks/0909816f13d25cacf250.js +1 -0
  8. package/assets/esri/core/workers/chunks/0933203eee15ea50e123.js +1 -0
  9. package/assets/esri/core/workers/chunks/{5e1d84e97de0e662aaa9.js → 1142f8e9c80207d6bdae.js} +1 -1
  10. package/assets/esri/core/workers/chunks/16929524565a677db4dc.js +1 -0
  11. package/assets/esri/core/workers/chunks/16a04fc184728d66e6e1.js +1 -0
  12. package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +1 -0
  13. package/assets/esri/core/workers/chunks/1a467da4c0b33f655199.js +1 -0
  14. package/assets/esri/core/workers/chunks/1ef28d4457c8c943ad19.js +1 -0
  15. package/assets/esri/core/workers/chunks/{2b93888e61ca638490cf.js → 20b54e7872d967f3be32.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{5f31b375971ab067121e.js → 21f763694a41968ac21a.js} +1 -1
  17. package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +1 -0
  18. package/assets/esri/core/workers/chunks/257f1e8316877f611e11.js +1 -0
  19. package/assets/esri/core/workers/chunks/270ed3070d118edb3f37.js +1 -0
  20. package/assets/esri/core/workers/chunks/2e7c830b5b1fe406169f.js +1 -0
  21. package/assets/esri/core/workers/chunks/315031323e11a18154e3.js +1 -0
  22. package/assets/esri/core/workers/chunks/393f79843d5a78c1cc37.js +1 -0
  23. package/assets/esri/core/workers/chunks/3b5c5356353f1a2303a0.js +1 -0
  24. package/assets/esri/core/workers/chunks/{99e3aa4832ed87474ab4.js → 44857a76be2c0ac65bb9.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{3e2b4e734aa20a308f3e.js → 46e56fac44e0fd26ba1d.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{4491dc227c28e2ab4f8e.js → 484b251fbcbffcb58323.js} +1 -1
  27. package/assets/esri/core/workers/chunks/48e2d0bfb62e1f4f2ad9.js +1 -0
  28. package/assets/esri/core/workers/chunks/4945d6b0ca1812864185.js +1 -0
  29. package/assets/esri/core/workers/chunks/{7f2f2a92dce3f68e579b.js → 4b54444c04fbd6f42c18.js} +1 -1
  30. package/assets/esri/core/workers/chunks/4c82f5f23004f905a18f.js +1 -0
  31. package/assets/esri/core/workers/chunks/4f8ce5887102971bfa34.js +2 -0
  32. package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js → 532e3a59888e4cc13bd3.js} +2 -2
  33. package/assets/esri/core/workers/chunks/53eed0941a39b56cc034.js +1 -0
  34. package/assets/esri/core/workers/chunks/56e6d8c4a9ed893ce951.js +1 -0
  35. package/assets/esri/core/workers/chunks/57159bcac86d660dcceb.js +1 -0
  36. package/assets/esri/core/workers/chunks/58026fc30d8a0ded4102.js +1 -0
  37. package/assets/esri/core/workers/chunks/59598023c0aea62a6297.js +1 -0
  38. package/assets/esri/core/workers/chunks/5bf2ce280ea35ea4c96b.js +1 -0
  39. package/assets/esri/core/workers/chunks/5fd2aa0be03dfb494efa.js +1 -0
  40. package/assets/esri/core/workers/chunks/619aa1381296172ff47b.js +1 -0
  41. package/assets/esri/core/workers/chunks/62f37d1075390a177ae9.js +1 -0
  42. package/assets/esri/core/workers/chunks/65d1e338612e59063eba.js +1 -0
  43. package/assets/esri/core/workers/chunks/680dd7b7638465eb33de.js +1 -0
  44. package/assets/esri/core/workers/chunks/6c740c411b085d2d08c4.js +1 -0
  45. package/assets/esri/core/workers/chunks/{b14961a9f1f40028f141.js → 6c982779d6d47ec99899.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{0eb35e09765fd74eb698.js → 6e45ecf359bce3417f5d.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{a52c88e2d837b525ff6c.js → 71ee7c51d2c60a180f1e.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js → 755b2d883fba90c4e688.js} +2 -2
  49. package/assets/esri/core/workers/chunks/{6b783f440c4a5d36e879.js → 75fc0b1db8e2e3fd2458.js} +1 -1
  50. package/assets/esri/core/workers/chunks/79429c8be5da85713200.js +1 -0
  51. package/assets/esri/core/workers/chunks/7b470d6ad182548b9e95.js +1 -0
  52. package/assets/esri/core/workers/chunks/7d8eb4dbea1916320f74.js +1 -0
  53. package/assets/esri/core/workers/chunks/83e54166ba634ec2bd89.js +1717 -0
  54. package/assets/esri/core/workers/chunks/87eaed6fdabd482d142e.js +1 -0
  55. package/assets/esri/core/workers/chunks/88d5541679e77117bf03.js +1 -0
  56. package/assets/esri/core/workers/chunks/894ebc64b698e5d7604b.js +1 -0
  57. package/assets/esri/core/workers/chunks/{67f54586156d1ab80257.js → 8b980c6b92cc4ea68ede.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{4046bd65d7d0677f4600.js → 8d9a7fa14489897780d3.js} +1 -1
  59. package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +1 -0
  60. package/assets/esri/core/workers/chunks/9199300ffd225a1bbef1.js +1 -0
  61. package/assets/esri/core/workers/chunks/{5ba3a30b7cbfa9e3aa62.js → 94b9a61b4dbb83425a78.js} +1 -1
  62. package/assets/esri/core/workers/chunks/98613fded899c59f34a4.js +1 -0
  63. package/assets/esri/core/workers/chunks/{6743d726e45e7b660505.js → 9c3e6325dc60bcaf44d7.js} +1 -1
  64. package/assets/esri/core/workers/chunks/9e1392a0c608a13ab036.js +1 -0
  65. package/assets/esri/core/workers/chunks/{7a24cc0f3b4eff2bdb8e.js → 9e2e4d197a7a57c2a691.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js → a014c17fc210620da738.js} +2 -2
  67. package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js → a19be304219808268039.js} +2 -2
  68. package/assets/esri/core/workers/chunks/{53d165b4f30fd64e5d8a.js → a4e4fa4dd1a122bbf7cd.js} +1 -1
  69. package/assets/esri/core/workers/chunks/a5240c8a47842138f31f.js +1 -0
  70. package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +1 -0
  71. package/assets/esri/core/workers/chunks/a7727a2377470d586ff9.js +1 -0
  72. package/assets/esri/core/workers/chunks/a91c1d782346a9c7e1ef.js +1 -0
  73. package/assets/esri/core/workers/chunks/{6cd6d0cfd313f0475d98.js → ac59218847e5ef4c4160.js} +1 -1
  74. package/assets/esri/core/workers/chunks/ac87be2210f868524996.js +1 -0
  75. package/assets/esri/core/workers/chunks/aed16c3e26652960ad3f.js +1 -0
  76. package/assets/esri/core/workers/chunks/{43713bc6f7eea07259d0.js → b084829a3fd709dc47a8.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{05f6887805d92da03122.js → b24fc7eeda580ef020d2.js} +1 -1
  78. package/assets/esri/core/workers/chunks/b37a20c5c4a4686257d4.js +1 -0
  79. package/assets/esri/core/workers/chunks/{43a65cab888d43954564.js → b4abf82b8ac974a55ae1.js} +1 -1
  80. package/assets/esri/core/workers/chunks/b950ddafba8125c84a5b.js +1 -0
  81. package/assets/esri/core/workers/chunks/bab5f4b2424b487b87ac.js +1 -0
  82. package/assets/esri/core/workers/chunks/{0d3b2d9a19383bb63f0a.js → bad2c7219e95750906e1.js} +1 -1
  83. package/assets/esri/core/workers/chunks/bbc6b270d2032189107c.js +1 -0
  84. package/assets/esri/core/workers/chunks/bc6e488f5fbd50f9f3d0.js +1 -0
  85. package/assets/esri/core/workers/chunks/bd7d87d175ba933ab2ce.js +1 -0
  86. package/assets/esri/core/workers/chunks/{1c49c9472167a2e0c923.js → c17dda6fadb8bfad0d51.js} +1 -1
  87. package/assets/esri/core/workers/chunks/c1e5ffe9a251be5a0744.js +1 -0
  88. package/assets/esri/core/workers/chunks/ca6652c6304ad0e37e8f.js +1 -0
  89. package/assets/esri/core/workers/chunks/{762be5d3e6aeaea33f74.js → cef02ed3942c010da2e8.js} +1 -1
  90. package/assets/esri/core/workers/chunks/d520d407043bc52e5410.js +1 -0
  91. package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +1 -0
  92. package/assets/esri/core/workers/chunks/dbdd96e558936955acdb.js +1 -0
  93. package/assets/esri/core/workers/chunks/de927b1460bc384f5b87.js +1 -0
  94. package/assets/esri/core/workers/chunks/de9a1cce70581920f248.js +1 -0
  95. package/assets/esri/core/workers/chunks/dff932682d6386a861ce.js +1 -0
  96. package/assets/esri/core/workers/chunks/{2c31648a4b95275516ee.js → e227eb44cd139fe2bc1b.js} +1 -1
  97. package/assets/esri/core/workers/chunks/e4e5a171a4874c5af4a4.js +1 -0
  98. package/assets/esri/core/workers/chunks/{ddb92c815d17c67a45e6.js → e5d114f2b57d2b8e2f1c.js} +1 -1
  99. package/assets/esri/core/workers/chunks/e89e6eea380ca2c13b64.js +1 -0
  100. package/assets/esri/core/workers/chunks/e9d352d030dcad1619a6.js +1 -0
  101. package/assets/esri/core/workers/chunks/{3de6e54b6ed0feae1940.js → eae51e827f629ab37207.js} +1 -1
  102. package/assets/esri/core/workers/chunks/eee1fd629619021ea279.js +1 -0
  103. package/assets/esri/core/workers/chunks/{b6cd165d0e58598f28a5.js → ef47a5da641cb0d33fdf.js} +1 -1
  104. package/assets/esri/core/workers/chunks/f35e749bb5be39880cbe.js +1 -0
  105. package/assets/esri/core/workers/chunks/{3dff36f6de181d9dcdc5.js → f40e4433e7608d0962a6.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{d1c7c877edc6948f3801.js → f4aa6e90200f61e623e5.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{36ec5b84e551ab08b24a.js → ff578f0ca68d652fece5.js} +1 -1
  108. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  109. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  110. package/assets/esri/libs/text/pkg/bundle_bg.wasm +0 -0
  111. package/chunks/HeatmapDensity.glsl.js +5 -5
  112. package/chunks/bundle2.js +1 -1
  113. package/chunks/lyr3DMain.js +1 -1
  114. package/chunks/lyr3DWorker.js +1 -1
  115. package/config.js +1 -1
  116. package/geometry/geometryEngine.js +1 -1
  117. package/geometry/support/centroid.js +1 -1
  118. package/geometry/support/extentUtils.js +1 -1
  119. package/geometry/support/frustum.js +1 -1
  120. package/kernel.js +1 -1
  121. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  122. package/layers/graphics/data/QueryEngineResult.js +1 -1
  123. package/layers/graphics/data/projectionSupport.js +1 -1
  124. package/layers/graphics/sources/support/sourceUtils.js +1 -1
  125. package/package.json +2 -2
  126. package/support/revision.js +1 -1
  127. package/symbols/cim/animationUtils.js +1 -1
  128. package/symbols/cim/cimAnalyzer.js +1 -1
  129. package/symbols/cim/effects/EffectCircularSector.js +1 -1
  130. package/views/2d/engine/BitmapTile.js +1 -1
  131. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  132. package/views/2d/engine/flow/styles/Particles.js +1 -1
  133. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  134. package/views/2d/engine/imagery/RasterTile.js +1 -1
  135. package/views/2d/engine/imagery/RasterVFTile.js +1 -1
  136. package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
  137. package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
  138. package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
  139. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  140. package/views/2d/engine/vectorTiles/VectorTileRendererHelper3D.js +1 -1
  141. package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
  142. package/views/2d/engine/webgl/Painter.js +1 -1
  143. package/views/2d/engine/webgl/RenderingDevice.js +1 -1
  144. package/views/2d/engine/webgl/TileContainer.js +1 -1
  145. package/views/2d/engine/webgl/TiledDisplayObject.js +1 -1
  146. package/views/2d/engine/webgl/animations/infos.js +1 -1
  147. package/views/2d/engine/webgl/animations/instructions.js +1 -1
  148. package/views/2d/engine/webgl/normalizedTileUtils.js +1 -1
  149. package/views/2d/engine/webgl/shaderGraph/GraphShaderModule.js +1 -1
  150. package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
  151. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  152. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +1 -1
  153. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedLineShader.js +1 -1
  154. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
  155. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechnique.js +1 -1
  156. package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
  157. package/views/2d/engine/webgl/shaderGraph/techniques/clip/ClipTechnique.js +1 -1
  158. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPointShader.js +1 -1
  159. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
  160. package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
  161. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  162. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
  163. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
  164. package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
  165. package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
  166. package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
  167. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
  168. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
  169. package/views/2d/engine/webgl/shaderGraph/techniques/flow/FlowTechnique.js +1 -1
  170. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
  171. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
  172. package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
  173. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
  174. package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
  175. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  176. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
  177. package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
  178. package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartShader.js +1 -1
  179. package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
  180. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
  181. package/views/2d/engine/webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js +1 -1
  182. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  183. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BitmapShader.js +1 -1
  184. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlendShader.js +1 -1
  185. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexFillShader.js +1 -1
  186. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/FillShader.js +1 -1
  187. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientFillShader.js +1 -1
  188. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientStrokeShader.js +1 -1
  189. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
  190. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  191. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
  192. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/PatternFillShader.js +1 -1
  193. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TexturedLineShader.js +1 -1
  194. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/Tile.js +1 -1
  195. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileDebugInfoShader.js +1 -1
  196. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileInfo.js +1 -1
  197. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileStencilShader.js +1 -1
  198. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ViewInfo.js +1 -1
  199. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  200. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/BaseRasterColorizerShader.js +1 -1
  201. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/MagDirShader.js +1 -1
  202. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/ScalarShader.js +1 -1
  203. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderBackground.js +1 -1
  204. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +1 -1
  205. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderFill.js +1 -1
  206. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderIcon.js +1 -1
  207. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderLine.js +1 -1
  208. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderOutline.js +1 -1
  209. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderText.js +1 -1
  210. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  211. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
  212. package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileDebugInfoTechnique.js +1 -1
  213. package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileStencilTechnique.js +1 -1
  214. package/views/2d/engine/webgl/shaderGraph/techniques/utility/DebugOverlayTechnique.js +1 -1
  215. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  216. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +1 -1
  217. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
  218. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
  219. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
  220. package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
  221. package/views/2d/engine/webgl/shaderGraph/types.js +2 -0
  222. package/views/2d/engine/webgl/shaderGraph/uniformBufferUtils.js +2 -0
  223. package/views/2d/layers/MediaLayerView2D.js +1 -1
  224. package/views/2d/layers/TileLayerView2D.js +1 -1
  225. package/views/2d/layers/support/DisplayGL.js +1 -1
  226. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  227. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  228. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  229. package/views/3d/layers/MediaLayerView3D.js +1 -1
  230. package/views/3d/layers/VectorTileLayerView3D.js +1 -1
  231. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  232. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  233. package/views/3d/support/GaussianSplatSortWorker.js +1 -1
  234. package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
  235. package/views/3d/support/flow/geometryUtils.js +1 -1
  236. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  237. package/views/3d/support/renderInfoUtils/line.js +1 -1
  238. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  239. package/views/3d/terrain/DrapedZ.js +2 -0
  240. package/views/3d/terrain/OverlayRenderer.js +1 -1
  241. package/views/3d/terrain/TileCompositor.js +1 -1
  242. package/views/3d/webgl/RenderCamera.js +1 -1
  243. package/views/3d/webgl/RenderNode.js +1 -1
  244. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +2 -2
  245. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +2 -2
  246. package/views/3d/webgl-engine/lib/PositionReader.js +1 -1
  247. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
  248. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFields.js +1 -1
  249. package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
  250. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  251. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  252. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  253. package/views/3d/webgl-engine/shaders/HeatmapDensity.glsl.js +1 -1
  254. package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
  255. package/views/VideoView.js +1 -1
  256. package/views/webgl/RenderingContext.js +1 -1
  257. package/views/webgl/UniformBufferLayout.js +1 -1
  258. package/views/webgl/UniformBufferObject.js +1 -1
  259. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +20 -6
  260. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  261. package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +100 -0
  262. package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.js +2 -0
  263. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  264. package/widgets/BatchAttributeForm/inputs/support/multipleChoiceInputUtils.js +1 -1
  265. package/widgets/BatchAttributeForm.js +1 -1
  266. package/widgets/OrientedImageryViewer.js +1 -1
  267. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  268. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  269. package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
  270. package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +0 -1
  271. package/assets/esri/core/workers/chunks/0823961e5d0bdedbf8cf.js +0 -2
  272. package/assets/esri/core/workers/chunks/0aedeb837399d3f92e4a.js +0 -1
  273. package/assets/esri/core/workers/chunks/0bf644f93c180a2bc2f8.js +0 -705
  274. package/assets/esri/core/workers/chunks/0daaa89de339e8ea4b81.js +0 -1
  275. package/assets/esri/core/workers/chunks/1119a33245138e7b3914.js +0 -1
  276. package/assets/esri/core/workers/chunks/12234a63d3fa4bc25e7e.js +0 -1
  277. package/assets/esri/core/workers/chunks/1cf8fb704c48ac3d3b15.js +0 -1
  278. package/assets/esri/core/workers/chunks/2435ef7d11f8dbb920b7.js +0 -256
  279. package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +0 -1
  280. package/assets/esri/core/workers/chunks/27f574acf52f2c8bc2c9.js +0 -1
  281. package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +0 -1
  282. package/assets/esri/core/workers/chunks/2ea3ca68cfa4d34e8f3b.js +0 -1
  283. package/assets/esri/core/workers/chunks/2f81047790c4890ae625.js +0 -1
  284. package/assets/esri/core/workers/chunks/3235e14fedb19dd94807.js +0 -1
  285. package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +0 -1
  286. package/assets/esri/core/workers/chunks/3bc2943035391b44d4cf.js +0 -29
  287. package/assets/esri/core/workers/chunks/3c32471785bc8570e41c.js +0 -1
  288. package/assets/esri/core/workers/chunks/4295822fa6ef743c76f1.js +0 -1
  289. package/assets/esri/core/workers/chunks/42d5ed44111bea77ec71.js +0 -1462
  290. package/assets/esri/core/workers/chunks/46873badbd6ce8ff4e1e.js +0 -1
  291. package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.js +0 -1
  292. package/assets/esri/core/workers/chunks/4b5bd0c9a55ea2998601.js +0 -1
  293. package/assets/esri/core/workers/chunks/4c2794687aea172775a0.js +0 -1
  294. package/assets/esri/core/workers/chunks/4d9bde9f66817a92ceca.js +0 -1
  295. package/assets/esri/core/workers/chunks/4fe2cca405180af23364.js +0 -1
  296. package/assets/esri/core/workers/chunks/519af918050b47f93516.js +0 -1
  297. package/assets/esri/core/workers/chunks/5600fc334d20c4f0c83d.js +0 -1
  298. package/assets/esri/core/workers/chunks/5627f562dea8bae2f346.js +0 -1
  299. package/assets/esri/core/workers/chunks/5bf4ab72b9634b06cc5d.js +0 -1
  300. package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +0 -1
  301. package/assets/esri/core/workers/chunks/6f58cb9dffe8016397a2.js +0 -1
  302. package/assets/esri/core/workers/chunks/6fc3553c52af6ace926d.js +0 -1
  303. package/assets/esri/core/workers/chunks/7aaa051b51a8e34bbfb0.js +0 -1
  304. package/assets/esri/core/workers/chunks/7dc5aedc964eacd1be5a.js +0 -1
  305. package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.js +0 -1
  306. package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +0 -1
  307. package/assets/esri/core/workers/chunks/8d21e2dabc5165f1c8ca.js +0 -1
  308. package/assets/esri/core/workers/chunks/903e1cd8b76eff19ebdf.js +0 -1
  309. package/assets/esri/core/workers/chunks/917c11cb40a7742d7f98.js +0 -1
  310. package/assets/esri/core/workers/chunks/91d133c04ca764d74934.js +0 -1
  311. package/assets/esri/core/workers/chunks/92c4464b67fce6cea134.js +0 -1
  312. package/assets/esri/core/workers/chunks/947f1ea4dbc3e3419ecc.js +0 -1
  313. package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +0 -1
  314. package/assets/esri/core/workers/chunks/96cec8a02ca96175d602.js +0 -1
  315. package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +0 -1
  316. package/assets/esri/core/workers/chunks/9b76c8974424a1908e86.js +0 -1
  317. package/assets/esri/core/workers/chunks/9be6827e5756031a56c1.js +0 -1
  318. package/assets/esri/core/workers/chunks/9cff18e6f751d1b3085e.js +0 -1
  319. package/assets/esri/core/workers/chunks/a101152066dd56259619.js +0 -1
  320. package/assets/esri/core/workers/chunks/a2a2c7e274fb32fecffa.js +0 -1
  321. package/assets/esri/core/workers/chunks/a3bf8aa81ee398da5b52.js +0 -1
  322. package/assets/esri/core/workers/chunks/a7a7d3289d4ca95f545f.js +0 -1
  323. package/assets/esri/core/workers/chunks/abb6c76d5dba3559a68e.js +0 -1
  324. package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +0 -1
  325. package/assets/esri/core/workers/chunks/b1a175b3b2d1a7ddde8e.js +0 -1
  326. package/assets/esri/core/workers/chunks/b78f509fd8e95f728178.js +0 -1
  327. package/assets/esri/core/workers/chunks/b858adff7043683fe41c.js +0 -1
  328. package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.js +0 -1
  329. package/assets/esri/core/workers/chunks/c02ae1d40c1fe95ae6c5.js +0 -1
  330. package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +0 -1
  331. package/assets/esri/core/workers/chunks/c53b2be005721591e29b.js +0 -1
  332. package/assets/esri/core/workers/chunks/c82ab4f0908290e70ee9.js +0 -1
  333. package/assets/esri/core/workers/chunks/cc5ec6e99aa09342c704.js +0 -1
  334. package/assets/esri/core/workers/chunks/cd892c9603710d6130a9.js +0 -1
  335. package/assets/esri/core/workers/chunks/d021775cf747556660a5.js +0 -1
  336. package/assets/esri/core/workers/chunks/d633e98b0dfa0490e4de.js +0 -1
  337. package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +0 -1
  338. package/assets/esri/core/workers/chunks/d8eca13c127b443141b7.js +0 -1
  339. package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +0 -1
  340. package/assets/esri/core/workers/chunks/eb1a86159dbc098f06fe.js +0 -1
  341. package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +0 -1
  342. package/assets/esri/core/workers/chunks/ed1de8b7406269e217b9.js +0 -29
  343. package/assets/esri/core/workers/chunks/ee9eb381e675d2d01260.js +0 -1
  344. package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +0 -1
  345. package/assets/esri/core/workers/chunks/f43a0edf58941e2ac78e.js +0 -1
  346. package/assets/esri/core/workers/chunks/f78acff510ca615d42e4.js +0 -1
  347. package/assets/esri/core/workers/chunks/f7a5c4d22a24e1ac433c.js +0 -1
  348. package/chunks/geometryEngineBase.js +0 -2
  349. package/geometry/geometryAdapters/json.js +0 -2
  350. package/geometry/geometryEngineJSON.js +0 -2
  351. /package/assets/esri/core/workers/chunks/{0823961e5d0bdedbf8cf.js.LICENSE.txt → 4f8ce5887102971bfa34.js.LICENSE.txt} +0 -0
  352. /package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js.LICENSE.txt → 532e3a59888e4cc13bd3.js.LICENSE.txt} +0 -0
  353. /package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js.LICENSE.txt → 755b2d883fba90c4e688.js.LICENSE.txt} +0 -0
  354. /package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js.LICENSE.txt → a014c17fc210620da738.js.LICENSE.txt} +0 -0
  355. /package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js.LICENSE.txt → a19be304219808268039.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354],{73354(t,e,n){n.d(e,{a:()=>a,b:()=>i,c:()=>r,d:()=>u,e:()=>p,f:()=>c,l:()=>d,n:()=>s,t:()=>o}),n(44208);var f=n(72727);function r(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,o=r){const u=(0,f.k)(t.length,r,3),i=(0,f.k)(e.length,o,3),l=Math.min(u,i),d=n[0],c=n[1],a=n[2],p=n[4],s=n[5],h=n[6],y=n[8],B=n[9],m=n[10],S=n[12],g=n[13],M=n[14];let k=0,w=0;for(let n=0;n<l;n++){const n=e[k],f=e[k+1],u=e[k+2];t[w]=d*n+p*f+y*u+S,t[w+1]=c*n+s*f+B*u+g,t[w+2]=a*n+h*f+m*u+M,k+=o,w+=r}return t}function u(t,e,n){i(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function i(t,e,n,r=3,o=r){const u=(0,f.k)(t.length,r,3),i=(0,f.k)(e.length,o,3),l=Math.min(u,i),d=n[0],c=n[1],a=n[2],p=n[3],s=n[4],h=n[5],y=n[6],B=n[7],m=n[8];let S=0,g=0;for(let n=0;n<l;n++){const n=e[S],f=e[S+1],u=e[S+2];t[g]=d*n+p*f+y*u,t[g+1]=c*n+s*f+B*u,t[g+2]=a*n+h*f+m*u,S+=o,g+=r}}function l(t,e,n,f=3,r=f){const o=Math.min(t.length/f,e.length/r);let u=0,i=0;for(let l=0;l<o;l++)t[i]=n*e[u],t[i+1]=n*e[u+1],t[i+2]=n*e[u+2],u+=r,i+=f;return t}function d(t,e,n,f){c(t.typedBuffer,e.typedBuffer,n,f,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,f,r=3,o=r){const u=Math.min(t.length/r,e.length/o);let i=0,l=0;const d=1/2.2;for(let c=0;c<u;c++)t[l]=f*(n*e[i])**d,t[l+1]=f*(n*e[i+1])**d,t[l+2]=f*(n*e[i+2])**d,i+=o,l+=r}function a(t,e,n,r=3,o=r){const u=(0,f.k)(t.length,r,3),i=(0,f.k)(e.length,o,3),l=Math.min(u,i);let d=0,c=0;for(let f=0;f<l;f++)t[c]=e[d]+n[0],t[c+1]=e[d+1]+n[1],t[c+2]=e[d+2]+n[2],d+=o,c+=r;return t}function p(t,e){s(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function s(t,e,n=3,f=n){const r=Math.min(t.length/n,e.length/f);let o=0,u=0;for(let i=0;i<r;i++){const r=e[o],i=e[o+1],l=e[o+2],d=r*r+i*i+l*l;if(d>0){const e=1/Math.sqrt(d);t[u]=e*r,t[u+1]=e*i,t[u+2]=e*l}o+=f,u+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:d,normalize:s,normalizeView:p,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const f=Math.min(t.count,e.count),r=t.typedBuffer,o=t.typedBufferStride,u=e.typedBuffer,i=e.typedBufferStride;let l=0,d=0;for(let t=0;t<f;t++)r[d]=u[l]>>n,r[d+1]=u[l+1]>>n,r[d+2]=u[l+2]>>n,l+=i,d+=o},transformMat3:i,transformMat3View:u,transformMat4:o,transformMat4View:r,translate:a},Symbol.toStringTag,{value:"Module"}))},72727(t,e,n){function f(t,e,n){if(e<=0)return 0;const f=t-n;return f<0?0:Math.floor(f/e)+1}n.d(e,{k:()=>f}),n(53966)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6999],{9093(t,n,e){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}e.d(n,{o8:()=>o,vt:()=>r});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:r,fromValues:function(t,n,e,r,o,s,i,u,l,a,c,f,h,d,m,p){return[t,n,e,r,o,s,i,u,l,a,c,f,h,d,m,p]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["zK",0,s])},35522(t,n,e){e.d(n,{$A:()=>T,Bw:()=>s,C:()=>i,Cc:()=>A,DI:()=>b,Io:()=>M,Ln:()=>y,Om:()=>N,Qr:()=>f,Re:()=>a,S8:()=>x,T9:()=>p,WQ:()=>l,Z0:()=>P,_S:()=>d,aI:()=>Z,ei:()=>R,fw:()=>G,gL:()=>j,hG:()=>I,hZ:()=>u,hs:()=>g,jk:()=>m,lw:()=>c,m3:()=>w,oW:()=>k,t2:()=>q,tn:()=>h,ze:()=>v});var r=e(51850),o=e(34304);function s(t){const n=t[0],e=t[1],r=t[2];return Math.sqrt(n*n+e*e+r*r)}function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function u(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function l(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t}function a(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t}function c(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t}function f(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t}function h(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function d(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function m(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t[2]=Math.min(n[2],e[2]),t}function p(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t[2]=Math.max(n[2],e[2]),t}function g(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t}function y(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t}function M(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(e*e+r*r+o*o)}function I(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return e*e+r*r+o*o}function w(t){const n=t[0],e=t[1],r=t[2];return n*n+e*e+r*r}function v(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function b(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function x(t,n){const e=n[0],r=n[1],o=n[2];let s=e*e+r*r+o*o;return s>0&&(s=1/Math.sqrt(s),t[0]=n[0]*s,t[1]=n[1]*s,t[2]=n[2]*s),t}function N(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function T(t,n,e){const r=n[0],o=n[1],s=n[2],i=e[0],u=e[1],l=e[2];return t[0]=o*l-s*u,t[1]=s*i-r*l,t[2]=r*u-o*i,t}function A(t,n,e,r){const o=n[0],s=n[1],i=n[2];return t[0]=o+r*(e[0]-o),t[1]=s+r*(e[1]-s),t[2]=i+r*(e[2]-i),t}function P(t,n,e){const r=n[0],o=n[1],s=n[2];return t[0]=e[0]*r+e[4]*o+e[8]*s+e[12],t[1]=e[1]*r+e[5]*o+e[9]*s+e[13],t[2]=e[2]*r+e[6]*o+e[10]*s+e[14],t}function R(t,n,e){const r=n[0],o=n[1],s=n[2];return t[0]=r*e[0]+o*e[3]+s*e[6],t[1]=r*e[1]+o*e[4]+s*e[7],t[2]=r*e[2]+o*e[5]+s*e[8],t}function j(t,n,e){return G(t,n,e[0],e[1],e[2],e[3])}function G(t,n,e,r,o,s){const i=n[0],u=n[1],l=n[2],a=r*l-o*u,c=o*i-e*l,f=e*u-r*i,h=r*f-o*c,d=o*a-e*f,m=e*c-r*a,p=2*s;return t[0]=i+a*p+2*h,t[1]=u+c*p+2*d,t[2]=l+f*p+2*m,t}const F=(0,r.vt)(),O=(0,r.vt)();function q(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function Z(t,n){if(t===n)return!0;const e=t[0],r=t[1],s=t[2],i=n[0],u=n[1],l=n[2],a=(0,o.FD)();return Math.abs(e-i)<=a*Math.max(1,Math.abs(e),Math.abs(i))&&Math.abs(r-u)<=a*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(s-l)<=a*Math.max(1,Math.abs(s),Math.abs(l))}function k(t,n,e){const r=e[0]-n[0],o=e[1]-n[1],s=e[2]-n[2];let i=r*r+o*o+s*s;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=o*i,t[2]=s*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const E=a,S=c,C=f,L=M,z=I,Y=s,_=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:l,angle:function(t,n){x(F,t),x(O,n);const e=N(F,O);return e>1?0:e<-1?Math.PI:Math.acos(e)},bezier:function(t,n,e,r,o,s){const i=1-s,u=i*i,l=s*s,a=u*i,c=3*s*u,f=3*l*i,h=l*s;return t[0]=n[0]*a+e[0]*c+r[0]*f+o[0]*h,t[1]=n[1]*a+e[1]*c+r[1]*f+o[1]*h,t[2]=n[2]*a+e[2]*c+r[2]*f+o[2]*h,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,e=1){return t[0]=Math.min(Math.max(t[0],n),e),t[1]=Math.min(Math.max(t[1],n),e),t[2]=Math.min(Math.max(t[2],n),e),t},copy:i,cross:T,crossAndNormalize:function(t,n,e){const r=n[0],o=n[1],s=n[2],i=e[0],u=e[1],l=e[2],a=o*l-s*u,c=s*i-r*l,f=r*u-o*i,h=Math.sqrt(a*a+c*c+f*f);return t[0]=a/h,t[1]=c/h,t[2]=f/h,t},direction:k,dist:L,distance:M,div:C,divide:f,dot:N,equals:Z,exactEquals:q,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,e,r,o,s){const i=s*s,u=i*(2*s-3)+1,l=i*(s-2)+s,a=i*(s-1),c=i*(3-2*s);return t[0]=n[0]*u+e[0]*l+r[0]*a+o[0]*c,t[1]=n[1]*u+e[1]*l+r[1]*a+o[1]*c,t[2]=n[2]*u+e[2]*l+r[2]*a+o[2]*c,t},inverse:b,len:Y,length:s,lerp:A,max:p,min:m,mul:S,multiply:c,negate:v,normalize:x,random:function(t,n=1){const e=o.Ov,r=2*e()*Math.PI,s=2*e()-1,i=Math.sqrt(1-s*s)*n;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=s*n,t},rotateX:function(t,n,e,r){const o=[],s=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],s[0]=o[0],s[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),s[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=s[0]+e[0],t[1]=s[1]+e[1],t[2]=s[2]+e[2],t},rotateY:function(t,n,e,r){const o=[],s=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],s[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),s[1]=o[1],s[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=s[0]+e[0],t[1]=s[1]+e[1],t[2]=s[2]+e[2],t},rotateZ:function(t,n,e,r){const o=[],s=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],s[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),s[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),s[2]=o[2],t[0]=s[0]+e[0],t[1]=s[1]+e[1],t[2]=s[2]+e[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:g,scaleAndAdd:y,set:u,sign:d,sqrDist:z,sqrLen:_,squaredDistance:I,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:E,subtract:a,transformMat3:R,transformMat4:P,transformMat4Z:function(t,n){return n[2]*t[0]+n[6]*t[1]+n[10]*t[2]+n[14]},transformQuat:j,transformQuatValues:G},Symbol.toStringTag,{value:"Module"})),e.d(n,["Il",0,Y,"jb",0,E,"lo",0,z,"uE",0,_,"xg",0,L])},159(t,n,e){e.d(n,{A:()=>a});var r,o=e(5482),s=e(69540),i=e(25482),u=e(91429),l=e(99157);let a=r=class extends((0,s.OU)(i.o)){constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let n=this.steps.length-1;n>=0;n--){const e=this.steps[n];t.steps.push(e.getInverse())}return t}};(0,o.Cg)([(0,u.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],a.prototype,"steps",void 0),a=r=(0,o.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},99157(t,n,e){e.d(n,{A:()=>l});var r,o=e(5482),s=e(69540),i=e(25482),u=e(91429);let l=r=class extends((0,s.OU)(i.o)){constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,u.MZ)({json:{name:"transformForward",read:t=>!t,write:(t,n,e)=>{n[e]=!t}}})],l.prototype,"isInverse",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,o.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(t,n,e){e.r(n),e.d(n,{projectBuffer:()=>o});var r=e(49208);function o(t,n,e,o,s,i,u=Math.floor(t.length/3)){const l=(0,r.jd)(n,s);if(null==l)return!1;if(l===r.pO){if(t===o&&e===i)return!0;const n=e+3*u;for(let r=e,s=i;r<n;r++,s++)o[s]=t[r]??0;return!0}const a=e+3*u;for(let n=e,r=i;n<a;n+=3,r+=3)l(t,n,o,r);return!0}},49208(t,n,e){e.d(n,{Tp:()=>f,jd:()=>c,pO:()=>d});var r=e(34727),o=e(86211),s=e(73941),i=e(79258),u=e(34403),l=e(21325);const a={2:{5:d,7:null,9:null,10:d,1:v,6:null,8:null,0:null,3:p,11:g,2:d,4:A},5:{5:d,7:null,9:null,10:d,1:v,6:null,8:null,0:null,3:p,11:g,2:d,4:A},7:{5:null,7:d,9:null,10:d,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:I,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(t,n,e,r){const o=t[n]/O,s=F-2*Math.atan(Math.exp(-t[n+1]/O)),i=O+(t[n+2]??0),u=Math.cos(s)*i;e[r]=Math.cos(o)*u,e[r+1]=Math.sin(o)*u,e[r+2]=Math.sin(s)*i},6:null,8:null,0:null,3:d,11:function(t,n,e,r){m(t,n,e,r),g(e,r,e,r)},2:m,4:function(t,n,e,r){m(t,n,e,r),A(e,r,e,r)}},4:{5:P,7:null,9:null,10:P,1:function(t,n,e,r){P(t,n,e,r),v(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){P(t,n,e,r),p(e,r,e,r)},11:function(t,n,e,r){P(t,n,e,r),g(e,r,e,r)},2:P,4:d},1:{5:T,7:null,9:null,10:T,1:d,6:null,8:null,0:null,3:function(t,n,e,r){T(t,n,e,r),p(e,r,e,r)},11:function(t,n,e,r){T(t,n,e,r),g(e,r,e,r)},2:T,4:function(t,n,e,r){T(t,n,e,r),A(e,r,e,r)}},6:{5:null,7:N,9:null,10:N,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:x,10:x,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:v,6:w,8:I,0:null,3:p,11:g,2:d,4:A},11:{5:y,7:null,9:null,10:y,1:function(t,n,e,r){y(t,n,e,r),v(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){y(t,n,e,r),p(e,r,e,r)},11:d,2:y,4:function(t,n,e,r){y(t,n,e,r),A(e,r,e,r)}}};function c(t,n){return f(t,n)?.projector}function f(t,n){if(null==t||null==n)return null;if(R.source.spatialReference===t&&R.dest.spatialReference===n)return R;const e=h(t,R.source),r=h(n,R.dest);return 0===e&&0===r?(0,l.aI)(t,n)?R.projector=d:R.projector=null:R.projector=a[e][r],R}function h(t,n){return t?n.spatialReference===t?n.spatialReferenceId:(n.spatialReference=t,"metersPerUnit"in n&&(n.metersPerUnit=(0,o.GA)(t,1)),(0,s.jA)(t)?n.spatialReferenceId=1:(0,l.oT)(t)?n.spatialReferenceId=2:(0,l.K8)(t)?n.spatialReferenceId=3:(0,l.r1)(t)?n.spatialReferenceId=11:t.wkt===s.Ro.wkt?n.spatialReferenceId=4:4490===t.wkid?n.spatialReferenceId=5:t.wkt===s.FY.wkt?n.spatialReferenceId=6:t.wkt===s.LJ.wkt?n.spatialReferenceId=8:(0,s.q8)(t)?n.spatialReferenceId=7:(0,s.KQ)(t)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function d(t,n,e,r){t!==e&&(e[r++]=t[n++],e[r++]=t[n++],e[r]=t[n]??0)}function m(t,n,e,r){e[r]=G*(t[n]/O),e[r+1]=G*(F-2*Math.atan(Math.exp(-t[n+1]/O))),e[r+2]=t[n+2]??0}function p(t,n,e,o){!function(t,n,e,o,s){const i=.4999999*Math.PI,u=(0,r.qE)(j*t[n+1],-i,i),l=Math.sin(u);e[o++]=j*t[n]*s.radius,e[o++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),e[o]=t[n+2]??0}(t,n,e,o,i.$O)}function g(t,n,e,r){e[r]=t[n]*q,e[r+1]=t[n+1]*q,e[r+2]=t[n+2]??0}function y(t,n,e,r){e[r]=t[n]*Z,e[r+1]=t[n+1]*Z,e[r+2]=t[n+2]??0}function M(t,n,e,r,o){const s=o+(t[n+2]??0),i=j*t[n],u=j*t[n+1],l=Math.cos(u)*s;e[r]=Math.cos(i)*l,e[r+1]=Math.sin(i)*l,e[r+2]=Math.sin(u)*s}function I(t,n,e,r){M(t,n,e,r,i.Sw.radius)}function w(t,n,e,r){M(t,n,e,r,i.sH.radius)}function v(t,n,e,r){M(t,n,e,r,i.$O.radius)}function b(t,n,e,o,s){const i=t[n],u=t[n+1],l=t[n+2]??0,a=Math.sqrt(i*i+u*u+l*l),c=(0,r.YN)(l/(0===a?1:a)),f=Math.atan2(u,i);e[o++]=G*f,e[o++]=G*c,e[o]=a-s}function x(t,n,e,r){b(t,n,e,r,i.Sw.radius)}function N(t,n,e,r){b(t,n,e,r,i.sH.radius)}function T(t,n,e,r){b(t,n,e,r,i.$O.radius)}function A(t,n,e,r){!function(t,n,e,r,o){const s=j*t[n],i=j*t[n+1],u=t[n+2]??0,l=Math.sin(i),a=Math.cos(i),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);e[r++]=(c+u)*a*Math.cos(s),e[r++]=(c+u)*a*Math.sin(s),e[r++]=(c*(1-o.eccentricitySquared)+u)*l}(t,n,e,r,i.$O)}function P(t,n,e,r){const o=u.TP,s=t[n],l=t[n+1],a=t[n+2]??0;let c,f,h,d,m,p,g,y,M,I,w,v,b,x,N,T,A,P,R,j,F;c=Math.abs(a),f=s*s+l*l,h=Math.sqrt(f),d=f+a*a,m=Math.sqrt(d),j=Math.atan2(l,s),p=a*a/d,g=f/d,x=o.a2/m,N=o.a3-o.a4/m,g>.3?(y=c/m*(1+g*(o.a1+x+p*N)/m),R=Math.asin(y),I=y*y,M=Math.sqrt(1-I)):(M=h/m*(1-p*(o.a5-x-g*N)/m),R=Math.acos(M),I=1-M*M,y=Math.sqrt(I)),w=1-i.$O.eccentricitySquared*I,v=i.$O.radius/Math.sqrt(w),b=o.a6*v,x=h-v*M,N=c-b*y,A=M*x+y*N,T=M*N-y*x,P=T/(b/w+A),R+=P,F=A+T*P/2,a<0&&(R=-R),e[r++]=G*j,e[r++]=G*R,e[r]=F}const R={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},j=(0,r.kU)(1),G=(0,r.KJ)(1),F=.5*Math.PI,O=i.$O.radius,q=O*Math.PI/180,Z=180/(O*Math.PI);e.d(n,["w5",0,a])},91218(t,n,e){e.r(n),e.d(n,{canProjectWithoutEngine:()=>$,initializeProjection:()=>D,isEqualBaseGCS:()=>B,isLoaded:()=>O,isLoadedOrLoad:()=>q,isLoadedOrLoadFor:()=>Z,load:()=>E,project:()=>S,projectAsync:()=>U,projectExtent:()=>ot,projectMany:()=>C,projectMultipoint:()=>K,projectOrLoad:()=>z,projectOrLoadMany:()=>Y,projectPoint:()=>Q,projectPolygon:()=>et,projectPolyline:()=>tt,projectWithoutEngine:()=>J,requiresLoad:()=>k,test:()=>V,tryProject:()=>L,unload:()=>W});var r=e(49186),o=e(17676),s=e(62788),i=e(95488),u=e(51850),l=e(21276),a=e(73941),c=e(5443),f=e(91075),h=e(48526),d=e(86738),m=e(39829),p=e(82799),g=e(16930),y=e(98764),M=e(159),I=e(9762),w=e(49208);function v(t,n,e,r,o,s){return b[0]=t,b[1]=n,b[2]=e,(0,I.projectBuffer)(b,r,0,o,s,0)}const b=(0,u.vt)();var x=e(60408),N=e(21325),T=e(52006);let A=null,P=null,R=null,j=null,G={};const F=new i.I;function O(){return!!(P?.isLoaded()&&R?.isLoaded()&&j?.isLoaded())}function q(){return!!O()||((0,s.gc)(F),E(),!1)}function Z(t,n){return!t||!n||$(t,n)||q()}function k(t,n){return!$(t,n)&&!O()}async function E(t){null==A&&(A=Promise.all([e.e(3276).then(e.bind(e,83276)).then(t=>(P=t,P.load())),e.e(8377).then(e.bind(e,8377)).then(t=>(R=t,R.load())),e.e(2158).then(e.bind(e,12158)).then(t=>(j=t,j.load()))])),await A,(0,o.Te)(t),F.notify()}function S(t,n,e){return Array.isArray(t)?0===t.length?[]:((0,l.H)(t),C(t,t[0].spatialReference,n,e)):((0,l.f)(t),C([t],t.spatialReference,n,e)[0])}function C(t,n,e,r){if(null==n||null==e)return t;if($(n,e,r))return t.map(t=>J(t,n,e));if(null==r?.geographicTransformation&&(0,a.jA)(n))return C(t.map(t=>J(t,n,g.A.WGS84)),g.A.WGS84,e,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,a.jA)(e))return C(t,n,g.A.WGS84).map(t=>J(t,g.A.WGS84,e));if(!O())throw new _;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:j.getTransformation(n,e,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,n){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??""].join()}(n,e);let o=G[t];o||(o=j.getTransformation(n,e)||new M.A,G[t]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=n),t[0]instanceof f.A?P.executeMany(t,e,r):R.executeMany(t,e,r)}function L(t,n,e){try{return S(t,n,e)}catch(t){return null}}function z(t,n){const e=Y([t],n);return null!=e.pending?{pending:e.pending,geometry:null}:null!=e.geometries?{pending:null,geometry:e.geometries[0]}:{pending:null,geometry:null}}function Y(t,n,e){if(!O())for(const e of t)if(null!=e&&!(0,N.aI)(e.spatialReference,n)&&(0,N.fn)(e.spatialReference)&&(0,N.fn)(n)&&!$(e.spatialReference,n))return(0,s.gc)(F),{pending:E(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,N.aI)(t.spatialReference,n)?t:(0,N.fn)(t.spatialReference)&&(0,N.fn)(n)?S(t,n,e):null)}}class _ extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function W(){A=null,P=null,R=null,j=null,G={}}const V={get loadPromise(){return A}};async function U(t,n,e){if((0,o.Te)(e),!t)return t;const r=Y(Array.isArray(t)?t:[t],n,e);if(r.pending)return await r.pending,(0,o.Te)(e),U(t,n,e);const s=r.geometries??[];return Array.isArray(t)?s:s[0]}function $(t,n,e){return!(e?.areaOfInterestExtent||e?.extendedParams||e?.geographicTransformation)&&(!!(0,N.aI)(t,n)||(0,N.fn)(t)&&(0,N.fn)(n)&&!!(0,w.jd)(t,n))}function B(t,n){if((0,N.aI)(t,n))return!0;if(!(0,N.fn)(t)||!(0,N.fn)(n))return!1;const e=(0,N.oT)(t)||(0,N.K8)(t)||(0,N.x1)(t),r=(0,N.oT)(n)||(0,N.K8)(n)||(0,N.x1)(n);return e&&r}async function D(t,n,e,r){if(O())return(0,o.NO)(r);if(Array.isArray(t)){for(const{source:n,dest:e,options:o}of t)if(n&&e&&!$(n,e,o))return E(r)}else if(t&&n&&!$(t,n,e))return E(r);return(0,o.NO)(r)}function J(t,n,e){return t?(0,x.fT)(t)?H(t,n,new d.A,e,0):(0,x.ZC)(t)?st(t,n,new c.A,e,0):(0,x.Bi)(t)?rt(t,n,new m.A,e,0):(0,x.Rg)(t)?nt(t,n,new p.A,e,0):(0,x.U9)(t)?X(t,n,new h.A,e,0):null:null}function Q(t,n,e=n.spatialReference,r=0){return null!=e&&null!=t.spatialReference&&null!=H(t,t.spatialReference,n,e,r)}function H(t,n,e,r,o){at[0]=t.x,at[1]=t.y;const s=t.z;return at[2]=void 0!==s?s:o,(0,I.projectBuffer)(at,n,0,at,r,0)?(e.x=at[0],e.y=at[1],e.spatialReference=r,void 0!==s||(0,a.xP)(r)?(e.z=at[2],e.hasZ=!0):(e.z=void 0,e.hasZ=!1),void 0===t.m?(e.m=void 0,e.hasM=!1):(e.m=t.m,e.hasM=!0),e):null}function K(t,n,e=n.spatialReference,r=0){return null!=t.spatialReference&&null!=e&&null!=X(t,t.spatialReference,n,e,r)}function X(t,n,e,r,o){const{points:s,hasZ:i,hasM:u}=t,l=[],a=s.length,c=[];for(const t of s)c.push(t[0],t[1],i?t[2]:o);if(!(0,I.projectBuffer)(c,n,0,c,r,0,a))return null;const f=lt(i,r);for(let t=0;t<a;++t){const n=3*t,e=c[n],r=c[n+1];f&&u?l.push([e,r,c[n+2],s[t][3]]):f?l.push([e,r,c[n+2]]):u?l.push([e,r,s[t][2]]):l.push([e,r])}return e.points=l,e.spatialReference=r,e.hasZ=i,e.hasM=u,e}function tt(t,n,e=n.spatialReference,r=0){return null!=t.spatialReference&&null!=e&&null!=nt(t,t.spatialReference,n,e,r)}function nt(t,n,e,r,o){const{curvePaths:s,paths:i,hasZ:u,hasM:l}=t;if(!(s?ut(s,u??!1,l??!1,n,e.curvePaths=[],r,o):it(i,u??!1,l??!1,n,e.paths,r,o)))return null;const a=lt(u,r);return e.spatialReference=r,e.hasZ=a,e.hasM=l,e}function et(t,n,e=n.spatialReference,r=0){return null!=t.spatialReference&&null!=e&&null!=rt(t,t.spatialReference,n,e,r)}function rt(t,n,e,r,o){const{curveRings:s,rings:i,hasZ:u,hasM:l}=t;return(s?ut(s,u??!1,l??!1,n,e.curveRings=[],r,o):it(i,u??!1,l??!1,n,e.rings,r,o))?(e.spatialReference=r,e.hasZ=lt(u,r),e.hasM=l,e):null}function ot(t,n,e=n.spatialReference,r=0){return null!=t.spatialReference&&null!=e&&null!=st(t,t.spatialReference,n,e,r)}function st(t,n,e,r,o){const{xmin:s,ymin:i,xmax:u,ymax:l,hasZ:a,hasM:c}=t;if(!v(s,i,a?t.zmin:o,n,at,r))return null;const f=lt(a,r);return e.xmin=at[0],e.ymin=at[1],f&&(e.zmin=at[2]),v(u,l,a?t.zmax:o,n,at,r)?(e.xmax=at[0],e.ymax=at[1],f&&(e.zmax=at[2]),c&&(e.mmin=t.mmin,e.mmax=t.mmax),e.spatialReference=r,e):null}function it(t,n,e,r,o,s,i=0){const u=new Array;for(const e of t)for(const t of e)u.push(t[0],t[1],n?t[2]:i);if(!(0,I.projectBuffer)(u,r,0,u,s,0))return!1;let l=0;o.length=0;const a=n?3:2,c=lt(n,s);for(const n of t){const t=new Array;for(const r of n){const n=u.slice(l,l+=3);c||n.pop(),e&&n.push(r[a]),t.push(n)}o.push(t)}return!0}function ut(t,n,e,r,o,s,i=0){const u=new Array;for(const e of t)for(const t of e){if((0,T.FG)(t))return!1;if((0,T.aO)(t)){const[e,r]=t.c;u.push(e[0],e[1],n?e[2]:i,r[0],r[1],i);continue}if((0,T.n1)(t)){const[e,r,o]=t.b;u.push(e[0],e[1],n?e[2]:i,r[0],r[1],i,o[0],o[1],i);continue}const e=t;u.push(e[0],e[1],n?e[2]:i)}if(!(0,I.projectBuffer)(u,r,0,u,s,0))return!1;let l=0;o.length=0;const a=n?3:2,c=lt(n,s);for(const n of t){const t=new Array;for(const r of n){const n=u.slice(l,l+=3);if(c||n.pop(),e&&n.push((0,T.yP)(r)[a]),(0,T.FG)(r))return!1;if((0,T.aO)(r)){const e=u[l++],r=u[l++];++l,t.push({c:[n,[e,r]]});continue}if((0,T.n1)(r)){const e=u[l++],r=u[l++];++l;const o=u[l++],s=u[l++];++l,t.push({b:[n,[e,r],[o,s]]});continue}t.push(n)}o.push(t)}return!0}function lt(t,n){return t||(0,a.xP)(n)||(0,N.aI)(n,y.Y0)}const at=(0,u.vt)()},98764(t,n,e){e.d(n,{lO:()=>c});var r=e(73941),o=e(16930),s=e(21325);const i=new o.A(r.fv),u=new o.A(r.FY),l=new o.A(r.LJ),a=new o.A(r.Ro);function c(t){const n=f.get(t);if(n)return n;let e=i;if(t)if(t===u)e=u;else if(t===l)e=l;else{const n=t.wkid,r=t.latestWkid;if(null!=n||null!=r)(0,s.tl)(n)||(0,s.tl)(r)?e=u:((0,s.ZL)(n)||(0,s.ZL)(r))&&(e=l);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===h?e=u:t===d&&(e=l)}}}return f.set(t,e),e}const f=new Map,h=u.wkt.toUpperCase(),d=l.wkt.toUpperCase();e.d(n,["GD",0,i,"Y0",0,a])},4197(t,n,e){e.d(n,{Vj:()=>c,cj:()=>a,jh:()=>s,l5:()=>u,yH:()=>l});var r=e(34275),o=e(9093);function s(t){return t<=1024?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=1024?Array.from(t):new Float64Array(t)}function u(t,n,e){return Array.isArray(t)?t.slice(n,n+e):t.subarray(n,n+e)}function l(t,n){if(0===n.length)return i(t);if(0===t.length)return i(n);const e=s(t.length+n.length);for(let n=0;n<t.length;++n)e[n]=t[n];for(let r=0;r<n.length;++r)e[t.length+r]=n[r];return e}function a(t){return[...t]}function c(t){const n=(0,o.vt)();for(let e=0;e<16;++e)n[e]=t[e];return n}},70328(t,n,e){e.d(n,{BI:()=>P,C:()=>i,DC:()=>h,Ej:()=>I,Ie:()=>T,Jt:()=>A,Lu:()=>v,Ne:()=>b,RF:()=>f,TF:()=>y,VL:()=>m,aI:()=>j,fA:()=>u,gE:()=>a,gX:()=>M,hZ:()=>N,iT:()=>d,is:()=>R,pg:()=>w,uJ:()=>g,vI:()=>x,vY:()=>l,vt:()=>s,w1:()=>c,yr:()=>p}),e(35522);var r=e(5443),o=(e(19419),e(4197));function s(t=F){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,n){for(let e=0;e<6;e++)t[e]=n[e];return t}function u(t,n,e,r,o,i,u=s()){return u[0]=t,u[1]=n,u[2]=e,u[3]=r,u[4]=o,u[5]=i,u}function l(t,n=s()){return function(t,n,e,r=s()){return N(r,G),function(t,n,e=0,r=n.length/3){let o=t[0],s=t[1],i=t[2],u=t[3],l=t[4],a=t[5];for(let t=0;t<r;t++)o=Math.min(o,n[e+3*t]),s=Math.min(s,n[e+3*t+1]),i=Math.min(i,n[e+3*t+2]),u=Math.max(u,n[e+3*t]),l=Math.max(l,n[e+3*t+1]),a=Math.max(a,n[e+3*t+2]);t[0]=o,t[1]=s,t[2]=i,t[3]=u,t[4]=l,t[5]=a}(r,t,n,e),r}(t,0,t.length/3,n)}function a(t,n=(0,o.jh)(24)){const[e,r,s,i,u,l]=t;return n[0]=e,n[1]=r,n[2]=s,n[3]=e,n[4]=r,n[5]=l,n[6]=e,n[7]=u,n[8]=s,n[9]=e,n[10]=u,n[11]=l,n[12]=i,n[13]=r,n[14]=s,n[15]=i,n[16]=r,n[17]=l,n[18]=i,n[19]=u,n[20]=s,n[21]=i,n[22]=u,n[23]=l,n}function c(t,n){const e=isFinite(t[2])||isFinite(t[5]);return new r.A(e?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function f(t,n,e=t){e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e[4]=Math.max(t[4],n[4]),e[5]=Math.max(t[5],n[5])}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function d(t,[n,e,r]){!function(t,n,e,r){t[0]=Math.min(t[0],n),t[1]=Math.min(t[1],e),t[2]=Math.min(t[2],r),t[3]=Math.max(t[3],n),t[4]=Math.max(t[4],e),t[5]=Math.max(t[5],r)}(t,n,e,r)}function m(t){return t[0]>=t[3]?0:t[3]-t[0]}function p(t){return t[1]>=t[4]?0:t[4]-t[1]}function g(t){return t[2]>=t[5]?0:t[5]-t[2]}function y(t){const n=m(t),e=g(t),r=p(t);return n*n+e*e+r*r}function M(t,n=[0,0,0]){return n[0]=t[0]+m(t)/2,n[1]=t[1]+p(t)/2,n[2]=t[2]+g(t)/2,n}function I(t,n=[0,0,0]){return n[0]=m(t),n[1]=p(t),n[2]=g(t),n}function w(t,n){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function v(t,n){return n[0]=t[3],n[1]=t[4],n[2]=t[5],n}function b(t,n,e=t){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e!==t&&(e[3]=t[3],e[4]=t[4],e[5]=t[5]),e}function x(t,n,e=t){return e[3]=n[0],e[4]=n[1],e[5]=n[2],e!==t&&(e[0]=t[0],e[1]=t[1],e[2]=t[2]),t}function N(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function T(t){return t?N(t,G):s(G)}function A(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function P(t,n,e,r,o){return t[0]=n,t[1]=e,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=o,t[5]=Number.POSITIVE_INFINITY,t}function R(t){return 6===t.length}function j(t,n,e){if(null==t||null==n)return t===n;if(!R(t)||!R(n))return!1;if(e){for(let r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1}else for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const G=[1/0,1/0,1/0,-1/0,-1/0,-1/0],F=[0,0,0,0,0,0];s(),e.d(n,["qv",0,G,"v_",0,F])},34403(t,n,e){var r=e(79258);Math.PI;const o=r.$O.radius,s=r.$O.eccentricitySquared,i={a1:o*s,a2:o*s*o*s,a3:o*s*s/2,a4:o*s*o*s*2.5,a5:o*s+o*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,e.d(n,["TP",0,i])},60408(t,n,e){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function i(t){return void 0!==t.paths||void 0!==t.curvePaths}function u(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function a(t){return t?s(t)?"esriGeometryPoint":i(t)?"esriGeometryPolyline":u(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":o(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}e.d(n,{$B:()=>a,Bi:()=>u,Pv:()=>c,Rg:()=>i,U9:()=>o,W0:()=>f,ZC:()=>r,fT:()=>s,uW:()=>l})},43334(t,n,e){e.d(n,{N3:()=>u,Om:()=>i});var r=e(69397),o=e(27647),s=e(92722);class i{constructor(t,n,e,r,o=0,s=null,i=null){this.geometry=t,this.attributes=n,this.centroid=e,this.objectId=r,this.displayId=o,this.distance=s,this.vertexCount=i}static fromJSON(t){const n=t.geometry?s.A.fromJSON(t.geometry):null,e=t.centroid?s.A.fromJSON(t.centroid):null,r=t.objectId;return new i(n,t.attributes,e,r,void 0,t.distance,t.vertexCount)}weakClone(){return new i(this.geometry,this.attributes,this.centroid,this.objectId,this.displayId,this.distance,this.vertexCount)}clone(){return new i(this.geometry?.clone(),{...this.attributes},this.centroid?.clone(),this.objectId,this.displayId,this.distance,this.vertexCount)}ensureCentroid(t){return this.centroid??=(0,o.Q)(this.geometry),this.centroid}get usedMemory(){return 128+(0,r.lM)(this.attributes)+(this.geometry?.usedMemory??0)}}function u(t){return!!t.geometry?.coords?.length}},58512(t,n,e){e.d(n,{A:()=>r});class r{constructor(){this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const t=new r;return t.globalIdFieldName=this.globalIdFieldName,t.geohashFieldName=this.geohashFieldName,t.geometryProperties=this.geometryProperties,t.geometryType=this.geometryType,t.spatialReference=this.spatialReference,t.hasZ=this.hasZ,t.hasM=this.hasM,t.features=this.features,t.fields=this.fields,t.transform=this.transform,t.exceededTransferLimit=this.exceededTransferLimit,t.uniqueIdField=this.uniqueIdField,t.queryGeometry=this.queryGeometry,t.queryGeometryType=this.queryGeometryType,t}}},92722(t,n,e){e.d(n,{A:()=>o});var r=e(69397);class o{constructor(t=[],n=[],e=!1,r=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=e,this.hasM=r}static fromJSON({lengths:t,coords:n,hasZ:e,hasM:r}){return new o(t,n,e||!1,r||!1)}static fromRect([t,n,e,r]){const s=e-t,i=r-n;return new o([5],[t,n,s,0,0,i,-s,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,n)=>t+n,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,n=0;for(const e of this.lengths){if(e<3)continue;const{stride:r}=this;let o=this.coords[r*n],s=this.coords[r*n+1];for(let i=1;i<e;i+=1){const e=r*(n+i),u=this.coords[e],l=this.coords[e+1];t+=-.5*(u-o)*(l+s),o=u,s=l}n+=e}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:e}=this;for(const r of this.lengths){for(let o=0;o<r;o++){const r=e*(n+o);t(this.coords[r],this.coords[r+1])}n+=r}}deltaDecode(){const t=this.clone(),{coords:n,lengths:e}=t;let r=0;const{stride:o}=this;for(const t of e){for(let e=1;e<t;e++){const t=o*(r+e);n[t]+=n[t-o],n[t+1]+=n[t+1-o]}r+=t}return t}clone(t){if(this.isPoint)return new o([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:e,size:r}=this,s=this.coords.slice(0,r*e);return t?(t.set(s),new o(n,t,this.hasZ,this.hasM)):new o(n,Array.from(s),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const e=new Array(n*t);for(let n=0,r=0;n<e.length;n+=t)e[r++]=this.coords[n],e[r++]=this.coords[n+1];return new o(this.lengths,e,!1,!1)}}},27647(t,n,e){e.d(n,{Q:()=>s});var r=e(92722);function o(t,n){return t?n?4:3:n?3:2}function s(t){if(null==t)return null;if(!t?.lengths.length)return null;const{lengths:n,coords:e,stride:o,hasZ:s,hasM:l}=t,a=new r.A([],[],s,!1),c=a.coords,f=[],h=s?[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];let d=0;for(const t of n){const n=i(h,e,d,t,s,l);n&&f.push(n),d+=t*o}if(f.sort((t,n)=>{let e=t[2]-n[2];return 0===e&&s&&(e=t[4]-n[4]),e}),f.length){let t=6*f[0][2];c[0]=f[0][0]/t,c[1]=f[0][1]/t,s&&(t=6*f[0][4],c[2]=0!==t?f[0][3]/t:0),(c[0]<h[0]||c[0]>h[1]||c[1]<h[2]||c[1]>h[3]||s&&(c[2]<h[4]||c[2]>h[5]))&&(c.length=0)}if(!c.length){const r=t.lengths[0]?u(e,0,n[0],s,l):null;if(!r)return null;c[0]=r[0],c[1]=r[1],s&&(c[2]=r[2]??0)}return a}function i(t,n,e,r,s,i){const u=o(s,i);let l=e,a=e+u,c=0,f=0,h=0,d=0,m=0;for(let e=0,o=r-1;e<o;e++,l+=u,a+=u){const e=n[l],r=n[l+1],o=n[l+2],i=n[a],u=n[a+1],p=n[a+2];let g=e*u-i*r;d+=g,c+=(e+i)*g,f+=(r+u)*g,s&&(g=e*p-i*o,h+=(o+p)*g,m+=g),e<t[0]&&(t[0]=e),e>t[1]&&(t[1]=e),r<t[2]&&(t[2]=r),r>t[3]&&(t[3]=r),s&&(o<t[4]&&(t[4]=o),o>t[5]&&(t[5]=o))}if(d>0&&(d*=-1),m>0&&(m*=-1),!d)return null;const p=[c,f,.5*d];return s&&(p[3]=h,p[4]=.5*m),p}function u(t,n,e,r,s){const i=o(r,s);let u=n,h=n+i,d=0,m=0,p=0,g=0;for(let n=0,o=e-1;n<o;n++,u+=i,h+=i){const n=t[u],e=t[u+1],o=t[u+2],s=t[h],i=t[h+1],y=t[h+2],M=r?a(n,e,o,s,i,y):l(n,e,s,i);if(M)if(d+=M,r){const t=f(n,e,o,s,i,y);m+=M*t[0],p+=M*t[1],g+=M*t[2]}else{const t=c(n,e,s,i);m+=M*t[0],p+=M*t[1]}}return d>0?r?[m/d,p/d,g/d]:[m/d,p/d]:e>0?r?[t[n],t[n+1],t[n+2]]:[t[n],t[n+1]]:null}function l(t,n,e,r){const o=e-t,s=r-n;return Math.sqrt(o*o+s*s)}function a(t,n,e,r,o,s){const i=r-t,u=o-n,l=s-e;return Math.sqrt(i*i+u*u+l*l)}function c(t,n,e,r){return[t+.5*(e-t),n+.5*(r-n)]}function f(t,n,e,r,o,s){return[t+.5*(r-t),n+.5*(o-n),e+.5*(s-e)]}},54339(t,n,e){function r(t,n){switch(n.type){case"object-id":case"unique-id-simple":return t.attributes[n.fieldName];case"unique-id-composite":{const e=[];for(const r of n.fieldNames)e.push(t.attributes[r]??null);return JSON.stringify(e)}}}function o(t,n){if("uniqueIdFields"in n&&n.uniqueIdFields?.length){if(1===n.uniqueIdFields.length)return t.attributes?.[n.uniqueIdFields[0]];const e=n.uniqueIdFields.map(n=>t.attributes?.[n]);return JSON.stringify(e)}return"objectIdField"in n&&n.objectIdField?t.attributes?.[n.objectIdField]:null}e.d(n,{W:()=>r,r:()=>o})},90708(t,n,e){e.d(n,{Ap:()=>P,B2:()=>g,DF:()=>b,Di:()=>q,E2:()=>O,IE:()=>p,Nl:()=>Y,PR:()=>T,Rk:()=>D,Ux:()=>k,Ye:()=>j,ZF:()=>C,aQ:()=>$,jH:()=>z,jQ:()=>U,kz:()=>_,oN:()=>Z,q3:()=>L,qN:()=>x,zv:()=>E});var r=e(49186),o=e(53966),s=e(97768),i=e(70328),u=e(19419),l=e(60408),a=e(43334),c=e(58512),f=e(92722),h=e(54339);const d=()=>o.A.getLogger("esri.layers.graphics.featureConversionUtils"),m={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0,esriGeometryMultiPatch:3,esriGeometryEnvelope:0};function p({scale:t,translate:n},e){return Math.round((e-n[0])/t[0])}function g({scale:t,translate:n},e){return Math.round((n[1]-e)/t[1])}function y({scale:t,translate:n},e){return Math.round((e-n[0])/t[0])}function M({scale:t,translate:n},e){return Math.round((e-n[1])/t[1])}function I({scale:t,translate:n},e,r){return e*t[r]+n[r]}function w(t,n,e){return n&&(t.hasZ=!0),e&&(t.hasM=!0),t}function v(t,n,e,r){if(n&&r&&t!==e)return(n,e,r,o)=>{r[o++]=n[e++],r[o++]=n[e++],t?e++:r[o++]=0,r[o++]=n[e++]??0};const o=2+(e?1:0)+(r?1:0),s=o-((!t&&e?1:0)+(!n&&r?1:0));return(t,n,e,r)=>{for(let i=0;i<o;++i)e[r++]=i<s?t[n++]??0:0}}function b(t,n,e){if(!t)return null;const{coords:r,hasZ:o,hasM:s}=t,[i,u]=r,l=o?r[2]:0,a=s?r[2+(o?1:0)]:0;return{x:i,y:u,z:n?l:void 0,m:e?a:void 0}}function x(t,n=(0,l.Pv)(t),e=(0,l.W0)(t)){const{x:r,y:o,z:s,m:i}=t,u=[r,o];return n&&u.push(s??0),e&&u.push(i??0),new f.A([],u,n,e)}function N(t,n,e){if(null==t)return null;const{coords:r,stride:o,hasZ:s,hasM:i}=t,u=v(s,i,n,e),l=[];for(let t=0;t<r.length;t+=o){const n=[];u(r,t,n,0),l.push(n)}return w({points:l},n,e)}function T(t,n=(0,l.Pv)(t),e=(0,l.W0)(t)){const{points:r,hasZ:o,hasM:s}=t,i=new f.A([r.length],[],n,e),{coords:u,stride:a}=i;let c=0;const h=v(o??!1,s??!1,n,e);for(const t of r)h(t,0,u,c),c+=a;return i}function A(t,n,e){if(!t)return null;const{coords:r,lengths:o,stride:s,hasZ:i,hasM:u}=t;let l=0;const a=v(i,u,n,e),c=[];for(const t of o){const n=[];for(let e=0;e<t;e++){const t=[];a(r,l,t,0),l+=s,n.push(t)}c.push(n)}return w({paths:c},n,e)}function P(t,n=(0,l.Pv)(t),e=(0,l.W0)(t)){const{paths:r,hasZ:o,hasM:s}=t,i=v(o??!1,s??!1,n,e),u=new f.A([],[],n,e),{lengths:a,coords:c,stride:h}=u;let d=0;for(const t of r){for(const n of t)i(n,0,c,d),d+=h;a.push(t.length)}return u}function R(t,n,e){if(!t)return null;const{coords:r,lengths:o,stride:s,hasZ:i,hasM:u}=t;let l=0;const a=v(i,u,n,e),c=[];for(const t of o){const n=[];for(let e=0;e<t;e++){const t=[];a(r,l,t,0),l+=s,n.push(t)}c.push(n)}return w({rings:c},n,e)}function j(t,n=(0,l.Pv)(t),e=(0,l.W0)(t)){const{rings:r,hasZ:o,hasM:s}=t,i=new f.A([],[],n,e),{lengths:u,coords:a,stride:c}=i;let h=0;const d=v(o??!1,s??!1,n,e);for(const t of r){for(const n of t)d(n,0,a,h),h+=c;u.push(t.length)}return i}const G=[],F=[];function O(t,n,e,r,o){G[0]=t;const[s]=q(F,G,n,e,r,o);return J(G),J(F),s}function q(t,n,e,o,s,i){if(J(t),!e){for(const e of n){const n=(0,h.W)(e,i);t.push(new a.Om(null,e.attributes,null,n,void 0,e.distance,e.vertexCount))}return t}switch(e){case"esriGeometryPoint":return function(t,n,e,r,o){for(const s of n){const{geometry:n,attributes:i,centroid:u}=s,c=(0,l.Pv)(n),f=(0,l.W0)(n);t.push(new a.Om(n?x(n,e&&c,r&&f):null,i,u?x(u,!1,!1):null,(0,h.W)(s,o),s.displayId,s.distance,s.vertexCount))}return t}(t,n,o,s,i);case"esriGeometryMultipoint":return function(t,n,e,r,o){for(const s of n){const{geometry:n,attributes:i}=s,u=(0,l.Pv)(n),c=(0,l.W0)(n);t.push(new a.Om(n?T(n,e&&u,r&&c):null,i,null,(0,h.W)(s,o),s.displayId,s.distance,s.vertexCount))}return t}(t,n,o,s,i);case"esriGeometryPolyline":return function(t,n,e,r,o){for(const s of n){const{geometry:n,attributes:i,centroid:u}=s,c=(0,l.Pv)(n),f=(0,l.W0)(n);t.push(new a.Om(n?P(n,e&&c,r&&f):null,i,u?x(u,!1,!1):null,(0,h.W)(s,o),s.displayId,s.distance,s.vertexCount))}return t}(t,n,o,s,i);case"esriGeometryPolygon":case"esriGeometryMultiPatch":return function(t,n,e,r,o){for(const s of n){const{geometry:n,attributes:i,centroid:u}=s,c=(0,l.Pv)(n),f=(0,l.W0)(n);t.push(new a.Om(n?j(n,e&&c,r&&f):null,i,u?x(u,!1,!1):null,(0,h.W)(s,o),s.displayId,s.distance,s.vertexCount))}return t}(t,n,o,s,i);default:d().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${e}'`)),J(t)}return t}function Z(t,n,e,r){F[0]=t,S(G,F,n,e,r);const o=G[0];return J(G),J(F),o}function k(t,n=(0,l.Pv)(t),e=(0,l.W0)(t)){return null==t?null:(0,l.fT)(t)?x(t,n,e):(0,l.Bi)(t)?j(t,n,e):(0,l.Rg)(t)?P(t,n,e):(0,l.U9)(t)?T(t,n,e):void d().error("convertFromGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${t}'`))}function E(t,n,e,o){if(null==t)return null;const s="coords"in t?t:t.geometry;if(null==s)return null;switch(n){case"esriGeometryPoint":return b(s,e,o);case"esriGeometryMultipoint":return N(s,e,o);case"esriGeometryPolyline":return A(s,e,o);case"esriGeometryPolygon":return R(s,e,o);default:return d().error("convertToGeometry:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${n}'`)),null}}function S(t,n,e,o,s){if(J(t),null==e)return function(t,n){for(const e of n)t.push({attributes:e.attributes});return t}(t,n);switch(e){case"esriGeometryPoint":return function(t,n,e,r){for(const{geometry:o,attributes:s}of n)t.push({attributes:s,geometry:b(o,e,r)});return t}(t,n,o,s);case"esriGeometryMultipoint":return function(t,n,e,r){for(const{geometry:o,attributes:s}of n)t.push({geometry:o&&N(o,e,r),attributes:s});return t}(t,n,o,s);case"esriGeometryPolyline":return function(t,n,e,r){for(const{geometry:o,attributes:s}of n)t.push({geometry:o&&A(o,e,r),attributes:s});return t}(t,n,o,s);case"esriGeometryPolygon":return function(t,n,e,r){for(const{geometry:o,attributes:s,centroid:i}of n){const n=R(o,e,r),u=b(i,!1,!1);t.push(i?{geometry:n,attributes:s,centroid:u}:{geometry:n,attributes:s})}return t}(t,n,o,s);default:d().error("convertToFeatureSet:unknown-geometry",new r.A("internal:geometry",`Unable to parse unknown geometry type '${e}'`))}return t}function C(t){const{spatialReference:n,transform:e,fields:r,hasM:o,hasZ:s,features:i,geometryType:u,exceededTransferLimit:l,queryGeometry:a,queryGeometryType:c}=t,f={features:S([],i,u,s,o),fields:r,geometryType:u,spatialReference:n,queryGeometry:E(a,c,s,o)};return e&&(f.transform=e),l&&(f.exceededTransferLimit=l),o&&(f.hasM=o),s&&(f.hasZ=s),f}function L(t,n){const e=new c.A,{hasM:r,hasZ:o,features:s,spatialReference:i,geometryType:u,exceededTransferLimit:l,transform:a,fields:f,globalIdFieldName:h}=t;return f&&(e.fields=f),e.geometryType=u??null,e.spatialReference=i??null,s&&q(e.features,s,u,o,r,n),l&&(e.exceededTransferLimit=l),r&&(e.hasM=r),o&&(e.hasZ=o),a&&(e.transform=a),h&&(e.globalIdFieldName=h),e}function z(t,n){const{geometryType:e,features:r}=n;if(!t)return n;for(let n=0;n<r.length;n++){const o=r[n],s=o.weakClone();s.geometry=Y(o.geometry,e,t),s.centroid=Y(o.centroid,"esriGeometryPoint",t),r[n]=s}return n.transform=t,n}function Y(t,n,e,r,o,s=!1){if(null==t)return null;if(!t?.coords.length)return null;const i=m[n],{coords:u,lengths:l,stride:a,hasZ:c,hasM:h}=t;r??=c,o??=h;const d=new f.A([],[],r,o),I=d.stride,w=v(c,h,r,o);let b=0;const x=[0,0,0,0].slice(I),N=s?y:p,T=s?M:g;function A(){w(u,b,x,0),b+=a,x[0]=N(e,x[0]),x[1]=T(e,x[1])}if(t.isPoint)return A(),d.coords.push(...x),d;let P=0;for(const t of l){if(t<i)continue;let n=1;A(),d.coords.push(...x);let[e,r]=x;for(let o=1;o<t;o++){A();const[t,o]=x;e===t&&r===o||(s||(x[0]-=e,x[1]-=r),d.coords.push(...x),e=t,r=o,n++)}n>=i?(d.lengths.push(n),P=d.coords.length):J(d.coords,P)}return J(d.coords,P),d.coords.length?d:null}function _(t,n,e,r=t.hasZ,o=t.hasM){if(!t.coords.length)return null;const s=m[n],{coords:i,lengths:u,stride:l,hasZ:a,hasM:c}=t,h=new f.A([],[],r,o),d=h.stride,p=v(a,c,r,o);if(t.isPoint)return p(i,0,h.coords,0),h;let g=0;const y=e*e;for(const t of u){if(t<s){g+=t*l;continue}const n=h.coords.length/d,e=g,r=g+(t-1)*l;p(i,e,h.coords,h.coords.length),V(h.coords,i,l,y,p,e,r),p(i,r,h.coords,h.coords.length);const o=h.coords.length/d-n;o>=s?h.lengths.push(o):J(h.coords,n*d),g+=t*l}return h.coords.length?h:null}function W(t,n,e,r){const o=t[n],s=t[n+1],i=t[e],u=t[e+1],l=t[r],a=t[r+1];let c=i,f=u,h=l-c,d=a-f;if(0!==h||0!==d){const t=((o-c)*h+(s-f)*d)/(h*h+d*d);t>1?(c=l,f=a):t>0&&(c+=h*t,f+=d*t)}return h=o-c,d=s-f,h*h+d*d}function V(t,n,e,r,o,s,i){let u,l=r,a=0;for(let t=s+e;t<i;t+=e)u=W(n,t,s,i),u>l&&(a=t,l=u);l>r&&(a-s>e&&V(t,n,e,r,o,s,a),o(n,a,t,t.length),i-a>e&&V(t,n,e,r,o,a,i))}function U(t,n){if(!n?.coords?.length)return null;let e=Number.POSITIVE_INFINITY,r=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY;const{coords:l,stride:a}=n;for(let t=0;t<l.length;t+=a){const n=l[t],i=l[t+1];e=Math.min(e,n),o=Math.max(o,n),r=Math.min(r,i),s=Math.max(s,i)}return(0,i.is)(t)?(0,i.BI)(t,e,r,o,s):(0,u.fA)(e,r,o,s,t),t}function $(t,n){const{coords:e,lengths:r,stride:o,hasZ:i,hasM:u}=t;if(!e.length)return void(r.length=0);(0,s.Lw)(n);const{originPosition:l,scale:a,translate:c}=n,f=Q;f.originPosition=l;const h=f.scale;h[0]=a[0]??1,h[1]=-(a[1]??1),h[2]=a[2]??1,h[3]=a[3]??1;const d=f.translate;if(d[0]=c[0]??0,d[1]=c[1]??0,d[2]=c[2]??0,d[3]=c[3]??0,u&&!i&&(h[2]=h[3],d[2]=d[3]),!r.length){for(let t=0;t<o;++t)e[t]=I(f,e[t],t);return void(r.length=0)}let m=0;for(let t=0;t<r.length;t++){const n=r[t];r[t]=n;for(let t=0;t<o;++t)e[m+t]=I(f,e[m+t],t);let s=e[m],i=e[m+1];m+=o;for(let t=1;t<n;t++,m+=o){s+=e[m]*h[0],i+=e[m+1]*h[1],e[m]=s,e[m+1]=i;for(let t=2;t<o;++t)e[m+t]=I(f,e[m+t],t)}}}function B(t,n,e,r){let o=0,s=t[r*n],i=t[r*(n+1)];for(let u=1;u<e;u++){const e=s+t[r*(n+u)],l=i+t[r*(n+u)+1],a=(e-s)*(l+i);s=e,i=l,o+=a}return.5*o}function D(t,n){const{coords:e,lengths:r}=t;let o=0,s=0;for(let t=0;t<r.length;t++){const i=r[t];s+=B(e,o,i,n),o+=i}return Math.abs(s)}function J(t,n=0){t.length!==n&&(t.length=n)}const Q={originPosition:"lowerLeft",scale:[1,1,1,1],translate:[0,0,0,0]}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1560,1994,6344],{68197(e,t,r){r.d(t,{A:()=>u});var i=r(40876),n=r(4576),s=r(34727),o=r(56507);function l(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function a(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,i=new u){return i.r=Math.round(e.r+(t.r-e.r)*r),i.g=Math.round(e.g+(t.g-e.g)*r),i.b=Math.round(e.b+(t.b-e.b)*r),i.a=e.a+(t.a-e.a)*r,i._sanitize()}static fromRgb(e,t){const r=(0,i.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,i.oW)(e);return r?u.fromArray(r,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 r=(0,i.Eq)(e);return r?u.fromArray(r,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,n.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,r=e?.digits??6,i=3===r||4===r,n=4===r||8===r,s=`#${a(this.r,i)}${a(this.g,i)}${a(this.b,i)}${n?a(Math.round(255*this.a),i):""}`;return t?s.toUpperCase():s}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),r=l(this.g),i=l(this.b);return 0===e||1!==this.a?[t,r,i,l(255*this.a)]:[t,r,i]}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,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(e,t,r,i){this.r=e,this.g=t,this.b=r,this.a=i}}u.prototype.declaredClass="esri.Color"},52106(e,t,r){r.d(t,{A:()=>x});var i,n,s=r(5482),o=r(37838),l=r(69540),a=r(51447),u=r(25482),c=r(53966),p=r(36708),d=r(24326),h=r(91429),f=r(12195),y=r(65864),m=r(50498),g=r(55156),v=r(60950),b=r(54339),w=r(94128),M=r(33910);function S(e){if(null==e)return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,l.OU)(u.o)){static{i=w.Z}static{n=this}constructor(e){super(e),this[i]=!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)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,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,v.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,b.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,b.r)(this,t):null}getGlobalId(){const e=(0,g.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:S(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,f.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 r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const n={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(n.action=i),"attributes"===e&&(n.attributeName=i),this.layer.graphicChanged(n)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,s.Cg)([(0,h.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,y.rS)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,s.Cg)([(0,h.MZ)({value:null})],x.prototype,"attributes",null),(0,s.Cg)([(0,h.MZ)({value:null,types:m.yR,json:{read:y.rS}})],x.prototype,"geometry",null),(0,s.Cg)([(0,h.MZ)()],x.prototype,"distance",void 0),(0,s.Cg)([(0,h.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,s.Cg)([(0,h.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,s.Cg)([(0,h.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,s.Cg)([(0,h.MZ)({type:o.A,value:null})],x.prototype,"popupTemplate",null),(0,s.Cg)([(0,h.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,s.Cg)([(0,h.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],x.prototype,"statisticsAggregatedIds",void 0),(0,s.Cg)([(0,h.MZ)({value:null,types:M.Es})],x.prototype,"symbol",null),(0,s.Cg)([(0,h.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,s.Cg)([(0,h.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=n=(0,s.Cg)([(0,h.$K)("esri.Graphic")],x)},40876(e,t,r){r.d(t,{Eq:()=>h,G1:()=>y,TS:()=>s,V6:()=>n,Vm:()=>f,ay:()=>a,c1:()=>m,c4:()=>o,j5:()=>u,lT:()=>p,oW:()=>c,xV:()=>b});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return!!i[e]||!!i[e.toLowerCase()]}function s(e){return i[e]??i[e.toLowerCase()]}function o(e){return[...s(e)]}function l(e,t,r){r<0&&++r,r>1&&--r;const i=6*r;return i<1?e+(t-e)*i:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function a(e,t,r,i=1){const n=(e%360+360)%360/360,s=r<=.5?r*(t+1):r+t-r*t,o=2*r-s;return[Math.round(255*l(o,s,n+1/3)),Math.round(255*l(o,s,n)),Math.round(255*l(o,s,n-1/3)),i]}function u(e){const t=e.length>5,r=t?8:4,i=(1<<r)-1,n=t?1:17,s=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 s&&(a=o&i,o>>=r,l[3]=n*a/255),a=o&i,o>>=r,l[2]=n*a,a=o&i,o>>=r,l[1]=n*a,a=o&i,o>>=r,l[0]=n*a,l}function c(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),r=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),n=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,i+16*i,(n+16*n)/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 p(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&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"===r&&3===e.length||"hsla"===r&&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]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?y(e[3]):1,e}function h(e){let t=n(e)?s(e):null;return t??=p(e),t??=c(e),t}function f(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function y(e){return g(e,0,1)}function m(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const v=1/2.2;function b(e){return e**v}r.d(t,["iw",0,v])},66344(e,t,r){r.d(t,{q:()=>l});const i=!!(0,r(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 r=this._db.get(e.id+t);return r?.size??0}put(e,t,r,n,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!==r&&this._notifyRemove(t,l.entry,l.size,0)),n>this._maxSize)return void this._notifyRemove(t,r,n,0);if(void 0===r)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,r,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(t,new s(r,n,a)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const r=this._db.get(t);if(!r)return;this._size-=r.size,e.size-=r.size;let i=r.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,r.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}r.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const r=this._db.get(t);if(r)return this._size-=r.size,e.size-=r.size,this._db.delete(t),++this._hit,r.entry;++this._miss}get(e,t){t=e.id+t;const r=this._db.get(t);if(void 0!==r)return this._db.delete(t),r.lives=r.lifetime,this._db.set(t,r),++this._hit,r.entry;++this._miss}peek(e,t){const r=this._db.get(e.id+t);return r?++this._hit:++this._miss,r?.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={},r=new Array;this._db.forEach((e,i)=>{const n=e.lifetime;r[n]=(r[n]||0)+e.size,this._clients.forEach(r=>{const{id:n,name:s}=r;if(i.startsWith(n)){const r=t[s]||0;t[s]=r+e.size}})});const i={};this._clients.forEach(e=>{const r=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[r]||0;t[r]=n,i[r]=Math.round(100*e.hitRate)+"%"}else i[r]="0%"});const n=Object.keys(t);n.sort((e,r)=>t[r]-t[e]),n.forEach(r=>e[r]=Math.round(t[r]/2**20)+"MB / "+i[r]);for(let t=r.length-1;t>=0;--t){const i=r[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,r)=>{r.startsWith(t)&&(this._size-=e.size,this._db.delete(r),this._notifyRemove(r,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,r]of this._db)t.startsWith(e.id)&&(yield r.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,r,i){const n=this._clients.get(e.split(o)[0])?.removeFunc,s=n?.(t,i,r);return"number"==typeof s?s: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 r=t??this;if(r.size<=e)return;const i=t?.id;let n=!0;for(;n;){n=!1;for(const[s,l]of this._db)if(0===l.lifetime&&(!i||s.startsWith(i))){const i=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,l,i),r.size<=.9*e)return;n||=this._db.has(s)}}for(const[n,s]of this._db)if(!i||n.startsWith(i)){const i=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,s,i),r.size<=.9*e)return}}_purgeItem(e,t,r){if(this._db.delete(e),t.lives<=1){this._size-=t.size,r&&(r.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,r&&(r.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 s{constructor(e,t,r){this.entry=e,this.size=t,this.lifetime=r,this.lives=r}}const o=":";class l{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,r=1){this._storage.put(this,e,t,r,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,r){r.d(t,{Ui:()=>d});var i=r(69622),n=r(7762),s=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof i.A}function a(e){return e instanceof n.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof n.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const i=a(e),n=a(t);if(0===i.length&&0===n.length)return;if(!i.length||!n.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 s=n.filter(e=>!i.includes(e)),d=i.filter(e=>!n.includes(e)),h=i.filter(r=>n.includes(r)&&u(e,r)!==u(t,r)).concat(s,d).sort(),f=c(e);if(f&&o.has(f)&&h.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=l(e)&&l(t);for(const i of h){const n=u(e,i),s=u(t,i);let o;if((m||"function"!=typeof n&&"function"!=typeof s)&&n!==s&&(null!=n||null!=s)){if(r&&r[i]&&"function"==typeof r[i])o=r[i]?.(n,s);else if(n instanceof Date&&s instanceof Date){if(n.getTime()===s.getTime())continue;o={type:"complete",oldValue:n,newValue:s}}else o="object"==typeof n&&"object"==typeof s&&c(n)===c(s)?p(n,s):{type:"complete",oldValue:n,newValue:s};null!=o&&(null!=y?y.diff[i]=o:y={type:"partial",diff:{[i]:o}})}}return y}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&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093(e,t,r){function i(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function n(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>n,vt:()=>i});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:n,create:i,fromValues:function(e,t,r,i,n,s,o,l,a,u,c,p,d,h,f,y){return[e,t,r,i,n,s,o,l,a,u,c,p,d,h,f,y]}},Symbol.toStringTag,{value:"Module"})),r.d(t,["zK",0,s])},35522(e,t,r){r.d(t,{$A:()=>C,Bw:()=>s,C:()=>o,Cc:()=>A,DI:()=>S,Io:()=>v,Ln:()=>g,Om:()=>I,Qr:()=>p,Re:()=>u,S8:()=>x,T9:()=>y,WQ:()=>a,Z0:()=>_,_S:()=>h,aI:()=>Z,ei:()=>F,fw:()=>E,gL:()=>T,hG:()=>b,hZ:()=>l,hs:()=>m,jk:()=>f,lw:()=>c,m3:()=>w,oW:()=>z,t2:()=>R,tn:()=>d,ze:()=>M});var i=r(51850),n=r(34304);function s(e){const t=e[0],r=e[1],i=e[2];return Math.sqrt(t*t+r*r+i*i)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function l(e,t,r,i){return e[0]=t,e[1]=r,e[2]=i,e}function a(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function p(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function y(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function m(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function g(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e[2]=t[2]+r[2]*i,e}function v(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+i*i+n*n)}function b(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return r*r+i*i+n*n}function w(e){const t=e[0],r=e[1],i=e[2];return t*t+r*r+i*i}function M(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function S(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function x(e,t){const r=t[0],i=t[1],n=t[2];let s=r*r+i*i+n*n;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function I(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function C(e,t,r){const i=t[0],n=t[1],s=t[2],o=r[0],l=r[1],a=r[2];return e[0]=n*a-s*l,e[1]=s*o-i*a,e[2]=i*l-n*o,e}function A(e,t,r,i){const n=t[0],s=t[1],o=t[2];return e[0]=n+i*(r[0]-n),e[1]=s+i*(r[1]-s),e[2]=o+i*(r[2]-o),e}function _(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=r[0]*i+r[4]*n+r[8]*s+r[12],e[1]=r[1]*i+r[5]*n+r[9]*s+r[13],e[2]=r[2]*i+r[6]*n+r[10]*s+r[14],e}function F(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=i*r[0]+n*r[3]+s*r[6],e[1]=i*r[1]+n*r[4]+s*r[7],e[2]=i*r[2]+n*r[5]+s*r[8],e}function T(e,t,r){return E(e,t,r[0],r[1],r[2],r[3])}function E(e,t,r,i,n,s){const o=t[0],l=t[1],a=t[2],u=i*a-n*l,c=n*o-r*a,p=r*l-i*o,d=i*p-n*c,h=n*u-r*p,f=r*c-i*u,y=2*s;return e[0]=o+u*y+2*d,e[1]=l+c*y+2*h,e[2]=a+p*y+2*f,e}const P=(0,i.vt)(),O=(0,i.vt)();function R(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function Z(e,t){if(e===t)return!0;const r=e[0],i=e[1],s=e[2],o=t[0],l=t[1],a=t[2],u=(0,n.FD)();return Math.abs(r-o)<=u*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(s-a)<=u*Math.max(1,Math.abs(s),Math.abs(a))}function z(e,t,r){const i=r[0]-t[0],n=r[1]-t[1],s=r[2]-t[2];let o=i*i+n*n+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=i*o,e[1]=n*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const j=u,N=c,L=p,k=v,G=b,D=s,q=w;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:a,angle:function(e,t){x(P,e),x(O,t);const r=I(P,O);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(e,t,r,i,n,s){const o=1-s,l=o*o,a=s*s,u=l*o,c=3*s*l,p=3*a*o,d=a*s;return e[0]=t[0]*u+r[0]*c+i[0]*p+n[0]*d,e[1]=t[1]*u+r[1]*c+i[1]*p+n[1]*d,e[2]=t[2]*u+r[2]*c+i[2]*p+n[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:o,cross:C,crossAndNormalize:function(e,t,r){const i=t[0],n=t[1],s=t[2],o=r[0],l=r[1],a=r[2],u=n*a-s*l,c=s*o-i*a,p=i*l-n*o,d=Math.sqrt(u*u+c*c+p*p);return e[0]=u/d,e[1]=c/d,e[2]=p/d,e},direction:z,dist:k,distance:v,div:L,divide:p,dot:I,equals:Z,exactEquals:R,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,i,n,s){const o=s*s,l=o*(2*s-3)+1,a=o*(s-2)+s,u=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*l+r[0]*a+i[0]*u+n[0]*c,e[1]=t[1]*l+r[1]*a+i[1]*u+n[1]*c,e[2]=t[2]*l+r[2]*a+i[2]*u+n[2]*c,e},inverse:S,len:D,length:s,lerp:A,max:y,min:f,mul:N,multiply:c,negate:M,normalize:x,random:function(e,t=1){const r=n.Ov,i=2*r()*Math.PI,s=2*r()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(i)*o,e[1]=Math.sin(i)*o,e[2]=s*t,e},rotateX:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0],s[1]=n[1]*Math.cos(i)-n[2]*Math.sin(i),s[2]=n[1]*Math.sin(i)+n[2]*Math.cos(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateY:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[2]*Math.sin(i)+n[0]*Math.cos(i),s[1]=n[1],s[2]=n[2]*Math.cos(i)-n[0]*Math.sin(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateZ:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0]*Math.cos(i)-n[1]*Math.sin(i),s[1]=n[0]*Math.sin(i)+n[1]*Math.cos(i),s[2]=n[2],e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:g,set:l,sign:h,sqrDist:G,sqrLen:q,squaredDistance:b,squaredLength:w,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:j,subtract:u,transformMat3:F,transformMat4:_,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:T,transformQuatValues:E},Symbol.toStringTag,{value:"Module"})),r.d(t,["Il",0,D,"jb",0,j,"lo",0,G,"uE",0,q,"xg",0,k])},90629(e,t,r){r.d(t,{Lz:()=>n,PN:()=>s,cr:()=>o,gs:()=>a,r_:()=>u,tc:()=>l}),r(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function n(e){return e?e/72*96:0}function s(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(i);if(t){const r=Number(t[1]),i=t[3]&&t[3].toLowerCase(),n=e.startsWith("-"),o="px"===i?s(r):r;return n?-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,r=0){return[e,t,r]}},13069(e,t,r){r.d(t,{AG:()=>l,lk:()=>n,vD:()=>o,yS:()=>s});const i="randomUUID"in crypto;function n(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${n().toUpperCase()}}`}function o(){return`{${n()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},83027(e,t,r){const i=r(29953).ho;r.d(t,["h",0,i])},159(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),s=r(69540),o=r(25482),l=r(91429),a=r(99157);let u=i=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,n.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>a});var i,n=r(5482),s=r(69540),o=r(25482),l=r(91429);let a=i=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,n.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],a.prototype,"isInverse",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkt",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],a.prototype,"wkid",void 0),a=i=(0,n.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>n});var i=r(49208);function n(e,t,r,n,s,o,l=Math.floor(e.length/3)){const a=(0,i.jd)(t,s);if(null==a)return!1;if(a===i.pO){if(e===n&&r===o)return!0;const t=r+3*l;for(let i=r,s=o;i<t;i++,s++)n[s]=e[i]??0;return!0}const u=r+3*l;for(let t=r,i=o;t<u;t+=3,i+=3)a(e,t,n,i);return!0}},49208(e,t,r){r.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h});var i=r(34727),n=r(86211),s=r(73941),o=r(79258),l=r(34403),a=r(21325);const u={2:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:y,11:m,2:h,4:A},5:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:y,11:m,2:h,4:A},7:{5:null,7:h,9:null,10:h,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,r,i){const n=e[t]/O,s=P-2*Math.atan(Math.exp(-e[t+1]/O)),o=O+(e[t+2]??0),l=Math.cos(s)*o;r[i]=Math.cos(n)*l,r[i+1]=Math.sin(n)*l,r[i+2]=Math.sin(s)*o},6:null,8:null,0:null,3:h,11:function(e,t,r,i){f(e,t,r,i),m(r,i,r,i)},2:f,4:function(e,t,r,i){f(e,t,r,i),A(r,i,r,i)}},4:{5:_,7:null,9:null,10:_,1:function(e,t,r,i){_(e,t,r,i),M(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){_(e,t,r,i),y(r,i,r,i)},11:function(e,t,r,i){_(e,t,r,i),m(r,i,r,i)},2:_,4:h},1:{5:C,7:null,9:null,10:C,1:h,6:null,8:null,0:null,3:function(e,t,r,i){C(e,t,r,i),y(r,i,r,i)},11:function(e,t,r,i){C(e,t,r,i),m(r,i,r,i)},2:C,4:function(e,t,r,i){C(e,t,r,i),A(r,i,r,i)}},6:{5:null,7:I,9:null,10:I,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:x,10:x,1:null,6:null,8:h,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:M,6:w,8:b,0:null,3:y,11:m,2:h,4:A},11:{5:g,7:null,9:null,10:g,1:function(e,t,r,i){g(e,t,r,i),M(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){g(e,t,r,i),y(r,i,r,i)},11:h,2:g,4:function(e,t,r,i){g(e,t,r,i),A(r,i,r,i)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(F.source.spatialReference===e&&F.dest.spatialReference===t)return F;const r=d(e,F.source),i=d(t,F.dest);return 0===r&&0===i?(0,a.aI)(e,t)?F.projector=h:F.projector=null:F.projector=u[r][i],F}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,n.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,r,i){e!==r&&(r[i++]=e[t++],r[i++]=e[t++],r[i]=e[t]??0)}function f(e,t,r,i){r[i]=E*(e[t]/O),r[i+1]=E*(P-2*Math.atan(Math.exp(-e[t+1]/O))),r[i+2]=e[t+2]??0}function y(e,t,r,n){!function(e,t,r,n,s){const o=.4999999*Math.PI,l=(0,i.qE)(T*e[t+1],-o,o),a=Math.sin(l);r[n++]=T*e[t]*s.radius,r[n++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[n]=e[t+2]??0}(e,t,r,n,o.$O)}function m(e,t,r,i){r[i]=e[t]*R,r[i+1]=e[t+1]*R,r[i+2]=e[t+2]??0}function g(e,t,r,i){r[i]=e[t]*Z,r[i+1]=e[t+1]*Z,r[i+2]=e[t+2]??0}function v(e,t,r,i,n){const s=n+(e[t+2]??0),o=T*e[t],l=T*e[t+1],a=Math.cos(l)*s;r[i]=Math.cos(o)*a,r[i+1]=Math.sin(o)*a,r[i+2]=Math.sin(l)*s}function b(e,t,r,i){v(e,t,r,i,o.Sw.radius)}function w(e,t,r,i){v(e,t,r,i,o.sH.radius)}function M(e,t,r,i){v(e,t,r,i,o.$O.radius)}function S(e,t,r,n,s){const o=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(o*o+l*l+a*a),c=(0,i.YN)(a/(0===u?1:u)),p=Math.atan2(l,o);r[n++]=E*p,r[n++]=E*c,r[n]=u-s}function x(e,t,r,i){S(e,t,r,i,o.Sw.radius)}function I(e,t,r,i){S(e,t,r,i,o.sH.radius)}function C(e,t,r,i){S(e,t,r,i,o.$O.radius)}function A(e,t,r,i){!function(e,t,r,i,n){const s=T*e[t],o=T*e[t+1],l=e[t+2]??0,a=Math.sin(o),u=Math.cos(o),c=n.radius/Math.sqrt(1-n.eccentricitySquared*a*a);r[i++]=(c+l)*u*Math.cos(s),r[i++]=(c+l)*u*Math.sin(s),r[i++]=(c*(1-n.eccentricitySquared)+l)*a}(e,t,r,i,o.$O)}function _(e,t,r,i){const n=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,p,d,h,f,y,m,g,v,b,w,M,S,x,I,C,A,_,F,T,P;c=Math.abs(u),p=s*s+a*a,d=Math.sqrt(p),h=p+u*u,f=Math.sqrt(h),T=Math.atan2(a,s),y=u*u/h,m=p/h,x=n.a2/f,I=n.a3-n.a4/f,m>.3?(g=c/f*(1+m*(n.a1+x+y*I)/f),F=Math.asin(g),b=g*g,v=Math.sqrt(1-b)):(v=d/f*(1-y*(n.a5-x-m*I)/f),F=Math.acos(v),b=1-v*v,g=Math.sqrt(b)),w=1-o.$O.eccentricitySquared*b,M=o.$O.radius/Math.sqrt(w),S=n.a6*M,x=d-M*v,I=c-S*g,A=v*x+g*I,C=v*I-g*x,_=C/(S/w+A),F+=_,P=A+C*_/2,u<0&&(F=-F),r[i++]=E*T,r[i++]=E*F,r[i]=P}const F={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},T=(0,i.kU)(1),E=(0,i.KJ)(1),P=.5*Math.PI,O=o.$O.radius,R=O*Math.PI/180,Z=180/(O*Math.PI);r.d(t,["w5",0,u])},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>U,initializeProjection:()=>H,isEqualBaseGCS:()=>V,isLoaded:()=>O,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>Z,load:()=>j,project:()=>N,projectAsync:()=>J,projectExtent:()=>ne,projectMany:()=>L,projectMultipoint:()=>Y,projectOrLoad:()=>G,projectOrLoadMany:()=>D,projectPoint:()=>W,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>z,test:()=>B,tryProject:()=>k,unload:()=>$});var i=r(49186),n=r(17676),s=r(62788),o=r(95488),l=r(51850),a=r(21276),u=r(73941),c=r(5443),p=r(91075),d=r(48526),h=r(86738),f=r(39829),y=r(82799),m=r(16930),g=r(98764),v=r(159),b=r(9762),w=r(49208);function M(e,t,r,i,n,s){return S[0]=e,S[1]=t,S[2]=r,(0,b.projectBuffer)(S,i,0,n,s,0)}const S=(0,l.vt)();var x=r(60408),I=r(21325),C=r(52006);let A=null,_=null,F=null,T=null,E={};const P=new o.I;function O(){return!!(_?.isLoaded()&&F?.isLoaded()&&T?.isLoaded())}function R(){return!!O()||((0,s.gc)(P),j(),!1)}function Z(e,t){return!e||!t||U(e,t)||R()}function z(e,t){return!U(e,t)&&!O()}async function j(e){null==A&&(A=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(_=e,_.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(F=e,F.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(T=e,T.load()))])),await A,(0,n.Te)(e),P.notify()}function N(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),L(e,e[0].spatialReference,t,r)):((0,a.f)(e),L([e],e.spatialReference,t,r)[0])}function L(e,t,r,i){if(null==t||null==r)return e;if(U(t,r,i))return e.map(e=>K(e,t,r));if(null==i?.geographicTransformation&&(0,u.jA)(t))return L(e.map(e=>K(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(r))return L(e,t,m.A.WGS84).map(e=>K(e,m.A.WGS84,r));if(!O())throw new q;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:T.getTransformation(t,r,i.areaOfInterestExtent)||new v.A};else if(!i?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let n=E[e];n||(n=T.getTransformation(t,r)||new v.A,E[e]=n),i={geographicTransformation:n,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?_.executeMany(e,r,i):F.executeMany(e,r,i)}function k(e,t,r){try{return N(e,t,r)}catch(e){return null}}function G(e,t){const r=D([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function D(e,t,r){if(!O())for(const r of e)if(null!=r&&!(0,I.aI)(r.spatialReference,t)&&(0,I.fn)(r.spatialReference)&&(0,I.fn)(t)&&!U(r.spatialReference,t))return(0,s.gc)(P),{pending:j(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,I.aI)(e.spatialReference,t)?e:(0,I.fn)(e.spatialReference)&&(0,I.fn)(t)?N(e,t,r):null)}}class q extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function $(){A=null,_=null,F=null,T=null,E={}}const B={get loadPromise(){return A}};async function J(e,t,r){if((0,n.Te)(r),!e)return e;const i=D(Array.isArray(e)?e:[e],t,r);if(i.pending)return await i.pending,(0,n.Te)(r),J(e,t,r);const s=i.geometries??[];return Array.isArray(e)?s:s[0]}function U(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,I.aI)(e,t)||(0,I.fn)(e)&&(0,I.fn)(t)&&!!(0,w.jd)(e,t))}function V(e,t){if((0,I.aI)(e,t))return!0;if(!(0,I.fn)(e)||!(0,I.fn)(t))return!1;const r=(0,I.oT)(e)||(0,I.K8)(e)||(0,I.x1)(e),i=(0,I.oT)(t)||(0,I.K8)(t)||(0,I.x1)(t);return r&&i}async function H(e,t,r,i){if(O())return(0,n.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:r,options:n}of e)if(t&&r&&!U(t,r,n))return j(i)}else if(e&&t&&!U(e,t,r))return j(i);return(0,n.NO)(i)}function K(e,t,r){return e?(0,x.fT)(e)?Q(e,t,new h.A,r,0):(0,x.ZC)(e)?se(e,t,new c.A,r,0):(0,x.Bi)(e)?ie(e,t,new f.A,r,0):(0,x.Rg)(e)?te(e,t,new y.A,r,0):(0,x.U9)(e)?X(e,t,new d.A,r,0):null:null}function W(e,t,r=t.spatialReference,i=0){return null!=r&&null!=e.spatialReference&&null!=Q(e,e.spatialReference,t,r,i)}function Q(e,t,r,i,n){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:n,(0,b.projectBuffer)(ue,t,0,ue,i,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=i,void 0!==s||(0,u.xP)(i)?(r.z=ue[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function Y(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,i)}function X(e,t,r,i,n){const{points:s,hasZ:o,hasM:l}=e,a=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],o?e[2]:n);if(!(0,b.projectBuffer)(c,t,0,c,i,0,u))return null;const p=ae(o,i);for(let e=0;e<u;++e){const t=3*e,r=c[t],i=c[t+1];p&&l?a.push([r,i,c[t+2],s[e][3]]):p?a.push([r,i,c[t+2]]):l?a.push([r,i,s[e][2]]):a.push([r,i])}return r.points=a,r.spatialReference=i,r.hasZ=o,r.hasM=l,r}function ee(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,i)}function te(e,t,r,i,n){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,r.curvePaths=[],i,n):oe(o,l??!1,a??!1,t,r.paths,i,n)))return null;const u=ae(l,i);return r.spatialReference=i,r.hasZ=u,r.hasM=a,r}function re(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=ie(e,e.spatialReference,t,r,i)}function ie(e,t,r,i,n){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,r.curveRings=[],i,n):oe(o,l??!1,a??!1,t,r.rings,i,n))?(r.spatialReference=i,r.hasZ=ae(l,i),r.hasM=a,r):null}function ne(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=se(e,e.spatialReference,t,r,i)}function se(e,t,r,i,n){const{xmin:s,ymin:o,xmax:l,ymax:a,hasZ:u,hasM:c}=e;if(!M(s,o,u?e.zmin:n,t,ue,i))return null;const p=ae(u,i);return r.xmin=ue[0],r.ymin=ue[1],p&&(r.zmin=ue[2]),M(l,a,u?e.zmax:n,t,ue,i)?(r.xmax=ue[0],r.ymax=ue[1],p&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=i,r):null}function oe(e,t,r,i,n,s,o=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:o);if(!(0,b.projectBuffer)(l,i,0,l,s,0))return!1;let a=0;n.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(a,a+=3);c||t.pop(),r&&t.push(i[u]),e.push(t)}n.push(e)}return!0}function le(e,t,r,i,n,s,o=0){const l=new Array;for(const r of e)for(const e of r){if((0,C.FG)(e))return!1;if((0,C.aO)(e)){const[r,i]=e.c;l.push(r[0],r[1],t?r[2]:o,i[0],i[1],o);continue}if((0,C.n1)(e)){const[r,i,n]=e.b;l.push(r[0],r[1],t?r[2]:o,i[0],i[1],o,n[0],n[1],o);continue}const r=e;l.push(r[0],r[1],t?r[2]:o)}if(!(0,b.projectBuffer)(l,i,0,l,s,0))return!1;let a=0;n.length=0;const u=t?3:2,c=ae(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(a,a+=3);if(c||t.pop(),r&&t.push((0,C.yP)(i)[u]),(0,C.FG)(i))return!1;if((0,C.aO)(i)){const r=l[a++],i=l[a++];++a,e.push({c:[t,[r,i]]});continue}if((0,C.n1)(i)){const r=l[a++],i=l[a++];++a;const n=l[a++],s=l[a++];++a,e.push({b:[t,[r,i],[n,s]]});continue}e.push(t)}n.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,I.aI)(t,g.Y0)}const ue=(0,l.vt)()},98764(e,t,r){r.d(t,{lO:()=>c});var i=r(73941),n=r(16930),s=r(21325);const o=new n.A(i.fv),l=new n.A(i.FY),a=new n.A(i.LJ),u=new n.A(i.Ro);function c(e){const t=p.get(e);if(t)return t;let r=o;if(e)if(e===l)r=l;else if(e===a)r=a;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,s.tl)(t)||(0,s.tl)(i)?r=l:((0,s.ZL)(t)||(0,s.ZL)(i))&&(r=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?r=l:e===h&&(r=a)}}}return p.set(e,r),r}const p=new Map,d=l.wkt.toUpperCase(),h=a.wkt.toUpperCase();r.d(t,["GD",0,o,"Y0",0,u])},4197(e,t,r){r.d(t,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>l,yH:()=>a});var i=r(34275),n=r(9093);function s(e){return e<=1024?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=1024?Array.from(e):new Float64Array(e)}function l(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);const r=s(e.length+t.length);for(let t=0;t<e.length;++t)r[t]=e[t];for(let i=0;i<t.length;++i)r[e.length+i]=t[i];return r}function u(e){return[...e]}function c(e){const t=(0,n.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},70328(e,t,r){r.d(t,{BI:()=>_,C:()=>o,DC:()=>d,Ej:()=>b,Ie:()=>C,Jt:()=>A,Lu:()=>M,Ne:()=>S,RF:()=>p,TF:()=>g,VL:()=>f,aI:()=>T,fA:()=>l,gE:()=>u,gX:()=>v,hZ:()=>I,iT:()=>h,is:()=>F,pg:()=>w,uJ:()=>m,vI:()=>x,vY:()=>a,vt:()=>s,w1:()=>c,yr:()=>y}),r(35522);var i=r(5443),n=(r(19419),r(4197));function s(e=P){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t){for(let r=0;r<6;r++)e[r]=t[r];return e}function l(e,t,r,i,n,o,l=s()){return l[0]=e,l[1]=t,l[2]=r,l[3]=i,l[4]=n,l[5]=o,l}function a(e,t=s()){return function(e,t,r,i=s()){return I(i,E),function(e,t,r=0,i=t.length/3){let n=e[0],s=e[1],o=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<i;e++)n=Math.min(n,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),l=Math.max(l,t[r+3*e]),a=Math.max(a,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=n,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(i,e,t,r),i}(e,0,e.length/3,t)}function u(e,t=(0,n.jh)(24)){const[r,i,s,o,l,a]=e;return t[0]=r,t[1]=i,t[2]=s,t[3]=r,t[4]=i,t[5]=a,t[6]=r,t[7]=l,t[8]=s,t[9]=r,t[10]=l,t[11]=a,t[12]=o,t[13]=i,t[14]=s,t[15]=o,t[16]=i,t[17]=a,t[18]=o,t[19]=l,t[20]=s,t[21]=o,t[22]=l,t[23]=a,t}function c(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new i.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t,r=e){r[0]=Math.min(e[0],t[0]),r[1]=Math.min(e[1],t[1]),r[2]=Math.min(e[2],t[2]),r[3]=Math.max(e[3],t[3]),r[4]=Math.max(e[4],t[4]),r[5]=Math.max(e[5],t[5])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function h(e,[t,r,i]){!function(e,t,r,i){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],r),e[2]=Math.min(e[2],i),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],r),e[5]=Math.max(e[5],i)}(e,t,r,i)}function f(e){return e[0]>=e[3]?0:e[3]-e[0]}function y(e){return e[1]>=e[4]?0:e[4]-e[1]}function m(e){return e[2]>=e[5]?0:e[5]-e[2]}function g(e){const t=f(e),r=m(e),i=y(e);return t*t+r*r+i*i}function v(e,t=[0,0,0]){return t[0]=e[0]+f(e)/2,t[1]=e[1]+y(e)/2,t[2]=e[2]+m(e)/2,t}function b(e,t=[0,0,0]){return t[0]=f(e),t[1]=y(e),t[2]=m(e),t}function w(e,t){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function M(e,t){return t[0]=e[3],t[1]=e[4],t[2]=e[5],t}function S(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function x(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function I(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function C(e){return e?I(e,E):s(E)}function A(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function _(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=n,e[5]=Number.POSITIVE_INFINITY,e}function F(e){return 6===e.length}function T(e,t,r){if(null==e||null==t)return e===t;if(!F(e)||!F(t))return!1;if(r){for(let i=0;i<e.length;i++)if(!r(e[i],t[i]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];s(),r.d(t,["qv",0,E,"v_",0,P])},34403(e,t,r){var i=r(79258);Math.PI;const n=i.$O.radius,s=i.$O.eccentricitySquared,o={a1:n*s,a2:n*s*n*s,a3:n*s*s/2,a4:n*s*n*s*2.5,a5:n*s+n*s*s/2,a6:1-s};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius,r.d(t,["TP",0,o])},60408(e,t,r){function i(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function n(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":i(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function p(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>o,U9:()=>n,W0:()=>p,ZC:()=>i,fT:()=>s,uW:()=>a})},65864(e,t,r){r.d(t,{rS:()=>c,xD:()=>d});var i=r(5443),n=r(91075),s=r(48526),o=r(86738),l=r(39829),a=r(82799),u=r(60408);function c(e){return null==e?null:e instanceof n.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)?s.A.fromJSON(e):(0,u.ZC)(e)?i.A.fromJSON(e):null}const p={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function d(e){return e&&p[e]||null}},50498(e,t,r){var i=r(66552),n=r(5443),s=r(91075),o=r(48526),l=r(86738),a=r(39829),u=r(82799);const c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:s.A,key:"type",typeMap:{extent:n.A,multipoint:o.A,point:l.A,polyline:u.A,polygon:a.A}},h=new i.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});r.d(t,["Ye",0,p,"gy",0,c,"iI",0,h,"yR",0,d])},55156(e,t,r){r.d(t,{I:()=>n});const i=Symbol("idFieldsProviderSymbol");function n(e){return(t=e)&&i in t?e[i]:void 0;var t}r.d(t,["e",0,i])},15481(e,t,r){r.r(t),r.d(t,{default:()=>ie});var i=r(5482),n=r(37838),s=r(25728),o=r(17676),l=r(84952),a=r(91429),u=r(5443),c=r(16930),p=r(50498),d=r(55156),h=r(60950),f=r(89808),y=r(99959);const m=Symbol("isGeoJSONGraphicOrigin");var g;class v extends y.A{get[(g=m,h.ym)](){return this.layer}get[d.e](){return this.layer}get[f.Q](){return this.layer}constructor(e){super(),this[g]=!0,this.type="geojson",this.layer=e}get id(){return this.layer.id}}var b=r(4146),w=r(49186),M=r(44208),S=r(92474),x=r(53966),I=r(83027),C=r(39829),A=r(64714),_=r(22671);let F=class extends S.x_{constructor(){super(...arguments),this.type="geojson",this.refresh=(0,o.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return this.sourceJSON.extent=t,r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}applyEdits(e){return this.load().then(()=>this._applyEdits(e))}openPorts(){return this.load().then(()=>this._connection.openPorts())}queryFeatures(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t)).then(e=>_.A.fromJSON(e))}queryFeaturesJSON(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatures",e?e.toJSON():null,t))}queryFeatureCount(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t))}queryObjectIds(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryObjectIds",e?e.toJSON():null,t))}queryExtent(e,t={}){return this.load(t).then(()=>this._connection.invoke("queryExtent",e?e.toJSON():null,t)).then(e=>({count:e.count,extent:u.A.fromJSON(e.extent)}))}querySnapping(e,t={}){return this.load(t).then(()=>this._connection.invoke("querySnapping",e,t))}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?.toJSON(),t)}_applyEdits(e){if(!this._connection)throw new w.A("geojson-layer-source:edit-failure","Memory source not loaded");const t=this.layer.objectIdField,r=[],i=[],n=[];if(e.addFeatures)for(const t of e.addFeatures)r.push(this._serializeFeature(t));if(e.deleteFeatures)for(const r of e.deleteFeatures)"objectId"in r&&null!=r.objectId?i.push(r.objectId):"attributes"in r&&null!=r.attributes[t]&&i.push(r.attributes[t]);if(e.updateFeatures)for(const t of e.updateFeatures)n.push(this._serializeFeature(t));return this._connection.invoke("applyEdits",{adds:r,updates:n,deletes:i}).then(({extent:e,timeExtent:t,featureEditResults:r})=>(this.sourceJSON.extent=e,t&&(this.sourceJSON.timeInfo.timeExtent=[t.start,t.end]),this._createEditsResult(r)))}_createEditsResult(e){return{addFeatureResults:e.addResults?e.addResults.map(this._createFeatureEditResult,this):[],updateFeatureResults:e.updateResults?e.updateResults.map(this._createFeatureEditResult,this):[],deleteFeatureResults:e.deleteResults?e.deleteResults.map(this._createFeatureEditResult,this):[],addAttachmentResults:[],updateAttachmentResults:[],deleteAttachmentResults:[]}}_createFeatureEditResult(e){const t=!0===e.success?null:e.error||{code:void 0,description:""};return{objectId:e.objectId,globalId:e.globalId,error:t?new w.A("geojson-layer-source:edit-failure",t.description,{code:t.code}):null}}_serializeFeature(e){const{attributes:t}=e,r=this._geometryForSerialization(e);return r?{geometry:r.toJSON(),attributes:t}:{attributes:t}}_geometryForSerialization(e){const{geometry:t}=e;return null==t?null:"mesh"===t.type||"extent"===t.type?C.A.fromExtent(t.extent):t}async _startWorker(e){this._connection=await(0,I.h)("GeoJSONSourceWorker",{strategy:(0,M.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{fields:t,spatialReference:r,hasZ:i,geometryType:n,objectIdField:s,url:o,timeInfo:l,customParameters:a}=this.layer,u="defaults"===this.layer.originOf("spatialReference"),c={url:o,customParameters:a,fields:t&&t.map(e=>e.toJSON()),geometryType:p.gy.toJSON(n),hasZ:i,objectIdField:s,timeInfo:l?l.toJSON():null,spatialReference:u?null:r&&r.toJSON()},d=await this._connection.invoke("load",c,{signal:e});for(const e of d.warnings)x.A.getLogger(this.layer).warn("#load()",`${e.message} (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{warning:e});d.featureErrors.length&&x.A.getLogger(this.layer).warn("#load()",`Encountered ${d.featureErrors.length} validation errors while loading features. (title: '${this.layer.title||"no title"}', id: '${this.layer.id??"no id"}')`,{errors:d.featureErrors}),this.sourceJSON=d.layerDefinition,this.capabilities=(0,A.f)(this.sourceJSON.hasZ,!0)}};(0,i.Cg)([(0,a.MZ)()],F.prototype,"capabilities",void 0),(0,i.Cg)([(0,a.MZ)()],F.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({constructOnly:!0})],F.prototype,"layer",void 0),(0,i.Cg)([(0,a.MZ)()],F.prototype,"sourceJSON",void 0),F=(0,i.Cg)([(0,a.$K)("esri.layers.graphics.sources.GeoJSONSource")],F);var T=r(63074),E=r(69208),P=r(6455),O=r(87718),R=r(56658),Z=r(34287),z=r(32756),j=r(8303),N=r(54310),L=r(25036),k=r(82935),G=r(63396),D=r(10873),q=r(15426),$=r(29005),B=r(20437),J=r(17036),U=r(30524),V=r(46499),H=r(39383),K=r(41214),W=r(97552),Q=r(30291),Y=r(79677),X=r(10184),ee=r(56400);const te=(0,J.p)();let re=class extends((0,z.fY)((0,P.FJ)((0,E.d)((0,R.J)((0,O.F)((0,T.dM)((0,k.e)((0,G.d)((0,L.j)((0,N.J)((0,Z.q)((0,j.A)((0,s.M)(b.A)))))))))))))){constructor(e){super(e),this.attributeTableTemplate=null,this.copyright=null,this.dateFieldsTimeZone=null,this.definitionExpression=null,this.displayField=null,this.editingEnabled=!1,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.graphicOrigin=new v(this),this.hasZ=void 0,this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="GeoJSON",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new F({layer:this}),this.spatialReference=c.A.WGS84,this.templates=null,this.title="GeoJSON",this.type="geojson"}destroy(){this.source?.destroy()}load(e){const t=this.loadFromPortal({supportedTypes:["GeoJson"],supportsData:!1},e).catch(o.QP).then(()=>this.source.load(e)).then(()=>{this.read(this.source.sourceJSON,{origin:"service",url:this.parsedUrl}),["objectIdField","fields","timeInfo"].forEach(e=>this.revertToOrigin(e,"service")),(0,U.yp)(this.renderer,this.fieldsIndex),(0,U.sv)(this.timeInfo,this.fieldsIndex)});return this.addResolvingPromise(t),Promise.resolve(this)}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}get timeInfo(){return super.timeInfo}set timeInfo(e){super.timeInfo=e}get capabilities(){return this.source?this.source.capabilities:null}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}get parsedUrl(){return(0,l.An)(this.url)}set renderer(e){(0,U.yp)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);const t=(0,l.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}async applyEdits(e,t){const{applyEdits:i}=await r.e(8628).then(r.bind(r,78628));await this.load();const n=await i(this,this.source,e,t);return this.read({extent:this.source.sourceJSON.extent,timeInfo:this.source.sourceJSON.timeInfo},{origin:"service",ignoreDefaults:!0}),n}createPopupTemplate(e){return(0,Q.tn)(this,e)}createQuery(){const e=new W.A,t=this.capabilities?.data;e.returnGeometry=!0,t&&t.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";const{timeOffset:r,timeExtent:i}=this;return e.timeExtent=null!=r&&null!=i?i.offset(-r.value,r.unit):i||null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(W.A.from(e)||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}queryObjectIds(e,t){return this.load().then(()=>this.source.queryObjectIds(W.A.from(e)||this.createQuery(),t))}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(W.A.from(e)||this.createQuery(),t))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(W.A.from(e)||this.createQuery(),t))}async queryAttributeBins(e,t){const{source:i,capabilities:n}=await this.load();(0,q.ZJ)(e,n,"GeoJSONLayer");const s=await r.e(4575).then(r.bind(r,14575)),o=await i.queryAttributeBins(s.default.from(e),t);if(o.features)for(const e of o.features)e.layer=e.sourceLayer=this;return o}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,i.Cg)([(0,a.MZ)({type:Y.A})],re.prototype,"timeExtent",void 0),(0,i.Cg)([(0,a.MZ)({type:X.A})],re.prototype,"timeOffset",void 0),(0,i.Cg)([(0,a.MZ)(D.zQ)],re.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1,write:!1}})],re.prototype,"capabilities",null),(0,i.Cg)([(0,a.MZ)({type:String})],re.prototype,"copyright",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"createQueryVersion",null),(0,i.Cg)([(0,a.MZ)((0,ee.P6)("dateFieldsTimeReference"))],re.prototype,"dateFieldsTimeZone",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],re.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:String})],re.prototype,"displayField",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"editingEnabled",void 0),(0,i.Cg)([(0,a.MZ)(D.Yj)],re.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,a.MZ)({type:[B.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"fields"}}}})],re.prototype,"fields",void 0),(0,i.Cg)([(0,a.MZ)(te.fieldsIndex)],re.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,a.MZ)({type:u.A,json:{name:"extent"}})],re.prototype,"fullExtent",void 0),(0,i.Cg)([(0,a.MZ)({type:["point","polygon","polyline","multipoint"],json:{read:{reader:p.gy.read}}})],re.prototype,"geometryType",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0,clonable:!1})],re.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean})],re.prototype,"hasZ",void 0),(0,i.Cg)([(0,a.MZ)(D.id)],re.prototype,"id",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,readOnly:!0})],re.prototype,"isTable",null),(0,i.Cg)([(0,a.MZ)(D.kF)],re.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,a.MZ)({type:[V.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:H.w},write:!0}})],re.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,a.MZ)(D.fV)],re.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,a.MZ)({type:["show","hide"]})],re.prototype,"listMode",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"layerDefinition.objectIdField",write:{ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"objectIdField"}}}})],re.prototype,"objectIdField",void 0),(0,i.Cg)([(0,a.MZ)(D.ke)],re.prototype,"opacity",void 0),(0,i.Cg)([(0,a.MZ)({type:["GeoJSON"]})],re.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,a.MZ)(te.outFields)],re.prototype,"outFields",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"parsedUrl",null),(0,i.Cg)([(0,a.MZ)(D.M6)],re.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,a.MZ)({type:n.A,json:{name:"popupInfo",write:!0}})],re.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,a.MZ)({types:K.Hg,json:{name:"layerDefinition.drawingInfo.renderer",write:!0,origins:{service:{name:"drawingInfo.renderer"},"web-scene":{types:K.XJ}}}})],re.prototype,"renderer",null),(0,i.Cg)([(0,a.MZ)(D.PY)],re.prototype,"screenSizePerspectiveEnabled",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],re.prototype,"source",void 0),(0,i.Cg)([(0,a.MZ)({type:c.A})],re.prototype,"spatialReference",void 0),(0,i.Cg)([(0,a.MZ)({type:[$.A]})],re.prototype,"templates",void 0),(0,i.Cg)([(0,a.MZ)()],re.prototype,"title",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1},readOnly:!0})],re.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)(D.OZ)],re.prototype,"url",null),re=(0,i.Cg)([(0,a.$K)("esri.layers.GeoJSONLayer")],re);const ie=re},99352(e,t,r){r.d(t,["F",0,{supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:{envelope:!0,centroid:!0,convexHull:!0},supportsStatisticsAggregatedIds:!0,supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsOutDistance:!1,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsReturnExceededLimitGeometries:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsFormatPBFWithCurves:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:0,standardMaxRecordCount:void 0,standardMaxRecordCountNoGeometry:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},"P",0,{supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}])},54339(e,t,r){function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function n(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>n})},64714(e,t,r){r.d(t,{F0:()=>l,Vx:()=>c,e2:()=>d,f:()=>h});var i=r(44208),n=r(4718),s=r(99352),o=r(93470);function l(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const a=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function c(e,t){if((0,i.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let r="";t&&(r+=`this${p(t)} = null;`);for(const t in e)r+=`this${p(t)} = ${JSON.stringify(e[t])};`;const i=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new i}catch(r){return()=>t?{[t]:null,...e}:{...e}}}function p(e){return a.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,n.o8)(e)}}]}function h(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:s.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},69208(e,t,r){var i=r(5482),n=r(91429);r.d(t,["d",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,n.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}])},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>v,KV:()=>b});var i=r(5482),n=r(93637),s=r(91429),o=r(89317),l=r(69540),a=r(7762),u=r(25482),c=r(83960),p=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let h=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.id=(0,p.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:d})],h.prototype,"maxScale",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:d})],h.prototype,"minScale",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,i.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],h);var f=r(41560),y=r(43937);let m=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(a.A.ofType(h)),this.mode="manual"}writeFilters(e,t,r,i){const n=e.toArray();"scale"===this.mode&&n.sort((e,t)=>{const r=(0,c.oW)(t.minScale,e.minScale),i=e.maxScale-t.maxScale;return 0===r?i:r}),t[r]=n.map(e=>e.toJSON(i))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,s.MZ)({type:a.A.ofType(h),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,i.Cg)([(0,y.K)("filters")],m.prototype,"writeFilters",null),(0,i.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,i.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],m);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,i.Cg)([(0,s.MZ)(v)],r.prototype,"displayFilterEnabled",void 0),(0,i.Cg)([(0,s.MZ)(b)],r.prototype,"displayFilterInfo",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:o.K,writer(e,t,r){(0,n.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},b={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:o.K},origins:{"web-scene":{write:!1,read:!1}}}}},32756(e,t,r){r.d(t,{Rr:()=>l});var i=r(5482),n=r(93637),s=r(91429),o=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new o.A;return n.read(i,r),[n]}const a={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const s=e.find(e=>!!e.field);s&&(0,n.sM)(r,[s.toJSON()],t)}}}};r.d(t,["fY",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r},"ne",0,a])},8303(e,t,r){var i=r(5482),n=r(92602),s=r(70333),o=r(11254),l=r(60999),a=r(49186),u=r(36563),c=r(53966),p=r(97768),d=r(17676),h=r(84952),f=r(91429),y=r(77548),m=r(20655),g=r(80812),v=r(41318),b=r(10407),w=r(36005),M=r(43937);const S={credential:null,user:null};r.d(t,["A",0,e=>{const t=e;let x=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,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,d.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||c.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 r.e(1204).then(r.bind(r,41204)),i=new AbortController,n=(0,u.rE)(i);return this.addHandles(n,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:i.signal})}catch(e){throw(0,d.zf)(e)||c.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(!n.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!s.id?.findCredential(this.url),n=e===r.id;if(n&&r.portal.user)return this._getUserPrivileges(r,i);let o,l;if(n)o=r.portal.url;else try{o=await(0,y.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!o||!(0,h.b8)(o,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;l=await(s.id?.getCredential(`${o}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const a=!0,u=!1,c=!1;if(!l)return{features:{edit:a,fullEdit:u},content:{updateItem:c}};try{if(n?await r.reload():(r=new g.default({id:e,portal:{url:o}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,d.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,b.It)(e);return t&&(r.features.edit=!0),r}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?s.id?.findCredential(this.url):null;if(!t)return!0;const r=S.credential===t?S.user:await this._fetchEditingUser(e);return S.credential=t,S.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,n=m.A.getDefault();if(n&&n.loaded&&(0,h.S8)(n.restUrl)===(0,h.S8)(i))return n.user;const a=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,l.Ke)((0,o.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?v.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return r&&i&&!(0,h.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,f.MZ)({type:g.default})],x.prototype,"portalItem",null),(0,i.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],x.prototype,"readPortalItem",null),(0,i.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],x.prototype,"writePortalItem",null),(0,i.Cg)([(0,f.MZ)({clonable:!1})],x.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasUpdateItemPrivileges",void 0),x=(0,i.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],x),x}])},82935(e,t,r){var i=r(5482),n=r(91429),s=r(89317),o=r(30524),l=r(96184),a=r(73133),u=r(79677),c=r(10184),p=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}};r.d(t,["B",0,d,"e",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const i=r.timeOffset,n=a.j.fromJSON(r.timeOffsetUnits);return i&&n?new c.A({value:i,unit:n}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,n.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,i.Cg)([(0,n.MZ)({type:c.A})],r.prototype,"timeOffset",void 0),(0,i.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,i.Cg)([(0,n.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,i.Cg)([(0,n.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.TemporalLayer")],r),r}])},63396(e,t,r){r.d(t,{d:()=>S});var i=r(5482),n=r(91429),s=r(60950),o=r(99959);class l extends o.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[s.ym](){return this.trackInfoProvider.trackInfo}}var a=r(37838),u=r(69540),c=r(25482),p=r(93637),d=r(50820),h=r(10873),f=r(46499),y=r(41214);let m=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,i.Cg)([(0,n.MZ)({type:[f.A],json:{write:!0}})],m.prototype,"labelingInfo",void 0),(0,i.Cg)([(0,n.MZ)(h.kF)],m.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,n.MZ)({types:y.Hg,json:{write:!0}})],m.prototype,"renderer",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"visible",void 0),m=(0,i.Cg)([(0,n.$K)("esri.layers.support.TrackPartInfo")],m);var g=r(96576),v=r(59868),b=r(10184),w=r(43937);let M=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.trackLines=new m({renderer:new g.A({symbol:v.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const i=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,p.sM)(r,i,t)}};(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"enabled",void 0),(0,i.Cg)([(0,n.MZ)({type:[d.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,i.Cg)([(0,w.K)("fields")],M.prototype,"writeFields",null),(0,i.Cg)([(0,n.MZ)({type:m,json:{write:!0}})],M.prototype,"latestObservations",void 0),(0,i.Cg)([(0,n.MZ)({type:b.A,json:{write:!0}})],M.prototype,"maxDisplayDuration",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxDisplayObservationsPerTrack",void 0),(0,i.Cg)([(0,n.MZ)(h.M6)],M.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,n.MZ)({type:a.A,json:{name:"popupInfo",write:!0}})],M.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,n.MZ)({type:m,json:{write:!0}})],M.prototype,"previousObservations",void 0),(0,i.Cg)([(0,n.MZ)({type:m,json:{write:!0}})],M.prototype,"trackLines",void 0),(0,i.Cg)([(0,n.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],M.prototype,"timeField",void 0),M=(0,i.Cg)([(0,n.$K)("esri.layers.support.TrackInfo")],M);const S=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new l(this),this.trackInfo=null}};return(0,i.Cg)([(0,n.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,i.Cg)([(0,n.MZ)({type:M})],r.prototype,"trackInfo",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.TrackableLayer")],r),r}},29005(e,t,r){r.d(t,{A:()=>u});var i=r(5482),n=r(69540),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,n.OU)(o.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"drawingTool",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,i.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},95466(e,t,r){r.d(t,{A:()=>u});var i=r(49186),n=r(53966),s=r(12195),o=r(30524),l=r(98623),a=r(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],p(e))}static fromLayerJSON(e){return new u(e.fields??[],p(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 r=[];for(const e of this.fields){const t=e?.name,i=(0,o.GZ)(t);if(t&&i){const n=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(n,e),this._normalizedFieldsMap.set(i,e),r.push(`${n}:${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)}}r.sort(),this.uid=r.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?(n.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):c.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,s.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const c=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function p(e){const t=new Map;if(!e.fields)return t;const r=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:n}=e,s=(i?"startField"in i?i.startField:i.startTimeField:"")??"",u=(i?"endField"in i?i.endField:i.endTimeField:"")??"",p=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,a.ZS)(e.dateFieldsTimeReference):null,d=n?function(e){return"timeZone"in e}(n)?n.timeZone??p:n.dateFieldsTimeReference?(0,a.ZS)(n.dateFieldsTimeReference):p??"UTC":null,h=i?function(e){return"timeZone"in e}(i)?i.timeZone??p:i.timeReference?(0,a.ZS)(i.timeReference):p:null,f=new Map([[(0,o.NF)(n?.creationDateField??""),d],[(0,o.NF)(n?.editDateField??""),d],[(0,o.NF)(s),h],[(0,o.NF)(u),h]]);for(const{name:i,type:n}of e.fields)if(c.has(n))t.set(i,l.L);else if("date"!==n&&"esriFieldTypeDate"!==n)t.set(i,null);else if(r)t.set(i,l.L);else{const e=f.get((0,o.NF)(i??""))??p;t.set(i,e)}return t}},46499(e,t,r){r.d(t,{A:()=>x});var i,n,s=r(5482),o=(r(44208),r(66552)),l=r(25482),a=r(4718),u=r(90629),c=r(91429),p=r(73913),d=r(32730),h=r(77548),f=r(59868),y=r(73838),m=r(33910),g=r(36005),v=r(43937);const b=new o.J({esriServerPointLabelPlacementAboveCenter:"above-center",esriServerPointLabelPlacementAboveLeft:"above-left",esriServerPointLabelPlacementAboveRight:"above-right",esriServerPointLabelPlacementBelowCenter:"below-center",esriServerPointLabelPlacementBelowLeft:"below-left",esriServerPointLabelPlacementBelowRight:"below-right",esriServerPointLabelPlacementCenterCenter:"center-center",esriServerPointLabelPlacementCenterLeft:"center-left",esriServerPointLabelPlacementCenterRight:"center-right",esriServerLinePlacementAboveAfter:"above-after",esriServerLinePlacementAboveAlong:"above-along",esriServerLinePlacementAboveBefore:"above-before",esriServerLinePlacementAboveStart:"above-start",esriServerLinePlacementAboveEnd:"above-end",esriServerLinePlacementBelowAfter:"below-after",esriServerLinePlacementBelowAlong:"below-along",esriServerLinePlacementBelowBefore:"below-before",esriServerLinePlacementBelowStart:"below-start",esriServerLinePlacementBelowEnd:"below-end",esriServerLinePlacementCenterAfter:"center-after",esriServerLinePlacementCenterAlong:"center-along",esriServerLinePlacementCenterBefore:"center-before",esriServerLinePlacementCenterStart:"center-start",esriServerLinePlacementCenterEnd:"center-end",esriServerPolygonPlacementAlwaysHorizontal:"always-horizontal"},{ignoreUnknown:!0});function w(e,t,r){return{enabled:!(0,h.TU)(r?.layer)}}function M(e){return!e||"service"!==e.origin&&!("map-image"===e.layer?.type)}function S(e){return!!function(e){return"map-image"===e?.type}(e)&&!!e.capabilities?.exportMap?.supportsArcadeExpressionForLabeling}let x=class extends l.o{static{i=d.vK}static{n=this}static evaluateWhere(e,t){const r=(e,t,r)=>{switch(t){case"=":return e==r;case"<>":return e!=r;case">":return e>r;case">=":return e>=r;case"<":return e<r;case"<=":return e<=r}return!1};try{if(null==e)return!0;const i=e.split(" ");if(3===i.length)return r(t[i[0]],i[1],i[2]);if(7===i.length){const e=r(t[i[0]],i[1],i[2]),n=i[3],s=r(t[i[4]],i[5],i[6]);switch(n){case"AND":return e&&s;case"OR":return e||s}}return!1}catch(e){}}constructor(e){super(e),this[i]=!0,this.type="label",this.name=null,this.allowOverrun=!1,this.deconflictionStrategy="static",this.labelExpression=null,this.labelExpressionInfo=null,this.labelPlacement=null,this.labelPosition="curved",this.maxScale=0,this.minScale=0,this.repeatLabel=!0,this.symbol=f.Hk,this.useCodedValues=void 0,this.where=null}readLabelExpression(e,t){const r=t.labelExpressionInfo;if(!r||!r.value&&!r.expression)return e}writeLabelExpression(e,t,r){if(this.labelExpressionInfo)if(null!=this.labelExpressionInfo.value)e=(0,d.D3)(this.labelExpressionInfo.value);else if(null!=this.labelExpressionInfo.expression){const t=(0,d.tH)(this.labelExpressionInfo.expression);t&&(e="["+t+"]")}null!=e&&(t[r]=e)}writeLabelExpressionInfo(e,t,r,i){if(null==e&&null!=this.labelExpression&&M(i))e=new p.A({expression:this.getLabelExpressionArcade()});else if(!e)return;const n=e.toJSON(i);n.expression&&(t[r]=n)}writeMaxScale(e,t){(e||this.minScale)&&(t.maxScale=e)}writeMinScale(e,t){(e||this.maxScale)&&(t.minScale=e)}get repeatLabelDistance(){return this._get("repeatLabelDistance")}set repeatLabelDistance(e){this._set("repeatLabelDistance",e)}getLabelExpression(){return(0,d.XJ)(this)}getLabelExpressionArcade(){return(0,d.BI)(this)}getLabelExpressionSingleField(){return(0,d.rU)(this)}hash(){return JSON.stringify(this)}clone(){return new n({allowOverrun:this.allowOverrun,deconflictionStrategy:this.deconflictionStrategy,labelExpression:this.labelExpression,labelExpressionInfo:(0,a.o8)(this.labelExpressionInfo),labelPosition:this.labelPosition,labelPlacement:this.labelPlacement,maxScale:this.maxScale,minScale:this.minScale,name:this.name,repeatLabel:this.repeatLabel,repeatLabelDistance:this.repeatLabelDistance,symbol:(0,a.o8)(this.symbol),where:this.where,useCodedValues:this.useCodedValues})}};(0,s.Cg)([(0,c.MZ)({type:String,json:{write:!0}})],x.prototype,"name",void 0),(0,s.Cg)([(0,c.MZ)({type:Boolean,json:{write:!0,default:!1,origins:{"web-scene":{write:!1},"portal-item":{default:!1,write:{overridePolicy:w}}}}})],x.prototype,"allowOverrun",void 0),(0,s.Cg)([(0,c.MZ)({type:String,json:{write:!0,default:"static",origins:{"web-scene":{write:!1},"portal-item":{default:"static",write:{overridePolicy:w}}}}})],x.prototype,"deconflictionStrategy",void 0),(0,s.Cg)([(0,c.MZ)({type:String,json:{write:{overridePolicy(e,t,r){return this.labelExpressionInfo&&"service"===r?.origin&&S(r.layer)?{enabled:!1}:{allowNull:!0}}}}})],x.prototype,"labelExpression",void 0),(0,s.Cg)([(0,g.w)("labelExpression")],x.prototype,"readLabelExpression",null),(0,s.Cg)([(0,v.K)("labelExpression")],x.prototype,"writeLabelExpression",null),(0,s.Cg)([(0,c.MZ)({type:p.A,json:{write:{overridePolicy:(e,t,r)=>function(e){return M(e)||S(e?.layer)}(r)?{allowNull:!0}:{enabled:!1}}}})],x.prototype,"labelExpressionInfo",void 0),(0,s.Cg)([(0,v.K)("labelExpressionInfo")],x.prototype,"writeLabelExpressionInfo",null),(0,s.Cg)([(0,c.MZ)({type:b.apiValues,json:{type:b.jsonValues,read:b.read,write:b.write}})],x.prototype,"labelPlacement",void 0),(0,s.Cg)([(0,c.MZ)({type:["curved","parallel"],json:{write:!0,origins:{"web-map":{write:!1},"web-scene":{write:!1},"portal-item":{write:!1}}}})],x.prototype,"labelPosition",void 0),(0,s.Cg)([(0,c.MZ)({type:Number})],x.prototype,"maxScale",void 0),(0,s.Cg)([(0,v.K)("maxScale")],x.prototype,"writeMaxScale",null),(0,s.Cg)([(0,c.MZ)({type:Number})],x.prototype,"minScale",void 0),(0,s.Cg)([(0,v.K)("minScale")],x.prototype,"writeMinScale",null),(0,s.Cg)([(0,c.MZ)({type:Boolean,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:w}}}}})],x.prototype,"repeatLabel",void 0),(0,s.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0,origins:{"web-scene":{write:!1},"portal-item":{write:{overridePolicy:w}}}}})],x.prototype,"repeatLabelDistance",null),(0,s.Cg)([(0,c.MZ)({types:m.em,json:{origins:{"web-scene":{types:m.Rv,write:y.oO,default:null}},write:y.oO,default:null}})],x.prototype,"symbol",void 0),(0,s.Cg)([(0,c.MZ)({type:Boolean,json:{write:!0}})],x.prototype,"useCodedValues",void 0),(0,s.Cg)([(0,c.MZ)({type:String,json:{write:!0}})],x.prototype,"where",void 0),x=n=(0,s.Cg)([(0,c.$K)("esri.layers.support.LabelClass")],x)},73913(e,t,r){r.d(t,{A:()=>c});var i,n=r(5482),s=r(25482),o=r(91429),l=r(32730),a=r(36005),u=r(43937);let c=class extends s.o{static{i=this}constructor(e){super(e),this.expression=null,this.title=null,this.value=null}readExpression(e,t){return t.value?(0,l.mX)(t.value):e}writeExpression(e,t,r){null!=this.value&&(e=(0,l.mX)(this.value)),null!=e&&(t[r]=e)}clone(){return new i({expression:this.expression,title:this.title,value:this.value})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{writerEnsuresNonNull:!0}}})],c.prototype,"expression",void 0),(0,n.Cg)([(0,a.w)("expression",["expression","value"])],c.prototype,"readExpression",null),(0,n.Cg)([(0,u.K)("expression")],c.prototype,"writeExpression",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0,origins:{"web-scene":{write:!1}}}})],c.prototype,"title",void 0),(0,n.Cg)([(0,o.MZ)({json:{read:!1,write:!1}})],c.prototype,"value",void 0),c=i=(0,n.Cg)([(0,o.$K)("esri.layers.support.LabelExpressionInfo")],c)},91880(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),s=r(66552),o=r(25482),l=r(91429);const a=new s.J({asc:"ascending",desc:"descending"});let u=class extends o.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},96184(e,t,r){r.d(t,{A:()=>h});var i=r(5482),n=r(69540),s=r(25482),o=r(91429),l=r(79677),a=r(10184),u=r(56400),c=r(36005),p=r(43937);function d(e,t){return a.A.fromJSON({value:e,unit:t})}let h=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,i.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,i.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,i.Cg)([(0,p.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,i.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,i.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,i.Cg)([(0,p.K)("interval")],h.prototype,"writeInterval",null),(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,i.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,i.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,i.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],h)},41560(e,t,r){r.d(t,{Ch:()=>o,mW:()=>s});var i=r(34727),n=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],p(i));return t}(e);if(s&&((0,i.gg)(t,s[0])||(0,i.ZH)(r,s[1])))return"";const o=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const n=c(e.at(0)?.minScale),s=p(e.at(-1)?.maxScale);if((0,i.ZH)(n,t)||(0,i.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],n=e[t+1];if((0,i.ZH)(c(n.minScale),p(r.maxScale)))return!0}return!1}(o,t,r)?"1=1":o.map(e=>e.where||"1=1").reduce((e,t)=>(0,n.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)a(i.minScale,i.maxScale,t,r)&&(yield i)}}function a(e,t,r,n){return e=c(e),r=c(r),t=p(t),!(!(0,i.Sp)(r,e)&&(n??r)>e||(0,i.Hx)(t,r)||void 0!==n&&(0,i.Sp)(n,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},17036(e,t,r){r.d(t,{p:()=>a});var i=r(44208),n=r(53966),s=r(20437),o=r(95466),l=r(30524);function a(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,i.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");n.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return o.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||n.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}},32730(e,t,r){r.d(t,{BI:()=>h,D3:()=>p,XJ:()=>d,lc:()=>c,mX:()=>y,rU:()=>f,tH:()=>w,zA:()=>S});var i=r(799);const n="__begin__",s="__end__",o=new RegExp(n,"ig"),l=new RegExp(s,"ig"),a=new RegExp("^"+n,"i"),u=new RegExp(s+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function p(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return w(t.expression)}return null}function y(e){let t;return e?(t=(0,i.HC)(e,e=>n+'$feature["'+e+'"]'+s),t=a.test(t)?t.replace(a,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function w(e){if(!e)return null;let t=g.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const M=Symbol("LabelClassInstance");function S(e){return null!=e&&"object"==typeof e&&M in e}r.d(t,["vK",0,M])},39383(e,t,r){r.d(t,{w:()=>a,z:()=>p});var i=r(49186),n=r(53966),s=r(46499);const o=()=>n.A.getLogger("esri.layers.support.labelingInfo"),l=/\[([^[\]]+)\]/gi;function a(e,t,r){return e?e.map(e=>{const i=new s.A;if(i.read(e,r),i.labelExpression){const e=t.fields||t.layerDefinition?.fields||this.fields;i.labelExpression=i.labelExpression.replaceAll(l,(t,r)=>`[${function(e,t){if(!t)return e;const r=e.toLowerCase();for(let e=0;e<t.length;e++){const i=t[e].name;if(i.toLowerCase()===r)return i}return e}(r,e)}]`)}return i}):null}const u=["above-right","above-center","above-left","center-center","center-left","center-right","below-center","below-left","below-right"],c={esriGeometryPoint:u,esriGeometryMultiPatch:["always-horizontal"],esriGeometryPolygon:["always-horizontal"],esriGeometryPolyline:["center-along","above-along","below-along"],esriGeometryMultipoint:u,esriGeometryEnvelope:null};function p(e,t){const r=[];for(const n of e){const e=n.labelPlacement,s=c[t];if(!n.symbol)return o().warn("No ILabelClass symbol specified."),[];if(!s)return o().error(new i.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(s.includes(e))r.push(n);else{const i=s[0];e&&o().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${i}`);const l=n.clone();l.labelPlacement=i,r.push(l)}}return r}},5757(e,t,r){r.d(t,{B:()=>n});const i=Symbol("PopupTemplateInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}r.d(t,["P",0,i])},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>o,OM:()=>u,Sm:()=>c,Y:()=>l,bK:()=>a,sQ:()=>p});var i=r(91218),n=r(16930),s=r(28735);function o(e,t){if(!l(e,t)){const r=e.typeKeywords;r?r.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 r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?o(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=n.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}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 h(e){const{portal:t,isOrgItem:r,itemControl:i}=e,n=t.user?.privileges;let s=!n||n.includes("features:user:edit"),o=!!r&&!!n?.includes("features:user:fullEdit");const l="update"===i||"admin"===i;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}r.d(t,["mm",0,d])},98205(e,t,r){r.d(t,{KZ:()=>l,eh:()=>o,gf:()=>s,of:()=>n});const i=Symbol("SizeVariableInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}function s(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 r=t||o(e),i=e.valueUnit||"unknown";return"unknown"===r?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}r.d(t,["uY",0,i])},22671(e,t,r){r.d(t,{A:()=>v});var i,n=r(5482),s=r(52106),o=r(66552),l=r(25482),a=r(4718),u=r(91429),c=r(16930),p=r(60408),d=r(65864),h=r(50498),f=r(20437),y=r(36005),m=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=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,s.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:n}=this;if(n)for(const e of n)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,d.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=c.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(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 r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,n]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((n-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,n],scale:[s,o]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+i,e=>n-e*o,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=c.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),l=s.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=i);const a=s.aggregateGeometries,u=o.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],r=a[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}n.push(o)}return n}_quantizePoints(e,t,r){let i,n;const s=[];for(let o=0,l=e.length;o<l;o++){const l=e[o];if(o>0){const e=t(l[0]),o=r(l[1]);e===i&&o===n||(s.push([e-i,o-n]),i=e,n=o)}else i=t(l[0]),n=r(l[1]),s.push([i,n])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,p.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,s=i.length;e<s;e++){const s=i[e],o=this._quantizePoints(s,t,r);o&&n.push(o)}return n.length>0?((0,p.Bi)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,n){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,p.Bi)(e)?e.rings:e.paths;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(o+=n[0],l+=n[1]):(o=n[0],l=n[1]),n[0]=t(o),n[1]=r(l)}}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=n(r[3])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(o+=i[0],l+=i[1]):(o=i[0],l=i[1]),i[0]=t(o),i[1]=r(l)}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2]),t[3]=n(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}}:null}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,n.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,n.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,n.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,n.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,n.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,n.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,n.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},41366(e,t,r){var i=r(5482),n=r(66552),s=r(53966),o=r(91429),l=r(93223);const a=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field";r.d(t,["K",0,e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r},"Q",0,a])},93470(e,t,r){const i=[252,146,31,255],n={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i};r.d(t,["Cb",0,n,"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,i,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,s])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1262],{11835(e,t,i){function a(e){return Boolean(e).toString()}i.d(t,{t:()=>a})},32339(e,t,i){function a(e){return"l"===e?"m":"s"}async function n(e){await e.componentOnReady(),await e.updateComplete}i.d(t,{c:()=>n,g:()=>a}),i(46913)},80423(e,t,i){i.d(t,["g",0,()=>[2,1,1,1,3].map(e=>{let t="";for(let i=0;i<e;i++)t+=(65536*(1+Math.random())|0).toString(16).substring(1);return t}).join("-")])},98903(e,t,i){i.d(t,{c:()=>n,u:()=>r});var a=i(46913);function n(e,t,i){if(a.S$)return;const n=function(e){class t extends window.MutationObserver{constructor(e){super(e),this.observedEntry=[],this.callback=e}observe(e,t){return this.observedEntry.push({target:e,options:t}),super.observe(e,t)}unobserve(e){const t=this.observedEntry.filter(t=>t.target!==e);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),t.forEach(e=>this.observe(e.target,e.options))}}return"intersection"===e?window.IntersectionObserver:"mutation"===e?t:window.ResizeObserver}(e);return new n(t,i)}function r(e,t,i,a){e&&(t&&e.unobserve(t),i&&(e instanceof MutationObserver?e.observe(i,a):e.observe(i)))}},58025(e,t,i){var a=i(32613);i.d(t,["u",0,e=>(0,a.aK)(t=>{function i(i){const{form:a}=t.elementInternals;i.defaultPrevented||t.disabled||e?.disabled?.()||!a||"button"===t.type||("submit"!==t.type?a.reset():a.requestSubmit())}t.listen("luminaFormAssociatedCallback",({detail:[e]})=>{e?t.el.addEventListener("click",i):t.el.removeEventListener("click",i)})})])},33755(e,t,i){var a=i(32613),n=i(5576),r=i(46913);const l=({children:e,disabled:t})=>r.qy`<div class=${(0,n.CP)("interaction-container")} .inert=${t}>${e}</div>`,s=(0,a.aK)((e,t)=>(t.onUpdated(()=>function(e){if(e.disabled)return e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),void function(e){var t;e.el.click=c,(t=e.el).addEventListener("pointerdown",o,h),d.forEach(e=>t.addEventListener(e,v,h))}(e);(function(e){var t;delete e.el.click,(t=e.el).removeEventListener("pointerdown",o,h),d.forEach(e=>t.removeEventListener(e,v,h))})(e),e.el.removeAttribute("aria-disabled")}(e)),l));function c(){const{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function o(e){e.target.disabled&&e.preventDefault()}const d=["mousedown","mouseup","click"];function v(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}const h={capture:!0};i.d(t,["u",0,s])},35407(e,t,i){var a=i(32613),n=i(32339),r=i(78948);i.d(t,["u",0,()=>(0,a.aK)((e,t)=>{let i;function a(){i?.abort()}return t.onLoad(()=>{e.listen("focus",()=>{i=new AbortController,e.el.addEventListener("focusout",a,{signal:i.signal})})}),t.onDisconnected(()=>{e.el.removeEventListener("focusout",a)}),async(t,l)=>{if(e.disabled)return;const s=function(e){if(e)return function(e){return"target"in e&&("includeContainer"in e||"strategy"in e)}(e)?e:{target:e}}(t());if(!s)return;const{target:c,includeContainer:o,strategy:d}=s,v=(0,r.h)(e.el),h=v.activeElement;return await(0,n.c)(e),h!==v.activeElement||i&&!i?.signal.aborted?void 0:(e.el.removeEventListener("focus",a),(0,r.j)(c,o,d,e.el,l))}})])},25552(e,t,i){var a=i(32613),n=i(61476);const r=(0,a.yr)(n.g);i.d(t,["u",0,r])},3366(e,t,i){var a=i(61476),n=i(46913),r=i(5576),l=i(32613),s=i(11835),c=i(98903);const o={trace:0,debug:1,info:2,warn:4,error:8,off:10};const d=e=>function(e,...t){(function(e){return"off"!==e&&o[e]>=o[(0,a.a)().logLevel]})(e)&&console[e]("%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...t)}("error",e),v="flip-rtl",h="svg",u={},p={},m={s:16,m:24,l:32};function f({icon:e,scale:t}){const i=m[t],a=function(e){const t=!isNaN(Number(e.charAt(0))),i=e.split("-");if(i.length>0){const t=/[a-z]/i;e=i.map((e,i)=>e.replace(t,function(e,t){return 0===i&&0===t?e:e.toUpperCase()})).join("")}return t?`i${e}`:e}(e),n="F"===a.charAt(a.length-1);return`${n?a.substring(0,a.length-1):a}${i}${n?"F":""}`}function g(e){return u[e]}const b=n.AH`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class z extends r.WF{constructor(){super(...arguments),this.direction=(0,l.jH)(),this.visible=!1,this.flipRtl=!1,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=b}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(e){(e.has("icon")&&(this.hasUpdated||void 0!==this.icon)||e.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0}async loadIconPathData(){const{icon:e,scale:t,visible:i}=this;if(n.S$||!e||!i)return;const r={icon:e,scale:t},l=g(f(r))||await async function(e){const t=f(e),i=g(t);if(i)return i;p[t]||(p[t]=fetch((0,a.g)(`./assets/icon/${t}.json`)).then(e=>e.json()).catch(()=>(d(`${e.icon} (${e.scale}) icon failed to load`),"")));const n=await p[t];return u[t]=n,n}(r);e===this.icon&&(this.pathData=l)}waitUntilVisible(e){this.intersectionObserver=(0,c.c)("intersection",t=>{t.forEach(t=>{t.isIntersecting&&(this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,e())})},{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):e()}render(){const{flipRtl:e,pathData:t,scale:i,textLabel:a}=this,l=this.direction,c=m[i],o=!!a,d=Array.isArray(t)?t:[t??""];return this.el.ariaHidden=(0,s.t)(!o),this.el.ariaLabel=o?a:null,this.el.role=o?"img":null,n.qy`<svg aria-hidden=true class=${(0,r.CP)({[v]:"rtl"===l&&e,[h]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${c} ${c}`} width=100% xmlns=http://www.w3.org/2000/svg>${d.map(e=>"string"==typeof e?n.JW`<path d=${e??n.s6} />`:n.JW`<path d=${e.d??n.s6} opacity=${("opacity"in e?e.opacity:1)??n.s6} />`)}</svg>`}}(0,a.c)("calcite-icon",z)},31873(e,t,i){var a=i(61476),n=i(46913),r=i(5576),l=i(80423),s=i(25552);const c="ring--progress",o="ring",d="ring--track",v=n.AH`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-relative-md);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-relative-xl);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`;class h extends r.WF{constructor(){super(...arguments),this.messages=(0,s.u)({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:[7,{},{reflect:!0,type:Boolean}],inline:[7,{},{reflect:!0,type:Boolean}],label:1,scale:[3,{},{reflect:!0}],text:1,type:[3,{},{reflect:!0}],value:[9,{},{type:Number}]}}static{this.styles=v}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame(()=>this.valueChangeHandler())}willUpdate(e){e.has("value")&&(this.hasUpdated||0!==this.value)&&this.valueChangeHandler(),(e.has("type")&&(this.hasUpdated||"indeterminate"!==this.type)||e.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&100===this.value}formatValue(){return"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100)}getSize(e){return{s:32,m:64,l:96}[e]}getInlineSize(e){return{s:12,m:16,l:24}[e]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.messages._lang&&(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){const{el:e,inline:t,label:i,text:a,type:s,value:c}=this,o=e.id||(0,l.g)(),d="indeterminate"!==s,v=Math.floor(c);return this.el.ariaLabel=i,this.el.ariaValueMax=d?"100":null,this.el.ariaValueMin=d?"0":null,this.el.ariaValueNow=d?v.toString():null,(0,r.Bq)(this.el,"id",o),this.el.role="progressbar",n.qy`<div class=${(0,r.CP)("rings")}>${this.renderRing("track")}${this.renderRing("progress")}${!t&&d&&n.qy`<div class=${(0,r.CP)("percentage")}>${this.formatValue()}</div>`||""}</div>${!t&&a&&n.qy`<div class=${(0,r.CP)("text")}>${a}</div>`||""}`}renderRing(e){const{inline:t,scale:i,value:a}=this,l=t?this.getInlineSize(i):this.getSize(i),s=.45*l;let v;if("progress"===e){const e=2*s*Math.PI,t=(this.type.startsWith("determinate")?a:24)/100*e;v={"stroke-dasharray":`${t} ${e-t}`}}return n.qy`<svg aria-hidden=true class=${(0,r.CP)({[o]:!0,[d]:"track"===e,[c]:"progress"===e})} style=${(0,r.zl)(v)} viewBox=${`0 0 ${l} ${l}`}>${n.JW`<circle cx=${l/2} cy=${l/2} r=${s??n.s6} />`}</svg>`}}(0,a.c)("calcite-loader",h)}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1262],{11835(e,t,i){function a(e){return Boolean(e).toString()}i.d(t,{t:()=>a})},32339(e,t,i){function a(e){return"l"===e?"m":"s"}async function n(e){await e.componentOnReady(),await e.updateComplete}i.d(t,{c:()=>n,g:()=>a}),i(46913)},80423(e,t,i){i.d(t,["g",0,()=>[2,1,1,1,3].map(e=>{let t="";for(let i=0;i<e;i++)t+=(65536*(1+Math.random())|0).toString(16).substring(1);return t}).join("-")])},98903(e,t,i){i.d(t,{c:()=>n,u:()=>r});var a=i(46913);function n(e,t,i){if(a.S$)return;const n=function(e){class t extends window.MutationObserver{constructor(e){super(e),this.observedEntry=[],this.callback=e}observe(e,t){return this.observedEntry.push({target:e,options:t}),super.observe(e,t)}unobserve(e){const t=this.observedEntry.filter(t=>t.target!==e);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),t.forEach(e=>this.observe(e.target,e.options))}}return"intersection"===e?window.IntersectionObserver:"mutation"===e?t:window.ResizeObserver}(e);return new n(t,i)}function r(e,t,i,a){e&&(t&&e.unobserve(t),i&&(e instanceof MutationObserver?e.observe(i,a):e.observe(i)))}},58025(e,t,i){var a=i(11231);i.d(t,["u",0,e=>(0,a.aK)(t=>{function i(i){const{form:a}=t.elementInternals;i.defaultPrevented||t.disabled||e?.disabled?.()||!a||"button"===t.type||("submit"!==t.type?a.reset():a.requestSubmit())}t.listen("luminaFormAssociatedCallback",({detail:[e]})=>{e?t.el.addEventListener("click",i):t.el.removeEventListener("click",i)})})])},33755(e,t,i){var a=i(11231),n=i(5576),r=i(46913);const l=({children:e,disabled:t})=>r.qy`<div class=${(0,n.CP)("interaction-container")} .inert=${t}>${e}</div>`,s=(0,a.aK)((e,t)=>(t.onUpdated(()=>function(e){if(e.disabled)return e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),void function(e){var t;e.el.click=c,(t=e.el).addEventListener("pointerdown",o,h),d.forEach(e=>t.addEventListener(e,v,h))}(e);(function(e){var t;delete e.el.click,(t=e.el).removeEventListener("pointerdown",o,h),d.forEach(e=>t.removeEventListener(e,v,h))})(e),e.el.removeAttribute("aria-disabled")}(e)),l));function c(){const{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function o(e){e.target.disabled&&e.preventDefault()}const d=["mousedown","mouseup","click"];function v(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}const h={capture:!0};i.d(t,["u",0,s])},35407(e,t,i){var a=i(11231),n=i(32339),r=i(78948);i.d(t,["u",0,()=>(0,a.aK)((e,t)=>{let i;function a(){i?.abort()}return t.onLoad(()=>{e.listen("focus",()=>{i=new AbortController,e.el.addEventListener("focusout",a,{signal:i.signal})})}),t.onDisconnected(()=>{e.el.removeEventListener("focusout",a)}),async(t,l)=>{if(e.disabled)return;const s=function(e){if(e)return function(e){return"target"in e&&("includeContainer"in e||"strategy"in e)}(e)?e:{target:e}}(t());if(!s)return;const{target:c,includeContainer:o,strategy:d}=s,v=(0,r.h)(e.el),h=v.activeElement;return await(0,n.c)(e),h!==v.activeElement||i&&!i?.signal.aborted?void 0:(e.el.removeEventListener("focus",a),(0,r.j)(c,o,d,e.el,l))}})])},25552(e,t,i){var a=i(11231),n=i(61476);const r=(0,a.yr)(n.g);i.d(t,["u",0,r])},3366(e,t,i){var a=i(61476),n=i(46913),r=i(5576),l=i(11231),s=i(11835),c=i(98903);const o={trace:0,debug:1,info:2,warn:4,error:8,off:10};const d=e=>function(e,...t){(function(e){return"off"!==e&&o[e]>=o[(0,a.a)().logLevel]})(e)&&console[e]("%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...t)}("error",e),v="flip-rtl",h="svg",u={},p={},m={s:16,m:24,l:32};function f({icon:e,scale:t}){const i=m[t],a=function(e){const t=!isNaN(Number(e.charAt(0))),i=e.split("-");if(i.length>0){const t=/[a-z]/i;e=i.map((e,i)=>e.replace(t,function(e,t){return 0===i&&0===t?e:e.toUpperCase()})).join("")}return t?`i${e}`:e}(e),n="F"===a.charAt(a.length-1);return`${n?a.substring(0,a.length-1):a}${i}${n?"F":""}`}function g(e){return u[e]}const b=n.AH`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class z extends r.WF{constructor(){super(...arguments),this.direction=(0,l.jH)(),this.visible=!1,this.flipRtl=!1,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{},{state:!0}],visible:[16,{},{state:!0}],flipRtl:[7,{},{reflect:!0,type:Boolean}],icon:[3,{},{reflect:!0}],preload:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],textLabel:1}}static{this.styles=b}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible(()=>{this.visible=!0,this.loadIconPathData()})}willUpdate(e){(e.has("icon")&&(this.hasUpdated||void 0!==this.icon)||e.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0}async loadIconPathData(){const{icon:e,scale:t,visible:i}=this;if(n.S$||!e||!i)return;const r={icon:e,scale:t},l=g(f(r))||await async function(e){const t=f(e),i=g(t);if(i)return i;p[t]||(p[t]=fetch((0,a.g)(`./assets/icon/${t}.json`)).then(e=>e.json()).catch(()=>(d(`${e.icon} (${e.scale}) icon failed to load`),"")));const n=await p[t];return u[t]=n,n}(r);e===this.icon&&(this.pathData=l)}waitUntilVisible(e){this.intersectionObserver=(0,c.c)("intersection",t=>{t.forEach(t=>{t.isIntersecting&&(this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,e())})},{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):e()}render(){const{flipRtl:e,pathData:t,scale:i,textLabel:a}=this,l=this.direction,c=m[i],o=!!a,d=Array.isArray(t)?t:[t??""];return this.el.ariaHidden=(0,s.t)(!o),this.el.ariaLabel=o?a:null,this.el.role=o?"img":null,n.qy`<svg aria-hidden=true class=${(0,r.CP)({[v]:"rtl"===l&&e,[h]:!0})} fill=currentColor height=100% viewBox=${`0 0 ${c} ${c}`} width=100% xmlns=http://www.w3.org/2000/svg>${d.map(e=>"string"==typeof e?n.JW`<path d=${e??n.s6} />`:n.JW`<path d=${e.d??n.s6} opacity=${("opacity"in e?e.opacity:1)??n.s6} />`)}</svg>`}}(0,a.c)("calcite-icon",z)},31873(e,t,i){var a=i(61476),n=i(46913),r=i(5576),l=i(80423),s=i(25552);const c="ring--progress",o="ring",d="ring--track",v=n.AH`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-relative-md);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-relative-xl);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`;class h extends r.WF{constructor(){super(...arguments),this.messages=(0,s.u)({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:[7,{},{reflect:!0,type:Boolean}],inline:[7,{},{reflect:!0,type:Boolean}],label:1,scale:[3,{},{reflect:!0}],text:1,type:[3,{},{reflect:!0}],value:[9,{},{type:Number}]}}static{this.styles=v}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame(()=>this.valueChangeHandler())}willUpdate(e){e.has("value")&&(this.hasUpdated||0!==this.value)&&this.valueChangeHandler(),(e.has("type")&&(this.hasUpdated||"indeterminate"!==this.type)||e.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&100===this.value}formatValue(){return"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100)}getSize(e){return{s:32,m:64,l:96}[e]}getInlineSize(e){return{s:12,m:16,l:24}[e]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.messages._lang&&(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){const{el:e,inline:t,label:i,text:a,type:s,value:c}=this,o=e.id||(0,l.g)(),d="indeterminate"!==s,v=Math.floor(c);return this.el.ariaLabel=i,this.el.ariaValueMax=d?"100":null,this.el.ariaValueMin=d?"0":null,this.el.ariaValueNow=d?v.toString():null,(0,r.Bq)(this.el,"id",o),this.el.role="progressbar",n.qy`<div class=${(0,r.CP)("rings")}>${this.renderRing("track")}${this.renderRing("progress")}${!t&&d&&n.qy`<div class=${(0,r.CP)("percentage")}>${this.formatValue()}</div>`||""}</div>${!t&&a&&n.qy`<div class=${(0,r.CP)("text")}>${a}</div>`||""}`}renderRing(e){const{inline:t,scale:i,value:a}=this,l=t?this.getInlineSize(i):this.getSize(i),s=.45*l;let v;if("progress"===e){const e=2*s*Math.PI,t=(this.type.startsWith("determinate")?a:24)/100*e;v={"stroke-dasharray":`${t} ${e-t}`}}return n.qy`<svg aria-hidden=true class=${(0,r.CP)({[o]:!0,[d]:"track"===e,[c]:"progress"===e})} style=${(0,r.zl)(v)} viewBox=${`0 0 ${l} ${l}`}>${n.JW`<circle cx=${l/2} cy=${l/2} r=${s??n.s6} />`}</svg>`}}(0,a.c)("calcite-loader",h)}}]);