@arcgis/core 4.23.0-next.20220127 → 4.23.0-next.20220131

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 (404) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/0463ba46df855a92b9c0.js +1 -0
  3. package/assets/esri/core/workers/chunks/{8001b0e514bfffe9d7f8.js → 0c15d77d8e817cf45a9a.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{e657ba0cab29f05d02da.js → 0cd0a6eef51fc5b9ea61.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{e4896cf85fb2da8a9cc7.js → 17de7a324dfa7f57ad5d.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{c36f84daa7736878418d.js → 197ec52641aed20029c6.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{0317f37b6c8705b363fd.js → 1c733b7db092a2a88ef3.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{9387db408f496e7dd003.js → 214910032945dd2d86b0.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{d835b2a683fcd8aeeed8.js → 27474b007988855bea9d.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{e93dfdede0532a89ffa5.js → 2b25fc7945a187c2bb9d.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{5948923e07bd1662c24a.js → 37c03cfc19086ce631c6.js} +1 -1
  12. package/assets/esri/core/workers/chunks/44f0c3663b293afbd172.js +1 -0
  13. package/assets/esri/core/workers/chunks/483d5d8593d96d0f0b15.js +1 -0
  14. package/assets/esri/core/workers/chunks/49a1a633bb0d93764aae.js +1 -0
  15. package/assets/esri/core/workers/chunks/{5f1dcb6556820cd0aa31.js → 4be35af7d6babbfe9d84.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{f9ff3eaf4eb324429fbd.js → 5457962a70bd3c557a75.js} +1 -1
  17. package/assets/esri/core/workers/chunks/56657f890e0f79f5d2ad.js +1 -0
  18. package/assets/esri/core/workers/chunks/57856b4a9b8784a69844.js +1 -0
  19. package/assets/esri/core/workers/chunks/{56274b37ff74ca0d68a6.js → 5d11b97b667921d67ae7.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{ba5eb394f098968c22d2.js → 655b55ac0cd533d7e9d7.js} +1 -1
  21. package/assets/esri/core/workers/chunks/70d6bb3c7112cb702389.js +1 -0
  22. package/assets/esri/core/workers/chunks/810a763373d7f78ae398.js +1 -0
  23. package/assets/esri/core/workers/chunks/918bb7a7d901544a7367.js +1 -0
  24. package/assets/esri/core/workers/chunks/949b2269457302ffc64b.js +1 -0
  25. package/assets/esri/core/workers/chunks/{601e697dc7414bda128a.js → 952980635afc7ec81804.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{e8741bf421f80213f1d3.js → 9876a1bae350795fab36.js} +1 -1
  27. package/assets/esri/core/workers/chunks/99619fcb772807c74f3b.js +1 -0
  28. package/assets/esri/core/workers/chunks/{3f343f792fd9f44d6f25.js → b3f5e91116112b0b612a.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{9d77467aa71d345fc1b6.js → bcc01bbffaa3bb5f60a8.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{4c76146014dc15143ba3.js → be588873c16770ceb9ef.js} +1 -1
  31. package/assets/esri/core/workers/chunks/d1fe53b597351dc58305.js +1 -0
  32. package/assets/esri/core/workers/chunks/d98dab12b71912fa397b.js +1 -0
  33. package/assets/esri/core/workers/chunks/{b62e3dccd9f662c0afeb.js → db3c729ce0c0b2690dc9.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{199670a3a564ebe3bd79.js → e218bde41ffbcc5194f5.js} +1 -1
  35. package/assets/esri/core/workers/chunks/e21b211913aefde47e30.js +1 -0
  36. package/assets/esri/core/workers/chunks/{c9cbf8135e95f0f42cd9.js → e287f49184d076af17e2.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{bde1d5b0a7717350986e.js → e4019b63a1fe74e2c842.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{6e6a3c5866e8d8820457.js → eb82ff10cef2bde6e57f.js} +1 -1
  39. package/assets/esri/core/workers/chunks/ebc6f4764b82d4104c65.js +1 -0
  40. package/assets/esri/core/workers/chunks/{842db82733635dbf25cb.js → ee6e0db58dc64410e687.js} +1 -1
  41. package/assets/esri/core/workers/chunks/f0a9f161805fc7a30fc5.js +1 -0
  42. package/assets/esri/core/workers/chunks/f7150547d7e3259a0f29.js +981 -0
  43. package/assets/esri/core/workers/chunks/fc046a15466c25d081ff.js +1 -0
  44. package/assets/esri/images/portal/mediaservice16.png +0 -0
  45. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  46. package/assets/esri/widgets/Directions/t9n/Directions.json +1 -1
  47. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  48. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  49. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  50. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  51. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  52. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  53. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  54. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  55. package/assets/esri/widgets/Directions/t9n/Directions_en.json +1 -1
  56. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  57. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  58. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  59. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  60. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  61. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  62. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  63. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  64. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  65. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  66. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  67. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  68. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  69. package/assets/esri/widgets/Directions/t9n/Directions_nb.json +1 -1
  70. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  71. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  72. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  73. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  74. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  75. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  76. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  77. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  78. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  79. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  80. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  81. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  82. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  83. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  84. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  85. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  86. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  87. package/chunks/BlendLayers.glsl.js +2 -2
  88. package/chunks/ChapmanAtmosphere.glsl.js +17 -17
  89. package/chunks/CheckerBoard.glsl.js +3 -3
  90. package/chunks/Clouds.glsl.js +2 -2
  91. package/chunks/CloudsComposition.glsl.js +1 -1
  92. package/chunks/ColorMaterial.glsl.js +12 -12
  93. package/chunks/ComponentShader.glsl.js +3 -3
  94. package/chunks/Compositing.glsl.js +1 -1
  95. package/chunks/DefaultMaterial.glsl.js +33 -33
  96. package/chunks/EdgeShaderProgram.glsl.js +7 -7
  97. package/chunks/Fog.glsl.js +10 -12
  98. package/chunks/HUDMaterial.glsl.js +2 -2
  99. package/chunks/HighlightComposition.glsl.js +5 -5
  100. package/chunks/ImageMaterial.glsl.js +6 -6
  101. package/chunks/LaserlinePath.glsl.js +8 -8
  102. package/chunks/LineCallout.glsl.js +6 -6
  103. package/chunks/MeasurementArrow.glsl.js +1 -1
  104. package/chunks/NativeLine.glsl.js +1 -1
  105. package/chunks/Path.glsl.js +5 -5
  106. package/chunks/Pattern.glsl.js +9 -9
  107. package/chunks/PointRenderer.glsl.js +14 -14
  108. package/chunks/Precipitation.glsl.js +2 -2
  109. package/chunks/RealisticTree.glsl.js +21 -21
  110. package/chunks/RibbonLine.glsl.js +11 -11
  111. package/chunks/SMAA.glsl.js +40 -40
  112. package/chunks/ShadedColorMaterial.glsl.js +12 -12
  113. package/chunks/ShadowCast.glsl.js +6 -6
  114. package/chunks/ShadowHighlight.glsl.js +4 -4
  115. package/chunks/SimpleAtmosphere.glsl.js +3 -3
  116. package/chunks/SlicePlaneMaterial.glsl.js +3 -3
  117. package/chunks/Stars.glsl.js +3 -3
  118. package/chunks/Terrain.glsl.js +11 -11
  119. package/chunks/TextureOnly.glsl.js +2 -2
  120. package/chunks/WaterSurface.glsl.js +5 -5
  121. package/chunks/boundedPlane.js +1 -1
  122. package/core/accessorSupport/watch.js +1 -1
  123. package/core/loadAll.js +1 -1
  124. package/geometry/support/frustum.js +1 -1
  125. package/geometry/support/plane.js +1 -1
  126. package/interfaces.d.ts +653 -55
  127. package/layers/RouteLayer.d.ts +4 -0
  128. package/layers/RouteLayer.js +1 -1
  129. package/layers/VectorTileLayer.js +1 -1
  130. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  131. package/layers/graphics/featureConversionUtils.js +1 -1
  132. package/layers/support/LayerContingentValuesCache.js +1 -1
  133. package/layers/support/TileInfo.js +1 -1
  134. package/package.json +1 -1
  135. package/portal/PortalItem.js +1 -1
  136. package/rest/support/DirectionLine.d.ts +4 -0
  137. package/rest/support/DirectionPoint.d.ts +4 -0
  138. package/rest/support/RouteInfo.d.ts +4 -0
  139. package/rest/support/RouteInfo.js +1 -1
  140. package/rest/support/RouteSolveResult.d.ts +4 -0
  141. package/smartMapping/statistics/support/predominanceUtils.d.ts +4 -0
  142. package/support/revision.js +1 -1
  143. package/symbols/FillSymbol3DLayer.js +1 -1
  144. package/symbols/IconSymbol3DLayer.js +1 -1
  145. package/symbols/ObjectSymbol3DLayer.js +1 -1
  146. package/symbols/Symbol3D.js +1 -1
  147. package/symbols/WebStyleSymbol.js +1 -1
  148. package/symbols/cim/CIMSymbolRasterizer.js +1 -1
  149. package/symbols/support/IconSymbol3DLayerResource.js +1 -1
  150. package/symbols/support/ObjectSymbol3DLayerResource.js +1 -1
  151. package/symbols/support/Symbol3DAnchorPosition2D.js +1 -1
  152. package/symbols/support/Symbol3DAnchorPosition3D.js +1 -1
  153. package/symbols/support/Symbol3DFillMaterial.js +1 -1
  154. package/symbols/support/Symbol3DIconOutline.js +1 -1
  155. package/symbols/support/Symbol3DOutline.js +1 -1
  156. package/symbols/support/Thumbnail.js +1 -1
  157. package/symbols/support/webStyleSymbolUtils.js +1 -1
  158. package/views/2d/engine/vectorTiles/SchemaHelper.js +1 -1
  159. package/views/2d/layers/RouteLayerView2D.js +1 -1
  160. package/views/3d/environment/ChapmanAtmosphere.glsl.js +1 -1
  161. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  162. package/views/3d/environment/CloudsComposition.glsl.js +1 -1
  163. package/views/3d/environment/CloudsComposition.js +1 -1
  164. package/views/3d/environment/CloudsGenerator.js +1 -1
  165. package/views/3d/environment/Fog.glsl.js +1 -1
  166. package/views/3d/environment/Fog.js +1 -1
  167. package/views/3d/environment/NoiseTextureAtlas.js +1 -1
  168. package/views/3d/environment/PanoramicAtmosphere.js +1 -1
  169. package/views/3d/environment/Precipitation.glsl.js +1 -1
  170. package/views/3d/environment/Precipitation.js +1 -1
  171. package/views/3d/environment/PrecipitationTechnique.js +1 -1
  172. package/views/3d/environment/SimpleAtmosphere.glsl.js +1 -1
  173. package/views/3d/environment/SimpleAtmosphere.js +1 -1
  174. package/views/3d/environment/Stars.glsl.js +1 -1
  175. package/views/3d/environment/Stars.js +1 -1
  176. package/views/3d/interactive/analysisTools/slice/sliceToolUtils.js +1 -1
  177. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  178. package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
  179. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  180. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  181. package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
  182. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  183. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  184. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  185. package/views/3d/layers/I3SMeshView3D.js +1 -1
  186. package/views/3d/layers/VectorTileLayerView3D.js +1 -1
  187. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  188. package/views/3d/layers/graphics/ElevationAligners.js +1 -1
  189. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  190. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
  191. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  192. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  193. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  194. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  195. package/views/3d/layers/graphics/graphicUtils.js +1 -1
  196. package/views/3d/layers/graphics/lineUtils.js +1 -1
  197. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  198. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  199. package/views/3d/layers/graphics/symbolComplexity.js +1 -1
  200. package/views/3d/layers/i3s/I3SBinaryReader.js +1 -1
  201. package/views/3d/layers/i3s/I3SCrossfadeHelper.js +1 -1
  202. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  203. package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
  204. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  205. package/views/3d/layers/i3s/PointRenderer.js +1 -1
  206. package/views/3d/layers/support/HeatmapFeatureProcessor.js +5 -0
  207. package/views/3d/layers/support/overlayImageUtils.js +1 -1
  208. package/views/3d/layers/support/patternUtils.js +1 -1
  209. package/views/3d/state/controllers/local/PinchAndPanController.js +1 -1
  210. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  211. package/views/3d/support/LaserLineRenderer.js +1 -1
  212. package/views/3d/support/LaserlinePathData.js +1 -1
  213. package/views/3d/terrain/OverlayRenderer.js +1 -1
  214. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  215. package/views/3d/terrain/TerrainRenderer.js +1 -1
  216. package/views/3d/terrain/TerrainSurface.js +1 -1
  217. package/views/3d/terrain/Tile.js +1 -1
  218. package/views/3d/terrain/TileRenderer.js +1 -1
  219. package/views/3d/terrain/terrainUtils.js +1 -1
  220. package/views/3d/terrain/tileUtils.js +1 -1
  221. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  222. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  223. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  224. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentData.glsl.js +10 -10
  225. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +1 -1
  226. package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
  227. package/views/3d/webgl-engine/core/renderPasses/AllRenderPasses.js +1 -1
  228. package/views/3d/webgl-engine/core/renderPasses/RenderPass.js +1 -1
  229. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  230. package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js +2 -2
  231. package/views/3d/webgl-engine/core/shaderLibrary/ScreenSizeScaling.glsl.js +2 -2
  232. package/views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.js +2 -2
  233. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js +2 -2
  234. package/views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js +4 -4
  235. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +1 -1
  236. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PositionAttribute.glsl.js +1 -1
  237. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +1 -1
  238. package/views/3d/webgl-engine/core/shaderLibrary/attributes/SymbolColor.glsl.js +1 -1
  239. package/views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js +3 -3
  240. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js +1 -1
  241. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +6 -6
  242. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +12 -12
  243. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexTextureCoordinates.glsl.js +4 -4
  244. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js +1 -1
  245. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +16 -16
  246. package/views/3d/webgl-engine/core/shaderLibrary/default/RealisticTree.glsl.js +1 -1
  247. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +5 -5
  248. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUDOcclusionPass.glsl.js +3 -3
  249. package/views/3d/webgl-engine/core/shaderLibrary/raster/BasicGrid.glsl.js +2 -2
  250. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeMaterialColor.glsl.js +6 -6
  251. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +2 -2
  252. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeShadingNormal.glsl.js +10 -11
  253. package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +2 -2
  254. package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassGeometryTest.glsl.js +2 -2
  255. package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassTerrainTest.glsl.js +2 -2
  256. package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +6 -6
  257. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +4 -4
  258. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +6 -6
  259. package/views/3d/webgl-engine/core/shaderLibrary/shading/Reprojection.glsl.js +4 -4
  260. package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +5 -5
  261. package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +1 -1
  262. package/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +10 -10
  263. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Terrain.glsl.js +1 -1
  264. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +1 -1
  265. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +4 -4
  266. package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
  267. package/views/3d/webgl-engine/lib/Camera.js +1 -1
  268. package/views/3d/webgl-engine/lib/CompositingHelper.js +1 -1
  269. package/views/3d/webgl-engine/lib/DefaultVertexAttributeLocations.js +1 -1
  270. package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
  271. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  272. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  273. package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
  274. package/views/3d/webgl-engine/lib/HighlightHelper.js +1 -1
  275. package/views/3d/webgl-engine/lib/MagnifierHelper.js +1 -1
  276. package/views/3d/webgl-engine/lib/Material.js +1 -1
  277. package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
  278. package/views/3d/webgl-engine/lib/RenderingContext.js +1 -1
  279. package/views/3d/webgl-engine/lib/SSAOHelper.js +1 -1
  280. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  281. package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
  282. package/views/3d/webgl-engine/lib/ShadowHighlightHelper.js +1 -1
  283. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  284. package/views/3d/webgl-engine/lib/SmaaRenderPass.js +1 -1
  285. package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
  286. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  287. package/views/3d/webgl-engine/lib/TextureUniformName.js +4 -0
  288. package/views/3d/webgl-engine/lib/UniformName.js +4 -0
  289. package/views/3d/webgl-engine/lib/VertexAttribute.js +5 -0
  290. package/views/3d/webgl-engine/lib/basicInterfaces.js +1 -1
  291. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  292. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  293. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
  294. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  295. package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
  296. package/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +1 -1
  297. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  298. package/views/3d/webgl-engine/lib/lodRendering/RenderInstanceData.js +1 -1
  299. package/views/3d/webgl-engine/lib/pathGeometryUtils.js +1 -1
  300. package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
  301. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  302. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  303. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  304. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  305. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  306. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  307. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  308. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  309. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  310. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  311. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  312. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  313. package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
  314. package/views/3d/webgl-engine/materials/VisualVariableMaterialParameters.js +1 -1
  315. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  316. package/views/3d/webgl-engine/materials/internal/DefaultBufferWriter.js +1 -1
  317. package/views/3d/webgl-engine/materials/internal/MaterialUtil.js +1 -1
  318. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  319. package/views/3d/webgl-engine/materials/internal/waterMaterialUtils.js +1 -1
  320. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  321. package/views/3d/webgl-engine/shaders/CheckerBoard.glsl.js +1 -1
  322. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  323. package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
  324. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  325. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  326. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  327. package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
  328. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  329. package/views/3d/webgl-engine/shaders/HighlightComposition.glsl.js +1 -1
  330. package/views/3d/webgl-engine/shaders/HighlightTechnique.js +1 -1
  331. package/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +1 -1
  332. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  333. package/views/3d/webgl-engine/shaders/LaserlinePath.glsl.js +1 -1
  334. package/views/3d/webgl-engine/shaders/LaserlinePathTechnique.js +1 -1
  335. package/views/3d/webgl-engine/shaders/LineCallout.glsl.js +1 -1
  336. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  337. package/views/3d/webgl-engine/shaders/Magnifier.glsl.js +1 -1
  338. package/views/3d/webgl-engine/shaders/MeasurementArrow.glsl.js +1 -1
  339. package/views/3d/webgl-engine/shaders/NativeLine.glsl.js +1 -1
  340. package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
  341. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  342. package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
  343. package/views/3d/webgl-engine/shaders/RealisticTreeTechnique.js +1 -1
  344. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  345. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  346. package/views/3d/webgl-engine/shaders/SMAA.glsl.js +1 -1
  347. package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +1 -1
  348. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
  349. package/views/3d/webgl-engine/shaders/ShadowCastTechnique.js +1 -1
  350. package/views/3d/webgl-engine/shaders/ShadowHighlightTechnique.js +1 -1
  351. package/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +1 -1
  352. package/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +1 -1
  353. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/AdjustProjectedPosition.glsl.js +10 -10
  354. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/DiscardShortEdges.glsl.js +1 -1
  355. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeShaderProgram.glsl.js +1 -1
  356. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeUtil.glsl.js +21 -21
  357. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineAmplitude.glsl.js +6 -6
  358. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineOffset.glsl.js +13 -13
  359. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/UnpackAttributes.glsl.js +6 -6
  360. package/views/SceneView.js +1 -1
  361. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  362. package/views/support/WatchUpdatingTracking.js +1 -1
  363. package/views/webgl/BufferObject.js +1 -1
  364. package/views/webgl/InstanceCounter.js +1 -1
  365. package/views/webgl/Program.js +1 -1
  366. package/webdoc/support/{Thumbnail.js → SlideThumbnail.js} +1 -1
  367. package/webmap/Bookmark.js +1 -1
  368. package/webmap/Version.js +1 -1
  369. package/webscene/Slide.js +1 -1
  370. package/webscene/Version.js +1 -1
  371. package/webscene/support/SlideVisibleLayer.js +1 -1
  372. package/widgets/BasemapGallery/support/basemapCompatibilityUtils.js +1 -1
  373. package/widgets/Bookmarks/BookmarksViewModel.js +1 -1
  374. package/widgets/Bookmarks.js +1 -1
  375. package/widgets/Directions/DirectionsViewModel.js +1 -1
  376. package/widgets/Directions/support/directionsUtils.js +1 -1
  377. package/widgets/Directions/support/resources.js +1 -1
  378. package/widgets/Directions.js +1 -1
  379. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.js +1 -1
  380. package/widgets/Search/support/locatorUtils.js +1 -1
  381. package/widgets/Search.js +1 -1
  382. package/widgets/TimeSlider.js +1 -1
  383. package/assets/esri/core/workers/chunks/12c0cabb6c59e65d8546.js +0 -1
  384. package/assets/esri/core/workers/chunks/322d917e8cb398816a93.js +0 -1
  385. package/assets/esri/core/workers/chunks/392b6382e06652dd4c80.js +0 -1
  386. package/assets/esri/core/workers/chunks/3aa73119b055e05bbbeb.js +0 -1
  387. package/assets/esri/core/workers/chunks/52ea678ba1da0e349919.js +0 -1
  388. package/assets/esri/core/workers/chunks/5ee497d5d7b0e580526a.js +0 -1
  389. package/assets/esri/core/workers/chunks/663ad15b86936eb06b69.js +0 -1
  390. package/assets/esri/core/workers/chunks/83b8fec1650e061aaa56.js +0 -1
  391. package/assets/esri/core/workers/chunks/9796d54ff12b6429164a.js +0 -1
  392. package/assets/esri/core/workers/chunks/c093dff4592832ac0973.js +0 -1
  393. package/assets/esri/core/workers/chunks/d07440469fe7d181c4fd.js +0 -1
  394. package/assets/esri/core/workers/chunks/dbf192b4ce7e608610f6.js +0 -1
  395. package/assets/esri/core/workers/chunks/de6cff7b6cbbf99b20d1.js +0 -981
  396. package/assets/esri/core/workers/chunks/dee9929d95e9fe26929c.js +0 -1
  397. package/assets/esri/core/workers/chunks/e12d91ef44d6f879a02a.js +0 -1
  398. package/assets/esri/core/workers/chunks/e59764ee8cf25d4f74e2.js +0 -1
  399. package/assets/esri/core/workers/chunks/fc7e31d87555beb63291.js +0 -1
  400. package/assets/esri/core/workers/chunks/fff6b0338f06dad0c45d.js +0 -1
  401. package/widgets/Directions/support/CostSummary.js +0 -5
  402. package/widgets/Directions/support/RouteSection.js +0 -5
  403. package/widgets/Directions/support/RouteSections.js +0 -5
  404. package/widgets/Directions/support/maneuverUtils.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7319],{6352:(t,e,o)=>{o.d(e,{a:()=>d});var r,i=o(43697),s=o(22303),l=o(96674),n=o(22974),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=r=class extends l.wq{constructor(){super(...arguments),this.color=new s.Z("white")}clone(){return new r({color:(0,n.d9)(this.color)})}};(0,i._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),h=r=(0,i._)([(0,p.j)("esri.symbols.callouts.LineCallout3DBorder")],h);const d=h;Object.freeze({__proto__:null,get LineCallout3DBorder(){return h},default:d})},10699:(t,e,o)=>{o.d(e,{I:()=>l});var r=o(43697),i=o(52011);let s=0;const l=t=>{let e=class extends t{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return e=(0,r._)([(0,i.j)("esri.core.Identifiable")],e),e};let n=class extends(l(class{})){};n=(0,r._)([(0,i.j)("esri.core.Identifiable")],n)},70921:(t,e,o)=>{o.d(e,{R:()=>s,Z:()=>i});var r=o(80539);function i(t,e,o=r.Z){return e||(e=new o),e===t||(e.removeAll(),(i=t)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?e.addMany(t):t&&e.add(t)),e;var i}function s(t){return t}},78223:(t,e,o)=>{o.d(e,{se:()=>I,cT:()=>P,dU:()=>A,S9:()=>W,LB:()=>J,AH:()=>T,yK:()=>U,S6:()=>H,QT:()=>q,f_:()=>F});var r,i=o(75215),s=o(63213),l=o(17386),n=(o(38445),o(21218)),a=o(95191),p=(o(31134),o(50575),o(20825)),y=o(98587),h=(o(67129),o(40908),o(43697)),d=o(80539),c=o(22974),u=o(5600),b=o(36030),m=o(52011),w=o(87223);const v=d.Z.ofType({base:null,key:"type",typeMap:{fill:a.Z}});let f=r=class extends w.Z{constructor(t){super(t),this.symbolLayers=new v,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,c.d9)(this.styleOrigin),symbolLayers:(0,c.d9)(this.symbolLayers),thumbnail:(0,c.d9)(this.thumbnail)})}};(0,h._)([(0,u.Cb)({type:v})],f.prototype,"symbolLayers",void 0),(0,h._)([(0,b.J)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=r=(0,h._)([(0,m.j)("esri.symbols.MeshSymbol3D")],f);const g=f;o(17143),o(96742);var _,C=o(62357),S=o(94075);let Z=_=class extends n.Z{constructor(...t){super(...t),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t&&null==t.imageData)return t;const i={};return t&&(i.url=t),e&&(i.outline=e),null!=o&&(i.width=(0,C.t_)(o)),null!=r&&(i.height=(0,C.t_)(r)),i}clone(){const t=new _({color:(0,c.d9)(this.color),height:this.height,outline:this.outline&&this.outline.clone(),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return t._set("source",(0,c.d9)(this.source)),t}hash(){var t;return`${super.hash()}.${null==(t=this.color)?void 0:t.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,h._)([(0,b.J)({esriPFS:"picture-fill"},{readOnly:!0})],Z.prototype,"type",void 0),(0,h._)([(0,u.Cb)(S.KA)],Z.prototype,"url",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],Z.prototype,"xscale",void 0),(0,h._)([(0,u.Cb)({type:Number,json:{write:!0}})],Z.prototype,"yscale",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"width",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"height",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"xoffset",void 0),(0,h._)([(0,u.Cb)({type:Number,cast:C.t_,json:{write:!0}})],Z.prototype,"yoffset",void 0),(0,h._)([(0,u.Cb)(S.Ds)],Z.prototype,"source",void 0),Z=_=(0,h._)([(0,m.j)("esri.symbols.PictureFillSymbol")],Z);const j=Z;var x=o(37898),L=o(42143),z=o(86114),D=o(20256),O=o(4095),k=o(77987),N=o(89164),M=(o(95868),o(78724)),$=(o(78757),o(44398),o(59390));function P(t){if(!t)return!1;switch(t.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function A(t){if(!t)return!1;switch(t.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}o(69496),o(6352);const J={base:N.Z,key:"type",typeMap:{"simple-fill":D.Z,"picture-fill":j,"picture-marker":x.Z,"simple-line":O.Z,"simple-marker":k.Z,text:M.Z,"label-3d":p.Z,"line-3d":y.Z,"mesh-3d":g,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"},T={base:N.Z,key:"type",typeMap:{"picture-marker":x.Z,"simple-marker":k.Z,text:M.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"},W=(0,s.d)({types:J}),q={base:N.Z,key:"type",typeMap:{"simple-fill":D.Z,"picture-fill":j,"picture-marker":x.Z,"simple-line":O.Z,"simple-marker":k.Z,text:M.Z,"line-3d":y.Z,"mesh-3d":g,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"},U={base:N.Z,key:"type",typeMap:{text:M.Z,"label-3d":p.Z},errorContext:"symbol"},F=(N.Z,p.Z,y.Z,L.Z,z.Z,$.Z,{base:N.Z,key:"type",typeMap:{"line-3d":y.Z,"mesh-3d":g,"point-3d":L.Z,"polygon-3d":z.Z,"web-style":$.Z,cim:l.Z},errorContext:"symbol"}),H={base:N.Z,key:"type",typeMap:{"label-3d":p.Z},errorContext:"symbol"},I=(0,i.N7)(J)},17386:(t,e,o)=>{o.d(e,{Z:()=>b});var r,i=o(43697),s=o(22974),l=o(19153),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(30556),d=o(35671),c=o(89164);let u=r=class extends c.Z{constructor(t){super(t),this.data=null,this.type="cim"}readData(t,e){return e}writeData(t,e){if(t)for(const o in t)e[o]=t[o]}async collectRequiredFields(t,e){if("CIMSymbolReference"===this.data.type){const o=this.data.primitiveOverrides;if(o){const r=o.map((o=>{const r=o.valueExpressionInfo;return(0,d.io)(t,e,r.expression)}));await Promise.all(r)}}}clone(){return new r({data:(0,s.d9)(this.data)})}hash(){return(0,l.hP)(JSON.stringify(this.data)).toString()}};(0,i._)([(0,n.Cb)({json:{write:!1}})],u.prototype,"color",void 0),(0,i._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"data",void 0),(0,i._)([(0,p.r)("data",["symbol"])],u.prototype,"readData",null),(0,i._)([(0,h.c)("data",{})],u.prototype,"writeData",null),(0,i._)([(0,a.J)({CIMSymbolReference:"cim"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,i._)([(0,y.j)("esri.symbols.CIMSymbol")],u);const b=u},38445:(t,e,o)=>{o.d(e,{Z:()=>c});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(52879);let d=r=class extends p.Z{constructor(t){super(t),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};(0,i._)([(0,n.J)({Extrude:"extrude"},{readOnly:!0})],d.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],d.prototype,"size",void 0),(0,i._)([(0,l.Cb)({type:h.b,json:{write:!0}})],d.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)(y.Z)],d.prototype,"edges",void 0),d=r=(0,i._)([(0,a.j)("esri.symbols.ExtrudeSymbol3DLayer")],d);const c=d},21218:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(5600),s=(o(67676),o(80442),o(75215),o(52011)),l=o(4095),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline&&this.outline.hash()}`}};(0,r._)([(0,i.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":l.Z}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,r._)([(0,i.Cb)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,s.j)("esri.symbols.FillSymbol")],a);const p=a},95191:(t,e,o)=>{o.d(e,{Z:()=>L});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(56332),h=o(4618),d=o(74721),c=o(17495),u=o(50178),b=(o(92604),o(37697),o(52879));let m=r=class extends b.b{constructor(t){super(t),this.colorMixMode=null}clone(){const t={color:(0,s.pC)(this.color)?this.color.clone():null,colorMixMode:this.colorMixMode};return new r(t)}};(0,i._)([(0,n.J)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DFillMaterial")],m);var w,v=o(22303),f=o(96674),g=o(62357),_=o(37308),C=o(45119);let S=w=class extends f.wq{constructor(t){super(t),this.color=new v.Z([0,0,0,1]),this.size=(0,g.Wz)(1),this.pattern=null,this.patternCap="butt"}clone(){const t={color:(0,s.pC)(this.color)?this.color.clone():null,size:this.size,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null,patternCap:this.patternCap};return new w(t)}};(0,i._)([(0,l.Cb)(_.a)],S.prototype,"color",void 0),(0,i._)([(0,l.Cb)(_.y)],S.prototype,"size",void 0),(0,i._)([(0,l.Cb)(c.D)],S.prototype,"pattern",void 0),(0,i._)([(0,l.Cb)({type:C.Hc,json:{default:"butt",write:{overridePolicy(){return{enabled:(0,s.pC)(this.pattern)}}}}})],S.prototype,"patternCap",void 0),S=w=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DOutline")],S);const Z=S;var j;let x=j=class extends p.Z{constructor(t){super(t),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const t={edges:(0,s.pC)(this.edges)?this.edges.clone():null,enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null,castShadows:this.castShadows,outline:(0,s.pC)(this.outline)?this.outline.clone():null};return new j(t)}static fromSimpleFillSymbol(t){var e,o,r,i,s,l;const n=t.outline&&t.outline.style&&"inside-frame"!==t.outline.style&&"solid"!==t.outline.style?new h.Z({style:t.outline.style}):null,a={size:null!=(e=null==(o=t.outline)?void 0:o.width)?e:0,color:(null!=(r=null==(i=t.outline)?void 0:i.color)?r:u.ix).clone(),pattern:n};return n&&null!=(s=t.outline)&&s.cap&&(a.patternCap=t.outline.cap),new j({material:new m({color:(null!=(l=t.color)?l:u.l9).clone()}),pattern:t.style&&"solid"!==t.style?new d.Z({style:t.style}):null,outline:a})}};(0,i._)([(0,n.J)({Fill:"fill"},{readOnly:!0})],x.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:m,json:{write:!0}})],x.prototype,"material",void 0),(0,i._)([(0,l.Cb)(c.q)],x.prototype,"pattern",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],x.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)({type:Z,json:{write:!0}})],x.prototype,"outline",void 0),(0,i._)([(0,l.Cb)(y.Z)],x.prototype,"edges",void 0),x=j=(0,i._)([(0,a.j)("esri.symbols.FillSymbol3DLayer")],x);const L=x},31134:(t,e,o)=>{o.d(e,{Z:()=>d});var r,i=o(43697),s=o(96674),l=o(62357),n=o(5600),a=(o(67676),o(80442),o(90578)),p=o(52011),y=o(61565);let h=r=class extends s.wq{constructor(t){super(t),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(t){return(0,l.t_)(t)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i._)([(0,n.Cb)({type:y.uC,json:{default:"none",write:!0}})],h.prototype,"decoration",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"family",void 0),(0,i._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy:(t,e,o)=>({enabled:!o||!o.textSymbol3D})}}})],h.prototype,"size",void 0),(0,i._)([(0,a.p)("size")],h.prototype,"castSize",null),(0,i._)([(0,n.Cb)({type:y.hR,json:{default:"normal",write:!0}})],h.prototype,"style",void 0),(0,i._)([(0,n.Cb)({type:y.Xw,json:{default:"normal",write:!0}})],h.prototype,"weight",void 0),h=r=(0,i._)([(0,p.j)("esri.symbols.Font")],h);const d=h},50575:(t,e,o)=>{o.d(e,{Z:()=>T});var r,i=o(43697),s=o(92604),l=o(70586),n=o(17452),a=o(5600),p=(o(67676),o(80442),o(75215),o(36030)),y=o(52011),h=o(95868),d=o(50178),c=o(35454),u=o(96674),b=o(71715),m=o(30556),w=o(25929);const v=(0,c.w)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let f=r=class extends u.wq{constructor(t){super(t)}readHref(t,e,o){return t?(0,w.f)(t,o):e.dataURI}writeHref(t,e,o,r){t&&((0,n.HK)(t)?e.dataURI=t:(e.href=(0,w.t)(t,r),(0,n.YP)(e.href)&&(e.href=(0,n.Fv)(e.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i._)([(0,a.Cb)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],f.prototype,"href",void 0),(0,i._)([(0,b.r)("href")],f.prototype,"readHref",null),(0,i._)([(0,m.c)("href",{href:{type:String},dataURI:{type:String}})],f.prototype,"writeHref",null),(0,i._)([(0,p.J)(v)],f.prototype,"primitive",void 0),f=r=(0,i._)([(0,y.j)("esri.symbols.support.IconSymbol3DLayerResource")],f);const g=f;var _,C=o(37308),S=o(15923);let Z=_=class extends S.Z{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new _({x:this.x,y:this.y})}};(0,i._)([(0,a.Cb)({type:Number})],Z.prototype,"x",void 0),(0,i._)([(0,a.Cb)({type:Number})],Z.prototype,"y",void 0),Z=_=(0,i._)([(0,y.j)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);var j,x=o(22303),L=o(62357);let z=j=class extends u.wq{constructor(t){super(t),this.color=new x.Z([0,0,0,1]),this.size=(0,L.Wz)(1)}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null,size:this.size};return new j(t)}};(0,i._)([(0,a.Cb)(C.a)],z.prototype,"color",void 0),(0,i._)([(0,a.Cb)(C.y)],z.prototype,"size",void 0),z=j=(0,i._)([(0,y.j)("esri.symbols.support.Symbol3DIconOutline")],z);const D=z;var O,k=o(52879);const N=s.Z.getLogger("esri.symbols.IconSymbol3DLayer");let M=O=class extends h.Z{constructor(t){super(t),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=void 0,this.outline=void 0}clone(){return new O({anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),enabled:this.enabled,material:(0,l.pC)(this.material)?this.material.clone():null,outline:(0,l.pC)(this.outline)?this.outline.clone():null,resource:this.resource&&this.resource.clone(),size:this.size})}static fromSimpleMarkerSymbol(t){const e=t.color||d.ix,o=$(t),r=t.outline&&t.outline.width>0?{size:t.outline.width,color:(t.outline.color||d.ix).clone()}:null;return new O({size:t.size,resource:{primitive:J(t.style)},material:{color:e},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(t){const e=!t.color||(0,d.rx)(t.color)?d.ix:t.color,o=$(t);return new O({size:t.width<=t.height?t.height:t.width,resource:{href:t.url},material:{color:e.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(t){return new O({resource:{href:(0,n._l)({mediaType:"application/json",data:JSON.stringify(t.data)})}})}};function $(t){const e="width"in t?t.width:t.size,o="height"in t?t.height:t.size,r=P(t.xoffset),i=P(t.yoffset);return(r||i)&&e&&o?{x:-r/e,y:i/o}:null}function P(t){return isFinite(t)?t:0}(0,i._)([(0,a.Cb)({type:k.b,json:{write:!0}})],M.prototype,"material",void 0),(0,i._)([(0,a.Cb)({type:g,json:{write:!0}})],M.prototype,"resource",void 0),(0,i._)([(0,p.J)({Icon:"icon"},{readOnly:!0})],M.prototype,"type",void 0),(0,i._)([(0,a.Cb)(C.y)],M.prototype,"size",void 0),(0,i._)([(0,p.J)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"}),(0,a.Cb)({json:{default:"center"}})],M.prototype,"anchor",void 0),(0,i._)([(0,a.Cb)({type:Z,json:{type:[Number],read:{reader:t=>new Z({x:t[0],y:t[1]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],M.prototype,"anchorPosition",void 0),(0,i._)([(0,a.Cb)({type:D,json:{write:!0}})],M.prototype,"outline",void 0),M=O=(0,i._)([(0,y.j)("esri.symbols.IconSymbol3DLayer")],M);const A={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function J(t){return A[t]||(N.warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}const T=M},20825:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(87223),h=o(78757),d=o(84275),c=o(7413);const u=s.Z.ofType({base:null,key:"type",typeMap:{text:h.Z}});let b=r=class extends y.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new u,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,d.gv)(this)}hasVisibleVerticalOffset(){return(0,d.Uy)(this)}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail),callout:(0,l.d9)(this.callout),verticalOffset:(0,l.d9)(this.verticalOffset)})}static fromTextSymbol(t){return new r({symbolLayers:[h.Z.fromTextSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:c._,json:{write:!0}})],b.prototype,"verticalOffset",void 0),(0,i._)([(0,n.Cb)(d.Y2)],b.prototype,"callout",void 0),(0,i._)([(0,n.Cb)({json:{read:!1,write:!1}})],b.prototype,"styleOrigin",void 0),(0,i._)([(0,n.Cb)({type:u})],b.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({LabelSymbol3D:"label-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.LabelSymbol3D")],b);const m=b},98587:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(80539),l=o(22974),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(67129),h=o(96742),d=o(87223);const c=s.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}}),u=s.Z.ofType({base:null,key:"type",typeMap:{line:y.Z,path:h.Z}});let b=r=class extends d.Z{constructor(t){super(t),this.symbolLayers=new c,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleLineSymbol(t){return new r({symbolLayers:[y.Z.fromSimpleLineSymbol(t)]})}};(0,i._)([(0,n.Cb)({type:c,json:{type:u}})],b.prototype,"symbolLayers",void 0),(0,i._)([(0,a.J)({LineSymbol3D:"line-3d"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.LineSymbol3D")],b);const m=b},67129:(t,e,o)=>{o.d(e,{Z:()=>v});var r,i=o(43697),s=o(70586),l=o(62357),n=o(5600),a=(o(67676),o(80442),o(75215),o(36030)),p=o(52011),y=o(95868),h=o(4618),d=o(17495),c=o(50178),u=o(37308),b=o(52879),m=o(45119);let w=r=class extends y.Z{constructor(t){super(t),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,l.Wz)(1),this.pattern=null}clone(){const t={enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:(0,s.pC)(this.pattern)?this.pattern.clone():null};return new r(t)}static fromSimpleLineSymbol(t){var e;const o={enabled:!0,size:null!=(e=t.width)?e:(0,l.Wz)(1),cap:t.cap||"butt",join:t.join||"miter",pattern:t.style&&"inside-frame"!==t.style?new h.Z({style:t.style}):null,material:new b.b({color:(t.color||c.ix).clone()})};return new r(o)}};(0,i._)([(0,n.Cb)({type:b.b,json:{write:!0}})],w.prototype,"material",void 0),(0,i._)([(0,a.J)({Line:"line"},{readOnly:!0})],w.prototype,"type",void 0),(0,i._)([(0,n.Cb)({type:m.w2,json:{write:!0,default:"miter"}})],w.prototype,"join",void 0),(0,i._)([(0,n.Cb)({type:m.Hc,json:{write:!0,default:"butt"}})],w.prototype,"cap",void 0),(0,i._)([(0,n.Cb)(u.y)],w.prototype,"size",void 0),(0,i._)([(0,n.Cb)(d.D)],w.prototype,"pattern",void 0),w=r=(0,i._)([(0,p.j)("esri.symbols.LineSymbol3DLayer")],w);const v=w},40908:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(62357),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(89164);let a=class extends n.Z{constructor(t){super(t),this.angle=0,this.type=null,this.xoffset=0,this.yoffset=0,this.size=9}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r._)([(0,s.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],a.prototype,"angle",void 0),(0,r._)([(0,s.Cb)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:i.t_,json:{write:!0}})],a.prototype,"xoffset",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:i.t_,json:{write:!0}})],a.prototype,"yoffset",void 0),(0,r._)([(0,s.Cb)({type:Number,cast:t=>"auto"===t?t:(0,i.t_)(t),json:{write:!0}})],a.prototype,"size",void 0),a=(0,r._)([(0,l.j)("esri.symbols.MarkerSymbol")],a);const p=a},17143:(t,e,o)=>{o.d(e,{Z:()=>C});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(95868),y=o(35454),h=o(96674),d=o(25929);const c=(0,y.w)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends h.wq{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i._)([(0,l.Cb)({type:String,json:{read:d.r,write:d.w}})],u.prototype,"href",void 0),(0,i._)([(0,n.J)(c)],u.prototype,"primitive",void 0),u=r=(0,i._)([(0,a.j)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const b=u;var m,w=o(15923);let v=m=class extends w.Z{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new m({x:this.x,y:this.y,z:this.z})}};(0,i._)([(0,l.Cb)({type:Number})],v.prototype,"x",void 0),(0,i._)([(0,l.Cb)({type:Number})],v.prototype,"y",void 0),(0,i._)([(0,l.Cb)({type:Number})],v.prototype,"z",void 0),v=m=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DAnchorPosition3D")],v);var f,g=o(52879);let _=f=class extends p.Z{constructor(t){super(t),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new f({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:(0,s.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,resource:this.resource&&this.resource.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i._)([(0,l.Cb)({type:g.b,json:{write:!0}})],_.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],_.prototype,"castShadows",void 0),(0,i._)([(0,l.Cb)({type:b,json:{write:!0}})],_.prototype,"resource",void 0),(0,i._)([(0,n.J)({Object:"object"},{readOnly:!0})],_.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"width",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"height",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"depth",void 0),(0,i._)([(0,n.J)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"}),(0,l.Cb)({json:{default:"origin"}})],_.prototype,"anchor",void 0),(0,i._)([(0,l.Cb)({type:v,json:{type:[Number],read:{reader:t=>new v({x:t[0],y:t[1],z:t[2]})},write:{writer:(t,e)=>{e.anchorPosition=[t.x,t.y,t.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],_.prototype,"anchorPosition",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"heading",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"tilt",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],_.prototype,"roll",void 0),(0,i._)([(0,l.Cb)({readOnly:!0})],_.prototype,"isPrimitive",null),_=f=(0,i._)([(0,a.j)("esri.symbols.ObjectSymbol3DLayer")],_);const C=_},96742:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(70586),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(71715),p=o(52011),y=o(95868),h=o(52879),d=o(45119);let c=r=class extends y.Z{constructor(t){super(t),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(t,e){return null!=t?t:null==e.height&&null!=e.size?e.size:void 0}readHeight(t,e){return null!=t?t:null==e.width&&null!=e.size?e.size:void 0}clone(){return new r({enabled:this.enabled,material:(0,s.pC)(this.material)?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,i._)([(0,l.Cb)({type:h.b,json:{write:!0}})],c.prototype,"material",void 0),(0,i._)([(0,l.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,i._)([(0,n.J)({Path:"path"},{readOnly:!0})],c.prototype,"type",void 0),(0,i._)([(0,l.Cb)({type:["circle","quad"],json:{write:!0,default:"circle"}})],c.prototype,"profile",void 0),(0,i._)([(0,l.Cb)({type:d.w2,json:{write:!0,default:"miter"}})],c.prototype,"join",void 0),(0,i._)([(0,l.Cb)({type:d.KW,json:{write:!0,default:"butt"}})],c.prototype,"cap",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],c.prototype,"width",void 0),(0,i._)([(0,a.r)("width",["width","size","height"])],c.prototype,"readWidth",null),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"height",void 0),(0,i._)([(0,a.r)("height",["height","size","width"])],c.prototype,"readHeight",null),(0,i._)([(0,l.Cb)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],c.prototype,"anchor",void 0),(0,i._)([(0,l.Cb)({type:["heading","all"],json:{write:!0,default:"all"}})],c.prototype,"profileRotation",void 0),c=r=(0,i._)([(0,p.j)("esri.symbols.PathSymbol3DLayer")],c);const u=c},37898:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(71715),y=o(52011),h=o(40908),d=o(94075);let c=r=class extends h.Z{constructor(...t){super(...t),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t&&null==t.imageData)return t;const r={};return t&&(r.url=t),null!=e&&(r.width=(0,l.t_)(e)),null!=o&&(r.height=(0,l.t_)(o)),r}readHeight(t,e){return e.size||t}readWidth(t,e){return e.size||t}clone(){const t=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return t._set("source",(0,s.d9)(this.source)),t}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"color",void 0),(0,i._)([(0,a.J)({esriPMS:"picture-marker"},{readOnly:!0})],c.prototype,"type",void 0),(0,i._)([(0,n.Cb)(d.KA)],c.prototype,"url",void 0),(0,i._)([(0,n.Cb)(d.Ds)],c.prototype,"source",void 0),(0,i._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],c.prototype,"height",void 0),(0,i._)([(0,p.r)("height",["height","size"])],c.prototype,"readHeight",null),(0,i._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],c.prototype,"width",void 0),(0,i._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"size",void 0),c=r=(0,i._)([(0,y.j)("esri.symbols.PictureMarkerSymbol")],c);const u=c},42143:(t,e,o)=>{o.d(e,{Z:()=>_});var r,i=o(43697),s=o(80539),l=o(20102),n=o(22974),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(30556),d=o(50575),c=o(17143),u=o(87223),b=o(78757),m=o(84275),w=o(7413);const v=s.Z.ofType({base:null,key:"type",typeMap:{icon:d.Z,object:c.Z,text:b.Z}}),f=s.Z.ofType({base:null,key:"type",typeMap:{icon:d.Z,object:c.Z}});let g=r=class extends u.Z{constructor(t){super(t),this.verticalOffset=null,this.callout=null,this.symbolLayers=new v,this.type="point-3d"}writeSymbolLayers(t,e,o,r){const i=t.filter((t=>"text"!==t.type));if(r&&r.messages&&i.length<t.length){const e=t.find((t=>"text"===t.type));r.messages.push(new l.Z("symbol-layer:unsupported","Symbol layers of type 'text' cannot be persisted in PointSymbol3D",{symbolLayer:e}))}e[o]=i.map((t=>t.write({},r))).toArray()}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const t of this.symbolLayers.items)switch(t.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,m.gv)(this)}hasVisibleVerticalOffset(){return(0,m.Uy)(this)}clone(){return new r({verticalOffset:(0,n.d9)(this.verticalOffset),callout:(0,n.d9)(this.callout),styleOrigin:(0,n.d9)(this.styleOrigin),symbolLayers:(0,n.d9)(this.symbolLayers),thumbnail:(0,n.d9)(this.thumbnail)})}static fromSimpleMarkerSymbol(t){return new r({symbolLayers:[d.Z.fromSimpleMarkerSymbol(t)]})}static fromPictureMarkerSymbol(t){return new r({symbolLayers:[d.Z.fromPictureMarkerSymbol(t)]})}static fromCIMSymbol(t){var e,o;return"CIMPointSymbol"!==(null==(e=t.data)||null==(o=e.symbol)?void 0:o.type)?null:t.data.symbol.callout?new r({symbolLayers:[d.Z.fromCIMSymbol(t)],callout:{type:"line",size:.5,color:[0,0,0]},verticalOffset:{screenLength:40}}):new r({symbolLayers:[d.Z.fromCIMSymbol(t)]})}static fromTextSymbol(t){return new r({symbolLayers:[b.Z.fromTextSymbol(t)]})}};(0,i._)([(0,a.Cb)({type:w._,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,i._)([(0,a.Cb)(m.Y2)],g.prototype,"callout",void 0),(0,i._)([(0,a.Cb)({type:v,json:{type:f,origins:{"web-scene":{type:f}}}})],g.prototype,"symbolLayers",void 0),(0,i._)([(0,h.c)("web-scene","symbolLayers")],g.prototype,"writeSymbolLayers",null),(0,i._)([(0,p.J)({PointSymbol3D:"point-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,i._)([(0,y.j)("esri.symbols.PointSymbol3D")],g);const _=g},86114:(t,e,o)=>{o.d(e,{Z:()=>Z});var r,i=o(43697),s=o(80539),l=o(20102),n=o(22974),a=o(70586),p=o(5600),y=(o(75215),o(36030)),h=o(52011),d=o(30556),c=o(38445),u=o(95191),b=o(50575),m=o(67129),w=o(17143),v=o(87223),f=o(78757),g=o(44398);const _=s.Z.ofType({base:null,key:"type",typeMap:{extrude:c.Z,fill:u.Z,icon:b.Z,line:m.Z,object:w.Z,text:f.Z,water:g.Z}}),C=s.Z.ofType({base:null,key:"type",typeMap:{extrude:c.Z,fill:u.Z,icon:b.Z,line:m.Z,object:w.Z,water:g.Z}});let S=r=class extends v.Z{constructor(t){super(t),this.symbolLayers=new _,this.type="polygon-3d"}writeSymbolLayers(t,e,o,r){const i=t.filter((t=>"text"!==t.type));if(r&&r.messages&&i.length<t.length){const e=t.find((t=>"text"===t.type));r.messages.push(new l.Z("symbol-layer:unsupported","Symbol layers of type 'text' cannot be persisted in PolygonSymbol3D",{symbolLayer:e}))}e[o]=i.map((t=>t.write({},r))).toArray()}clone(){return new r({styleOrigin:(0,n.d9)(this.styleOrigin),symbolLayers:(0,n.d9)(this.symbolLayers),thumbnail:(0,n.d9)(this.thumbnail)})}static fromJSON(t){const e=new r;if(e.read(t),2===e.symbolLayers.length&&"fill"===e.symbolLayers.getItemAt(0).type&&"line"===e.symbolLayers.getItemAt(1).type){const o=e.symbolLayers.getItemAt(0),r=e.symbolLayers.getItemAt(1);!r.enabled||t.symbolLayers&&t.symbolLayers[1]&&!1===t.symbolLayers[1].enable||(o.outline={size:r.size,color:(0,a.pC)(r.material)?r.material.color:null}),e.symbolLayers.removeAt(1)}return e}static fromSimpleFillSymbol(t){return new r({symbolLayers:[u.Z.fromSimpleFillSymbol(t)]})}};(0,i._)([(0,p.Cb)({type:_,json:{type:C}})],S.prototype,"symbolLayers",void 0),(0,i._)([(0,d.c)("web-scene","symbolLayers")],S.prototype,"writeSymbolLayers",null),(0,i._)([(0,y.J)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],S.prototype,"type",void 0),S=r=(0,i._)([(0,h.j)("esri.symbols.PolygonSymbol3D")],S);const Z=S},20256:(t,e,o)=>{o.d(e,{Z:()=>b});var r,i=o(43697),s=o(22303),l=o(35454),n=o(22974),a=o(5600),p=(o(75215),o(36030)),y=o(52011),h=o(21218),d=o(4095);const c=new l.X({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let u=r=class extends h.Z{constructor(...t){super(...t),this.color=new s.Z([0,0,0,.25]),this.outline=new d.Z,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.style=t),e&&(r.outline=e),o&&(r.color=o),r}clone(){return new r({color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i._)([(0,a.Cb)()],u.prototype,"color",void 0),(0,i._)([(0,a.Cb)()],u.prototype,"outline",void 0),(0,i._)([(0,p.J)({esriSFS:"simple-fill"},{readOnly:!0})],u.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:c.apiValues,json:{read:c.read,write:c.write}})],u.prototype,"style",void 0),u=r=(0,i._)([(0,y.j)("esri.symbols.SimpleFillSymbol")],u);const b=u},4095:(t,e,o)=>{o.d(e,{Z:()=>S});var r=o(43697),i=o(35454),s=o(22974),l=o(62357),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=(o(67676),o(80442),o(89164));let h=class extends y.Z{constructor(t){super(t),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],h.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"width",void 0),h=(0,r._)([(0,p.j)("esri.symbols.LineSymbol")],h);const d=h;var c,u=o(22303),b=o(96674),m=o(71715),w=o(30556);let v=c=class extends b.wq{constructor(t){super(t),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(t,e,o,r){"web-map"===(null==r?void 0:r.origin)?e[o]="arrow":e[o]=t}set color(t){this._set("color",t)}readColor(t){return t&&null!=t[0]?[t[0],t[1],t[2],t[3]/255]:t}writeColor(t,e,o,r){"web-map"===(null==r?void 0:r.origin)||(e[o]=t)}clone(){return new c({color:(0,s.d9)(this.color),placement:this.placement,style:this.style})}hash(){var t;return`${this.placement}.${null==(t=this.color)?void 0:t.hash()}.${this.style}`}};(0,r._)([(0,n.Cb)({type:["begin","end","begin-end"],json:{write:!0}})],v.prototype,"placement",void 0),(0,r._)([(0,a.J)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.Cb)({json:{origins:{"web-map":{write:!1}}}})],v.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:["arrow","circle","square","diamond","cross","x"]})],v.prototype,"style",void 0),(0,r._)([(0,w.c)("style")],v.prototype,"writeStyle",null),(0,r._)([(0,n.Cb)({type:u.Z,value:null,json:{write:{allowNull:!0}}})],v.prototype,"color",null),(0,r._)([(0,m.r)("color")],v.prototype,"readColor",null),(0,r._)([(0,w.c)("color")],v.prototype,"writeColor",null),v=c=(0,r._)([(0,p.j)("esri.symbols.LineSymbolMarker")],v);const f=v;var g;const _=new i.X({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSInsideFrame:"inside-frame",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let C=g=class extends d{constructor(...t){super(...t),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(t,e,o,r,i,s){if(t&&"string"!=typeof t)return t;const n={};return null!=t&&(n.style=t),null!=e&&(n.color=e),null!=o&&(n.width=(0,l.t_)(o)),null!=r&&(n.cap=r),null!=i&&(n.join=i),null!=s&&(n.miterLimit=(0,l.t_)(s)),n}clone(){var t;return new g({color:(0,s.d9)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:null==(t=this.marker)?void 0:t.clone()})}hash(){var t,e;return`${super.hash()}.${null==(t=this.color)?void 0:t.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${null==(e=this.marker)?void 0:e.hash()}`}};(0,r._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],C.prototype,"type",void 0),(0,r._)([(0,n.Cb)({type:_.apiValues,json:{read:_.read,write:_.write}})],C.prototype,"style",void 0),(0,r._)([(0,n.Cb)({type:["butt","round","square"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],C.prototype,"cap",void 0),(0,r._)([(0,n.Cb)({type:["miter","round","bevel"],json:{write:{overridePolicy:(t,e,o)=>({enabled:"round"!==t&&(null==o||null==o.origin)})}}})],C.prototype,"join",void 0),(0,r._)([(0,n.Cb)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":f}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],C.prototype,"marker",void 0),(0,r._)([(0,n.Cb)({type:Number,json:{read:!1,write:!1}})],C.prototype,"miterLimit",void 0),C=g=(0,r._)([(0,p.j)("esri.symbols.SimpleLineSymbol")],C);const S=C},77987:(t,e,o)=>{o.d(e,{Z:()=>w});var r,i=o(43697),s=o(22303),l=o(35454),n=o(22974),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),d=o(30556),c=o(40908),u=o(4095);const b=new l.X({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let m=r=class extends c.Z{constructor(...t){super(...t),this.color=new s.Z([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new u.Z}normalizeCtorArgs(t,e,o,r){if(t&&"string"!=typeof t)return t;const i={};return t&&(i.style=t),null!=e&&(i.size=(0,a.t_)(e)),o&&(i.outline=o),r&&(i.color=r),i}writeColor(t,e){t&&"x"!==this.style&&"cross"!==this.style&&(e.color=t.toJSON()),null===t&&(e.color=null)}set path(t){this.style="path",this._set("path",t)}clone(){return new r({angle:this.angle,color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){var t;return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${null==(t=this.outline)?void 0:t.hash()}`}};(0,i._)([(0,p.Cb)()],m.prototype,"color",void 0),(0,i._)([(0,d.c)("color")],m.prototype,"writeColor",null),(0,i._)([(0,y.J)({esriSMS:"simple-marker"},{readOnly:!0})],m.prototype,"type",void 0),(0,i._)([(0,p.Cb)()],m.prototype,"size",void 0),(0,i._)([(0,p.Cb)({type:b.apiValues,json:{read:b.read,write:b.write}})],m.prototype,"style",void 0),(0,i._)([(0,p.Cb)({type:String,json:{write:!0}})],m.prototype,"path",null),(0,i._)([(0,p.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":u.Z}},json:{default:null,write:!0}})],m.prototype,"outline",void 0),m=r=(0,i._)([(0,h.j)("esri.symbols.SimpleMarkerSymbol")],m);const w=m},87223:(t,e,o)=>{o.d(e,{Z:()=>N});var r=o(43697),i=o(80539),s=o(70921),l=o(92604),n=o(17452),a=o(20941),p=o(5600),y=(o(67676),o(80442),o(90578)),h=o(71715),d=o(52011),c=o(30556),u=o(65587),b=o(25929),m=o(38445),w=o(95191),v=o(50575),f=o(67129),g=o(17143),_=o(96742),C=o(89164),S=o(95868),Z=o(78757),j=o(44398),x=o(71144),L=o(23203);const z={icon:v.Z,object:g.Z,line:f.Z,path:_.Z,fill:w.Z,extrude:m.Z,text:Z.Z,water:j.Z},D=i.Z.ofType({base:S.Z,key:"type",typeMap:z,errorContext:"symbol-layer"}),O=l.Z.getLogger("esri.symbols.Symbol3D");let k=class extends C.Z{constructor(t){super(t),this.styleOrigin=null,this.thumbnail=null,this.type=null;const e=this.__accessor__&&this.__accessor__.metadatas&&this.__accessor__.metadatas.symbolLayers,o=e&&e.type||i.Z;this._set("symbolLayers",new o)}get color(){return null}set color(t){this.initialized&&O.error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(t){(0,s.Z)(t,this._get("symbolLayers"))}readStyleOrigin(t,e,o){if(t.styleUrl&&t.name){const e=(0,b.f)(t.styleUrl,o);return new x.Z({styleUrl:e,name:t.name})}if(t.styleName&&t.name)return new x.Z({portal:o&&o.portal||u.Z.getDefault(),styleName:t.styleName,name:t.name});o&&o.messages&&o.messages.push(new a.Z("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:t}))}writeStyleOrigin(t,e,o,r){if(t.styleUrl&&t.name){let o=(0,b.t)(t.styleUrl,r);(0,n.YP)(o)&&(o=(0,n.Fv)(o)),e.styleOrigin={styleUrl:o,name:t.name}}else t.styleName&&t.name&&(t.portal&&r&&r.portal&&!(0,n.tm)(t.portal.restUrl,r.portal.restUrl)?r&&r.messages&&r.messages.push(new a.Z("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):e.styleOrigin={styleName:t.styleName,name:t.name})}normalizeCtorArgs(t){return t instanceof S.Z||t&&z[t.type]?{symbolLayers:[t]}:Array.isArray(t)?{symbolLayers:t}:t}};(0,r._)([(0,p.Cb)({json:{read:!1,write:!1}})],k.prototype,"color",null),(0,r._)([(0,p.Cb)({type:D,nonNullable:!0,json:{write:!0}}),(0,y.p)(s.R)],k.prototype,"symbolLayers",null),(0,r._)([(0,p.Cb)({type:x.Z})],k.prototype,"styleOrigin",void 0),(0,r._)([(0,h.r)("styleOrigin")],k.prototype,"readStyleOrigin",null),(0,r._)([(0,c.c)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],k.prototype,"writeStyleOrigin",null),(0,r._)([(0,p.Cb)({type:L.Z,json:{read:!1}})],k.prototype,"thumbnail",void 0),(0,r._)([(0,p.Cb)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],k.prototype,"type",void 0),k=(0,r._)([(0,d.j)("esri.symbols.Symbol3D")],k);const N=k},95868:(t,e,o)=>{o.d(e,{Z:()=>p});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(30556);let a=class extends i.wq{constructor(t){super(t),this.enabled=!0,this.type=null}writeEnabled(t,e,o){t||(e[o]=t)}};(0,r._)([(0,s.Cb)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r._)([(0,n.c)("enabled")],a.prototype,"writeEnabled",null),(0,r._)([(0,s.Cb)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0})],a.prototype,"type",void 0),a=(0,r._)([(0,l.j)("esri.symbols.Symbol3DLayer")],a);const p=a},78724:(t,e,o)=>{o.d(e,{Z:()=>w});var r,i=o(43697),s=o(22303),l=o(22974),n=o(62357),a=o(5600),p=o(90578),y=o(36030),h=o(52011),d=o(30556),c=o(31134),u=o(89164),b=o(61565);let m=r=class extends u.Z{constructor(...t){super(...t),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new c.Z,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.haloSize=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.xoffset=0,this.yoffset=0,this.angle=0,this.width=null,this.lineWidth=192,this.lineHeight=1}normalizeCtorArgs(t,e,o){if(t&&"string"!=typeof t)return t;const r={};return t&&(r.text=t),e&&(r.font=e),o&&(r.color=o),r}writeLineWidth(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}castLineWidth(t){return(0,n.t_)(t)}writeLineHeight(t,e,o,r){r&&"string"!=typeof r?r.origin:e[o]=t}clone(){return new r({angle:this.angle,backgroundColor:(0,l.d9)(this.backgroundColor),borderLineColor:(0,l.d9)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.d9)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.d9)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor&&this.backgroundColor.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color.hash()}.${this.font&&this.font.hash()}.${this.haloColor&&this.haloColor.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"backgroundColor",void 0),(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"borderLineColor",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"borderLineSize",void 0),(0,i._)([(0,a.Cb)({type:c.Z,json:{write:!0}})],m.prototype,"font",void 0),(0,i._)([(0,a.Cb)({type:["left","right","center","justify"],json:{write:!0}})],m.prototype,"horizontalAlignment",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"kerning",void 0),(0,i._)([(0,a.Cb)({type:s.Z,json:{write:!0}})],m.prototype,"haloColor",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"haloSize",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"rightToLeft",void 0),(0,i._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"rotated",void 0),(0,i._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"text",void 0),(0,i._)([(0,y.J)({esriTS:"text"},{readOnly:!0})],m.prototype,"type",void 0),(0,i._)([(0,a.Cb)({type:["baseline","top","middle","bottom"],json:{write:!0}})],m.prototype,"verticalAlignment",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"xoffset",void 0),(0,i._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],m.prototype,"yoffset",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{read:t=>t&&-1*t,write:(t,e)=>e.angle=t&&-1*t}})],m.prototype,"angle",void 0),(0,i._)([(0,a.Cb)({type:Number,json:{write:!0}})],m.prototype,"width",void 0),(0,i._)([(0,a.Cb)({type:Number})],m.prototype,"lineWidth",void 0),(0,i._)([(0,d.c)("lineWidth")],m.prototype,"writeLineWidth",null),(0,i._)([(0,p.p)("lineWidth")],m.prototype,"castLineWidth",null),(0,i._)([(0,a.Cb)(b.Ck)],m.prototype,"lineHeight",void 0),(0,i._)([(0,d.c)("lineHeight")],m.prototype,"writeLineHeight",null),m=r=(0,i._)([(0,h.j)("esri.symbols.TextSymbol")],m);const w=m},78757:(t,e,o)=>{o.d(e,{Z:()=>C});var r,i=o(43697),s=o(22974),l=o(70586),n=o(5600),a=(o(75215),o(36030)),p=o(52011),y=o(30556),h=o(31134),d=o(95868),c=o(37308),u=o(22303),b=o(96674);let m=r=class extends b.wq{constructor(){super(...arguments),this.color=new u.Z([0,0,0,1]),this.size=0}clone(){return new r({color:(0,s.d9)(this.color),size:this.size})}};(0,i._)([(0,n.Cb)(c.a)],m.prototype,"color",void 0),(0,i._)([(0,n.Cb)(c.y)],m.prototype,"size",void 0),m=r=(0,i._)([(0,p.j)("esri.symbols.support.Symbol3DHalo")],m);var w,v=o(52879),f=o(61565);let g=w=class extends d.Z{constructor(t){super(t),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.text=null,this.type="text",this.verticalAlignment="middle"}get font(){return this._get("font")||null}set font(t){(0,l.pC)(t)&&(0,l.pC)(this._userSize)&&(t.size=this._userSize),this._set("font",t)}writeFont(t,e,o,r){const i={...r,textSymbol3D:!0};e.font=t.write({},i),delete e.font.size}get size(){return(0,l.pC)(this._userSize)?this._userSize:(0,l.pC)(this.font)&&null!=this.font.size?this.font.size:9}set size(t){this._userSize=t,(0,l.pC)(this.font)&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){return new w({enabled:this.enabled,font:this.font&&(0,s.d9)(this.font),halo:this.halo&&(0,s.d9)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:(0,l.pC)(this.material)?this.material.clone():null,size:this.size,text:this.text,verticalAlignment:this.verticalAlignment})}static fromTextSymbol(t){return new w({font:(0,l.pC)(t.font)?t.font.clone():new h.Z,halo:_(t.haloColor,t.haloSize),horizontalAlignment:t.horizontalAlignment,lineHeight:t.lineHeight,material:t.color?{color:t.color.clone()}:null,text:t.text,verticalAlignment:t.verticalAlignment})}};function _(t,e){return t&&e>0?{color:(0,s.d9)(t),size:e}:null}(0,i._)([(0,n.Cb)({type:h.Z,json:{write:!0}})],g.prototype,"font",null),(0,i._)([(0,y.c)("font")],g.prototype,"writeFont",null),(0,i._)([(0,n.Cb)({type:m,json:{write:!0}})],g.prototype,"halo",void 0),(0,i._)([(0,n.Cb)()],g.prototype,"horizontalAlignment",void 0),(0,i._)([(0,n.Cb)(f.Ck)],g.prototype,"lineHeight",void 0),(0,i._)([(0,n.Cb)({type:v.b,json:{write:!0}})],g.prototype,"material",void 0),(0,i._)([(0,n.Cb)(c.y)],g.prototype,"size",null),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],g.prototype,"text",void 0),(0,i._)([(0,a.J)({Text:"text"},{readOnly:!0})],g.prototype,"type",void 0),(0,i._)([(0,n.Cb)()],g.prototype,"verticalAlignment",void 0),g=w=(0,i._)([(0,p.j)("esri.symbols.TextSymbol3DLayer")],g);const C=g},44398:(t,e,o)=>{o.d(e,{Z:()=>u});var r,i=o(43697),s=o(22303),l=o(22974),n=o(5600),a=o(75215),p=o(36030),y=o(52011),h=o(95868);let d=r=class extends h.Z{constructor(t){super(t),this.color=c.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:(0,l.d9)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i._)([(0,n.Cb)({type:s.Z,nonNullable:!0,json:{type:[a.z8],write:(t,e,o)=>e[o]=t.toArray(s.Z.AlphaMode.UNLESS_OPAQUE),default:()=>c.clone(),defaultEquals:t=>t.toCss(!0)===c.toCss(!0)}})],d.prototype,"color",void 0),(0,i._)([(0,p.J)({Water:"water"},{readOnly:!0})],d.prototype,"type",void 0),(0,i._)([(0,n.Cb)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],d.prototype,"waterbodySize",void 0),(0,i._)([(0,n.Cb)({type:Number,json:{write:!0,default:null}})],d.prototype,"waveDirection",void 0),(0,i._)([(0,n.Cb)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],d.prototype,"waveStrength",void 0),d=r=(0,i._)([(0,y.j)("esri.symbols.WaterSymbol3DLayer")],d);const c=new s.Z([0,119,190]),u=d},59390:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(92604),l=o(95330),n=o(5600),a=(o(67676),o(80442),o(75215),o(36030)),p=o(52011),y=o(65587),h=o(25929),d=o(89164),c=o(23203);const u=s.Z.getLogger("esri.symbols.WebStyleSymbol");let b=r=class extends d.Z{constructor(t){super(t),this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}read(t,e){this.portal=e?e.portal:void 0,super.read(t,e)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(t){return this._fetchSymbol("webRef",t)}fetchCIMSymbol(t){return this._fetchSymbol("cimRef",t)}async _fetchSymbol(t,e){const r=await Promise.all([o.e(102),o.e(4499)]).then(o.bind(o,74499));(0,l.k_)(e);const i=r.resolveWebStyleSymbol(this,{portal:this.portal},t,e);return i.catch((t=>{u.error("#fetchSymbol()","Failed to create symbol from style",t)})),i}};(0,i._)([(0,n.Cb)({json:{write:!1}})],b.prototype,"color",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"styleName",void 0),(0,i._)([(0,n.Cb)({type:y.Z,json:{write:!1}})],b.prototype,"portal",void 0),(0,i._)([(0,n.Cb)({type:String,json:{read:h.r,write:h.w}})],b.prototype,"styleUrl",void 0),(0,i._)([(0,n.Cb)({type:c.Z,json:{read:!1}})],b.prototype,"thumbnail",void 0),(0,i._)([(0,n.Cb)({type:String,json:{write:!0}})],b.prototype,"name",void 0),(0,i._)([(0,a.J)({styleSymbolReference:"web-style"},{readOnly:!0})],b.prototype,"type",void 0),b=r=(0,i._)([(0,p.j)("esri.symbols.WebStyleSymbol")],b);const m=b},27539:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t),this.visible=!0}clone(){}};(0,r._)([(0,s.Cb)({type:["line"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),(0,r._)([(0,s.Cb)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r._)([(0,l.j)("esri.symbols.callouts.Callout3D")],n);const a=n},69496:(t,e,o)=>{o.d(e,{Z:()=>m});var r,i=o(43697),s=o(22303),l=o(22974),n=o(70586),a=o(62357),p=o(5600),y=(o(75215),o(36030)),h=o(52011),d=o(27539),c=o(6352),u=o(37308);let b=r=class extends d.Z{constructor(t){super(t),this.type="line",this.color=new s.Z([0,0,0,1]),this.size=(0,a.Wz)(1),this.border=null}get visible(){return this.size>0&&(0,n.pC)(this.color)&&this.color.a>0}clone(){return new r({color:(0,l.d9)(this.color),size:this.size,border:(0,l.d9)(this.border)})}};(0,i._)([(0,y.J)({line:"line"},{readOnly:!0})],b.prototype,"type",void 0),(0,i._)([(0,p.Cb)(u.a)],b.prototype,"color",void 0),(0,i._)([(0,p.Cb)(u.y)],b.prototype,"size",void 0),(0,i._)([(0,p.Cb)({type:c.a,json:{write:!0}})],b.prototype,"border",void 0),(0,i._)([(0,p.Cb)({readOnly:!0})],b.prototype,"visible",null),b=r=(0,i._)([(0,h.j)("esri.symbols.callouts.LineCallout3D")],b);const m=b},84275:(t,e,o)=>{o.d(e,{Y2:()=>n,gv:()=>l,Uy:()=>s});var r=o(27539),i=o(69496);function s(t){if(!t)return!1;const e=t.verticalOffset;return!!e&&!(e.screenLength<=0||e.maxWorldLength<=0)}function l(t){if(!t)return!1;if(!t.supportsCallout||!t.supportsCallout())return!1;const e=t.callout;return!!e&&!!e.visible&&!!s(t)}const n={types:{key:"type",base:r.Z,typeMap:{line:i.Z}},json:{write:!0}}},56332:(t,e,o)=>{o.d(e,{Z:()=>f});var r=o(43697),i=o(22303),s=o(96674),l=o(22974),n=o(62357),a=o(5600),p=(o(75215),o(52011)),y=o(37308);let h=class extends s.wq{constructor(t){super(t),this.color=new i.Z([0,0,0,1]),this.extensionLength=0,this.size=(0,n.Wz)(1)}clone(){}cloneProperties(){return{color:(0,l.d9)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r._)([(0,a.Cb)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],h.prototype,"type",void 0),(0,r._)([(0,a.Cb)(y.a)],h.prototype,"color",void 0),(0,r._)([(0,a.Cb)({...y.y,json:{write:{overridePolicy:t=>({enabled:!!t})}}})],h.prototype,"extensionLength",void 0),(0,r._)([(0,a.Cb)(y.y)],h.prototype,"size",void 0),h=(0,r._)([(0,p.j)("esri.symbols.edges.Edges3D")],h);const d=h;o(92604),o(67676),o(80442),o(37697);var c,u=o(36030);let b=c=class extends d{constructor(t){super(t),this.type="sketch"}clone(){return new c(this.cloneProperties())}};(0,r._)([(0,u.J)({sketch:"sketch"},{readOnly:!0})],b.prototype,"type",void 0),b=c=(0,r._)([(0,p.j)("esri.symbols.edges.SketchEdges3D")],b);const m=b;var w;let v=w=class extends d{constructor(t){super(t),this.type="solid"}clone(){return new w(this.cloneProperties())}};(0,r._)([(0,u.J)({solid:"solid"},{readOnly:!0})],v.prototype,"type",void 0),v=w=(0,r._)([(0,p.j)("esri.symbols.support.SolidEdges3D")],v);const f={types:{key:"type",base:d,typeMap:{solid:v,sketch:m}},json:{write:!0}}},32626:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,s.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.LinePattern3D")],n);const a=n},4618:(t,e,o)=>{o.d(e,{Z:()=>d});var r,i=o(43697),s=o(35454),l=o(5600),n=(o(67676),o(80442),o(75215),o(36030)),a=o(52011),p=o(32626);const y=(0,s.w)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let h=r=class extends p.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,i._)([(0,l.Cb)({type:["style"]})],h.prototype,"type",void 0),(0,i._)([(0,n.J)(y),(0,l.Cb)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"]})],h.prototype,"style",void 0),h=r=(0,i._)([(0,a.j)("esri.symbols.patterns.LineStylePattern3D")],h);const d=h},41776:(t,e,o)=>{o.d(e,{Z:()=>a});var r=o(43697),i=o(96674),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011));let n=class extends i.wq{constructor(t){super(t)}clone(){}};(0,r._)([(0,s.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r._)([(0,l.j)("esri.symbols.patterns.Pattern3D")],n);const a=n},74721:(t,e,o)=>{o.d(e,{Z:()=>p});var r,i=o(43697),s=o(5600),l=(o(67676),o(80442),o(75215),o(52011)),n=o(41776);let a=r=class extends n.Z{constructor(t){super(t),this.type="style",this.style="solid"}clone(){const t={style:this.style};return new r(t)}};(0,i._)([(0,s.Cb)({type:["style"]})],a.prototype,"type",void 0),(0,i._)([(0,s.Cb)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:!0}})],a.prototype,"style",void 0),a=r=(0,i._)([(0,l.j)("esri.symbols.patterns.StylePattern3D")],a);const p=a},17495:(t,e,o)=>{o.d(e,{D:()=>a,q:()=>n});var r=o(32626),i=o(4618),s=o(41776),l=o(74721);const n={types:{key:"type",base:s.Z,typeMap:{style:l.Z}},json:{write:!0}},a={types:{key:"type",base:r.Z,typeMap:{style:i.Z}},json:{write:!0}}},71144:(t,e,o)=>{o.d(e,{Z:()=>y});var r,i=o(43697),s=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(65587);let p=r=class extends s.Z{constructor(){super(...arguments),this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i._)([(0,l.Cb)({type:String})],p.prototype,"name",void 0),(0,i._)([(0,l.Cb)({type:String})],p.prototype,"styleUrl",void 0),(0,i._)([(0,l.Cb)({type:String})],p.prototype,"styleName",void 0),(0,i._)([(0,l.Cb)({type:a.Z})],p.prototype,"portal",void 0),p=r=(0,i._)([(0,n.j)("esri.symbols.support.StyleOrigin")],p);const y=p},52879:(t,e,o)=>{o.d(e,{b:()=>y});var r,i=o(43697),s=o(96674),l=o(70586),n=o(5600),a=(o(67676),o(80442),o(75215),o(52011)),p=o(37308);let y=r=class extends s.wq{constructor(t){super(t),this.color=null}clone(){const t={color:(0,l.pC)(this.color)?this.color.clone():null};return new r(t)}};(0,i._)([(0,n.Cb)(p.a)],y.prototype,"color",void 0),y=r=(0,i._)([(0,a.j)("esri.symbols.support.Symbol3DMaterial")],y)},7413:(t,e,o)=>{o.d(e,{_:()=>p});var r,i=o(43697),s=o(96674),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011)),a=o(37308);let p=r=class extends s.wq{constructor(){super(...arguments),this.screenLength=0,this.minWorldLength=0}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i._)([(0,l.Cb)(a.y)],p.prototype,"screenLength",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0,default:0}})],p.prototype,"minWorldLength",void 0),(0,i._)([(0,l.Cb)({type:Number,json:{write:!0}})],p.prototype,"maxWorldLength",void 0),p=r=(0,i._)([(0,n.j)("esri.symbols.support.Symbol3DVerticalOffset")],p)},23203:(t,e,o)=>{o.d(e,{Z:()=>p});var r,i=o(43697),s=o(15923),l=o(5600),n=(o(67676),o(80442),o(75215),o(52011));let a=r=class extends s.Z{clone(){return new r({url:this.url})}};(0,i._)([(0,l.Cb)({type:String})],a.prototype,"url",void 0),a=r=(0,i._)([(0,n.j)("esri.symbols.support.Thumbnail")],a);const p=a},50178:(t,e,o)=>{o.d(e,{rx:()=>l,l9:()=>s,ix:()=>i});var r=o(22303);const i=new r.Z("white"),s=(new r.Z("black"),new r.Z([255,255,255,0]));function l(t){return 0===t.r&&0===t.g&&0===t.b}},37308:(t,e,o)=>{o.d(e,{a:()=>n,y:()=>a});var r=o(22303),i=o(62357),s=o(75215),l=o(65242);const n={type:r.Z,json:{type:[s.z8],default:null,read:{source:["color","transparency"],reader:function(t,e){const o=null!=e.transparency?(0,l.b)(e.transparency):1,i=e.color;return i&&Array.isArray(i)?new r.Z([i[0]||0,i[1]||0,i[2]||0,o]):null}},write:{target:{color:{type:[s.z8]},transparency:{type:s.z8}},writer:function(t,e){e.color=t.toJSON().slice(0,3);const o=(0,l.a)(t.a);0!==o&&(e.transparency=o)}}}},a={type:Number,cast:i.t_,json:{write:!0}}},45119:(t,e,o)=>{o.d(e,{Hc:()=>y,w2:()=>d,Uz:()=>p,$K:()=>s,KW:()=>h}),o(80442);var r=o(65617),i=o(60437);function s(t,{isPrimitive:e,width:o,depth:i,height:s}){const l=e?10:1;if(null==o&&null==s&&null==i)return[l*t[0],l*t[1],l*t[2]];const n=(0,r.f)(o,i,s);let a;for(let e=0;e<3;e++){const o=n[e];if(null!=o){a=o/t[e];break}}for(let e=0;e<3;e++)null==n[e]&&(n[e]=t[e]*a);return n}const l=(0,i.al)(-.5,-.5,-.5,.5,.5,.5),n=(0,i.al)(-.5,-.5,0,.5,.5,1),a=(0,i.al)(-.5,-.5,0,.5,.5,.5);function p(t){switch(t){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const y=["butt","square","round"],h=[...y,"none"],d=["miter","bevel","round"]},61565:(t,e,o)=>{o.d(e,{uC:()=>s,hR:()=>l,Xw:()=>n,Ck:()=>a});var r=o(22021),i=o(75215);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:t=>{const e=(0,i.q9)(t);return 0===e?1:(0,r.uZ)(e,.1,4)},nonNullable:!0}},94075:(t,e,o)=>{o.d(e,{Ds:()=>n,KA:()=>l});var r=o(17452),i=o(25929);function s(t,e){return function(t){return t&&("service"===t.origin||"portal-item"===t.origin)&&t.layer&&("feature"===t.layer.type||"stream"===t.layer.type)}(e)&&!(0,r.YP)(t)&&e.layer.parsedUrl?(0,r.v_)(e.layer.parsedUrl.path,"images",t):(0,i.f)(t,e)}const l={json:{read:{source:["imageData","url"],reader:function(t,e,o){return e.imageData?(0,r._l)({mediaType:e.contentType||"image/png",isBase64:!0,data:e.imageData}):s(e.url,o)}},write:{writer(t,e,o,s){!function(t,e,o,s){if((0,r.HK)(t)){const l=(0,r.sJ)(t);e.contentType=l.mediaType,e.imageData=l.data,o&&o.imageData===e.imageData&&o.url&&(0,i.w)(o.url,e,"url",s)}else(0,i.w)(t,e,"url",s)}(t,e,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(t,e,o){const r={};return e.imageData&&(r.imageData=e.imageData),e.contentType&&(r.contentType=e.contentType),e.url&&(r.url=s(e.url,o)),r}}}}},65242:(t,e,o)=>{o.d(e,{a:()=>i,b:()=>s});var r=o(75215);function i(t){const e=(0,r.vU)(100*(1-t));return Math.max(0,Math.min(e,100))}function s(t){const e=1-t/100;return Math.max(0,Math.min(e,1))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9474],{46521:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e){return new Float64Array(t,e,9)}n.d(e,{a:()=>o,c:()=>r}),Object.freeze({__proto__:null,create:r,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},fromValues:function(t,e,n,r,o,i,a,s,u){return[t,e,n,r,o,i,a,s,u]},createView:o})},52138:(t,e,n)=>{n.d(e,{a:()=>u,d:()=>M,e:()=>h,f:()=>d,h:()=>f,i:()=>a,j:()=>l,m:()=>c,p:()=>w,s:()=>i,t:()=>s,u:()=>b,v:()=>A,w:()=>U,y:()=>m});var r=n(65617),o=n(46851);function i(t,e,n,r,o,i,a,s,u,c,l,f,h,d,b,M,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=i,t[5]=a,t[6]=s,t[7]=u,t[8]=c,t[9]=l,t[10]=f,t[11]=h,t[12]=d,t[13]=b,t[14]=M,t[15]=m,t}function a(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 s(t,e){if(t===e){const n=e[1],r=e[2],o=e[3],i=e[6],a=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=i,t[11]=e[14],t[12]=o,t[13]=a,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function u(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],u=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],b=e[12],M=e[13],m=e[14],p=e[15],g=n*s-r*a,y=n*u-o*a,U=n*c-i*a,A=r*u-o*s,w=r*c-i*s,O=o*c-i*u,E=l*M-f*b,T=l*m-h*b,I=l*p-d*b,C=f*m-h*M,S=f*p-d*M,N=h*p-d*m;let R=g*N-y*S+U*C+A*I-w*T+O*E;return R?(R=1/R,t[0]=(s*N-u*S+c*C)*R,t[1]=(o*S-r*N-i*C)*R,t[2]=(M*O-m*w+p*A)*R,t[3]=(h*w-f*O-d*A)*R,t[4]=(u*I-a*N-c*T)*R,t[5]=(n*N-o*I+i*T)*R,t[6]=(m*U-b*O-p*y)*R,t[7]=(l*O-h*U+d*y)*R,t[8]=(a*S-s*I+c*E)*R,t[9]=(r*I-n*S-i*E)*R,t[10]=(b*w-M*U+p*g)*R,t[11]=(f*U-l*w-d*g)*R,t[12]=(s*T-a*C-u*E)*R,t[13]=(n*C-r*T+o*E)*R,t[14]=(M*y-b*A-m*g)*R,t[15]=(l*A-f*y+h*g)*R,t):null}function c(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],s=e[4],u=e[5],c=e[6],l=e[7],f=e[8],h=e[9],d=e[10],b=e[11],M=e[12],m=e[13],p=e[14],g=e[15];let y=n[0],U=n[1],A=n[2],w=n[3];return t[0]=y*r+U*s+A*f+w*M,t[1]=y*o+U*u+A*h+w*m,t[2]=y*i+U*c+A*d+w*p,t[3]=y*a+U*l+A*b+w*g,y=n[4],U=n[5],A=n[6],w=n[7],t[4]=y*r+U*s+A*f+w*M,t[5]=y*o+U*u+A*h+w*m,t[6]=y*i+U*c+A*d+w*p,t[7]=y*a+U*l+A*b+w*g,y=n[8],U=n[9],A=n[10],w=n[11],t[8]=y*r+U*s+A*f+w*M,t[9]=y*o+U*u+A*h+w*m,t[10]=y*i+U*c+A*d+w*p,t[11]=y*a+U*l+A*b+w*g,y=n[12],U=n[13],A=n[14],w=n[15],t[12]=y*r+U*s+A*f+w*M,t[13]=y*o+U*u+A*h+w*m,t[14]=y*i+U*c+A*d+w*p,t[15]=y*a+U*l+A*b+w*g,t}function l(t,e,n){const r=n[0],o=n[1],i=n[2];let a,s,u,c,l,f,h,d,b,M,m,p;return e===t?(t[12]=e[0]*r+e[4]*o+e[8]*i+e[12],t[13]=e[1]*r+e[5]*o+e[9]*i+e[13],t[14]=e[2]*r+e[6]*o+e[10]*i+e[14],t[15]=e[3]*r+e[7]*o+e[11]*i+e[15]):(a=e[0],s=e[1],u=e[2],c=e[3],l=e[4],f=e[5],h=e[6],d=e[7],b=e[8],M=e[9],m=e[10],p=e[11],t[0]=a,t[1]=s,t[2]=u,t[3]=c,t[4]=l,t[5]=f,t[6]=h,t[7]=d,t[8]=b,t[9]=M,t[10]=m,t[11]=p,t[12]=a*r+l*o+b*i+e[12],t[13]=s*r+f*o+M*i+e[13],t[14]=u*r+h*o+m*i+e[14],t[15]=c*r+d*o+p*i+e[15]),t}function f(t,e,n){const r=n[0],o=n[1],i=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*o,t[5]=e[5]*o,t[6]=e[6]*o,t[7]=e[7]*o,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function h(t,e,n,r){let i,a,s,u,c,l,f,h,d,b,M,m,p,g,y,U,A,w,O,E,T,I,C,S,N=r[0],R=r[1],v=r[2],B=Math.sqrt(N*N+R*R+v*v);return B<o.E?null:(B=1/B,N*=B,R*=B,v*=B,i=Math.sin(n),a=Math.cos(n),s=1-a,u=e[0],c=e[1],l=e[2],f=e[3],h=e[4],d=e[5],b=e[6],M=e[7],m=e[8],p=e[9],g=e[10],y=e[11],U=N*N*s+a,A=R*N*s+v*i,w=v*N*s-R*i,O=N*R*s-v*i,E=R*R*s+a,T=v*R*s+N*i,I=N*v*s+R*i,C=R*v*s-N*i,S=v*v*s+a,t[0]=u*U+h*A+m*w,t[1]=c*U+d*A+p*w,t[2]=l*U+b*A+g*w,t[3]=f*U+M*A+y*w,t[4]=u*O+h*E+m*T,t[5]=c*O+d*E+p*T,t[6]=l*O+b*E+g*T,t[7]=f*O+M*E+y*T,t[8]=u*I+h*C+m*S,t[9]=c*I+d*C+p*S,t[10]=l*I+b*C+g*S,t[11]=f*I+M*C+y*S,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}function d(t,e){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]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function b(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e,n){let r,i,a,s=n[0],u=n[1],c=n[2],l=Math.sqrt(s*s+u*u+c*c);return l<o.E?null:(l=1/l,s*=l,u*=l,c*=l,r=Math.sin(e),i=Math.cos(e),a=1-i,t[0]=s*s*a+i,t[1]=u*s*a+c*r,t[2]=c*s*a-u*r,t[3]=0,t[4]=s*u*a-c*r,t[5]=u*u*a+i,t[6]=c*u*a+s*r,t[7]=0,t[8]=s*c*a+u*r,t[9]=u*c*a-s*r,t[10]=c*c*a+i,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)}function m(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function p(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],s=r+r,u=o+o,c=i+i,l=r*s,f=r*u,h=r*c,d=o*u,b=o*c,M=i*c,m=a*s,p=a*u,g=a*c;return t[0]=1-(d+M),t[1]=f+g,t[2]=h-p,t[3]=0,t[4]=f-g,t[5]=1-(l+M),t[6]=b+m,t[7]=0,t[8]=h+p,t[9]=b-m,t[10]=1-(l+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const g=(0,r.c)();function y(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function U(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function A(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],a=t[3],s=t[4],u=t[5],c=t[6],l=t[7],f=t[8],h=t[9],d=t[10],b=t[11],M=t[12],m=t[13],p=t[14],g=t[15],y=e[0],U=e[1],A=e[2],w=e[3],O=e[4],E=e[5],T=e[6],I=e[7],C=e[8],S=e[9],N=e[10],R=e[11],v=e[12],B=e[13],F=e[14],D=e[15];return Math.abs(n-y)<=o.E*Math.max(1,Math.abs(n),Math.abs(y))&&Math.abs(r-U)<=o.E*Math.max(1,Math.abs(r),Math.abs(U))&&Math.abs(i-A)<=o.E*Math.max(1,Math.abs(i),Math.abs(A))&&Math.abs(a-w)<=o.E*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(s-O)<=o.E*Math.max(1,Math.abs(s),Math.abs(O))&&Math.abs(u-E)<=o.E*Math.max(1,Math.abs(u),Math.abs(E))&&Math.abs(c-T)<=o.E*Math.max(1,Math.abs(c),Math.abs(T))&&Math.abs(l-I)<=o.E*Math.max(1,Math.abs(l),Math.abs(I))&&Math.abs(f-C)<=o.E*Math.max(1,Math.abs(f),Math.abs(C))&&Math.abs(h-S)<=o.E*Math.max(1,Math.abs(h),Math.abs(S))&&Math.abs(d-N)<=o.E*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(b-R)<=o.E*Math.max(1,Math.abs(b),Math.abs(R))&&Math.abs(M-v)<=o.E*Math.max(1,Math.abs(M),Math.abs(v))&&Math.abs(m-B)<=o.E*Math.max(1,Math.abs(m),Math.abs(B))&&Math.abs(p-F)<=o.E*Math.max(1,Math.abs(p),Math.abs(F))&&Math.abs(g-D)<=o.E*Math.max(1,Math.abs(g),Math.abs(D))}function w(t){const e=o.E,n=t[0],r=t[1],i=t[2],a=t[4],s=t[5],u=t[6],c=t[8],l=t[9],f=t[10];return Math.abs(1-(n*n+a*a+c*c))<=e&&Math.abs(1-(r*r+s*s+l*l))<=e&&Math.abs(1-(i*i+u*u+f*f))<=e}const O=c,E=y;Object.freeze({__proto__:null,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},set:i,identity:a,transpose:s,invert:u,adjoint:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],u=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],b=e[12],M=e[13],m=e[14],p=e[15];return t[0]=s*(h*p-d*m)-f*(u*p-c*m)+M*(u*d-c*h),t[1]=-(r*(h*p-d*m)-f*(o*p-i*m)+M*(o*d-i*h)),t[2]=r*(u*p-c*m)-s*(o*p-i*m)+M*(o*c-i*u),t[3]=-(r*(u*d-c*h)-s*(o*d-i*h)+f*(o*c-i*u)),t[4]=-(a*(h*p-d*m)-l*(u*p-c*m)+b*(u*d-c*h)),t[5]=n*(h*p-d*m)-l*(o*p-i*m)+b*(o*d-i*h),t[6]=-(n*(u*p-c*m)-a*(o*p-i*m)+b*(o*c-i*u)),t[7]=n*(u*d-c*h)-a*(o*d-i*h)+l*(o*c-i*u),t[8]=a*(f*p-d*M)-l*(s*p-c*M)+b*(s*d-c*f),t[9]=-(n*(f*p-d*M)-l*(r*p-i*M)+b*(r*d-i*f)),t[10]=n*(s*p-c*M)-a*(r*p-i*M)+b*(r*c-i*s),t[11]=-(n*(s*d-c*f)-a*(r*d-i*f)+l*(r*c-i*s)),t[12]=-(a*(f*m-h*M)-l*(s*m-u*M)+b*(s*h-u*f)),t[13]=n*(f*m-h*M)-l*(r*m-o*M)+b*(r*h-o*f),t[14]=-(n*(s*m-u*M)-a*(r*m-o*M)+b*(r*u-o*s)),t[15]=n*(s*h-u*f)-a*(r*h-o*f)+l*(r*u-o*s),t},determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],i=t[4],a=t[5],s=t[6],u=t[7],c=t[8],l=t[9],f=t[10],h=t[11],d=t[12],b=t[13],M=t[14],m=t[15];return(e*a-n*i)*(f*m-h*M)-(e*s-r*i)*(l*m-h*b)+(e*u-o*i)*(l*M-f*b)+(n*s-r*a)*(c*m-h*d)-(n*u-o*a)*(c*M-f*d)+(r*u-o*s)*(c*b-l*d)},multiply:c,translate:l,scale:f,rotate:h,rotateX:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),i=e[4],a=e[5],s=e[6],u=e[7],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=i*o+c*r,t[5]=a*o+l*r,t[6]=s*o+f*r,t[7]=u*o+h*r,t[8]=c*o-i*r,t[9]=l*o-a*r,t[10]=f*o-s*r,t[11]=h*o-u*r,t},rotateY:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),i=e[0],a=e[1],s=e[2],u=e[3],c=e[8],l=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*o-c*r,t[1]=a*o-l*r,t[2]=s*o-f*r,t[3]=u*o-h*r,t[8]=i*r+c*o,t[9]=a*r+l*o,t[10]=s*r+f*o,t[11]=u*r+h*o,t},rotateZ:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),i=e[0],a=e[1],s=e[2],u=e[3],c=e[4],l=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*o+c*r,t[1]=a*o+l*r,t[2]=s*o+f*r,t[3]=u*o+h*r,t[4]=c*o-i*r,t[5]=l*o-a*r,t[6]=f*o-s*r,t[7]=h*o-u*r,t},fromTranslation:d,fromScaling:b,fromRotation:M,fromXRotation:m,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,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},fromRotationTranslation:p,fromQuat2:function(t,e){const n=g,r=-e[0],o=-e[1],i=-e[2],a=e[3],s=e[4],u=e[5],c=e[6],l=e[7],f=r*r+o*o+i*i+a*a;return f>0?(n[0]=2*(s*a+l*r+u*i-c*o)/f,n[1]=2*(u*a+l*o+c*r-s*i)/f,n[2]=2*(c*a+l*i+s*o-u*r)/f):(n[0]=2*(s*a+l*r+u*i-c*o),n[1]=2*(u*a+l*o+c*r-s*i),n[2]=2*(c*a+l*i+s*o-u*r)),p(t,e,n),t},getTranslation:function(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t},getScaling:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[4],a=e[5],s=e[6],u=e[8],c=e[9],l=e[10];return t[0]=Math.sqrt(n*n+r*r+o*o),t[1]=Math.sqrt(i*i+a*a+s*s),t[2]=Math.sqrt(u*u+c*c+l*l),t},getRotation:function(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t},fromRotationTranslationScale:function(t,e,n,r){const o=e[0],i=e[1],a=e[2],s=e[3],u=o+o,c=i+i,l=a+a,f=o*u,h=o*c,d=o*l,b=i*c,M=i*l,m=a*l,p=s*u,g=s*c,y=s*l,U=r[0],A=r[1],w=r[2];return t[0]=(1-(b+m))*U,t[1]=(h+y)*U,t[2]=(d-g)*U,t[3]=0,t[4]=(h-y)*A,t[5]=(1-(f+m))*A,t[6]=(M+p)*A,t[7]=0,t[8]=(d+g)*w,t[9]=(M-p)*w,t[10]=(1-(f+b))*w,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t},fromRotationTranslationScaleOrigin:function(t,e,n,r,o){const i=e[0],a=e[1],s=e[2],u=e[3],c=i+i,l=a+a,f=s+s,h=i*c,d=i*l,b=i*f,M=a*l,m=a*f,p=s*f,g=u*c,y=u*l,U=u*f,A=r[0],w=r[1],O=r[2],E=o[0],T=o[1],I=o[2],C=(1-(M+p))*A,S=(d+U)*A,N=(b-y)*A,R=(d-U)*w,v=(1-(h+p))*w,B=(m+g)*w,F=(b+y)*O,D=(m-g)*O,P=(1-(h+M))*O;return t[0]=C,t[1]=S,t[2]=N,t[3]=0,t[4]=R,t[5]=v,t[6]=B,t[7]=0,t[8]=F,t[9]=D,t[10]=P,t[11]=0,t[12]=n[0]+E-(C*E+R*T+F*I),t[13]=n[1]+T-(S*E+v*T+D*I),t[14]=n[2]+I-(N*E+B*T+P*I),t[15]=1,t},fromQuat:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=n+n,s=r+r,u=o+o,c=n*a,l=r*a,f=r*s,h=o*a,d=o*s,b=o*u,M=i*a,m=i*s,p=i*u;return t[0]=1-f-b,t[1]=l+p,t[2]=h-m,t[3]=0,t[4]=l-p,t[5]=1-c-b,t[6]=d+M,t[7]=0,t[8]=h+m,t[9]=d-M,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},frustum:function(t,e,n,r,o,i,a){const s=1/(n-e),u=1/(o-r),c=1/(i-a);return t[0]=2*i*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*u,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(o+r)*u,t[10]=(a+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*i*2*c,t[15]=0,t},perspective:function(t,e,n,r,o){const i=1/Math.tan(e/2);let a;return t[0]=i/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,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!=o&&o!==1/0?(a=1/(r-o),t[10]=(o+r)*a,t[14]=2*o*r*a):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const o=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),a=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),u=2/(a+s),c=2/(o+i);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(a-s)*u*.5,t[9]=(o-i)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},ortho:function(t,e,n,r,o,i,a){const s=1/(e-n),u=1/(r-o),c=1/(i-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*s,t[13]=(o+r)*u,t[14]=(a+i)*c,t[15]=1,t},lookAt:function(t,e,n,r){let i,s,u,c,l,f,h,d,b,M;const m=e[0],p=e[1],g=e[2],y=r[0],U=r[1],A=r[2],w=n[0],O=n[1],E=n[2];return Math.abs(m-w)<o.E&&Math.abs(p-O)<o.E&&Math.abs(g-E)<o.E?a(t):(h=m-w,d=p-O,b=g-E,M=1/Math.sqrt(h*h+d*d+b*b),h*=M,d*=M,b*=M,i=U*b-A*d,s=A*h-y*b,u=y*d-U*h,M=Math.sqrt(i*i+s*s+u*u),M?(M=1/M,i*=M,s*=M,u*=M):(i=0,s=0,u=0),c=d*u-b*s,l=b*i-h*u,f=h*s-d*i,M=Math.sqrt(c*c+l*l+f*f),M?(M=1/M,c*=M,l*=M,f*=M):(c=0,l=0,f=0),t[0]=i,t[1]=c,t[2]=h,t[3]=0,t[4]=s,t[5]=l,t[6]=d,t[7]=0,t[8]=u,t[9]=f,t[10]=b,t[11]=0,t[12]=-(i*m+s*p+u*g),t[13]=-(c*m+l*p+f*g),t[14]=-(h*m+d*p+b*g),t[15]=1,t)},targetTo:function(t,e,n,r){const o=e[0],i=e[1],a=e[2],s=r[0],u=r[1],c=r[2];let l=o-n[0],f=i-n[1],h=a-n[2],d=l*l+f*f+h*h;d>0&&(d=1/Math.sqrt(d),l*=d,f*=d,h*=d);let b=u*h-c*f,M=c*l-s*h,m=s*f-u*l;return d=b*b+M*M+m*m,d>0&&(d=1/Math.sqrt(d),b*=d,M*=d,m*=d),t[0]=b,t[1]=M,t[2]=m,t[3]=0,t[4]=f*m-h*M,t[5]=h*b-l*m,t[6]=l*M-f*b,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=o,t[13]=i,t[14]=a,t[15]=1,t},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]+")"},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)},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},subtract:y,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},exactEquals:U,equals:A,isOrthoNormal:w,mul:O,sub:E})},51305:(t,e,n)=>{n.d(e,{c:()=>d,g:()=>l,j:()=>S,k:()=>M,m:()=>f,s:()=>c});var r=n(46521),o=n(94961),i=n(65617),a=n(46851),s=n(17896),u=n(98766);function c(t,e,n){n*=.5;const r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function l(t,e){const n=2*Math.acos(e[3]),r=Math.sin(n/2);return r>a.E?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n}function f(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],s=n[0],u=n[1],c=n[2],l=n[3];return t[0]=r*l+a*s+o*c-i*u,t[1]=o*l+a*u+i*s-r*c,t[2]=i*l+a*c+r*u-o*s,t[3]=a*l-r*s-o*u-i*c,t}function h(t,e,n,r){const o=e[0],i=e[1],s=e[2],u=e[3];let c,l,f,h,d,b=n[0],M=n[1],m=n[2],p=n[3];return l=o*b+i*M+s*m+u*p,l<0&&(l=-l,b=-b,M=-M,m=-m,p=-p),1-l>a.E?(c=Math.acos(l),f=Math.sin(c),h=Math.sin((1-r)*c)/f,d=Math.sin(r*c)/f):(h=1-r,d=r),t[0]=h*o+d*b,t[1]=h*i+d*M,t[2]=h*s+d*m,t[3]=h*u+d*p,t}function d(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t}function b(t,e){const n=e[0]+e[4]+e[8];let r;if(n>0)r=Math.sqrt(n+1),t[3]=.5*r,r=.5/r,t[0]=(e[5]-e[7])*r,t[1]=(e[6]-e[2])*r,t[2]=(e[1]-e[3])*r;else{let n=0;e[4]>e[0]&&(n=1),e[8]>e[3*n+n]&&(n=2);const o=(n+1)%3,i=(n+2)%3;r=Math.sqrt(e[3*n+n]-e[3*o+o]-e[3*i+i]+1),t[n]=.5*r,r=.5/r,t[3]=(e[3*o+i]-e[3*i+o])*r,t[o]=(e[3*o+n]+e[3*n+o])*r,t[i]=(e[3*i+n]+e[3*n+i])*r}return t}function M(t,e,n,r){const o=.5*Math.PI/180;e*=o,n*=o,r*=o;const i=Math.sin(e),a=Math.cos(e),s=Math.sin(n),u=Math.cos(n),c=Math.sin(r),l=Math.cos(r);return t[0]=i*u*l-a*s*c,t[1]=a*s*l+i*u*c,t[2]=a*u*c-i*s*l,t[3]=a*u*l+i*s*c,t}const m=u.c,p=u.s,g=u.a,y=f,U=u.b,A=u.d,w=u.l,O=u.e,E=O,T=u.f,I=T,C=u.n,S=u.g,N=u.h,R=(0,i.c)(),v=(0,i.f)(1,0,0),B=(0,i.f)(0,1,0),F=(0,o.a)(),D=(0,o.a)(),P=(0,r.c)();Object.freeze({__proto__:null,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},setAxisAngle:c,getAxisAngle:l,multiply:f,rotateX:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u+a*s,t[1]=o*u+i*s,t[2]=i*u-o*s,t[3]=a*u-r*s,t},rotateY:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u-i*s,t[1]=o*u+a*s,t[2]=i*u+r*s,t[3]=a*u-o*s,t},rotateZ:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u+o*s,t[1]=o*u-r*s,t[2]=i*u+a*s,t[3]=a*u-i*s,t},calculateW:function(t,e){const n=e[0],r=e[1],o=e[2];return t[0]=n,t[1]=r,t[2]=o,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-o*o)),t},slerp:h,random:function(t){const e=(0,a.R)(),n=(0,a.R)(),r=(0,a.R)(),o=Math.sqrt(1-e),i=Math.sqrt(e);return t[0]=o*Math.sin(2*Math.PI*n),t[1]=o*Math.cos(2*Math.PI*n),t[2]=i*Math.sin(2*Math.PI*r),t[3]=i*Math.cos(2*Math.PI*r),t},invert:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=n*n+r*r+o*o+i*i,s=a?1/a:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-o*s,t[3]=i*s,t},conjugate:d,fromMat3:b,fromEuler:M,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},copy:m,set:p,add:g,mul:y,scale:U,dot:A,lerp:w,length:O,len:E,squaredLength:T,sqrLen:I,normalize:C,exactEquals:S,equals:N,rotationTo:function(t,e,n){const r=(0,s.d)(e,n);return r<-.999999?((0,s.c)(R,v,e),(0,s.u)(R)<1e-6&&(0,s.c)(R,B,e),(0,s.n)(R,R),c(t,R,Math.PI),t):r>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,s.c)(R,e,n),t[0]=R[0],t[1]=R[1],t[2]=R[2],t[3]=1+r,C(t,t))},sqlerp:function(t,e,n,r,o,i){return h(F,e,o,i),h(D,n,r,i),h(t,F,D,2*i*(1-i)),t},setAxes:function(t,e,n,r){const o=P;return o[0]=n[0],o[3]=n[1],o[6]=n[2],o[1]=r[0],o[4]=r[1],o[7]=r[2],o[2]=-e[0],o[5]=-e[1],o[8]=-e[2],C(t,b(t,o))}})},94961:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}function i(t,e){return new Float64Array(t,e,4)}n.d(e,{I:()=>a,a:()=>r,b:()=>o,c:()=>i});const a=[0,0,0,1];Object.freeze({__proto__:null,create:r,clone:o,fromValues:function(t,e,n,r){return[t,e,n,r]},createView:i,IDENTITY:a})},72119:(t,e,n)=>{function r(){return new Float32Array(3)}function o(t,e,n){const r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}function i(){return r()}function a(){return o(1,1,1)}function s(){return o(1,0,0)}function u(){return o(0,1,0)}function c(){return o(0,0,1)}n.d(e,{c:()=>r,f:()=>o});const l=i(),f=a(),h=s(),d=u(),b=c();Object.freeze({__proto__:null,create:r,clone:function(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},fromValues:o,createView:function(t,e){return new Float32Array(t,e,3)},zeros:i,ones:a,unitX:s,unitY:u,unitZ:c,ZEROS:l,ONES:f,UNIT_X:h,UNIT_Y:d,UNIT_Z:b})},67900:(t,e,n)=>{n.d(e,{gV:()=>q,En:()=>O,Z7:()=>N,c9:()=>S,_R:()=>I,qE:()=>B,cM:()=>C,hd:()=>l,ty:()=>E,Jo:()=>L,$C:()=>T}),n(80442);var r=n(35454),o=n(70586),i=n(24678),a=n(82971),s=n(68441),u=n(8744),c=n(58116);const l=39.37,f=s.sv.radius*Math.PI/200,h=/UNIT\[([^\]]+)\]\]$/i,d=c.Z,b=/UNIT\[([^\]]+)\]/i,M=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),m=(0,r.w)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),p=t=>t*t,g=t=>t*t*t,y={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:p(.001)},"square-centimeters":{inBaseUnits:p(.01)},"square-decimeters":{inBaseUnits:p(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:p(1e3)},"square-inches":{inBaseUnits:p(.0254)},"square-feet":{inBaseUnits:p(.3048)},"square-yards":{inBaseUnits:p(.9144)},"square-miles":{inBaseUnits:p(1609.344)},"square-us-feet":{inBaseUnits:p(1200/3937)},acres:{inBaseUnits:.0015625*p(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*g(.001)},"cubic-centimeters":{inBaseUnits:1e3*g(.01)},"cubic-decimeters":{inBaseUnits:1e3*g(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*g(1e3)},"cubic-inches":{inBaseUnits:1e3*g(.0254)},"cubic-feet":{inBaseUnits:1e3*g(.3048)},"cubic-yards":{inBaseUnits:1e3*g(.9144)},"cubic-miles":{inBaseUnits:1e3*g(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},U=function(){const t={};for(const e in y)for(const n in y[e].units)t[n]=e;return t}();function A(t){const e=U[t];if(e)return e;throw new Error("unknown measure")}function w(t,e=null){return e=e||A(t),y[e].baseUnit===t}function O(t,e,n){if(e===n)return t;const r=A(e);if(r!==A(n))throw new Error("incompatible units");const o=w(e,r)?t:function(t,e,n){return t*y[n].units[e].inBaseUnits}(t,e,r);return w(n,r)?o:function(t,e,n){return t/y[n].units[e].inBaseUnits}(o,n,r)}function E(t,e,n){return O(t,e,"meters")/(n*Math.PI/180)}function T(t){return m.fromJSON(t.toLowerCase())||null}function I(t){if(t&&"object"==typeof t&&!(0,u.N$)(t))return 1;const e=S(t);return e>1e5?1:e}function C(t){return S(t)>=(t instanceof a.Z?(0,i.Iu)(t).metersPerDegree:1e5)?"meters":B(t)}function S(t,e=s.sv.metersPerDegree){return N(t,!0)||e}function N(t,e=!1){let n,r,o=null;if(null!=t&&("object"==typeof t?(n=t.wkid,r=t.wkt):"number"==typeof t?n=t:"string"==typeof t&&(r=t)),n){if((0,u.o$)(n))return s.yr.metersPerDegree;if((0,u.ME)(n))return s.Z1.metersPerDegree;o=d.values[d[n]],!o&&e&&M.has(n)&&(o=f)}else r&&(D(r)?o=R(h.exec(r),o):F(r)&&(o=R(b.exec(r),o)));return o}function R(t,e){return t&&t[1]?v(t[1]):e}function v(t){return parseFloat(t.split(",")[1])}function B(t){let e,n,r=null;if(null!=t&&("object"==typeof t?(e=t.wkid,n=t.wkt):"number"==typeof t?e=t:"string"==typeof t&&(n=t)),e)r=d.units[d[e]];else if(n){const t=D(n)?h:F(n)?b:null;if(t){const e=t.exec(n);e&&e[1]&&(r=function(t){const e=/[\\"\\']{1}([^\\"\\']+)/.exec(t);let n=e&&e[1];if(!n||-1===d.units.indexOf(n)){const e=v(t);n=null;const r=d.values;for(let t=0;t<r.length;++t)if(Math.abs(e-r[t])<1e-7){n=d.units[t];break}}return n}(e[1]))}}return(0,o.pC)(r)?T(r):null}function F(t){return/^GEOCCS/i.test(t)}function D(t){return/^PROJCS/i.test(t)}const P={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},x={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},q=(0,r.w)()(P),L=(0,r.w)()(x);(0,r.w)()({...P,...x})},24678:(t,e,n)=>{n.d(e,{GG:()=>s,HQ:()=>u,VY:()=>c,wY:()=>l,Iu:()=>h,e8:()=>d,rS:()=>f});var r=n(82971),o=n(68441),i=n(8744);function a(t){return new r.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${t.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const s=a(o.sv),u=a(o.yr),c=a(o.Z1),l=new r.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${o.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function f(t){return t&&((0,i.BZ)(t)||t===u)?u:t&&((0,i.V2)(t)||t===c)?c:s}function h(t){return t&&((0,i.BZ)(t)||t===u)?o.yr:t&&((0,i.V2)(t)||t===c)?o.Z1:o.sv}function d(t){return(0,i.o$)(t)?o.yr:(0,i.ME)(t)?o.Z1:o.sv}},24470:(t,e,n)=>{n.d(e,{Gv:()=>h,SO:()=>c,r3:()=>f,Ue:()=>i,oJ:()=>s,al:()=>a,kK:()=>l,HH:()=>u}),n(80442),n(22021);var r=n(70586),o=n(6570);function i(t=d){return[t[0],t[1],t[2],t[3]]}function a(t,e,n,r,o=i()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o}function s(t,e=i()){return e[0]=t.xmin,e[1]=t.ymin,e[2]=t.xmax,e[3]=t.ymax,e}function u(t,e){return new o.Z({xmin:t[0],ymin:t[1],xmax:t[2],ymax:t[3],spatialReference:e})}function c(t){return function(t){return(0,r.Wi)(t)||t[0]>=t[2]?0:t[2]-t[0]}(t)*function(t){return t[1]>=t[3]?0:t[3]-t[1]}(t)}function l(t,e){return Math.max(e[0],t[0])<=Math.min(e[2],t[2])&&Math.max(e[1],t[1])<=Math.min(e[3],t[3])}function f(t,e){return e[0]>=t[0]&&e[2]<=t[2]&&e[1]>=t[1]&&e[3]<=t[3]}const h=[1/0,1/0,-1/0,-1/0],d=[0,0,0,0]},69285:(t,e,n)=>{n.d(e,{k:()=>a});var r=n(70586),o=n(67900),i=n(8744);function a(t,e,n){if((0,r.Wi)(e)||(0,r.Wi)(n)||n.vcsWkid||(0,i.fS)(e,n))return null;const a=(0,o._R)(e)/(0,o._R)(n);if(1===a)return null;switch(t){case"point":case"esriGeometryPoint":return t=>function(t,e){t&&null!=t.z&&(t.z*=e)}(t,a);case"polyline":case"esriGeometryPolyline":return t=>function(t,e){if(t)for(const n of t.paths)for(const t of n)t.length>2&&(t[2]*=e)}(t,a);case"polygon":case"esriGeometryPolygon":return t=>function(t,e){if(t)for(const n of t.rings)for(const t of n)t.length>2&&(t[2]*=e)}(t,a);case"multipoint":case"esriGeometryMultipoint":return t=>function(t,e){if(t)for(const n of t.points)n.length>2&&(n[2]*=e)}(t,a);case"extent":case"esriGeometryExtent":return t=>function(t,e){t&&null!=t.zmin&&null!=t.zmax&&(t.zmin*=e,t.zmax*=e)}(t,a);default:return null}}},16583:(t,e,n)=>{n.r(e),n.d(e,{default:()=>Z});var r=n(70586),o=n(1533),i=n(51305);function a(){const t=new Float32Array(4);return t[3]=1,t}Object.freeze({__proto__:null,create:a,clone:function(t){const e=new Float32Array(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},fromValues:function(t,e,n,r){const o=new Float32Array(4);return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o},createView:function(t,e){return new Float32Array(t,e,4)}});var s=n(17896),u=n(72119),c=n(44547),l=n(82971),f=n(23030),h=n(14008),d=n(46329),b=n(20102),M=n(22974),m=n(92604);const p=!0;function g(t,e,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,n+0,10)),version:e.getUint16(n+10,p),checksum:e.getUint32(n+12,p)}}function y(t,e,n){const r=[];e=U(t,e,r);const o=[];for(let i=0;i<r.length;i++){o.length=0,e=U(t,e,o);for(let t=0;t<o.length;t++)n.push(o[t]+r[i])}return e}function U(t,e,n){const r=new DataView(t,e),o=r.getUint8(0),i=31&o,a=!!(32&o),s=(192&o)>>6;let u=0;if(0===s)u=r.getUint32(1,p),e+=5;else if(1===s)u=r.getUint16(1,p),e+=3;else{if(2!==s)throw new b.Z("lepcc-decode-error","Bad count type");u=r.getUint8(1),e+=2}if(a)throw new b.Z("lepcc-decode-error","LUT not implemented");const c=Math.ceil(u*i/8),l=new Uint8Array(t,e,c);let f=0,h=0,d=0;const M=-1>>>32-i;for(let t=0;t<u;t++){for(;h<i;)f|=l[d]<<h,h+=8,d+=1;n[t]=f&M,f>>>=i,h-=i,h+i>32&&(f|=l[d-1]>>8-h)}return e+d}var A=n(47026);const w=m.Z.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function O(t,e,n){let r="",o=0;for(;o<n;){const i=t[e+o];if(i<128)r+=String.fromCharCode(i),o++;else if(i>=192&&i<224){if(o+1>=n)throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const a=(31&i)<<6|63&t[e+o+1];r+=String.fromCharCode(a),o+=2}else if(i>=224&&i<240){if(o+2>=n)throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(15&i)<<12|(63&t[e+o+1])<<6|63&t[e+o+2];r+=String.fromCharCode(a),o+=3}else{if(!(i>=240&&i<248))throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(o+3>=n)throw new b.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(7&i)<<18|(63&t[e+o+1])<<12|(63&t[e+o+2])<<6|63&t[e+o+3];if(a>=65536){const t=55296+(a-65536>>10),e=56320+(1023&a);r+=String.fromCharCode(t,e)}else r+=String.fromCharCode(a);o+=4}}}return r}function E(t,e){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<e.length;o++){const i=e[o],a=i.valueType||i.type,s=v[a];n.fields[i.property]=s(t,r),r+=R[a].BYTES_PER_ELEMENT}return n.byteCount=r,n}function T(t,e,n){const r=[];let o,i,a=0;for(i=0;i<t;i+=1){if(o=e[i],o>0){if(r.push(O(n,a,o-1)),0!==n[a+o-1])throw new b.Z("string-array-error","Invalid string array: missing null termination.")}else r.push(null);a+=o}return r}function I(t,e){return new(0,R[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function C(t,e,n){if(e!==t&&w.error(`Invalid ${n} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new b.Z("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}const S={position:A.T.POSITION,normal:A.T.NORMAL,color:A.T.COLOR,uv0:A.T.UV0,region:A.T.UVREGION};function N(t,e,n){if("lepcc-rgb"===t.encoding)return function(t){const e=new DataView(t,0);let n=0;const{identifier:r,version:o}=g(t,e,n);if(n+=16,"ClusterRGB"!==r)throw new b.Z("lepcc-decode-error","Bad identifier");if(o>1)throw new b.Z("lepcc-decode-error","Unknown version");const i=(s=n,{sizeLo:(a=e).getUint32(s+0,p),sizeHi:a.getUint32(s+4,p),count:a.getUint32(s+8,p),colorMapCount:a.getUint16(s+12,p),lookupMethod:a.getUint8(s+14),compressionMethod:a.getUint8(s+15)});var a,s;if(n+=16,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");if((2===i.lookupMethod||1===i.lookupMethod)&&0===i.compressionMethod){if(3*i.colorMapCount+i.count+n!==t.byteLength||i.colorMapCount>256)throw new b.Z("lepcc-decode-error","Bad count");const e=new Uint8Array(t,n,3*i.colorMapCount),r=new Uint8Array(t,n+3*i.colorMapCount,i.count),o=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++){const n=r[t];o[3*t]=e[3*n],o[3*t+1]=e[3*n+1],o[3*t+2]=e[3*n+2]}return o}if(0===i.lookupMethod&&0===i.compressionMethod){if(3*i.count+n!==t.byteLength||0!==i.colorMapCount)throw new b.Z("lepcc-decode-error","Bad count");return new Uint8Array(t,n).slice()}if(i.lookupMethod<=2&&1===i.compressionMethod){if(n+3!==t.byteLength||1!==i.colorMapCount)throw new b.Z("lepcc-decode-error","Bad count");const r=e.getUint8(n),o=e.getUint8(n+1),a=e.getUint8(n+2),s=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++)s[3*t]=r,s[3*t+1]=o,s[3*t+2]=a;return s}throw new b.Z("lepcc-decode-error","Bad method "+i.lookupMethod+","+i.compressionMethod)}(e);if("lepcc-intensity"===t.encoding)return function(t){const e=new DataView(t,0);let n=0;const{identifier:r,version:o}=g(t,e,n);if(n+=16,"Intensity "!==r)throw new b.Z("lepcc-decode-error","Bad identifier");if(o>1)throw new b.Z("lepcc-decode-error","Unknown version");const i=(s=n,{sizeLo:(a=e).getUint32(s+0,p),sizeHi:a.getUint32(s+4,p),count:a.getUint32(s+8,p),scaleFactor:a.getUint16(s+12,p),bitsPerPoint:a.getUint8(s+14),reserved:a.getUint8(s+15)});var a,s;if(n+=16,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const u=new Uint16Array(i.count);if(8===i.bitsPerPoint){if(i.count+n!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const e=new Uint8Array(t,n,i.count);for(let t=0;t<i.count;t++)u[t]=e[t]*i.scaleFactor}else if(16===i.bitsPerPoint){if(2*i.count+n!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const e=new Uint16Array(t,n,i.count);for(let t=0;t<i.count;t++)u[t]=e[t]*i.scaleFactor}else{const e=[];if(U(t,n,e)!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");for(let t=0;t<i.count;t++)u[t]=e[t]*i.scaleFactor}return u}(e);if(null!=t.encoding&&""!==t.encoding)throw new b.Z("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(w.warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(w.warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const r=function(t,e,n){const r=null!=e.header?E(t,e.header):{byteOffset:0,byteCount:0,fields:{count:n}},o={header:r,byteOffset:r.byteCount,byteCount:0,entries:Object.create(null)};let i=r.byteCount;for(let t=0;t<e.ordering.length;t++){const n=e.ordering[t],a=(0,M.d9)(e[n]);if(a.count=r.fields.count,"String"===a.valueType){if(a.byteOffset=i,a.byteCount=r.fields[n+"ByteCount"],"UTF-8"!==a.encoding)throw new b.Z("unsupported-encoding","Unsupported String encoding.",{encoding:a.encoding})}else{if(!B(a.valueType))throw new b.Z("unsupported-value-type","Unsupported binary valueType",{valueType:a.valueType});{const t=F(a.valueType);i+=i%t!=0?t-i%t:0,a.byteOffset=i,a.byteCount=t*a.valuesPerElement*a.count}}i+=a.byteCount,o.entries[n]=a}return o.byteCount=i-o.byteOffset,o}(e,t,n);C(r.byteOffset+r.byteCount,e.byteLength,"attribute");const o=r.entries.attributeValues||r.entries.objectIds;if(o){if("String"===o.valueType){const t=r.entries.attributeByteCounts,n=I(e,t),i=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,o);return T(t.count,n,i)}return I(e,o)}throw new b.Z("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const R={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},v={Float32:(t,e)=>new DataView(t,0).getFloat32(e,!0),Float64:(t,e)=>new DataView(t,0).getFloat64(e,!0),UInt8:(t,e)=>new DataView(t,0).getUint8(e),Int8:(t,e)=>new DataView(t,0).getInt8(e),UInt16:(t,e)=>new DataView(t,0).getUint16(e,!0),Int16:(t,e)=>new DataView(t,0).getInt16(e,!0),UInt32:(t,e)=>new DataView(t,0).getUint32(e,!0),Int32:(t,e)=>new DataView(t,0).getInt32(e,!0)};function B(t){return R.hasOwnProperty(t)}function F(t){return B(t)?R[t].BYTES_PER_ELEMENT:0}function D(t,e){if(null==t.encoding||""===t.encoding){const n=function(t,e){const n=E(t,e&&e.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},i=n.fields,a=null!=i.vertexCount?i.vertexCount:i.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const n={...e.vertexAttributes[t],byteOffset:r,count:a},i=S[t]?S[t]:"_"+t;o.vertexAttributes[i]=n,r+=F(n.valueType)*n.valuesPerElement*a}const s=i.faceCount;if(e.faces&&s){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const n={...e.faces[t],byteOffset:r,count:s};o.faces[t]=n,r+=F(n.valueType)*n.valuesPerElement*s}}const u=i.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&u){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const n={...e.featureAttributes[t],byteOffset:r,count:u};o.featureAttributes[t]=n,r+=("UInt64"===n.valueType?8:F(n.valueType))*n.valuesPerElement*u}}return C(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}(e,t);if((0,r.Wi)(n.vertexAttributes.position))return;const o=I(e,n.vertexAttributes.position),i=n.header.fields,a=[i.offsetX,i.offsetY,i.offsetZ],s=[i.scaleX,i.scaleY,i.scaleZ],u=o.length/3,c=new Float64Array(3*u);for(let t=0;t<u;t++)c[3*t]=o[3*t]*s[0]+a[0],c[3*t+1]=o[3*t+1]*s[1]+a[1],c[3*t+2]=o[3*t+2]*s[2]+a[2];return c}if("lepcc-xyz"===t.encoding)return function(t){const e=new DataView(t,0);let n=0;const{identifier:r,version:o}=g(t,e,n);if(n+=16,"LEPCC "!==r)throw new b.Z("lepcc-decode-error","Bad identifier");if(o>1)throw new b.Z("lepcc-decode-error","Unknown version");const i=(s=n,{sizeLo:(a=e).getUint32(s+0,p),sizeHi:a.getUint32(s+4,p),minX:a.getFloat64(s+8,p),minY:a.getFloat64(s+16,p),minZ:a.getFloat64(s+24,p),maxX:a.getFloat64(s+32,p),maxY:a.getFloat64(s+40,p),maxZ:a.getFloat64(s+48,p),errorX:a.getFloat64(s+56,p),errorY:a.getFloat64(s+64,p),errorZ:a.getFloat64(s+72,p),count:a.getUint32(s+80,p),reserved:a.getUint32(s+84,p)});var a,s;if(n+=88,i.sizeHi*2**32+i.sizeLo!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad size");const u=new Float64Array(3*i.count),c=[],l=[],f=[],h=[];if(n=y(t,n,c),n=y(t,n,l),n=y(t,n,f),n=y(t,n,h),n!==t.byteLength)throw new b.Z("lepcc-decode-error","Bad length");let d=0,M=0;for(let t=0;t<c.length;t++){M+=c[t];let e=0;for(let n=0;n<l[t];n++){e+=f[d];const t=h[d];u[3*d]=Math.min(i.maxX,i.minX+2*i.errorX*e),u[3*d+1]=Math.min(i.maxY,i.minY+2*i.errorY*M),u[3*d+2]=Math.min(i.maxZ,i.minZ+2*i.errorZ*t),d++}}return{errorX:i.errorX,errorY:i.errorY,errorZ:i.errorZ,result:u}}(e).result}function P(t,e,n){return(0,r.pC)(t)&&t.attributeInfo.useElevation?function(t,e){const n=new Float64Array(e);for(let r=0;r<e;r++)n[r]=t[3*r+2];return n}(e,n):(0,r.pC)(t)?N(t.attributeInfo.storageInfo,t.buffer,n):null}function x(t){return null==t||"none"===t?null:"low-four-bit"===t?t=>15&t:"high-four-bit"===t?t=>(240&t)>>4:"absolute-value"===t?t=>Math.abs(t):"modulo-ten"===t?t=>t%10:null}function q(t){let e=0;for(const n of t||[])e|=1<<n;return e}class L{transform(t){const e=this._transform(t),n=[e.points.buffer,e.rgb.buffer];(0,r.pC)(e.pointIdFilterMap)&&n.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&(0,o.eP)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&n.push(t.values.buffer);return Promise.resolve({result:e,transferList:n})}_transform(t){const e=D(t.schema,t.geometryBuffer);let n=e.length/3,o=null;const i=[],a=P(t.primaryAttributeData,e,n);(0,r.pC)(t.primaryAttributeData)&&a&&i.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:a});const s=P(t.modulationAttributeData,e,n);(0,r.pC)(t.modulationAttributeData)&&s&&i.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:s});let u=function(t,e,n,r){const{rendererJSON:o,isRGBRenderer:i}=t;let a=null,s=null;if(e&&i)a=e;else if(e&&"pointCloudUniqueValueRenderer"===o.type){s=d.Z.fromJSON(o);const t=s.colorUniqueValueInfos;a=new Uint8Array(3*r);const n=x(s.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.indexOf(r)>=0){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o.type){s=h.Z.fromJSON(o);const t=s.stops;a=new Uint8Array(3*r);const n=x(s.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o],i=t.length-1;if(r<t[0].value)a[3*o]=t[0].color.r,a[3*o+1]=t[0].color.g,a[3*o+2]=t[0].color.b;else if(r>=t[i].value)a[3*o]=t[i].color.r,a[3*o+1]=t[i].color.g,a[3*o+2]=t[i].color.b;else for(let e=1;e<t.length;e++)if(r<t[e].value){const n=(r-t[e-1].value)/(t[e].value-t[e-1].value);a[3*o]=t[e].color.r*n+t[e-1].color.r*(1-n),a[3*o+1]=t[e].color.g*n+t[e-1].color.g*(1-n),a[3*o+2]=t[e].color.b*n+t[e-1].color.b*(1-n);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o.type){s=f.Z.fromJSON(o);const t=s.colorClassBreakInfos;a=new Uint8Array(3*r);const n=x(s.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o];for(let e=0;e<t.length;e++)if(r>=t[e].minValue&&r<=t[e].maxValue){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else{a=new Uint8Array(3*r);for(let t=0;t<a.length;t++)a[t]=255}if(n&&s&&s.colorModulation){const t=s.colorModulation.minValue,e=s.colorModulation.maxValue,o=.3;for(let i=0;i<r;i++){const r=n[i],s=r>=e?1:r<=t?o:o+(1-o)*(r-t)/(e-t);a[3*i]=s*a[3*i],a[3*i+1]=s*a[3*i+1],a[3*i+2]=s*a[3*i+2]}}return a}(t.rendererInfo,a,s,n);if(t.filterInfo&&t.filterInfo.length>0&&(0,r.pC)(t.filterAttributesData)){const r=t.filterAttributesData.map((t=>{const r=P(t,e,n),o={attributeInfo:t.attributeInfo,values:r};return i.push(o),o}));o=new Uint32Array(n),n=function(t,e,n,r,o){const i=t.length/3;let a=0;for(let s=0;s<i;s++){let i=!0;for(let t=0;t<r.length&&i;t++){const{filterJSON:e}=r[t],n=o[t].values[s];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;-1!==e.values.indexOf(n)===t&&(i=!1);break}case"pointCloudBitfieldFilter":{const t=q(e.requiredSetBits),r=q(e.requiredClearBits);(n&t)===t&&0==(n&r)||(i=!1);break}case"pointCloudReturnFilter":{const t=15&n,r=n>>>4&15,o=r>1,a=1===t,s=t===r;let u=!1;for(const t of e.includedReturns)if("last"===t&&s||"firstOfMany"===t&&a&&o||"lastOfMany"===t&&s&&o||"single"===t&&!o){u=!0;break}u||(i=!1);break}}}i&&(n[a]=s,t[3*a]=t[3*s],t[3*a+1]=t[3*s+1],t[3*a+2]=t[3*s+2],e[3*a]=e[3*s],e[3*a+1]=e[3*s+1],e[3*a+2]=e[3*s+2],a++)}return a}(e,u,o,t.filterInfo,r)}for(const r of t.userAttributesData){const t=P(r,e,n);i.push({attributeInfo:r.attributeInfo,values:t})}3*n<u.length&&(u=new Uint8Array(u.buffer.slice(0,3*n))),this._applyElevationOffsetInPlace(e,n,t.elevationOffset);const c=this._transformCoordinates(e,n,t.obb,l.Z.fromJSON(t.inSR),l.Z.fromJSON(t.outSR));return{obb:t.obb,points:c,rgb:u,attributes:i,pointIdFilterMap:o}}_transformCoordinates(t,e,n,r,o){if(!(0,c.CM)(t,r,0,t,o,0,e))throw Error("Can't reproject");const a=(0,u.f)(n.center[0],n.center[1],n.center[2]),l=(0,u.c)(),f=(0,u.c)();(0,i.c)(k,n.quaternion);const h=new Float32Array(3*e);for(let r=0;r<e;r++)l[0]=t[3*r]-a[0],l[1]=t[3*r+1]-a[1],l[2]=t[3*r+2]-a[2],(0,s.q)(f,l,k),n.halfSize[0]=Math.max(n.halfSize[0],Math.abs(f[0])),n.halfSize[1]=Math.max(n.halfSize[1],Math.abs(f[1])),n.halfSize[2]=Math.max(n.halfSize[2],Math.abs(f[2])),h[3*r]=l[0],h[3*r+1]=l[1],h[3*r+2]=l[2];return h}_applyElevationOffsetInPlace(t,e,n){if(0!==n)for(let r=0;r<e;r++)t[3*r+2]+=n}}const k=a();function Z(){return new L}},47026:(t,e,n)=>{var r,o,i,a,s,u,c,l,f,h,d,b,M,m;n.d(e,{JJ:()=>M,Vr:()=>o,CE:()=>d,MX:()=>h,Rw:()=>u,hU:()=>c,Am:()=>a,T:()=>r}),function(t){t.POSITION="position",t.NORMAL="normal",t.UV0="uv0",t.AUXPOS1="auxpos1",t.AUXPOS2="auxpos2",t.MAPPOS="mapPos",t.COLOR="color",t.SYMBOLCOLOR="symbolColor",t.SIZE="size",t.TANGENT="tangent",t.OFFSET="offset",t.SUBDIVISIONFACTOR="subdivisionFactor",t.COLORFEATUREATTRIBUTE="colorFeatureAttribute",t.SIZEFEATUREATTRIBUTE="sizeFeatureAttribute",t.OPACITYFEATUREATTRIBUTE="opacityFeatureAttribute",t.DISTANCETOSTART="distanceToStart",t.UVMAPSPACE="uvMapSpace",t.BOUNDINGRECT="boundingRect",t.UVREGION="uvRegion",t.NORMALCOMPRESSED="normalCompressed",t.PROFILERIGHT="profileRight",t.PROFILEUP="profileUp",t.PROFILEVERTEXANDNORMAL="profileVertexAndNormal",t.FEATUREVALUE="featureValue",t.MODELORIGINHI="modelOriginHi",t.MODELORIGINLO="modelOriginLo",t.MODEL="model",t.MODELNORMAL="modelNormal",t.INSTANCECOLOR="instanceColor",t.INSTANCEFEATUREATTRIBUTE="instanceFeatureAttribute",t.LOCALTRANSFORM="localTransform",t.GLOBALTRANSFORM="globalTransform",t.BOUNDINGSPHERE="boundingSphere",t.MODELORIGIN="modelOrigin",t.MODELSCALEFACTORS="modelScaleFactors",t.FEATUREATTRIBUTE="featureAttribute",t.STATE="state",t.LODLEVEL="lodLevel",t.POSITION0="position0",t.POSITION1="position1",t.NORMALA="normalA",t.NORMALB="normalB",t.COMPONENTINDEX="componentIndex",t.VARIANTOFFSET="variantOffset",t.VARIANTSTROKE="variantStroke",t.VARIANTEXTENSION="variantExtension",t.U8PADDING="u8padding",t.U16PADDING="u16padding",t.SIDENESS="sideness",t.START="start",t.END="end",t.UP="up",t.EXTRUDE="extrude"}(r||(r={})),function(t){t[t.None=0]="None",t[t.Front=1]="Front",t[t.Back=2]="Back",t[t.COUNT=3]="COUNT"}(o||(o={})),function(t){t[t.NONE=0]="NONE",t[t.SMAA=1]="SMAA"}(i||(i={})),function(t){t[t.Color=0]="Color",t[t.Alpha=1]="Alpha",t[t.FrontFace=2]="FrontFace",t[t.NONE=3]="NONE",t[t.COUNT=4]="COUNT"}(a||(a={})),function(t){t[t.BACKGROUND=0]="BACKGROUND",t[t.UPDATE=1]="UPDATE"}(s||(s={})),function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"}(u||(u={})),function(t){t[t.IntegratedMeshMaskExcluded=1]="IntegratedMeshMaskExcluded",t[t.OutlineVisualElementMask=2]="OutlineVisualElementMask"}(c||(c={})),function(t){t[t.ASYNC=0]="ASYNC",t[t.SYNC=1]="SYNC"}(l||(l={})),function(t){t[t.Highlight=0]="Highlight",t[t.MaskOccludee=1]="MaskOccludee",t[t.COUNT=2]="COUNT"}(f||(f={})),function(t){t[t.Triangle=0]="Triangle",t[t.Point=1]="Point",t[t.Line=2]="Line"}(h||(h={})),function(t){t[t.STRETCH=1]="STRETCH",t[t.PAD=2]="PAD"}(d||(d={})),function(t){t[t.CHANGED=0]="CHANGED",t[t.UNCHANGED=1]="UNCHANGED"}(b||(b={})),function(t){t[t.Blend=0]="Blend",t[t.Opaque=1]="Opaque",t[t.Mask=2]="Mask",t[t.MaskBlend=3]="MaskBlend",t[t.COUNT=4]="COUNT"}(M||(M={})),function(t){t[t.OFF=0]="OFF",t[t.ON=1]="ON"}(m||(m={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8216],{1692:(e,t,s)=>{s.d(t,{Z:()=>w});var r=s(43697),o=s(66577),i=s(51773),n=s(78223),a=s(15923),l=(s(80442),s(22974)),u=s(92604),p=s(70586),c=s(31263),d=s(1153),h=s(52011);u.Z.getLogger("esri.core.Clonable");const y=e=>{let t=class extends e{clone(){const e=(0,p.s3)((0,d.vw)(this),"unable to clone instance of non-accessor class"),t=e.metadatas,s=e.store,r={},o=new Map;for(const e in t){const i=t[e],n=null==s?void 0:s.originOf(e);if(i.readOnly||!1===i.clonable||n!==c.s3.USER&&n!==c.s3.DEFAULTS)continue;const a=this[e];let u=null;const p=i.clonable;u="function"==typeof p?p(a):"reference"===p?a:(0,l.Vo)(a),null!=a&&null==u||(n===c.s3.DEFAULTS?o.set(e,u):r[e]=u)}const i=new(0,Object.getPrototypeOf(this).constructor)(r);if(o.size){var n;const e=null==(n=(0,d.vw)(i))?void 0:n.store;if(e)for(const[t,s]of o)e.set(t,s,c.s3.DEFAULTS)}return i}};return t=(0,r._)([(0,h.j)("esri.core.Clonable")],t),t};let m=class extends(y(a.Z)){};m=(0,r._)([(0,h.j)("esri.core.Clonable")],m);var f=s(96674),g=s(99001),b=s(5600),v=(s(67676),s(75215),s(33955));let _=class extends(y(f.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,g.D)(),configurable:!0})}normalizeCtorArgs(e,t,s,r){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:s,popupTemplate:r}}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,p.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const s=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",s,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{geometry:(0,p.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,p.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}notifyMeshTransformChanged(){(0,p.pC)(this.geometry)&&"mesh"===this.geometry.type&&this._notifyLayer("transform",this.geometry.transform,this.geometry.transform)}_notifyLayer(e,t,s,r){if(!this.layer||!("graphicChanged"in this.layer))return;const o={graphic:this,property:e,oldValue:t,newValue:s};"attributes"===e&&(o.attributeName=r),this.layer.graphicChanged(o)}};(0,r._)([(0,b.Cb)({value:null})],_.prototype,"attributes",null),(0,r._)([(0,b.Cb)({value:null,types:o.qM,json:{read:v.im}})],_.prototype,"geometry",null),(0,r._)([(0,b.Cb)({type:Boolean})],_.prototype,"isAggregate",void 0),(0,r._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"layer",void 0),(0,r._)([(0,b.Cb)({type:i.Z})],_.prototype,"popupTemplate",void 0),(0,r._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"sourceLayer",void 0),(0,r._)([(0,b.Cb)({value:null,types:n.LB})],_.prototype,"symbol",null),(0,r._)([(0,b.Cb)({type:Boolean,value:!0})],_.prototype,"visible",null),_=(0,r._)([(0,h.j)("esri.Graphic")],_),(_||(_={})).generateUID=g.D;const w=_},99880:(e,t,s)=>{s.d(t,{V:()=>l});var r=s(68773),o=(s(3172),s(20102)),i=s(92604),n=s(17452);const a=i.Z.getLogger("esri.assets");function l(e){if(!r.Z.assetsPath)throw a.errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new o.Z("assets:path-not-set","config.assetsPath is not set");return(0,n.v_)(r.Z.assetsPath,e)}},3920:(e,t,s)=>{s.d(t,{r:()=>p,p:()=>u});var r=s(43697),o=s(15923),i=s(61247),n=s(5600),a=s(52011),l=s(89749);const u=e=>{let t=class extends e{destroy(){var e,t;this.destroyed||(null==(e=this._get("handles"))||e.destroy(),null==(t=this._get("updatingHandles"))||t.destroy())}get handles(){return this._get("handles")||new i.Z}get updatingHandles(){return this._get("updatingHandles")||new l.t}};return(0,r._)([(0,n.Cb)({readOnly:!0})],t.prototype,"handles",null),(0,r._)([(0,n.Cb)({readOnly:!0})],t.prototype,"updatingHandles",null),t=(0,r._)([(0,a.j)("esri.core.HandleOwner")],t),t};let p=class extends(u(o.Z)){};p=(0,r._)([(0,a.j)("esri.core.HandleOwner")],p)},36030:(e,t,s)=>{s.d(t,{J:()=>i});var r=s(35454),o=s(5600);function i(e,t={}){var s;const i=e instanceof r.X?e:new r.X(e,t),n={type:null==(s=null==t?void 0:t.ignoreUnknown)||s?i.apiValues:String,json:{type:i.jsonValues,read:(null==t||!t.readOnly)&&{reader:i.read},write:{writer:i.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(n.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(n.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(n.json.name=t.name),(0,o.Cb)(n)}},74085:(e,t,s)=>{function r(e){}s.d(t,{Bg:()=>r}),s(80442)},80903:(e,t,s)=>{s.d(t,{Z:()=>l});var r=s(50758),o=s(92604),i=s(95330),n=s(25045);const a=o.Z.getLogger("esri.core.workers.Connection");class l{constructor(){this._clients=new Array,this._clientPromises=new Array,this._clientIdx=0}destroy(){this.close()}get closed(){return!this._clients||!this._clients.length}open(e,t){return new Promise(((s,r)=>{let o=!0;const a=e=>{(0,i.k_)(t.signal),o&&(o=!1,e())};this._clients.length=e.length,this._clientPromises.length=e.length;for(let o=0;o<e.length;++o){const l=e[o];(0,i.y8)(l)?this._clientPromises[o]=l.then((e=>(this._clients[o]=new n.default(e,t),a(s),this._clients[o])),(()=>(a(r),null))):(this._clients[o]=new n.default(l,t),this._clientPromises[o]=Promise.resolve(this._clients[o]),a(s))}}))}broadcast(e,t,s){const r=new Array(this._clientPromises.length);for(let o=0;o<this._clientPromises.length;++o){const i=this._clientPromises[o];r[o]=i.then((r=>r.invoke(e,t,s)))}return r}close(){for(const e of this._clientPromises)e.then((e=>e.close()));this._clients.length=0,this._clientPromises.length=0}getAvailableClient(){let e;for(let t=0;t<this._clients.length;++t){const s=this._clients[t];if(s){if(!s.isBusy())return Promise.resolve(s)}else e=e||[],e.push(this._clientPromises[t])}return e?Promise.race(e):(this._clientIdx=(this._clientIdx+1)%this._clients.length,Promise.resolve(this._clients[this._clientIdx]))}invoke(e,t,s){let r=null;return Array.isArray(s)?(a.warn("invoke()","The transferList parameter is deprecated, use the options object instead"),r={transferList:s}):r=s,this.closed?Promise.reject(new Error("Connection closed")):this.getAvailableClient().then((s=>s.invoke(e,t,r)))}on(e,t){return Promise.all(this._clientPromises).then((()=>(0,r.AL)(this._clients.map((s=>s.on(e,t))))))}openPorts(){return new Promise((e=>{const t=new Array(this._clientPromises.length);let s=t.length;for(let r=0;r<this._clientPromises.length;++r)this._clientPromises[r].then((o=>{t[r]=o.openPort(),0==--s&&e(t)}))}))}get test(){return{numClients:this._clients.length}}}},25045:(e,t,s)=>{s.r(t),s.d(t,{default:()=>b});var r=s(40330),o=s(20102),i=s(91460),n=s(70586),a=s(95330),l=s(94362),u=s(17202);const p={statsWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(6841)]).then(s.bind(s,36841)),geometryEngineWorker:()=>Promise.all([s.e(5837),s.e(8227)]).then(s.bind(s,48227)),CSVSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(4547),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(966)]).then(s.bind(s,27793)),EdgeProcessingWorker:()=>Promise.all([s.e(6481),s.e(8936)]).then(s.bind(s,18936)),ElevationSamplerWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(4547),s.e(2781),s.e(6481),s.e(6459),s.e(3553)]).then(s.bind(s,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(4588),s.e(4547),s.e(1534),s.e(3485),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(5404)]).then(s.bind(s,2255)),GeoJSONSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(4547),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(7845)]).then(s.bind(s,97845)),LercWorker:()=>s.e(3027).then(s.bind(s,23027)),MemorySourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(4547),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(639)]).then(s.bind(s,30639)),PBFDecoderWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(8961),s.e(147)]).then(s.bind(s,61916)),Pipeline:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(5638),s.e(4588),s.e(4547),s.e(1534),s.e(3485),s.e(3578),s.e(8961),s.e(7054),s.e(4325),s.e(2730),s.e(7783)]).then(s.bind(s,97783)),PointCloudWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(4547),s.e(9294),s.e(9474)]).then(s.bind(s,16583)),RasterWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(4547),s.e(176),s.e(2398),s.e(5340)]).then(s.bind(s,61576)),SceneLayerWorker:()=>s.e(1412).then(s.bind(s,31412)),WFSSourceWorker:()=>Promise.all([s.e(2785),s.e(6570),s.e(9928),s.e(2303),s.e(7668),s.e(4547),s.e(1534),s.e(3578),s.e(8961),s.e(7054),s.e(2781),s.e(6348),s.e(4556),s.e(3230)]).then(s.bind(s,43230)),WorkerTileHandler:()=>Promise.all([s.e(2303),s.e(4325),s.e(1785),s.e(6810),s.e(9872)]).then(s.bind(s,56456))},{CLOSE:c,ABORT:d,INVOKE:h,RESPONSE:y,OPEN_PORT:m,ON:f}=l.Cs;class g{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===l.Cs.ABORT?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class b{constructor(e,t){this._port=e,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new g((e=>this._onInvokeMessage(e))),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}static connect(e){const t=new MessageChannel;let s;s="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const r=new b(t.port1,{channel:t,client:s});return"object"==typeof s&&"remoteClient"in s&&(s.remoteClient=r),b.clients.set(r,s),t.port2}static loadWorker(e){const t=p[e];return t?t():Promise.resolve(null)}close(){this._post({type:c}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,s){const r=s&&s.signal,i=s&&s.transferList;if(!this._port)return Promise.reject(new o.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const n=(0,l.jt)();return new Promise(((s,o)=>{const l=(0,a.$F)(r,(()=>{var e;const t=this._outJobs.get(n);t&&(this._outJobs.delete(n),null==(e=t.abortHandle)||e.remove(),this._post({type:d,jobId:n}),o((0,a.zE)()))})),u={resolve:s,reject:o,abortHandle:l,debugInfo:e};this._outJobs.set(n,u),this._post({type:h,jobId:n,methodName:e,abortable:null!=r},t,i)}))}on(e,t){const s=new MessageChannel;function r(e){t(e.data)}return this._port.postMessage({type:l.Cs.ON,eventType:e,port:s.port2},[s.port2]),s.port1.addEventListener("message",r),s.port1.start(),{remove(){s.port1.postMessage({type:l.Cs.CLOSE}),s.port1.close(),s.port1.removeEventListener("message",r)}}}openPort(){const e=new MessageChannel;return this._post({type:m,port:e.port2}),e.port1}_close(){this._channel&&(this._channel=null),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach((e=>{var t;null==(t=e.abortHandle)||t.remove(),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,n.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,l.QM)(e);if(t)switch(t.type){case y:this._onResponseMessage(t);break;case h:this._invokeQueue.push(t);break;case d:this._onAbortMessage(t);break;case c:this._onCloseMessage();break;case m:this._onOpenPortMessage(t);break;case f:this._onOnMessage(t)}}_onAbortMessage(e){const t=this._inJobs,s=e.jobId,r=t.get(s);this._invokeQueue.push(e),r&&(r.controller&&r.controller.abort(),t.delete(s))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&b.clients.get(this)===e&&e.destroy(),b.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:s,data:r,abortable:o}=e,i=o?new AbortController:null,n=this._inJobs;let u,p=this._client,c=p[t];try{if(!c&&t&&-1!==t.indexOf(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)p=p[e[t]],c=p[e[t+1]]}if("function"!=typeof c)throw new TypeError(`${t} is not a function`);u=c.call(p,r,{client:this,signal:i?i.signal:null})}catch(e){return void this._post({type:y,jobId:s,error:(0,l.AB)(e)})}(0,a.y8)(u)?(n.set(s,{controller:i,promise:u}),u.then((e=>{n.has(s)&&(n.delete(s),this._post({type:y,jobId:s},e))}),(e=>{n.has(s)&&(n.delete(s),(0,a.D_)(e)||this._post({type:y,jobId:s,error:(0,l.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:y,jobId:s},u)}_onOpenPortMessage(e){new b(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,s=this._client.on(e.eventType,(e=>{t.postMessage(e)})),r=(0,i.on)(e.port,"message",(e=>{(0,l.QM)(e).type===l.Cs.CLOSE&&(r.remove(),s.remove(),t.close())}))}_onResponseMessage(e){var t;const{jobId:s,error:r,data:i}=e,n=this._outJobs;if(!n.has(s))return;const a=n.get(s);n.delete(s),null==(t=a.abortHandle)||t.remove(),r?a.reject(o.Z.fromJSON(JSON.parse(r))):a.resolve(i)}_post(e,t,s){return(0,l.oi)(this._port,e,t,s)}}b.kernelInfo={revision:u.$,version:r.i8,buildDate:u.r},b.clients=new Map},94362:(e,t,s)=>{s.d(t,{Cs:()=>r,jt:()=>a,oi:()=>u,QM:()=>p,AB:()=>l});var r,o,i=s(80442);(o=r||(r={}))[o.HANDSHAKE=0]="HANDSHAKE",o[o.OPEN=1]="OPEN",o[o.OPENED=2]="OPENED",o[o.RESPONSE=3]="RESPONSE",o[o.INVOKE=4]="INVOKE",o[o.ABORT=5]="ABORT",o[o.CLOSE=6]="CLOSE",o[o.OPEN_PORT=7]="OPEN_PORT",o[o.ON=8]="ON";let n=0;function a(){return n++}function l(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function u(e,t,s,o){if(t.type===r.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==r.INVOKE&&t.type!==r.RESPONSE)return void e.postMessage(t);let i;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(s)?(i=c(o),t.data=s):(i=c(s.transferList),t.data=s.result),i?e.postMessage(t,i):e.postMessage(t)}function p(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function c(e){if(!e||!e.length)return null;if((0,i.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},69285:(e,t,s)=>{s.d(t,{k:()=>n});var r=s(70586),o=s(67900),i=s(8744);function n(e,t,s){if((0,r.Wi)(t)||(0,r.Wi)(s)||s.vcsWkid||(0,i.fS)(t,s))return null;const n=(0,o._R)(t)/(0,o._R)(s);if(1===n)return null;switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){e&&null!=e.z&&(e.z*=t)}(e,n);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const s of e.paths)for(const e of s)e.length>2&&(e[2]*=t)}(e,n);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const s of e.rings)for(const e of s)e.length>2&&(e[2]*=t)}(e,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const s of e.points)s.length>2&&(s[2]*=t)}(e,n);case"extent":case"esriGeometryExtent":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return null}}},70082:(e,t,s)=>{s.d(t,{Z:()=>p});var r=s(43697),o=s(35454),i=s(96674),n=s(5600),a=(s(67676),s(80442),s(75215),s(52011));const l=new o.X({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends i.wq{constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,r._)([(0,n.Cb)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,r._)([(0,n.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,r._)([(0,a.j)("esri.layers.support.FeatureTemplate")],u);const p=u},16451:(e,t,s)=>{s.d(t,{Z:()=>d});var r=s(43697),o=s(96674),i=s(5600),n=(s(67676),s(80442),s(75215),s(71715)),a=s(52011),l=s(30556),u=s(72729),p=s(70082);let c=class extends o.wq{constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const s of Object.keys(e))t[s]=(0,u.im)(e[s]);return t}writeDomains(e,t){const s={};for(const t of Object.keys(e)){var r;e[t]&&(s[t]=null==(r=e[t])?void 0:r.toJSON())}t.domains=s}};(0,r._)([(0,i.Cb)({json:{write:!0}})],c.prototype,"id",void 0),(0,r._)([(0,i.Cb)({json:{write:!0}})],c.prototype,"name",void 0),(0,r._)([(0,i.Cb)({json:{write:!0}})],c.prototype,"domains",void 0),(0,r._)([(0,n.r)("domains")],c.prototype,"readDomains",null),(0,r._)([(0,l.c)("domains")],c.prototype,"writeDomains",null),(0,r._)([(0,i.Cb)({type:[p.Z],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,r._)([(0,a.j)("esri.layers.support.FeatureType")],c);const d=c},14147:(e,t,s)=>{s.d(t,{W:()=>p});var r=s(40330),o=s(3172),i=s(70586),n=s(95330),a=s(67284),l=s(65587),u=s(15235);class p{constructor(e,t,s,r){this.parsedUrl=e,this.portalItem=t,this.apiKey=s,this.signal=r,this.rootDocument=null;const o=this.parsedUrl.path.match(/^(.*)\/SceneServer\/layers\/([\d]*)\/?$/i);o&&(this.urlParts={root:o[1],layerId:parseInt(o[2],10)})}async fetch(){var e;if(!this.urlParts)return null;const t=null!=(e=this.portalItem)?e:await this._portalItemFromServiceItemId();if((0,i.Wi)(t))return this._loadFromUrl();const s=await this._findAndLoadRelatedPortalItem(t);return(0,i.Wi)(s)?null:this._loadFeatureLayerFromPortalItem(s)}async fetchPortalItem(){var e;if(!this.urlParts)return null;const t=null!=(e=this.portalItem)?e:await this._portalItemFromServiceItemId();return(0,i.Wi)(t)?null:this._findAndLoadRelatedPortalItem(t)}async _fetchRootDocument(){if((0,i.pC)(this.rootDocument))return this.rootDocument;if((0,i.Wi)(this.urlParts))return this.rootDocument={},{};const e={query:{f:"json",token:this.apiKey},responseType:"json",signal:this.signal},t=`${this.urlParts.root}/SceneServer`;try{const s=await(0,o.default)(t,e);this.rootDocument=s.data}catch{this.rootDocument={}}return this.rootDocument}async _fetchServiceOwningPortalUrl(){var e;const t=null==(e=r.id)?void 0:e.findServerInfo(this.parsedUrl.path);if(null!=t&&t.owningSystemUrl)return t.owningSystemUrl;const s=this.parsedUrl.path.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{const e=(await(0,o.default)(s,{query:{f:"json"},responseType:"json",signal:this.signal})).data.owningSystemUrl;if(e)return e}catch(e){(0,n.r9)(e)}return null}async _findAndLoadRelatedPortalItem(e){try{return(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:this.signal})).find((e=>"Feature Service"===e.type))||null}catch(e){return(0,n.r9)(e),null}}async _loadFeatureLayerFromPortalItem(e){await e.load({signal:this.signal});const t=await this._findMatchingAssociatedSublayerUrl(e.url);return new a.default({url:t,portalItem:e}).load({signal:this.signal})}async _loadFromUrl(){const e=await this._findMatchingAssociatedSublayerUrl(`${this.urlParts.root}/FeatureServer`);return new a.default({url:e}).load({signal:this.signal})}async _findMatchingAssociatedSublayerUrl(e){const t=e.replace(/^(.*FeatureServer)(\/[\d]*\/?)?$/i,"$1"),s={query:{f:"json"},responseType:"json",authMode:"no-prompt",signal:this.signal},r=this.urlParts.layerId,i=this._fetchRootDocument(),n=(0,o.default)(t,s),[a,l]=await Promise.all([n,i]),u=l&&l.layers,p=a.data&&a.data.layers;if(!Array.isArray(p))throw new Error("expected layers array");if(Array.isArray(u)){for(let e=0;e<Math.min(u.length,p.length);e++)if(u[e].id===r)return`${t}/${p[e].id}`}else if(r<p.length)return`${t}/${p[r].id}`;throw new Error("could not find matching associated sublayer")}async _portalItemFromServiceItemId(){const e=(await this._fetchRootDocument()).serviceItemId;if(!e)return null;const t=new u.default({id:e,apiKey:this.apiKey}),s=await this._fetchServiceOwningPortalUrl();(0,i.pC)(s)&&(t.portal=new l.Z({url:s}));try{return t.load({signal:this.signal})}catch(e){return(0,n.r9)(e),null}}}},1231:(e,t,s)=>{s.d(t,{Z:()=>f});var r,o=s(43697),i=s(35454),n=s(96674),a=s(5600),l=(s(67676),s(80442),s(75215)),u=s(36030),p=s(71715),c=s(52011),d=s(72729),h=s(86719);const y=new i.X({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",dateAndTime:"date-and-time",description:"description",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let m=r=class extends n.wq{constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=-1,this.name=null,this.nullable=!0,this.type=null,this.valueType=null}readDescription(e,{description:t}){let s;try{s=JSON.parse(t)}catch(e){}return s?s.value:null}readValueType(e,{description:t}){let s;try{s=JSON.parse(t)}catch(e){}return s?y.fromJSON(s.fieldValueType):null}clone(){return new r({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain&&this.domain.clone()||null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType})}};(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"alias",void 0),(0,o._)([(0,a.Cb)({type:[String,Number],json:{write:{allowNull:!0}}})],m.prototype,"defaultValue",void 0),(0,o._)([(0,a.Cb)()],m.prototype,"description",void 0),(0,o._)([(0,p.r)("description")],m.prototype,"readDescription",null),(0,o._)([(0,a.Cb)({types:d.V5,json:{read:{reader:d.im},write:!0}})],m.prototype,"domain",void 0),(0,o._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"editable",void 0),(0,o._)([(0,a.Cb)({type:l.z8,json:{write:!0}})],m.prototype,"length",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],m.prototype,"name",void 0),(0,o._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],m.prototype,"nullable",void 0),(0,o._)([(0,u.J)(h.v)],m.prototype,"type",void 0),(0,o._)([(0,a.Cb)()],m.prototype,"valueType",void 0),(0,o._)([(0,p.r)("valueType",["description"])],m.prototype,"readValueType",null),m=r=(0,o._)([(0,c.j)("esri.layers.support.Field")],m);const f=m},51161:(e,t,s)=>{s.d(t,{H3:()=>g,QI:()=>c,U4:()=>l,Yh:()=>h});var r=s(43697),o=s(96674),i=s(5600),n=(s(67676),s(80442),s(75215),s(36030)),a=s(52011);let l=class extends o.wq{constructor(){super(...arguments),this.nodesPerPage=null,this.rootIndex=0,this.lodSelectionMetricType=null}};(0,r._)([(0,i.Cb)({type:Number})],l.prototype,"nodesPerPage",void 0),(0,r._)([(0,i.Cb)({type:Number})],l.prototype,"rootIndex",void 0),(0,r._)([(0,i.Cb)({type:String})],l.prototype,"lodSelectionMetricType",void 0),l=(0,r._)([(0,a.j)("esri.layer.support.I3SNodePageDefinition")],l);let u=class extends o.wq{constructor(){super(...arguments),this.factor=1}};(0,r._)([(0,i.Cb)({type:Number,json:{read:{source:"textureSetDefinitionId"}}})],u.prototype,"id",void 0),(0,r._)([(0,i.Cb)({type:Number})],u.prototype,"factor",void 0),u=(0,r._)([(0,a.j)("esri.layer.support.I3SMaterialTexture")],u);let p=class extends o.wq{constructor(){super(...arguments),this.baseColorFactor=[1,1,1,1],this.baseColorTexture=null,this.metallicRoughnessTexture=null,this.metallicFactor=1,this.roughnessFactor=1}};(0,r._)([(0,i.Cb)({type:[Number]})],p.prototype,"baseColorFactor",void 0),(0,r._)([(0,i.Cb)({type:u})],p.prototype,"baseColorTexture",void 0),(0,r._)([(0,i.Cb)({type:u})],p.prototype,"metallicRoughnessTexture",void 0),(0,r._)([(0,i.Cb)({type:Number})],p.prototype,"metallicFactor",void 0),(0,r._)([(0,i.Cb)({type:Number})],p.prototype,"roughnessFactor",void 0),p=(0,r._)([(0,a.j)("esri.layer.support.I3SMaterialPBRMetallicRoughness")],p);let c=class extends o.wq{constructor(){super(...arguments),this.alphaMode="opaque",this.alphaCutoff=.25,this.doubleSided=!1,this.cullFace="none",this.normalTexture=null,this.occlusionTexture=null,this.emissiveTexture=null,this.emissiveFactor=null,this.pbrMetallicRoughness=null}};(0,r._)([(0,n.J)({opaque:"opaque",mask:"mask",blend:"blend"})],c.prototype,"alphaMode",void 0),(0,r._)([(0,i.Cb)({type:Number})],c.prototype,"alphaCutoff",void 0),(0,r._)([(0,i.Cb)({type:Boolean})],c.prototype,"doubleSided",void 0),(0,r._)([(0,n.J)({none:"none",back:"back",front:"front"})],c.prototype,"cullFace",void 0),(0,r._)([(0,i.Cb)({type:u})],c.prototype,"normalTexture",void 0),(0,r._)([(0,i.Cb)({type:u})],c.prototype,"occlusionTexture",void 0),(0,r._)([(0,i.Cb)({type:u})],c.prototype,"emissiveTexture",void 0),(0,r._)([(0,i.Cb)({type:[Number]})],c.prototype,"emissiveFactor",void 0),(0,r._)([(0,i.Cb)({type:p})],c.prototype,"pbrMetallicRoughness",void 0),c=(0,r._)([(0,a.j)("esri.layer.support.I3SMaterialDefinition")],c);let d=class extends o.wq{};(0,r._)([(0,i.Cb)({type:String,json:{read:{source:["name","index"],reader:(e,t)=>null!=e?e:`${t.index}`}}})],d.prototype,"name",void 0),(0,r._)([(0,n.J)({jpg:"jpg",png:"png",dds:"dds","ktx-etc2":"ktx-etc2",ktx2:"ktx2",basis:"basis"})],d.prototype,"format",void 0),d=(0,r._)([(0,a.j)("esri.layer.support.I3STextureFormat")],d);let h=class extends o.wq{constructor(){super(...arguments),this.atlas=!1}};(0,r._)([(0,i.Cb)({type:[d]})],h.prototype,"formats",void 0),(0,r._)([(0,i.Cb)({type:Boolean})],h.prototype,"atlas",void 0),h=(0,r._)([(0,a.j)("esri.layer.support.I3STextureSetDefinition")],h);let y=class extends o.wq{};(0,r._)([(0,n.J)({Float32:"Float32",UInt64:"UInt64",UInt32:"UInt32",UInt16:"UInt16",UInt8:"UInt8"})],y.prototype,"type",void 0),(0,r._)([(0,i.Cb)({type:Number})],y.prototype,"component",void 0),y=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryAttribute")],y);let m=class extends o.wq{};(0,r._)([(0,n.J)({draco:"draco"})],m.prototype,"encoding",void 0),(0,r._)([(0,i.Cb)({type:[String]})],m.prototype,"attributes",void 0),m=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryCompressedAttributes")],m);let f=class extends o.wq{constructor(){super(...arguments),this.offset=0}};(0,r._)([(0,i.Cb)({type:Number})],f.prototype,"offset",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"position",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"normal",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"uv0",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"color",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"uvRegion",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"featureId",void 0),(0,r._)([(0,i.Cb)({type:y})],f.prototype,"faceRange",void 0),(0,r._)([(0,i.Cb)({type:m})],f.prototype,"compressedAttributes",void 0),f=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryBuffer")],f);let g=class extends o.wq{};(0,r._)([(0,n.J)({triangle:"triangle"})],g.prototype,"topology",void 0),(0,r._)([(0,i.Cb)()],g.prototype,"geometryBuffers",void 0),g=(0,r._)([(0,a.j)("esri.layer.support.I3SGeometryDefinition")],g)},56765:(e,t,s)=>{s.d(t,{Z:()=>p});var r,o=s(43697),i=s(80539),n=s(96674),a=s(5600),l=(s(67676),s(80442),s(75215),s(52011));let u=r=class extends n.wq{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new i.Z}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],u.prototype,"floorField",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllMode",void 0),(0,o._)([(0,a.Cb)({json:{read:!1,write:!1}})],u.prototype,"viewAllLevelIds",void 0),u=r=(0,o._)([(0,l.j)("esri.layers.support.LayerFloorInfo")],u);const p=u},15506:(e,t,s)=>{s.d(t,{C:()=>r});const r={attachment:{supportsContentType:!1,supportsExifInfo:!1,supportsKeywords:!1,supportsName:!1,supportsSize:!1},data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAttachments:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1},query:{maxRecordCount:0,maxRecordCountFactor:0,standardMaxRecordCount:0,supportsCacheHint:!1,supportsCentroid:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsSqlExpression:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsStatistics:!1,tileMaxRecordCount:0}}},72729:(e,t,s)=>{s.d(t,{im:()=>x,V5:()=>P}),s(80442);var r,o=s(43697),i=s(22974),n=s(5600),a=(s(75215),s(36030)),l=s(52011),u=s(96674);s(67676);let p=r=class extends u.wq{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,o._)([(0,n.Cb)({type:[String,Number],json:{write:!0}})],p.prototype,"code",void 0),p=r=(0,o._)([(0,l.j)("esri.layers.support.CodedValue")],p);const c=p,d=new(s(35454).X)({inherited:"inherited",codedValue:"coded-value",range:"range"});let h=class extends u.wq{constructor(e){super(e),this.name=null,this.type=null}};(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,o._)([(0,a.J)(d)],h.prototype,"type",void 0),h=(0,o._)([(0,l.j)("esri.layers.support.Domain")],h);const y=h;var m;let f=m=class extends y{constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const s=String(e);this.codedValues.some((e=>(String(e.code)===s&&(t=e.name),!!t)))}return t}clone(){return new m({codedValues:(0,i.d9)(this.codedValues),name:this.name})}};(0,o._)([(0,n.Cb)({type:[c],json:{write:!0}})],f.prototype,"codedValues",void 0),(0,o._)([(0,a.J)({codedValue:"coded-value"})],f.prototype,"type",void 0),f=m=(0,o._)([(0,l.j)("esri.layers.support.CodedValueDomain")],f);const g=f;var b;s(92604),s(37697);let v=b=class extends y{constructor(e){super(e),this.type="inherited"}clone(){return new b}};(0,o._)([(0,a.J)({inherited:"inherited"})],v.prototype,"type",void 0),v=b=(0,o._)([(0,l.j)("esri.layers.support.InheritedDomain")],v);const _=v;var w;let S=w=class extends y{constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new w({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,o._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,s){t[s]=[this.minValue||0,e]}}}})],S.prototype,"maxValue",void 0),(0,o._)([(0,n.Cb)({type:Number,json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range&&t.range[0]},write:{target:"range",writer(e,t,s){t[s]=[e,this.maxValue||0]}}}})],S.prototype,"minValue",void 0),(0,o._)([(0,a.J)({range:"range"})],S.prototype,"type",void 0),S=w=(0,o._)([(0,l.j)("esri.layers.support.RangeDomain")],S);const C=S,P={key:"type",base:y,typeMap:{range:S,"coded-value":g,inherited:_}};function x(e){if(!e||!e.type)return null;switch(e.type){case"range":return C.fromJSON(e);case"codedValue":return g.fromJSON(e);case"inherited":return _.fromJSON(e)}return null}},86719:(e,t,s)=>{s.d(t,{v:()=>r});const r=new(s(35454).X)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml"})},51706:(e,t,s)=>{var r,o;function i(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function n(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?r.Expression:e.field&&"string"==typeof e.field?r.Field:r.Unknown}function l(e,t){const s=t||a(e),i=e.valueUnit||"unknown";return s===r.Unknown?o.Constant:e.stops?o.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?o.ClampedLinear:"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?o.Proportional:o.Additive:o.Identity:o.RealWorldSize}s.d(t,{RY:()=>r,hL:()=>o,PS:()=>a,QW:()=>l,iY:()=>i,qh:()=>n}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(r||(r={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(o||(o={}))},28101:(e,t,s)=>{s.d(t,{PR:()=>S,Lq:()=>y,Km:()=>m,cM:()=>f,ap:()=>g,V3:()=>_,B3:()=>h});var r=s(22303),o=s(1692),i=s(74085),n=s(92604),a=s(70586),l=s(99282),u=s(51706);const p=n.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),c=new o.Z,d=Math.PI,h=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function y(e,t,s){const o="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"color"===e.type))[0]:e;if(!o)return;if("esri.renderers.visualVariables.ColorVariable"!==o.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const i="number"==typeof t,n=i?null:t,l=n&&n.attributes;let u=i?t:null;const c=o.field,{ipData:d,hasExpression:h}=o.cache;let y=o.cache.compiledFunc;if(!c&&!h){const e=o.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(h){if(!(0,a.pC)(s)||!(0,a.pC)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},t=s.arcade.arcadeUtils,r=t.getViewInfo(e),i=t.createExecContext(n,r);if(!y){const e=t.createSyntaxTree(o.valueExpression);y=t.createFunction(e),o.cache.compiledFunc=y}u=t.executeFunction(y,i)}else l&&(u=l[c]);const m=o.normalizationField,f=l?parseFloat(l[m]):void 0;if(null!=u&&(!m||i||!isNaN(f)&&0!==f)){isNaN(f)||i||(u/=f);const e=w(u,d);if(e){const t=e[0],i=e[1],n=t===i?o.stops[t].color:r.Z.blendColors(o.stops[t].color,o.stops[i].color,e[2],(0,a.pC)(s)?s.color:void 0);return new r.Z(n)}}}function m(e,t,s){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.OpacityVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const o="number"==typeof t,i=o?null:t,n=i&&i.attributes;let l=o?t:null;const u=r.field,{ipData:c,hasExpression:d}=r.cache;let h=r.cache.compiledFunc;if(!u&&!d){const e=r.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof l)if(d){if((0,a.Wi)(s)||(0,a.Wi)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},t=s.arcade.arcadeUtils,o=t.getViewInfo(e),n=t.createExecContext(i,o);if(!h){const e=t.createSyntaxTree(r.valueExpression);h=t.createFunction(e),r.cache.compiledFunc=h}l=t.executeFunction(h,n)}else n&&(l=n[u]);const y=r.normalizationField,m=n?parseFloat(n[y]):void 0;if(null!=l&&(!y||o||!isNaN(m)&&0!==m)){isNaN(m)||o||(l/=m);const e=w(l,c);if(e){const t=e[0],s=e[1];if(t===s)return r.stops[t].opacity;{const o=r.stops[t].opacity;return o+(r.stops[s].opacity-o)*e[2]}}}}function f(e,t,s){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.RotationVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const o=r.axis||"heading",i="heading"===o&&"arithmetic"===r.rotationType?90:0,n="heading"===o&&"arithmetic"===r.rotationType?-1:1,l="number"==typeof t?null:t,u=l&&l.attributes,c=r.field,{hasExpression:d}=r.cache;let h=r.cache.compiledFunc,y=0;if(!c&&!d)return y;if(d){if((0,a.Wi)(s)||(0,a.Wi)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const e={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},t=s.arcade.arcadeUtils,o=t.getViewInfo(e),i=t.createExecContext(l,o);if(!h){const e=t.createSyntaxTree(r.valueExpression);h=t.createFunction(e),r.cache.compiledFunc=h}y=t.executeFunction(h,i)}else u&&(y=u[c]||0);return y="number"!=typeof y||isNaN(y)?null:i+n*y,y}function g(e,t,s){const r="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!r)return;if("esri.renderers.visualVariables.SizeVariable"!==r.declaredClass)return void p.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const o=function(e,t,s,r,o){switch(t.transformationType){case u.hL.Additive:return function(e,t,s,r){return e+(b(t.minSize,s,r)||t.minDataValue)}(e,t,s,r);case u.hL.Constant:return function(e,t,s){const r=e.stops;let o=r&&r.length&&r[0].size;return null==o&&(o=e.minSize),b(o,t,s)}(t,s,r);case u.hL.ClampedLinear:return function(e,t,s,r){const o=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),i=b(t.minSize,s,r),n=b(t.maxSize,s,r),l=(0,a.pC)(r)?r.shape:void 0;if(e<=t.minDataValue)return i;if(e>=t.maxDataValue)return n;if("area"===t.scaleBy&&l){const e="circle"===l,t=e?d*(i/2)**2:i*i,s=t+o*((e?d*(n/2)**2:n*n)-t);return e?2*Math.sqrt(s/d):Math.sqrt(s)}return i+o*(n-i)}(e,t,s,r);case u.hL.Proportional:return function(e,t,s,r){const o=(0,a.pC)(r)?r.shape:void 0,i=e/t.minDataValue,n=b(t.minSize,s,r),l=b(t.maxSize,s,r);let u=null;return u="circle"===o?2*Math.sqrt(i*(n/2)**2):"square"===o||"diamond"===o||"image"===o?Math.sqrt(i*n**2):i*n,v(u,n,l)}(e,t,s,r);case u.hL.Stops:return function(e,t,s,r,o){const[i,n,a]=w(e,o);if(i===n)return b(t.stops[i].size,s,r);{const e=b(t.stops[i].size,s,r);return e+(b(t.stops[n].size,s,r)-e)*a}}(e,t,s,r,o);case u.hL.RealWorldSize:return function(e,t,s,r){const o=((0,a.pC)(r)&&r.resolution?r.resolution:1)*l.a[t.valueUnit],i=b(t.minSize,s,r),n=b(t.maxSize,s,r),{valueRepresentation:u}=t;let p=null;return p="area"===u?2*Math.sqrt(e/d)/o:"radius"===u||"distance"===u?2*e/o:e/o,v(p,i,n)}(e,t,s,r);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,s){const r="number"==typeof t,o=r?null:t,i=o&&o.attributes;let n=r?t:null;const{isScaleDriven:l}=e.cache;let c=e.cache.compiledFunc;if(l){const t=(0,a.pC)(s)?s.scale:void 0,r=(0,a.pC)(s)?s.view:void 0;n=null==t||"3d"===r?function(e){let t=null,s=null;const r=e.stops;return r?(t=r[0].value,s=r[r.length-1].value):(t=e.minDataValue||0,s=e.maxDataValue||0),(t+s)/2}(e):t}else if(!r)switch(e.inputValueType){case u.RY.Expression:{if((0,a.Wi)(s)||(0,a.Wi)(s.arcade))return void p.error("Use of arcade expressions requires an arcade context");const t={viewingMode:s.viewingMode,scale:s.scale,spatialReference:s.spatialReference},r=s.arcade.arcadeUtils,i=r.getViewInfo(t),l=r.createExecContext(o,i);if(!c){const t=r.createSyntaxTree(e.valueExpression);c=r.createFunction(t),e.cache.compiledFunc=c}n=r.executeFunction(c,l);break}case u.RY.Field:i&&(n=i[e.field]);break;case u.RY.Unknown:n=null}if(!(0,u.qh)(n))return null;if(r||!e.normalizationField)return n;const d=i?parseFloat(i[e.normalizationField]):null;return(0,u.qh)(d)&&0!==d?n/d:null}(r,t,s),r,t,s,r.cache.ipData);return null==o||isNaN(o)?0:o}function b(e,t,s){return null==e?null:(0,u.iY)(e)?g(e,t,s):(0,u.qh)(e)?e:null}function v(e,t,s){return(0,u.qh)(s)&&e>s?s:(0,u.qh)(t)&&e<t?t:e}function _(e,t,s){const{isScaleDriven:r}=e.cache;if(!(r&&"3d"===s||t))return null;const o={scale:t,view:s};let i=b(e.minSize,c,o),n=b(e.maxSize,c,o);if(null!=i||null!=n){if(i>n){const e=n;n=i,i=e}return{minSize:i,maxSize:n}}}function w(e,t){if(!t)return;let s=0,r=t.length-1;return t.some(((t,o)=>e<t?(r=o,!0):(s=o,!1))),[s,r,(e-t[s])/(t[r]-t[s])]}function S(e,t,s){const r=["proportional","proportional","proportional"];for(const o of e){const e=o.useSymbolValue?"symbol-value":g(o,t,s);switch(o.axis){case"width":r[0]=e;break;case"depth":r[1]=e;break;case"height":r[2]=e;break;case"width-and-depth":r[0]=e,r[1]=e;break;case"all":case void 0:case null:r[0]=e,r[1]=e,r[2]=e;break;default:(0,i.Bg)(o.axis)}}return r}},28694:(e,t,s)=>{s.d(t,{p:()=>i});var r=s(70586),o=s(69285);function i(e,t,s){if(!s||!s.features||!s.hasZ)return;const i=(0,o.k)(s.geometryType,t,e.outSpatialReference);if(!(0,r.Wi)(i))for(const e of s.features)i(e.geometry)}},58333:(e,t,s)=>{s.d(t,{I4:()=>o,lF:()=>n,ET:()=>i,qP:()=>a,eG:()=>l,lj:()=>p,wW:()=>u});const r=[252,146,31,255],o={type:"esriSMS",style:"esriSMSCircle",size:6,color:r,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},i={type:"esriSLS",style:"esriSLSSolid",width:.75,color:r},n={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={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},l={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},u={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},p={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},89749:(e,t,s)=>{s.d(t,{t:()=>c});var r=s(43697),o=s(15923),i=s(61247),n=s(70586),a=s(17445),l=s(1654),u=s(5600),p=s(52011);let c=class extends o.Z{constructor(){super(...arguments),this.updating=!1,this.handleId=0,this.handles=new i.Z,this.scheduleHandleId=0,this.pendingPromises=new Set}destroy(){this.removeAll(),this.handles.destroy()}add(e,t,s={}){const r=++this.handleId;s.sync||this._installSyncUpdatingWatch(e,r);const o=(0,a.YP)(e,t,s);return this.handles.add(o,r),{remove:()=>this.handles.remove(r)}}addOnCollectionChange(e,t,{initial:s=!1}={}){const r=++this.handleId;return this.handles.add([(0,a.on)(e,"after-changes",this._createSyncUpdatingCallback(),a.Z_),(0,a.on)(e,"change",t,{onListenerAdd:s?e=>t({added:e.items,removed:[],moved:[],target:e}):void 0})],r),{remove:()=>this.handles.remove(r)}}addPromise(e){if((0,n.Wi)(e))return e;const t=++this.handleId;this.handles.add({remove:()=>{this.pendingPromises.delete(e)&&(0!==this.pendingPromises.size||this.handles.has(d)||this._set("updating",!1))}},t),this.pendingPromises.add(e),this._set("updating",!0);const s=()=>this.handles.remove(t);return e.then(s,s),e}removeAll(){this.pendingPromises.clear(),this.handles.removeAll(),this._set("updating",!1)}_installSyncUpdatingWatch(e,t){const s=this._createSyncUpdatingCallback(),r=(0,a.YP)(e,s,{sync:!0,equals:()=>!1});return this.handles.add(r,t),r}_createSyncUpdatingCallback(){return()=>{this.handles.remove(d),++this.scheduleHandleId;const e=this.scheduleHandleId;this._get("updating")||this._set("updating",!0),this.handles.add((0,l.Os)((()=>{e===this.scheduleHandleId&&(this._set("updating",this.pendingPromises.size>0),this.handles.remove(d))})),d)}}};(0,r._)([(0,u.Cb)({readOnly:!0})],c.prototype,"updating",void 0),c=(0,r._)([(0,p.j)("esri.views.support.WatchUpdatingTracking")],c);const d=-42;var h,y;(y=h||(h={}))[y.NONE=0]="NONE",y[y.SYNC=1]="SYNC",y[y.INIT=2]="INIT"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8936],{46851:(t,n,e)=>{e.d(n,{E:()=>r,R:()=>E});const r=1e-6,E=Math.random,i=Math.PI/180,_=180/Math.PI;Object.freeze({__proto__:null,EPSILON:r,RANDOM:E,toRadian:function(t){return t*i},toDegree:function(t){return t*_},equals:function(t,n){return Math.abs(t-n)<=r*Math.max(1,Math.abs(t),Math.abs(n))}})},17896:(t,n,e)=>{e.d(n,{E:()=>R,a:()=>u,b:()=>T,c:()=>I,d:()=>f,e:()=>S,f:()=>A,g:()=>_,h:()=>c,i:()=>a,k:()=>h,l:()=>i,m:()=>M,n:()=>O,p:()=>N,q:()=>C,r:()=>U,s:()=>o,t:()=>l,u:()=>g});var r=e(65617),E=e(46851);function i(t){const n=t[0],e=t[1],r=t[2];return Math.sqrt(n*n+e*e+r*r)}function _(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function o(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function T(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t}function A(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t}function s(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t}function R(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t}function u(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t}function a(t,n){const e=n[0]-t[0],r=n[1]-t[1],E=n[2]-t[2];return Math.sqrt(e*e+r*r+E*E)}function c(t,n){const e=n[0]-t[0],r=n[1]-t[1],E=n[2]-t[2];return e*e+r*r+E*E}function N(t){const n=t[0],e=t[1],r=t[2];return n*n+e*e+r*r}function O(t,n){const e=n[0],r=n[1],E=n[2];let i=e*e+r*r+E*E;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i),t}function f(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function I(t,n,e){const r=n[0],E=n[1],i=n[2],_=e[0],o=e[1],T=e[2];return t[0]=E*T-i*o,t[1]=i*_-r*T,t[2]=r*o-E*_,t}function S(t,n,e,r){const E=n[0],i=n[1],_=n[2];return t[0]=E+r*(e[0]-E),t[1]=i+r*(e[1]-i),t[2]=_+r*(e[2]-_),t}function M(t,n,e){const r=n[0],E=n[1],i=n[2];return t[0]=e[0]*r+e[4]*E+e[8]*i+e[12],t[1]=e[1]*r+e[5]*E+e[9]*i+e[13],t[2]=e[2]*r+e[6]*E+e[10]*i+e[14],t}function l(t,n,e){const r=n[0],E=n[1],i=n[2];return t[0]=r*e[0]+E*e[3]+i*e[6],t[1]=r*e[1]+E*e[4]+i*e[7],t[2]=r*e[2]+E*e[5]+i*e[8],t}function C(t,n,e){const r=e[0],E=e[1],i=e[2],_=e[3],o=n[0],T=n[1],A=n[2];let s=E*A-i*T,R=i*o-r*A,u=r*T-E*o,a=E*u-i*R,c=i*s-r*u,N=r*R-E*s;const O=2*_;return s*=O,R*=O,u*=O,a*=2,c*=2,N*=2,t[0]=o+s+a,t[1]=T+R+c,t[2]=A+u+N,t}const L=(0,r.c)(),D=(0,r.c)();function h(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function U(t,n,e){const r=e[0]-n[0],E=e[1]-n[1],i=e[2]-n[2];let _=r*r+E*E+i*i;return _>0?(_=1/Math.sqrt(_),t[0]=r*_,t[1]=E*_,t[2]=i*_,t):(t[0]=0,t[1]=0,t[2]=0,t)}const d=A,P=s,F=R,G=a,B=c,g=i,p=N;Object.freeze({__proto__:null,length:i,copy:_,set:o,add:T,subtract:A,multiply:s,divide:R,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},min:function(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},max:function(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},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:u,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},distance:a,squaredDistance:c,squaredLength:N,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t},normalize:O,dot:f,cross:I,lerp:S,hermite:function(t,n,e,r,E,i){const _=i*i,o=_*(2*i-3)+1,T=_*(i-2)+i,A=_*(i-1),s=_*(3-2*i);return t[0]=n[0]*o+e[0]*T+r[0]*A+E[0]*s,t[1]=n[1]*o+e[1]*T+r[1]*A+E[1]*s,t[2]=n[2]*o+e[2]*T+r[2]*A+E[2]*s,t},bezier:function(t,n,e,r,E,i){const _=1-i,o=_*_,T=i*i,A=o*_,s=3*i*o,R=3*T*_,u=T*i;return t[0]=n[0]*A+e[0]*s+r[0]*R+E[0]*u,t[1]=n[1]*A+e[1]*s+r[1]*R+E[1]*u,t[2]=n[2]*A+e[2]*s+r[2]*R+E[2]*u,t},random:function(t,n){n=n||1;const e=2*(0,E.R)()*Math.PI,r=2*(0,E.R)()-1,i=Math.sqrt(1-r*r)*n;return t[0]=Math.cos(e)*i,t[1]=Math.sin(e)*i,t[2]=r*n,t},transformMat4:M,transformMat3:l,transformQuat:C,rotateX:function(t,n,e,r){const E=[],i=[];return E[0]=n[0]-e[0],E[1]=n[1]-e[1],E[2]=n[2]-e[2],i[0]=E[0],i[1]=E[1]*Math.cos(r)-E[2]*Math.sin(r),i[2]=E[1]*Math.sin(r)+E[2]*Math.cos(r),t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},rotateY:function(t,n,e,r){const E=[],i=[];return E[0]=n[0]-e[0],E[1]=n[1]-e[1],E[2]=n[2]-e[2],i[0]=E[2]*Math.sin(r)+E[0]*Math.cos(r),i[1]=E[1],i[2]=E[2]*Math.cos(r)-E[0]*Math.sin(r),t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},rotateZ:function(t,n,e,r){const E=[],i=[];return E[0]=n[0]-e[0],E[1]=n[1]-e[1],E[2]=n[2]-e[2],i[0]=E[0]*Math.cos(r)-E[1]*Math.sin(r),i[1]=E[0]*Math.sin(r)+E[1]*Math.cos(r),i[2]=E[2],t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},angle:function(t,n){_(L,t),_(D,n),O(L,L),O(D,D);const e=f(L,D);return e>1?0:e<-1?Math.PI:Math.acos(e)},str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},exactEquals:h,equals:function(t,n){if(t===n)return!0;const e=t[0],r=t[1],i=t[2],_=n[0],o=n[1],T=n[2];return Math.abs(e-_)<=E.E*Math.max(1,Math.abs(e),Math.abs(_))&&Math.abs(r-o)<=E.E*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(i-T)<=E.E*Math.max(1,Math.abs(i),Math.abs(T))},direction:U,sub:d,mul:P,div:F,dist:G,sqrDist:B,len:g,sqrLen:p})},65617:(t,n,e)=>{function r(){return[0,0,0]}function E(t){return[t[0],t[1],t[2]]}function i(t,n,e){return[t,n,e]}function _(t){const n=[0,0,0],e=Math.min(3,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n}function o(t,n){return new Float64Array(t,n,3)}function T(){return i(1,1,1)}function A(){return i(1,0,0)}function s(){return i(0,1,0)}function R(){return i(0,0,1)}e.d(n,{O:()=>a,Z:()=>u,a:()=>E,b:()=>o,c:()=>r,d:()=>_,f:()=>i});const u=[0,0,0],a=T(),c=A(),N=s(),O=R();Object.freeze({__proto__:null,create:r,clone:E,fromValues:i,fromArray:_,createView:o,zeros:function(){return[0,0,0]},ones:T,unitX:A,unitY:s,unitZ:R,ZEROS:u,ONES:a,UNIT_X:c,UNIT_Y:N,UNIT_Z:O})},98766:(t,n,e)=>{e.d(n,{a:()=>_,b:()=>s,c:()=>E,d:()=>O,e:()=>a,f:()=>c,g:()=>I,h:()=>S,l:()=>f,n:()=>N,s:()=>i});var r=e(46851);function E(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function i(t,n,e,r,E){return t[0]=n,t[1]=e,t[2]=r,t[3]=E,t}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}function o(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 T(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 A(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,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t}function R(t,n){const e=n[0]-t[0],r=n[1]-t[1],E=n[2]-t[2],i=n[3]-t[3];return Math.sqrt(e*e+r*r+E*E+i*i)}function u(t,n){const e=n[0]-t[0],r=n[1]-t[1],E=n[2]-t[2],i=n[3]-t[3];return e*e+r*r+E*E+i*i}function a(t){const n=t[0],e=t[1],r=t[2],E=t[3];return Math.sqrt(n*n+e*e+r*r+E*E)}function c(t){const n=t[0],e=t[1],r=t[2],E=t[3];return n*n+e*e+r*r+E*E}function N(t,n){const e=n[0],r=n[1],E=n[2],i=n[3];let _=e*e+r*r+E*E+i*i;return _>0&&(_=1/Math.sqrt(_),t[0]=e*_,t[1]=r*_,t[2]=E*_,t[3]=i*_),t}function O(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function f(t,n,e,r){const E=n[0],i=n[1],_=n[2],o=n[3];return t[0]=E+r*(e[0]-E),t[1]=i+r*(e[1]-i),t[2]=_+r*(e[2]-_),t[3]=o+r*(e[3]-o),t}function I(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function S(t,n){const e=t[0],E=t[1],i=t[2],_=t[3],o=n[0],T=n[1],A=n[2],s=n[3];return Math.abs(e-o)<=r.E*Math.max(1,Math.abs(e),Math.abs(o))&&Math.abs(E-T)<=r.E*Math.max(1,Math.abs(E),Math.abs(T))&&Math.abs(i-A)<=r.E*Math.max(1,Math.abs(i),Math.abs(A))&&Math.abs(_-s)<=r.E*Math.max(1,Math.abs(_),Math.abs(s))}const M=o,l=T,C=A,L=R,D=u,h=a,U=c;Object.freeze({__proto__:null,copy:E,set:i,add:_,subtract:o,multiply:T,divide:A,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},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},min:function(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},max:function(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},round:function(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},scale:s,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},distance:R,squaredDistance:u,length:a,squaredLength:c,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-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},normalize:N,dot:O,lerp:f,random:function(t,n){let e,E,i,_,o,T;n=n||1;do{e=2*(0,r.R)()-1,E=2*(0,r.R)()-1,o=e*e+E*E}while(o>=1);do{i=2*(0,r.R)()-1,_=2*(0,r.R)()-1,T=i*i+_*_}while(T>=1);const A=Math.sqrt((1-o)/T);return t[0]=n*e,t[1]=n*E,t[2]=n*i*A,t[3]=n*_*A,t},transformMat4:function(t,n,e){const r=n[0],E=n[1],i=n[2],_=n[3];return t[0]=e[0]*r+e[4]*E+e[8]*i+e[12]*_,t[1]=e[1]*r+e[5]*E+e[9]*i+e[13]*_,t[2]=e[2]*r+e[6]*E+e[10]*i+e[14]*_,t[3]=e[3]*r+e[7]*E+e[11]*i+e[15]*_,t},transformQuat:function(t,n,e){const r=n[0],E=n[1],i=n[2],_=e[0],o=e[1],T=e[2],A=e[3],s=A*r+o*i-T*E,R=A*E+T*r-_*i,u=A*i+_*E-o*r,a=-_*r-o*E-T*i;return t[0]=s*A+a*-_+R*-T-u*-o,t[1]=R*A+a*-o+u*-_-s*-T,t[2]=u*A+a*-T+s*-o-R*-_,t[3]=n[3],t},str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},exactEquals:I,equals:S,sub:M,mul:l,div:C,dist:L,sqrDist:D,len:h,sqrLen:U})},22021:(t,n,e)=>{e.d(n,{ZF:()=>u,Kt:()=>a,jE:()=>O,uZ:()=>_,oK:()=>c,Vl:()=>s,wt:()=>o,t7:()=>A,Sf:()=>i,fp:()=>T,BV:()=>R});var r=e(17896);e(98766);const E=new Float32Array(1);function i(t){--t;for(let n=1;n<32;n<<=1)t|=t>>n;return t+1}function _(t,n,e){return Math.min(Math.max(t,n),e)}function o(t){return 0==(t&t-1)}function T(t){return t--,t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,++t}function A(t,n,e){return t+(n-t)*e}function s(t){return t*Math.PI/180}function R(t){return 180*t/Math.PI}function u(t){return Math.acos(_(t,-1,1))}function a(t){return Math.asin(_(t,-1,1))}function c(t){return N(Math.max(-f,Math.min(t,f)))}function N(t){return E[0]=t,E[0]}function O(t,n){const e=(0,r.l)(t),E=a(t[2]/e),i=Math.atan2(t[1]/e,t[0]/e);return(0,r.s)(n,e,E,i),n}const f=N(34028234663852886e22)},79583:(t,n,e)=>{function r(t){switch(t){case"u8":case"i8":return 1;case"u16":case"i16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8;default:return}}function E(t){switch(t){case"u8":case"u16":case"u32":return!1;case"i8":case"i16":case"i32":case"f32":case"f64":return!0;default:return}}function i(t){switch(t){case"u8":case"u16":case"u32":case"i8":case"i16":case"i32":return!0;case"f32":case"f64":return!1;default:return}}function _(t){switch(t){case"u8":return 255;case"u16":return 65535;case"u32":return 4294967295;case"i8":return 127;case"i16":return 32767;case"i32":return 2147483647;case"f32":return 3402823e32;case"f64":return 179769e303;default:return}}e.d(n,{n1:()=>r,U:()=>i,B3:()=>E,Op:()=>_}),e(80442)},47545:(t,n,e)=>{e.d(n,{d:()=>E});var r=e(22021);function E(t,n,e){var E;const A=t.byteLength/(4*n),s=new Uint32Array(t,0,A*n);let R=new Uint32Array(A);const u=null!=(E=null==e?void 0:e.minReduction)?E:0,a=(null==e?void 0:e.originalIndices)||null,c=a?a.length:0,N=(null==e?void 0:e.componentOffsets)||null;let O=0;if(N)for(let t=0;t<N.length-1;t++){const n=N[t+1]-N[t];n>O&&(O=n)}else O=A;const f=Math.floor(1.1*O)+1;(null==T||T.length<2*f)&&(T=new Uint32Array((0,r.Sf)(2*f)));for(let t=0;t<2*f;t++)T[t]=0;let I=0;const S=!!N&&!!a,M=S?c:A,l=S?new Uint32Array(c):null,C=1.96;let L=0!==u?Math.ceil(4*C*C/(u*u)*u*(1-u)):M,D=1,h=N?N[1]:M;for(let t=0;t<M;t++){if(t===L){const n=1-I/t;if(n+C*Math.sqrt(n*(1-n)/t)<u)return null;L*=2}if(t===h){for(let t=0;t<2*f;t++)T[t]=0;if(a)for(let t=N[D-1];t<N[D];t++)l[t]=R[a[t]];h=N[++D]}const e=S?a[t]:t,r=e*n,E=o(s,r,n);let _=E%f,A=I;for(;0!==T[2*_+1];){if(T[2*_]===E){const t=T[2*_+1]-1;if(i(s,r,t*n,n)){A=R[t];break}}_++,_>=f&&(_-=f)}A===I&&(T[2*_]=E,T[2*_+1]=e+1,I++),R[e]=A}if(0!==u&&1-I/A<u)return null;if(S){for(let t=N[D-1];t<l.length;t++)l[t]=R[a[t]];R=l}const U=new Uint32Array(n*I);I=0;for(let t=0;t<M;t++)R[t]===I&&(_(s,(S?a[t]:t)*n,U,I*n,n),I++);if(a&&!S){const t=new Uint32Array(c);for(let n=0;n<t.length;n++)t[n]=R[a[n]];R=t}return{buffer:U.buffer,indices:R,uniqueCount:I}}function i(t,n,e,r){for(let E=0;E<r;E++)if(t[n+E]!==t[e+E])return!1;return!0}function _(t,n,e,r,E){for(let i=0;i<E;i++)e[r+i]=t[n+i]}function o(t,n,e){let r=0;for(let E=0;E<e;E++)r=t[n+E]+r|0,r=r+(r<<11)+(r>>>2)|0;return r>>>0}let T=null},65576:(t,n,e)=>{e.d(n,{U$:()=>o});var r=e(56481),E=e(79583);class i{constructor(t,n){this.layout=t,this.buffer="number"==typeof n?new ArrayBuffer(n*t.stride):n;for(const n of t.fieldNames){const e=t.fields.get(n);this[n]=new e.constructor(this.buffer,e.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.buffer.byteLength/this.stride}get byteLength(){return this.buffer.byteLength}getField(t,n){const e=this[t];return e&&e.elementCount===n.ElementCount&&e.elementType===n.ElementType?e:null}slice(t,n){return new i(this.layout,this.buffer.slice(t*this.stride,n*this.stride))}copyFrom(t,n,e,r){const E=this.stride;if(E%4==0){const i=new Uint32Array(t.buffer,n*E,r*E/4);new Uint32Array(this.buffer,e*E,r*E/4).set(i)}else{const i=new Uint8Array(t.buffer,n*E,r*E);new Uint8Array(this.buffer,e*E,r*E).set(i)}}}class _{constructor(){this.stride=0,this.fields=new Map,this.fieldNames=[]}vec2f(t,n){return this._appendField(t,r.Eu,n),this}vec2f64(t,n){return this._appendField(t,r.q6,n),this}vec3f(t,n){return this._appendField(t,r.ct,n),this}vec3f64(t,n){return this._appendField(t,r.fP,n),this}vec4f(t,n){return this._appendField(t,r.ek,n),this}vec4f64(t,n){return this._appendField(t,r.Cd,n),this}mat3f(t,n){return this._appendField(t,r.gK,n),this}mat3f64(t,n){return this._appendField(t,r.ey,n),this}mat4f(t,n){return this._appendField(t,r.bj,n),this}mat4f64(t,n){return this._appendField(t,r.O1,n),this}vec4u8(t,n){return this._appendField(t,r.mc,n),this}f32(t,n){return this._appendField(t,r.ly,n),this}f64(t,n){return this._appendField(t,r.oS,n),this}u8(t,n){return this._appendField(t,r.D_,n),this}u16(t,n){return this._appendField(t,r.av,n),this}i8(t,n){return this._appendField(t,r.Hz,n),this}vec2i8(t,n){return this._appendField(t,r.Vs,n),this}vec2i16(t,n){return this._appendField(t,r.or,n),this}vec2u8(t,n){return this._appendField(t,r.xA,n),this}vec4u16(t,n){return this._appendField(t,r.v6,n),this}u32(t,n){return this._appendField(t,r.Nu,n),this}_appendField(t,n,e){const r=n.ElementCount*(0,E.n1)(n.ElementType),i=this.stride;this.fields.set(t,{size:r,constructor:n,offset:i,optional:e}),this.stride+=r,this.fieldNames.push(t)}alignTo(t){return this.stride=Math.floor((this.stride+t-1)/t)*t,this}hasField(t){return this.fieldNames.indexOf(t)>=0}createBuffer(t){return new i(this,t)}createView(t){return new i(this,t)}clone(){const t=new _;return t.stride=this.stride,t.fields=new Map,this.fields.forEach(((n,e)=>t.fields.set(e,n))),t.fieldNames=this.fieldNames.slice(),t.BufferType=this.BufferType,t}}function o(){return new _}},47026:(t,n,e)=>{var r,E,i,_,o,T,A,s,R,u,a,c,N,O;e.d(n,{JJ:()=>N,Vr:()=>E,CE:()=>a,MX:()=>u,Rw:()=>T,hU:()=>A,Am:()=>_,T:()=>r}),function(t){t.POSITION="position",t.NORMAL="normal",t.UV0="uv0",t.AUXPOS1="auxpos1",t.AUXPOS2="auxpos2",t.MAPPOS="mapPos",t.COLOR="color",t.SYMBOLCOLOR="symbolColor",t.SIZE="size",t.TANGENT="tangent",t.OFFSET="offset",t.SUBDIVISIONFACTOR="subdivisionFactor",t.COLORFEATUREATTRIBUTE="colorFeatureAttribute",t.SIZEFEATUREATTRIBUTE="sizeFeatureAttribute",t.OPACITYFEATUREATTRIBUTE="opacityFeatureAttribute",t.DISTANCETOSTART="distanceToStart",t.UVMAPSPACE="uvMapSpace",t.BOUNDINGRECT="boundingRect",t.UVREGION="uvRegion",t.NORMALCOMPRESSED="normalCompressed",t.PROFILERIGHT="profileRight",t.PROFILEUP="profileUp",t.PROFILEVERTEXANDNORMAL="profileVertexAndNormal",t.FEATUREVALUE="featureValue",t.MODELORIGINHI="modelOriginHi",t.MODELORIGINLO="modelOriginLo",t.MODEL="model",t.MODELNORMAL="modelNormal",t.INSTANCECOLOR="instanceColor",t.INSTANCEFEATUREATTRIBUTE="instanceFeatureAttribute",t.LOCALTRANSFORM="localTransform",t.GLOBALTRANSFORM="globalTransform",t.BOUNDINGSPHERE="boundingSphere",t.MODELORIGIN="modelOrigin",t.MODELSCALEFACTORS="modelScaleFactors",t.FEATUREATTRIBUTE="featureAttribute",t.STATE="state",t.LODLEVEL="lodLevel",t.POSITION0="position0",t.POSITION1="position1",t.NORMALA="normalA",t.NORMALB="normalB",t.COMPONENTINDEX="componentIndex",t.VARIANTOFFSET="variantOffset",t.VARIANTSTROKE="variantStroke",t.VARIANTEXTENSION="variantExtension",t.U8PADDING="u8padding",t.U16PADDING="u16padding",t.SIDENESS="sideness",t.START="start",t.END="end",t.UP="up",t.EXTRUDE="extrude"}(r||(r={})),function(t){t[t.None=0]="None",t[t.Front=1]="Front",t[t.Back=2]="Back",t[t.COUNT=3]="COUNT"}(E||(E={})),function(t){t[t.NONE=0]="NONE",t[t.SMAA=1]="SMAA"}(i||(i={})),function(t){t[t.Color=0]="Color",t[t.Alpha=1]="Alpha",t[t.FrontFace=2]="FrontFace",t[t.NONE=3]="NONE",t[t.COUNT=4]="COUNT"}(_||(_={})),function(t){t[t.BACKGROUND=0]="BACKGROUND",t[t.UPDATE=1]="UPDATE"}(o||(o={})),function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"}(T||(T={})),function(t){t[t.IntegratedMeshMaskExcluded=1]="IntegratedMeshMaskExcluded",t[t.OutlineVisualElementMask=2]="OutlineVisualElementMask"}(A||(A={})),function(t){t[t.ASYNC=0]="ASYNC",t[t.SYNC=1]="SYNC"}(s||(s={})),function(t){t[t.Highlight=0]="Highlight",t[t.MaskOccludee=1]="MaskOccludee",t[t.COUNT=2]="COUNT"}(R||(R={})),function(t){t[t.Triangle=0]="Triangle",t[t.Point=1]="Point",t[t.Line=2]="Line"}(u||(u={})),function(t){t[t.STRETCH=1]="STRETCH",t[t.PAD=2]="PAD"}(a||(a={})),function(t){t[t.CHANGED=0]="CHANGED",t[t.UNCHANGED=1]="UNCHANGED"}(c||(c={})),function(t){t[t.Blend=0]="Blend",t[t.Opaque=1]="Opaque",t[t.Mask=2]="Mask",t[t.MaskBlend=3]="MaskBlend",t[t.COUNT=4]="COUNT"}(N||(N={})),function(t){t[t.OFF=0]="OFF",t[t.ON=1]="ON"}(O||(O={}))},18936:(t,n,e)=>{e.r(n),e.d(n,{work:()=>Q,wrappedWork:()=>Z});var r=e(47545);function E(t,n,e){const r=n/3,E=new Uint32Array(e+1),i=new Uint32Array(e+1),_=(t,n)=>{t<n?E[t+1]++:i[n+1]++};for(let n=0;n<r;n++){const e=t[3*n],r=t[3*n+1],E=t[3*n+2];_(e,r),_(r,E),_(E,e)}let o=0,T=0;for(let t=0;t<e;t++){const n=E[t+1],e=i[t+1];E[t+1]=o,i[t+1]=T,o+=n,T+=e}const A=new Uint32Array(6*r),s=E[e],R=(t,n,e)=>{if(t<n){const r=E[t+1]++;A[2*r]=n,A[2*r+1]=e}else{const r=i[n+1]++;A[2*s+2*r]=t,A[2*s+2*r+1]=e}};for(let n=0;n<r;n++){const e=t[3*n],r=t[3*n+1],E=t[3*n+2];R(e,r,n),R(r,E,n),R(E,e,n)}const u=(t,n)=>{const e=2*t,r=n-t;for(let t=1;t<r;t++){const n=A[e+2*t],r=A[e+2*t+1];let E=t-1;for(;E>=0&&A[e+2*E]>n;E--)A[e+2*E+2]=A[e+2*E],A[e+2*E+3]=A[e+2*E+1];A[e+2*E+2]=n,A[e+2*E+3]=r}};for(let t=0;t<e;t++)u(E[t],E[t+1]),u(s+i[t],s+i[t+1]);const a=new Int32Array(3*r),c=(n,e)=>n===t[3*e]?0:n===t[3*e+1]?1:n===t[3*e+2]?2:-1,N=(t,n)=>{const e=c(t,n);a[3*n+e]=-1},O=(t,n,e,r)=>{const E=c(t,n);a[3*n+E]=r;const i=c(e,r);a[3*r+i]=n};for(let t=0;t<e;t++){let n=E[t];const e=E[t+1];let r=i[t];const _=i[t+1];for(;n<e&&r<_;){const e=A[2*n],E=A[2*s+2*r];e===E?(O(t,A[2*n+1],E,A[2*s+2*r+1]),n++,r++):e<E?(N(t,A[2*n+1]),n++):(N(E,A[2*s+2*r+1]),r++)}for(;n<e;)N(t,A[2*n+1]),n++;for(;r<_;)N(A[2*s+2*r],A[2*s+2*r+1]),r++}return a}var i=e(56481),_=e(65576);function o(t,n){return n.push(t.buffer),{buffer:t.buffer,layout:T(t.layout)}}function T(t){const n=new Array;return t.fields.forEach(((t,e)=>{const r={...t,constructor:s(t.constructor)};n.push([e,r])})),{stride:t.stride,fields:n,fieldNames:t.fieldNames}}const A=[i.ly,i.Eu,i.ct,i.ek,i.gK,i.bj,i.oS,i.q6,i.fP,i.Cd,i.ey,i.O1,i.D_,i.xA,i.ne,i.mc,i.av,i.TS,i.mw,i.v6,i.Nu,i.qt,i.G5,i.hu,i.Hz,i.Vs,i.P_,i.ir,i.o7,i.or,i.n1,i.zO,i.Jj,i.wA,i.PP,i.TN];function s(t){return`${t.ElementType}_${t.ElementCount}`}const R=new Map;A.forEach((t=>R.set(s(t),t)));var u=e(35371),a=e(21968);function c(t,n=0){const e=t.stride;return t.fieldNames.filter((n=>{const e=t.fields.get(n).optional;return!(e&&e.glPadding)})).map((r=>{const E=t.fields.get(r),i=E.constructor.ElementCount,_=N(E.constructor.ElementType),o=E.offset,T=!(!E.optional||!E.optional.glNormalized);return new a.G(r,i,_,o,e,T,n)}))}function N(t){const n=O[t];if(n)return n;throw new Error("BufferType not supported in WebGL")}const O={u8:u.g.UNSIGNED_BYTE,u16:u.g.UNSIGNED_SHORT,u32:u.g.UNSIGNED_INT,i8:u.g.BYTE,i16:u.g.SHORT,i32:u.g.INT,f32:u.g.FLOAT};var f=e(47026);const I=(0,_.U$)().vec3f(f.T.POSITION).u16(f.T.COMPONENTINDEX).u16(f.T.U16PADDING),S=(c((0,_.U$)().vec2u8(f.T.SIDENESS)),(0,_.U$)().vec3f(f.T.POSITION0).vec3f(f.T.POSITION1).u16(f.T.COMPONENTINDEX).u8(f.T.VARIANTOFFSET,{glNormalized:!0}).u8(f.T.VARIANTSTROKE).u8(f.T.VARIANTEXTENSION,{glNormalized:!0}).u8(f.T.U8PADDING,{glPadding:!0}).u16(f.T.U16PADDING,{glPadding:!0})),M=S.clone().vec3f(f.T.NORMAL),l=S.clone().vec3f(f.T.NORMALA).vec3f(f.T.NORMALB);new Map([[f.T.POSITION0,0],[f.T.POSITION1,1],[f.T.COMPONENTINDEX,2],[f.T.VARIANTOFFSET,3],[f.T.VARIANTSTROKE,4],[f.T.VARIANTEXTENSION,5],[f.T.NORMAL,6],[f.T.NORMALA,6],[f.T.NORMALB,7],[f.T.SIDENESS,8]]);var C=e(77734),L=e(17896),D=e(65617);class h{updateSettings(t){this.settings=t,this.edgeHashFunction=t.reducedPrecision?G:F}write(t,n,e){const r=this.edgeHashFunction(e);H.seed=r;const E=H.getIntRange(0,255),i=H.getIntRange(0,this.settings.variants-1),_=H.getFloat(),o=255*(.5*function(t,n){const e=t<0?-1:1;return Math.abs(t)**1.2*e}(-(1-Math.min(_/.7,1))+Math.max(0,_-.7)/(1-.7))+.5);t.position0.setVec(n,e.position0),t.position1.setVec(n,e.position1),t.componentIndex.set(n,e.componentIndex),t.variantOffset.set(n,E),t.variantStroke.set(n,i),t.variantExtension.set(n,o)}trim(t,n){return t.slice(0,n)}}const U=new Float32Array(6),d=new Uint32Array(U.buffer),P=new Uint32Array(1);function F(t){const n=U;n[0]=t.position0[0],n[1]=t.position0[1],n[2]=t.position0[2],n[3]=t.position1[0],n[4]=t.position1[1],n[5]=t.position1[2],P[0]=5381;for(let t=0;t<d.length;t++)P[0]=31*P[0]+d[t];return P[0]}function G(t){const n=U;n[0]=B(t.position0[0]),n[1]=B(t.position0[1]),n[2]=B(t.position0[2]),n[3]=B(t.position1[0]),n[4]=B(t.position1[1]),n[5]=B(t.position1[2]),P[0]=5381;for(let t=0;t<d.length;t++)P[0]=31*P[0]+d[t];return P[0]}function B(t){return Math.round(1e4*t)/1e4}class g{constructor(){this.commonWriter=new h}updateSettings(t){this.commonWriter.updateSettings(t)}allocate(t){return M.createBuffer(t)}write(t,n,e){this.commonWriter.write(t,n,e),(0,L.b)(m,e.faceNormal0,e.faceNormal1),(0,L.n)(m,m),t.normal.setVec(n,m)}trim(t,n){return this.commonWriter.trim(t,n)}}g.Layout=M,g.glLayout=c(M,1);class p{constructor(){this.commonWriter=new h}updateSettings(t){this.commonWriter.updateSettings(t)}allocate(t){return l.createBuffer(t)}write(t,n,e){this.commonWriter.write(t,n,e),t.normalA.setVec(n,e.faceNormal0),t.normalB.setVec(n,e.faceNormal1)}trim(t,n){return this.commonWriter.trim(t,n)}}p.Layout=l,p.glLayout=c(l,1);const m=(0,D.c)(),H=new C.Z;var V=e(67676),b=e(22021),w=e(1533);const v=-1;var y,X;function Y(t,n){return t.cosAngle<n}function x(t,n){return t.cosAngle>n}function W(t,n){const e=(0,b.ZF)(t.cosAngle),r=k.fwd,E=k.ortho;return(0,L.r)(r,t.position1,t.position0),e*((0,L.d)((0,L.c)(E,t.faceNormal0,t.faceNormal1),r)>0?-1:1)>n}function q(t){const n=t.faces.length/3,e=t.vertices.position,r=t.faces,E=K.v0,i=K.v1,_=K.v2,o=new Float32Array(3*n);for(let t=0;t<n;t++){const n=r[3*t+0],T=r[3*t+1],A=r[3*t+2];e.getVec(n,E),e.getVec(T,i),e.getVec(A,_),(0,L.f)(i,i,E),(0,L.f)(_,_,E),(0,L.c)(E,i,_),(0,L.n)(E,E),o[3*t+0]=E[0],o[3*t+1]=E[1],o[3*t+2]=E[2]}return o}(X=y||(y={}))[X.SOLID=0]="SOLID",X[X.SKETCH=1]="SKETCH";const k={edge:{position0:(0,D.c)(),position1:(0,D.c)(),faceNormal0:(0,D.c)(),faceNormal1:(0,D.c)(),componentIndex:0,cosAngle:0},ortho:(0,D.c)(),fwd:(0,D.c)()},K={v0:(0,D.c)(),v1:(0,D.c)(),v2:(0,D.c)()},z={anglePlanar:4,angleSignificantEdge:35};async function Z(t){const n=function(t){return{data:I.createView(t.dataBuffer),indices:"Uint32Array"===t.indicesType?new Uint32Array(t.indicesBuffer):"Uint16Array"===t.indicesType?new Uint16Array(t.indicesBuffer):void 0,indicesLength:t.indicesLength,writerSettings:t.writerSettings,skipDeduplicate:t.skipDeduplicate}}(t),e=Q(n),r=[n.data.buffer];return{result:j(e,r),transferList:r}}function Q(t){const n=$(t.data,t.skipDeduplicate,t.indices,t.indicesLength);return J.updateSettings(t.writerSettings),tt.updateSettings(t.writerSettings),function(t,n,e,r=z){const E=t.vertices.position,i=t.vertices.componentIndex,_=(0,b.Vl)(r.anglePlanar),o=(0,b.Vl)(r.angleSignificantEdge),T=Math.cos(o),A=Math.cos(_),s=k.edge,R=s.position0,u=s.position1,a=s.faceNormal0,c=s.faceNormal1,N=q(t),O=function(t){const n=t.faces.length/3,e=t.faces,r=t.neighbors;let E=0;for(let t=0;t<n;t++){const n=r[3*t+0],i=r[3*t+1],_=r[3*t+2],o=e[3*t+0],T=e[3*t+1],A=e[3*t+2];E+=n===v||o<T?1:0,E+=i===v||T<A?1:0,E+=_===v||A<o?1:0}const i=new Int32Array(4*E);let _=0;for(let t=0;t<n;t++){const n=r[3*t+0],E=r[3*t+1],o=r[3*t+2],T=e[3*t+0],A=e[3*t+1],s=e[3*t+2];(n===v||T<A)&&(i[_++]=T,i[_++]=A,i[_++]=t,i[_++]=n),(E===v||A<s)&&(i[_++]=A,i[_++]=s,i[_++]=t,i[_++]=E),(o===v||s<T)&&(i[_++]=s,i[_++]=T,i[_++]=t,i[_++]=o)}return i}(t),f=O.length/4,I=n.allocate(f);let S=0;const M=f,l=e.allocate(M);let C=0,D=0,h=0;const U=(0,V.w6)(0,f),d=new Float32Array(f);(0,w.Ed)(d,((t,n,e)=>{E.getVec(O[4*n+0],R),E.getVec(O[4*n+1],u),e[n]=(0,L.i)(R,u)})),U.sort(((t,n)=>d[n]-d[t]));const P=new Array,F=new Array;for(let t=0;t<f;t++){const r=U[t],o=d[r],f=O[4*r+0],M=O[4*r+1],G=O[4*r+2],B=O[4*r+3],g=B===v;if(E.getVec(f,R),E.getVec(M,u),g)(0,L.s)(a,N[3*G+0],N[3*G+1],N[3*G+2]),(0,L.g)(c,a),s.componentIndex=i.get(f),s.cosAngle=(0,L.d)(a,c);else{if((0,L.s)(a,N[3*G+0],N[3*G+1],N[3*G+2]),(0,L.s)(c,N[3*B+0],N[3*B+1],N[3*B+2]),s.componentIndex=i.get(f),s.cosAngle=(0,L.d)(a,c),x(s,A))continue;s.cosAngle<-.9999&&(0,L.g)(c,a)}D+=o,h++,g||Y(s,T)?(n.write(I,S++,s),P.push(o)):W(s,_)&&(e.write(l,C++,s),F.push(o))}const G=new Float32Array(P.reverse()),B=new Float32Array(F.reverse());return{regular:{instancesData:n.trim(I,S),lodInfo:{lengths:G}},silhouette:{instancesData:e.trim(l,C),lodInfo:{lengths:B}},averageEdgeLength:D/h}}(n,J,tt)}function j(t,n){return n.push(t.regular.lodInfo.lengths.buffer),n.push(t.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:o(t.regular.instancesData,n),lodInfo:{lengths:t.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:o(t.silhouette.instancesData,n),lodInfo:{lengths:t.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:t.averageEdgeLength}}function $(t,n,e,i){if(n)return{faces:e,facesLength:i,neighbors:E(e,i,t.count),vertices:t};const _=(0,r.d)(t.buffer,t.stride/4,{originalIndices:e,originalIndicesLength:i}),o=E(_.indices,i,_.uniqueCount);return{faces:_.indices,facesLength:_.indices.length,neighbors:o,vertices:I.createView(_.buffer)}}const J=new g,tt=new p},21968:(t,n,e)=>{e.d(n,{G:()=>r});class r{constructor(t,n,e,r,E,i=!1,_=0){this.name=t,this.count=n,this.type=e,this.offset=r,this.stride=E,this.normalized=i,this.divisor=_}}},35371:(t,n,e)=>{var r,E,i,_,o,T,A,s,R,u,a,c,N,O,f,I,S,M,l,C,L,D,h,U;e.d(n,{zi:()=>i,db:()=>_,w0:()=>o,VY:()=>U,wb:()=>R,q_:()=>P,Wf:()=>A,g:()=>s,Lu:()=>d,OU:()=>D,LR:()=>T,qi:()=>C,VI:()=>O,Br:()=>I,MX:()=>E,Tg:()=>S,_g:()=>h,lP:()=>f,xS:()=>u,Lm:()=>L,cw:()=>a,No:()=>N,e8:()=>c,l1:()=>M}),function(t){t[t.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",t[t.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",t[t.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT"}(r||(r={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(E||(E={})),function(t){t[t.ZERO=0]="ZERO",t[t.ONE=1]="ONE",t[t.SRC_COLOR=768]="SRC_COLOR",t[t.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",t[t.SRC_ALPHA=770]="SRC_ALPHA",t[t.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",t[t.DST_ALPHA=772]="DST_ALPHA",t[t.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",t[t.DST_COLOR=774]="DST_COLOR",t[t.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",t[t.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",t[t.CONSTANT_COLOR=32769]="CONSTANT_COLOR",t[t.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",t[t.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",t[t.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA"}(i||(i={})),function(t){t[t.ADD=32774]="ADD",t[t.SUBTRACT=32778]="SUBTRACT",t[t.REVERSE_SUBTRACT=32779]="REVERSE_SUBTRACT"}(_||(_={})),function(t){t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t[t.PIXEL_PACK_BUFFER=35051]="PIXEL_PACK_BUFFER",t[t.PIXEL_UNPACK_BUFFER=35052]="PIXEL_UNPACK_BUFFER",t[t.COPY_READ_BUFFER=36662]="COPY_READ_BUFFER",t[t.COPY_WRITE_BUFFER=36663]="COPY_WRITE_BUFFER"}(o||(o={})),function(t){t[t.FRONT=1028]="FRONT",t[t.BACK=1029]="BACK",t[t.FRONT_AND_BACK=1032]="FRONT_AND_BACK"}(T||(T={})),function(t){t[t.CW=2304]="CW",t[t.CCW=2305]="CCW"}(A||(A={})),function(t){t[t.BYTE=5120]="BYTE",t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.SHORT=5122]="SHORT",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.INT=5124]="INT",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.FLOAT=5126]="FLOAT"}(s||(s={})),function(t){t[t.NEVER=512]="NEVER",t[t.LESS=513]="LESS",t[t.EQUAL=514]="EQUAL",t[t.LEQUAL=515]="LEQUAL",t[t.GREATER=516]="GREATER",t[t.NOTEQUAL=517]="NOTEQUAL",t[t.GEQUAL=518]="GEQUAL",t[t.ALWAYS=519]="ALWAYS"}(R||(R={})),function(t){t[t.ZERO=0]="ZERO",t[t.KEEP=7680]="KEEP",t[t.REPLACE=7681]="REPLACE",t[t.INCR=7682]="INCR",t[t.DECR=7683]="DECR",t[t.INVERT=5386]="INVERT",t[t.INCR_WRAP=34055]="INCR_WRAP",t[t.DECR_WRAP=34056]="DECR_WRAP"}(u||(u={})),function(t){t[t.NEAREST=9728]="NEAREST",t[t.LINEAR=9729]="LINEAR",t[t.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",t[t.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",t[t.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",t[t.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR"}(a||(a={})),function(t){t[t.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(c||(c={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_3D=32879]="TEXTURE_3D",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY"}(N||(N={})),function(t){t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t[t.ALPHA=6406]="ALPHA",t[t.RGB=6407]="RGB",t[t.RGBA=6408]="RGBA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.RED=6403]="RED",t[t.RG=33319]="RG",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER"}(O||(O={})),function(t){t[t.RGBA4=32854]="RGBA4",t[t.R16F=33325]="R16F",t[t.RG16F=33327]="RG16F",t[t.RGB32F=34837]="RGB32F",t[t.RGBA16F=34842]="RGBA16F",t[t.R32F=33326]="R32F",t[t.RG32F=33328]="RG32F",t[t.RGBA32F=34836]="RGBA32F",t[t.R11F_G11F_B10F=35898]="R11F_G11F_B10F",t[t.RGB8=32849]="RGB8",t[t.RGBA8=32856]="RGBA8",t[t.RGB5_A1=32855]="RGB5_A1",t[t.R8=33321]="R8",t[t.RG8=33323]="RG8",t[t.R8I=33329]="R8I",t[t.R8UI=33330]="R8UI",t[t.R16I=33331]="R16I",t[t.R16UI=33332]="R16UI",t[t.R32I=33333]="R32I",t[t.R32UI=33334]="R32UI",t[t.RG8I=33335]="RG8I",t[t.RG8UI=33336]="RG8UI",t[t.RG16I=33337]="RG16I",t[t.RG16UI=33338]="RG16UI",t[t.RG32I=33339]="RG32I",t[t.RG32UI=33340]="RG32UI",t[t.RGB16F=34843]="RGB16F",t[t.RGB9_E5=35901]="RGB9_E5",t[t.SRGB8=35905]="SRGB8",t[t.SRGB8_ALPHA8=35907]="SRGB8_ALPHA8",t[t.RGB565=36194]="RGB565",t[t.RGBA32UI=36208]="RGBA32UI",t[t.RGB32UI=36209]="RGB32UI",t[t.RGBA16UI=36214]="RGBA16UI",t[t.RGB16UI=36215]="RGB16UI",t[t.RGBA8UI=36220]="RGBA8UI",t[t.RGB8UI=36221]="RGB8UI",t[t.RGBA32I=36226]="RGBA32I",t[t.RGB32I=36227]="RGB32I",t[t.RGBA16I=36232]="RGBA16I",t[t.RGB16I=36233]="RGB16I",t[t.RGBA8I=36238]="RGBA8I",t[t.RGB8I=36239]="RGB8I",t[t.R8_SNORM=36756]="R8_SNORM",t[t.RG8_SNORM=36757]="RG8_SNORM",t[t.RGB8_SNORM=36758]="RGB8_SNORM",t[t.RGBA8_SNORM=36759]="RGBA8_SNORM",t[t.RGB10_A2=32857]="RGB10_A2",t[t.RGB10_A2UI=36975]="RGB10_A2UI"}(f||(f={})),function(t){t[t.FLOAT=5126]="FLOAT",t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.BYTE=5120]="BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.SHORT=5122]="SHORT",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.INT=5124]="INT",t[t.HALF_FLOAT=5131]="HALF_FLOAT",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV"}(I||(I={})),function(t){t[t.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",t[t.STENCIL_INDEX8=36168]="STENCIL_INDEX8",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t[t.DEPTH_COMPONENT24=33190]="DEPTH_COMPONENT24",t[t.DEPTH_COMPONENT32F=36012]="DEPTH_COMPONENT32F",t[t.DEPTH24_STENCIL8=35056]="DEPTH24_STENCIL8",t[t.DEPTH32F_STENCIL8=36013]="DEPTH32F_STENCIL8"}(S||(S={})),function(t){t[t.STATIC_DRAW=35044]="STATIC_DRAW",t[t.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",t[t.STREAM_DRAW=35040]="STREAM_DRAW",t[t.STATIC_READ=35045]="STATIC_READ",t[t.DYNAMIC_READ=35049]="DYNAMIC_READ",t[t.STREAM_READ=35041]="STREAM_READ",t[t.STATIC_COPY=35046]="STATIC_COPY",t[t.DYNAMIC_COPY=35050]="DYNAMIC_COPY",t[t.STREAM_COPY=35042]="STREAM_COPY"}(M||(M={})),function(t){t[t.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",t[t.VERTEX_SHADER=35633]="VERTEX_SHADER"}(l||(l={})),function(t){t[t.FRAMEBUFFER=36160]="FRAMEBUFFER",t[t.READ_FRAMEBUFFER=36008]="READ_FRAMEBUFFER",t[t.DRAW_FRAMEBUFFER=36009]="DRAW_FRAMEBUFFER"}(C||(C={})),function(t){t[t.TEXTURE=0]="TEXTURE",t[t.RENDER_BUFFER=1]="RENDER_BUFFER",t[t.CUBEMAP=2]="CUBEMAP"}(L||(L={})),function(t){t[t.NONE=0]="NONE",t[t.DEPTH_RENDER_BUFFER=1]="DEPTH_RENDER_BUFFER",t[t.STENCIL_RENDER_BUFFER=2]="STENCIL_RENDER_BUFFER",t[t.DEPTH_STENCIL_RENDER_BUFFER=3]="DEPTH_STENCIL_RENDER_BUFFER",t[t.DEPTH_STENCIL_TEXTURE=4]="DEPTH_STENCIL_TEXTURE"}(D||(D={})),function(t){t[t.Texture=0]="Texture",t[t.Buffer=1]="Buffer",t[t.VAO=2]="VAO",t[t.Shader=3]="Shader",t[t.Program=4]="Program",t[t.Framebuffer=5]="Framebuffer",t[t.Renderbuffer=6]="Renderbuffer",t[t.COUNT=7]="COUNT"}(h||(h={})),function(t){t[t.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",t[t.COLOR_ATTACHMENT1=36065]="COLOR_ATTACHMENT1",t[t.COLOR_ATTACHMENT2=36066]="COLOR_ATTACHMENT2",t[t.COLOR_ATTACHMENT3=36067]="COLOR_ATTACHMENT3",t[t.COLOR_ATTACHMENT4=36068]="COLOR_ATTACHMENT4",t[t.COLOR_ATTACHMENT5=36069]="COLOR_ATTACHMENT5",t[t.COLOR_ATTACHMENT6=36070]="COLOR_ATTACHMENT6",t[t.COLOR_ATTACHMENT7=36071]="COLOR_ATTACHMENT7",t[t.COLOR_ATTACHMENT8=36072]="COLOR_ATTACHMENT8",t[t.COLOR_ATTACHMENT9=36073]="COLOR_ATTACHMENT9",t[t.COLOR_ATTACHMENT10=36074]="COLOR_ATTACHMENT10",t[t.COLOR_ATTACHMENT11=36075]="COLOR_ATTACHMENT11",t[t.COLOR_ATTACHMENT12=36076]="COLOR_ATTACHMENT12",t[t.COLOR_ATTACHMENT13=36077]="COLOR_ATTACHMENT13",t[t.COLOR_ATTACHMENT14=36078]="COLOR_ATTACHMENT14",t[t.COLOR_ATTACHMENT15=36079]="COLOR_ATTACHMENT15"}(U||(U={}));const d=33306;var P,F,G,B,g,p,m;!function(t){t[t.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777]="COMPRESSED_RGBA_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778]="COMPRESSED_RGBA_S3TC_DXT3_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",t[t.COMPRESSED_R11_EAC=37488]="COMPRESSED_R11_EAC",t[t.COMPRESSED_SIGNED_R11_EAC=37489]="COMPRESSED_SIGNED_R11_EAC",t[t.COMPRESSED_RG11_EAC=37490]="COMPRESSED_RG11_EAC",t[t.COMPRESSED_SIGNED_RG11_EAC=37491]="COMPRESSED_SIGNED_RG11_EAC",t[t.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",t[t.COMPRESSED_SRGB8_ETC2=37493]="COMPRESSED_SRGB8_ETC2",t[t.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37494]="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37495]="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_RGBA8_ETC2_EAC=37496]="COMPRESSED_RGBA8_ETC2_EAC",t[t.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37497]="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC"}(P||(P={})),function(t){t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_VEC2=35664]="FLOAT_VEC2",t[t.FLOAT_VEC3=35665]="FLOAT_VEC3",t[t.FLOAT_VEC4=35666]="FLOAT_VEC4",t[t.INT=5124]="INT",t[t.INT_VEC2=35667]="INT_VEC2",t[t.INT_VEC3=35668]="INT_VEC3",t[t.INT_VEC4=35669]="INT_VEC4",t[t.BOOL=35670]="BOOL",t[t.BOOL_VEC2=35671]="BOOL_VEC2",t[t.BOOL_VEC3=35672]="BOOL_VEC3",t[t.BOOL_VEC4=35673]="BOOL_VEC4",t[t.FLOAT_MAT2=35674]="FLOAT_MAT2",t[t.FLOAT_MAT3=35675]="FLOAT_MAT3",t[t.FLOAT_MAT4=35676]="FLOAT_MAT4",t[t.SAMPLER_2D=35678]="SAMPLER_2D",t[t.SAMPLER_CUBE=35680]="SAMPLER_CUBE",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_VEC2=36294]="UNSIGNED_INT_VEC2",t[t.UNSIGNED_INT_VEC3=36295]="UNSIGNED_INT_VEC3",t[t.UNSIGNED_INT_VEC4=36296]="UNSIGNED_INT_VEC4",t[t.FLOAT_MAT2x3=35685]="FLOAT_MAT2x3",t[t.FLOAT_MAT2x4=35686]="FLOAT_MAT2x4",t[t.FLOAT_MAT3x2=35687]="FLOAT_MAT3x2",t[t.FLOAT_MAT3x4=35688]="FLOAT_MAT3x4",t[t.FLOAT_MAT4x2=35689]="FLOAT_MAT4x2",t[t.FLOAT_MAT4x3=35690]="FLOAT_MAT4x3",t[t.SAMPLER_3D=35679]="SAMPLER_3D",t[t.SAMPLER_2D_SHADOW=35682]="SAMPLER_2D_SHADOW",t[t.SAMPLER_2D_ARRAY=36289]="SAMPLER_2D_ARRAY",t[t.SAMPLER_2D_ARRAY_SHADOW=36292]="SAMPLER_2D_ARRAY_SHADOW",t[t.SAMPLER_CUBE_SHADOW=36293]="SAMPLER_CUBE_SHADOW",t[t.INT_SAMPLER_2D=36298]="INT_SAMPLER_2D",t[t.INT_SAMPLER_3D=36299]="INT_SAMPLER_3D",t[t.INT_SAMPLER_CUBE=36300]="INT_SAMPLER_CUBE",t[t.INT_SAMPLER_2D_ARRAY=36303]="INT_SAMPLER_2D_ARRAY",t[t.UNSIGNED_INT_SAMPLER_2D=36306]="UNSIGNED_INT_SAMPLER_2D",t[t.UNSIGNED_INT_SAMPLER_3D=36307]="UNSIGNED_INT_SAMPLER_3D",t[t.UNSIGNED_INT_SAMPLER_CUBE=36308]="UNSIGNED_INT_SAMPLER_CUBE",t[t.UNSIGNED_INT_SAMPLER_2D_ARRAY=36311]="UNSIGNED_INT_SAMPLER_2D_ARRAY"}(F||(F={})),function(t){t[t.OBJECT_TYPE=37138]="OBJECT_TYPE",t[t.SYNC_CONDITION=37139]="SYNC_CONDITION",t[t.SYNC_STATUS=37140]="SYNC_STATUS",t[t.SYNC_FLAGS=37141]="SYNC_FLAGS"}(G||(G={})),function(t){t[t.UNSIGNALED=37144]="UNSIGNALED",t[t.SIGNALED=37145]="SIGNALED"}(B||(B={})),function(t){t[t.ALREADY_SIGNALED=37146]="ALREADY_SIGNALED",t[t.TIMEOUT_EXPIRED=37147]="TIMEOUT_EXPIRED",t[t.CONDITION_SATISFIED=37148]="CONDITION_SATISFIED",t[t.WAIT_FAILED=37149]="WAIT_FAILED"}(g||(g={})),function(t){t[t.SYNC_GPU_COMMANDS_COMPLETE=37143]="SYNC_GPU_COMMANDS_COMPLETE"}(p||(p={})),function(t){t[t.SYNC_FLUSH_COMMANDS_BIT=1]="SYNC_FLUSH_COMMANDS_BIT"}(m||(m={}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3485],{66577:(e,t,i)=>{i.d(t,{qM:()=>u});var r=i(75215),n=i(6570),l=i(9361),o=i(65091),s=i(13473),a=i(17332),c=i(58901);i(82971),i(86973),i(33955);const u={base:l.Z,key:"type",typeMap:{extent:n.Z,multipoint:o.Z,point:s.Z,polyline:c.Z,polygon:a.Z}};(0,r.N7)(u)},33955:(e,t,i)=>{i.d(t,{im:()=>m,q9:()=>v,Ji:()=>h,YX:()=>u,aW:()=>p,wp:()=>d,oU:()=>y,l9:()=>f});var r=i(70586),n=i(6570),l=i(9361),o=i(65091),s=i(13473),a=i(17332),c=i(58901);function u(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function p(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function f(e){return void 0!==e.paths}function y(e){return void 0!==e.rings}function m(e){return(0,r.Wi)(e)?null:e instanceof l.Z?e:d(e)?s.Z.fromJSON(e):f(e)?c.Z.fromJSON(e):y(e)?a.Z.fromJSON(e):p(e)?o.Z.fromJSON(e):u(e)?n.Z.fromJSON(e):null}function h(e){return e?d(e)?"esriGeometryPoint":f(e)?"esriGeometryPolyline":y(e)?"esriGeometryPolygon":u(e)?"esriGeometryEnvelope":p(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:s.Z,esriGeometryPolyline:c.Z,esriGeometryPolygon:a.Z,esriGeometryEnvelope:n.Z,esriGeometryMultipoint:o.Z};function v(e){return e&&g[e]||null}},86973:(e,t,i)=>{i.d(t,{Mk:()=>n,P$:()=>l});var r=i(35454);const n=(0,r.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),l=(0,r.w)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},39450:(e,t,i)=>{i.d(t,{Z:()=>u});var r,n=i(43697),l=i(96674),o=i(5600),s=(i(67676),i(80442),i(75215)),a=i(52011);let c=r=class extends l.wq{constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,n._)([(0,o.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"cols",void 0),(0,n._)([(0,o.Cb)({type:s.z8,json:{write:!0}})],c.prototype,"level",void 0),(0,n._)([(0,o.Cb)({type:String,json:{write:!0}})],c.prototype,"levelValue",void 0),(0,n._)([(0,o.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"origin",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{write:!0}})],c.prototype,"resolution",void 0),(0,n._)([(0,o.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"rows",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{write:!0}})],c.prototype,"scale",void 0),c=r=(0,n._)([(0,a.j)("esri.layers.support.LOD")],c);const u=c},11145:(e,t,i)=>{i.d(t,{Z:()=>T});var r,n=i(43697),l=i(35454),o=i(96674),s=i(70586),a=i(67900),c=i(5600),u=(i(67676),i(80442),i(75215)),p=i(71715),d=i(52011),f=i(30556),y=i(13473),m=i(82971),h=i(24470),g=i(8744),v=i(40488),_=i(39450);const w=new l.X({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let b=r=class extends o.wq{constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.minScale=0,this.maxScale=0,this.size=null,this.spatialReference=null}static create(e={}){const{resolutionFactor:t=1,scales:i,size:n=256,spatialReference:l=m.Z.WebMercator,numLODs:o=24}=e;if(!(0,g.JY)(l)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push({level:t,scale:r,resolution:r})}else{let t=5e-4;for(let i=o-1;i>=0;i--)e.unshift({level:i,scale:t,resolution:t}),t*=2}return new r({dpi:96,lods:e,origin:new y.Z(0,0,l),size:[n,n],spatialReference:l})}const s=(0,g.C5)(l),c=e.origin?new y.Z({x:e.origin.x,y:e.origin.y,spatialReference:l}):new y.Z(s?{x:s.origin[0],y:s.origin[1],spatialReference:l}:{x:0,y:0,spatialReference:l}),u=1/(39.37*(0,a.c9)(l)*96),p=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*u;p.push({level:e,scale:t,resolution:r})}else{let e=(0,g.sT)(l)?512/n*591657527.5917094:256/n*591657527.591555;const i=Math.ceil(o/t);p.push({level:0,scale:e,resolution:e*u});for(let r=1;r<i;r++){const i=e/2**t,n=i*u;p.push({level:r,scale:i,resolution:n}),e=i}}return new r({dpi:96,lods:p,origin:c,size:[n,n],spatialReference:l})}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,g.C5)(e);return e.isWrappable&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return y.Z.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[];this._levelToLOD={},e&&(t=-1/0,i=1/0,e.forEach((e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,this._levelToLOD[e.level]=e}))),this._set("scales",r),this._set("minScale",t),this._set("maxScale",i),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];{const i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],n=t[r+1];if(i<=e)return r;if(n===e)return r+1;if(i>e&&n<e)return r+Math.log(i/e)/Math.log(i/n)}return r}snapScale(e,t=.95){const i=this.scaleToZoom(e);return i%Math.floor(i)>=t?this.zoomToScale(Math.ceil(i)):this.zoomToScale(Math.floor(i))}tileAt(e,t,i,r){const n=this.lodAt(e);if(!n)return null;let l,o;if("number"==typeof t)l=t,o=i;else if((0,g.fS)(t.spatialReference,this.spatialReference))l=t.x,o=t.y,r=i;else{const e=(0,v.iV)(t,this.spatialReference);if((0,s.Wi)(e))return null;l=e.x,o=e.y,r=i}const a=n.resolution*this.size[0],c=n.resolution*this.size[1];return r||(r={id:null,level:0,row:0,col:0,extent:(0,h.Ue)()}),r.level=e,r.row=Math.floor((this.origin.y-o)/c+.001),r.col=Math.floor((l-this.origin.x)/a+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=r.ExtrapolateOptions.NONE){let i=this.lodAt(e.level);if(!i&&t===r.ExtrapolateOptions.POWER_OF_TWO){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return;const n=e.level-i.level,l=i.resolution*this.size[0]/2**n,o=i.resolution*this.size[1]/2**n;e.id=`${e.level}/${e.row}/${e.col}`,e.extent||(e.extent=(0,h.Ue)()),e.extent[0]=this.origin.x+e.col*l,e.extent[1]=this.origin.y-(e.row+1)*o,e.extent[2]=e.extent[0]+l,e.extent[3]=e.extent[1]+o}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const{resolution:i}=this.lodAt(t.level),r=i*this.size[0],n=i*this.size[1];return e[0]=this.origin.x+t.col*r,e[1]=this.origin.y-(t.row+1)*n,e[2]=e[0]+r,e[3]=e[1]+n,e}lodAt(e){return this._levelToLOD&&this._levelToLOD[e]||null}clone(){return r.fromJSON(this.write({}))}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};var F,x;(0,n._)([(0,c.Cb)({type:Number,json:{write:!0}})],b.prototype,"compressionQuality",void 0),(0,n._)([(0,c.Cb)({type:Number,json:{write:!0}})],b.prototype,"dpi",void 0),(0,n._)([(0,c.Cb)({type:String,json:{read:w.read,write:w.write,origins:{"web-scene":{read:!1,write:!1}}}})],b.prototype,"format",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"isWrappable",null),(0,n._)([(0,c.Cb)({type:y.Z,json:{write:!0}})],b.prototype,"origin",void 0),(0,n._)([(0,p.r)("origin")],b.prototype,"readOrigin",null),(0,n._)([(0,c.Cb)({type:[_.Z],value:null,json:{write:!0}})],b.prototype,"lods",null),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"minScale",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"maxScale",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"scales",void 0),(0,n._)([(0,c.Cb)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],b.prototype,"size",void 0),(0,n._)([(0,p.r)("size",["rows","cols"])],b.prototype,"readSize",null),(0,n._)([(0,f.c)("size",{cols:{type:u.z8},rows:{type:u.z8}})],b.prototype,"writeSize",null),(0,n._)([(0,c.Cb)({type:m.Z,json:{write:!0}})],b.prototype,"spatialReference",void 0),b=r=(0,n._)([(0,d.j)("esri.layers.support.TileInfo")],b),F=b||(b={}),(x=F.ExtrapolateOptions||(F.ExtrapolateOptions={}))[x.NONE=0]="NONE",x[x.POWER_OF_TWO=1]="POWER_OF_TWO";const T=b},35671:(e,t,i)=>{i.d(t,{io:()=>g,AB:()=>h,gd:()=>m,Mu:()=>w,Q0:()=>y,YN:()=>u,UF:()=>d,O5:()=>v,os:()=>b,H7:()=>I,qN:()=>L,Pz:()=>C,Qc:()=>V,vP:()=>U});var r,n,l=i(20102),o=i(78286);(n=r||(r={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",n.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";var s=i(59266);const a=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],c=["field","normalizationField"];function u(e,t){if(null!=e&&null!=t)for(const i of Array.isArray(e)?e:[e])if(p(a,i,t),"visualVariables"in i&&i.visualVariables)for(const e of i.visualVariables)p(c,e,t)}function p(e,t,i){if(e)for(const r of e){const e=(0,o.hS)(r,t),n=e&&"function"!=typeof e&&i.get(e);n&&(0,o.RB)(r,n.name,t)}}function d(e,t){if(null!=e&&null!=t&&t.fields.length)if("startField"in e){const i=t.get(e.startField),r=t.get(e.endField);e.startField=i&&i.name||null,e.endField=r&&r.name||null}else{const i=t.get(e.startTimeField),r=t.get(e.endTimeField);e.startTimeField=i&&i.name||null,e.endTimeField=r&&r.name||null}}const f=new Set;function y(e,t){return e&&t?(f.clear(),m(f,e,t),Array.from(f).sort()):[]}function m(e,t,i){var r;if(i)if(null!=t&&null!=(r=t.fields)&&r.length)if(i.includes("*"))for(const{name:i}of t.fields)e.add(i);else for(const r of i)h(e,t,r);else{if(i.includes("*"))return e.clear(),void e.add("*");for(const t of i)e.add(t)}}function h(e,t,i){if("string"==typeof i)if(t){const r=t.get(i);r&&e.add(r.name)}else e.add(i)}async function g(e,t,i){var r;if(!i)return;const{arcadeUtils:n}=await(0,s.LC)(),l=n.extractFieldNames(i,null==t||null==(r=t.fields)?void 0:r.map((e=>e.name)));for(const i of l)h(e,t,i)}function v({displayField:e,fields:t}){return e||(t&&t.length?_(t,"name-or-title")||_(t,"unique-identifier")||_(t,"type-or-category")||function(e){for(const t of e){if(!t||!t.name)continue;const e=t.name.toLowerCase();if(e.indexOf("name")>-1||e.indexOf("title")>-1)return t.name}return null}(t):null)}function _(e,t){for(const i of e)if(i&&i.valueType&&i.valueType===t)return i.name;return null}async function w(e,t){const{labelingInfo:r,fieldsIndex:n}=t;r&&r.length&&await Promise.all(r.map((t=>async function(e,t,r){if(!r)return;const n=r.getLabelExpression(),o=r.where;if("arcade"===n.type)await g(e,t,n.expression);else{const i=n.expression.match(/{[^}]*}/g);i&&i.forEach((i=>{h(e,t,i.slice(1,-1))}))}await async function(e,t,r){if(r&&"1=1"!==r){const n=(await Promise.all([i.e(1534),i.e(5732)]).then(i.bind(i,41534))).WhereClause.create(r,t);if(!n.isStandardized)throw new l.Z("fieldUtils:collectFilterFields","Where clause is not standardized");m(e,t,n.fieldNames)}}(e,t,o)}(e,n,t))))}function b(e){const t=e.defaultValue;return void 0!==t&&A(e,t)?t:e.nullable?null:void 0}function F(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function x(e){return null===e||F(e)}const T="isInteger"in Number?Number.isInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e;function O(e){return null===e||T(e)}function S(e){return null!=e&&"string"==typeof e}function N(e){return null===e||S(e)}function E(){return!0}function A(e,t){let i;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":i=e.nullable?O:T;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":i=e.nullable?x:F;break;case"string":case"esriFieldTypeString":i=e.nullable?N:S;break;default:i=E}return 1===arguments.length?i:i(t)}const G=new Set(["integer","small-integer","single","double","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]);function I(e){return null!=e&&G.has(e.type)}function L(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}var R,z;function C(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function V(e,t){return e.nullable&&null===t?null:I(e)&&!function(e,t){const i="string"==typeof e?P(e):e;return!!i&&(i.isInteger?T(t)&&t>=i.min&&t<=i.max:t>=i.min&&t<=i.max)}(e.type,Number(t))?R.OUT_OF_RANGE:A(e,t)?e.domain?function(e,t){switch(e.type){case"range":{const i="range"in e?e.range[0]:e.minValue,n="range"in e?e.range[1]:e.maxValue;if(+t<i||+t>n)return r.VALUE_OUT_OF_RANGE;break}case"coded-value":case"codedValue":if(null==e.codedValues||e.codedValues.every((e=>null==e||e.code!==t)))return r.INVALID_CODED_VALUE}return null}(e.domain,t):null:z.INVALID_TYPE}function P(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return D;case"esriFieldTypeInteger":case"integer":return Z;case"esriFieldTypeSingle":case"single":return M;case"esriFieldTypeDouble":case"double":return $}}!function(e){e.OUT_OF_RANGE="numeric-range-validation-error::out-of-range"}(R||(R={})),function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(z||(z={}));const D={min:-32768,max:32767,isInteger:!0},Z={min:-2147483648,max:2147483647,isInteger:!0},M={min:-34e37,max:12e37,isInteger:!1},$={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1};function U(e,t,i){switch(e){case r.INVALID_CODED_VALUE:return`Value ${i} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case r.VALUE_OUT_OF_RANGE:return`Value ${i} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case z.INVALID_TYPE:return`Value ${i} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case R.OUT_OF_RANGE:{const{min:e,max:r}=P(t.type);return`Value ${i} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${r}`}}}},59266:(e,t,i)=>{i.d(t,{mz:()=>u,pp:()=>c,WW:()=>s,Yi:()=>a,LC:()=>o}),i(66577);var r=i(70586),n=i(82971);let l;function o(){return l||(l=(async()=>{const e=await Promise.all([i.e(9490),i.e(6690)]).then(i.bind(i,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),l}const s=(e,t,i)=>u.create(e,t,i,null,["$feature"]),a=(e,t,i)=>u.create(e,t,i,null,["$feature","$view"]),c=(e,t,i,r)=>u.create(e,t,i,r,["$feature","$view"]);class u{constructor(e,t,i,r,n,l,o,s){this.script=e,this.evaluate=n;const a=Array.isArray(o)?o:o.fields;this.fields=a,this._syntaxTree=r,this._arcade=t,this._arcadeDictionary=i,this._arcadeFeature=l,this._spatialReference=s,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,i,l,s,a){const{arcade:c,Feature:p,Dictionary:d}=await o(),f=n.Z.fromJSON(t),y=c.parseScript(e,a),m=s.reduce(((e,t)=>({...e,[t]:null})),{});let h=null;(0,r.pC)(l)&&(h=new d(l),h.immutable=!0,m.$config=null);const g=c.scriptUsesGeometryEngine(y)&&c.enableGeometrySupport(),v=c.scriptUsesFeatureSet(y)&&c.enableFeatureSetSupport(),_=c.scriptIsAsync(y)&&c.enableAsyncSupport(),w={vars:m,spatialReference:f,useAsync:!!_},b=new d;b.immutable=!1,b.setField("scale",0);const F=c.compileScript(y,w);return await Promise.all([g,v,_]),new u(e,c,d,y,(e=>("$view"in e&&e.$view&&(b.setField("scale",e.$view.scale),e.$view=b),h&&(e.$config=h),F({vars:e,spatialReference:f}))),new p,i,f)}repurposeFeature(e){return e.geometry&&!e.geometry.spatialReference&&(e.geometry.spatialReference=this._spatialReference),this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry,e.attributes,{fields:this.fields}),this._arcadeFeature}repurposeAdapter(e){return this._arcadeFeature.repurposeFromAdapter(e,{fields:this.fields}),this._arcadeFeature}createDictionary(){return new this._arcadeDictionary}referencesMember(e){return this._arcade.referencesMember(this._syntaxTree,e)}referencesFunction(e){return this._arcade.referencesFunction(this._syntaxTree,e)}referencesGeometry(){return this._referencesGeometry}referencesScale(){return this._referencesScale}extractFieldLiterals(){return this._arcade.extractExpectedFieldLiterals(this._syntaxTree)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8961],{82397:(e,t,n)=>{n.d(t,{vY:()=>l,J9:()=>f,U1:()=>g,Ie:()=>d,G6:()=>m});var r=n(70586);n(33955);const o=(e,t,n)=>[t,n],s=(e,t,n)=>[t,n,e[2]],i=(e,t,n)=>[t,n,e[2],e[3]];function l(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],translate:(0,r.pC)(e.extent)?[e.extent.xmin,e.extent.ymax]:[0,0]}:null}function c({scale:e,translate:t},n){return n*e[0]+t[0]}function u({scale:e,translate:t},n){return t[1]-n*e[1]}function h(e,t,n){const r=new Array(n.length);if(!n.length)return r;const[o,s]=e.scale;let i=c(e,n[0][0]),l=u(e,n[0][1]);r[0]=t(n[0],i,l);for(let e=1;e<n.length;e++){const c=n[e];i+=c[0]*o,l-=c[1]*s,r[e]=t(c,i,l)}return r}function a(e,t,n){const r=new Array(n.length);for(let o=0;o<n.length;o++)r[o]=h(e,t,n[o]);return r}function f(e,t,n,l,c){return(0,r.pC)(n)&&(t.points=function(e,t,n,r){return h(e,n?r?i:s:r?s:o,t)}(e,n.points,l,c)),t}function g(e,t,n,o,s){return(0,r.Wi)(n)||(t.x=c(e,n.x),t.y=u(e,n.y),t!==n&&(o&&(t.z=n.z),s&&(t.m=n.m))),t}function d(e,t,n,l,c){return(0,r.pC)(n)&&(t.rings=function(e,t,n,r){return a(e,n?r?i:s:r?s:o,t)}(e,n.rings,l,c)),t}function m(e,t,n,l,c){return(0,r.pC)(n)&&(t.paths=function(e,t,n,r){return a(e,n?r?i:s:r?s:o,t)}(e,n.paths,l,c)),t}},70272:(e,t,n)=>{n.d(t,{nd:()=>i,ZP:()=>o,S6:()=>s});var r=n(70586);class o{constructor(e=null,t={},n,r){this.geometry=e,this.attributes=t,this.centroid=n,this.objectId=r,this.displayId=0,this.geohashX=0,this.geohashY=0}weakClone(){const e=new o(this.geometry,this.attributes,this.centroid,this.objectId);return e.displayId=this.displayId,e.geohashX=this.geohashX,e.geohashY=this.geohashY,e}}function s(e){return!((0,r.Wi)(e.geometry)||!e.geometry.coords||!e.geometry.coords.length)}class i extends o{}},44876:(e,t,n)=>{n.d(t,{Z:()=>r});class r{constructor(){this.objectIdFieldName=null,this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const e=new r;return e.objectIdFieldName=this.objectIdFieldName,e.globalIdFieldName=this.globalIdFieldName,e.geohashFieldName=this.geohashFieldName,e.geometryProperties=this.geometryProperties,e.geometryType=this.geometryType,e.spatialReference=this.spatialReference,e.hasZ=this.hasZ,e.hasM=this.hasM,e.features=this.features,e.fields=this.fields,e.transform=this.transform,e.exceededTransferLimit=this.exceededTransferLimit,e.uniqueIdField=this.uniqueIdField,e.queryGeometry=this.queryGeometry,e.queryGeometryType=this.queryGeometryType,e}}},5428:(e,t,n)=>{n.d(t,{Z:()=>r});class r{constructor(e=[],t=[],n=!1){this.lengths=null!=e?e:[],this.coords=null!=t?t:[],this.hasIndeterminateRingOrder=n}get isPoint(){return 0===this.lengths.length}get maxLength(){return Math.max(...this.lengths)}get size(){return this.lengths.reduce(((e,t)=>e+t))}forEachVertex(e){let t=0;this.lengths.length||e(this.coords[0],this.coords[1]);for(let n=0;n<this.lengths.length;n++){const r=this.lengths[n];for(let n=0;n<r;n++)e(this.coords[2*(n+t)],this.coords[2*(n+t)+1]);t+=r}}clone(e){return e?(e.set(this.coords),new r(this.lengths.slice(),e,this.hasIndeterminateRingOrder)):new r(this.lengths.slice(),this.coords.slice(),this.hasIndeterminateRingOrder)}}},98732:(e,t,n)=>{n.d(t,{XA:()=>U,h_:()=>X,Yn:()=>S,GH:()=>A,Uy:()=>W,EI:()=>$,cn:()=>_,di:()=>O,Iv:()=>q,fQ:()=>G,eG:()=>L,J6:()=>v,oB:()=>se,zj:()=>Q,$:()=>ee,lz:()=>oe,RZ:()=>B,Nh:()=>H,Jd:()=>I,IN:()=>b,hY:()=>ne,lM:()=>J,$g:()=>te});var r=n(20102),o=n(92604),s=n(70586),i=n(33955),l=n(70272),c=n(44876),u=n(5428);function h(e,t){return e?t?4:3:t?3:2}const a=o.Z.getLogger("esri.tasks.support.optimizedFeatureSet"),f={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0},g=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s},d=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s,e[n+2]=t[r+2]},m=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s,e[n+2]=t[r+3]},y=(e,t,n,r,o,s)=>{e[n]=o,e[n+1]=s,e[n+2]=t[r+2],e[n+3]=t[r+3]};function p(e,t,n,r){if(e){if(n)return t&&r?y:d;if(t&&r)return m}else if(t&&r)return d;return g}function I({scale:e,translate:t},n){return Math.round((n-t[0])/e[0])}function b({scale:e,translate:t},n){return Math.round((t[1]-n)/e[1])}function w({scale:e,translate:t},n){return n*e[0]+t[0]}function Z({scale:e,translate:t},n){return t[1]-n*e[1]}function G(e,t,n){return e?t?n?k(e):F(e):n?T(e):M(e):null}function M(e){const t=e.coords;return{x:t[0],y:t[1]}}function N(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e}function F(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2]}}function P(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e}function T(e){const t=e.coords;return{x:t[0],y:t[1],m:t[2]}}function x(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.m,e}function k(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2],m:t[3]}}function C(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e.coords[3]=t.m,e}function j(e,t){return e&&t?C:e?P:t?x:N}function q(e,t,n){if((0,s.Wi)(e))return null;const r=h(t,n),o=[];for(let t=0;t<e.coords.length;t+=r){const n=[];for(let o=0;o<r;o++)n.push(e.coords[t+o]);o.push(n)}return t?n?{points:o,hasZ:t,hasM:n}:{points:o,hasZ:t}:n?{points:o,hasM:n}:{points:o}}function R(e,t,n=h(t.hasZ,t.hasM)){e.lengths[0]=t.points.length;const r=e.coords;let o=0;for(const e of t.points)for(let t=0;t<n;t++)r[o++]=e[t];return e}function v(e,t,n){if(!e)return null;const r=h(t,n),{coords:o,lengths:s}=e,i=[];let l=0;for(const e of s){const t=[];for(let n=0;n<e;n++){const e=[];for(let t=0;t<r;t++)e.push(o[l++]);t.push(e)}i.push(t)}return t?n?{paths:i,hasZ:t,hasM:n}:{paths:i,hasZ:t}:n?{paths:i,hasM:n}:{paths:i}}function z(e,t,n=h(t.hasZ,t.hasM)){const{lengths:r,coords:o}=e;let s=0;for(const e of t.paths){for(const t of e)for(let e=0;e<n;e++)o[s++]=t[e];r.push(e.length)}return e}function L(e,t,n){if(!e)return null;const r=h(t,n),{coords:o,lengths:s}=e,i=[];let l=0;for(const e of s){const t=[];for(let n=0;n<e;n++){const e=[];for(let t=0;t<r;t++)e.push(o[l++]);t.push(e)}i.push(t)}return t?n?{rings:i,hasZ:t,hasM:n}:{rings:i,hasZ:t}:n?{rings:i,hasM:n}:{rings:i}}function W(e,t,n=t.hasZ,r=t.hasM){return function(e,t,n,r){const o=h(n,r),{lengths:s,coords:i}=e;let l=0;s.length=i.length=0;for(const e of t){for(const t of e)for(let e=0;e<o;e++)i[l++]=t[e];s.push(e.length)}}(e,t.rings,n,r),e}const Y=[],E=[];function U(e,t,n,r,o){Y[0]=e;const[s]=S(E,Y,t,n,r,o);return Y.length=E.length=0,s}function S(e,t,n,o,i,c){if(e.length=0,!n){for(const n of t){const t=n.attributes[c];e.push(new l.ZP(null,n.attributes,null,t))}return e}switch(n){case"esriGeometryPoint":return function(e,t,n,r,o){const s=j(n,r);for(const n of t){const{geometry:t,attributes:r}=n;let i;t&&(i=s(new u.Z,t)),e.push(new l.ZP(i,r,null,r[o]))}return e}(e,t,o,i,c);case"esriGeometryMultipoint":return function(e,t,n,r,o){const s=h(n,r);for(const n of t){const t=n.geometry,r=n.attributes;let i;t&&(i=R(new u.Z,t,s)),e.push(new l.ZP(i,r,null,r[o]))}return e}(e,t,o,i,c);case"esriGeometryPolyline":return function(e,t,n,r,o){const s=h(n,r);for(const n of t){const t=n.geometry,r=n.attributes;let i;t&&(i=z(new u.Z,t,s)),e.push(new l.ZP(i,r,null,r[o]))}return e}(e,t,o,i,c);case"esriGeometryPolygon":return function(e,t,n,r,o){for(const i of t){const t=i.geometry,c=i.centroid,h=i.attributes;let a;t&&(a=W(new u.Z,t,n,r)),(0,s.pC)(c)?e.push(new l.ZP(a,h,N(new u.Z,c),h[o])):e.push(new l.ZP(a,h,null,h[o]))}return e}(e,t,o,i,c);default:a.error("convertToFeatureSet:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${n}'`)),e.length=0}return e}function $(e,t,n,r){E[0]=e,V(Y,E,t,n,r);const o=Y[0];return Y.length=E.length=0,o}function A(e,t,n){if((0,s.Wi)(e))return null;const o=new u.Z;return"hasZ"in e&&null==t&&(t=e.hasZ),"hasM"in e&&null==n&&(n=e.hasM),(0,i.wp)(e)?j(null!=t?t:null!=e.z,null!=n?n:null!=e.m)(o,e):(0,i.oU)(e)?W(o,e,t,n):(0,i.l9)(e)?z(o,e,h(t,n)):(0,i.aW)(e)?R(o,e,h(t,n)):void a.error("convertFromGeometry:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${e}'`))}function O(e,t,n,o){const i=e&&("coords"in e?e:e.geometry);if((0,s.Wi)(i))return null;switch(t){case"esriGeometryPoint":{let e=M;return n&&o?e=k:n?e=F:o&&(e=T),e(i)}case"esriGeometryMultipoint":return q(i,n,o);case"esriGeometryPolyline":return v(i,n,o);case"esriGeometryPolygon":return L(i,n,o);default:return void a.error("convertToGeometry:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${t}'`))}}function V(e,t,n,o,i){if(e.length=0,(0,s.Wi)(n))return function(e,t){for(const n of t)e.push({attributes:n.attributes});return e}(e,t);switch(n){case"esriGeometryPoint":return function(e,t,n,r){let o=M;n&&r?o=k:n?o=F:r&&(o=T);for(const n of t){const{geometry:t,attributes:r}=n,i=(0,s.pC)(t)?o(t):null;e.push({attributes:r,geometry:i})}return e}(e,t,o,i);case"esriGeometryMultipoint":return function(e,t,n,r){for(const o of t){const{geometry:t,attributes:s}=o;let i;t&&(i=q(t,n,r)),e.push({attributes:s,geometry:i})}return e}(e,t,o,i);case"esriGeometryPolyline":return function(e,t,n,r){for(const o of t){const{geometry:t,attributes:i}=o;let l;(0,s.pC)(t)&&(l=v(t,n,r)),e.push({attributes:i,geometry:l})}return e}(e,t,o,i);case"esriGeometryPolygon":return function(e,t,n,r){for(const o of t){const{geometry:t,attributes:i,centroid:l}=o;let c;if((0,s.pC)(t)&&(c=L(t,n,r)),l){const t=M(l);e.push({attributes:i,centroid:t,geometry:c})}else e.push({attributes:i,geometry:c})}return e}(e,t,o,i);default:a.error("convertToFeatureSet:unknown-geometry",new r.Z(`Unable to parse unknown geometry type '${n}'`))}return e}function _(e){const{objectIdFieldName:t,spatialReference:n,transform:r,fields:o,hasM:s,hasZ:i,features:l,geometryType:c,exceededTransferLimit:u,uniqueIdField:h,queryGeometry:a,queryGeometryType:f}=e,g={features:V([],l,c,i,s),fields:o,geometryType:c,objectIdFieldName:t,spatialReference:n,uniqueIdField:h,queryGeometry:O(a,f,!1,!1)};return r&&(g.transform=r),u&&(g.exceededTransferLimit=u),s&&(g.hasM=s),i&&(g.hasZ=i),g}function X(e,t){const n=new c.Z,{hasM:o,hasZ:s,features:i,objectIdFieldName:l,spatialReference:u,geometryType:h,exceededTransferLimit:f,transform:g,fields:d}=e;return d&&(n.fields=d),n.geometryType=h,n.objectIdFieldName=l||t,n.spatialReference=u,n.objectIdFieldName?(i&&S(n.features,i,h,s,o,n.objectIdFieldName),f&&(n.exceededTransferLimit=f),o&&(n.hasM=o),s&&(n.hasZ=s),g&&(n.transform=g),n):(a.error(new r.Z("optimized-features:invalid-objectIdFieldName","objectIdFieldName is missing")),n)}function J(e){const{transform:t,features:n,hasM:r,hasZ:o}=e;if(!t)return e;for(const e of n)(0,s.pC)(e.geometry)&&te(e.geometry,e.geometry,r,o,t),e.centroid&&te(e.centroid,e.centroid,r,o,t);return e.transform=null,e}function B(e,t){const{geometryType:n,features:r,hasM:o,hasZ:s}=t;if(!e)return t;for(let t=0;t<r.length;t++){const i=r[t],l=i.weakClone();l.geometry=new u.Z,H(l.geometry,i.geometry,o,s,n,e),i.centroid&&(l.centroid=new u.Z,H(l.centroid,i.centroid,o,s,"esriGeometryPoint",e)),r[t]=l}return t.transform=e,t}function H(e,t,n,r,o,i,l=n,c=r){if(e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0),(0,s.Wi)(t)||!t.coords.length)return null;const u=f[o],{coords:a,lengths:g}=t,d=h(n,r),m=h(n&&l,r&&c),y=p(n,r,l,c);if(!g.length)return y(e.coords,a,0,0,I(i,a[0]),b(i,a[1])),e.lengths.length&&(e.lengths.length=0),e.coords.length=d,e;let w,Z,G,M,N=0,F=0,P=F;for(const t of g){if(t<u)continue;let n=0;F=P,G=w=I(i,a[N]),M=Z=b(i,a[N+1]),y(e.coords,a,F,N,G,M),n++,N+=d,F+=m;for(let r=1;r<t;r++,N+=d)G=I(i,a[N]),M=b(i,a[N+1]),G===w&&M===Z||(y(e.coords,a,F,N,G-w,M-Z),F+=m,n++,w=G,Z=M);n>=u&&(e.lengths.push(n),P=F)}return e.coords.length=P,e.coords.length?e:null}function Q(e,t,n,r,o,s,i=n,l=r){if(e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0),!t||!t.coords.length)return null;const c=f[o],{coords:u,lengths:a}=t,g=h(n,r),d=h(n&&i,r&&l),m=p(n,r,i,l);if(!a.length)return m(e.coords,u,0,0,u[0],u[1]),e.lengths.length&&(e.lengths.length=0),e.coords.length=g,e;let y=0;const I=s*s;for(const t of a){if(t<c){y+=t*g;continue}const n=e.coords.length/d,r=y,o=y+(t-1)*g;m(e.coords,u,e.coords.length,r,u[r],u[r+1]),K(e.coords,u,g,I,m,r,o),m(e.coords,u,e.coords.length,o,u[o],u[o+1]);const s=e.coords.length/d-n;s>=c?e.lengths.push(s):e.coords.length=n*d,y+=t*g}return e.coords.length?e:null}function D(e,t,n,r){const o=e[t],s=e[t+1],i=e[n],l=e[n+1],c=e[r],u=e[r+1];let h=i,a=l,f=c-h,g=u-a;if(0!==f||0!==g){const e=((o-h)*f+(s-a)*g)/(f*f+g*g);e>1?(h=c,a=u):e>0&&(h+=f*e,a+=g*e)}return f=o-h,g=s-a,f*f+g*g}function K(e,t,n,r,o,s,i){let l,c=r,u=0;for(let e=s+n;e<i;e+=n)l=D(t,e,s,i),l>c&&(u=e,c=l);c>r&&(u-s>n&&K(e,t,n,r,o,s,u),o(e,t,e.length,u,t[u],t[u+1]),i-u>n&&K(e,t,n,r,o,u,i))}function ee(e,t,n,r){if((0,s.Wi)(t)||!t.coords||!t.coords.length)return null;const o=h(n,r);let i=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(t&&t.coords){const e=t.coords;for(let t=0;t<e.length;t+=o){const n=e[t],r=e[t+1];i=Math.min(i,n),c=Math.max(c,n),l=Math.min(l,r),u=Math.max(u,r)}}return e[0]=i,e[1]=l,e[2]=c,e[3]=u,e}function te(e,t,n,r,o){const{coords:s,lengths:i}=t,l=n?r?y:d:r?d:g,c=h(n,r);if(!s.length)return e!==t&&(e.lengths.length=0,e.coords.length=0),e;if(!i.length)return l(e.coords,s,0,0,w(o,s[0]),Z(o,s[1])),e!==t&&(e.lengths.length=0,e.coords.length=c),e;const[u,a]=o.scale;let f=0;for(let t=0;t<i.length;t++){const n=i[t];e.lengths[t]=n;let r=w(o,s[f]),h=Z(o,s[f+1]);l(e.coords,s,f,f,r,h),f+=c;for(let t=1;t<n;t++,f+=c)r+=s[f]*u,h-=s[f+1]*a,l(e.coords,s,f,f,r,h)}return e!==t&&(e.lengths.length=i.length,e.coords.length=s.length),e}function ne(e,t,n,r,o,s){const i=h(n,r),l=p(n,r,o,s),c=t.coords;e.coords.length=0,e.lengths.length=0,e.lengths.push(...t.lengths);for(let t=0;t<c.length;t+=i)l(e.coords,c,e.coords.length,t,c[t],c[t+1]);return e}function re(e,t,n,r){let o=0,s=e[r*t],i=e[r*(t+1)];for(let l=1;l<n;l++){const n=s+e[r*(t+l)],c=i+e[r*(t+l)+1],u=(n-s)*(c+i);s=n,i=c,o+=u}return.5*o}function oe(e,t){const{coords:n,lengths:r}=e;let o=0,s=0;for(let e=0;e<r.length;e++)s+=re(n,o,r[e],t),o+=e;return Math.abs(s)}function se(e,t){if((0,s.Wi)(e))return null;const n=e.clone(),r=e.coords,o=e.lengths;let i=0;for(let e=0;e<o.length;e++){const s=o[e];let l=r[t*i],c=r[t*i+1];for(let e=1;e<s;e++){const o=l+r[t*(i+e)],s=c+r[t*(i+e)+1];n.coords[t*(i+e)]=o,n.coords[t*(i+e)+1]=s,l=o,c=s}i+=s}return n}}}]);