@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
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[946,1560,6344],{68197(e,t,i){i.d(t,{A:()=>u});var r=i(40876),n=i(4576),s=i(34727),o=i(56507);function l(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function a(e,t){const i=e.toString(16).padStart(2,"0");return t?i.slice(0,1):i}class u{static blendColors(e,t,i,r=new u){return r.r=Math.round(e.r+(t.r-e.r)*i),r.g=Math.round(e.g+(t.g-e.g)*i),r.b=Math.round(e.b+(t.b-e.b)*i),r.a=e.a+(t.a-e.a)*i,r._sanitize()}static fromRgb(e,t){const i=(0,r.lT)(e);return i?u.fromArray(i,t):null}static fromHex(e,t=new u){const i=(0,r.oW)(e);return i?u.fromArray(i,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const i=(0,r.Eq)(e);return i?u.fromArray(i,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,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,i=e?.digits??6,r=3===i||4===i,n=4===i||8===i,s=`#${a(this.r,r)}${a(this.g,r)}${a(this.b,r)}${n?a(Math.round(255*this.a),r):""}`;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),i=l(this.g),r=l(this.b);return 0===e||1!==this.a?[t,i,r,l(255*this.a)]:[t,i,r]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,r.c1)(this.r),this.g=(0,r.c1)(this.g),this.b=(0,r.c1)(this.b),this.a=(0,r.G1)(this.a),this}_set(e,t,i,r){this.r=e,this.g=t,this.b=i,this.a=r}}u.prototype.declaredClass="esri.Color"},52106(e,t,i){i.d(t,{A:()=>x});var r,n,s=i(5482),o=i(37838),l=i(69540),a=i(51447),u=i(25482),c=i(53966),p=i(36708),d=i(24326),h=i(91429),f=i(12195),m=i(65864),g=i(50498),y=i(55156),b=i(60950),v=i(54339),w=i(94128),M=i(33910);function S(e){if(null==e)return null;const t={};for(const i in e){const r=e[i];r&&(t[i]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,l.OU)(u.o)){static{r=w.Z}static{n=this}constructor(e){super(e),this[r]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(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,b.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const i=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[i,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const i=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",i,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,v.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,v.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){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 i={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",i,i,e.action)}}_notifyLayer(e,t,i,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const n={graphic:this,property:e,oldValue:t,newValue:i};"origin-transform"===e&&(n.action=r),"attributes"===e&&(n.attributeName=r),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 i in e){const r=(0,m.rS)(e[i]);r&&(t[i]=r)}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:g.yR,json:{read:m.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,i){i.d(t,{Eq:()=>h,G1:()=>m,TS:()=>s,V6:()=>n,Vm:()=>f,ay:()=>a,c1:()=>g,c4:()=>o,j5:()=>u,lT:()=>p,oW:()=>c,xV:()=>v});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(e){return!!r[e]||!!r[e.toLowerCase()]}function s(e){return r[e]??r[e.toLowerCase()]}function o(e){return[...s(e)]}function l(e,t,i){i<0&&++i,i>1&&--i;const r=6*i;return r<1?e+(t-e)*r:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function a(e,t,i,r=1){const n=(e%360+360)%360/360,s=i<=.5?i*(t+1):i+t-i*t,o=2*i-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)),r]}function u(e){const t=e.length>5,i=t?8:4,r=(1<<i)-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&r,o>>=i,l[3]=n*a/255),a=o&r,o>>=i,l[2]=n*a,a=o&r,o>>=i,l[1]=n*a,a=o&r,o>>=i,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),i=parseInt(e.slice(2,3),16),r=parseInt(e.slice(3,4),16),n=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,i+16*i,r+16*r,(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*/),i=t[1];if("rgb"===i&&3===e.length||"rgba"===i&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===i&&3===e.length||"hsla"===i&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=g(e[0]),e[1]=g(e[1]),e[2]=g(e[2]),e[3]=4===e.length?m(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 m(e){return y(e,0,1)}function g(e){return Math.round(y(e,0,255))}function y(e,t,i){return e=Number(e),isNaN(e)?i:e<t?t:e>i?i:e}const b=1/2.2;function v(e){return e**b}i.d(t,["iw",0,b])},66344(e,t,i){i.d(t,{q:()=>l});const r=!!(0,i(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 i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,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!==i&&this._notifyRemove(t,l.entry,l.size,0)),n>this._maxSize)return void this._notifyRemove(t,i,n,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return r||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,i,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(t,new s(i,n,a)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let r=i.entry.usedMemory;for(;r>this._maxSize;){const e=this._notifyRemove(t,i.entry,r,1);if(!(null!=e&&e>0))return void this._db.delete(t);r=e}i.size=r,this._size+=r,e.size+=r,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,r)=>{const n=e.lifetime;i[n]=(i[n]||0)+e.size,this._clients.forEach(i=>{const{id:n,name:s}=i;if(r.startsWith(n)){const i=t[s]||0;t[s]=i+e.size}})});const r={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[i]||0;t[i]=n,r[i]=Math.round(100*e.hitRate)+"%"}else r[i]="0%"});const n=Object.keys(t);n.sort((e,i)=>t[i]-t[e]),n.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+r[i]);for(let t=i.length-1;t>=0;--t){const r=i[t];r&&(e["Priority "+(t+-3-1)]=Math.round(r/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,r){const n=this._clients.get(e.split(o)[0])?.removeFunc,s=n?.(t,r,i);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 i=t??this;if(i.size<=e)return;const r=t?.id;let n=!0;for(;n;){n=!1;for(const[s,l]of this._db)if(0===l.lifetime&&(!r||s.startsWith(r))){const r=t??this._clients.get(s.split(o)[0]);if(this._purgeItem(s,l,r),i.size<=.9*e)return;n||=this._db.has(s)}}for(const[n,s]of this._db)if(!r||n.startsWith(r)){const r=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,s,r),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const r=this._notifyRemove(e,t.entry,t.size,1);null!=r&&r>0&&(this._size+=r,i&&(i.size+=r),t.lives=t.lifetime,t.size=r,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class s{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},6797(e,t,i){i.d(t,{Ui:()=>d});var r=i(69622),n=i(7762),s=i(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof r.A}function a(e){return e instanceof 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 i=e.diff;if(i&&"function"==typeof i)return i(e,t);const r=a(e),n=a(t);if(0===r.length&&0===n.length)return;if(!r.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=>!r.includes(e)),d=r.filter(e=>!n.includes(e)),h=r.filter(i=>n.includes(i)&&u(e,i)!==u(t,i)).concat(s,d).sort(),f=c(e);if(f&&o.has(f)&&h.length)return{type:"complete",oldValue:e,newValue:t};let m;const g=l(e)&&l(t);for(const r of h){const n=u(e,r),s=u(t,r);let o;if((g||"function"!=typeof n&&"function"!=typeof s)&&n!==s&&(null!=n||null!=s)){if(i&&i[r]&&"function"==typeof i[r])o=i[r]?.(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!=m?m.diff[r]=o:m={type:"partial",diff:{[r]:o}})}}return m}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,i){function r(){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]]}i.d(t,{o8:()=>n,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:n,create:r,fromValues:function(e,t,i,r,n,s,o,l,a,u,c,p,d,h,f,m){return[e,t,i,r,n,s,o,l,a,u,c,p,d,h,f,m]}},Symbol.toStringTag,{value:"Module"})),i.d(t,["zK",0,s])},35522(e,t,i){i.d(t,{$A:()=>_,Bw:()=>s,C:()=>o,Cc:()=>A,DI:()=>S,Io:()=>b,Ln:()=>y,Om:()=>I,Qr:()=>p,Re:()=>u,S8:()=>x,T9:()=>m,WQ:()=>a,Z0:()=>C,_S:()=>h,aI:()=>Z,ei:()=>T,fw:()=>P,g7:()=>E,gL:()=>F,hG:()=>v,hZ:()=>l,hs:()=>g,jk:()=>f,lw:()=>c,m3:()=>w,oW:()=>L,t2:()=>j,tn:()=>d,ze:()=>M});var r=i(51850),n=i(34304);function s(e){const t=e[0],i=e[1],r=e[2];return Math.sqrt(t*t+i*i+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function l(e,t,i,r){return e[0]=t,e[1]=i,e[2]=r,e}function a(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e[2]=t[2]+i[2],e}function u(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e[2]=t[2]-i[2],e}function c(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e[2]=t[2]*i[2],e}function p(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e[2]=t[2]/i[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,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e[2]=Math.min(t[2],i[2]),e}function m(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e[2]=Math.max(t[2],i[2]),e}function g(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e}function y(e,t,i,r){return e[0]=t[0]+i[0]*r,e[1]=t[1]+i[1]*r,e[2]=t[2]+i[2]*r,e}function b(e,t){const i=t[0]-e[0],r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(i*i+r*r+n*n)}function v(e,t){const i=t[0]-e[0],r=t[1]-e[1],n=t[2]-e[2];return i*i+r*r+n*n}function w(e){const t=e[0],i=e[1],r=e[2];return t*t+i*i+r*r}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 i=t[0],r=t[1],n=t[2];let s=i*i+r*r+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 _(e,t,i){const r=t[0],n=t[1],s=t[2],o=i[0],l=i[1],a=i[2];return e[0]=n*a-s*l,e[1]=s*o-r*a,e[2]=r*l-n*o,e}function A(e,t,i,r){const n=t[0],s=t[1],o=t[2];return e[0]=n+r*(i[0]-n),e[1]=s+r*(i[1]-s),e[2]=o+r*(i[2]-o),e}function C(e,t,i){const r=t[0],n=t[1],s=t[2];return e[0]=i[0]*r+i[4]*n+i[8]*s+i[12],e[1]=i[1]*r+i[5]*n+i[9]*s+i[13],e[2]=i[2]*r+i[6]*n+i[10]*s+i[14],e}function T(e,t,i){const r=t[0],n=t[1],s=t[2];return e[0]=r*i[0]+n*i[3]+s*i[6],e[1]=r*i[1]+n*i[4]+s*i[7],e[2]=r*i[2]+n*i[5]+s*i[8],e}function F(e,t,i){return P(e,t,i[0],i[1],i[2],i[3])}function P(e,t,i,r,n,s){const o=t[0],l=t[1],a=t[2],u=r*a-n*l,c=n*o-i*a,p=i*l-r*o,d=r*p-n*c,h=n*u-i*p,f=i*c-r*u,m=2*s;return e[0]=o+u*m+2*d,e[1]=l+c*m+2*h,e[2]=a+p*m+2*f,e}function E(e,t){x(O,e),x(R,t);const i=I(O,R);return i>1?0:i<-1?Math.PI:Math.acos(i)}const O=(0,r.vt)(),R=(0,r.vt)();function j(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 i=e[0],r=e[1],s=e[2],o=t[0],l=t[1],a=t[2],u=(0,n.FD)();return Math.abs(i-o)<=u*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(r-l)<=u*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(s-a)<=u*Math.max(1,Math.abs(s),Math.abs(a))}function L(e,t,i){const r=i[0]-t[0],n=i[1]-t[1],s=i[2]-t[2];let o=r*r+n*n+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=n*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const z=u,N=c,k=p,D=b,U=v,$=s,G=w;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:a,angle:E,bezier:function(e,t,i,r,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+i[0]*c+r[0]*p+n[0]*d,e[1]=t[1]*u+i[1]*c+r[1]*p+n[1]*d,e[2]=t[2]*u+i[2]*c+r[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,i=1){return e[0]=Math.min(Math.max(e[0],t),i),e[1]=Math.min(Math.max(e[1],t),i),e[2]=Math.min(Math.max(e[2],t),i),e},copy:o,cross:_,crossAndNormalize:function(e,t,i){const r=t[0],n=t[1],s=t[2],o=i[0],l=i[1],a=i[2],u=n*a-s*l,c=s*o-r*a,p=r*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:L,dist:D,distance:b,div:k,divide:p,dot:I,equals:Z,exactEquals:j,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,i,r,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+i[0]*a+r[0]*u+n[0]*c,e[1]=t[1]*l+i[1]*a+r[1]*u+n[1]*c,e[2]=t[2]*l+i[2]*a+r[2]*u+n[2]*c,e},inverse:S,len:$,length:s,lerp:A,max:m,min:f,mul:N,multiply:c,negate:M,normalize:x,random:function(e,t=1){const i=n.Ov,r=2*i()*Math.PI,s=2*i()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=s*t,e},rotateX:function(e,t,i,r){const n=[],s=[];return n[0]=t[0]-i[0],n[1]=t[1]-i[1],n[2]=t[2]-i[2],s[0]=n[0],s[1]=n[1]*Math.cos(r)-n[2]*Math.sin(r),s[2]=n[1]*Math.sin(r)+n[2]*Math.cos(r),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateY:function(e,t,i,r){const n=[],s=[];return n[0]=t[0]-i[0],n[1]=t[1]-i[1],n[2]=t[2]-i[2],s[0]=n[2]*Math.sin(r)+n[0]*Math.cos(r),s[1]=n[1],s[2]=n[2]*Math.cos(r)-n[0]*Math.sin(r),e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[2],e},rotateZ:function(e,t,i,r){const n=[],s=[];return n[0]=t[0]-i[0],n[1]=t[1]-i[1],n[2]=t[2]-i[2],s[0]=n[0]*Math.cos(r)-n[1]*Math.sin(r),s[1]=n[0]*Math.sin(r)+n[1]*Math.cos(r),s[2]=n[2],e[0]=s[0]+i[0],e[1]=s[1]+i[1],e[2]=s[2]+i[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:g,scaleAndAdd:y,set:l,sign:h,sqrDist:U,sqrLen:G,squaredDistance:v,squaredLength:w,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:z,subtract:u,transformMat3:T,transformMat4:C,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:F,transformQuatValues:P},Symbol.toStringTag,{value:"Module"})),i.d(t,["Il",0,$,"jb",0,z,"lo",0,U,"uE",0,G,"xg",0,D])},90629(e,t,i){i.d(t,{Lz:()=>n,PN:()=>s,cr:()=>o,gs:()=>a,r_:()=>u,tc:()=>l}),i(39829);const r=/^-?(\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(r);if(t){const i=Number(t[1]),r=t[3]&&t[3].toLowerCase(),n=e.startsWith("-"),o="px"===r?s(i):i;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,i=0){return[e,t,i]}},13069(e,t,i){i.d(t,{AG:()=>l,lk:()=>n,vD:()=>o,yS:()=>s});const r="randomUUID"in crypto;function n(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${n().toUpperCase()}}`}function o(){return`{${n()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},159(e,t,i){i.d(t,{A:()=>u});var r,n=i(5482),s=i(69540),o=i(25482),l=i(91429),a=i(99157);let u=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const i=this.steps[t];e.steps.push(i.getInverse())}return e}};(0,n.Cg)([(0,l.MZ)({type:[a.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,n.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,i){i.d(t,{A:()=>a});var r,n=i(5482),s=i(69540),o=i(25482),l=i(91429);let a=r=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,n.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,i)=>{t[i]=!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=r=(0,n.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)},9762(e,t,i){i.r(t),i.d(t,{projectBuffer:()=>n});var r=i(49208);function n(e,t,i,n,s,o,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,s);if(null==a)return!1;if(a===r.pO){if(e===n&&i===o)return!0;const t=i+3*l;for(let r=i,s=o;r<t;r++,s++)n[s]=e[r]??0;return!0}const u=i+3*l;for(let t=i,r=o;t<u;t+=3,r+=3)a(e,t,n,r);return!0}},49208(e,t,i){i.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h});var r=i(34727),n=i(86211),s=i(73941),o=i(79258),l=i(34403),a=i(21325);const u={2:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:m,11:g,2:h,4:A},5:{5:h,7:null,9:null,10:h,1:M,6:null,8:null,0:null,3:m,11:g,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:v,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,i,r){const n=e[t]/O,s=E-2*Math.atan(Math.exp(-e[t+1]/O)),o=O+(e[t+2]??0),l=Math.cos(s)*o;i[r]=Math.cos(n)*l,i[r+1]=Math.sin(n)*l,i[r+2]=Math.sin(s)*o},6:null,8:null,0:null,3:h,11:function(e,t,i,r){f(e,t,i,r),g(i,r,i,r)},2:f,4:function(e,t,i,r){f(e,t,i,r),A(i,r,i,r)}},4:{5:C,7:null,9:null,10:C,1:function(e,t,i,r){C(e,t,i,r),M(i,r,i,r)},6:null,8:null,0:null,3:function(e,t,i,r){C(e,t,i,r),m(i,r,i,r)},11:function(e,t,i,r){C(e,t,i,r),g(i,r,i,r)},2:C,4:h},1:{5:_,7:null,9:null,10:_,1:h,6:null,8:null,0:null,3:function(e,t,i,r){_(e,t,i,r),m(i,r,i,r)},11:function(e,t,i,r){_(e,t,i,r),g(i,r,i,r)},2:_,4:function(e,t,i,r){_(e,t,i,r),A(i,r,i,r)}},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:v,0:null,3:m,11:g,2:h,4:A},11:{5:y,7:null,9:null,10:y,1:function(e,t,i,r){y(e,t,i,r),M(i,r,i,r)},6:null,8:null,0:null,3:function(e,t,i,r){y(e,t,i,r),m(i,r,i,r)},11:h,2:y,4:function(e,t,i,r){y(e,t,i,r),A(i,r,i,r)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(T.source.spatialReference===e&&T.dest.spatialReference===t)return T;const i=d(e,T.source),r=d(t,T.dest);return 0===i&&0===r?(0,a.aI)(e,t)?T.projector=h:T.projector=null:T.projector=u[i][r],T}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,i,r){e!==i&&(i[r++]=e[t++],i[r++]=e[t++],i[r]=e[t]??0)}function f(e,t,i,r){i[r]=P*(e[t]/O),i[r+1]=P*(E-2*Math.atan(Math.exp(-e[t+1]/O))),i[r+2]=e[t+2]??0}function m(e,t,i,n){!function(e,t,i,n,s){const o=.4999999*Math.PI,l=(0,r.qE)(F*e[t+1],-o,o),a=Math.sin(l);i[n++]=F*e[t]*s.radius,i[n++]=s.halfSemiMajorAxis*Math.log((1+a)/(1-a)),i[n]=e[t+2]??0}(e,t,i,n,o.$O)}function g(e,t,i,r){i[r]=e[t]*R,i[r+1]=e[t+1]*R,i[r+2]=e[t+2]??0}function y(e,t,i,r){i[r]=e[t]*j,i[r+1]=e[t+1]*j,i[r+2]=e[t+2]??0}function b(e,t,i,r,n){const s=n+(e[t+2]??0),o=F*e[t],l=F*e[t+1],a=Math.cos(l)*s;i[r]=Math.cos(o)*a,i[r+1]=Math.sin(o)*a,i[r+2]=Math.sin(l)*s}function v(e,t,i,r){b(e,t,i,r,o.Sw.radius)}function w(e,t,i,r){b(e,t,i,r,o.sH.radius)}function M(e,t,i,r){b(e,t,i,r,o.$O.radius)}function S(e,t,i,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,r.YN)(a/(0===u?1:u)),p=Math.atan2(l,o);i[n++]=P*p,i[n++]=P*c,i[n]=u-s}function x(e,t,i,r){S(e,t,i,r,o.Sw.radius)}function I(e,t,i,r){S(e,t,i,r,o.sH.radius)}function _(e,t,i,r){S(e,t,i,r,o.$O.radius)}function A(e,t,i,r){!function(e,t,i,r,n){const s=F*e[t],o=F*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);i[r++]=(c+l)*u*Math.cos(s),i[r++]=(c+l)*u*Math.sin(s),i[r++]=(c*(1-n.eccentricitySquared)+l)*a}(e,t,i,r,o.$O)}function C(e,t,i,r){const n=l.TP,s=e[t],a=e[t+1],u=e[t+2]??0;let c,p,d,h,f,m,g,y,b,v,w,M,S,x,I,_,A,C,T,F,E;c=Math.abs(u),p=s*s+a*a,d=Math.sqrt(p),h=p+u*u,f=Math.sqrt(h),F=Math.atan2(a,s),m=u*u/h,g=p/h,x=n.a2/f,I=n.a3-n.a4/f,g>.3?(y=c/f*(1+g*(n.a1+x+m*I)/f),T=Math.asin(y),v=y*y,b=Math.sqrt(1-v)):(b=d/f*(1-m*(n.a5-x-g*I)/f),T=Math.acos(b),v=1-b*b,y=Math.sqrt(v)),w=1-o.$O.eccentricitySquared*v,M=o.$O.radius/Math.sqrt(w),S=n.a6*M,x=d-M*b,I=c-S*y,A=b*x+y*I,_=b*I-y*x,C=_/(S/w+A),T+=C,E=A+_*C/2,u<0&&(T=-T),i[r++]=P*F,i[r++]=P*T,i[r]=E}const T={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},F=(0,r.kU)(1),P=(0,r.KJ)(1),E=.5*Math.PI,O=o.$O.radius,R=O*Math.PI/180,j=180/(O*Math.PI);i.d(t,["w5",0,u])},91218(e,t,i){i.r(t),i.d(t,{canProjectWithoutEngine:()=>J,initializeProjection:()=>V,isEqualBaseGCS:()=>K,isLoaded:()=>O,isLoadedOrLoad:()=>R,isLoadedOrLoadFor:()=>j,load:()=>L,project:()=>z,projectAsync:()=>B,projectExtent:()=>ne,projectMany:()=>N,projectMultipoint:()=>Q,projectOrLoad:()=>D,projectOrLoadMany:()=>U,projectPoint:()=>W,projectPolygon:()=>ie,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>Z,test:()=>q,tryProject:()=>k,unload:()=>G});var r=i(49186),n=i(17676),s=i(62788),o=i(95488),l=i(51850),a=i(21276),u=i(73941),c=i(5443),p=i(91075),d=i(48526),h=i(86738),f=i(39829),m=i(82799),g=i(16930),y=i(98764),b=i(159),v=i(9762),w=i(49208);function M(e,t,i,r,n,s){return S[0]=e,S[1]=t,S[2]=i,(0,v.projectBuffer)(S,r,0,n,s,0)}const S=(0,l.vt)();var x=i(60408),I=i(21325),_=i(52006);let A=null,C=null,T=null,F=null,P={};const E=new o.I;function O(){return!!(C?.isLoaded()&&T?.isLoaded()&&F?.isLoaded())}function R(){return!!O()||((0,s.gc)(E),L(),!1)}function j(e,t){return!e||!t||J(e,t)||R()}function Z(e,t){return!J(e,t)&&!O()}async function L(e){null==A&&(A=Promise.all([i.e(3276).then(i.bind(i,83276)).then(e=>(C=e,C.load())),i.e(8377).then(i.bind(i,8377)).then(e=>(T=e,T.load())),i.e(2158).then(i.bind(i,12158)).then(e=>(F=e,F.load()))])),await A,(0,n.Te)(e),E.notify()}function z(e,t,i){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),N(e,e[0].spatialReference,t,i)):((0,a.f)(e),N([e],e.spatialReference,t,i)[0])}function N(e,t,i,r){if(null==t||null==i)return e;if(J(t,i,r))return e.map(e=>H(e,t,i));if(null==r?.geographicTransformation&&(0,u.jA)(t))return N(e.map(e=>H(e,t,g.A.WGS84)),g.A.WGS84,i,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(i))return N(e,t,g.A.WGS84).map(e=>H(e,g.A.WGS84,i));if(!O())throw new $;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:F.getTransformation(t,i,r.areaOfInterestExtent)||new b.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,i);let n=P[e];n||(n=F.getTransformation(t,i)||new b.A,P[e]=n),r={geographicTransformation:n,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?C.executeMany(e,i,r):T.executeMany(e,i,r)}function k(e,t,i){try{return z(e,t,i)}catch(e){return null}}function D(e,t){const i=U([e],t);return null!=i.pending?{pending:i.pending,geometry:null}:null!=i.geometries?{pending:null,geometry:i.geometries[0]}:{pending:null,geometry:null}}function U(e,t,i){if(!O())for(const i of e)if(null!=i&&!(0,I.aI)(i.spatialReference,t)&&(0,I.fn)(i.spatialReference)&&(0,I.fn)(t)&&!J(i.spatialReference,t))return(0,s.gc)(E),{pending:L(),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)?z(e,t,i):null)}}class $ extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){A=null,C=null,T=null,F=null,P={}}const q={get loadPromise(){return A}};async function B(e,t,i){if((0,n.Te)(i),!e)return e;const r=U(Array.isArray(e)?e:[e],t,i);if(r.pending)return await r.pending,(0,n.Te)(i),B(e,t,i);const s=r.geometries??[];return Array.isArray(e)?s:s[0]}function J(e,t,i){return!(i?.areaOfInterestExtent||i?.extendedParams||i?.geographicTransformation)&&(!!(0,I.aI)(e,t)||(0,I.fn)(e)&&(0,I.fn)(t)&&!!(0,w.jd)(e,t))}function K(e,t){if((0,I.aI)(e,t))return!0;if(!(0,I.fn)(e)||!(0,I.fn)(t))return!1;const i=(0,I.oT)(e)||(0,I.K8)(e)||(0,I.x1)(e),r=(0,I.oT)(t)||(0,I.K8)(t)||(0,I.x1)(t);return i&&r}async function V(e,t,i,r){if(O())return(0,n.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:i,options:n}of e)if(t&&i&&!J(t,i,n))return L(r)}else if(e&&t&&!J(e,t,i))return L(r);return(0,n.NO)(r)}function H(e,t,i){return e?(0,x.fT)(e)?Y(e,t,new h.A,i,0):(0,x.ZC)(e)?se(e,t,new c.A,i,0):(0,x.Bi)(e)?re(e,t,new f.A,i,0):(0,x.Rg)(e)?te(e,t,new m.A,i,0):(0,x.U9)(e)?X(e,t,new d.A,i,0):null:null}function W(e,t,i=t.spatialReference,r=0){return null!=i&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,i,r)}function Y(e,t,i,r,n){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:n,(0,v.projectBuffer)(ue,t,0,ue,r,0)?(i.x=ue[0],i.y=ue[1],i.spatialReference=r,void 0!==s||(0,u.xP)(r)?(i.z=ue[2],i.hasZ=!0):(i.z=void 0,i.hasZ=!1),void 0===e.m?(i.m=void 0,i.hasM=!1):(i.m=e.m,i.hasM=!0),i):null}function Q(e,t,i=t.spatialReference,r=0){return null!=e.spatialReference&&null!=i&&null!=X(e,e.spatialReference,t,i,r)}function X(e,t,i,r,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,v.projectBuffer)(c,t,0,c,r,0,u))return null;const p=ae(o,r);for(let e=0;e<u;++e){const t=3*e,i=c[t],r=c[t+1];p&&l?a.push([i,r,c[t+2],s[e][3]]):p?a.push([i,r,c[t+2]]):l?a.push([i,r,s[e][2]]):a.push([i,r])}return i.points=a,i.spatialReference=r,i.hasZ=o,i.hasM=l,i}function ee(e,t,i=t.spatialReference,r=0){return null!=e.spatialReference&&null!=i&&null!=te(e,e.spatialReference,t,i,r)}function te(e,t,i,r,n){const{curvePaths:s,paths:o,hasZ:l,hasM:a}=e;if(!(s?le(s,l??!1,a??!1,t,i.curvePaths=[],r,n):oe(o,l??!1,a??!1,t,i.paths,r,n)))return null;const u=ae(l,r);return i.spatialReference=r,i.hasZ=u,i.hasM=a,i}function ie(e,t,i=t.spatialReference,r=0){return null!=e.spatialReference&&null!=i&&null!=re(e,e.spatialReference,t,i,r)}function re(e,t,i,r,n){const{curveRings:s,rings:o,hasZ:l,hasM:a}=e;return(s?le(s,l??!1,a??!1,t,i.curveRings=[],r,n):oe(o,l??!1,a??!1,t,i.rings,r,n))?(i.spatialReference=r,i.hasZ=ae(l,r),i.hasM=a,i):null}function ne(e,t,i=t.spatialReference,r=0){return null!=e.spatialReference&&null!=i&&null!=se(e,e.spatialReference,t,i,r)}function se(e,t,i,r,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,r))return null;const p=ae(u,r);return i.xmin=ue[0],i.ymin=ue[1],p&&(i.zmin=ue[2]),M(l,a,u?e.zmax:n,t,ue,r)?(i.xmax=ue[0],i.ymax=ue[1],p&&(i.zmax=ue[2]),c&&(i.mmin=e.mmin,i.mmax=e.mmax),i.spatialReference=r,i):null}function oe(e,t,i,r,n,s,o=0){const l=new Array;for(const i of e)for(const e of i)l.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(l,r,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 r of t){const t=l.slice(a,a+=3);c||t.pop(),i&&t.push(r[u]),e.push(t)}n.push(e)}return!0}function le(e,t,i,r,n,s,o=0){const l=new Array;for(const i of e)for(const e of i){if((0,_.FG)(e))return!1;if((0,_.aO)(e)){const[i,r]=e.c;l.push(i[0],i[1],t?i[2]:o,r[0],r[1],o);continue}if((0,_.n1)(e)){const[i,r,n]=e.b;l.push(i[0],i[1],t?i[2]:o,r[0],r[1],o,n[0],n[1],o);continue}const i=e;l.push(i[0],i[1],t?i[2]:o)}if(!(0,v.projectBuffer)(l,r,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 r of t){const t=l.slice(a,a+=3);if(c||t.pop(),i&&t.push((0,_.yP)(r)[u]),(0,_.FG)(r))return!1;if((0,_.aO)(r)){const i=l[a++],r=l[a++];++a,e.push({c:[t,[i,r]]});continue}if((0,_.n1)(r)){const i=l[a++],r=l[a++];++a;const n=l[a++],s=l[a++];++a,e.push({b:[t,[i,r],[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,y.Y0)}const ue=(0,l.vt)()},98764(e,t,i){i.d(t,{lO:()=>c});var r=i(73941),n=i(16930),s=i(21325);const o=new n.A(r.fv),l=new n.A(r.FY),a=new n.A(r.LJ),u=new n.A(r.Ro);function c(e){const t=p.get(e);if(t)return t;let i=o;if(e)if(e===l)i=l;else if(e===a)i=a;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,s.tl)(t)||(0,s.tl)(r)?i=l:((0,s.ZL)(t)||(0,s.ZL)(r))&&(i=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?i=l:e===h&&(i=a)}}}return p.set(e,i),i}const p=new Map,d=l.wkt.toUpperCase(),h=a.wkt.toUpperCase();i.d(t,["GD",0,o,"Y0",0,u])},4197(e,t,i){i.d(t,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>l,yH:()=>a});var r=i(34275),n=i(9093);function s(e){return e<=1024?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=1024?Array.from(e):new Float64Array(e)}function l(e,t,i){return Array.isArray(e)?e.slice(t,t+i):e.subarray(t,t+i)}function a(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);const i=s(e.length+t.length);for(let t=0;t<e.length;++t)i[t]=e[t];for(let r=0;r<t.length;++r)i[e.length+r]=t[r];return i}function u(e){return[...e]}function c(e){const t=(0,n.vt)();for(let i=0;i<16;++i)t[i]=e[i];return t}},70328(e,t,i){i.d(t,{BI:()=>C,C:()=>o,DC:()=>d,Ej:()=>v,Ie:()=>_,Jt:()=>A,Lu:()=>M,Ne:()=>S,RF:()=>p,TF:()=>y,VL:()=>f,aI:()=>F,fA:()=>l,gE:()=>u,gX:()=>b,hZ:()=>I,iT:()=>h,is:()=>T,pg:()=>w,uJ:()=>g,vI:()=>x,vY:()=>a,vt:()=>s,w1:()=>c,yr:()=>m}),i(35522);var r=i(5443),n=(i(19419),i(4197));function s(e=E){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t){for(let i=0;i<6;i++)e[i]=t[i];return e}function l(e,t,i,r,n,o,l=s()){return l[0]=e,l[1]=t,l[2]=i,l[3]=r,l[4]=n,l[5]=o,l}function a(e,t=s()){return function(e,t,i,r=s()){return I(r,P),function(e,t,i=0,r=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<r;e++)n=Math.min(n,t[i+3*e]),s=Math.min(s,t[i+3*e+1]),o=Math.min(o,t[i+3*e+2]),l=Math.max(l,t[i+3*e]),a=Math.max(a,t[i+3*e+1]),u=Math.max(u,t[i+3*e+2]);e[0]=n,e[1]=s,e[2]=o,e[3]=l,e[4]=a,e[5]=u}(r,e,t,i),r}(e,0,e.length/3,t)}function u(e,t=(0,n.jh)(24)){const[i,r,s,o,l,a]=e;return t[0]=i,t[1]=r,t[2]=s,t[3]=i,t[4]=r,t[5]=a,t[6]=i,t[7]=l,t[8]=s,t[9]=i,t[10]=l,t[11]=a,t[12]=o,t[13]=r,t[14]=s,t[15]=o,t[16]=r,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 i=isFinite(e[2])||isFinite(e[5]);return new r.A(i?{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,i=e){i[0]=Math.min(e[0],t[0]),i[1]=Math.min(e[1],t[1]),i[2]=Math.min(e[2],t[2]),i[3]=Math.max(e[3],t[3]),i[4]=Math.max(e[4],t[4]),i[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,i,r]){!function(e,t,i,r){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],i),e[2]=Math.min(e[2],r),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],i),e[5]=Math.max(e[5],r)}(e,t,i,r)}function f(e){return e[0]>=e[3]?0:e[3]-e[0]}function m(e){return e[1]>=e[4]?0:e[4]-e[1]}function g(e){return e[2]>=e[5]?0:e[5]-e[2]}function y(e){const t=f(e),i=g(e),r=m(e);return t*t+i*i+r*r}function b(e,t=[0,0,0]){return t[0]=e[0]+f(e)/2,t[1]=e[1]+m(e)/2,t[2]=e[2]+g(e)/2,t}function v(e,t=[0,0,0]){return t[0]=f(e),t[1]=m(e),t[2]=g(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,i=e){return i[0]=t[0],i[1]=t[1],i[2]=t[2],i!==e&&(i[3]=e[3],i[4]=e[4],i[5]=e[5]),i}function x(e,t,i=e){return i[3]=t[0],i[4]=t[1],i[5]=t[2],i!==e&&(i[0]=e[0],i[1]=e[1],i[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 _(e){return e?I(e,P):s(P)}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 C(e,t,i,r,n){return e[0]=t,e[1]=i,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=n,e[5]=Number.POSITIVE_INFINITY,e}function T(e){return 6===e.length}function F(e,t,i){if(null==e||null==t)return e===t;if(!T(e)||!T(t))return!1;if(i){for(let r=0;r<e.length;r++)if(!i(e[r],t[r]))return!1}else for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}const P=[1/0,1/0,1/0,-1/0,-1/0,-1/0],E=[0,0,0,0,0,0];s(),i.d(t,["qv",0,P,"v_",0,E])},34403(e,t,i){var r=i(79258);Math.PI;const n=r.$O.radius,s=r.$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};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,i.d(t,["TP",0,o])},60408(e,t,i){function r(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":r(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)}i.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>o,U9:()=>n,W0:()=>p,ZC:()=>r,fT:()=>s,uW:()=>a})},65864(e,t,i){i.d(t,{rS:()=>c,xD:()=>d});var r=i(5443),n=i(91075),s=i(48526),o=i(86738),l=i(39829),a=i(82799),u=i(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)?r.A.fromJSON(e):null}const p={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function d(e){return e&&p[e]||null}},50498(e,t,i){var r=i(66552),n=i(5443),s=i(91075),o=i(48526),l=i(86738),a=i(39829),u=i(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,r.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 r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});i.d(t,["Ye",0,p,"gy",0,c,"iI",0,h,"yR",0,d])},55156(e,t,i){i.d(t,{I:()=>n});const r=Symbol("idFieldsProviderSymbol");function n(e){return(t=e)&&r in t?e[r]:void 0;var t}i.d(t,["e",0,r])},79457(e,t,i){i.r(t),i.d(t,{default:()=>ae});var r=i(5482),n=i(37838),s=i(11254),o=i(69540),l=i(49186),a=i(36563),u=i(4718),c=i(53966),p=i(25728),d=i(17676),h=i(84952),f=i(91429),m=i(56507),g=i(5443),y=i(16930),b=i(50498),v=i(55156),w=i(60950),M=i(89808),S=i(99959);const x=Symbol("isStreamGraphicOrigin");var I;class _ extends S.A{get[(I=x,w.ym)](){return this.layer}get[v.e](){return this.layer}get[M.Q](){return this.layer}constructor(e){super(),this[I]=!0,this.type="stream",this.layer=e}get id(){return this.layer.id}}var A,C=i(4146),T=i(18768),F=i(63074),P=i(69208),E=i(6455),O=i(87718),R=i(56658),j=i(34287),Z=i(8303),L=i(54310),z=i(25036),N=i(82935),k=i(63396),D=i(10873),U=i(25747),$=i(15426),G=i(20437),q=i(17036),B=i(30524),J=i(9916),K=i(46499),V=i(39383),H=i(25482);let W=class extends H.o{static{A=this}constructor(e){super(e),this.age=null,this.ageReceived=null,this.displayCount=null,this.maxObservations=1}clone(){return new A({age:this.age,ageReceived:this.ageReceived,displayCount:this.displayCount,maxObservations:this.maxObservations})}};(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"age",void 0),(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"ageReceived",void 0),(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"displayCount",void 0),(0,r.Cg)([(0,f.MZ)({type:Number,json:{write:!0}})],W.prototype,"maxObservations",void 0),W=A=(0,r.Cg)([(0,f.$K)("esri.layers.support.PurgeOptions")],W);var Y=i(72691),Q=i(65494),X=i(8947),ee=i(41214),te=i(97552),ie=i(30291),re=i(88625),ne=i(59923),se=i(36005);const oe=(0,q.p)();let le=class extends((0,E.FJ)((0,R.J)((0,O.F)((0,F.dM)((0,N.e)((0,k.d)((0,z.j)((0,L.J)((0,T.b)((0,j.q)((0,Z.A)((0,p.M)((0,P.d)((0,o.OU)(C.A))))))))))))))){constructor(...e){super(...e),this.copyright=null,this.definitionExpression=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.geometryDefinition=null,this.geometryType=null,this.graphicOrigin=new _(this),this.labelsVisible=!0,this.labelingInfo=null,this.legendEnabled=!0,this.maxReconnectionAttempts=0,this.maxReconnectionInterval=20,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.operationalLayerType="ArcGISStreamLayer",this.outFields=["*"],this.popupEnabled=!0,this.popupTemplate=null,this.purgeOptions=new W,this.refreshInterval=0,this.screenSizePerspectiveEnabled=!0,this.source=null,this.sourceJSON=null,this.spatialReference=y.A.WGS84,this.type="stream",this.url=null,this.updateInterval=300,this.useViewTime=!0,this.webSocketUrl=null,this._debouncedSaveOperations=(0,d.sg)(async(e,t,r)=>{const{save:n,saveAs:s}=await i.e(7301).then(i.bind(i,87301));switch(e){case 0:return n(this,t);case 1:return s(this,r,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){if(!("WebSocket"in globalThis))return this.addResolvingPromise(Promise.reject(new l.A("stream-layer:websocket-unsupported","WebSocket is not supported in this browser. StreamLayer will not have real-time connection with the stream service."))),Promise.resolve(this);const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Stream Service","Feed"]},e).catch(d.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}get defaultPopupTemplate(){return this.createPopupTemplate()}set featureReduction(e){const t=this._normalizeFeatureReduction(e);this._set("featureReduction",t)}set renderer(e){(0,B.yp)(e,this.fieldsIndex),this._set("renderer",e)}readRenderer(e,t,i){t=t.layerDefinition||t;const r=t.drawingInfo?.renderer;if(r){const e=(0,Q.L)(r,t,i)||void 0;return e||c.A.getLogger(this).error("Failed to create renderer",{rendererDefinition:t.drawingInfo.renderer,layer:this,context:i}),e}return(0,$.PD)(t,i)}async connect(e){const[{createConnection:t}]=await Promise.all([Promise.all([i.e(893),i.e(4708)]).then(i.bind(i,60986)),this.load()]),r=e?.spatialReference??this.spatialReference,n=t(this.getStreamConnectionSource(e),r),s=(0,a.vE)([this.on("send-message-to-socket",e=>n.sendMessageToSocket(e)),this.on("send-message-to-client",e=>n.sendMessageToClient(e))]);return n.once("destroy",s.remove),n}getStreamConnectionSource(e){const{customParameters:t=null,definitionExpression:i=null,geometryDefinition:r=null,maxReconnectionAttempts:n=0,maxReconnectionInterval:s=20}=e||this.createConnectionParameters(),o=this.geometryType?b.gy.toJSON(this.geometryType):null,a=this.spatialReference.toJSON();if(this.source){if(!this.timeInfo?.trackIdField)throw new l.A("stream-layer:missing-metadata","TrackIdField required for Kusto data source.");return{type:"kusto",database:this.database,table:this.source.table,trackIdField:this.timeInfo.trackIdField,geometryEncoding:this.source.geometryEncoding.toJSON(),sourceSpatialReference:a,refreshInterval:this.source.refreshInterval}}return this.webSocketUrl?{type:"custom",url:(0,h.An)(this.webSocketUrl),customParameters:t,definitionExpression:i,geometryDefinition:r,geometryType:o,maxReconnectionAttempts:n,maxReconnectionInterval:s,sourceSpatialReference:a}:this.parsedUrl?{type:"geoevent",url:this.parsedUrl,customParameters:t,definitionExpression:i,geometryDefinition:r,geometryType:o,maxReconnectionAttempts:n,maxReconnectionInterval:s,sourceSpatialReference:a}:{type:"client",geometryType:o,sourceSpatialReference:this.spatialReference.toJSON()}}createConnectionParameters(){return{spatialReference:this.spatialReference,customParameters:this.customParameters,definitionExpression:this.definitionExpression,geometryDefinition:this.geometryDefinition,maxReconnectionAttempts:this.maxReconnectionAttempts,maxReconnectionInterval:this.maxReconnectionInterval}}createPopupTemplate(e){return(0,ie.tn)(this,e)}createQuery(){const e=new te.A;return e.returnGeometry=!0,e.outFields=["*"],e.where=this.definitionExpression||"1=1",e}getFieldDomain(e,t){if(!this.fields)return null;let i=null;return this.fields.some(t=>(t.name===e&&(i=t.domain),!!i)),i}getField(e){return this.fieldsIndex.get(e)}serviceSupportsSpatialReference(e){return!0}sendMessageToSocket(e){this.emit("send-message-to-socket",e)}sendMessageToClient(e){this.emit("send-message-to-client",e)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){return this.webSocketUrl?((0,ne.U4)(t,this,"a custom websocket connection cannot be written to web scenes and web maps"),null):this.source?((0,ne.U4)(t,this,"a custom source cannot be written to web scenes and web maps"),null):this.parsedUrl?super.write(e,t):((0,ne.U4)(t,this,"a client-side only connection without a url cannot be written to web scenes and web maps"),null)}async _fetchService(e){if(this.source){const e=await(0,J.ZF)(this.source.workspace,this.source.database,this.source.table,{fields:this.fields,source:this.source,database:this.database});if(this.database=e.database,!e.fields)throw new l.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(this.fields=e.fields,!e.source)throw new l.A("stream-layer:missing-metadata","Unable to infer Kusto source.",{layerInfo:e});if(!e.source.geometryEncoding)throw new l.A("stream-layer:missing-metadata","Unable to infer Kusto geometry encoding.",{layerInfo:e});this.source=e.source}if(this.parsedUrl){if(!this.sourceJSON){const{data:t}=await(0,s.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,...this.parsedUrl.query},responseType:"json",signal:e});this.sourceJSON=t}}else{if(!this.timeInfo?.trackIdField)throw new l.A("stream-layer:missing-metadata","The stream layer trackIdField must be specified.");if(!this.fields)throw new l.A("stream-layer:missing-metadata","The stream layer fields must be specified.");if(!this.objectIdField){const e=this.fields.find(e=>"oid"===e.type)?.name;e&&(this.objectIdField=e)}if(this.fields.some(e=>e.name===this.objectIdField)||this.fields.push(new G.A({name:this.objectIdField??Y.DN,alias:this.objectIdField??Y.DN,type:"oid"})),!this.geometryType)throw new l.A("stream-layer:missing-metadata","The stream layer geometryType must be specified.")}return this.read(this.sourceJSON,{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,B.yp)(this.renderer,this.fieldsIndex),(0,B.sv)(this.timeInfo,this.fieldsIndex),this.objectIdField||(this.objectIdField=Y.DN),(0,X.L)(this,{origin:"service"})}};(0,r.Cg)([(0,f.MZ)({type:String})],le.prototype,"copyright",void 0),(0,r.Cg)([(0,f.MZ)()],le.prototype,"database",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],le.prototype,"defaultPopupTemplate",null),(0,r.Cg)([(0,f.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],le.prototype,"definitionExpression",void 0),(0,r.Cg)([(0,f.MZ)({type:String})],le.prototype,"displayField",void 0),(0,r.Cg)([(0,f.MZ)({type:re.A})],le.prototype,"elevationInfo",void 0),(0,r.Cg)([(0,f.MZ)({json:{origins:{"web-map":{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-scene":{read:!1,write:!1}}}})],le.prototype,"featureReduction",null),(0,r.Cg)([(0,f.MZ)(oe.fields)],le.prototype,"fields",void 0),(0,r.Cg)([(0,f.MZ)(oe.fieldsIndex)],le.prototype,"fieldsIndex",void 0),(0,r.Cg)([(0,f.MZ)({type:g.A,json:{name:"layerDefinition.definitionGeometry",write:!0}})],le.prototype,"geometryDefinition",void 0),(0,r.Cg)([(0,f.MZ)({type:b.gy.apiValues,json:{read:{reader:b.gy.read}}})],le.prototype,"geometryType",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0,clonable:!1})],le.prototype,"graphicOrigin",void 0),(0,r.Cg)([(0,f.MZ)(D.kF)],le.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,f.MZ)({type:[K.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:V.w},write:!0}})],le.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,f.MZ)(D.fV)],le.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:["show","hide"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],le.prototype,"listMode",void 0),(0,r.Cg)([(0,f.MZ)({type:m.jz})],le.prototype,"maxReconnectionAttempts",void 0),(0,r.Cg)([(0,f.MZ)({type:m.jz})],le.prototype,"maxReconnectionInterval",void 0),(0,r.Cg)([(0,f.MZ)(D.hG)],le.prototype,"maxScale",void 0),(0,r.Cg)([(0,f.MZ)(D.hn)],le.prototype,"minScale",void 0),(0,r.Cg)([(0,f.MZ)({type:String})],le.prototype,"objectIdField",void 0),(0,r.Cg)([(0,f.MZ)({value:"ArcGISStreamLayer",type:["ArcGISStreamLayer"]})],le.prototype,"operationalLayerType",void 0),(0,r.Cg)([(0,f.MZ)({readOnly:!0})],le.prototype,"outFields",void 0),(0,r.Cg)([(0,f.MZ)(D.M6)],le.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:n.A,json:{name:"popupInfo",write:!0}})],le.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,f.MZ)({type:W})],le.prototype,"purgeOptions",void 0),(0,r.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],le.prototype,"refreshInterval",void 0),(0,r.Cg)([(0,f.MZ)({types:ee.Hg,json:{origins:{service:{write:{target:"drawingInfo.renderer",enabled:!1}},"web-scene":{name:"layerDefinition.drawingInfo.renderer",types:ee.XJ,write:!0}},write:{target:"layerDefinition.drawingInfo.renderer"}}})],le.prototype,"renderer",null),(0,r.Cg)([(0,se.w)("service","renderer",["drawingInfo.renderer","defaultSymbol"]),(0,se.w)("renderer",["layerDefinition.drawingInfo.renderer","layerDefinition.defaultSymbol"])],le.prototype,"readRenderer",null),(0,r.Cg)([(0,f.MZ)((()=>{const e=(0,u.o8)(D.PY);return e.json.origins["portal-item"]={read:!1,write:!1},e})())],le.prototype,"screenSizePerspectiveEnabled",void 0),(0,r.Cg)([(0,f.MZ)({type:U.A,json:{write:!1}})],le.prototype,"source",void 0),(0,r.Cg)([(0,f.MZ)()],le.prototype,"sourceJSON",void 0),(0,r.Cg)([(0,f.MZ)({type:y.A,json:{origins:{service:{read:{source:"spatialReference"}}}}})],le.prototype,"spatialReference",void 0),(0,r.Cg)([(0,f.MZ)({json:{read:!1}})],le.prototype,"type",void 0),(0,r.Cg)([(0,f.MZ)(D.OZ)],le.prototype,"url",void 0),(0,r.Cg)([(0,f.MZ)({type:Number})],le.prototype,"updateInterval",void 0),(0,r.Cg)([(0,f.MZ)({json:{read:!1,write:!1}})],le.prototype,"useViewTime",void 0),(0,r.Cg)([(0,f.MZ)({type:String})],le.prototype,"webSocketUrl",void 0),le=(0,r.Cg)([(0,f.$K)("esri.layers.StreamLayer")],le);const ae=le},54339(e,t,i){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const i=[];for(const r of t.fieldNames)i.push(e.attributes[r]??null);return JSON.stringify(i)}}}function n(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const i=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(i)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}i.d(t,{W:()=>r,r:()=>n})},18768(e,t,i){var r=i(5482),n=i(53966),s=i(91429),o=i(60694);i.d(t,["b",0,e=>{const t=e;let i=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,o.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,o.Jf)(e,n.A.getLogger(this)))}};return(0,r.Cg)([(0,s.MZ)()],i.prototype,"title",null),(0,r.Cg)([(0,s.MZ)({type:String})],i.prototype,"url",null),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.ArcGISService")],i),i}])},69208(e,t,i){var r=i(5482),n=i(91429);i.d(t,["d",0,e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,r.Cg)([(0,n.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],i.prototype,"customParameters",void 0),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.CustomParametersMixin")],i),i}])},6455(e,t,i){i.d(t,{FJ:()=>y,Dp:()=>b,KV:()=>v});var r=i(5482),n=i(93637),s=i(91429),o=i(89317),l=i(69540),a=i(7762),u=i(25482),c=i(83960),p=i(13069);const d={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.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,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"id",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:d})],h.prototype,"maxScale",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:d})],h.prototype,"minScale",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"title",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],h.prototype,"where",void 0),h=(0,r.Cg)([(0,s.$K)("esri.layers.support.DisplayFilter")],h);var f=i(41560),m=i(43937);let g=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,i,r){const n=e.toArray();"scale"===this.mode&&n.sort((e,t)=>{const i=(0,c.oW)(t.minScale,e.minScale),r=e.maxScale-t.maxScale;return 0===i?r:i}),t[i]=n.map(e=>e.toJSON(r))}write(e,t){return super.write(e,(0,f.mW)(this,t))}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,r.Cg)([(0,s.MZ)({type:a.A.ofType(h),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,r.Cg)([(0,m.K)("filters")],g.prototype,"writeFilters",null),(0,r.Cg)([(0,s.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,r.Cg)([(0,s.$K)("esri.layers.support.DisplayFilterInfo")],g);const y=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,r.Cg)([(0,s.MZ)(b)],i.prototype,"displayFilterEnabled",void 0),(0,r.Cg)([(0,s.MZ)(v)],i.prototype,"displayFilterInfo",void 0),i=(0,r.Cg)([(0,s.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},b={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:o.K,writer(e,t,i){(0,n.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},v={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:o.K},origins:{"web-scene":{write:!1,read:!1}}}}},8303(e,t,i){var r=i(5482),n=i(92602),s=i(70333),o=i(11254),l=i(60999),a=i(49186),u=i(36563),c=i(53966),p=i(97768),d=i(17676),h=i(84952),f=i(91429),m=i(77548),g=i(20655),y=i(80812),b=i(41318),v=i(10407),w=i(36005),M=i(43937);const S={credential:null,user:null};i.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,i){if(t.itemId)return new y.default({id:t.itemId,portal:i?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:r}=await i.e(1204).then(i.bind(i,41204));return(0,d.Te)(t),await r({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||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 i.e(1204).then(i.bind(i,41204)),r=new AbortController,n=(0,u.rE)(r);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:r.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:i,fullEdit:r},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",i),this._set("userHasFullEditingPrivileges",r),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let i=this.portalItem;if(!e||!i||!i.loaded||i.sourceUrl)return this._fetchFallbackUserPrivileges(t);const r=!s.id?.findCredential(this.url),n=e===i.id;if(n&&i.portal.user)return this._getUserPrivileges(i,r);let o,l;if(n)o=i.portal.url;else try{o=await(0,m.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!o||!(0,h.b8)(o,i.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 i.reload():(i=new y.default({id:e,portal:{url:o}}),await i.load(t)),i.portal.user)return this._getUserPrivileges(i,r)}catch(e){(0,d.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const i=(0,v.It)(e);return t&&(i.features.edit=!0),i}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const i=S.credential===t?S.user:await this._fetchEditingUser(e);return S.credential=t,S.user=i,null==i?.privileges||i.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const i=s.id?.findServerInfo(this.url??"");if(!i?.owningSystemUrl)return null;const r=`${i.owningSystemUrl}/sharing/rest`,n=g.A.getDefault();if(n&&n.loaded&&(0,h.S8)(n.restUrl)===(0,h.S8)(r))return n.user;const a=`${r}/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?b.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const i=t?.portal,r=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return i&&r&&!(0,h.ut)(r.restUrl,i.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,r.Cg)([(0,f.MZ)({type:y.default})],x.prototype,"portalItem",null),(0,r.Cg)([(0,w.w)("web-document","portalItem",["itemId"])],x.prototype,"readPortalItem",null),(0,r.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],x.prototype,"writePortalItem",null),(0,r.Cg)([(0,f.MZ)({clonable:!1})],x.prototype,"resourceReferences",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasEditingPrivileges",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasFullEditingPrivileges",void 0),(0,r.Cg)([(0,f.MZ)({type:Boolean,readOnly:!0})],x.prototype,"userHasUpdateItemPrivileges",void 0),x=(0,r.Cg)([(0,f.$K)("esri.layers.mixins.PortalLayer")],x),x}])},82935(e,t,i){var r=i(5482),n=i(91429),s=i(89317),o=i(30524),l=i(96184),a=i(73133),u=i(79677),c=i(10184),p=i(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}};i.d(t,["B",0,d,"e",0,e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const r=i.timeOffset,n=a.j.fromJSON(i.timeOffsetUnits);return r&&n?new c.A({value:r,unit:n}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,o.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,r.Cg)([(0,n.MZ)({type:u.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,r.Cg)([(0,n.MZ)({type:c.A})],i.prototype,"timeOffset",void 0),(0,r.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,r.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}}}})],i.prototype,"timeInfo",null),(0,r.Cg)([(0,n.MZ)(d)],i.prototype,"useViewTime",void 0),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.TemporalLayer")],i),i}])},63396(e,t,i){i.d(t,{d:()=>S});var r=i(5482),n=i(91429),s=i(60950),o=i(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=i(37838),u=i(69540),c=i(25482),p=i(93637),d=i(50820),h=i(10873),f=i(46499),m=i(41214);let g=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,r.Cg)([(0,n.MZ)({type:[f.A],json:{write:!0}})],g.prototype,"labelingInfo",void 0),(0,r.Cg)([(0,n.MZ)(h.kF)],g.prototype,"labelsVisible",void 0),(0,r.Cg)([(0,n.MZ)({types:m.Hg,json:{write:!0}})],g.prototype,"renderer",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],g.prototype,"visible",void 0),g=(0,r.Cg)([(0,n.$K)("esri.layers.support.TrackPartInfo")],g);var y=i(96576),b=i(59868),v=i(10184),w=i(43937);let M=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new g({renderer:new y.A({symbol:b.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new g({renderer:new y.A({symbol:b.UK.clone()})}),this.trackLines=new g({renderer:new y.A({symbol:b.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,i){const r=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,p.sM)(i,r,t)}};(0,r.Cg)([(0,n.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"enabled",void 0),(0,r.Cg)([(0,n.MZ)({type:[d.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,r.Cg)([(0,w.K)("fields")],M.prototype,"writeFields",null),(0,r.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],M.prototype,"latestObservations",void 0),(0,r.Cg)([(0,n.MZ)({type:v.A,json:{write:!0}})],M.prototype,"maxDisplayDuration",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxDisplayObservationsPerTrack",void 0),(0,r.Cg)([(0,n.MZ)(h.M6)],M.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,n.MZ)({type:a.A,json:{name:"popupInfo",write:!0}})],M.prototype,"popupTemplate",void 0),(0,r.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],M.prototype,"previousObservations",void 0),(0,r.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],M.prototype,"trackLines",void 0),(0,r.Cg)([(0,n.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],M.prototype,"timeField",void 0),M=(0,r.Cg)([(0,n.$K)("esri.layers.support.TrackInfo")],M);const S=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new l(this),this.trackInfo=null}};return(0,r.Cg)([(0,n.MZ)({readOnly:!0,clonable:!1})],i.prototype,"trackGraphicOrigin",void 0),(0,r.Cg)([(0,n.MZ)({type:M})],i.prototype,"trackInfo",void 0),i=(0,r.Cg)([(0,n.$K)("esri.layers.mixins.TrackableLayer")],i),i}},25747(e,t,i){i.d(t,{A:()=>u});var r=i(5482),n=i(69540),s=i(25482),o=i(91429),l=i(64108),a=i(9075);let u=class extends((0,s.T)(n.Pw)){constructor(e){super(e),this.type="fabric",this.refreshInterval=5e3/6e4}};(0,r.Cg)([(0,o.MZ)({type:["fabric"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],u.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:{ignoreOrigin:!0}}})],u.prototype,"workspace",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:{ignoreOrigin:!0}}})],u.prototype,"database",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:{ignoreOrigin:!0}}})],u.prototype,"table",void 0),(0,r.Cg)([(0,o.MZ)({type:a.A,json:{read:!1,write:{ignoreOrigin:!0}}})],u.prototype,"geometryEncoding",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{read:!1,write:{ignoreOrigin:!0}}})],u.prototype,"refreshInterval",void 0),u=(0,r.Cg)([(0,l.$)("esri.layers.support.FabricKustoSource")],u)},95466(e,t,i){i.d(t,{A:()=>u});var r=i(49186),n=i(53966),s=i(12195),o=i(30524),l=i(98623),a=i(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],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 i=[];for(const e of this.fields){const t=e?.name,r=(0,o.GZ)(t);if(t&&r){const n=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(n,e),this._normalizedFieldsMap.set(r,e),i.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)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,o.te)(e)||(0,o.Xz)(e)||e.nullable||void 0!==(0,o.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,o.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(n.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new r.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 i=!0===e.datesInUnknownTimezone,{timeInfo:r,editFieldsInfo:n}=e,s=(r?"startField"in r?r.startField:r.startTimeField:"")??"",u=(r?"endField"in r?r.endField:r.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=r?function(e){return"timeZone"in e}(r)?r.timeZone??p:r.timeReference?(0,a.ZS)(r.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:r,type:n}of e.fields)if(c.has(n))t.set(r,l.L);else if("date"!==n&&"esriFieldTypeDate"!==n)t.set(r,null);else if(i)t.set(r,l.L);else{const e=f.get((0,o.NF)(r??""))??p;t.set(r,e)}return t}},9075(e,t,i){i.d(t,{A:()=>l});var r=i(5482),n=i(69540),s=i(25482),o=i(91429);let l=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.type="location",this.xField=null,this.yField=null}};(0,r.Cg)([(0,o.MZ)({type:["location"],nonNullable:!0,readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"xField",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"yField",void 0),l=(0,r.Cg)([(0,o.$K)("esri.layers.support.GeometryEncodingLocation")],l)},46499(e,t,i){i.d(t,{A:()=>x});var r,n,s=i(5482),o=(i(44208),i(66552)),l=i(25482),a=i(4718),u=i(90629),c=i(91429),p=i(73913),d=i(32730),h=i(77548),f=i(59868),m=i(73838),g=i(33910),y=i(36005),b=i(43937);const v=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,i){return{enabled:!(0,h.TU)(i?.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{r=d.vK}static{n=this}static evaluateWhere(e,t){const i=(e,t,i)=>{switch(t){case"=":return e==i;case"<>":return e!=i;case">":return e>i;case">=":return e>=i;case"<":return e<i;case"<=":return e<=i}return!1};try{if(null==e)return!0;const r=e.split(" ");if(3===r.length)return i(t[r[0]],r[1],r[2]);if(7===r.length){const e=i(t[r[0]],r[1],r[2]),n=r[3],s=i(t[r[4]],r[5],r[6]);switch(n){case"AND":return e&&s;case"OR":return e||s}}return!1}catch(e){}}constructor(e){super(e),this[r]=!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 i=t.labelExpressionInfo;if(!i||!i.value&&!i.expression)return e}writeLabelExpression(e,t,i){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[i]=e)}writeLabelExpressionInfo(e,t,i,r){if(null==e&&null!=this.labelExpression&&M(r))e=new p.A({expression:this.getLabelExpressionArcade()});else if(!e)return;const n=e.toJSON(r);n.expression&&(t[i]=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,i){return this.labelExpressionInfo&&"service"===i?.origin&&S(i.layer)?{enabled:!1}:{allowNull:!0}}}}})],x.prototype,"labelExpression",void 0),(0,s.Cg)([(0,y.w)("labelExpression")],x.prototype,"readLabelExpression",null),(0,s.Cg)([(0,b.K)("labelExpression")],x.prototype,"writeLabelExpression",null),(0,s.Cg)([(0,c.MZ)({type:p.A,json:{write:{overridePolicy:(e,t,i)=>function(e){return M(e)||S(e?.layer)}(i)?{allowNull:!0}:{enabled:!1}}}})],x.prototype,"labelExpressionInfo",void 0),(0,s.Cg)([(0,b.K)("labelExpressionInfo")],x.prototype,"writeLabelExpressionInfo",null),(0,s.Cg)([(0,c.MZ)({type:v.apiValues,json:{type:v.jsonValues,read:v.read,write:v.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,b.K)("maxScale")],x.prototype,"writeMaxScale",null),(0,s.Cg)([(0,c.MZ)({type:Number})],x.prototype,"minScale",void 0),(0,s.Cg)([(0,b.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:g.em,json:{origins:{"web-scene":{types:g.Rv,write:m.oO,default:null}},write:m.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,i){i.d(t,{A:()=>c});var r,n=i(5482),s=i(25482),o=i(91429),l=i(32730),a=i(36005),u=i(43937);let c=class extends s.o{static{r=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,i){null!=this.value&&(e=(0,l.mX)(this.value)),null!=e&&(t[i]=e)}clone(){return new r({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=r=(0,n.Cg)([(0,o.$K)("esri.layers.support.LabelExpressionInfo")],c)},96184(e,t,i){i.d(t,{A:()=>h});var r=i(5482),n=i(69540),s=i(25482),o=i(91429),l=i(79677),a=i(10184),u=i(56400),c=i(36005),p=i(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,r.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],h.prototype,"cumulative",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"endField",void 0),(0,r.Cg)([(0,o.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"fullTimeExtent",void 0),(0,r.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],h.prototype,"readFullTimeExtent",null),(0,r.Cg)([(0,p.K)("fullTimeExtent")],h.prototype,"writeFullTimeExtent",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hasLiveData",void 0),(0,r.Cg)([(0,o.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"interval",void 0),(0,r.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],h.prototype,"readInterval",null),(0,r.Cg)([(0,p.K)("interval")],h.prototype,"writeInterval",null),(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],h.prototype,"startField",void 0),(0,r.Cg)([(0,o.MZ)((0,u.P6)("timeReference",!0))],h.prototype,"timeZone",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],h.prototype,"trackIdField",void 0),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],h.prototype,"useTime",void 0),(0,r.Cg)([(0,o.MZ)({type:[Date],json:{read:!1}})],h.prototype,"stops",void 0),h=(0,r.Cg)([(0,o.$K)("esri.layers.support.TimeInfo")],h)},41560(e,t,i){i.d(t,{Ch:()=>o,mW:()=>s});var r=i(34727),n=i(39516);function s(e,t){return{...t,filterMode:e.mode}}function o(e,t,i){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:i,maxScale:r}of e.filters)t[0]=Math.max(t[0],c(i)),t[1]=Math.min(t[1],p(r));return t}(e);if(s&&((0,r.gg)(t,s[0])||(0,r.ZH)(i,s[1])))return"";const o=Array.from(l(e,t,i)),a=function(e,t,i){if(0===e.length)return!0;const n=c(e.at(0)?.minScale),s=p(e.at(-1)?.maxScale);if((0,r.ZH)(n,t)||(0,r.gg)(s,i))return!0;for(let t=0;t<e.length-1;t++){const i=e[t],n=e[t+1];if((0,r.ZH)(c(n.minScale),p(i.maxScale)))return!0}return!1}(o,t,i)?"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,i){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const r of e.filters)a(r.minScale,r.maxScale,t,i)&&(yield r)}}function a(e,t,i,n){return e=c(e),i=c(i),t=p(t),!(!(0,r.Sp)(i,e)&&(n??i)>e||(0,r.Hx)(t,i)||void 0!==n&&(0,r.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,i){i.d(t,{p:()=>a});var r=i(44208),n=i(53966),s=i(20437),o=i(95466),l=i(30524);function a(){return{fields:{type:[s.A],value:null,set:function(e){if(e&&(0,r.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 i=this.fieldsIndex?.has(t);i||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)}}}}},9916(e,t,i){i.d(t,{ZF:()=>u,iD:()=>d,xw:()=>p});var r=i(11254),n=i(49186),s=i(25747),o=i(20437),l=i(9075),a=i(54625);async function u(e,t,i,o,u={}){if(o.database||(o.database=await async function(e,t){const{data:i}=await(0,r.A)(`https://api.fabric.microsoft.com/v1/workspaces/${e}/kqlDatabases/${t}`,{responseType:"json"});if(null==i)throw new n.A("kusto:connection",`KQL database '${t}' was not found in workspace '${e}'`);return i}(e,t)),o.fields?.length||(o.fields=await async function(e,t,i={}){const s=await async function(e,t,i={}){const s=e.properties.queryServiceUri;return function(e){const t=e.Tables[0];if(null==t||0===t.Rows.length)throw new n.A("kusto:invalid-schema-response","Kusto schema response did not include any rows");const[i,r]=t.Rows[0];if("string"!=typeof r)throw new n.A("kusto:invalid-schema-response","Kusto schema response did not include a schema string");return JSON.parse(r)}((await(0,r.A)(`${s}/v1/rest/mgmt`,{responseType:"json",method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({db:e.displayName,csl:`.show table ${p(t)} schema as json`}),signal:i.signal})).data)}(e,t,i),o=[];for(const e of s.OrderedColumns){const t=c(e);t&&o.push(t)}return o}(o.database,i,u)),o.source||(o.source=new s.A({workspace:e,database:t,table:i})),!o.source.geometryEncoding){const e=(0,a.i_)(o.fields.map(e=>e.name));e.latitudeFieldName&&e.longitudeFieldName&&(o.source.geometryEncoding=new l.A({xField:e.longitudeFieldName,yField:e.latitudeFieldName}))}return o}function c(e){const t=function(e){switch(e){case"bool":return"small-integer";case"guid":case"string":return"string";case"int":return"integer";case"long":return"big-integer";case"real":return"double";case"dynamic":case"datetime":case"decimal":case"timespan":return null}}(e.CslType);return t?new o.A({name:e.Name,type:t}):null}function p(e){return`['${e.replaceAll("'","''")}']`}function d(e){return e.replaceAll("'","''")}},32730(e,t,i){i.d(t,{BI:()=>h,D3:()=>p,XJ:()=>d,lc:()=>c,mX:()=>m,rU:()=>f,tH:()=>w,zA:()=>S});var r=i(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 m(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(g);return t?.[1].trim()||null}(t.expression);case"arcade":return w(t.expression)}return null}function m(e){let t;return e?(t=(0,r.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 g=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,v=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function w(e){if(!e)return null;let t=y.exec(e)||b.exec(e);return t?t[1]||t[3]:(t=v.exec(e),t?t[2]:null)}const M=Symbol("LabelClassInstance");function S(e){return null!=e&&"object"==typeof e&&M in e}i.d(t,["vK",0,M])},39383(e,t,i){i.d(t,{w:()=>a,z:()=>p});var r=i(49186),n=i(53966),s=i(46499);const o=()=>n.A.getLogger("esri.layers.support.labelingInfo"),l=/\[([^[\]]+)\]/gi;function a(e,t,i){return e?e.map(e=>{const r=new s.A;if(r.read(e,i),r.labelExpression){const e=t.fields||t.layerDefinition?.fields||this.fields;r.labelExpression=r.labelExpression.replaceAll(l,(t,i)=>`[${function(e,t){if(!t)return e;const i=e.toLowerCase();for(let e=0;e<t.length;e++){const r=t[e].name;if(r.toLowerCase()===i)return r}return e}(i,e)}]`)}return r}):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 i=[];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 r.A("labeling:unsupported-geometry-type",`Unable to create labels for layer, geometry type '${t}' is not supported`)),[];if(s.includes(e))i.push(n);else{const r=s[0];e&&o().warn(`Found invalid label placement type ${e} for ${t}. Defaulting to ${r}`);const l=n.clone();l.labelPlacement=r,i.push(l)}}return i}},54625(e,t,i){i.d(t,{i_:()=>n});var r=i(30524);function n(e,t,i){t=(0,r.rS)(t)?.toLowerCase(),i=(0,r.rS)(i)?.toLowerCase();const n=e.map(e=>e.toLowerCase()),l=t?e[n.indexOf(t)]:null,a=i?e[n.indexOf(i)]:null;return{longitudeFieldName:l||e[n.indexOf(o.find(e=>n.includes(e)))],latitudeFieldName:a||e[n.indexOf(s.find(e=>n.includes(e)))]}}const s=["lat","lat83","latitude","latitude83","latdecdeg","lat_dd","y","ycenter","point_y"],o=["lon","lng","lng83","long","long83","longitude","longitude83","longdecdeg","long_dd","x","xcenter","point_x"];i.d(t,["A0",0,o,"bD",0,s])},72691(e,t,i){i.d(t,["Aw",0,"__esri_time_received__","DN",0,"__esri_stream_id__","EA",0,"__esri_track_part__","Gm",0,"__esri_timestamp__","xq",0,"__esri_track_line__"])},5757(e,t,i){i.d(t,{B:()=>n});const r=Symbol("PopupTemplateInstance");function n(e){return null!=e&&"object"==typeof e&&r in e}i.d(t,["P",0,r])},10407(e,t,i){i.d(t,{It:()=>h,LG:()=>o,OM:()=>u,Sm:()=>c,Y:()=>l,bK:()=>a,sQ:()=>p});var r=i(91218),n=i(16930),s=i(28735);function o(e,t){if(!l(e,t)){const i=e.typeKeywords;i?i.push(t):e.typeKeywords=[t]}}function l(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return l(e,d.HOSTED_SERVICE)}function u(e,t){const i=e.typeKeywords;if(i){const e=i.indexOf(t);e>-1&&i.splice(e,1)}}function c(e,t,i){i?o(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let i;if(t.length>1)for(const e of t)i?e.width>i.width&&(i=e):i=e;else i=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const i=n.A.WGS84;return await(0,r.initializeProjection)(t,i),(0,r.project)(e,i)}(i)}const d={CHARTS:"Charts",CATALOG_LAYER:"CatalogLayer",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",PARCEL_FABRIC:"ParcelFabric",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery",UTILITY_NETWORK:"UtilityNetwork"};function h(e){const{portal:t,isOrgItem:i,itemControl:r}=e,n=t.user?.privileges;let s=!n||n.includes("features:user:edit"),o=!!i&&!!n?.includes("features:user:fullEdit");const l="update"===r||"admin"===r;return l?o=s=!0:o&&(s=!0),{features:{edit:s,fullEdit:o},content:{updateItem:l}}}i.d(t,["mm",0,d])},8947(e,t,i){i.d(t,{L:()=>o});var r=i(60999),n=i(17676),s=i(67076);async function o(e,t,i){const o=e&&e.getAtOrigin&&e.getAtOrigin("renderer",t.origin);if(o&&"unique-value"===o.type&&o.styleOrigin){const l=await(0,r.Ke)(o.populateFromStyle());if((0,n.Te)(i),!1===l.ok){const i=l.error;t?.messages&&t.messages.push(new s.A("renderer:style-reference",`Failed to create unique value renderer from style reference: ${i.message}`,{error:i,context:t})),e.clear("renderer",t?.origin)}}}},98205(e,t,i){i.d(t,{KZ:()=>l,eh:()=>o,gf:()=>s,of:()=>n});const r=Symbol("SizeVariableInstance");function n(e){return null!=e&&"object"==typeof e&&r 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 i=t||o(e),r=e.valueUnit||"unknown";return"unknown"===i?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===r?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}i.d(t,["uY",0,r])},41366(e,t,i){var r=i(5482),n=i(66552),s=i(53966),o=i(91429),l=i(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";i.d(t,["K",0,e=>{const t=e;let i=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,i=null!=this.normalizationTotal;return t||i?(e=t&&c||i&&u||null,t&&i&&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,r.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],i.prototype,"normalizationField",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],i.prototype,"normalizationMaxValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],i.prototype,"normalizationMinValue",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],i.prototype,"normalizationTotal",void 0),(0,r.Cg)([(0,l.e)(a,{name:"parameters.normalizationType"})],i.prototype,"normalizationType",null),i=(0,r.Cg)([(0,o.$K)("esri.rest.support.NormalizationBinParametersMixin")],i),i},"Q",0,a])},93470(e,t,i){const r=[252,146,31,255],n={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r};i.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,r,"nC",0,{type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},"yM",0,s])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[77],{11006(t,e,n){function i(t,e,n,i,a){r(t,e,n||0,i||t.length-1,a||s)}function r(t,e,n,i,s){for(;i>n;){if(i-n>600){var o=i-n+1,h=e-n+1,l=Math.log(o),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(o-c)/o)*(h-o/2<0?-1:1);r(t,e,Math.max(n,Math.floor(e-h*c/o+u)),Math.min(i,Math.floor(e+(o-h)*c/o+u)),s)}var m=t[e],f=n,p=i;for(a(t,n,e),s(t[i],m)>0&&a(t,n,i);f<p;){for(a(t,f,p),f++,p--;s(t[f],m)<0;)f++;for(;s(t[p],m)>0;)p--}0===s(t[n],m)?a(t,n,p):a(t,++p,i),p<=e&&(n=p+1),e<=p&&(i=p-1)}}function a(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function s(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>i})},75503(t,e,n){n.d(e,{wq:()=>o});var i=n(4576),r=n(21818),a=(n(44208),n(15142)),s=n(11006);class o{constructor(t=9,e){this._compareMinX=m,this._compareMinY=f,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),X.prune(),w.prune(),B.prune(),v.prune()}all(t){h(this._data,t)}search(t,e){let n=this._data;const i=this._toBBox;if(M(t,n))for(X.clear();n;){for(let r=0,a=n.children.length;r<a;r++){const a=n.children[r],s=n.leaf?i(a):a;M(t,s)&&(n.leaf?e(a):g(t,s)?h(a,e):X.push(a))}n=X.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!M(t,e))return!1;for(X.clear();e;){for(let i=0,r=e.children.length;i<r;i++){const r=e.children[i],a=e.leaf?n(r):r;if(M(t,a)){if(e.leaf||g(t,a))return!0;X.push(r)}}e=X.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new R([]),this}remove(t){if(!t)return this;let e,n=this._data,a=null,s=0,o=!1;const h=this._toBBox(t);for(B.clear(),v.clear();n||B.length>0;){if(n||(n=B.pop(),a=B.data[B.length-1],s=v.pop()??0,o=!0),n.leaf&&(e=(0,i.qh)(n.children,(0,r.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),B.push(n),this._condense(B),this;o||n.leaf||!g(n,h)?a?(s++,n=a.children[s],o=!1):n=null:(B.push(n),v.push(s),s=0,a=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,i){const r=n-e+1;let a=this._maxEntries;if(r<=a){const i=new R(t.slice(e,n+1));return l(i,this._toBBox),i}i||(i=Math.ceil(Math.log(r)/Math.log(a)),a=Math.ceil(r/a**(i-1)));const s=new I([]);s.height=i;const o=Math.ceil(r/a),h=o*Math.ceil(Math.sqrt(a));Y(t,e,n,h,this._compareMinX);for(let r=e;r<=n;r+=h){const e=Math.min(r+h-1,n);Y(t,r,e,o,this._compareMinY);for(let n=r;n<=e;n+=o){const r=Math.min(n+o-1,e);s.children.push(this._build(t,n,r,i-1))}}return l(s,this._toBBox),s}_insert(t,e,n){const i=this._toBBox,r=n?t:i(t);B.clear();const a=function(t,e,n,i){for(;i.push(e),!0!==e.leaf&&i.length-1!==n;){let n,i=1/0,r=1/0;for(let a=0,s=e.children.length;a<s;a++){const s=e.children[a],o=p(s),h=x(t,s)-o;h<r?(r=h,i=o<i?o:i,n=s):h===r&&o<i&&(i=o,n=s)}e=n||e.children[0]}return e}(r,this._data,e,B);for(a.children.push(t),u(a,r);e>=0&&B.data[e].children.length>this._maxEntries;)this._split(B,e),e--;!function(t,e,n){for(let i=n;i>=0;i--)u(e.data[i],t)}(r,B,e)}_split(t,e){const n=t.data[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);const a=this._chooseSplitIndex(n,r,i);if(!a)return;const s=n.children.splice(a,n.children.length-a),o=n.leaf?new R(s):new I(s);o.height=n.height,l(n,this._toBBox),l(o,this._toBBox),e?t.data[e-1].children.push(o):this._splitRoot(n,o)}_splitRoot(t,e){this._data=new I([t,e]),this._data.height=t.height+1,l(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let i,r,a;i=r=1/0;for(let s=e;s<=n-e;s++){const e=c(t,0,s,this._toBBox),o=c(t,s,n,this._toBBox),h=_(e,o),l=p(e)+p(o);h<i?(i=h,a=s,r=l<r?l:r):h===i&&l<r&&(r=l,a=s)}return a}_chooseSplitAxis(t,e,n){const i=t.leaf?this._compareMinX:m,r=t.leaf?this._compareMinY:f;this._allDistMargin(t,e,n,i)<this._allDistMargin(t,e,n,r)&&t.children.sort(i)}_allDistMargin(t,e,n,i){t.children.sort(i);const r=this._toBBox,a=c(t,0,e,r),s=c(t,n-e,n,r);let o=d(a)+d(s);for(let i=e;i<n-e;i++){const e=t.children[i];u(a,t.leaf?r(e):e),o+=d(a)}for(let i=n-e-1;i>=e;i--){const e=t.children[i];u(s,t.leaf?r(e):e),o+=d(s)}return o}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const r=t.data[e-1],a=r.children;a.splice((0,i.qh)(a,n,a.length,r.indexHint),1)}else this.clear();else l(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function h(t,e){let n=t;for(w.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,r.z)(t));else w.pushArray(n.children);n=w.pop()??null}}function l(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,i,r){r||(r=new R([])),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let a,s=e;s<n;s++)a=t.children[s],u(r,t.leaf?i(a):a);return r}function u(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function m(t,e){return t.minX-e.minX}function f(t,e){return t.minY-e.minY}function p(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function d(t){return t.maxX-t.minX+(t.maxY-t.minY)}function x(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function _(t,e){const n=Math.max(t.minX,e.minX),i=Math.max(t.minY,e.minY),r=Math.min(t.maxX,e.maxX),a=Math.min(t.maxY,e.maxY);return Math.max(0,r-n)*Math.max(0,a-i)}function g(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function M(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function Y(t,e,n,i,r){const a=[e,n];for(;a.length;){const e=a.pop(),n=a.pop();if(e-n<=i)continue;const o=n+Math.ceil((e-n)/i/2)*i;(0,s.q)(t,o,n,e,r),a.push(n,o,o,e)}}const X=new a.A,w=new a.A,B=new a.A,v=new a.A({deallocator:void 0});class y{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class A extends y{constructor(){super(...arguments),this.height=1,this.indexHint=new i.vW}}class R extends A{constructor(t){super(),this.children=t,this.leaf=!0}}class I extends A{constructor(t){super(),this.children=t,this.leaf=!1}}},83027(t,e,n){const i=n(29953).ho;n.d(e,["h",0,i])},38419(t,e,n){n.r(e),n.d(e,{default:()=>o});var i=n(44208),r=n(75503),a=n(95696),s=n(72258);class o{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new r.wq;const i=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:i,transform:r}=t,o=(0,s.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:i,transform:r},a.A.absolute,{allowBufferReuse:!0})?.position;return o?!t.components||t.components.some(t=>!t.faces)?{position:o.buffer}:{position:o.buffer,components:t.components.map(t=>t.faces)}:null}(t),o=null!=e?await e.invoke("createIndexThread",i,{transferList:n}):this.createIndexThread(i).result;return h().fromJSON(o)}createIndexThread(t){const e=h();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let i=0;for(const t of n)i+=t.length/3;const r=new Array(i);let a=0;for(const t of n)for(let n=0;n<t.length;n+=3)r[a++]=l(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(r),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let i=0;for(let t=0;t<e.length;t+=9)n[i++]=l(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function h(){return new r.wq(9,(0,i.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function l(t,e,n,i){return{minX:Math.min(t[e],t[n],t[i]),maxX:Math.max(t[e],t[n],t[i]),minY:Math.min(t[e+1],t[n+1],t[i+1]),maxY:Math.max(t[e+1],t[n+1],t[i+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[i],t[i+1],t[i+2]]}}},60077(t,e,n){n.d(e,{create:()=>u});var i=n(5482),r=n(83027),a=n(91429),s=n(51850),o=n(71351),h=n(48295),l=n(38419),c=n(7236);async function u(t,e){const n=await(++p,x&&(clearTimeout(x),x=0),d||(d=(0,r.h)("ElevationSamplerWorker").catch(()=>null),d)),i=await f.createIndex(t,n);!function(t){--p,null!=t&&0===p&&(x=setTimeout(()=>{t.close(),d=null,x=0},_))}(n);const a=t.spatialReference,s=t.extent.clone();return new m({spatialReference:a,extent:s,noDataValue:e?.noDataValue||0,rindex:i})}let m=class extends c.A{constructor(t){super(t),this.demResolution={min:0,max:0}}elevationAt(t,e){let n=Number.NEGATIVE_INFINITY;return(0,o.fA)([t,e,0],[0,0,-1],g),this.rindex.search({minX:t,maxX:t,minY:e,maxY:e},t=>{(0,h.Ui)(t,g,M)&&M[2]>n&&(n=M[2])}),n===Number.NEGATIVE_INFINITY?this.noDataValue:n}};(0,i.Cg)([(0,a.MZ)({constructOnly:!0})],m.prototype,"spatialReference",void 0),(0,i.Cg)([(0,a.MZ)({constructOnly:!0})],m.prototype,"extent",void 0),(0,i.Cg)([(0,a.MZ)({constructOnly:!0})],m.prototype,"noDataValue",void 0),(0,i.Cg)([(0,a.MZ)({constructOnly:!0})],m.prototype,"rindex",void 0),m=(0,i.Cg)([(0,a.$K)("esri.geometry.support.meshUtils.elevationSampler")],m);const f=new l.default;let p=0,d=null,x=0;const _=1e4,g=(0,o.fA)([0,0,0],[0,0,-1]),M=(0,s.vt)()},7236(t,e,n){n.d(e,{A:()=>l});var i=n(5482),r=n(65529),a=n(53966),s=n(91429),o=n(86738),h=n(28735);let l=class extends r.nJ{queryElevation(t){const e=this.projectIfRequired(t,this.spatialReference);if(!e)return null;switch(t.type){case"point":return function(t,e,n){return t.hasZ=!0,t.z=n.elevationAt(e.x,e.y),t}(t,e,this);case"polyline":return function(t,e,n){c.spatialReference=e.spatialReference;const i=t.hasM&&!t.hasZ;for(let r=0;r<t.paths.length;r++){const a=t.paths[r],s=e.paths[r];for(let t=0;t<a.length;t++){const e=a[t],r=s[t];c.x=r[0],c.y=r[1],i&&(e[3]=e[2]),e[2]=n.elevationAt(c.x,c.y)}}return t.hasZ=!0,t}(t,e,this);case"multipoint":return function(t,e,n){c.spatialReference=e.spatialReference;const i=t.hasM&&!t.hasZ;for(let r=0;r<t.points.length;r++){const a=t.points[r],s=e.points[r];c.x=s[0],c.y=s[1],i&&(a[3]=a[2]),a[2]=n.elevationAt(c.x,c.y)}return t.hasZ=!0,t}(t,e,this);default:return null}}projectIfRequired(t,e){if(null==t)return null;const n=t.spatialReference;if(n.equals(e))return t;const i=(0,h.Cv)(t,e);return i||a.A.getLogger(this).error(`Cannot project geometry spatial reference (wkid:${n.wkid}) to elevation sampler spatial reference (wkid:${e.wkid})`),i}};l=(0,i.Cg)([(0,s.$K)("esri.layers.support.ElevationSampler")],l);const c=new o.A}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3846],{5482(t,n,e){function r(t,n,e,r){var a,o=arguments.length,u=o<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,e,r);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(u=(o<3?a(u):o>3?a(n,e,u):a(n,e))||u);return o>3&&u&&Object.defineProperty(n,e,u),u}function a(t,n,e){if(null!=n){if("object"!=typeof n&&"function"!=typeof n)throw new TypeError("Object expected.");var r,a;if(e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=n[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=n[Symbol.dispose],e&&(a=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:n,dispose:r,async:e})}else e&&t.stack.push({async:!0});return n}e.d(n,{Cg:()=>r,hk:()=>u,mS:()=>a}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,n,e){var r=new Error(e);return r.name="SuppressedError",r.error=t,r.suppressed=n,r};function u(t){function n(n){t.error=t.hasError?new o(n,t.error,"An error was suppressed during disposal."):n,t.hasError=!0}var e,r=0;return function a(){for(;e=t.stack.pop();)try{if(!e.async&&1===r)return r=0,t.stack.push(e),Promise.resolve().then(a);if(e.dispose){var o=e.dispose.call(e.value);if(e.async)return r|=2,Promise.resolve(o).then(a,function(t){return n(t),a()})}else r|=1}catch(t){n(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},69540(t,n,e){var r=e(5482),a=e(69622),o=(e(44208),e(4718)),u=(e(53966),e(97768)),s=e(88620),l=e(64108);const i=Symbol("ClonableMixin"),c=t=>{var n;const e=t;let a=class extends e{constructor(){super(...arguments),this[n]=!0}static{n=i}clone(t){const n=(0,s.oY)(this);(0,u.Lw)(n,"unable to clone instance of non-accessor class");const e=n.metadata,r=n.store,a={},l=new Map;for(const n in e){const u=e[n],s=r?.originOf(n),i=u.clonable;if(u.readOnly||!1===i||7!==s&&0!==s&&5!==s&&4!==s)continue;const c=this[n];let f=null;if("function"==typeof i)f=i(c,t);else if("reference"===i)f=c;else if(f=(0,o.TU)(c,t),null!=c&&null==f)continue;0===s?l.set(n,f):a[n]=f}const i=new(0,Object.getPrototypeOf(this).constructor)(a);if(l.size){const t=(0,s.oY)(i)?.store;if(t)for(const[n,e]of l)t.set(n,e,0)}return i}};return a=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],a),a},f=c(a.A);e.d(n,["OU",0,c,"Pw",0,f])},29242(t,n,e){function r(){return[1,0,0,0,1,0,0,0,1]}function a(t,n,e,r,a,o,u,s,l){return[t,n,e,r,a,o,u,s,l]}e.d(n,{fA:()=>a,vt:()=>r});const o=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:a},Symbol.toStringTag,{value:"Module"})),e.d(n,["zK",0,o])},51850(t,n,e){function r(){return[0,0,0]}function a(t){return[t[0],t[1],t[2]]}function o(t,n,e){return[t,n,e]}function u(t,n,e){return[t,n,e]}function s(t,n=[0,0,0]){const e=Math.min(3,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n}function l(){return[0,0,0]}function i(){return o(1,1,1)}function c(){return o(1,0,0)}function f(){return o(0,1,0)}function h(){return o(0,0,1)}e.d(n,{CN:()=>u,S:()=>i,Ul:()=>l,ci:()=>s,fA:()=>o,o8:()=>a,vt:()=>r});const M=[0,0,0],b=i(),d=c(),p=f(),m=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:b,UNIT_X:d,UNIT_Y:p,UNIT_Z:m,ZEROS:M,clone:a,create:r,freeze:u,fromArray:s,fromValues:o,ones:i,unitX:c,unitY:f,unitZ:h,zeros:l},Symbol.toStringTag,{value:"Module"})),e.d(n,["Cb",0,m,"Cw",0,d,"JP",0,p,"Un",0,b,"uY",0,M])},91829(t,n,e){function r(){return[0,0,0,0]}function a(t,n,e,r){return[t,n,e,r]}function o(t,n,e,r){return[t,n,e,r]}function u(){return a(1,1,1,1)}function s(){return a(1,0,0,0)}function l(){return a(0,1,0,0)}function i(){return a(0,0,1,0)}function c(){return a(0,0,0,1)}e.d(n,{CN:()=>o,_Y:()=>c,fA:()=>a,vt:()=>r});const f=[0,0,0,0],h=u(),M=s(),b=l(),d=i(),p=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:p,UNIT_X:M,UNIT_Y:b,UNIT_Z:d,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:o,fromArray:function(t,n=[0,0,0,0]){const e=Math.min(4,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:a,ones:u,unitW:c,unitX:s,unitY:l,unitZ:i,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Un",0,h,"uY",0,f])},34304(t,n,e){e.d(n,{DF:()=>l,FD:()=>a,ct:()=>i});let r=1e-6;function a(){return r}const o=Math.random,u=Math.PI/180,s=180/Math.PI;function l(t){return t*u}function i(t){return t*s}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,n){return Math.abs(t-n)<=r*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:a,setEpsilon:function(t){r=t},toDegree:i,toRadian:l},Symbol.toStringTag,{value:"Module"})),e.d(n,["Ov",0,o])},77690(t,n,e){e.d(n,{B8:()=>s,Ge:()=>M,I0:()=>h,KC:()=>l,a4:()=>i,hZ:()=>o,hs:()=>f,lw:()=>c,mg:()=>u,z0:()=>a});var r=e(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function o(t,n,e,r,a,o,u,s,l,i){return t[0]=n,t[1]=e,t[2]=r,t[3]=a,t[4]=o,t[5]=u,t[6]=s,t[7]=l,t[8]=i,t}function u(t,n){if(t===n){const e=n[1],r=n[2],a=n[5];t[1]=n[3],t[2]=n[6],t[3]=e,t[5]=n[7],t[6]=r,t[7]=a}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function s(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=c*u-s*i,h=-c*o+s*l,M=i*o-u*l;let b=e*f+r*h+a*M;return b?(b=1/b,t[0]=f*b,t[1]=(-c*r+a*i)*b,t[2]=(s*r-a*u)*b,t[3]=h*b,t[4]=(c*e-a*l)*b,t[5]=(-s*e+a*o)*b,t[6]=M*b,t[7]=(-i*e+r*l)*b,t[8]=(u*e-r*o)*b,t):null}function l(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8];return t[0]=u*c-s*i,t[1]=a*i-r*c,t[2]=r*s-a*u,t[3]=s*l-o*c,t[4]=e*c-a*l,t[5]=a*o-e*s,t[6]=o*i-u*l,t[7]=r*l-e*i,t[8]=e*u-r*o,t}function i(t){const n=t[0],e=t[1],r=t[2],a=t[3],o=t[4],u=t[5],s=t[6],l=t[7],i=t[8];return n*(i*o-u*l)+e*(-i*a+u*s)+r*(l*a-o*s)}function c(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=e[0],M=e[1],b=e[2],d=e[3],p=e[4],m=e[5],y=e[6],g=e[7],v=e[8];return t[0]=h*r+M*u+b*i,t[1]=h*a+M*s+b*c,t[2]=h*o+M*l+b*f,t[3]=d*r+p*u+m*i,t[4]=d*a+p*s+m*c,t[5]=d*o+p*l+m*f,t[6]=y*r+g*u+v*i,t[7]=y*a+g*s+v*c,t[8]=y*o+g*l+v*f,t}function f(t,n,e){const r=e[0],a=e[1],o=e[2];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t[6]=o*n[6],t[7]=o*n[7],t[8]=o*n[8],t}function h(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=e+e,s=r+r,l=a+a,i=e*u,c=r*u,f=r*s,h=a*u,M=a*s,b=a*l,d=o*u,p=o*s,m=o*l;return t[0]=1-f-b,t[3]=c-m,t[6]=h+p,t[1]=c+m,t[4]=1-i-b,t[7]=M-d,t[2]=h-p,t[5]=M+d,t[8]=1-i-f,t}function M(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],p=n[14],m=n[15],y=e*s-r*u,g=e*l-a*u,v=e*i-o*u,w=r*l-a*s,S=r*i-o*s,O=a*i-o*l,I=c*d-f*b,x=c*p-h*b,R=c*m-M*b,A=f*p-h*d,q=f*m-M*d,_=h*m-M*p;let j=y*_-g*q+v*A+w*R-S*x+O*I;return j?(j=1/j,t[0]=(s*_-l*q+i*A)*j,t[1]=(l*R-u*_-i*x)*j,t[2]=(u*q-s*R+i*I)*j,t[3]=(a*q-r*_-o*A)*j,t[4]=(e*_-a*R+o*x)*j,t[5]=(r*R-e*q-o*I)*j,t[6]=(d*O-p*S+m*w)*j,t[7]=(p*v-b*O-m*g)*j,t[8]=(b*S-d*v+m*y)*j,t):null}function b(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t}const d=c,p=b;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t},adjoint:l,copy:function(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[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:i,equals:function(t,n){const e=t[0],a=t[1],o=t[2],u=t[3],s=t[4],l=t[5],i=t[6],c=t[7],f=t[8],h=n[0],M=n[1],b=n[2],d=n[3],p=n[4],m=n[5],y=n[6],g=n[7],v=n[8],w=(0,r.FD)();return Math.abs(e-h)<=w*Math.max(1,Math.abs(e),Math.abs(h))&&Math.abs(a-M)<=w*Math.max(1,Math.abs(a),Math.abs(M))&&Math.abs(o-b)<=w*Math.max(1,Math.abs(o),Math.abs(b))&&Math.abs(u-d)<=w*Math.max(1,Math.abs(u),Math.abs(d))&&Math.abs(s-p)<=w*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(l-m)<=w*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(i-y)<=w*Math.max(1,Math.abs(i),Math.abs(y))&&Math.abs(c-g)<=w*Math.max(1,Math.abs(c),Math.abs(g))&&Math.abs(f-v)<=w*Math.max(1,Math.abs(f),Math.abs(v))},exactEquals:function(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[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:a,fromQuat:h,fromRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=-e,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:s,isOrthoNormal:function(t){const n=(0,r.FD)(),e=t[0],a=t[1],o=t[2],u=t[3],s=t[4],l=t[5],i=t[6],c=t[7],f=t[8];return Math.abs(1-(e*e+u*u+i*i))<=n&&Math.abs(1-(a*a+s*s+c*c))<=n&&Math.abs(1-(o*o+l*l+f*f))<=n},mul:d,multiply:c,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t},multiplyScalarAndAdd:function(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[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t},normalFromMat4:M,normalFromMat4Legacy:function(t,n){const e=n[0],r=n[1],a=n[2],o=n[4],u=n[5],s=n[6],l=n[8],i=n[9],c=n[10],f=c*u-s*i,h=-c*o+s*l,M=i*o-u*l,b=e*f+r*h+a*M;if(!b)return null;const d=1/b;return t[0]=f*d,t[1]=(-c*r+a*i)*d,t[2]=(s*r-a*u)*d,t[3]=h*d,t[4]=(c*e-a*l)*d,t[5]=(-s*e+a*o)*d,t[6]=M*d,t[7]=(-i*e+r*l)*d,t[8]=(u*e-r*o)*d,t},projection:function(t,n,e){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/e,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=Math.sin(e),M=Math.cos(e);return t[0]=M*r+h*u,t[1]=M*a+h*s,t[2]=M*o+h*l,t[3]=M*u-h*r,t[4]=M*s-h*a,t[5]=M*l-h*o,t[6]=i,t[7]=c,t[8]=f,t},scale:f,scaleByVec2:function(t,n,e){const r=e[0],a=e[1];return t[0]=r*n[0],t[1]=r*n[1],t[2]=r*n[2],t[3]=a*n[3],t[4]=a*n[4],t[5]=a*n[5],t},set:o,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:p,subtract:b,translate:function(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=e[0],M=e[1];return t[0]=r,t[1]=a,t[2]=o,t[3]=u,t[4]=s,t[5]=l,t[6]=h*r+M*u+i,t[7]=h*a+M*s+c,t[8]=h*o+M*l+f,t},transpose:u},Symbol.toStringTag,{value:"Module"}))},58083(t,n,e){e.d(n,{$0:()=>m,$h:()=>A,B8:()=>c,C:()=>o,D_:()=>s,N9:()=>g,O7:()=>R,Qw:()=>i,Tl:()=>h,X_:()=>O,e$:()=>b,eL:()=>d,hM:()=>y,hZ:()=>u,hs:()=>M,kN:()=>p,l:()=>I,lw:()=>f,mg:()=>l,o1:()=>x,sC:()=>S,t2:()=>T,t5:()=>_,tZ:()=>D,ut:()=>k,v3:()=>q});var r=e(51850),a=e(34304);function o(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[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function u(t,n,e,r,a,o,u,s,l,i,c,f,h,M,b,d,p){return t[0]=n,t[1]=e,t[2]=r,t[3]=a,t[4]=o,t[5]=u,t[6]=s,t[7]=l,t[8]=i,t[9]=c,t[10]=f,t[11]=h,t[12]=M,t[13]=b,t[14]=d,t[15]=p,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function l(t,n){if(t===n){const e=n[1],r=n[2],a=n[3],o=n[6],u=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=e,t[6]=n[9],t[7]=n[13],t[8]=r,t[9]=o,t[11]=n[14],t[12]=a,t[13]=u,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function i(t,n){return c(t,n)||s(t),t}function c(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],p=n[14],m=n[15],y=e*s-r*u,g=e*l-a*u,v=e*i-o*u,w=r*l-a*s,S=r*i-o*s,O=a*i-o*l,I=c*d-f*b,x=c*p-h*b,R=c*m-M*b,A=f*p-h*d,q=f*m-M*d,_=h*m-M*p;let j=y*_-g*q+v*A+w*R-S*x+O*I;return j?(j=1/j,t[0]=(s*_-l*q+i*A)*j,t[1]=(a*q-r*_-o*A)*j,t[2]=(d*O-p*S+m*w)*j,t[3]=(h*S-f*O-M*w)*j,t[4]=(l*R-u*_-i*x)*j,t[5]=(e*_-a*R+o*x)*j,t[6]=(p*v-b*O-m*g)*j,t[7]=(c*O-h*v+M*g)*j,t[8]=(u*q-s*R+i*I)*j,t[9]=(r*R-e*q-o*I)*j,t[10]=(b*S-d*v+m*y)*j,t[11]=(f*v-c*S-M*y)*j,t[12]=(s*x-u*A-l*I)*j,t[13]=(e*A-r*x+a*I)*j,t[14]=(d*g-b*w-p*y)*j,t[15]=(c*w-f*g+h*y)*j,t):null}function f(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=n[8],h=n[9],M=n[10],b=n[11],d=n[12],p=n[13],m=n[14],y=n[15];let g=e[0],v=e[1],w=e[2],S=e[3];return t[0]=g*r+v*s+w*f+S*d,t[1]=g*a+v*l+w*h+S*p,t[2]=g*o+v*i+w*M+S*m,t[3]=g*u+v*c+w*b+S*y,g=e[4],v=e[5],w=e[6],S=e[7],t[4]=g*r+v*s+w*f+S*d,t[5]=g*a+v*l+w*h+S*p,t[6]=g*o+v*i+w*M+S*m,t[7]=g*u+v*c+w*b+S*y,g=e[8],v=e[9],w=e[10],S=e[11],t[8]=g*r+v*s+w*f+S*d,t[9]=g*a+v*l+w*h+S*p,t[10]=g*o+v*i+w*M+S*m,t[11]=g*u+v*c+w*b+S*y,g=e[12],v=e[13],w=e[14],S=e[15],t[12]=g*r+v*s+w*f+S*d,t[13]=g*a+v*l+w*h+S*p,t[14]=g*o+v*i+w*M+S*m,t[15]=g*u+v*c+w*b+S*y,t}function h(t,n,e){const r=e[0],a=e[1],o=e[2];if(n===t)t[12]=n[0]*r+n[4]*a+n[8]*o+n[12],t[13]=n[1]*r+n[5]*a+n[9]*o+n[13],t[14]=n[2]*r+n[6]*a+n[10]*o+n[14],t[15]=n[3]*r+n[7]*a+n[11]*o+n[15];else{const e=n[0],u=n[1],s=n[2],l=n[3],i=n[4],c=n[5],f=n[6],h=n[7],M=n[8],b=n[9],d=n[10],p=n[11];t[0]=e,t[1]=u,t[2]=s,t[3]=l,t[4]=i,t[5]=c,t[6]=f,t[7]=h,t[8]=M,t[9]=b,t[10]=d,t[11]=p,t[12]=e*r+i*a+M*o+n[12],t[13]=u*r+c*a+b*o+n[13],t[14]=s*r+f*a+d*o+n[14],t[15]=l*r+h*a+p*o+n[15]}return t}function M(t,n,e){const r=e[0],a=e[1],o=e[2];return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=n[11]*o,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function b(t,n,e,r){let u=r[0],s=r[1],l=r[2],i=Math.sqrt(u*u+s*s+l*l);if(i<=(0,a.FD)())return void o(t,n);i=1/i,u*=i,s*=i,l*=i;const c=Math.sin(e),f=Math.cos(e),h=1-f,M=n[0],b=n[1],d=n[2],p=n[3],m=n[4],y=n[5],g=n[6],v=n[7],w=n[8],S=n[9],O=n[10],I=n[11],x=u*u*h+f,R=s*u*h+l*c,A=l*u*h-s*c,q=u*s*h-l*c,_=s*s*h+f,j=l*s*h+u*c,T=u*l*h+s*c,k=s*l*h-u*c,D=l*l*h+f;t[0]=M*x+m*R+w*A,t[1]=b*x+y*R+S*A,t[2]=d*x+g*R+O*A,t[3]=p*x+v*R+I*A,t[4]=M*q+m*_+w*j,t[5]=b*q+y*_+S*j,t[6]=d*q+g*_+O*j,t[7]=p*q+v*_+I*j,t[8]=M*T+m*k+w*D,t[9]=b*T+y*k+S*D,t[10]=d*T+g*k+O*D,t[11]=p*T+v*k+I*D,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function d(t,n,e){const r=Math.sin(e),a=Math.cos(e),o=n[4],u=n[5],s=n[6],l=n[7],i=n[8],c=n[9],f=n[10],h=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=o*a+i*r,t[5]=u*a+c*r,t[6]=s*a+f*r,t[7]=l*a+h*r,t[8]=i*a-o*r,t[9]=c*a-u*r,t[10]=f*a-s*r,t[11]=h*a-l*r,t}function p(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function m(t,n,e){if(0===n)return s(t);let r=e[0],o=e[1],u=e[2],l=Math.sqrt(r*r+o*o+u*u);if(l<=(0,a.FD)())return null;l=1/l,r*=l,o*=l,u*=l;const i=Math.sin(n),c=Math.cos(n),f=1-c;return t[0]=r*r*f+c,t[1]=o*r*f+u*i,t[2]=u*r*f-o*i,t[3]=0,t[4]=r*o*f-u*i,t[5]=o*o*f+c,t[6]=u*o*f+r*i,t[7]=0,t[8]=r*u*f+o*i,t[9]=o*u*f-r*i,t[10]=u*u*f+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=e,t[7]=0,t[8]=0,t[9]=-e,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=e,t[2]=0,t[3]=0,t[4]=-e,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function v(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3],s=r+r,l=a+a,i=o+o,c=r*s,f=r*l,h=r*i,M=a*l,b=a*i,d=o*i,p=u*s,m=u*l,y=u*i;return t[0]=1-(M+d),t[1]=f+y,t[2]=h-m,t[3]=0,t[4]=f-y,t[5]=1-(c+d),t[6]=b+p,t[7]=0,t[8]=h+m,t[9]=b-p,t[10]=1-(c+M),t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}const w=(0,r.vt)();function S(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function O(t,n){const e=n[0],r=n[1],a=n[2],o=n[4],u=n[5],s=n[6],l=n[8],i=n[9],c=n[10];return t[0]=Math.sqrt(e*e+r*r+a*a),t[1]=Math.sqrt(o*o+u*u+s*s),t[2]=Math.sqrt(l*l+i*i+c*c),t}function I(t,n){const e=n[0]+n[5]+n[10];let r=0;return e>0?(r=2*Math.sqrt(e+1),t[3]=.25*r,t[0]=(n[6]-n[9])/r,t[1]=(n[8]-n[2])/r,t[2]=(n[1]-n[4])/r):n[0]>n[5]&&n[0]>n[10]?(r=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/r,t[0]=.25*r,t[1]=(n[1]+n[4])/r,t[2]=(n[8]+n[2])/r):n[5]>n[10]?(r=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/r,t[0]=(n[1]+n[4])/r,t[1]=.25*r,t[2]=(n[6]+n[9])/r):(r=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/r,t[0]=(n[8]+n[2])/r,t[1]=(n[6]+n[9])/r,t[2]=.25*r),t}function x(t,n,e,r){const a=n[0],o=n[1],u=n[2],s=n[3],l=a+a,i=o+o,c=u+u,f=a*l,h=a*i,M=a*c,b=o*i,d=o*c,p=u*c,m=s*l,y=s*i,g=s*c,v=r[0],w=r[1],S=r[2];return t[0]=(1-(b+p))*v,t[1]=(h+g)*v,t[2]=(M-y)*v,t[3]=0,t[4]=(h-g)*w,t[5]=(1-(f+p))*w,t[6]=(d+m)*w,t[7]=0,t[8]=(M+y)*S,t[9]=(d-m)*S,t[10]=(1-(f+b))*S,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function R(t,n,e,r,a){const o=n[0],u=n[1],s=n[2],l=n[3],i=o+o,c=u+u,f=s+s,h=o*i,M=o*c,b=o*f,d=u*c,p=u*f,m=s*f,y=l*i,g=l*c,v=l*f,w=r[0],S=r[1],O=r[2],I=a[0],x=a[1],R=a[2],A=(1-(d+m))*w,q=(M+v)*w,_=(b-g)*w,j=(M-v)*S,T=(1-(h+m))*S,k=(p+y)*S,D=(b+g)*O,P=(p-y)*O,C=(1-(h+d))*O;return t[0]=A,t[1]=q,t[2]=_,t[3]=0,t[4]=j,t[5]=T,t[6]=k,t[7]=0,t[8]=D,t[9]=P,t[10]=C,t[11]=0,t[12]=e[0]+I-(A*I+j*x+D*R),t[13]=e[1]+x-(q*I+T*x+P*R),t[14]=e[2]+R-(_*I+k*x+C*R),t[15]=1,t}function A(t,n,e,r,a,o,u){const s=1/(e-n),l=1/(a-r),i=1/(o-u);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*l,t[6]=0,t[7]=0,t[8]=(e+n)*s,t[9]=(a+r)*l,t[10]=(u+o)*i,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*o*2*i,t[15]=0,t}function q(t,n,e,r,a,o,u){const s=1/(n-e),l=1/(r-a),i=1/(o-u);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*i,t[11]=0,t[12]=(n+e)*s,t[13]=(a+r)*l,t[14]=(u+o)*i,t[15]=1,t}function _(t,n,e,r){const o=n[0],u=n[1],l=n[2];let i=o-e[0],c=u-e[1],f=l-e[2];const h=(0,a.FD)();if(Math.abs(i)<h&&Math.abs(c)<h&&Math.abs(f)<h)return void s(t);let M=1/Math.sqrt(i*i+c*c+f*f);i*=M,c*=M,f*=M;const b=r[0],d=r[1],p=r[2];let m=d*f-p*c,y=p*i-b*f,g=b*c-d*i;M=Math.sqrt(m*m+y*y+g*g),M?(M=1/M,m*=M,y*=M,g*=M):(m=0,y=0,g=0);let v=c*g-f*y,w=f*m-i*g,S=i*y-c*m;M=Math.sqrt(v*v+w*w+S*S),M?(M=1/M,v*=M,w*=M,S*=M):(v=0,w=0,S=0),t[0]=m,t[1]=v,t[2]=i,t[3]=0,t[4]=y,t[5]=w,t[6]=c,t[7]=0,t[8]=g,t[9]=S,t[10]=f,t[11]=0,t[12]=-(m*o+y*u+g*l),t[13]=-(v*o+w*u+S*l),t[14]=-(i*o+c*u+f*l),t[15]=1}function j(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t[4]=n[4]-e[4],t[5]=n[5]-e[5],t[6]=n[6]-e[6],t[7]=n[7]-e[7],t[8]=n[8]-e[8],t[9]=n[9]-e[9],t[10]=n[10]-e[10],t[11]=n[11]-e[11],t[12]=n[12]-e[12],t[13]=n[13]-e[13],t[14]=n[14]-e[14],t[15]=n[15]-e[15],t}function T(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[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function k(t){const n=(0,a.FD)(),e=t[0],r=t[1],o=t[2],u=t[4],s=t[5],l=t[6],i=t[8],c=t[9],f=t[10];return Math.abs(1-(e*e+u*u+i*i))<=n&&Math.abs(1-(r*r+s*s+c*c))<=n&&Math.abs(1-(o*o+l*l+f*f))<=n}function D(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const P=f,C=j;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t[4]=n[4]+e[4],t[5]=n[5]+e[5],t[6]=n[6]+e[6],t[7]=n[7]+e[7],t[8]=n[8]+e[8],t[9]=n[9]+e[9],t[10]=n[10]+e[10],t[11]=n[11]+e[11],t[12]=n[12]+e[12],t[13]=n[13]+e[13],t[14]=n[14]+e[14],t[15]=n[15]+e[15],t},adjoint:function(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=n[4],s=n[5],l=n[6],i=n[7],c=n[8],f=n[9],h=n[10],M=n[11],b=n[12],d=n[13],p=n[14],m=n[15];return t[0]=s*(h*m-M*p)-f*(l*m-i*p)+d*(l*M-i*h),t[1]=-(r*(h*m-M*p)-f*(a*m-o*p)+d*(a*M-o*h)),t[2]=r*(l*m-i*p)-s*(a*m-o*p)+d*(a*i-o*l),t[3]=-(r*(l*M-i*h)-s*(a*M-o*h)+f*(a*i-o*l)),t[4]=-(u*(h*m-M*p)-c*(l*m-i*p)+b*(l*M-i*h)),t[5]=e*(h*m-M*p)-c*(a*m-o*p)+b*(a*M-o*h),t[6]=-(e*(l*m-i*p)-u*(a*m-o*p)+b*(a*i-o*l)),t[7]=e*(l*M-i*h)-u*(a*M-o*h)+c*(a*i-o*l),t[8]=u*(f*m-M*d)-c*(s*m-i*d)+b*(s*M-i*f),t[9]=-(e*(f*m-M*d)-c*(r*m-o*d)+b*(r*M-o*f)),t[10]=e*(s*m-i*d)-u*(r*m-o*d)+b*(r*i-o*s),t[11]=-(e*(s*M-i*f)-u*(r*M-o*f)+c*(r*i-o*s)),t[12]=-(u*(f*p-h*d)-c*(s*p-l*d)+b*(s*h-l*f)),t[13]=e*(f*p-h*d)-c*(r*p-a*d)+b*(r*h-a*f),t[14]=-(e*(s*p-l*d)-u*(r*p-a*d)+b*(r*l-a*s)),t[15]=e*(s*h-l*f)-u*(r*h-a*f)+c*(r*l-a*s),t},copy:o,determinant:function(t){const n=t[0],e=t[1],r=t[2],a=t[3],o=t[4],u=t[5],s=t[6],l=t[7],i=t[8],c=t[9],f=t[10],h=t[11],M=t[12],b=t[13],d=t[14],p=t[15];return(n*u-e*o)*(f*p-h*d)-(n*s-r*o)*(c*p-h*b)+(n*l-a*o)*(c*d-f*b)+(e*s-r*u)*(i*p-h*M)-(e*l-a*u)*(i*d-f*M)+(r*l-a*s)*(i*b-c*M)},equals:function(t,n){if(t===n)return!0;const e=t[0],r=t[1],o=t[2],u=t[3],s=t[4],l=t[5],i=t[6],c=t[7],f=t[8],h=t[9],M=t[10],b=t[11],d=t[12],p=t[13],m=t[14],y=t[15],g=n[0],v=n[1],w=n[2],S=n[3],O=n[4],I=n[5],x=n[6],R=n[7],A=n[8],q=n[9],_=n[10],j=n[11],T=n[12],k=n[13],D=n[14],P=n[15],C=(0,a.FD)();return Math.abs(e-g)<=C*Math.max(1,Math.abs(e),Math.abs(g))&&Math.abs(r-v)<=C*Math.max(1,Math.abs(r),Math.abs(v))&&Math.abs(o-w)<=C*Math.max(1,Math.abs(o),Math.abs(w))&&Math.abs(u-S)<=C*Math.max(1,Math.abs(u),Math.abs(S))&&Math.abs(s-O)<=C*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(l-I)<=C*Math.max(1,Math.abs(l),Math.abs(I))&&Math.abs(i-x)<=C*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(c-R)<=C*Math.max(1,Math.abs(c),Math.abs(R))&&Math.abs(f-A)<=C*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(h-q)<=C*Math.max(1,Math.abs(h),Math.abs(q))&&Math.abs(M-_)<=C*Math.max(1,Math.abs(M),Math.abs(_))&&Math.abs(b-j)<=C*Math.max(1,Math.abs(b),Math.abs(j))&&Math.abs(d-T)<=C*Math.max(1,Math.abs(d),Math.abs(T))&&Math.abs(p-k)<=C*Math.max(1,Math.abs(p),Math.abs(k))&&Math.abs(m-D)<=C*Math.max(1,Math.abs(m),Math.abs(D))&&Math.abs(y-P)<=C*Math.max(1,Math.abs(y),Math.abs(P))},exactEquals:T,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const e=n[0],r=n[1],a=n[2],o=n[3],u=e+e,s=r+r,l=a+a,i=e*u,c=r*u,f=r*s,h=a*u,M=a*s,b=a*l,d=o*u,p=o*s,m=o*l;return t[0]=1-f-b,t[1]=c+m,t[2]=h-p,t[3]=0,t[4]=c-m,t[5]=1-i-b,t[6]=M+d,t[7]=0,t[8]=h+p,t[9]=M-d,t[10]=1-i-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const e=w,r=-n[0],a=-n[1],o=-n[2],u=n[3],s=n[4],l=n[5],i=n[6],c=n[7],f=r*r+a*a+o*o+u*u;return f>0?(e[0]=2*(s*u+c*r+l*o-i*a)/f,e[1]=2*(l*u+c*a+i*r-s*o)/f,e[2]=2*(i*u+c*o+s*a-l*r)/f):(e[0]=2*(s*u+c*r+l*o-i*a),e[1]=2*(l*u+c*a+i*r-s*o),e[2]=2*(i*u+c*o+s*a-l*r)),v(t,n,e),t},fromRotation:m,fromRotationTranslation:v,fromRotationTranslationScale:x,fromRotationTranslationScaleOrigin:R,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:p,fromXRotation:y,fromYRotation:function(t,n){const e=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=0,t[2]=-e,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=e,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:g,frustum:A,getRotation:I,getScale:O,getTranslation:S,hasIdentityRotation:D,identity:s,invert:c,invertOrIdentity:i,isOrthoNormal:k,lookAt:_,mul:P,multiply:f,multiplyScalar:function(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*e,t[5]=n[5]*e,t[6]=n[6]*e,t[7]=n[7]*e,t[8]=n[8]*e,t[9]=n[9]*e,t[10]=n[10]*e,t[11]=n[11]*e,t[12]=n[12]*e,t[13]=n[13]*e,t[14]=n[14]*e,t[15]=n[15]*e,t},multiplyScalarAndAdd:function(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[3]=n[3]+e[3]*r,t[4]=n[4]+e[4]*r,t[5]=n[5]+e[5]*r,t[6]=n[6]+e[6]*r,t[7]=n[7]+e[7]*r,t[8]=n[8]+e[8]*r,t[9]=n[9]+e[9]*r,t[10]=n[10]+e[10]*r,t[11]=n[11]+e[11]*r,t[12]=n[12]+e[12]*r,t[13]=n[13]+e[13]*r,t[14]=n[14]+e[14]*r,t[15]=n[15]+e[15]*r,t},ortho:q,perspective:function(t,n,e,r,a){const o=1/Math.tan(n/2);let u;return t[0]=o/e,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=a&&a!==1/0?(u=1/(r-a),t[10]=(a+r)*u,t[14]=2*a*r*u):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,n,e,r){const a=Math.tan(n.upDegrees*Math.PI/180),o=Math.tan(n.downDegrees*Math.PI/180),u=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),l=2/(u+s),i=2/(a+o);return t[0]=l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=-(u-s)*l*.5,t[9]=(a-o)*i*.5,t[10]=r/(e-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*e/(e-r),t[15]=0,t},rotate:b,rotateX:d,rotateY:function(t,n,e){const r=Math.sin(e),a=Math.cos(e),o=n[0],u=n[1],s=n[2],l=n[3],i=n[8],c=n[9],f=n[10],h=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a-i*r,t[1]=u*a-c*r,t[2]=s*a-f*r,t[3]=l*a-h*r,t[8]=o*r+i*a,t[9]=u*r+c*a,t[10]=s*r+f*a,t[11]=l*r+h*a,t},rotateZ:function(t,n,e){const r=Math.sin(e),a=Math.cos(e),o=n[0],u=n[1],s=n[2],l=n[3],i=n[4],c=n[5],f=n[6],h=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a+i*r,t[1]=u*a+c*r,t[2]=s*a+f*r,t[3]=l*a+h*r,t[4]=i*a-o*r,t[5]=c*a-u*r,t[6]=f*a-s*r,t[7]=h*a-l*r,t},scale:M,set:u,str:function(t){return"mat4("+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]+")"},sub:C,subtract:j,targetTo:function(t,n,e,r){const a=n[0],o=n[1],u=n[2],s=r[0],l=r[1],i=r[2];let c=a-e[0],f=o-e[1],h=u-e[2],M=c*c+f*f+h*h;M>0&&(M=1/Math.sqrt(M),c*=M,f*=M,h*=M);let b=l*h-i*f,d=i*c-s*h,p=s*f-l*c;return M=b*b+d*d+p*p,M>0&&(M=1/Math.sqrt(M),b*=M,d*=M,p*=M),t[0]=b,t[1]=d,t[2]=p,t[3]=0,t[4]=f*p-h*d,t[5]=h*b-c*p,t[6]=c*d-f*b,t[7]=0,t[8]=c,t[9]=f,t[10]=h,t[11]=0,t[12]=a,t[13]=o,t[14]=u,t[15]=1,t},translate:h,transpose:l},Symbol.toStringTag,{value:"Module"}))},78955(t,n,e){e.d(n,{Bw:()=>p,C:()=>a,Cc:()=>v,LI:()=>h,Om:()=>g,S8:()=>y,T9:()=>f,WQ:()=>u,Z0:()=>w,aI:()=>O,hG:()=>d,hZ:()=>o,hs:()=>M,jk:()=>c,m3:()=>m,t2:()=>S});var r=e(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function o(t,n,e,r,a){return t[0]=n,t[1]=e,t[2]=r,t[3]=a,t}function u(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t[3]=n[3]+e[3],t}function s(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],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[3]=n[3]*e[3],t}function i(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t[3]=n[3]/e[3],t}function c(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[3]=Math.min(n[3],e[3]),t}function f(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[3]=Math.max(n[3],e[3]),t}function h(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t}function b(t,n){const e=n[0]-t[0],r=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return Math.sqrt(e*e+r*r+a*a+o*o)}function d(t,n){const e=n[0]-t[0],r=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return e*e+r*r+a*a+o*o}function p(t){const n=t[0],e=t[1],r=t[2],a=t[3];return Math.sqrt(n*n+e*e+r*r+a*a)}function m(t){const n=t[0],e=t[1],r=t[2],a=t[3];return n*n+e*e+r*r+a*a}function y(t,n){const e=n[0],r=n[1],a=n[2],o=n[3];let u=e*e+r*r+a*a+o*o;return u>0&&(u=1/Math.sqrt(u),t[0]=e*u,t[1]=r*u,t[2]=a*u,t[3]=o*u),t}function g(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,e,r){const a=n[0],o=n[1],u=n[2],s=n[3];return t[0]=a+r*(e[0]-a),t[1]=o+r*(e[1]-o),t[2]=u+r*(e[2]-u),t[3]=s+r*(e[3]-s),t}function w(t,n,e){const r=n[0],a=n[1],o=n[2],u=n[3];return t[0]=e[0]*r+e[4]*a+e[8]*o+e[12]*u,t[1]=e[1]*r+e[5]*a+e[9]*o+e[13]*u,t[2]=e[2]*r+e[6]*a+e[10]*o+e[14]*u,t[3]=e[3]*r+e[7]*a+e[11]*o+e[15]*u,t}function S(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function O(t,n){const e=t[0],a=t[1],o=t[2],u=t[3],s=n[0],l=n[1],i=n[2],c=n[3],f=(0,r.FD)();return Math.abs(e-s)<=f*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(a-l)<=f*Math.max(1,Math.abs(a),Math.abs(l))&&Math.abs(o-i)<=f*Math.max(1,Math.abs(o),Math.abs(i))&&Math.abs(u-c)<=f*Math.max(1,Math.abs(u),Math.abs(c))}const I=s,x=l,R=i,A=b,q=d,_=p,j=m;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:a,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:A,distance:b,div:R,divide:i,dot:g,equals:O,exactEquals:S,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:_,length:p,lerp:v,max:f,min:c,mul:x,multiply:l,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:y,random:function(t,n=1){const e=r.Ov;let a,o,u,s,l,i;do{a=2*e()-1,o=2*e()-1,l=a*a+o*o}while(l>=1);do{u=2*e()-1,s=2*e()-1,i=u*u+s*s}while(i>=1);const c=Math.sqrt((1-l)/i);return t[0]=n*a,t[1]=n*o,t[2]=n*u*c,t[3]=n*s*c,t},round:h,scale:M,scaleAndAdd:function(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[3]=n[3]+e[3]*r,t},set:o,sqrDist:q,sqrLen:j,squaredDistance:d,squaredLength:m,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:I,subtract:s,transformMat4:w,transformQuat:function(t,n,e){const r=n[0],a=n[1],o=n[2],u=e[0],s=e[1],l=e[2],i=e[3],c=i*r+s*o-l*a,f=i*a+l*r-u*o,h=i*o+u*a-s*r,M=-u*r-s*a-l*o;return t[0]=c*i+M*-u+f*-l-h*-s,t[1]=f*i+M*-s+h*-u-c*-l,t[2]=h*i+M*-l+c*-s-f*-u,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},9762(t,n,e){e.r(n),e.d(n,{projectBuffer:()=>a});var r=e(49208);function a(t,n,e,a,o,u,s=Math.floor(t.length/3)){const l=(0,r.jd)(n,o);if(null==l)return!1;if(l===r.pO){if(t===a&&e===u)return!0;const n=e+3*s;for(let r=e,o=u;r<n;r++,o++)a[o]=t[r]??0;return!0}const i=e+3*s;for(let n=e,r=u;n<i;n+=3,r+=3)l(t,n,a,r);return!0}},49208(t,n,e){e.d(n,{Tp:()=>f,jd:()=>c,pO:()=>M});var r=e(34727),a=e(86211),o=e(73941),u=e(79258),s=e(34403),l=e(21325);const i={2:{5:M,7:null,9:null,10:M,1:w,6:null,8:null,0:null,3:d,11:p,2:M,4:R},5:{5:M,7:null,9:null,10:M,1:w,6:null,8:null,0:null,3:d,11:p,2:M,4:R},7:{5:null,7:M,9:null,10:M,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:M,10:M,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},3:{5:b,7:null,9:null,10:b,1:function(t,n,e,r){const a=t[n]/k,o=T-2*Math.atan(Math.exp(-t[n+1]/k)),u=k+(t[n+2]??0),s=Math.cos(o)*u;e[r]=Math.cos(a)*s,e[r+1]=Math.sin(a)*s,e[r+2]=Math.sin(o)*u},6:null,8:null,0:null,3:M,11:function(t,n,e,r){b(t,n,e,r),p(e,r,e,r)},2:b,4:function(t,n,e,r){b(t,n,e,r),R(e,r,e,r)}},4:{5:A,7:null,9:null,10:A,1:function(t,n,e,r){A(t,n,e,r),w(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){A(t,n,e,r),d(e,r,e,r)},11:function(t,n,e,r){A(t,n,e,r),p(e,r,e,r)},2:A,4:M},1:{5:x,7:null,9:null,10:x,1:M,6:null,8:null,0:null,3:function(t,n,e,r){x(t,n,e,r),d(e,r,e,r)},11:function(t,n,e,r){x(t,n,e,r),p(e,r,e,r)},2:x,4:function(t,n,e,r){x(t,n,e,r),R(e,r,e,r)}},6:{5:null,7:I,9:null,10:I,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:O,10:O,1:null,6:null,8:M,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:M,3:null,11:null,2:null,4:null},10:{5:M,7:M,9:M,10:M,1:w,6:v,8:g,0:null,3:d,11:p,2:M,4:R},11:{5:m,7:null,9:null,10:m,1:function(t,n,e,r){m(t,n,e,r),w(e,r,e,r)},6:null,8:null,0:null,3:function(t,n,e,r){m(t,n,e,r),d(e,r,e,r)},11:M,2:m,4:function(t,n,e,r){m(t,n,e,r),R(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(q.source.spatialReference===t&&q.dest.spatialReference===n)return q;const e=h(t,q.source),r=h(n,q.dest);return 0===e&&0===r?(0,l.aI)(t,n)?q.projector=M:q.projector=null:q.projector=i[e][r],q}function h(t,n){return t?n.spatialReference===t?n.spatialReferenceId:(n.spatialReference=t,"metersPerUnit"in n&&(n.metersPerUnit=(0,a.GA)(t,1)),(0,o.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===o.Ro.wkt?n.spatialReferenceId=4:4490===t.wkid?n.spatialReferenceId=5:t.wkt===o.FY.wkt?n.spatialReferenceId=6:t.wkt===o.LJ.wkt?n.spatialReferenceId=8:(0,o.q8)(t)?n.spatialReferenceId=7:(0,o.KQ)(t)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function M(t,n,e,r){t!==e&&(e[r++]=t[n++],e[r++]=t[n++],e[r]=t[n]??0)}function b(t,n,e,r){e[r]=j*(t[n]/k),e[r+1]=j*(T-2*Math.atan(Math.exp(-t[n+1]/k))),e[r+2]=t[n+2]??0}function d(t,n,e,a){!function(t,n,e,a,o){const u=.4999999*Math.PI,s=(0,r.qE)(_*t[n+1],-u,u),l=Math.sin(s);e[a++]=_*t[n]*o.radius,e[a++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),e[a]=t[n+2]??0}(t,n,e,a,u.$O)}function p(t,n,e,r){e[r]=t[n]*D,e[r+1]=t[n+1]*D,e[r+2]=t[n+2]??0}function m(t,n,e,r){e[r]=t[n]*P,e[r+1]=t[n+1]*P,e[r+2]=t[n+2]??0}function y(t,n,e,r,a){const o=a+(t[n+2]??0),u=_*t[n],s=_*t[n+1],l=Math.cos(s)*o;e[r]=Math.cos(u)*l,e[r+1]=Math.sin(u)*l,e[r+2]=Math.sin(s)*o}function g(t,n,e,r){y(t,n,e,r,u.Sw.radius)}function v(t,n,e,r){y(t,n,e,r,u.sH.radius)}function w(t,n,e,r){y(t,n,e,r,u.$O.radius)}function S(t,n,e,a,o){const u=t[n],s=t[n+1],l=t[n+2]??0,i=Math.sqrt(u*u+s*s+l*l),c=(0,r.YN)(l/(0===i?1:i)),f=Math.atan2(s,u);e[a++]=j*f,e[a++]=j*c,e[a]=i-o}function O(t,n,e,r){S(t,n,e,r,u.Sw.radius)}function I(t,n,e,r){S(t,n,e,r,u.sH.radius)}function x(t,n,e,r){S(t,n,e,r,u.$O.radius)}function R(t,n,e,r){!function(t,n,e,r,a){const o=_*t[n],u=_*t[n+1],s=t[n+2]??0,l=Math.sin(u),i=Math.cos(u),c=a.radius/Math.sqrt(1-a.eccentricitySquared*l*l);e[r++]=(c+s)*i*Math.cos(o),e[r++]=(c+s)*i*Math.sin(o),e[r++]=(c*(1-a.eccentricitySquared)+s)*l}(t,n,e,r,u.$O)}function A(t,n,e,r){const a=s.TP,o=t[n],l=t[n+1],i=t[n+2]??0;let c,f,h,M,b,d,p,m,y,g,v,w,S,O,I,x,R,A,q,_,T;c=Math.abs(i),f=o*o+l*l,h=Math.sqrt(f),M=f+i*i,b=Math.sqrt(M),_=Math.atan2(l,o),d=i*i/M,p=f/M,O=a.a2/b,I=a.a3-a.a4/b,p>.3?(m=c/b*(1+p*(a.a1+O+d*I)/b),q=Math.asin(m),g=m*m,y=Math.sqrt(1-g)):(y=h/b*(1-d*(a.a5-O-p*I)/b),q=Math.acos(y),g=1-y*y,m=Math.sqrt(g)),v=1-u.$O.eccentricitySquared*g,w=u.$O.radius/Math.sqrt(v),S=a.a6*w,O=h-w*y,I=c-S*m,R=y*O+m*I,x=y*I-m*O,A=x/(S/v+R),q+=A,T=R+x*A/2,i<0&&(q=-q),e[r++]=j*_,e[r++]=j*q,e[r]=T}const q={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:M},_=(0,r.kU)(1),j=(0,r.KJ)(1),T=.5*Math.PI,k=u.$O.radius,D=k*Math.PI/180,P=180/(k*Math.PI);e.d(n,["w5",0,i])},98764(t,n,e){e.d(n,{lO:()=>c});var r=e(73941),a=e(16930),o=e(21325);const u=new a.A(r.fv),s=new a.A(r.FY),l=new a.A(r.LJ),i=new a.A(r.Ro);function c(t){const n=f.get(t);if(n)return n;let e=u;if(t)if(t===s)e=s;else if(t===l)e=l;else{const n=t.wkid,r=t.latestWkid;if(null!=n||null!=r)(0,o.tl)(n)||(0,o.tl)(r)?e=s:((0,o.ZL)(n)||(0,o.ZL)(r))&&(e=l);else{const n=t.wkt2??t.wkt;if(n){const t=n.toUpperCase();t===h?e=s:t===M&&(e=l)}}}return f.set(t,e),e}const f=new Map,h=s.wkt.toUpperCase(),M=l.wkt.toUpperCase();e.d(n,["GD",0,u,"Y0",0,i])},34403(t,n,e){var r=e(79258);Math.PI;const a=r.$O.radius,o=r.$O.eccentricitySquared,u={a1:a*o,a2:a*o*a*o,a3:a*o*o/2,a4:a*o*a*o*2.5,a5:a*o+a*o*o/2,a6:1-o};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,u])},64798(t,n,e){e.r(n),e.d(n,{default:()=>C});var r=e(4576),a=e(34275),o=e(82534),u=e(35522);function s(){return new Float32Array(3)}function l(t){const n=new Float32Array(3);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n}function i(t,n,e){const r=new Float32Array(3);return r[0]=t,r[1]=n,r[2]=e,r}function c(){return s()}function f(){return i(1,1,1)}function h(){return i(1,0,0)}function M(){return i(0,1,0)}function b(){return i(0,0,1)}const d=c(),p=f(),m=h(),y=M(),g=b();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:m,UNIT_Y:y,UNIT_Z:g,ZEROS:d,clone:l,create:s,fromValues:i,ones:f,unitX:h,unitY:M,unitZ:b,zeros:c},Symbol.toStringTag,{value:"Module"}));var v=e(51850),w=e(16930),S=e(9762),O=e(63531),I=e(69846),x=e(48425),R=e(59418),A=e(37203);function q(t,n,e){return t?.attributeInfo.useElevation?n?function(t,n){const e=new Float64Array(n);for(let r=0;r<n;r++)e[r]=t[3*r+2];return e}(n,e):null:t?.attributeInfo.storageInfo?(0,R.m0)(t.attributeInfo.storageInfo,t.buffer,e,!0):null}function _(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function j(t){let n=0;for(const e of t||[])n|=1<<e;return n}var T=e(57005);class k{transform(t){const n=this._transform(t),e=[n.points.buffer,n.rgb.buffer];null!=n.pointIdFilterMap&&e.push(n.pointIdFilterMap.buffer);for(const t of n.attributes)"buffer"in t.values&&(0,a.mw)(t.values.buffer)&&t.values.buffer!==n.rgb.buffer&&e.push(t.values.buffer);return Promise.resolve({result:n,transferList:e})}_transform(t){const n=function(t,n){if(null==t.encoding||""===t.encoding){const e=(0,R.wH)(n,t);if(null==e.vertexAttributes.position)return;const r=(0,R.MA)(n,e.vertexAttributes.position),a=e.header.fields,o=[a.offsetX,a.offsetY,a.offsetZ],u=[a.scaleX,a.scaleY,a.scaleZ],s=r.length/3,l=new Float64Array(3*s);for(let t=0;t<s;t++)l[3*t]=r[3*t]*u[0]+o[0],l[3*t+1]=r[3*t+1]*u[1]+o[1],l[3*t+2]=r[3*t+2]*u[2]+o[2];return l}if("lepcc-xyz"===t.encoding)return(0,A.Me)(n).result}(t.schema,t.geometryBuffer);let e=n.length/3,a=null;const o=new Array,u=q(t.primaryAttributeData,n,e);null!=t.primaryAttributeData&&u&&o.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:u});const s=q(t.modulationAttributeData,n,e);null!=t.modulationAttributeData&&s&&o.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:s});let l=function(t,n,e,r){const{rendererJSON:a,isRGBRenderer:o}=t;let u=null,s=null;if(n&&o)u=n;else if(n&&"pointCloudUniqueValueRenderer"===a?.type){s=x.A.fromJSON(a);const t=s.colorUniqueValueInfos;u=new Uint8Array(3*r);const e=_(s.fieldTransformType);for(let a=0;a<r;a++){const r=(e?e(n[a]):n[a])+"";for(let n=0;n<t.length;n++)if(t[n].values.includes(r)){u[3*a]=t[n].color.r,u[3*a+1]=t[n].color.g,u[3*a+2]=t[n].color.b;break}}}else if(n&&"pointCloudStretchRenderer"===a?.type){s=I.A.fromJSON(a);const t=s.stops;u=new Uint8Array(3*r);const e=_(s.fieldTransformType);for(let a=0;a<r;a++){const r=e?e(n[a]):n[a],o=t.length-1;if(r<t[0].value)u[3*a]=t[0].color.r,u[3*a+1]=t[0].color.g,u[3*a+2]=t[0].color.b;else if(r>=t[o].value)u[3*a]=t[o].color.r,u[3*a+1]=t[o].color.g,u[3*a+2]=t[o].color.b;else for(let n=1;n<t.length;n++)if(r<t[n].value){const e=(r-t[n-1].value)/(t[n].value-t[n-1].value);u[3*a]=t[n].color.r*e+t[n-1].color.r*(1-e),u[3*a+1]=t[n].color.g*e+t[n-1].color.g*(1-e),u[3*a+2]=t[n].color.b*e+t[n-1].color.b*(1-e);break}}}else if(n&&"pointCloudClassBreaksRenderer"===a?.type){s=O.A.fromJSON(a);const t=s.colorClassBreakInfos;u=new Uint8Array(3*r);const e=_(s.fieldTransformType);for(let a=0;a<r;a++){const r=e?e(n[a]):n[a];for(let n=0;n<t.length;n++)if(r>=t[n].minValue&&r<=t[n].maxValue){u[3*a]=t[n].color.r,u[3*a+1]=t[n].color.g,u[3*a+2]=t[n].color.b;break}}}else u=new Uint8Array(3*r).fill(255);if(e&&s?.colorModulation){const t=s.colorModulation.minValue,n=s.colorModulation.maxValue,a=.3;for(let o=0;o<r;o++){const r=e[o],s=r>=n?1:r<=t?a:a+(1-a)*(r-t)/(n-t);u[3*o]=s*u[3*o],u[3*o+1]=s*u[3*o+1],u[3*o+2]=s*u[3*o+2]}}return u}(t.rendererInfo,u,s,e);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const u=t.filterAttributesData.filter(r.Ru).map(t=>{const r=q(t,n,e),a={attributeInfo:t.attributeInfo,values:r};return o.push(a),a});a=new Uint32Array(e),e=function(t,n,e,r,a){const o=t.length/3,u=function(t){return t.map(t=>{const{filterJSON:n}=t;switch(n.type){case"pointCloudValueFilter":return{...t,valuesSet:new Set(n.values)};case"pointCloudBitfieldFilter":return{...t,clearMask:j(n.requiredClearBits),requiredMask:j(n.requiredSetBits)};default:return t}})}(r);let s=0;for(let r=0;r<o;r++){let o=!0;for(let t=0;t<u.length&&o;t++){const{clearMask:n,filterJSON:e,requiredMask:s,valuesSet:l}=u[t],i=a[t].values[r];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;l.has(i)===t&&(o=!1);break}case"pointCloudBitfieldFilter":(i&s)===s&&0===(i&n)||(o=!1);break;case"pointCloudReturnFilter":{const t=15&i,n=i>>>4&15,r=n>1,a=1===t,u=t===n;let s=!1;for(const t of e.includedReturns)if("last"===t&&u||"firstOfMany"===t&&a&&r||"lastOfMany"===t&&u&&r||"single"===t&&!r){s=!0;break}s||(o=!1);break}}}o&&(e[s]=r,t[3*s]=t[3*r],t[3*s+1]=t[3*r+1],t[3*s+2]=t[3*r+2],n[3*s]=n[3*r],n[3*s+1]=n[3*r+1],n[3*s+2]=n[3*r+2],s++)}return s}(n,l,a,t.filterInfo,u)}for(const r of t.userAttributesData){const t=q(r,n,e);o.push({attributeInfo:r.attributeInfo,values:t})}3*e<l.length&&(l=l.slice(0,3*e)),function(t,n,e){if(0!==e)for(let r=0;r<n;r++)t[3*r+2]+=e}(n,e,t.elevationOffset);const i=D(n,e,T.ab.fromData(t.obbData),w.A.fromJSON(t.inSR),w.A.fromJSON(t.outSR));return{obbData:t.obbData,points:i,rgb:l,attributes:o,pointIdFilterMap:a}}}function D(t,n,e,r,a){if(!(0,S.projectBuffer)(t,r,0,t,a,0,n))throw new Error("Can't reproject");const o=l(e.getCenter((0,v.vt)())),c=s(),f=s(),h=i(e.halfSizeX,e.halfSizeY,e.halfSizeZ);e.getQuaternionConjugate(P);const M=new Float32Array(3*n);for(let e=0;e<n;e++){let n=3*e;c[0]=t[n]-o[0],c[1]=t[n+1]-o[1],c[2]=t[n+2]-o[2],(0,u.gL)(f,c,P),h[0]=Math.max(h[0],Math.abs(f[0])),h[1]=Math.max(h[1],Math.abs(f[1])),h[2]=Math.max(h[2],Math.abs(f[2])),M[n++]=c[0],M[n++]=c[1],M[n]=c[2]}return e.setHalfSize(h),M}const P=(0,o.vt)();function C(){return new k}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5220],{40876(e,t,n){n.d(t,{Eq:()=>m,G1:()=>g,TS:()=>s,V6:()=>r,Vm:()=>f,ay:()=>l,c1:()=>p,c4:()=>a,j5:()=>u,lT:()=>h,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 r(e){return!!i[e]||!!i[e.toLowerCase()]}function s(e){return i[e]??i[e.toLowerCase()]}function a(e){return[...s(e)]}function o(e,t,n){n<0&&++n,n>1&&--n;const i=6*n;return i<1?e+(t-e)*i:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,i=1){const r=(e%360+360)%360/360,s=n<=.5?n*(t+1):n+t-n*t,a=2*n-s;return[Math.round(255*o(a,s,r+1/3)),Math.round(255*o(a,s,r)),Math.round(255*o(a,s,r-1/3)),i]}function u(e){const t=e.length>5,n=t?8:4,i=(1<<n)-1,r=t?1:17,s=t?9===e.length:5===e.length;let a=Number("0x"+e.slice(1));if(isNaN(a))return null;const o=[0,0,0,1];let l;return s&&(l=a&i,a>>=n,o[3]=r*l/255),l=a&i,a>>=n,o[2]=r*l,l=a&i,a>>=n,o[1]=r*l,l=a&i,a>>=n,o[0]=r*l,o}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),n=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function h(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function m(e){let t=r(e)?s(e):null;return t??=h(e),t??=c(e),t}function f(e){const t=m(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function p(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const v=1/2.2;function b(e){return e**v}n.d(t,["iw",0,v])},7762(e,t,n){var i,r=n(5482),s=n(98291),a=n(4576),o=n(65529),l=n(36563),u=n(4718),c=n(53966),h=n(93687),d=n(76030),m=n(56507),f=n(62788),g=n(10107),p=n(7695),y=n(64108),v=n(95488),b=n(12195);class _{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class M{constructor(e,t,n,i,r){this.target=e,this.added=t,this.removed=n,this.start=i,this.deleteCount=r}}const w=new h.A(()=>new _,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function T(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function x(e){return e?e instanceof k?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function F(e){if(e?.length)return e[0]}function C(e,t,n,i){const r=Math.min(e.length-n,t.length-i);let s=0;for(;s<r&&e[n+s]===t[i+s];)s++;return s}function S(e,t,n,i){t&&t.forEach((t,r,s)=>{e.push(t),S(e,n.call(i,t,r,s),n,i)})}const I=new Set,z=new Set,V=new Set,D=new Map;let N=0,k=i=class extends o.nJ{static ofType(e){if(!e)return i;if(D.has(e))return D.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const n in e.typeMap){const i=e.typeMap[n].prototype.declaredClass;t?t+=` | ${i}`:t=i}let n=class extends i{};return(0,r.Cg)([(0,p.u)({Type:e,ensureType:"function"==typeof e?(0,m.dp)(e):(0,m.aq)(e)})],n.prototype,"itemType",void 0),n=(0,r.Cg)([(0,y.$)(`esri.core.Collection<${t}>`)],n),D.set(e,n),n}static isCollection(e){return null!=e&&e instanceof i}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new v.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:N++})}normalizeCtorArgs(e){return e?(0,a.yc)(e)||e instanceof i?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?c.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,x(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,l.hA)();if("change"===e){const e=this._chgListeners,n={removed:!1,callback:t};return e.push(n),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,l.hA)(()=>{n.removed=!0,e.splice(e.indexOf(n),1)})}return super.on(e,t)}once(e,t){const n="deref"in t?()=>t.deref():()=>t,i=this.on(e,e=>{n()?.call(null,e),i.remove()});return i}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(1))return this;const n=this.getNextIndex(t??null);return this._splice(n,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const n=this.getNextIndex(t);return this._splice(n,0,x(e)),this._emitAfterChanges(1),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(u.o8)})}concat(...e){(0,f.gc)(this._observable);const t=e.map(x);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const n=this._splice(0,this.length),i=n.length;for(let r=0;r<i;r++)e.call(t,n[r],r,n);this._emitAfterChanges(2)}destroyAll(){this.drain(T)}destroyMany(e){const t=this.removeMany(e);return t.forEach(T),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);const n=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:n})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}findLast(e,t){return(0,f.gc)(this._observable),this._items.findLast(e,t)}findLastIndex(e,t){return(0,f.gc)(this._observable),this._items.findLastIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);const n=[];return S(n,this,e,t),new i(n)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);const n=this._items.map(e,t);return new i({items:n})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);const n=this.indexOf(e);if(-1!==n){if(t<0?t=0:t>=this.length&&(t=this.length-1),n!==t){if(this._emitBeforeChanges(4))return e;this._splice(n,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=F(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,f.gc)(this._observable);const n=this._items;return 2===arguments.length?n.reduce(e,t):n.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);const n=this._items;return 2===arguments.length?n.reduceRight(e,t):n.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=F(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof i?e.toArray():e,n=this._items,r=[],s=t.length;for(let e=0;e<s;e++){const i=t[e],s=n.indexOf(i);if(s>-1){const i=1+C(t,n,e+1,s+1),a=this._splice(s,i);a&&a.length>0&&r.push.apply(r,a),e+=i-1}}return this._emitAfterChanges(2),r}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=F(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let n=0;n<t;n++)if(e(this.items[n],this.items[n+1])>0)return!0;return!1}splice(e,t,...n){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const i=(t?2:0)|(n.length?1:0);if(this._emitBeforeChanges(i))return[];const r=this._splice(e,t,n)||[];return this._emitAfterChanges(i),r}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map(t=>(0,b.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,n){const i=this._items,r=this.itemType;let s,a;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,d._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(a=i.splice(e,t),this.hasEventListener("before-remove")){const t=w.acquire();t.target=this,t.cancellable=!0;for(let n=0,r=a.length;n<r;n++)s=a[n],t.reset(s),this.emit("before-remove",t),t.defaultPrevented&&(a.splice(n,1),i.splice(e,0,s),e+=1,n-=1,r-=1);w.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const e=w.acquire();e.target=this,e.cancellable=!1;const t=a.length;for(let n=0;n<t;n++)e.reset(a[n]),this.emit("after-remove",e);w.release(e)}}if(n?.length){if(r){const e=[];for(const t of n){const n=r.ensureType(t);null==n&&null!=t||e.push(n)}n=e}const t=this.hasEventListener("before-add"),s=this.hasEventListener("after-add"),a=e===this.length;if(t||s){const r=w.acquire();r.target=this,r.cancellable=!0;const o=w.acquire();o.target=this,o.cancellable=!1;for(const l of n)t?(r.reset(l),this.emit("before-add",r),r.defaultPrevented||(a?i.push(l):i.splice(e++,0,l),this._length=i.length,s&&(o.reset(l),this.emit("after-add",o)))):(a?i.push(l):i.splice(e++,0,l),this._length=i.length,o.reset(l),this.emit("after-add",o));w.release(o),w.release(r)}else{if(a)for(const e of n)i.push(e);else i.splice(e,0,...n);this._length=i.length}}if((n?.length||a?.length)&&this._notifyChangeEvent(n,a),this.hasEventListener("after-splice")){const i=new M(this,n,a,e,t);this.emit("after-splice",i)}return a}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const n=w.acquire();n.target=this,n.cancellable=!0,n.type=e,this.emit("before-changes",n),t=n.defaultPrevented,w.release(n)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=w.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),w.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;I.clear(),z.clear(),V.clear();for(const{added:t,removed:n}of e){if(t)if(0===V.size&&0===z.size)for(const e of t)I.add(e);else for(const e of t)z.has(e)?(V.add(e),z.delete(e)):V.has(e)||I.add(e);if(n)if(0===V.size&&0===I.size)for(const e of n)z.add(e);else for(const e of n)I.has(e)?I.delete(e):(V.delete(e),z.add(e))}const n=s.A.acquire();I.forEach(e=>{n.push(e)});const i=s.A.acquire();z.forEach(e=>{i.push(e)});const r=this._items,a=t.items,o=s.A.acquire();if(V.forEach(e=>{a.indexOf(e)!==r.indexOf(e)&&o.push(e)}),t.listeners&&(n.length||i.length||o.length)){const e={target:this,added:n,removed:i,moved:o},r=t.listeners.length;for(let n=0;n<r;n++){const i=t.listeners[n];i.removed||i.callback.call(this,e)}}s.A.release(n),s.A.release(i),s.A.release(o)}I.clear(),z.clear(),V.clear()}};(0,r.Cg)([(0,g.MZ)()],k.prototype,"_updating",void 0),(0,r.Cg)([(0,g.MZ)()],k.prototype,"_length",void 0),(0,r.Cg)([(0,g.MZ)()],k.prototype,"length",null),(0,r.Cg)([(0,g.MZ)()],k.prototype,"items",null),(0,r.Cg)([(0,g.MZ)({readOnly:!0})],k.prototype,"updating",null),k=i=(0,r.Cg)([(0,y.$)("esri.core.Collection")],k);const L=k;n.d(t,["A",0,L])},7695(e,t,n){function i(e){return(t,n)=>{t[n]=e}}n.d(t,{u:()=>i})},91829(e,t,n){function i(){return[0,0,0,0]}function r(e,t,n,i){return[e,t,n,i]}function s(e,t,n,i){return[e,t,n,i]}function a(){return r(1,1,1,1)}function o(){return r(1,0,0,0)}function l(){return r(0,1,0,0)}function u(){return r(0,0,1,0)}function c(){return r(0,0,0,1)}n.d(t,{CN:()=>s,_Y:()=>c,fA:()=>r,vt:()=>i});const h=[0,0,0,0],d=a(),m=o(),f=l(),g=u(),p=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_W:p,UNIT_X:m,UNIT_Y:f,UNIT_Z:g,ZEROS:h,clone:function(e){return[e[0],e[1],e[2],e[3]]},create:i,freeze:s,fromArray:function(e,t=[0,0,0,0]){const n=Math.min(4,e.length);for(let i=0;i<n;++i)t[i]=e[i];return t},fromValues:r,ones:a,unitW:c,unitX:o,unitY:l,unitZ:u,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["Un",0,d,"uY",0,h])},78955(e,t,n){n.d(t,{Bw:()=>p,C:()=>r,Cc:()=>_,LI:()=>d,Om:()=>b,S8:()=>v,T9:()=>h,WQ:()=>a,Z0:()=>M,aI:()=>T,hG:()=>g,hZ:()=>s,hs:()=>m,jk:()=>c,m3:()=>y,t2:()=>w});var i=n(34304);function r(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function s(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e}function a(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function o(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function l(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function u(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function c(e,t,n){return 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.min(t[3],n[3]),e}function h(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e}function d(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function m(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function f(e,t){const n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],s=t[3]-e[3];return Math.sqrt(n*n+i*i+r*r+s*s)}function g(e,t){const n=t[0]-e[0],i=t[1]-e[1],r=t[2]-e[2],s=t[3]-e[3];return n*n+i*i+r*r+s*s}function p(e){const t=e[0],n=e[1],i=e[2],r=e[3];return Math.sqrt(t*t+n*n+i*i+r*r)}function y(e){const t=e[0],n=e[1],i=e[2],r=e[3];return t*t+n*n+i*i+r*r}function v(e,t){const n=t[0],i=t[1],r=t[2],s=t[3];let a=n*n+i*i+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),e[0]=n*a,e[1]=i*a,e[2]=r*a,e[3]=s*a),e}function b(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function _(e,t,n,i){const r=t[0],s=t[1],a=t[2],o=t[3];return e[0]=r+i*(n[0]-r),e[1]=s+i*(n[1]-s),e[2]=a+i*(n[2]-a),e[3]=o+i*(n[3]-o),e}function M(e,t,n){const i=t[0],r=t[1],s=t[2],a=t[3];return e[0]=n[0]*i+n[4]*r+n[8]*s+n[12]*a,e[1]=n[1]*i+n[5]*r+n[9]*s+n[13]*a,e[2]=n[2]*i+n[6]*r+n[10]*s+n[14]*a,e[3]=n[3]*i+n[7]*r+n[11]*s+n[15]*a,e}function w(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function T(e,t){const n=e[0],r=e[1],s=e[2],a=e[3],o=t[0],l=t[1],u=t[2],c=t[3],h=(0,i.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-l)<=h*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(s-u)<=h*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(a-c)<=h*Math.max(1,Math.abs(a),Math.abs(c))}const x=o,F=l,C=u,S=f,I=g,z=p,V=y;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:r,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:S,distance:f,div:C,divide:u,dot:b,equals:T,exactEquals:w,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:z,length:p,lerp:_,max:h,min:c,mul:F,multiply:l,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:v,random:function(e,t=1){const n=i.Ov;let r,s,a,o,l,u;do{r=2*n()-1,s=2*n()-1,l=r*r+s*s}while(l>=1);do{a=2*n()-1,o=2*n()-1,u=a*a+o*o}while(u>=1);const c=Math.sqrt((1-l)/u);return e[0]=t*r,e[1]=t*s,e[2]=t*a*c,e[3]=t*o*c,e},round:d,scale:m,scaleAndAdd:function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e[2]=t[2]+n[2]*i,e[3]=t[3]+n[3]*i,e},set:s,sqrDist:I,sqrLen:V,squaredDistance:g,squaredLength:y,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:x,subtract:o,transformMat4:M,transformQuat:function(e,t,n){const i=t[0],r=t[1],s=t[2],a=n[0],o=n[1],l=n[2],u=n[3],c=u*i+o*s-l*r,h=u*r+l*i-a*s,d=u*s+a*r-o*i,m=-a*i-o*r-l*s;return e[0]=c*u+m*-a+h*-l-d*-o,e[1]=h*u+m*-o+d*-a-c*-l,e[2]=d*u+m*-l+c*-o-h*-a,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},90629(e,t,n){n.d(t,{Lz:()=>r,PN:()=>s,cr:()=>a,gs:()=>l,r_:()=>u,tc:()=>o}),n(39829);const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function s(e){return e?72*e/96:0}function a(e){if("string"==typeof e){const t=e.match(i);if(t){const n=Number(t[1]),i=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),a="px"===i?s(n):n;return r?-a:a}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function o(e=0,t=0){return{x:e,y:t}}function l(e=0,t=0){return[e,t]}function u(e=0,t=0,n=0){return[e,t,n]}},88930(e,t,n){n.d(t,{S1:()=>o,lL:()=>u,mi:()=>l,rb:()=>c,t:()=>h});var i=n(97770),r=(n(98623),n(92647));const s=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/,a={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8,unknown:NaN};function o(e,t,n,s="system"){if("unknown"===n)return e;const a=new r.oh((0,i.wj)(s)),o=r.c9.fromJSDate(e,{zone:a}),l="decades"===n||"centuries"===n?"year":function(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),o.plus({[l]:t}).toJSDate()}function l(e,t,n="milliseconds"){const i=e.getTime(),r=h(t,n,"milliseconds");return new Date(i+r)}function u(e,t,n="system"){const{unit:s}=t,a=Math.max(1,Math.trunc(t.value)),o=new r.oh((0,i.wj)(n)),l=r.c9.fromJSDate(e,{zone:o}),u=e=>e-e%a;switch(s){case"milliseconds":return l.startOf("second").plus({millisecond:u(l.millisecond)}).toJSDate();case"seconds":return l.startOf("minute").plus({second:u(l.second)}).toJSDate();case"minutes":return l.startOf("hour").plus({minute:u(l.minute)}).toJSDate();case"hours":return l.startOf("day").plus({hour:u(l.hour)}).toJSDate();case"days":return l.startOf("month").plus({day:u(l.day-1)}).toJSDate();case"weeks":{const e=l.startOf("year").startOf("week"),t=Math.floor(l.diff(e,"weeks").weeks);return e.plus({week:u(t)}).toJSDate()}case"months":return l.startOf("year").plus({month:u(l.month-1)}).toJSDate();case"years":case"decades":case"centuries":{const e=l.startOf("year"),t=("decades"===s?10:"centuries"===s?100:1)*a,n=e.year-e.year%t;return e.set({year:n}).toJSDate()}case"unknown":return e}}function c(e){const t=s.exec(e);if(!t)return null;const{hh:n,mm:i,ss:r,ms:o}=t.groups;return Number(n)*a.hours+Number(i)*a.minutes+Number(r||0)*a.seconds+Number(o||0)}function h(e,t,n){return 0===e?0:e*a[t]/a[n]}},62577(e,t,n){function i(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null!=e.extent?[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]:[0,0,0,0]}:null}function r(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;const{originPosition:t,scale:n,translate:i}=e,r=n[0]??1,s=n[1]??1;return{originPosition:"lowerLeft",scale:[r,"lowerLeft"===t?s:-s,n[2]??1,n[3]??1],translate:[i[0]??0,i[1]??0,i[2]??0,i[3]??0]}}function s({scale:e,translate:t},n){return Math.round((n-t[0])/e[0])}function a({scale:e,translate:t},n){return Math.round((n-t[1])/e[1])}function o({scale:e,translate:t},n){return n*e[0]+t[0]}function l({scale:e,translate:t},n){return n*e[1]+t[1]}function u({scale:e,translate:t},n){return(n??0)*e[2]+t[2]}function c({scale:e,translate:t},n){return n?n*e[3]+t[3]:0}function h(e,t){return e&&t?g:e&&!t?m:!e&&t?f:d}n.d(t,{$X:()=>_,B2:()=>a,Gy:()=>y,IE:()=>s,P5:()=>M,Q1:()=>r,SW:()=>v,Tr:()=>b,VV:()=>i});const d=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),s=l(e,i[1]);n[0]=[r,s];const{scale:a,originPosition:u}=e,c=a[0],h="lowerLeft"===u?a[1]:-a[1];for(let e=1;e<t.length;e++){const[i,a]=t[e];r+=c*i,s+=h*a,n[e]=[r,s]}return n},m=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),s=l(e,i[1]);n[0]=[r,s,u(e,i[2])];const{scale:a,originPosition:c}=e,h=a[0],d="lowerLeft"===c?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,o,l]=t[i];r+=h*a,s+=d*o,n[i]=[r,s,u(e,l)]}return n},f=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),s=l(e,i[1]);n[0]=[r,s,c(e,i[2])];const{scale:a,originPosition:u}=e,h=a[0],d="lowerLeft"===u?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,o,l]=t[i];r+=h*a,s+=d*o,n[i]=[r,s,c(e,l)]}return n},g=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),s=l(e,i[1]);n[0]=[r,s,u(e,i[2]),c(e,i[3])];const{scale:a,originPosition:h}=e,d=a[0],m="lowerLeft"===h?a[1]:-a[1];for(let i=1;i<t.length;i++){const[a,o,l,h]=t[i];r+=d*a,s+=m*o,n[i]=[r,s,u(e,l),c(e,h)]}return n};function p(e,t,n){const i=new Array(n.length);for(let r=0;r<n.length;r++)i[r]=t(e,n[r]);return i}function y(e,t,n){const i=r(e);return t.x=s(i,n.x),t.y=a(i,n.y),null!=n.z&&(t.z=function({scale:e,translate:t},n){return Math.round(((n??0)-t[2])/e[2])}(i,n.z)),null!=n.m&&(t.m=function({scale:e,translate:t},n){return n?Math.round((n-t[3])/e[3]):0}(i,n.m)),t}function v(e,t,n,i=n?.hasZ??!1,s=n?.hasM??!1){if(null!=n){const a=r(e);t.points=h(i,s)(a,n.points),t.hasZ=i,t.hasM=s}return t}function b(e,t,n,i=null!=n?.z,s=null!=n?.m){if(null==n)return t;const a=r(e);return t.x=o(a,n.x),t.y=l(a,n.y),i&&(t.z=u(a,n.z)),s&&(t.m=c(a,n.m)),t}function _(e,t,n,i=n?.hasZ??!1,s=n?.hasM??!1){if(null!=n){const a=r(e);t.rings=p(a,h(i,s),n.rings),t.hasZ=i,t.hasM=s}return t}function M(e,t,n,i=n?.hasZ??!1,s=n?.hasM??!1){if(null!=n){const a=r(e);t.paths=p(a,h(i,s),n.paths),t.hasZ=i,t.hasM=s}return t}},97770(e,t,n){n.d(t,{Ey:()=>N,F8:()=>D,J2:()=>S,Yq:()=>z,_m:()=>I,iS:()=>V,wj:()=>k});var i=n(66552),r=n(73444),s=n(98623),a=n(92647);const o={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},h={year:"numeric",month:"long",day:"numeric"},d={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},g={...f,second:"numeric"},p={hourCycle:"h23"},y={...f,...p},v={...g,...p},b={"short-date":c,"short-date-short-time":{...c,...f},"short-date-short-time-24":{...c,...y},"short-date-long-time":{...c,...g},"short-date-long-time-24":{...c,...v},"short-date-le":c,"short-date-le-short-time":{...c,...f},"short-date-le-short-time-24":{...c,...y},"short-date-le-long-time":{...c,...g},"short-date-le-long-time-24":{...c,...v},"long-month-day-year":h,"long-month-day-year-short-time":{...h,...f},"long-month-day-year-short-time-24":{...h,...y},"long-month-day-year-long-time":{...h,...g},"long-month-day-year-long-time-24":{...h,...v},"day-short-month-year":d,"day-short-month-year-short-time":{...d,...f},"day-short-month-year-short-time-24":{...d,...y},"day-short-month-year-long-time":{...d,...g},"day-short-month-year-long-time-24":{...d,...v},"long-date":m,"long-date-short-time":{...m,...f},"long-date-short-time-24":{...m,...y},"long-date-long-time":{...m,...g},"long-date-long-time-24":{...m,...v},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":g},_=(0,i.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),M={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},w=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),T=w.find(({type:e})=>"month"===e)?.value.toLowerCase();function x(){const e=(0,r.lR)();return(e&&M[e])??(0,r.QC)()}"mart"!==T&&(M.bs="sr-Latn-CS");let F=new WeakMap;const C=b["short-date-short-time"];function S(e){return b[e]}function I(e){const{dateStyle:t,timeStyle:n,hour12:i,year:r,month:s}=e,a={};return t?a.dateStyle=t:r&&(a.year=r,a.month=s||void 0),n&&!a.year&&(a.timeStyle=n,a.hour12="auto"===i?void 0:"always"===i),a}function z(e,t=C){return function(e){let t=F.get(e);if(!t){const n=x(),i=k(e.timeZone??"system"),r={...e,timeZone:i};t=new Intl.DateTimeFormat(n,r),F.set(e,t)}return t}(t).format(e)}function V(e,t=C){return z(new Date(e),{...t,...u,...l})}function D(e,t=C){return z(new Date(`1970-01-01T${e}Z`),{...t,...u,...o})}function N(e,t=C){const n=a.c9.fromISO(e,{setZone:!0});if(!n.isValid)return e;if(t.timeZone)return z(n.toJSDate(),t);const i=0===n.offset?"UTC":t.timeZone,r={...t,timeZone:i};return n.toLocaleString(r,{locale:x()})}function k(e){switch(e){case"system":return s.N;case s.L:return"UTC";default:return e}}(0,r.Ml)(()=>{F=new WeakMap}),n.d(t,["_v",0,_])},73444(e,t,n){n.d(t,{JK:()=>l,Ml:()=>p,QC:()=>h,lR:()=>c,oQ:()=>f});var i=n(36563);let r;n(44208);const s=globalThis.esriConfig?.locale,a=globalThis.document?.documentElement;function o(){const e=a?.getAttribute("lang"),t=globalThis.navigator?.language;return s??e??t??"en"}function l(){return void 0===r&&(r=o()),r}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return d(e)?.language}function h(e=l()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=l()){return u.exec(e)?.groups}const m=[];function f(e){return m.push(e),(0,i.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const g=[];function p(e){return g.push(e),(0,i.hA)(()=>g.splice(g.indexOf(e),1))}function y(){const e=o();r!==e&&([...g].forEach(t=>t(e)),r=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),a&&new MutationObserver(()=>{y()}).observe(a,{attributeFilter:["lang"]})},95466(e,t,n){n.d(t,{A:()=>u});var i=n(49186),r=n(53966),s=n(12195),a=n(30524),o=n(98623),l=n(56400);class u{static fromJSON(e){return new u(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new u(e.fields??[],h(e))}static fromLayerJSON(e){return new u(e.fields??[],h(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 n=[];for(const e of this.fields){const t=e?.name,i=(0,a.GZ)(t);if(t&&i){const r=(0,a.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(i,e),n.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,a.te)(e)||(0,a.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}n.sort(),this.uid=n.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,a.te)(e)||(0,a.Xz)(e)||e.nullable||void 0!==(0,a.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,a.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?(r.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)?o.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.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 h(e){const t=new Map;if(!e.fields)return t;const n=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:r}=e,s=(i?"startField"in i?i.startField:i.startTimeField:"")??"",u=(i?"endField"in i?i.endField:i.endTimeField:"")??"",h=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,l.ZS)(e.dateFieldsTimeReference):null,d=r?function(e){return"timeZone"in e}(r)?r.timeZone??h:r.dateFieldsTimeReference?(0,l.ZS)(r.dateFieldsTimeReference):h??"UTC":null,m=i?function(e){return"timeZone"in e}(i)?i.timeZone??h:i.timeReference?(0,l.ZS)(i.timeReference):h:null,f=new Map([[(0,a.NF)(r?.creationDateField??""),d],[(0,a.NF)(r?.editDateField??""),d],[(0,a.NF)(s),m],[(0,a.NF)(u),m]]);for(const{name:i,type:r}of e.fields)if(c.has(r))t.set(i,o.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(i,null);else if(n)t.set(i,o.L);else{const e=f.get((0,a.NF)(i??""))??h;t.set(i,e)}return t}},61760(e,t,n){n.d(t,{PU:()=>s,YW:()=>o,hv:()=>a,zp:()=>r}),n(34727);var i=n(90629);function r(e){return(0,i.PN)(2.4*e)}function s(e){return(0,i.Lz)(e)/2.4}function a(e,t,n){const i=Math.sqrt(e**2+t**2)/n;return i>1?0:3/(Math.PI*n**2)*(1-i**2)**2}function o(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}n(78955),n(91829)},9760(e,t,n){n.d(t,{A:()=>c});var i=n(5482),r=n(66552),s=n(25482),a=n(91429),o=n(93223);const l=new r.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),u=new r.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let c=class extends s.o{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i.Cg)([(0,o.e)({classBreaksDef:"class-breaks-definition"})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"breakCount",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"classificationField",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:l.read,write:l.write}})],c.prototype,"classificationMethod",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"normalizationField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"normalizationType",void 0),(0,i.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],c.prototype,"standardDeviationInterval",null),(0,i.Cg)([(0,a.MZ)({value:null,json:{write:!0}})],c.prototype,"definedInterval",null),c=(0,i.Cg)([(0,a.$K)("esri.rest.support.ClassBreaksDefinition")],c)},84892(e,t,n){n.d(t,{t:()=>s});var i=n(53966);function r(e,t){return Number(e.toFixed(t))}function s(e,t){const{normalizationTotal:n}=e;return{classBreaks:a(e,t),normalizationTotal:n}}function a(e,t){const n=e.definition,{classificationMethod:i,normalizationType:s,definedInterval:a}=n,u=n.breakCount??1,c=[];let h=e.values;if(0===h.length)return[];h=h.sort((e,t)=>e-t);const[d,m]=t??[h.at(0),h.at(-1)];if("equal-interval"===i)if(h.length>=u){const e=(m-d)/u;let t=d;for(let n=1;n<u;n++){const i=r(d+n*e,6);c.push({minValue:t,maxValue:i,label:o(t,i,s)}),t=i}c.push({minValue:t,maxValue:m,label:o(t,m,s)})}else h.forEach(e=>{c.push({minValue:e,maxValue:e,label:o(e,e,s)})});else if("natural-breaks"===i){const t=function(e){const t=[],n=[];let i=Number.MIN_VALUE,r=1,s=-1;for(let a=0;a<e.length;a++){const o=e[a];o===i?(r++,n[s]=r):null!==o&&(t.push(o),i=o,r=1,n.push(r),s++)}return{uniqueValues:t,valueFrequency:n}}(h),n=e.valueFrequency||t.valueFrequency,i=l(t.uniqueValues,n,u);let a=d;for(let e=1;e<u;e++)if(t.uniqueValues.length>e){const n=r(t.uniqueValues[i[e]],6);c.push({minValue:a,maxValue:n,label:o(a,n,s)}),a=n}c.push({minValue:a,maxValue:m,label:o(a,m,s)})}else if("quantile"===i)if(h.length>=u&&d!==m){let e=d,t=Math.ceil(h.length/u),n=0;for(let i=1;i<u;i++){let r=t+n-1;r>h.length&&(r=h.length-1),r<0&&(r=0),c.push({minValue:e,maxValue:h[r],label:o(e,h[r],s)}),e=h[r],n+=t,t=Math.ceil((h.length-n)/(u-i))}c.push({minValue:e,maxValue:m,label:o(e,m,s)})}else{let e=-1;for(let t=0;t<h.length;t++){const n=h[t];n!==e&&(e=n,c.push({minValue:e,maxValue:n,label:o(e,n,s)}),e=n)}}else if("standard-deviation"===i){const e=function(e){let t=0;for(let n=0;n<e.length;n++)t+=e[n];return t/=e.length,t}(h),t=function(e,t){let n=0;for(let i=0;i<e.length;i++){const r=e[i];n+=(r-t)*(r-t)}return n/=e.length,Math.sqrt(n)}(h,e);if(0===t)c.push({minValue:h[0],maxValue:h[0],label:o(h[0],h[0],s)});else{const n=function(e,t,n,i,r){let s=Math.max(i-e,t-i)/r/n;return s=s>=1?1:s>=.5?.5:.25,s}(d,m,u,e,t)*t;let i=0,a=d;for(let t=u;t>=1;t--){const l=r(e-(t-.5)*n,6);c.push({minValue:a,maxValue:l,label:o(a,l,s)}),a=l,i++}let l=r(e+.5*n,6);c.push({minValue:a,maxValue:l,label:o(a,l,s)}),a=l,i++;for(let t=1;t<=u;t++)l=i===2*u?m:r(e+(t+.5)*n,6),c.push({minValue:a,maxValue:l,label:o(a,l,s)}),a=l,i++}}else if("defined-interval"===i){if(!a)return c;const[e,n]=t??[h.at(0),h.at(-1)],i=Math.ceil((n-e)/a);let l=e;for(let t=1;t<i;t++){const n=r(e+t*a,6);c.push({minValue:l,maxValue:n,label:o(l,n,s)}),l=n}c.push({minValue:l,maxValue:n,label:o(l,n,s)})}return c}function o(e,t,n){let i=null;return i=e===t?n&&"percent-of-total"===n?e+"%":e.toString():n&&"percent-of-total"===n?e+"% - "+t+"%":e+" - "+t,i}function l(e,t,n){const i=e.length,r=[];n>i&&(n=i);for(let e=0;e<n;e++)r.push(Math.round(e*i/n-1));r.push(i-1);let s=u(r,e,t,n);return function(e,t,n,i,r,s){let a=0,o=0,l=0,u=0,h=!0;for(let d=0;d<2&&h;d++){0===d&&(h=!1);for(let d=0;d<s-1;d++)for(;n[d+1]+1!==n[d+2];){n[d+1]=n[d+1]+1;const s=c(d,n,i,r);l=s.sbMean,a=s.sbSdcm;const m=c(d+1,n,i,r);if(u=m.sbMean,o=m.sbSdcm,!(a+o<t[d]+t[d+1])){n[d+1]=n[d+1]-1;break}t[d]=a,t[d+1]=o,e[d]=l,e[d+1]=u,h=!0}for(let d=s-1;d>0;d--)for(;n[d]!==n[d-1]+1;){n[d]=n[d]-1;const s=c(d-1,n,i,r);l=s.sbMean,a=s.sbSdcm;const m=c(d,n,i,r);if(u=m.sbMean,o=m.sbSdcm,!(a+o<t[d-1]+t[d])){n[d]=n[d]+1;break}t[d-1]=a,t[d]=o,e[d-1]=l,e[d]=u,h=!0}}return h}(s.mean,s.sdcm,r,e,t,n)&&(s=u(r,e,t,n)),r}function u(e,t,n,i){let r=[],s=[],a=[],o=0;const l=[],u=[];for(let r=0;r<i;r++){const i=c(r,e,t,n);l.push(i.sbMean),u.push(i.sbSdcm),o+=u[r]}let h,d=o,m=!0;for(;m||o<d;){m=!1,r=[];for(let t=0;t<i;t++)r.push(e[t]);for(let n=0;n<i;n++)for(let r=e[n]+1;r<=e[n+1];r++)if(h=t[r],n>0&&r!==e[n+1]&&Math.abs(h-l[n])>Math.abs(h-l[n-1]))e[n]=r;else if(n<i-1&&e[n]!==r-1&&Math.abs(h-l[n])>Math.abs(h-l[n+1])){e[n+1]=r-1;break}d=o,o=0,s=[],a=[];for(let r=0;r<i;r++){s.push(l[r]),a.push(u[r]);const i=c(r,e,t,n);l[r]=i.sbMean,u[r]=i.sbSdcm,o+=u[r]}}if(o>d){for(let t=0;t<i;t++)e[t]=r[t],l[t]=s[t],u[t]=a[t];o=d}return{mean:l,sdcm:u}}function c(e,t,n,r){let s=0,a=0;for(let i=t[e]+1;i<=t[e+1];i++){const e=r[i];s+=n[i]*e,a+=e}a<=0&&i.A.getLogger("esri.rest.support.generateRendererUtils").warn("Exception in Natural Breaks calculation");const o=s/a;let l=0;for(let i=t[e]+1;i<=t[e+1];i++)l+=r[i]*(n[i]-o)**2;return{sbMean:o,sbSdcm:l}}},26412(e,t,n){n.r(t),n.d(t,{classBreaks:()=>b,heatmapStatistics:()=>M,histogram:()=>_,summaryStatistics:()=>y,uniqueValues:()=>v}),n(49186);var i=n(90629),r=n(88930),s=n(86738),a=n(16930),o=n(62577),l=n(21325),u=n(95466),c=n(30524),h=n(61760),d=n(4560),m=n(1873),f=n(43668);let g;async function p(e,t,n=!0){if(!t)return[];const{field:i,field2:s,field3:o,fieldDelimiter:l,sqlExpression:h,fieldInfos:p,timeZone:y}=e,v=i&&p?.find(e=>e.name.toLowerCase()===i.toLowerCase()),b=!!v&&(0,c.OH)(v),_=!!v&&(0,d.fs)(v),M=e.valueExpression,w=e.normalizationType,T=e.normalizationField,x=e.normalizationTotal,F=[],C=e.viewInfoParams;let S,I=null;if(M){if(!g){const{arcadeUtils:e}=await(0,f.l)();g=e}g.hasGeometryOperations(M)&&await g.enableGeometryOperations(),I=g.createFunction(M),S=C?g.getViewInfo({viewingMode:C.viewingMode,scale:C.scale,spatialReference:new a.A(C.spatialReference)}):null}const z=e.fieldInfos,V=t[0]&&"declaredClass"in t[0]&&"esri.Graphic"===t[0].declaredClass||!z?null:{fields:z};for await(const e of t){const t=e.attributes;let a;if(h){const t=await(0,d.j4)(h,new u.A(z));t&&(a=t.calculateValue(e.attributes))}else if(M){const t=V?Object.assign({},e,{layer:V}):e,n=g.createExecContext(t,S,y);a=g.executeFunction(I,n)}else t&&(a=t[i],s?(a=`${(0,m.gJ)(a)}${l}${(0,m.gJ)(t[s])}`,o&&(a=`${a}${l}${(0,m.gJ)(t[o])}`)):"string"==typeof a&&n&&(_?a=a?new Date(a).getTime():null:b&&(a=a?(0,r.rb)(a):null)));if(w&&"number"==typeof a&&isFinite(a)){const e=t&&parseFloat(t[T]);a=(0,m.zS)(a,w,e,x)}F.push(a)}return F}async function y(e){const{attribute:t,features:n}=e,{normalizationType:i,normalizationField:r,minValue:s,maxValue:a,fieldType:o,outStatisticTypes:l}=t,u=await p({field:t.field,valueExpression:t.valueExpression,normalizationType:i,normalizationField:r,normalizationTotal:t.normalizationTotal,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n),c=(0,m.Vb)({normalizationType:i,normalizationField:r,minValue:s,maxValue:a}),h={value:.5,fieldType:o},d="esriFieldTypeString"===o?(0,m.z9)({values:u,supportsNullCount:c,percentileParams:h,outStatisticTypes:l}):(0,m.G_)({values:u,minValue:s,maxValue:a,useSampleStdDev:!i,supportsNullCount:c,percentileParams:h,outStatisticTypes:l});return(0,m.oZ)(d,l,"esriFieldTypeDate"===o)}async function v(e){const{attribute:t,features:n}=e,i=await p({field:t.field,field2:t.field2,field3:t.field3,fieldDelimiter:t.fieldDelimiter,valueExpression:t.valueExpression,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n,!1),r=(0,m.b3)(i);return(0,m.lv)(r,t.domains,t.returnAllCodedValues,t.fieldDelimiter)}async function b(e){const{attribute:t,features:n}=e,{field:i,normalizationType:r,normalizationField:s,normalizationTotal:a,classificationMethod:o}=t,l=await p({field:i,valueExpression:t.valueExpression,normalizationType:r,normalizationField:s,normalizationTotal:a,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n),u=(0,m.Rw)(l,{field:i,normalizationType:r,normalizationField:s,normalizationTotal:a,classificationMethod:o,standardDeviationInterval:t.standardDeviationInterval,numClasses:t.numClasses,minValue:t.minValue,maxValue:t.maxValue});return(0,m.jM)(u,o)}async function _(e){const{attribute:t,features:n}=e,{field:i,normalizationType:r,normalizationField:s,normalizationTotal:a,classificationMethod:o}=t,l=await p({field:i,valueExpression:t.valueExpression,sqlExpression:t.sqlExpression,normalizationType:r,normalizationField:s,normalizationTotal:a,viewInfoParams:t.viewInfoParams,timeZone:t.timeZone,fieldInfos:t.fieldInfos},n);return(0,m.$y)(l,{field:i,normalizationType:r,normalizationField:s,normalizationTotal:a,classificationMethod:o,standardDeviationInterval:t.standardDeviationInterval,numBins:t.numBins,minValue:t.minValue,maxValue:t.maxValue})}async function M(e){const{attribute:t,features:n}=e,{field:r,radius:a,transform:u,spatialReference:c}=t,d=t.size??[0,0],m=function(e,t,n,i){const r=(0,l.d9)(n)?(0,l.Vp)(n):null,a=r?Math.round((r.valid[1]-r.valid[0])/t.scale[0]):null;return e.map(e=>{const n=new s.A(e.geometry);return(0,o.Gy)(t,n,n),e.geometry=r?function(e,t,n){return e.x<0?e.x+=t:e.x>n&&(e.x-=t),e}(n,a??0,i[0]):n,e})}(n??[],u,c,d);return function(e,t=18,n,r,s){const a=new Float64Array(r*s);t=Math.round((0,i.Lz)(t));let o=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;const u=(0,h.YW)(n);for(const{geometry:n,attributes:i}of e){const{x:e,y:c}=n,d=Math.max(0,e-t),m=Math.max(0,c-t),f=Math.min(s,c+t),g=Math.min(r,e+t),p=+u(i);for(let n=m;n<f;n++)for(let i=d;i<g;i++){const s=n*r+i,u=(0,h.hv)(i-e,n-c,t)*p,d=a[s]+=u;o=Math.min(o,d),l=Math.max(l,d)}}return{min:o,max:l}}(m,a??void 0,r,d[0],d[1])}},1873(e,t,n){n.d(t,{$y:()=>L,Ak:()=>q,FM:()=>f,G_:()=>d,Rw:()=>N,Vb:()=>c,b3:()=>I,gJ:()=>u,jM:()=>k,lv:()=>V,oZ:()=>S,qg:()=>m,sU:()=>A,z9:()=>h,zS:()=>D});var i=n(9760),r=n(84892);const s=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,a=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),o=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),l=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function u(e){return null==e||"string"==typeof e&&!e?"<Null>":e}function c(e){const t=null!=e.normalizationField||null!=e.normalizationType,n=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!n&&!i}function h(e){const{outStatisticTypes:t}=e,n=e.returnDistinct?[...new Set(e.values)]:e.values,i=n.filter(e=>null!=e).sort(),r=i.length,s={count:r,min:i[0],max:i[r-1]};return e.supportsNullCount&&(s.nullcount=n.length-r),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(s.median=m(n,e.percentileParams)),s}function d(e){const{values:t,useSampleStdDev:n,supportsNullCount:i,outStatisticTypes:r}=e;let s=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,o=null,l=null,u=null,c=null,h=0;const d=null==e.minValue?-1/0:e.minValue,f=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=d&&e<=f&&(o=null===o?e:o+e,s=Math.min(s,e),a=Math.max(a,e),h++):"string"==typeof e&&h++;if(h&&null!=o){l=o/h;let e=0;for(const n of t)Number.isFinite(n)&&n>=d&&n<=f&&(e+=(n-l)**2);c=n?h>1?e/(h-1):0:h>0?e/h:0,u=Math.sqrt(c)}else s=null,a=null;const g={avg:l,count:h,max:a,min:s,stddev:u,sum:o,variance:c};return i&&(g.nullcount=t.length-h),!e.percentileParams||r?.include?.length&&!r.include.includes("median")||r?.exclude?.length&&r.exclude.includes("median")||(g.median=m(t,e.percentileParams)),g}function m(e,t){const{fieldType:n,value:i,orderBy:r,isDiscrete:s}=t,a=f(n,"desc"===r,"case-insensitive");if(0===(e=[...e].filter(e=>null!=e).sort((e,t)=>a(e,t))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const o=(e.length-1)*i,l=Math.floor(o),u=l+1,c=o%1,h=e[l],d=e[u];return u>=e.length||s||"string"==typeof h||"string"==typeof d?h:h*(1-c)+d*c}function f(e,t,n="case-sensitive"){if(e){if(a.has(e))return F(t);if(o.has(e))return w(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?b:v}(t);const i=w(t,"case-sensitive"===n);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(C(e),C(t))}const i=t?1:-1,r=F(t),s=w(t,"case-sensitive"===n),l=y(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?r(e,t):"string"==typeof e&&"string"==typeof t?s(e,t):l(e,t)??i}const g=(e,t)=>null==e?null==t?0:1:null==t?-1:null,p=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function y(e){return e?g:p}const v=(e,t)=>p(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),b=(e,t)=>g(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),_=(e,t)=>p(e,t)??(e===t?0:e<t?-1:1),M=(e,t)=>g(e,t)??(e===t?0:e<t?1:-1);function w(e,t){if(t)return e?M:_;const n=y(e);return e?(e,t)=>{const i=n(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=n(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const T=(e,t)=>g(e,t)??t-e,x=(e,t)=>p(e,t)??e-t;function F(e){return e?T:x}function C(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function S(e,t,n){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:l.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return n?(["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e):e}function I(e){const t={};for(let n of e)(null==n||"string"==typeof n&&""===n.trim())&&(n=null),null==t[n]?t[n]={count:1,data:n}:t[n].count++;return{count:t}}function z(e){return"coded-value"!==e?.type?[]:e.codedValues.map(e=>e.code)}function V(e,t,n,i){const r=e.count,s=[];if(n&&t){const e=[],n=z(t[0]);for(const r of n)if(t[1]){const n=z(t[1]);for(const s of n)if(t[2]){const n=z(t[2]);for(const t of n)e.push(`${u(r)}${i}${u(s)}${i}${u(t)}`)}else e.push(`${u(r)}${i}${u(s)}`)}else e.push(r);for(const t of e)r.hasOwnProperty(t)||(r[t]={data:t,count:0})}for(const e in r){const t=r[e];s.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:s}}function D(e,t,n,i){let r=null;switch(t){case"log":0!==e&&(r=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(r=e/i*100);break;case"field":Number.isFinite(n)&&0!==n&&(r=e/n);break;case"natural-log":e>0&&(r=Math.log(e));break;case"square-root":e>0&&(r=e**.5)}return r}function N(e,t,n){const s=function(e){const{breakCount:t,field:n,normalizationField:r,normalizationType:s}=e,a=e.classificationMethod||"equal-interval",o="standard-deviation"===a?e.standardDeviationInterval||1:void 0,l="defined-interval"===a?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:n,classificationMethod:a,normalizationField:"field"===s?r:void 0,normalizationType:s,standardDeviationInterval:o,definedInterval:l})}({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||5});return e=function(e,t,n){const i=t??-1/0,r=n??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=r)}(e,t.minValue,t.maxValue),(0,r.t)({definition:s,values:e,normalizationTotal:t.normalizationTotal},n)}function k(e,t){let n=e.classBreaks;const i=n.length,r=n[0]?.minValue,a=n[i-1]?.maxValue,o="standard-deviation"===t,l=s;return n=n.map(e=>{const t=e.label,n={minValue:e.minValue,maxValue:e.maxValue,label:t};if(o&&t){const e=t.match(l),i=e?.map(e=>+e.trim())??[];2===i.length?(n.minStdDev=i[0],n.maxStdDev=i[1],i[0]<0&&i[1]>0&&(n.hasAvg=!0)):1===i.length&&(t.includes("<")?(n.minStdDev=null,n.maxStdDev=i[0]):t.includes(">")&&(n.minStdDev=i[0],n.maxStdDev=null))}return n}),{minValue:r,maxValue:a,classBreakInfos:n,normalizationTotal:e.normalizationTotal}}function L(e,t){const n=A(e,t);if(null==n.min&&null==n.max)return{bins:[],minValue:n.min,maxValue:n.max,normalizationTotal:t.normalizationTotal};const i=n.intervals,r=n.min??0,s=n.max??0,a=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(const t of e)if(null!=t&&t>=r&&t<=s){const e=q(i,t);e>-1&&a[e].count++}return{bins:a,minValue:r,maxValue:s,normalizationTotal:t.normalizationTotal}}function A(e,t,n=!1){const{field:i,classificationMethod:r,standardDeviationInterval:s,definedInterval:a,normalizationType:o,normalizationField:l,normalizationTotal:u,minValue:h,maxValue:m}=t,f=t.numBins||10;let g=null,p=null,y=null;if(r&&"equal-interval"!==r||o){const{classBreaks:t}=N(e,{field:i,normalizationType:o,normalizationField:l,normalizationTotal:u,classificationMethod:r,standardDeviationInterval:s,definedInterval:a,minValue:h,maxValue:m,numClasses:f},null!=h&&null!=m?[h,m]:void 0);g=t[0]?.minValue,p=t[t.length-1]?.maxValue,y=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=h&&null!=m)g=h,p=m;else{const t=d({values:e,minValue:h,maxValue:m,useSampleStdDev:!o,supportsNullCount:c({normalizationType:o,normalizationField:l,minValue:h,maxValue:m})});g=t.min??null,p=t.max??null}y=function(e,t,n){const i=(t-e)/n,r=[];let s,a=e;for(let e=1;e<=n;e++)s=a+i,s=Number(s.toFixed(16)),r.push([a,e===n?t:s]),a=s;return r}(g??0,p??0,f)}if(n&&y.length){const e=y.at(-1)[1];y.push([e,e])}return{min:g,max:p,intervals:y}}function q(e,t){let n=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){n=i;break}return n}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4575,6956],{69052(e,t,n){n.d(t,{hr:()=>r});var i=n(34727);class r{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,i.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+o(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,i=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(i)?n:i}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,i,r=0,s=!1){return(i-=r)<t?i+=o(e,t-i):i>n&&(i-=o(e,i-n)),s&&i===n&&(i=t),i+r}function o(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const a=new r(0,2*Math.PI),l=(new r(-Math.PI,Math.PI),new r(0,360));n.d(t,["ie",0,l,"uC",0,a])},93146(e,t,n){n.d(t,{z:()=>r});class i{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(async e=>(this.module=e,e))),this._promise}}function r(e){return new i(async()=>{const t=await e();return!1===t.isLoaded?.()&&await t.load(),t})}},52039(e,t,n){n.d(t,{O7:()=>c,el:()=>l});var i=n(69052),r=(n(49186),n(17676)),s=(n(5443),n(39829),n(82799),n(16930)),o=n(93146),a=(n(80754),n(21325));async function l(e,t,n){Array.isArray(e)||(e=[e]),null!=t&&"object"==typeof t&&"authMode"in t&&(n=t);let i=null;for(const t of e)i??=t?.spatialReference;if(!i)return e;const s=(0,a.Vp)(i);if(!s)return e;const[o,l]=s.valid;let c=!1;for(const t of e){if(!t)continue;if("point"===t.type){c||=t.x>=l,c||=t.x<=o;continue}const{extent:e}=t;if(null==e){c=!0;break}c||=e.xmin>=l,c||=e.xmin<=o,c||=e.xmax>=l,c||=e.xmax<=o}if(!c)return e;const[{foldInto360Range:m},d]=await(0,r.qr)(Promise.all([u.getImportPromise(),p.getImportPromise()]),n),y=d.fromSpatialReference(i);return e.map(e=>{if(null==e||"mesh"===e.type)return e;const t=d.fromGeometry(e),n=d.toGeometry(m(t,y),i);return"extent"===e.type&&1===n?.rings.length?n.extent:n})}const u=(0,o.z)(()=>n.e(4144).then(n.bind(n,4144))),p=(0,o.z)(()=>Promise.all([n.e(9187),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)));function c(e,t,n){const i=(0,a.Vp)(n);if(null==i)return e;const[r,s]=i.valid,o=2*s;let l=0,u=0;t>s?l=Math.ceil(Math.abs(t-s)/o):t<r&&(l=-Math.ceil(Math.abs(t-r)/o)),e>s?u=Math.ceil(Math.abs(e-s)/o):e<r&&(u=-Math.ceil(Math.abs(e-r)/o));let p=e+(l-u)*o;const c=p-t;return c>s?p-=o:c<r&&(p+=o),p}function m(e){const t=(0,a.Vp)(e);if(null==t)return null;const[n,r]=t.valid;return new i.hr(n,r)}const d=m(s.A.WGS84);m(s.A.WebMercator),n.d(t,["Y_",0,d])},80754(e,t,n){n.d(t,{kS:()=>u,kd:()=>l});var i=n(82799),r=n(16930),s=n(60408),o=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new i.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new i.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new i.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new i.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,o.Ed)(e))for(const n of function(e){return(0,s.Bi)(e)?e.curveRings:e.curvePaths}(e))for(const e of n){if((0,o.aO)(e)){const[n,i]=e.c;n[0]+=t,i[0]+=t;continue}if((0,o.FG)(e)){const[n,i]=e.a;n[0]+=t,i[0]+=t;continue}if((0,o.n1)(e)){const[n,i,r]=e.b;n[0]+=t,i[0]+=t,r[0]+=t;continue}e[0]+=t}for(const n of function(e){return(0,s.Bi)(e)?e.rings:e.paths}(e))for(const e of n)e[0]+=t;return e}n.d(t,["j7",0,a])},31464(e,t,n){n.d(t,{Cv:()=>y,Nk:()=>c,lK:()=>f});var i=n(4576),r=n(91218),s=n(21325),o=n(28735);const a=[0,0];function l(e,t){if(!t)return null;if("x"in t){const n={x:0,y:0};return[n.x,n.y]=e(t.x,t.y,a),null!=t.z&&(n.z=t.z),null!=t.m&&(n.m=t.m),n}if("xmin"in t){const n={xmin:0,ymin:0,xmax:0,ymax:0};return[n.xmin,n.ymin]=e(t.xmin,t.ymin,a),[n.xmax,n.ymax]=e(t.xmax,t.ymax,a),t.hasZ&&(n.zmin=t.zmin,n.zmax=t.zmax,n.hasZ=!0),t.hasM&&(n.mmin=t.mmin,n.mmax=t.mmax,n.hasM=!0),n}return"rings"in t?{rings:u(t.rings,e),hasM:t.hasM,hasZ:t.hasZ}:"paths"in t?{paths:u(t.paths,e),hasM:t.hasM,hasZ:t.hasZ}:"points"in t?{points:p(t.points,e),hasM:t.hasM,hasZ:t.hasZ}:null}function u(e,t){const n=[];for(const i of e)n.push(p(i,t));return n}function p(e,t){const n=[];for(const i of e){const e=t(i[0],i[1],[0,0]);n.push(e),i.length>2&&e.push(i[2]),i.length>3&&e.push(i[3])}return n}async function c(e,t){if(!e||!t)return;const n=Array.isArray(e)?e.map(e=>null!=e.geometry?e.geometry.spatialReference:null).filter(i.Ru):[e];await(0,r.initializeProjection)(n.map(e=>({source:e,dest:t})))}const m=l.bind(null,o.je),d=l.bind(null,o.tD);function y(e,t,n,i){if(!e)return null;if(n||(n=t,t=e.spatialReference),!(0,s.fn)(t)||!(0,s.fn)(n)||(0,s.aI)(t,n))return e;if((0,o.y7)(t,n)){const t=(0,s.K8)(n)?m(e):d(e);return t.spatialReference=n,t}return(0,r.projectMany)([e],t,n,i)[0]}const h=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,n,i){if(!e?.length||!t||!n||(0,s.aI)(t,n))return e;const r={geometries:e,inSpatialReference:t,outSpatialReference:n,options:i,resolve:Promise.withResolvers()};return this._jobs.push(r),this._timer??=setTimeout(this._process,10),r.resolve.promise}_process(){this._timer=null;const e=this._jobs.shift();if(!e)return;const{geometries:t,inSpatialReference:n,outSpatialReference:i,resolve:a,options:l}=e,u=t.filter(e=>null!=e);let p;p=(0,o.y7)(n,i)&&null==l?.extendedParams?(0,s.K8)(i)?u.map(m):u.map(d):(0,r.projectMany)(u,n,i,l);let c=0;const y=t.map(e=>null==e?null:p[c++]);a.resolve(y),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function f(e,t,n,i){return h.push(e,t,n,i)}},58727(e,t,n){n.d(t,{GC:()=>g,T2:()=>v,dO:()=>M,iJ:()=>f});var i=n(49186),r=n(66552),s=n(86211),o=n(39829),a=n(91218),l=n(90634),u=n(60408),p=n(65864),c=n(52039),m=n(21325),d=n(31464);const y=new r.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),h=Object.freeze({});async function f(e,t,n){const i=e.bin;return i.onField&&(i.onField=i.onField.trim()),i.onExpression?.value&&(i.onExpression.value=i.onExpression.value.trim()),i.splitBy&&(i.splitBy.value&&(i.splitBy.value=i.splitBy.value.trim()),i.splitBy.outAlias&&(i.splitBy.outAlias=i.splitBy.outAlias.trim())),i.stackBy&&(i.stackBy.value&&(i.stackBy.value=i.stackBy.value.trim()),i.stackBy.outAlias&&(i.stackBy.outAlias=i.stackBy.outAlias.trim())),"normalizationField"in i.parameters&&i.parameters.normalizationField&&(i.parameters.normalizationField=i.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),g(e,t,n)}async function g(e,t,n){const{outFields:i,orderByFields:r,groupByFieldsForStatistics:s,outStatistics:o}=e;if(i)for(let e=0;e<i.length;e++)i[e]=i[e].trim();if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(o)for(let e=0;e<o.length;e++)o[e].onStatisticField&&(o[e].onStatisticField=o[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),v(e,t,n)}async function v(e,t,n){if(!e)return null;let{where:i}=e;if(e.where=i=i?.trim(),(!i||/^1 *= *1$/.test(i)||t&&t===i)&&(e.where=null),!e.geometry)return e;let r=await w(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){const{spatialReference:t}=e.geometry;r=(0,l.HA)(r),r.spatialReference=t}if(!r)return e;await(0,d.Nk)(r.spatialReference,n);let[s]=await(0,c.el)((0,p.rS)(r));if(null==s)throw h;let y=!1;((0,u.ZC)(s)||(0,u.Bi)(s)||(0,u.Rg)(s))&&(y=!(0,m.aI)(s.spatialReference,n)&&!(0,a.canProjectWithoutEngine)(s.spatialReference,n)),y&&(0,u.ZC)(s)&&(s=o.A.fromExtent(s));const f="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,g=y&&f?{extendedParams:{densificationStep:8*f}}:void 0,v=s.toJSON(),M=(0,d.Cv)(v,v.spatialReference,n,g);if(!M)throw h;return M.spatialReference=n,e.geometry=M,e}async function w(e){const{distance:t,units:r}=e,o=e.geometry;if(!t||"vertexAttributes"in o)return o;const a=o.spatialReference,l=r?y.fromJSON(r):(0,s.Ij)(a),p=a&&((0,m.EA)(a)||(0,m.K8)(a))?o:await(0,d.Nk)(a,m.KK).then(()=>(0,d.Cv)(o,m.KK)),c=await n.e(9159).then(n.bind(n,49159));await c.load();const h=c.execute(p,t||1,{unit:l})??void 0;if(!h||!(0,u.Bi)(h)||0===h.rings.length)throw new i.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return h}function M(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}n.d(t,["VY",0,y,"v8",0,h])},14575(e,t,n){n.d(t,{default:()=>A});var i=n(5482),r=n(69540),s=n(66552),o=n(25482),a=n(53966),l=n(91429),u=n(56507),p=n(16930),c=n(65864),m=n(50498),d=n(58727),y=n(5834),h=n(41266),f=n(59977),g=n(11440),v=n(60909),w=n(58174),M=n(7562),x=n(79677),C=n(56400),S=n(93223);const B=new s.J({asc:"ascending",desc:"descending"}),b={base:h.A,key:"type",typeMap:{"auto-interval":y.A,date:f.A,"fixed-boundaries":g.A,"fixed-interval":v.A}};let A=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.binParameters=null,this.binOrder="ascending",this.cacheHint=void 0,this.datumTransformation=null,this.defaultSpatialReference=null,this.distance=void 0,this.geometry=null,this.lowerBoundaryAlias=null,this.outSpatialReference=null,this.outStatistics=null,this.returnDistinctValues=null,this.spatialRelationship="intersects",this.timeExtent=null,this.upperBoundaryAlias=null,this.units=null,this.where="1=1"}set outTimeZone(e){this._set("outTimeZone",e),e&&!(0,C.wr)(e)&&a.A.getLogger(this).warn("#outTimeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}};(0,i.Cg)([(0,l.MZ)({types:b,json:{name:"bin",write:!0}})],A.prototype,"binParameters",void 0),(0,i.Cg)([(0,S.e)(B)],A.prototype,"binOrder",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],A.prototype,"cacheHint",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],A.prototype,"datumTransformation",void 0),(0,i.Cg)([(0,l.MZ)({type:p.A,json:{name:"defaultSR",write:!0}})],A.prototype,"defaultSpatialReference",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],A.prototype,"distance",void 0),(0,i.Cg)([(0,l.MZ)({types:m.yR,json:{read:c.rS,write:!0}})],A.prototype,"geometry",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"lowerBoundaryAlias",void 0),(0,i.Cg)([(0,l.MZ)({type:p.A,json:{name:"outSR",write:!0}})],A.prototype,"outSpatialReference",void 0),(0,i.Cg)([(0,l.MZ)({type:[M.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],A.prototype,"outStatistics",void 0),(0,i.Cg)([(0,l.MZ)({value:null,json:{name:"outTimeReference",read:{reader:e=>e.ianaTimeZone},write:{writer:(e,t,n)=>{e&&(t[n]={ianaTimeZone:e})}}}})],A.prototype,"outTimeZone",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{name:"returnAggIds",write:{overridePolicy:e=>({enabled:null!=e})}}})],A.prototype,"returnAggregateIds",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],A.prototype,"returnDistinctValues",void 0),(0,i.Cg)([(0,S.e)(w.x,{name:"spatialRel"})],A.prototype,"spatialRelationship",void 0),(0,i.Cg)([(0,l.MZ)({type:x.A,json:{write:!0}})],A.prototype,"timeExtent",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"upperBoundaryAlias",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{read:d.VY.read,write:{writer:d.VY.write,overridePolicy(e){return{enabled:null!=e&&!!this.distance}}}}})],A.prototype,"units",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"where",void 0),A=(0,i.Cg)([(0,l.$K)("esri.rest.support.AttributeBinsQuery")],A),A.from=(0,u.dp)(A)},5834(e,t,n){n.d(t,{A:()=>c});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(41366),u=n(93223);function p(e,t,n){(0,r.sM)(n,e instanceof Date?e.getTime():e,t)}let c=class extends((0,l.K)(a.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],c.prototype,"numBins",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],c.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],c.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,i.Cg)([(0,s.$K)("esri.rest.support.AutoIntervalBinParameters")],c),c.from=(0,o.dp)(c)},41266(e,t,n){n.d(t,{A:()=>h});var i=n(5482),r=n(69540),s=n(66552),o=n(25482),a=n(91429),l=n(56507),u=n(93223);const p=new s.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let c=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"outAlias",write:!0}})],c.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:String})],c.prototype,"responseType",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"value",void 0),(0,i.Cg)([(0,u.e)(p)],c.prototype,"valueType",void 0),c=(0,i.Cg)([(0,a.$K)("esri.rest.support.AttributeBinsGrouping")],c);const m=c;c.from=(0,l.dp)(c);const d=new s.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),y=new s.J({naturalLog:"natural-log",squareRoot:"square-root"});let h=class extends((0,r.OU)(o.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],h.prototype,"expression",void 0),(0,i.Cg)([(0,u.e)(d,{name:"onExpression.valueType"})],h.prototype,"expressionValueType",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"onField",write:!0}})],h.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],h.prototype,"firstDayOfWeek",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"hideUpperBound",void 0),(0,i.Cg)([(0,a.MZ)({type:m,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],h.prototype,"splitBy",void 0),(0,i.Cg)([(0,a.MZ)({type:m,json:{write:{target:{stackBy:{type:m},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>m.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],h.prototype,"stackBy",void 0),(0,i.Cg)([(0,u.e)(y)],h.prototype,"transformation",void 0),h=(0,i.Cg)([(0,a.$K)("esri.rest.support.BinParametersBase")],h)},59977(e,t,n){n.d(t,{A:()=>f});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(69540),u=n(25482),p=n(57231),c=n(93223);let m=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"number",write:!0}})],m.prototype,"value",void 0),(0,i.Cg)([(0,c.e)(p.g)],m.prototype,"unit",void 0),m=(0,i.Cg)([(0,s.$K)("esri.rest.support.DateBinTimeInterval")],m);const d=m;function y(e,t,n){(0,r.sM)(n,"string"==typeof e?e:e?.getTime(),t)}function h(e,t){const n=e.parameters[t];return n?"string"==typeof n?n:new Date(n):null}m.from=(0,o.dp)(m);let f=class extends a.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,i.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.end",read:{reader:(e,t)=>h(t,"end")},write:{writer:y}}})],f.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({type:d,json:{name:"parameters",write:!0}})],f.prototype,"interval",void 0),(0,i.Cg)([(0,s.MZ)({type:d,json:{name:"parameters.offset",write:!0}})],f.prototype,"offset",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],f.prototype,"returnFullIntervalBin",void 0),(0,i.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.start",read:{reader:(e,t)=>h(t,"start")},write:{writer:y}}})],f.prototype,"start",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],f.prototype,"snapToData",void 0),(0,i.Cg)([(0,c.e)({dateBin:"date"},{readOnly:!0})],f.prototype,"type",void 0),f=(0,i.Cg)([(0,s.$K)("esri.rest.support.DateBinParameters")],f),f.from=(0,o.dp)(f)},57231(e,t,n){const i=(0,n(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"});n.d(t,["g",0,i])},11440(e,t,n){n.d(t,{A:()=>u});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(93223);let u=class extends a.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,n){(0,r.sM)(n,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,i.Cg)([(0,l.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,s.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,o.dp)(u)},60909(e,t,n){n.d(t,{A:()=>c});var i=n(5482),r=n(93637),s=n(91429),o=n(56507),a=n(41266),l=n(41366),u=n(93223);function p(e,t,n){(0,r.sM)(n,e instanceof Date?e.getTime():e,t)}let c=class extends((0,l.K)(a.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:p}}})],c.prototype,"end",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],c.prototype,"interval",void 0),(0,i.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:p}}})],c.prototype,"start",void 0),(0,i.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],c.prototype,"type",void 0),c=(0,i.Cg)([(0,s.$K)("esri.rest.support.FixedIntervalBinParameters")],c),c.from=(0,o.dp)(c)}}]);