@arcgis/core 5.1.0-next.114 → 5.1.0-next.115

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 (294) hide show
  1. package/Map.js +1 -1
  2. package/analysis/ShadowCast/MinDurationOptions.d.ts +3 -5
  3. package/analysis/ShadowCastAnalysis.d.ts +1 -1
  4. package/arcgisGlobal.d.ts +4 -0
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/05c47ca3a266a271974b.js +1 -0
  7. package/assets/esri/core/workers/chunks/{29bbc0d6d847b065d10e.js → 062aadf426fe97a76bbb.js} +1 -1
  8. package/assets/esri/core/workers/chunks/0954e82f739d25001bcb.js +1 -0
  9. package/assets/esri/core/workers/chunks/0aaee272520c6e5bb617.js +1 -0
  10. package/assets/esri/core/workers/chunks/{12053c1213465d07d2f6.js → 0b445c1cf281f158c1f1.js} +1 -1
  11. package/assets/esri/core/workers/chunks/102ff3710db4ba5f083d.js +1 -0
  12. package/assets/esri/core/workers/chunks/163ce1be8bfe20e77f97.js +1 -0
  13. package/assets/esri/core/workers/chunks/{e87d02af6d6b05e19d93.js → 16713986893adfbc9331.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{9bd713d96502ddc2ce25.js → 1765042635084f75d2b3.js} +1 -1
  15. package/assets/esri/core/workers/chunks/185c670eb99474906836.js +1 -0
  16. package/assets/esri/core/workers/chunks/18ebf1d3ed05c8057f7d.js +1 -0
  17. package/assets/esri/core/workers/chunks/1da2c34743897d1b6a24.js +1 -0
  18. package/assets/esri/core/workers/chunks/22d4521637806a8b828f.js +1 -0
  19. package/assets/esri/core/workers/chunks/233ff588798c8a5eedf4.js +1 -0
  20. package/assets/esri/core/workers/chunks/24d9e4f1c7b8ff0d2cce.js +1 -0
  21. package/assets/esri/core/workers/chunks/2562d8905bd05ef6fd07.js +1 -0
  22. package/assets/esri/core/workers/chunks/{e5d969214d9eda5c0b4c.js → 2a5dbed88bbd96cfac9f.js} +1 -1
  23. package/assets/esri/core/workers/chunks/2bcd4d395bfe6a19ccc8.js +1 -0
  24. package/assets/esri/core/workers/chunks/3192586ec7fc73ed1165.js +1 -0
  25. package/assets/esri/core/workers/chunks/38ca59db0e8f45bd7811.js +1 -0
  26. package/assets/esri/core/workers/chunks/3b10a962e4ff2f3da5bc.js +1 -0
  27. package/assets/esri/core/workers/chunks/3e9709e61015993b1c7d.js +1 -0
  28. package/assets/esri/core/workers/chunks/425c04b26a6ec6d04b08.js +1 -0
  29. package/assets/esri/core/workers/chunks/4364a3e706294bb6ae41.js +1 -0
  30. package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +1 -0
  31. package/assets/esri/core/workers/chunks/4cecc582513b8a83f194.js +1 -0
  32. package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +1 -0
  33. package/assets/esri/core/workers/chunks/{8ade869fa9bae446266a.js → 51816d79c6be15e4bfcf.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{cf9b0ba30a75c030ca92.js → 5524a71d1abc9568ce26.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{ba31616de9d73d83d867.js → 557e39e5156b313597f9.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{5ef37f37e405b3bb5450.js → 59dafa1e1340ea4043e6.js} +1 -1
  37. package/assets/esri/core/workers/chunks/624b1bb269744142b835.js +1 -0
  38. package/assets/esri/core/workers/chunks/{39987c06636e757d1f00.js → 62b5972d0ef9bf173308.js} +1 -1
  39. package/assets/esri/core/workers/chunks/641b8622fbb93c84671d.js +1 -0
  40. package/assets/esri/core/workers/chunks/643c7506f8fe8e06acd2.js +1 -0
  41. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +1 -0
  42. package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +1 -0
  43. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
  44. package/assets/esri/core/workers/chunks/{0d2bc1be5802681666a4.js → 77859a61d059738d057f.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{03a4543b94f9adeb1852.js → 7a3b05e25de2ff150f38.js} +1 -1
  46. package/assets/esri/core/workers/chunks/7bbffe07e62897928773.js +1 -0
  47. package/assets/esri/core/workers/chunks/{14a241b07baa67743248.js → 7c292f7b181f3b93352b.js} +1 -1
  48. package/assets/esri/core/workers/chunks/7c2d7df4ef4d775cd648.js +1 -0
  49. package/assets/esri/core/workers/chunks/{6d20d741b8ae1a45b422.js → 7dc2c21d61ba66a3f461.js} +1 -1
  50. package/assets/esri/core/workers/chunks/7df05c3c82cd27b77300.js +1 -0
  51. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +1 -0
  52. package/assets/esri/core/workers/chunks/8461f50e9875db4ccfec.js +1 -0
  53. package/assets/esri/core/workers/chunks/{71e12db99589c98a4357.js → 8477b5fdd99c6ac5c27b.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{be1e4c3ec53fc92a26f1.js → 8598997340682113a2a5.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{548c34ea88f113d03c93.js → 86229634bf008f53dad4.js} +1 -1
  56. package/assets/esri/core/workers/chunks/86443e47ad99e555753a.js +1 -0
  57. package/assets/esri/core/workers/chunks/87a40e7f79f97ca637a9.js +1 -0
  58. package/assets/esri/core/workers/chunks/{27d6ad4ca5ab8c9d62cd.js → 8c443c52c846a096a250.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{86161025b53b916328ff.js → 8ca88cfc0b9f84dc5832.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{340f2c996f62f7f5ceae.js → 8e7ce4835b3106349684.js} +1 -1
  61. package/assets/esri/core/workers/chunks/90b0fe5584fb6fc99766.js +1 -0
  62. package/assets/esri/core/workers/chunks/9133c1b7cc1c9da27deb.js +1 -0
  63. package/assets/esri/core/workers/chunks/{d4749eb8a47869477037.js → 9250615c78f8570a9cda.js} +1 -1
  64. package/assets/esri/core/workers/chunks/92a7735973b2f82a66ce.js +1 -0
  65. package/assets/esri/core/workers/chunks/94a5a834e32fc6cc6ed4.js +1 -0
  66. package/assets/esri/core/workers/chunks/986d8c3907aeeb18c4f6.js +1 -0
  67. package/assets/esri/core/workers/chunks/98e489c2b85feded7776.js +1 -0
  68. package/assets/esri/core/workers/chunks/{271e42b7cd3c3441839e.js → 9eab1e1535494ff2050d.js} +10 -22
  69. package/assets/esri/core/workers/chunks/{466c250537415f12eb59.js → a01f0ffbe555f690bdca.js} +1 -1
  70. package/assets/esri/core/workers/chunks/a03c4c0bf138734a002e.js +1 -0
  71. package/assets/esri/core/workers/chunks/a814069325125466506b.js +1 -0
  72. package/assets/esri/core/workers/chunks/{e4b2120d7ee1c998b1fc.js → aa03f770178693167aa0.js} +1 -1
  73. package/assets/esri/core/workers/chunks/aea439d4c2308f88b295.js +1 -0
  74. package/assets/esri/core/workers/chunks/{7995e6983456c779adf9.js → b002304a45856b024b46.js} +1 -1
  75. package/assets/esri/core/workers/chunks/b0c242c4f5412e4cce73.js +1 -0
  76. package/assets/esri/core/workers/chunks/b44f1d08784f2e50c853.js +1 -0
  77. package/assets/esri/core/workers/chunks/c1b6de0d728d25d7905a.js +1 -0
  78. package/assets/esri/core/workers/chunks/{f8b884b529064df4a30a.js → caf80facb0322be054ab.js} +1 -1
  79. package/assets/esri/core/workers/chunks/{25d795a1697803d77e56.js → ce0e627a5e1cb78adce8.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{63378b0b4265a547656b.js → d8ec0afb2b91ccf32e55.js} +1 -1
  81. package/assets/esri/core/workers/chunks/d97c0c18202b8c578f8c.js +1 -0
  82. package/assets/esri/core/workers/chunks/{2f99a95facddc44319a9.js → da3c54e27a808f4fcc18.js} +1 -1
  83. package/assets/esri/core/workers/chunks/db012650fb34c10cecd0.js +1 -0
  84. package/assets/esri/core/workers/chunks/dc6d50e1097a920ff820.js +1 -0
  85. package/assets/esri/core/workers/chunks/dce37324a2382d2eef0d.js +1 -0
  86. package/assets/esri/core/workers/chunks/e0bd550b10dd402c48f1.js +1 -0
  87. package/assets/esri/core/workers/chunks/e2ba57f7119b7182ba02.js +279 -0
  88. package/assets/esri/core/workers/chunks/e755477dc78e9d6038d4.js +1 -0
  89. package/assets/esri/core/workers/chunks/ea4057090cf15d602585.js +1 -0
  90. package/assets/esri/core/workers/chunks/ea8f642b1db933d2c26f.js +1 -0
  91. package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +1 -0
  92. package/assets/esri/core/workers/chunks/eb16976b4eb7f1300f4a.js +1 -0
  93. package/assets/esri/core/workers/chunks/efae58f746b108163a50.js +1 -0
  94. package/assets/esri/core/workers/chunks/f231548c8ac7ecb59927.js +1 -0
  95. package/assets/esri/core/workers/chunks/fe2325efd0d8ad8369ed.js +1 -0
  96. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +26 -3
  97. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -13
  98. package/assets/esri/themes/dark/main.css +1 -1
  99. package/assets/esri/themes/light/main.css +1 -1
  100. package/assets/esri/themes/light/view.css +1 -1
  101. package/chunks/GlobalIllumination.glsl.js +22 -34
  102. package/config.js +1 -1
  103. package/core/screenUtils.js +1 -1
  104. package/core/typedArrayUtil.js +1 -1
  105. package/editing/templates/TemplateListing.d.ts +32 -0
  106. package/editing/templates/TemplateListing.js +2 -0
  107. package/geometry/support/buffer/BufferView.js +1 -1
  108. package/geometry/support/heightModelInfoUtils.js +1 -1
  109. package/interfaces.d.ts +14 -0
  110. package/kernel.js +1 -1
  111. package/layers/AnnotationLayer.d.ts +42 -0
  112. package/layers/AnnotationLayer.js +2 -0
  113. package/layers/DimensionFeatureLayer.d.ts +36 -1
  114. package/layers/DimensionFeatureLayer.js +1 -1
  115. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  116. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  117. package/layers/types.d.ts +1 -1
  118. package/networks/support/networkFieldUtils.js +1 -1
  119. package/package.json +1 -1
  120. package/rest/support/OutDistance.js +1 -1
  121. package/rest/support/Query.js +1 -1
  122. package/support/basemapEnsureType.js +1 -1
  123. package/support/revision.js +1 -1
  124. package/symbols/cim/CIMOperators.js +1 -1
  125. package/symbols/cim/CIMSymbolHelper.js +1 -1
  126. package/symbols/cim/utils.js +1 -1
  127. package/views/2d/engine/webgl/mesh/factories/FeatureMeshFactory.js +1 -1
  128. package/views/2d/engine/webgl/mesh/factories/ResourceProxy.js +1 -1
  129. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  130. package/views/2d/engine/webgl/shaderGraph/techniques/createTestMeshData.js +1 -1
  131. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  132. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  133. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
  134. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  135. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ViewInfo.js +1 -1
  136. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  137. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  138. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  139. package/views/2d/engine/webgl/util/AnnotationMatcher.js +2 -0
  140. package/views/2d/engine/webgl/util/DimensionMatcher.js +2 -0
  141. package/views/2d/engine/webgl/util/Matcher.js +1 -1
  142. package/views/2d/engine/webgl/util/createMatcher.js +1 -1
  143. package/views/2d/layerViewModuleImportUtils.js +1 -1
  144. package/views/2d/layers/AnnotationLayerView2D.js +2 -0
  145. package/views/2d/layers/{DimensionLayerView2D.js → DimensionFeatureLayerView2D.js} +1 -1
  146. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  147. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  148. package/views/2d/layers/RouteLayerView2D.js +1 -1
  149. package/views/2d/layers/TileLayerView2D.js +1 -1
  150. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  151. package/views/2d/layers/features/FeatureContainer.js +1 -1
  152. package/views/2d/layers/features/Processor.js +1 -1
  153. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +2 -0
  154. package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
  155. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  156. package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
  157. package/views/2d/layers/features/support/FeatureMetadata.js +1 -1
  158. package/views/2d/layers/features/support/FeatureSetReaderAnnotationJSON.js +2 -0
  159. package/views/2d/layers/features/support/FeatureSetReaderDimensionJSON.js +2 -0
  160. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  161. package/views/2d/layers/support/annodime/DimensionInfo.js +2 -0
  162. package/views/2d/layers/support/annodime/DimensionMatcherSchema.js +2 -0
  163. package/views/2d/layers/support/annodime/PrivateDimensionEffect.js +2 -0
  164. package/views/2d/layers/support/annodime/PrivatePlacementMultipoint.js +2 -0
  165. package/views/2d/layers/support/annodime/annotationGraphic.js +2 -0
  166. package/views/2d/layers/support/annodime/annotationSchema.js +2 -0
  167. package/views/2d/layers/support/annodime/annotationUtils.js +2 -0
  168. package/views/2d/layers/support/annodime/cimAnnotations.js +2 -0
  169. package/views/2d/layers/support/annodime/dimensionSchema.js +2 -0
  170. package/views/2d/layers/support/annodime/dimensionSymbols.js +2 -0
  171. package/views/2d/layers/support/annodime/dimensionUtils.js +2 -0
  172. package/views/2d/layers/support/annodime/fields.js +2 -0
  173. package/views/2d/layers/support/annodime/unsupported.js +2 -0
  174. package/views/2d/layers/support/annodime/utils.js +2 -0
  175. package/views/2d/layers/support/annodime/virtualFields.js +2 -0
  176. package/views/2d/support/clippingUtils.js +1 -1
  177. package/views/2d/support/hitTestUtils.js +1 -1
  178. package/views/2d/types.d.ts +5 -1
  179. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  180. package/views/3d/layerViewModuleImportUtils.js +1 -1
  181. package/views/3d/layers/MapImageLayerView3D.js +1 -1
  182. package/views/3d/layers/TileLayerView3D.js +1 -1
  183. package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
  184. package/views/3d/types.d.ts +2 -0
  185. package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
  186. package/views/3d/webgl-engine/core/renderPasses/RenderPass.js +1 -1
  187. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +8 -8
  188. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +53 -61
  189. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +23 -32
  190. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
  191. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  192. package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
  193. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  194. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  195. package/views/3d/webgl-engine/lib/PathVertex.js +1 -1
  196. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  197. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  198. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +1 -1
  199. package/views/3d/webgl-engine/materials/PathLayouts.js +1 -1
  200. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  201. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  202. package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +18 -1
  203. package/views/PopupView.d.ts +3 -3
  204. package/views/PopupView.js +1 -1
  205. package/views/SceneView.js +1 -1
  206. package/views/View2D.js +1 -1
  207. package/views/layers/AnnotationLayerView.d.ts +18 -0
  208. package/views/layers/AnnotationLayerView.js +2 -0
  209. package/views/layers/DimensionFeatureLayerView.d.ts +18 -0
  210. package/views/layers/DimensionFeatureLayerView.js +2 -0
  211. package/views/layers/FeatureLikeLayerView.d.ts +2 -1
  212. package/views/layers/FeatureLikeLayerView.js +1 -1
  213. package/views/layers/ImageryLayerView.js +1 -1
  214. package/views/layers/ImageryTileLayerView.js +1 -1
  215. package/views/layers/WMSLayerView.js +1 -1
  216. package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
  217. package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
  218. package/widgets/BatchAttributeForm/css.js +1 -1
  219. package/widgets/BatchAttributeForm/rendered-content/RelationshipDetails.js +2 -0
  220. package/widgets/BatchAttributeForm.js +1 -1
  221. package/widgets/FeatureForm.js +1 -1
  222. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  223. package/widgets/OrientedImageryViewer/css.js +1 -1
  224. package/widgets/OrientedImageryViewer.js +1 -1
  225. package/widgets/support/iconUtils.js +1 -1
  226. package/assets/esri/core/workers/chunks/0175098da590a7109539.js +0 -1
  227. package/assets/esri/core/workers/chunks/019a4fe7e085b2fc6ae9.js +0 -1
  228. package/assets/esri/core/workers/chunks/023837e5d9d2b6af66d8.js +0 -1
  229. package/assets/esri/core/workers/chunks/03c46880b69ce75a010f.js +0 -1
  230. package/assets/esri/core/workers/chunks/040884cec4b84dd1bb17.js +0 -1
  231. package/assets/esri/core/workers/chunks/04ea806b933d4dd41609.js +0 -1
  232. package/assets/esri/core/workers/chunks/0e549d942d6cba1608cf.js +0 -1
  233. package/assets/esri/core/workers/chunks/13a8346abe5509167578.js +0 -1
  234. package/assets/esri/core/workers/chunks/13d43a0683c42b94feb6.js +0 -1
  235. package/assets/esri/core/workers/chunks/179ffa2168c42615ccf2.js +0 -1
  236. package/assets/esri/core/workers/chunks/1ebb613bbe09fcf274d8.js +0 -1
  237. package/assets/esri/core/workers/chunks/27d7c701306efeea6b82.js +0 -1
  238. package/assets/esri/core/workers/chunks/2b9661700743d1f9717e.js +0 -1
  239. package/assets/esri/core/workers/chunks/2bdfae998371e3aa9f2d.js +0 -1
  240. package/assets/esri/core/workers/chunks/2f0a3b22fc46d832e240.js +0 -1
  241. package/assets/esri/core/workers/chunks/3835097520296b0517af.js +0 -1
  242. package/assets/esri/core/workers/chunks/4605a68e40c5c3ac6e3e.js +0 -1
  243. package/assets/esri/core/workers/chunks/4b130db9b7b4e2e32ea4.js +0 -1
  244. package/assets/esri/core/workers/chunks/4bfeac7338df9e0b7ce1.js +0 -1
  245. package/assets/esri/core/workers/chunks/4c5cdd2712c938fafc5d.js +0 -1
  246. package/assets/esri/core/workers/chunks/4fa3840672c33adb9171.js +0 -1
  247. package/assets/esri/core/workers/chunks/4ffcca40e7aa24c8cc35.js +0 -1
  248. package/assets/esri/core/workers/chunks/534dd93c72ea448ee908.js +0 -1
  249. package/assets/esri/core/workers/chunks/5ea0096a282e87a269bd.js +0 -1
  250. package/assets/esri/core/workers/chunks/66fe1634c6e8f72fc653.js +0 -1
  251. package/assets/esri/core/workers/chunks/6920e7f700a9ba280dba.js +0 -1
  252. package/assets/esri/core/workers/chunks/6b1f2b36bdc6b2ff2ea5.js +0 -1
  253. package/assets/esri/core/workers/chunks/6b66a6f69aa03338c346.js +0 -1
  254. package/assets/esri/core/workers/chunks/6d59a9cf533ebc590f70.js +0 -1
  255. package/assets/esri/core/workers/chunks/75dfdd85abbac26ac899.js +0 -1
  256. package/assets/esri/core/workers/chunks/798c4d3201fcc9f2a42b.js +0 -1
  257. package/assets/esri/core/workers/chunks/817fd88fe9a48caf69fb.js +0 -1
  258. package/assets/esri/core/workers/chunks/825db2ea15308ee6e5dc.js +0 -1
  259. package/assets/esri/core/workers/chunks/82f7d83a2073d1b0111c.js +0 -1
  260. package/assets/esri/core/workers/chunks/89250d268dc2554a9ece.js +0 -1
  261. package/assets/esri/core/workers/chunks/8c8fed53c12fb80ef2ed.js +0 -1
  262. package/assets/esri/core/workers/chunks/8ff83c59462dea6e3427.js +0 -1
  263. package/assets/esri/core/workers/chunks/961995d8da45a9203255.js +0 -1
  264. package/assets/esri/core/workers/chunks/a9c9c00432ee41ec91ba.js +0 -1
  265. package/assets/esri/core/workers/chunks/af762422a65c551dcd54.js +0 -1
  266. package/assets/esri/core/workers/chunks/b041c22885193bdd3004.js +0 -1
  267. package/assets/esri/core/workers/chunks/b3e8ab68fc38306f13c6.js +0 -1
  268. package/assets/esri/core/workers/chunks/b684ff4bc93bd60d6a19.js +0 -1
  269. package/assets/esri/core/workers/chunks/bb2f6b0fcdfb8b158e26.js +0 -1
  270. package/assets/esri/core/workers/chunks/c5ab346a226df1894302.js +0 -1
  271. package/assets/esri/core/workers/chunks/cd2b2babcdc130b4c368.js +0 -1
  272. package/assets/esri/core/workers/chunks/cedf3e316d6f89cf7005.js +0 -1
  273. package/assets/esri/core/workers/chunks/d39f5590022d910ee951.js +0 -1
  274. package/assets/esri/core/workers/chunks/d412a43060441d347fb4.js +0 -1
  275. package/assets/esri/core/workers/chunks/d41b847d08c42e5329d6.js +0 -262
  276. package/assets/esri/core/workers/chunks/d52172439db02a349542.js +0 -1
  277. package/assets/esri/core/workers/chunks/d8c2bed12f937228c763.js +0 -1
  278. package/assets/esri/core/workers/chunks/de916dd0c11aefb6832e.js +0 -1
  279. package/assets/esri/core/workers/chunks/ecf4d07917efc97eb991.js +0 -1
  280. package/assets/esri/core/workers/chunks/eda51e512eff551ad858.js +0 -1
  281. package/assets/esri/core/workers/chunks/f14e3693cd644265f909.js +0 -1
  282. package/assets/esri/core/workers/chunks/f52c6efc5a2abf5ac845.js +0 -1
  283. package/assets/esri/core/workers/chunks/f635a8e3b0bfeda99ed5.js +0 -1
  284. package/assets/esri/core/workers/chunks/f9f331c76c96743d8522.js +0 -1
  285. package/assets/esri/core/workers/chunks/fcbacca99c5a3ee5b69a.js +0 -1
  286. package/symbols/dimensions/effects/LinearDimensionArrowEffect.js +0 -2
  287. package/symbols/dimensions/effects/LinearDimensionExtensionLineEffect.js +0 -2
  288. package/symbols/dimensions/effects/LinearDimensionLeaderLineEffect.js +0 -2
  289. package/symbols/dimensions/effects/LinearDimensionLineEffect.js +0 -2
  290. package/symbols/dimensions/effects/LinearDimensionPointEffect.js +0 -2
  291. package/symbols/dimensions/effects/LinearDimensionTextEffect.js +0 -2
  292. package/views/2d/layers/features/support/FeatureSetReaderDimension.js +0 -2
  293. package/views/3d/webgl-engine/effects/globalIllumination/BlueNoise.js +0 -2
  294. package/views/layers/support/dimensionUtils.js +0 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4594],{50867(t,e,r){r.d(e,{a:()=>c,c:()=>i,l:()=>a,n:()=>o,t:()=>u});var n=r(40876),s=(r(44208),r(72727));function i(t,e,r){u(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function u(t,e,r,n=4,i=n){const u=(0,s.k)(t.length,n,4),o=(0,s.k)(e.length,i,4),f=Math.min(u,o),c=r[0],a=r[1],l=r[2],h=r[3],p=r[4],y=r[5],d=r[6],m=r[7],B=r[8];let M=0,T=0;for(let r=0;r<f;r++){const r=e[M],s=e[M+1],u=e[M+2],o=e[M+3];t[T]=c*r+h*s+d*u,t[T+1]=a*r+p*s+m*u,t[T+2]=l*r+y*s+B*u,t[T+3]=o,M+=i,T+=n}}function o(t,e){const r=Math.min(t.count,e.count),n=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,u=e.typedBufferStride;for(let t=0;t<r;t++){const e=t*s,r=t*u,o=i[r],f=i[r+1],c=i[r+2],a=o*o+f*f+c*c;if(a>0){const t=1/Math.sqrt(a);n[e]=t*o,n[e+1]=t*f,n[e+2]=t*c}}}function f(t,e,r,n=4){const s=Math.min(t.length/n,e.count),i=e.typedBuffer,u=e.typedBufferStride;let o=0,f=0;for(let e=0;e<s;e++)t[f]=r*i[o],t[f+1]=r*i[o+1],t[f+2]=r*i[o+2],t[f+3]=r*i[o+3],o+=u,f+=n}function c(t,e,r,n){a(t.typedBuffer,e,r,n,t.typedBufferStride)}function a(t,e,r,s,i=4){const u=Math.min(t.length/i,e.count),o=e.typedBuffer,f=e.typedBufferStride;let c=0,a=0;const l=1/n.Tf;for(let e=0;e<u;e++)t[a]=s*(r*o[c])**l,t[a+1]=s*(r*o[c+1])**l,t[a+2]=s*(r*o[c+2])**l,t[a+3]=s*r*o[c+3],c+=f,a+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:a,linearToSRGBView:c,normalize:o,scale:f,scaleView:function(t,e,r){f(t.typedBuffer,e,r,t.typedBufferStride)},transformMat3:u,transformMat3View:i,transformMat4:function(t,e,r,n=4,i=n){const u=(0,s.k)(t.length,n,4),o=(0,s.k)(e.length,i,4),f=Math.min(u,o),c=r[0],a=r[1],l=r[2],h=r[3],p=r[4],y=r[5],d=r[6],m=r[7],B=r[8],M=r[9],T=r[10],E=r[11],g=r[12],b=r[13],S=r[14],A=r[15];let x=0,v=0;for(let r=0;r<f;r++){const r=e[x],s=e[x+1],u=e[x+2],o=e[x+3];t[v]=c*r+p*s+B*u+g*o,t[v+1]=a*r+y*s+M*u+b*o,t[v+2]=l*r+d*s+T*u+S*o,t[v+3]=h*r+m*s+E*u+A*o,x+=i,v+=n}},transformMat4View:function(t,e,r){const n=t.typedBuffer,i=t.typedBufferStride,u=e.typedBuffer,o=e.typedBufferStride,f=(0,s.k)(n.length,i,4),c=(0,s.k)(u.length,o,4),a=Math.min(f,c),l=r[0],h=r[1],p=r[2],y=r[3],d=r[4],m=r[5],B=r[6],M=r[7],T=r[8],E=r[9],g=r[10],b=r[11],S=r[12],A=r[13],x=r[14],v=r[15];for(let t=0;t<a;t++){const e=t*i,r=t*o,s=u[r],f=u[r+1],c=u[r+2],a=u[r+3];n[e]=l*s+d*f+T*c+S*a,n[e+1]=h*s+m*f+E*c+A*a,n[e+2]=p*s+B*f+g*c+x*a,n[e+3]=y*s+M*f+b*c+v*a}}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,r){function n(){return[0,0]}function s(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function u(){return i(1,1)}function o(){return i(-1,-1)}function f(){return i(1,0)}function c(){return i(0,1)}r.d(e,{IA:()=>l,Un:()=>a,fA:()=>i,o8:()=>s,vt:()=>n});const a=u(),l=o(),h=f(),p=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:l,ONES:a,UNIT_X:h,UNIT_Y:p,ZEROS:[0,0],clone:s,create:n,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const r=Math.min(2,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:i,negativeOnes:o,ones:u,unitX:f,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,e,r){function n(){return[0,0,0,0]}function s(t,e,r,n){return[t,e,r,n]}function i(t,e,r,n){return[t,e,r,n]}function u(){return s(1,1,1,1)}function o(){return s(1,0,0,0)}function f(){return s(0,1,0,0)}function c(){return s(0,0,1,0)}function a(){return s(0,0,0,1)}r.d(e,{CN:()=>i,Un:()=>h,fA:()=>s,uY:()=>l,vt:()=>n});const l=[0,0,0,0],h=u(),p=o(),y=f(),d=c(),m=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:p,UNIT_Y:y,UNIT_Z:d,ZEROS:l,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:n,freeze:i,fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:s,ones:u,unitW:a,unitX:o,unitY:f,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,e,r){r.d(e,{$0:()=>m,$h:()=>v,B8:()=>c,C:()=>i,D_:()=>o,N9:()=>M,O7:()=>x,Tl:()=>l,X_:()=>b,aI:()=>N,e$:()=>p,eL:()=>y,hM:()=>B,hZ:()=>u,hs:()=>h,kN:()=>d,l:()=>S,lw:()=>a,mg:()=>f,o1:()=>A,sC:()=>g,t2:()=>C,t5:()=>w,tZ:()=>L,ut:()=>F,v3:()=>_});var n=r(51850),s=r(34304);function i(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}function u(t,e,r,n,s,i,u,o,f,c,a,l,h,p,y,d,m){return t[0]=e,t[1]=r,t[2]=n,t[3]=s,t[4]=i,t[5]=u,t[6]=o,t[7]=f,t[8]=c,t[9]=a,t[10]=l,t[11]=h,t[12]=p,t[13]=y,t[14]=d,t[15]=m,t}function o(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 f(t,e){if(t===e){const r=e[1],n=e[2],s=e[3],i=e[6],u=e[7],o=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=r,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=i,t[11]=e[14],t[12]=s,t[13]=u,t[14]=o}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 c(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=e[4],o=e[5],f=e[6],c=e[7],a=e[8],l=e[9],h=e[10],p=e[11],y=e[12],d=e[13],m=e[14],B=e[15],M=r*o-n*u,T=r*f-s*u,E=r*c-i*u,g=n*f-s*o,b=n*c-i*o,S=s*c-i*f,A=a*d-l*y,x=a*m-h*y,v=a*B-p*y,_=l*m-h*d,w=l*B-p*d,R=h*B-p*m;let C=M*R-T*w+E*_+g*v-b*x+S*A;return C?(C=1/C,t[0]=(o*R-f*w+c*_)*C,t[1]=(s*w-n*R-i*_)*C,t[2]=(d*S-m*b+B*g)*C,t[3]=(h*b-l*S-p*g)*C,t[4]=(f*v-u*R-c*x)*C,t[5]=(r*R-s*v+i*x)*C,t[6]=(m*E-y*S-B*T)*C,t[7]=(a*S-h*E+p*T)*C,t[8]=(u*w-o*v+c*A)*C,t[9]=(n*v-r*w-i*A)*C,t[10]=(y*b-d*E+B*M)*C,t[11]=(l*E-a*b-p*M)*C,t[12]=(o*x-u*_-f*A)*C,t[13]=(r*_-n*x+s*A)*C,t[14]=(d*T-y*g-m*M)*C,t[15]=(a*g-l*T+h*M)*C,t):null}function a(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3],o=e[4],f=e[5],c=e[6],a=e[7],l=e[8],h=e[9],p=e[10],y=e[11],d=e[12],m=e[13],B=e[14],M=e[15];let T=r[0],E=r[1],g=r[2],b=r[3];return t[0]=T*n+E*o+g*l+b*d,t[1]=T*s+E*f+g*h+b*m,t[2]=T*i+E*c+g*p+b*B,t[3]=T*u+E*a+g*y+b*M,T=r[4],E=r[5],g=r[6],b=r[7],t[4]=T*n+E*o+g*l+b*d,t[5]=T*s+E*f+g*h+b*m,t[6]=T*i+E*c+g*p+b*B,t[7]=T*u+E*a+g*y+b*M,T=r[8],E=r[9],g=r[10],b=r[11],t[8]=T*n+E*o+g*l+b*d,t[9]=T*s+E*f+g*h+b*m,t[10]=T*i+E*c+g*p+b*B,t[11]=T*u+E*a+g*y+b*M,T=r[12],E=r[13],g=r[14],b=r[15],t[12]=T*n+E*o+g*l+b*d,t[13]=T*s+E*f+g*h+b*m,t[14]=T*i+E*c+g*p+b*B,t[15]=T*u+E*a+g*y+b*M,t}function l(t,e,r){const n=r[0],s=r[1],i=r[2];if(e===t)t[12]=e[0]*n+e[4]*s+e[8]*i+e[12],t[13]=e[1]*n+e[5]*s+e[9]*i+e[13],t[14]=e[2]*n+e[6]*s+e[10]*i+e[14],t[15]=e[3]*n+e[7]*s+e[11]*i+e[15];else{const r=e[0],u=e[1],o=e[2],f=e[3],c=e[4],a=e[5],l=e[6],h=e[7],p=e[8],y=e[9],d=e[10],m=e[11];t[0]=r,t[1]=u,t[2]=o,t[3]=f,t[4]=c,t[5]=a,t[6]=l,t[7]=h,t[8]=p,t[9]=y,t[10]=d,t[11]=m,t[12]=r*n+c*s+p*i+e[12],t[13]=u*n+a*s+y*i+e[13],t[14]=o*n+l*s+d*i+e[14],t[15]=f*n+h*s+m*i+e[15]}return t}function h(t,e,r){const n=r[0],s=r[1],i=r[2];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]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,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 p(t,e,r,n){let u=n[0],o=n[1],f=n[2],c=Math.sqrt(u*u+o*o+f*f);if(c<=(0,s.FD)())return void i(t,e);c=1/c,u*=c,o*=c,f*=c;const a=Math.sin(r),l=Math.cos(r),h=1-l,p=e[0],y=e[1],d=e[2],m=e[3],B=e[4],M=e[5],T=e[6],E=e[7],g=e[8],b=e[9],S=e[10],A=e[11],x=u*u*h+l,v=o*u*h+f*a,_=f*u*h-o*a,w=u*o*h-f*a,R=o*o*h+l,C=f*o*h+u*a,N=u*f*h+o*a,F=o*f*h-u*a,L=f*f*h+l;t[0]=p*x+B*v+g*_,t[1]=y*x+M*v+b*_,t[2]=d*x+T*v+S*_,t[3]=m*x+E*v+A*_,t[4]=p*w+B*R+g*C,t[5]=y*w+M*R+b*C,t[6]=d*w+T*R+S*C,t[7]=m*w+E*R+A*C,t[8]=p*N+B*F+g*L,t[9]=y*N+M*F+b*L,t[10]=d*N+T*F+S*L,t[11]=m*N+E*F+A*L,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function y(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[4],u=e[5],o=e[6],f=e[7],c=e[8],a=e[9],l=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*s+c*n,t[5]=u*s+a*n,t[6]=o*s+l*n,t[7]=f*s+h*n,t[8]=c*s-i*n,t[9]=a*s-u*n,t[10]=l*s-o*n,t[11]=h*s-f*n,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 m(t,e,r){if(0===e)return o(t);let n=r[0],i=r[1],u=r[2],f=Math.sqrt(n*n+i*i+u*u);if(f<=(0,s.FD)())return null;f=1/f,n*=f,i*=f,u*=f;const c=Math.sin(e),a=Math.cos(e),l=1-a;return t[0]=n*n*l+a,t[1]=i*n*l+u*c,t[2]=u*n*l-i*c,t[3]=0,t[4]=n*i*l-u*c,t[5]=i*i*l+a,t[6]=u*i*l+n*c,t[7]=0,t[8]=n*u*l+i*c,t[9]=i*u*l-n*c,t[10]=u*u*l+a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=n,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 T(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3],o=n+n,f=s+s,c=i+i,a=n*o,l=n*f,h=n*c,p=s*f,y=s*c,d=i*c,m=u*o,B=u*f,M=u*c;return t[0]=1-(p+d),t[1]=l+M,t[2]=h-B,t[3]=0,t[4]=l-M,t[5]=1-(a+d),t[6]=y+m,t[7]=0,t[8]=h+B,t[9]=y-m,t[10]=1-(a+p),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const E=(0,n.vt)();function g(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function b(t,e){const r=e[0],n=e[1],s=e[2],i=e[4],u=e[5],o=e[6],f=e[8],c=e[9],a=e[10];return t[0]=Math.sqrt(r*r+n*n+s*s),t[1]=Math.sqrt(i*i+u*u+o*o),t[2]=Math.sqrt(f*f+c*c+a*a),t}function S(t,e){const r=e[0]+e[5]+e[10];let n=0;return r>0?(n=2*Math.sqrt(r+1),t[3]=.25*n,t[0]=(e[6]-e[9])/n,t[1]=(e[8]-e[2])/n,t[2]=(e[1]-e[4])/n):e[0]>e[5]&&e[0]>e[10]?(n=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/n,t[0]=.25*n,t[1]=(e[1]+e[4])/n,t[2]=(e[8]+e[2])/n):e[5]>e[10]?(n=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/n,t[0]=(e[1]+e[4])/n,t[1]=.25*n,t[2]=(e[6]+e[9])/n):(n=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/n,t[0]=(e[8]+e[2])/n,t[1]=(e[6]+e[9])/n,t[2]=.25*n),t}function A(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=e[3],f=s+s,c=i+i,a=u+u,l=s*f,h=s*c,p=s*a,y=i*c,d=i*a,m=u*a,B=o*f,M=o*c,T=o*a,E=n[0],g=n[1],b=n[2];return t[0]=(1-(y+m))*E,t[1]=(h+T)*E,t[2]=(p-M)*E,t[3]=0,t[4]=(h-T)*g,t[5]=(1-(l+m))*g,t[6]=(d+B)*g,t[7]=0,t[8]=(p+M)*b,t[9]=(d-B)*b,t[10]=(1-(l+y))*b,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function x(t,e,r,n,s){const i=e[0],u=e[1],o=e[2],f=e[3],c=i+i,a=u+u,l=o+o,h=i*c,p=i*a,y=i*l,d=u*a,m=u*l,B=o*l,M=f*c,T=f*a,E=f*l,g=n[0],b=n[1],S=n[2],A=s[0],x=s[1],v=s[2],_=(1-(d+B))*g,w=(p+E)*g,R=(y-T)*g,C=(p-E)*b,N=(1-(h+B))*b,F=(m+M)*b,L=(y+T)*S,q=(m-M)*S,P=(1-(h+d))*S;return t[0]=_,t[1]=w,t[2]=R,t[3]=0,t[4]=C,t[5]=N,t[6]=F,t[7]=0,t[8]=L,t[9]=q,t[10]=P,t[11]=0,t[12]=r[0]+A-(_*A+C*x+L*v),t[13]=r[1]+x-(w*A+N*x+q*v),t[14]=r[2]+v-(R*A+F*x+P*v),t[15]=1,t}function v(t,e,r,n,s,i,u){const o=1/(r-e),f=1/(s-n),c=1/(i-u);return t[0]=2*i*o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*f,t[6]=0,t[7]=0,t[8]=(r+e)*o,t[9]=(s+n)*f,t[10]=(u+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*i*2*c,t[15]=0,t}function _(t,e,r,n,s,i,u){const o=1/(e-r),f=1/(n-s),c=1/(i-u);return t[0]=-2*o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*f,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*o,t[13]=(s+n)*f,t[14]=(u+i)*c,t[15]=1,t}function w(t,e,r,n){const i=e[0],u=e[1],f=e[2];let c=i-r[0],a=u-r[1],l=f-r[2];const h=(0,s.FD)();if(Math.abs(c)<h&&Math.abs(a)<h&&Math.abs(l)<h)return void o(t);let p=1/Math.sqrt(c*c+a*a+l*l);c*=p,a*=p,l*=p;const y=n[0],d=n[1],m=n[2];let B=d*l-m*a,M=m*c-y*l,T=y*a-d*c;p=Math.sqrt(B*B+M*M+T*T),p?(p=1/p,B*=p,M*=p,T*=p):(B=0,M=0,T=0);let E=a*T-l*M,g=l*B-c*T,b=c*M-a*B;p=Math.sqrt(E*E+g*g+b*b),p?(p=1/p,E*=p,g*=p,b*=p):(E=0,g=0,b=0),t[0]=B,t[1]=E,t[2]=c,t[3]=0,t[4]=M,t[5]=g,t[6]=a,t[7]=0,t[8]=T,t[9]=b,t[10]=l,t[11]=0,t[12]=-(B*i+M*u+T*f),t[13]=-(E*i+g*u+b*f),t[14]=-(c*i+a*u+l*f),t[15]=1}function R(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t[4]=e[4]-r[4],t[5]=e[5]-r[5],t[6]=e[6]-r[6],t[7]=e[7]-r[7],t[8]=e[8]-r[8],t[9]=e[9]-r[9],t[10]=e[10]-r[10],t[11]=e[11]-r[11],t[12]=e[12]-r[12],t[13]=e[13]-r[13],t[14]=e[14]-r[14],t[15]=e[15]-r[15],t}function C(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 N(t,e){if(t===e)return!0;const r=t[0],n=t[1],i=t[2],u=t[3],o=t[4],f=t[5],c=t[6],a=t[7],l=t[8],h=t[9],p=t[10],y=t[11],d=t[12],m=t[13],B=t[14],M=t[15],T=e[0],E=e[1],g=e[2],b=e[3],S=e[4],A=e[5],x=e[6],v=e[7],_=e[8],w=e[9],R=e[10],C=e[11],N=e[12],F=e[13],L=e[14],q=e[15],P=(0,s.FD)();return Math.abs(r-T)<=P*Math.max(1,Math.abs(r),Math.abs(T))&&Math.abs(n-E)<=P*Math.max(1,Math.abs(n),Math.abs(E))&&Math.abs(i-g)<=P*Math.max(1,Math.abs(i),Math.abs(g))&&Math.abs(u-b)<=P*Math.max(1,Math.abs(u),Math.abs(b))&&Math.abs(o-S)<=P*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(f-A)<=P*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(c-x)<=P*Math.max(1,Math.abs(c),Math.abs(x))&&Math.abs(a-v)<=P*Math.max(1,Math.abs(a),Math.abs(v))&&Math.abs(l-_)<=P*Math.max(1,Math.abs(l),Math.abs(_))&&Math.abs(h-w)<=P*Math.max(1,Math.abs(h),Math.abs(w))&&Math.abs(p-R)<=P*Math.max(1,Math.abs(p),Math.abs(R))&&Math.abs(y-C)<=P*Math.max(1,Math.abs(y),Math.abs(C))&&Math.abs(d-N)<=P*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(m-F)<=P*Math.max(1,Math.abs(m),Math.abs(F))&&Math.abs(B-L)<=P*Math.max(1,Math.abs(B),Math.abs(L))&&Math.abs(M-q)<=P*Math.max(1,Math.abs(M),Math.abs(q))}function F(t){const e=(0,s.FD)(),r=t[0],n=t[1],i=t[2],u=t[4],o=t[5],f=t[6],c=t[8],a=t[9],l=t[10];return Math.abs(1-(r*r+u*u+c*c))<=e&&Math.abs(1-(n*n+o*o+a*a))<=e&&Math.abs(1-(i*i+f*f+l*l))<=e}function L(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const q=a,P=R;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t[4]=e[4]+r[4],t[5]=e[5]+r[5],t[6]=e[6]+r[6],t[7]=e[7]+r[7],t[8]=e[8]+r[8],t[9]=e[9]+r[9],t[10]=e[10]+r[10],t[11]=e[11]+r[11],t[12]=e[12]+r[12],t[13]=e[13]+r[13],t[14]=e[14]+r[14],t[15]=e[15]+r[15],t},adjoint:function(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=e[4],o=e[5],f=e[6],c=e[7],a=e[8],l=e[9],h=e[10],p=e[11],y=e[12],d=e[13],m=e[14],B=e[15];return t[0]=o*(h*B-p*m)-l*(f*B-c*m)+d*(f*p-c*h),t[1]=-(n*(h*B-p*m)-l*(s*B-i*m)+d*(s*p-i*h)),t[2]=n*(f*B-c*m)-o*(s*B-i*m)+d*(s*c-i*f),t[3]=-(n*(f*p-c*h)-o*(s*p-i*h)+l*(s*c-i*f)),t[4]=-(u*(h*B-p*m)-a*(f*B-c*m)+y*(f*p-c*h)),t[5]=r*(h*B-p*m)-a*(s*B-i*m)+y*(s*p-i*h),t[6]=-(r*(f*B-c*m)-u*(s*B-i*m)+y*(s*c-i*f)),t[7]=r*(f*p-c*h)-u*(s*p-i*h)+a*(s*c-i*f),t[8]=u*(l*B-p*d)-a*(o*B-c*d)+y*(o*p-c*l),t[9]=-(r*(l*B-p*d)-a*(n*B-i*d)+y*(n*p-i*l)),t[10]=r*(o*B-c*d)-u*(n*B-i*d)+y*(n*c-i*o),t[11]=-(r*(o*p-c*l)-u*(n*p-i*l)+a*(n*c-i*o)),t[12]=-(u*(l*m-h*d)-a*(o*m-f*d)+y*(o*h-f*l)),t[13]=r*(l*m-h*d)-a*(n*m-s*d)+y*(n*h-s*l),t[14]=-(r*(o*m-f*d)-u*(n*m-s*d)+y*(n*f-s*o)),t[15]=r*(o*h-f*l)-u*(n*h-s*l)+a*(n*f-s*o),t},copy:i,determinant:function(t){const e=t[0],r=t[1],n=t[2],s=t[3],i=t[4],u=t[5],o=t[6],f=t[7],c=t[8],a=t[9],l=t[10],h=t[11],p=t[12],y=t[13],d=t[14],m=t[15];return(e*u-r*i)*(l*m-h*d)-(e*o-n*i)*(a*m-h*y)+(e*f-s*i)*(a*d-l*y)+(r*o-n*u)*(c*m-h*p)-(r*f-s*u)*(c*d-l*p)+(n*f-s*o)*(c*y-a*p)},equals:N,exactEquals:C,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=r+r,o=n+n,f=s+s,c=r*u,a=n*u,l=n*o,h=s*u,p=s*o,y=s*f,d=i*u,m=i*o,B=i*f;return t[0]=1-l-y,t[1]=a+B,t[2]=h-m,t[3]=0,t[4]=a-B,t[5]=1-c-y,t[6]=p+d,t[7]=0,t[8]=h+m,t[9]=p-d,t[10]=1-c-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const r=E,n=-e[0],s=-e[1],i=-e[2],u=e[3],o=e[4],f=e[5],c=e[6],a=e[7],l=n*n+s*s+i*i+u*u;return l>0?(r[0]=2*(o*u+a*n+f*i-c*s)/l,r[1]=2*(f*u+a*s+c*n-o*i)/l,r[2]=2*(c*u+a*i+o*s-f*n)/l):(r[0]=2*(o*u+a*n+f*i-c*s),r[1]=2*(f*u+a*s+c*n-o*i),r[2]=2*(c*u+a*i+o*s-f*n)),T(t,e,r),t},fromRotation:m,fromRotationTranslation:T,fromRotationTranslationScale:A,fromRotationTranslationScaleOrigin:x,fromScaling:function(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},fromTranslation:d,fromXRotation:B,fromYRotation:function(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:M,frustum:v,getRotation:S,getScale:b,getTranslation:g,hasIdentityRotation:L,identity:o,invert:c,invertOrIdentity:function(t,e){return c(t,e)||o(t),t},isOrthoNormal:F,lookAt:w,mul:q,multiply:a,multiplyScalar:function(t,e,r){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]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*r,t[9]=e[9]*r,t[10]=e[10]*r,t[11]=e[11]*r,t[12]=e[12]*r,t[13]=e[13]*r,t[14]=e[14]*r,t[15]=e[15]*r,t},multiplyScalarAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t[4]=e[4]+r[4]*n,t[5]=e[5]+r[5]*n,t[6]=e[6]+r[6]*n,t[7]=e[7]+r[7]*n,t[8]=e[8]+r[8]*n,t[9]=e[9]+r[9]*n,t[10]=e[10]+r[10]*n,t[11]=e[11]+r[11]*n,t[12]=e[12]+r[12]*n,t[13]=e[13]+r[13]*n,t[14]=e[14]+r[14]*n,t[15]=e[15]+r[15]*n,t},ortho:_,perspective:function(t,e,r,n,s){const i=1/Math.tan(e/2);let u;return t[0]=i/r,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!=s&&s!==1/0?(u=1/(n-s),t[10]=(s+n)*u,t[14]=2*s*n*u):(t[10]=-1,t[14]=-2*n),t},perspectiveFromFieldOfView:function(t,e,r,n){const s=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),u=Math.tan(e.leftDegrees*Math.PI/180),o=Math.tan(e.rightDegrees*Math.PI/180),f=2/(u+o),c=2/(s+i);return t[0]=f,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(u-o)*f*.5,t[9]=(s-i)*c*.5,t[10]=n/(r-n),t[11]=-1,t[12]=0,t[13]=0,t[14]=n*r/(r-n),t[15]=0,t},rotate:p,rotateX:y,rotateY:function(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[0],u=e[1],o=e[2],f=e[3],c=e[8],a=e[9],l=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*s-c*n,t[1]=u*s-a*n,t[2]=o*s-l*n,t[3]=f*s-h*n,t[8]=i*n+c*s,t[9]=u*n+a*s,t[10]=o*n+l*s,t[11]=f*n+h*s,t},rotateZ:function(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[0],u=e[1],o=e[2],f=e[3],c=e[4],a=e[5],l=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*s+c*n,t[1]=u*s+a*n,t[2]=o*s+l*n,t[3]=f*s+h*n,t[4]=c*s-i*n,t[5]=a*s-u*n,t[6]=l*s-o*n,t[7]=h*s-f*n,t},scale:h,set:u,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:P,subtract:R,targetTo:function(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=n[0],f=n[1],c=n[2];let a=s-r[0],l=i-r[1],h=u-r[2],p=a*a+l*l+h*h;p>0&&(p=1/Math.sqrt(p),a*=p,l*=p,h*=p);let y=f*h-c*l,d=c*a-o*h,m=o*l-f*a;return p=y*y+d*d+m*m,p>0&&(p=1/Math.sqrt(p),y*=p,d*=p,m*=p),t[0]=y,t[1]=d,t[2]=m,t[3]=0,t[4]=l*m-h*d,t[5]=h*y-a*m,t[6]=a*d-l*y,t[7]=0,t[8]=a,t[9]=l,t[10]=h,t[11]=0,t[12]=s,t[13]=i,t[14]=u,t[15]=1,t},translate:l,transpose:f},Symbol.toStringTag,{value:"Module"}))},78955(t,e,r){r.d(e,{Bw:()=>m,C:()=>s,Cc:()=>E,LI:()=>h,Om:()=>T,S8:()=>M,T9:()=>l,WQ:()=>u,Z0:()=>g,aI:()=>S,hG:()=>d,hZ:()=>i,hs:()=>p,jk:()=>a,m3:()=>B,t2:()=>b});var n=r(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=n,t[3]=s,t}function u(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function o(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function f(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function c(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function a(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function l(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function h(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function p(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function y(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(r*r+n*n+s*s+i*i)}function d(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return r*r+n*n+s*s+i*i}function m(t){const e=t[0],r=t[1],n=t[2],s=t[3];return Math.sqrt(e*e+r*r+n*n+s*s)}function B(t){const e=t[0],r=t[1],n=t[2],s=t[3];return e*e+r*r+n*n+s*s}function M(t,e){const r=e[0],n=e[1],s=e[2],i=e[3];let u=r*r+n*n+s*s+i*i;return u>0&&(u=1/Math.sqrt(u),t[0]=r*u,t[1]=n*u,t[2]=s*u,t[3]=i*u),t}function T(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function E(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=e[3];return t[0]=s+n*(r[0]-s),t[1]=i+n*(r[1]-i),t[2]=u+n*(r[2]-u),t[3]=o+n*(r[3]-o),t}function g(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3];return t[0]=r[0]*n+r[4]*s+r[8]*i+r[12]*u,t[1]=r[1]*n+r[5]*s+r[9]*i+r[13]*u,t[2]=r[2]*n+r[6]*s+r[10]*i+r[14]*u,t[3]=r[3]*n+r[7]*s+r[11]*i+r[15]*u,t}function b(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function S(t,e){const r=t[0],s=t[1],i=t[2],u=t[3],o=e[0],f=e[1],c=e[2],a=e[3],l=(0,n.FD)();return Math.abs(r-o)<=l*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(s-f)<=l*Math.max(1,Math.abs(s),Math.abs(f))&&Math.abs(i-c)<=l*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(u-a)<=l*Math.max(1,Math.abs(u),Math.abs(a))}const A=o,x=f,v=c,_=y,w=d,R=m,C=B;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:s,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:_,distance:y,div:v,divide:c,dot:T,equals:S,exactEquals:b,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:R,length:m,lerp:E,max:l,min:a,mul:x,multiply:f,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:M,random:function(t,e=1){const r=n.Ov;let s,i,u,o,f,c;do{s=2*r()-1,i=2*r()-1,f=s*s+i*i}while(f>=1);do{u=2*r()-1,o=2*r()-1,c=u*u+o*o}while(c>=1);const a=Math.sqrt((1-f)/c);return t[0]=e*s,t[1]=e*i,t[2]=e*u*a,t[3]=e*o*a,t},round:h,scale:p,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:i,sqrDist:w,sqrLen:C,squaredDistance:d,squaredLength:B,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:A,subtract:o,transformMat4:g,transformQuat:function(t,e,r){const n=e[0],s=e[1],i=e[2],u=r[0],o=r[1],f=r[2],c=r[3],a=c*n+o*i-f*s,l=c*s+f*n-u*i,h=c*i+u*s-o*n,p=-u*n-o*s-f*i;return t[0]=a*c+p*-u+l*-f-h*-o,t[1]=l*c+p*-o+h*-u-a*-f,t[2]=h*c+p*-f+a*-o-l*-u,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},48353(t,e,r){r.d(e,{l:()=>c});var n=r(34727),s=r(58083),i=r(51850);function u(t,e,r){const n=Math.sin(t),s=Math.cos(t),i=Math.sin(e),u=Math.cos(e),o=r;return o[0]=-n,o[4]=-i*s,o[8]=u*s,o[12]=0,o[1]=s,o[5]=-i*n,o[9]=u*n,o[13]=0,o[2]=0,o[6]=u,o[10]=i,o[14]=0,o[3]=0,o[7]=0,o[11]=0,o[15]=1,o}var o=r(49208),f=r(21325);function c(t,e,r,n){const i=(0,o.Tp)(t,n);if(null==i)return!1;const c=i.source.spatialReferenceId,y=i.dest.spatialReferenceId;if(c===y&&!a(y)&&(0!==c||(0,f.aI)(t,n)))return(0,s.kN)(r,e),!0;if(a(y)){const t=o.w5[c][10],n=o.w5[10][y];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,p,0),u(l*h[0],l*h[1],r),r[12]=p[0],r[13]=p[1],r[14]=p[2],!0)}const d=a(c);if((3===y||11===y||2===y||5===y)&&(2===c||d||3===c||5===c)){const t=o.w5[c][10],n=o.w5[10][y];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,p,0),d?function(t,e,r){u(t,e,r),(0,s.mg)(r,r)}(l*h[0],l*h[1],r):(0,s.D_)(r),r[12]=p[0],r[13]=p[1],r[14]=p[2],!0)}return!1}function a(t){return 1===t||6===t||8===t||4===t}const l=(0,n.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},13030(t,e,r){r.d(e,{Y$:()=>T,XW:()=>M,qB:()=>C,Qt:()=>W,My:()=>tt,bf:()=>D,jZ:()=>v,j0:()=>_,Sx:()=>w,E$:()=>R,h:()=>O,P:()=>j,SL:()=>q,dy:()=>st,ES:()=>ut,gH:()=>g,ZD:()=>E,si:()=>N,mJ:()=>Q,UL:()=>et,D6:()=>$,Yi:()=>Y,An:()=>k,LC:()=>P,xs:()=>S,EC:()=>b,Xm:()=>F,Vp:()=>H,zD:()=>rt,m8:()=>G,nS:()=>X,H$:()=>z,eI:()=>V,td:()=>it,Eq:()=>x,jz:()=>A,Aj:()=>L,E7:()=>J,Y4:()=>nt,TX:()=>K,Uz:()=>U,ml:()=>Z,XP:()=>I});var n=r(34727),s=r(34275),i=r(37585),u=r(48163),o=r(78955),f=r(91829),c=r(20498);class a{static{this.ElementCount=9}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=9;const i=this.TypedArrayConstructor;void 0===n&&(n=9*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;for(let t=0;t<9;++t)n[i++]=s[u++]}get buffer(){return this.typedBuffer.buffer}}class l{static{this.ElementCount=16}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=16;const i=this.TypedArrayConstructor;void 0===n&&(n=16*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){this.copyFromTypedBuffer(t,e.typedBuffer,r*e.typedBufferStride)}copyFromTypedBuffer(t,e,r){const n=this.typedBuffer;let s=t*this.typedBufferStride;for(let t=0;t<16;++t)n[s++]=e[r++]}get buffer(){return this.typedBuffer.buffer}}class h{static{this.ElementCount=1}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=1;const i=this.TypedArrayConstructor;void 0===n&&(n=i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.stride=n,this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=2}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=2;const i=this.TypedArrayConstructor;void 0===n&&(n=2*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,i.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var y=r(35522);class d{static{this.ElementCount=3}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=3;const i=this.TypedArrayConstructor;void 0===n&&(n=3*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,y.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t]=n}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}class m{static{this.ElementCount=4}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=4;const i=this.TypedArrayConstructor;void 0===n&&(n=4*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,o.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t++]=n,this.typedBuffer[t]=s}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var B=r(620);class M extends h{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}static{this.ElementType="f16"}}class T extends h{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}static{this.ElementType="f32"}}class E extends p{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f16"}}class g extends p{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(g,t,e)}static{this.ElementType="f32"}}class b extends d{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class S extends d{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static fromTypedArray(t,e){return new S(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class A extends m{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f16"}}class x extends m{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f32"}}class v extends a{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f32"}}class _ extends a{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class w extends l{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="f32"}}class R extends l{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="f64"}}class C extends h{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class N extends p{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="f64"}}class F extends d{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(F,t,e)}static fromTypedArray(t,e){return new F(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class L extends m{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="f64"}}class q extends h{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u8"}}class P extends p{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="u8"}}class V extends d{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(V,t,e)}static fromTypedArray(t,e){return new V(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class I extends m{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u8"}}class O extends h{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u16"}}class Y extends p{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u16"}}class X extends d{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u16"}}class U extends m{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u16"}}class j extends h{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u32"}}class k extends p{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u32"}}class z extends d{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u32"}}class Z extends m{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="u32"}}class D extends h{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class $ extends p{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class G extends d{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i8"}}class K extends m{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i8"}}class W extends h{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i16"}}class Q extends p{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class H extends d{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class J extends m{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class tt extends h{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends p{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class rt extends d{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(rt,t,e)}static{this.ElementType="i32"}}class nt extends m{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(nt,t,e)}static{this.ElementType="i32"}}class st extends q{constructor(t,e=0,r,n){super(t,e,r,n)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,n.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(st,t,e)}}class it extends I{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,o.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,o.jk)(ft,(0,o.T9)(ft,e,f.uY),f.Un),(0,o.hs)(ft,ft,255),(0,o.LI)(ft,ft),super.setVec(t,ft)}get(t,e){return super.get(t,e)/255}set(t,e,r){super.set(t,e,Math.round(255*(0,n.qE)(r,0,1)))}setValues(t,e,r,n,s){(0,o.hZ)(ft,e,r,n,s),this.setVec(t,ft)}slice(t,e){return this.sliceBuffer(it,t,e)}}class ut extends Q{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,i.hZ)(ot,-1,-1),(0,i.T9)(e,(0,i.hs)(e,super.getVec(t,e),1/s.he),ot)}setVec(t,e){(0,i.qE)(ot,e,u.IA,u.Un),(0,i.hs)(ot,ot,s.he),(0,i.LI)(ot,ot),super.setVec(t,ot)}get(t,e){return Math.max(super.get(t,e)/s.he,-1)}set(t,e,r){super.set(t,e,Math.round((0,n.qE)(r,-1,1)*s.he))}setValues(t,e,r){(0,i.hZ)(ot,e,r),this.setVec(t,ot)}slice(t,e){return this.sliceBuffer(ut,t,e)}}const ot=(0,u.vt)(),ft=(0,f.vt)()},20498(t,e,r){r.d(e,{Bg:()=>s,SX:()=>u,pX:()=>i});let n=globalThis.Float16Array;function s(...t){return new(n??Float32Array)(...t)}function i(){return n}let u=!!n},74594(t,e,r){r.d(e,{projectMeshVertexPositions:()=>o});var n=r(9762),s=r(95696),i=r(21325),u=r(72258);function o(t,e){const r=(0,u.UR)(t,s.A.absolute);if(!r)return null;let o=r.position;return(0,i.aI)(t.spatialReference,e)||(o=new Float64Array(r.position.length),(0,n.projectBuffer)(r.position,t.spatialReference,0,o,e,0))?o:null}},22141(t,e,r){r.d(e,{$5:()=>S,CN:()=>T,JP:()=>M,KM:()=>x,Mv:()=>_,X4:()=>E,gr:()=>b,qs:()=>A,si:()=>g,xA:()=>v});var n=r(34727),s=r(77690),i=r(29242),u=r(58083),o=r(9093),f=r(35522),c=r(51850),a=r(73941),l=r(48353),h=r(9762),p=(r(79258),r(21325)),y=r(28735),d=r(13030),m=r(73354),B=r(50867);const M="Projection may be possible after calling projection.load().";function T(t,e,r,n){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${r.wkid}).${n?" ":""}${n}`)}function E(t,e,r,n,s,i){return R(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i))?i:null}function g(t,e,r,n,s,i){return R(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i))?i:null}function b(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function S(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function A(t,e,r){return(0,s.Ge)(L,r),(0,m.t)(e,t,L),(0,n.or)(L)&&(0,m.n)(e,e),e}function x(t,e,r){return(0,s.z0)(L,r),(0,B.t)(e,t,L),(0,n.or)(L)&&(0,m.n)(e,e,4),e}function v(t,e,r,n,s,i){if(!R(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function _(t,e,r,n,s,i){if(!R(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i,16)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function w(t,e,r,n,i){switch((0,l.l)(n,r,F,n),1===t&&(0,u.B8)(F,F),e){case 0:return(0,s.Ge)(i,F);case 1:return(0,s.z0)(i,F)}}function R(t,e,r,n,s,i,u,o){if(!e)return;const c=n.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,a.q8)(t)||(0,a.KQ)(t)}(s))for(let n=0;n<c;n++)i.getVec(n,C),e.getVec(n,N),(0,f.ei)(N,N,w(t,r,C,u,L)),o.setVec(n,N);else for(let s=0;s<c;s++){i.getVec(s,C),e.getVec(s,N);const c=(0,y.jg)(n.get(s,1));let a=Math.cos(c);1===r!=(0===t)&&(a=1/a),w(t,r,C,u,L),0===t?(L[0]*=a,L[1]*=a,L[2]*=a,L[3]*=a,L[4]*=a,L[5]*=a):(L[0]*=a,L[3]*=a,L[6]*=a,L[1]*=a,L[4]*=a,L[7]*=a),(0,f.ei)(N,N,L),(0,f.S8)(N,N),o.setVec(s,N)}return o}const C=(0,c.vt)(),N=(0,c.vt)(),F=(0,o.vt)(),L=(0,i.vt)()},72258(t,e,r){r.d(e,{UR:()=>g,p5:()=>E,xK:()=>_});var n=r(53966),s=r(34727),i=r(86211),u=r(77690),o=r(29242),f=r(58083),c=r(9093),a=r(35522),l=r(51850),h=r(73941),p=r(98764),y=r(48353),d=r(65806),m=r(27615),B=r(73354),M=r(22141);const T=()=>n.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function E(t,e,{vertexSpace:r,spatialReference:n}){if("georeferenced"===r.type){const s=t;if(!(0,d.g)(e,s,n))return!1;const{origin:i}=r;return(0,a.Re)(t,s,i),!0}const s=(0,p.lO)(n),i=t;if(!(0,d.g)(e,i,s))return!1;const{origin:u}=r,o=F;if(!(0,y.l)(n,u,o,s))return!1;const c=(0,f.B8)(F,o);return null!=c&&((0,a.Z0)(t,i,c),!0)}function g(t,e,r){const{vertexSpace:n,transform:s,vertexAttributes:i}=t,o=(0,m.Hq)(n)?s:null,l=x(t.spatialReference,r,3);if((0,m.yJ)(n,e)&&(!o||(0,f.t2)(o.localMatrix,c.zK))&&v(l)){const{position:t,normal:e,tangent:n}=i,s=r?.allowBufferReuse;return{position:s?t:t.slice(),normal:s?e:e?.slice(),tangent:s?n:n?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},s,i){const u=b(e,i);if(!(0,y.l)(e,n,w,u))return(0,M.CN)(T(),e,u),null;if(r&&(0,f.lw)(w,w,r.localMatrix),!(0,y.l)(e,s,R,u))return(0,M.CN)(T(),u,e),null;(0,f.B8)(R,R);const o=(0,f.lw)(w,R,w);return A(o,e,i,3),S(t,o)}(t,t.vertexSpace,e.origin,r):function({spatialReference:t,vertexAttributes:e,transform:r},{origin:n},s,i){const u=b(t,i);if(!(0,y.l)(t,n,w,u))return(0,M.CN)(T(),t,u),null;r&&(0,f.lw)(w,w,r.localMatrix),A(w,t,i,1);const o=new Float64Array(e.position.length),c=function(t,e,r,n,s){(0,B.f)(n,t,e);const i=new Float64Array(t.length);return(0,M.$5)(n,s,i,r)?i:((0,M.CN)(T(),s,r),null)}(e.position,w,t,o,u);if(!c)return null;const l=function(t,e,r,n,s,i){if(null==s)return null;const u=new Float32Array(s.length);return(0,M.qs)(s,u,i),(0,M.si)(u,t,e,r,n,u)?u:((0,M.CN)(T(),n,e),null)}(c,t,o,u,e.normal,w);if(e.normal&&!l)return null;const h=function(t,e,r,n,s,i){if(null==s)return null;const u=new Float32Array(s.length);return(0,M.KM)(s,u,i),(0,M.Mv)(u,t,e,r,n,u)?u:((0,M.CN)(T(),n,e),null)}(c,t,o,u,e.tangent,w);if(e.tangent&&!h)return null;if(s){const t=(0,a.ze)(N,s);(0,B.h)(c,c,t)}return{position:c,normal:l,tangent:h}}(t,t.vertexSpace,e.origin,r);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},s,i){const o=b(e,i);if(!(0,y.l)(e,s,w,o))return(0,M.CN)(T(),e,o),null;const c=1/x(e,i,2);(0,f.hs)(w,w,[c,c,c]);const a=(0,f.B8)(R,w),{position:l,normal:h,tangent:p}=function(t,e,r){if(!e)return t;if(!r){const{position:r,normal:n,tangent:s}=t;return{position:(0,B.h)(new Float64Array(r.length),r,e),tangent:s,normal:n}}const n=S(t,r.localMatrix);return(0,B.h)(n.position,n.position,e),n}(t,n,r),d=new Float64Array(l.length),m=function(t,e,r,n,s){const i=(0,M.gr)(t,e,n,s);if(!i)return(0,M.CN)(T(),e,s),null;const u=new Float64Array(i.length);return(0,B.f)(u,i,r),u}(l,e,a,d,o);if(!m)return null;const E=(0,u.Ge)(C,a),g=function(t,e,r,n,s,i,u){if(null==t)return null;const o=u??new Float32Array(t.length);return(0,M.X4)(t,e,r,n,s,o)?((0,B.t)(o,o,i),o):((0,M.CN)(T(),r,s),null)}(h,l,e,d,o,E,h!==t.normal?h:void 0);if(!g&&h)return null;const A=function(t,e,r,n,s,i,u){if(null==t)return null;const o=u??new Float32Array(t.length);return(0,M.xA)(t,e,r,n,s,o)?((0,B.t)(o,o,i,4),o):((0,M.CN)(T(),r,s),null)}(p,l,e,d,o,E,p!==t.tangent?p:void 0);return!A&&p?null:{position:m,normal:g,tangent:A}}(t,t.vertexSpace,e.origin,r):function({vertexAttributes:t,transform:e,spatialReference:r},{origin:n},s,i){const u=x(r,i,3),o=n||!v(u)?(0,f.C)(w,e?.localMatrix??c.zK):null;o&&A(o,r,i,3);const{position:l,normal:h,tangent:p}=o?S(t,o):t,y=i?.allowBufferReuse,d=y?l:new Float64Array(l.length);let m=l;if(n&&(m=(0,B.h)(d,m,n)),s){const t=(0,a.ze)(N,s);m=(0,B.h)(d,m,t)}return{position:m!==t.position||y?m:m.slice(),normal:h!==t.normal||y?h:h?.slice(),tangent:p!==t.tangent||y?p:p?.slice()}}(t,t.vertexSpace,e.origin,r)}}function b(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function S(t,e){const r=new Float64Array(t.position.length);(0,B.f)(r,t.position,e);const n=t.normal?new Float32Array(t.normal.length):null,s=t.tangent?new Float32Array(t.tangent.length):null;return n&&t.normal&&(0,M.qs)(t.normal,n,e),s&&t.tangent&&(0,M.KM)(t.tangent,s,e),{position:r,normal:n,tangent:s}}function A(t,e,r,n){const s=x(e,r,n);v(s)||(0,f.hs)(t,t,[s,s,s])}function x(t,e,r){const n=!!(1&r),s=!!(2&r),i=e?.sourceUnit,u=e?.targetUnit;if(!i&&!u)return 1;let o=_(i,t);n||!i||v(o)||(T().warn("source unit conversion not supported"),o=1);let f=1/_(u,t);return s||!u||v(f)||(T().warn("target unit conversion not supported"),f=1),o*f}function v(t){return(0,s.Io)(t,1)}function _(t,e){if(null==t)return 1;const r=(0,i.KX)(e);return 1/(0,i.oU)(r,"meters",t)}const w=(0,c.vt)(),R=(0,c.vt)(),C=(0,o.vt)(),N=(0,l.vt)(),F=(0,c.vt)()},27615(t,e,r){r.d(e,{CK:()=>f,Hq:()=>o,MW:()=>c,TE:()=>a,yJ:()=>l});var n=r(35522),s=r(86738),i=r(95696),u=r(18251);function o(t){return null!=t.origin}function f(t){return o(t.vertexSpace)}function c(t,e){if(!o(t))return null;const[r,n,i]=t.origin;return new s.A({x:r,y:n,z:i,spatialReference:e})}function a(t,e){const{x:r,y:n,z:s,spatialReference:o}=t,f=[r,n,s??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(o))?new u.default({origin:f}):new i.A({origin:f})}function l(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,n.t2)(t.origin,e.origin))}},620(t,e,r){r.d(e,{L:()=>f,MX:()=>u,O_:()=>o,kL:()=>c,vA:()=>i,zH:()=>a});var n=r(48163);r(78955),(0,r(91829).vt)();class s{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new s(`${e} at ${t}`)}}function u(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function o(t,e,r,n){let s,i=(r[0]-t[0])/e[0],u=(n[0]-t[0])/e[0];i>u&&(s=i,i=u,u=s);let o=(r[1]-t[1])/e[1],f=(n[1]-t[1])/e[1];if(o>f&&(s=o,o=f,f=s),i>f||o>u)return!1;o>i&&(i=o),f<u&&(u=f);let c=(r[2]-t[2])/e[2],a=(n[2]-t[2])/e[2];return c>a&&(s=c,c=a,a=s),!(i>a||c>u||(a<u&&(u=a),u<0))}function f(t,e,r,s,i,u=(0,n.vt)()){const o=(s[i]-r[i])*(e[0]-t[0])-(s[0]-r[0])*(e[i]-t[i]),f=(s[0]-r[0])*(t[i]-r[i])-(s[i]-r[i])*(t[0]-r[0]);if(0===o)return!1;const c=f/o;return u[0]=t[0]+c*(e[0]-t[0]),u[1]=t[i]+c*(e[i]-t[i]),!0}function c(t,e){return Math.log(t)/Math.log(e)}function a(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4594],{50867(t,e,r){r.d(e,{a:()=>c,c:()=>i,l:()=>a,n:()=>o,t:()=>u});var n=r(40876),s=(r(44208),r(72727));function i(t,e,r){u(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function u(t,e,r,n=4,i=n){const u=(0,s.k)(t.length,n,4),o=(0,s.k)(e.length,i,4),f=Math.min(u,o),c=r[0],a=r[1],l=r[2],h=r[3],p=r[4],y=r[5],d=r[6],m=r[7],B=r[8];let M=0,T=0;for(let r=0;r<f;r++){const r=e[M],s=e[M+1],u=e[M+2],o=e[M+3];t[T]=c*r+h*s+d*u,t[T+1]=a*r+p*s+m*u,t[T+2]=l*r+y*s+B*u,t[T+3]=o,M+=i,T+=n}}function o(t,e){const r=Math.min(t.count,e.count),n=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,u=e.typedBufferStride;for(let t=0;t<r;t++){const e=t*s,r=t*u,o=i[r],f=i[r+1],c=i[r+2],a=o*o+f*f+c*c;if(a>0){const t=1/Math.sqrt(a);n[e]=t*o,n[e+1]=t*f,n[e+2]=t*c}}}function f(t,e,r,n=4){const s=Math.min(t.length/n,e.count),i=e.typedBuffer,u=e.typedBufferStride;let o=0,f=0;for(let e=0;e<s;e++)t[f]=r*i[o],t[f+1]=r*i[o+1],t[f+2]=r*i[o+2],t[f+3]=r*i[o+3],o+=u,f+=n}function c(t,e,r,n){a(t.typedBuffer,e,r,n,t.typedBufferStride)}function a(t,e,r,s,i=4){const u=Math.min(t.length/i,e.count),o=e.typedBuffer,f=e.typedBufferStride;let c=0,a=0;const l=1/n.Tf;for(let e=0;e<u;e++)t[a]=s*(r*o[c])**l,t[a+1]=s*(r*o[c+1])**l,t[a+2]=s*(r*o[c+2])**l,t[a+3]=s*r*o[c+3],c+=f,a+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:a,linearToSRGBView:c,normalize:o,scale:f,scaleView:function(t,e,r){f(t.typedBuffer,e,r,t.typedBufferStride)},transformMat3:u,transformMat3View:i,transformMat4:function(t,e,r,n=4,i=n){const u=(0,s.k)(t.length,n,4),o=(0,s.k)(e.length,i,4),f=Math.min(u,o),c=r[0],a=r[1],l=r[2],h=r[3],p=r[4],y=r[5],d=r[6],m=r[7],B=r[8],M=r[9],T=r[10],E=r[11],g=r[12],b=r[13],S=r[14],A=r[15];let x=0,v=0;for(let r=0;r<f;r++){const r=e[x],s=e[x+1],u=e[x+2],o=e[x+3];t[v]=c*r+p*s+B*u+g*o,t[v+1]=a*r+y*s+M*u+b*o,t[v+2]=l*r+d*s+T*u+S*o,t[v+3]=h*r+m*s+E*u+A*o,x+=i,v+=n}},transformMat4View:function(t,e,r){const n=t.typedBuffer,i=t.typedBufferStride,u=e.typedBuffer,o=e.typedBufferStride,f=(0,s.k)(n.length,i,4),c=(0,s.k)(u.length,o,4),a=Math.min(f,c),l=r[0],h=r[1],p=r[2],y=r[3],d=r[4],m=r[5],B=r[6],M=r[7],T=r[8],E=r[9],g=r[10],b=r[11],S=r[12],A=r[13],x=r[14],v=r[15];for(let t=0;t<a;t++){const e=t*i,r=t*o,s=u[r],f=u[r+1],c=u[r+2],a=u[r+3];n[e]=l*s+d*f+T*c+S*a,n[e+1]=h*s+m*f+E*c+A*a,n[e+2]=p*s+B*f+g*c+x*a,n[e+3]=y*s+M*f+b*c+v*a}}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,r){function n(){return[0,0]}function s(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function u(){return i(1,1)}function o(){return i(-1,-1)}function f(){return i(1,0)}function c(){return i(0,1)}r.d(e,{IA:()=>l,Un:()=>a,fA:()=>i,o8:()=>s,vt:()=>n});const a=u(),l=o(),h=f(),p=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:l,ONES:a,UNIT_X:h,UNIT_Y:p,ZEROS:[0,0],clone:s,create:n,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const r=Math.min(2,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:i,negativeOnes:o,ones:u,unitX:f,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,e,r){function n(){return[0,0,0,0]}function s(t,e,r,n){return[t,e,r,n]}function i(t,e,r,n){return[t,e,r,n]}function u(){return s(1,1,1,1)}function o(){return s(1,0,0,0)}function f(){return s(0,1,0,0)}function c(){return s(0,0,1,0)}function a(){return s(0,0,0,1)}r.d(e,{CN:()=>i,Un:()=>h,fA:()=>s,uY:()=>l,vt:()=>n});const l=[0,0,0,0],h=u(),p=o(),y=f(),d=c(),m=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:p,UNIT_Y:y,UNIT_Z:d,ZEROS:l,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:n,freeze:i,fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:s,ones:u,unitW:a,unitX:o,unitY:f,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,e,r){r.d(e,{$0:()=>m,$h:()=>v,B8:()=>c,C:()=>i,D_:()=>o,N9:()=>M,O7:()=>x,Tl:()=>l,X_:()=>b,aI:()=>N,e$:()=>p,eL:()=>y,hM:()=>B,hZ:()=>u,hs:()=>h,kN:()=>d,l:()=>S,lw:()=>a,mg:()=>f,o1:()=>A,sC:()=>g,t2:()=>C,t5:()=>w,tZ:()=>L,ut:()=>F,v3:()=>_});var n=r(51850),s=r(34304);function i(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}function u(t,e,r,n,s,i,u,o,f,c,a,l,h,p,y,d,m){return t[0]=e,t[1]=r,t[2]=n,t[3]=s,t[4]=i,t[5]=u,t[6]=o,t[7]=f,t[8]=c,t[9]=a,t[10]=l,t[11]=h,t[12]=p,t[13]=y,t[14]=d,t[15]=m,t}function o(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 f(t,e){if(t===e){const r=e[1],n=e[2],s=e[3],i=e[6],u=e[7],o=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=r,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=i,t[11]=e[14],t[12]=s,t[13]=u,t[14]=o}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 c(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=e[4],o=e[5],f=e[6],c=e[7],a=e[8],l=e[9],h=e[10],p=e[11],y=e[12],d=e[13],m=e[14],B=e[15],M=r*o-n*u,T=r*f-s*u,E=r*c-i*u,g=n*f-s*o,b=n*c-i*o,S=s*c-i*f,A=a*d-l*y,x=a*m-h*y,v=a*B-p*y,_=l*m-h*d,w=l*B-p*d,R=h*B-p*m;let C=M*R-T*w+E*_+g*v-b*x+S*A;return C?(C=1/C,t[0]=(o*R-f*w+c*_)*C,t[1]=(s*w-n*R-i*_)*C,t[2]=(d*S-m*b+B*g)*C,t[3]=(h*b-l*S-p*g)*C,t[4]=(f*v-u*R-c*x)*C,t[5]=(r*R-s*v+i*x)*C,t[6]=(m*E-y*S-B*T)*C,t[7]=(a*S-h*E+p*T)*C,t[8]=(u*w-o*v+c*A)*C,t[9]=(n*v-r*w-i*A)*C,t[10]=(y*b-d*E+B*M)*C,t[11]=(l*E-a*b-p*M)*C,t[12]=(o*x-u*_-f*A)*C,t[13]=(r*_-n*x+s*A)*C,t[14]=(d*T-y*g-m*M)*C,t[15]=(a*g-l*T+h*M)*C,t):null}function a(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3],o=e[4],f=e[5],c=e[6],a=e[7],l=e[8],h=e[9],p=e[10],y=e[11],d=e[12],m=e[13],B=e[14],M=e[15];let T=r[0],E=r[1],g=r[2],b=r[3];return t[0]=T*n+E*o+g*l+b*d,t[1]=T*s+E*f+g*h+b*m,t[2]=T*i+E*c+g*p+b*B,t[3]=T*u+E*a+g*y+b*M,T=r[4],E=r[5],g=r[6],b=r[7],t[4]=T*n+E*o+g*l+b*d,t[5]=T*s+E*f+g*h+b*m,t[6]=T*i+E*c+g*p+b*B,t[7]=T*u+E*a+g*y+b*M,T=r[8],E=r[9],g=r[10],b=r[11],t[8]=T*n+E*o+g*l+b*d,t[9]=T*s+E*f+g*h+b*m,t[10]=T*i+E*c+g*p+b*B,t[11]=T*u+E*a+g*y+b*M,T=r[12],E=r[13],g=r[14],b=r[15],t[12]=T*n+E*o+g*l+b*d,t[13]=T*s+E*f+g*h+b*m,t[14]=T*i+E*c+g*p+b*B,t[15]=T*u+E*a+g*y+b*M,t}function l(t,e,r){const n=r[0],s=r[1],i=r[2];if(e===t)t[12]=e[0]*n+e[4]*s+e[8]*i+e[12],t[13]=e[1]*n+e[5]*s+e[9]*i+e[13],t[14]=e[2]*n+e[6]*s+e[10]*i+e[14],t[15]=e[3]*n+e[7]*s+e[11]*i+e[15];else{const r=e[0],u=e[1],o=e[2],f=e[3],c=e[4],a=e[5],l=e[6],h=e[7],p=e[8],y=e[9],d=e[10],m=e[11];t[0]=r,t[1]=u,t[2]=o,t[3]=f,t[4]=c,t[5]=a,t[6]=l,t[7]=h,t[8]=p,t[9]=y,t[10]=d,t[11]=m,t[12]=r*n+c*s+p*i+e[12],t[13]=u*n+a*s+y*i+e[13],t[14]=o*n+l*s+d*i+e[14],t[15]=f*n+h*s+m*i+e[15]}return t}function h(t,e,r){const n=r[0],s=r[1],i=r[2];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]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,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 p(t,e,r,n){let u=n[0],o=n[1],f=n[2],c=Math.sqrt(u*u+o*o+f*f);if(c<=(0,s.FD)())return void i(t,e);c=1/c,u*=c,o*=c,f*=c;const a=Math.sin(r),l=Math.cos(r),h=1-l,p=e[0],y=e[1],d=e[2],m=e[3],B=e[4],M=e[5],T=e[6],E=e[7],g=e[8],b=e[9],S=e[10],A=e[11],x=u*u*h+l,v=o*u*h+f*a,_=f*u*h-o*a,w=u*o*h-f*a,R=o*o*h+l,C=f*o*h+u*a,N=u*f*h+o*a,F=o*f*h-u*a,L=f*f*h+l;t[0]=p*x+B*v+g*_,t[1]=y*x+M*v+b*_,t[2]=d*x+T*v+S*_,t[3]=m*x+E*v+A*_,t[4]=p*w+B*R+g*C,t[5]=y*w+M*R+b*C,t[6]=d*w+T*R+S*C,t[7]=m*w+E*R+A*C,t[8]=p*N+B*F+g*L,t[9]=y*N+M*F+b*L,t[10]=d*N+T*F+S*L,t[11]=m*N+E*F+A*L,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function y(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[4],u=e[5],o=e[6],f=e[7],c=e[8],a=e[9],l=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*s+c*n,t[5]=u*s+a*n,t[6]=o*s+l*n,t[7]=f*s+h*n,t[8]=c*s-i*n,t[9]=a*s-u*n,t[10]=l*s-o*n,t[11]=h*s-f*n,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 m(t,e,r){if(0===e)return o(t);let n=r[0],i=r[1],u=r[2],f=Math.sqrt(n*n+i*i+u*u);if(f<=(0,s.FD)())return null;f=1/f,n*=f,i*=f,u*=f;const c=Math.sin(e),a=Math.cos(e),l=1-a;return t[0]=n*n*l+a,t[1]=i*n*l+u*c,t[2]=u*n*l-i*c,t[3]=0,t[4]=n*i*l-u*c,t[5]=i*i*l+a,t[6]=u*i*l+n*c,t[7]=0,t[8]=n*u*l+i*c,t[9]=i*u*l-n*c,t[10]=u*u*l+a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=n,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 T(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3],o=n+n,f=s+s,c=i+i,a=n*o,l=n*f,h=n*c,p=s*f,y=s*c,d=i*c,m=u*o,B=u*f,M=u*c;return t[0]=1-(p+d),t[1]=l+M,t[2]=h-B,t[3]=0,t[4]=l-M,t[5]=1-(a+d),t[6]=y+m,t[7]=0,t[8]=h+B,t[9]=y-m,t[10]=1-(a+p),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const E=(0,n.vt)();function g(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function b(t,e){const r=e[0],n=e[1],s=e[2],i=e[4],u=e[5],o=e[6],f=e[8],c=e[9],a=e[10];return t[0]=Math.sqrt(r*r+n*n+s*s),t[1]=Math.sqrt(i*i+u*u+o*o),t[2]=Math.sqrt(f*f+c*c+a*a),t}function S(t,e){const r=e[0]+e[5]+e[10];let n=0;return r>0?(n=2*Math.sqrt(r+1),t[3]=.25*n,t[0]=(e[6]-e[9])/n,t[1]=(e[8]-e[2])/n,t[2]=(e[1]-e[4])/n):e[0]>e[5]&&e[0]>e[10]?(n=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/n,t[0]=.25*n,t[1]=(e[1]+e[4])/n,t[2]=(e[8]+e[2])/n):e[5]>e[10]?(n=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/n,t[0]=(e[1]+e[4])/n,t[1]=.25*n,t[2]=(e[6]+e[9])/n):(n=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/n,t[0]=(e[8]+e[2])/n,t[1]=(e[6]+e[9])/n,t[2]=.25*n),t}function A(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=e[3],f=s+s,c=i+i,a=u+u,l=s*f,h=s*c,p=s*a,y=i*c,d=i*a,m=u*a,B=o*f,M=o*c,T=o*a,E=n[0],g=n[1],b=n[2];return t[0]=(1-(y+m))*E,t[1]=(h+T)*E,t[2]=(p-M)*E,t[3]=0,t[4]=(h-T)*g,t[5]=(1-(l+m))*g,t[6]=(d+B)*g,t[7]=0,t[8]=(p+M)*b,t[9]=(d-B)*b,t[10]=(1-(l+y))*b,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function x(t,e,r,n,s){const i=e[0],u=e[1],o=e[2],f=e[3],c=i+i,a=u+u,l=o+o,h=i*c,p=i*a,y=i*l,d=u*a,m=u*l,B=o*l,M=f*c,T=f*a,E=f*l,g=n[0],b=n[1],S=n[2],A=s[0],x=s[1],v=s[2],_=(1-(d+B))*g,w=(p+E)*g,R=(y-T)*g,C=(p-E)*b,N=(1-(h+B))*b,F=(m+M)*b,L=(y+T)*S,q=(m-M)*S,P=(1-(h+d))*S;return t[0]=_,t[1]=w,t[2]=R,t[3]=0,t[4]=C,t[5]=N,t[6]=F,t[7]=0,t[8]=L,t[9]=q,t[10]=P,t[11]=0,t[12]=r[0]+A-(_*A+C*x+L*v),t[13]=r[1]+x-(w*A+N*x+q*v),t[14]=r[2]+v-(R*A+F*x+P*v),t[15]=1,t}function v(t,e,r,n,s,i,u){const o=1/(r-e),f=1/(s-n),c=1/(i-u);return t[0]=2*i*o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*f,t[6]=0,t[7]=0,t[8]=(r+e)*o,t[9]=(s+n)*f,t[10]=(u+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*i*2*c,t[15]=0,t}function _(t,e,r,n,s,i,u){const o=1/(e-r),f=1/(n-s),c=1/(i-u);return t[0]=-2*o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*f,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*o,t[13]=(s+n)*f,t[14]=(u+i)*c,t[15]=1,t}function w(t,e,r,n){const i=e[0],u=e[1],f=e[2];let c=i-r[0],a=u-r[1],l=f-r[2];const h=(0,s.FD)();if(Math.abs(c)<h&&Math.abs(a)<h&&Math.abs(l)<h)return void o(t);let p=1/Math.sqrt(c*c+a*a+l*l);c*=p,a*=p,l*=p;const y=n[0],d=n[1],m=n[2];let B=d*l-m*a,M=m*c-y*l,T=y*a-d*c;p=Math.sqrt(B*B+M*M+T*T),p?(p=1/p,B*=p,M*=p,T*=p):(B=0,M=0,T=0);let E=a*T-l*M,g=l*B-c*T,b=c*M-a*B;p=Math.sqrt(E*E+g*g+b*b),p?(p=1/p,E*=p,g*=p,b*=p):(E=0,g=0,b=0),t[0]=B,t[1]=E,t[2]=c,t[3]=0,t[4]=M,t[5]=g,t[6]=a,t[7]=0,t[8]=T,t[9]=b,t[10]=l,t[11]=0,t[12]=-(B*i+M*u+T*f),t[13]=-(E*i+g*u+b*f),t[14]=-(c*i+a*u+l*f),t[15]=1}function R(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t[4]=e[4]-r[4],t[5]=e[5]-r[5],t[6]=e[6]-r[6],t[7]=e[7]-r[7],t[8]=e[8]-r[8],t[9]=e[9]-r[9],t[10]=e[10]-r[10],t[11]=e[11]-r[11],t[12]=e[12]-r[12],t[13]=e[13]-r[13],t[14]=e[14]-r[14],t[15]=e[15]-r[15],t}function C(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 N(t,e){if(t===e)return!0;const r=t[0],n=t[1],i=t[2],u=t[3],o=t[4],f=t[5],c=t[6],a=t[7],l=t[8],h=t[9],p=t[10],y=t[11],d=t[12],m=t[13],B=t[14],M=t[15],T=e[0],E=e[1],g=e[2],b=e[3],S=e[4],A=e[5],x=e[6],v=e[7],_=e[8],w=e[9],R=e[10],C=e[11],N=e[12],F=e[13],L=e[14],q=e[15],P=(0,s.FD)();return Math.abs(r-T)<=P*Math.max(1,Math.abs(r),Math.abs(T))&&Math.abs(n-E)<=P*Math.max(1,Math.abs(n),Math.abs(E))&&Math.abs(i-g)<=P*Math.max(1,Math.abs(i),Math.abs(g))&&Math.abs(u-b)<=P*Math.max(1,Math.abs(u),Math.abs(b))&&Math.abs(o-S)<=P*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(f-A)<=P*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(c-x)<=P*Math.max(1,Math.abs(c),Math.abs(x))&&Math.abs(a-v)<=P*Math.max(1,Math.abs(a),Math.abs(v))&&Math.abs(l-_)<=P*Math.max(1,Math.abs(l),Math.abs(_))&&Math.abs(h-w)<=P*Math.max(1,Math.abs(h),Math.abs(w))&&Math.abs(p-R)<=P*Math.max(1,Math.abs(p),Math.abs(R))&&Math.abs(y-C)<=P*Math.max(1,Math.abs(y),Math.abs(C))&&Math.abs(d-N)<=P*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(m-F)<=P*Math.max(1,Math.abs(m),Math.abs(F))&&Math.abs(B-L)<=P*Math.max(1,Math.abs(B),Math.abs(L))&&Math.abs(M-q)<=P*Math.max(1,Math.abs(M),Math.abs(q))}function F(t){const e=(0,s.FD)(),r=t[0],n=t[1],i=t[2],u=t[4],o=t[5],f=t[6],c=t[8],a=t[9],l=t[10];return Math.abs(1-(r*r+u*u+c*c))<=e&&Math.abs(1-(n*n+o*o+a*a))<=e&&Math.abs(1-(i*i+f*f+l*l))<=e}function L(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const q=a,P=R;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t[4]=e[4]+r[4],t[5]=e[5]+r[5],t[6]=e[6]+r[6],t[7]=e[7]+r[7],t[8]=e[8]+r[8],t[9]=e[9]+r[9],t[10]=e[10]+r[10],t[11]=e[11]+r[11],t[12]=e[12]+r[12],t[13]=e[13]+r[13],t[14]=e[14]+r[14],t[15]=e[15]+r[15],t},adjoint:function(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=e[4],o=e[5],f=e[6],c=e[7],a=e[8],l=e[9],h=e[10],p=e[11],y=e[12],d=e[13],m=e[14],B=e[15];return t[0]=o*(h*B-p*m)-l*(f*B-c*m)+d*(f*p-c*h),t[1]=-(n*(h*B-p*m)-l*(s*B-i*m)+d*(s*p-i*h)),t[2]=n*(f*B-c*m)-o*(s*B-i*m)+d*(s*c-i*f),t[3]=-(n*(f*p-c*h)-o*(s*p-i*h)+l*(s*c-i*f)),t[4]=-(u*(h*B-p*m)-a*(f*B-c*m)+y*(f*p-c*h)),t[5]=r*(h*B-p*m)-a*(s*B-i*m)+y*(s*p-i*h),t[6]=-(r*(f*B-c*m)-u*(s*B-i*m)+y*(s*c-i*f)),t[7]=r*(f*p-c*h)-u*(s*p-i*h)+a*(s*c-i*f),t[8]=u*(l*B-p*d)-a*(o*B-c*d)+y*(o*p-c*l),t[9]=-(r*(l*B-p*d)-a*(n*B-i*d)+y*(n*p-i*l)),t[10]=r*(o*B-c*d)-u*(n*B-i*d)+y*(n*c-i*o),t[11]=-(r*(o*p-c*l)-u*(n*p-i*l)+a*(n*c-i*o)),t[12]=-(u*(l*m-h*d)-a*(o*m-f*d)+y*(o*h-f*l)),t[13]=r*(l*m-h*d)-a*(n*m-s*d)+y*(n*h-s*l),t[14]=-(r*(o*m-f*d)-u*(n*m-s*d)+y*(n*f-s*o)),t[15]=r*(o*h-f*l)-u*(n*h-s*l)+a*(n*f-s*o),t},copy:i,determinant:function(t){const e=t[0],r=t[1],n=t[2],s=t[3],i=t[4],u=t[5],o=t[6],f=t[7],c=t[8],a=t[9],l=t[10],h=t[11],p=t[12],y=t[13],d=t[14],m=t[15];return(e*u-r*i)*(l*m-h*d)-(e*o-n*i)*(a*m-h*y)+(e*f-s*i)*(a*d-l*y)+(r*o-n*u)*(c*m-h*p)-(r*f-s*u)*(c*d-l*p)+(n*f-s*o)*(c*y-a*p)},equals:N,exactEquals:C,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=r+r,o=n+n,f=s+s,c=r*u,a=n*u,l=n*o,h=s*u,p=s*o,y=s*f,d=i*u,m=i*o,B=i*f;return t[0]=1-l-y,t[1]=a+B,t[2]=h-m,t[3]=0,t[4]=a-B,t[5]=1-c-y,t[6]=p+d,t[7]=0,t[8]=h+m,t[9]=p-d,t[10]=1-c-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const r=E,n=-e[0],s=-e[1],i=-e[2],u=e[3],o=e[4],f=e[5],c=e[6],a=e[7],l=n*n+s*s+i*i+u*u;return l>0?(r[0]=2*(o*u+a*n+f*i-c*s)/l,r[1]=2*(f*u+a*s+c*n-o*i)/l,r[2]=2*(c*u+a*i+o*s-f*n)/l):(r[0]=2*(o*u+a*n+f*i-c*s),r[1]=2*(f*u+a*s+c*n-o*i),r[2]=2*(c*u+a*i+o*s-f*n)),T(t,e,r),t},fromRotation:m,fromRotationTranslation:T,fromRotationTranslationScale:A,fromRotationTranslationScaleOrigin:x,fromScaling:function(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},fromTranslation:d,fromXRotation:B,fromYRotation:function(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:M,frustum:v,getRotation:S,getScale:b,getTranslation:g,hasIdentityRotation:L,identity:o,invert:c,invertOrIdentity:function(t,e){return c(t,e)||o(t),t},isOrthoNormal:F,lookAt:w,mul:q,multiply:a,multiplyScalar:function(t,e,r){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]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*r,t[9]=e[9]*r,t[10]=e[10]*r,t[11]=e[11]*r,t[12]=e[12]*r,t[13]=e[13]*r,t[14]=e[14]*r,t[15]=e[15]*r,t},multiplyScalarAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t[4]=e[4]+r[4]*n,t[5]=e[5]+r[5]*n,t[6]=e[6]+r[6]*n,t[7]=e[7]+r[7]*n,t[8]=e[8]+r[8]*n,t[9]=e[9]+r[9]*n,t[10]=e[10]+r[10]*n,t[11]=e[11]+r[11]*n,t[12]=e[12]+r[12]*n,t[13]=e[13]+r[13]*n,t[14]=e[14]+r[14]*n,t[15]=e[15]+r[15]*n,t},ortho:_,perspective:function(t,e,r,n,s){const i=1/Math.tan(e/2);let u;return t[0]=i/r,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!=s&&s!==1/0?(u=1/(n-s),t[10]=(s+n)*u,t[14]=2*s*n*u):(t[10]=-1,t[14]=-2*n),t},perspectiveFromFieldOfView:function(t,e,r,n){const s=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),u=Math.tan(e.leftDegrees*Math.PI/180),o=Math.tan(e.rightDegrees*Math.PI/180),f=2/(u+o),c=2/(s+i);return t[0]=f,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(u-o)*f*.5,t[9]=(s-i)*c*.5,t[10]=n/(r-n),t[11]=-1,t[12]=0,t[13]=0,t[14]=n*r/(r-n),t[15]=0,t},rotate:p,rotateX:y,rotateY:function(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[0],u=e[1],o=e[2],f=e[3],c=e[8],a=e[9],l=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*s-c*n,t[1]=u*s-a*n,t[2]=o*s-l*n,t[3]=f*s-h*n,t[8]=i*n+c*s,t[9]=u*n+a*s,t[10]=o*n+l*s,t[11]=f*n+h*s,t},rotateZ:function(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[0],u=e[1],o=e[2],f=e[3],c=e[4],a=e[5],l=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*s+c*n,t[1]=u*s+a*n,t[2]=o*s+l*n,t[3]=f*s+h*n,t[4]=c*s-i*n,t[5]=a*s-u*n,t[6]=l*s-o*n,t[7]=h*s-f*n,t},scale:h,set:u,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:P,subtract:R,targetTo:function(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=n[0],f=n[1],c=n[2];let a=s-r[0],l=i-r[1],h=u-r[2],p=a*a+l*l+h*h;p>0&&(p=1/Math.sqrt(p),a*=p,l*=p,h*=p);let y=f*h-c*l,d=c*a-o*h,m=o*l-f*a;return p=y*y+d*d+m*m,p>0&&(p=1/Math.sqrt(p),y*=p,d*=p,m*=p),t[0]=y,t[1]=d,t[2]=m,t[3]=0,t[4]=l*m-h*d,t[5]=h*y-a*m,t[6]=a*d-l*y,t[7]=0,t[8]=a,t[9]=l,t[10]=h,t[11]=0,t[12]=s,t[13]=i,t[14]=u,t[15]=1,t},translate:l,transpose:f},Symbol.toStringTag,{value:"Module"}))},78955(t,e,r){r.d(e,{Bw:()=>m,C:()=>s,Cc:()=>E,LI:()=>h,Om:()=>T,S8:()=>M,T9:()=>l,WQ:()=>u,Z0:()=>g,aI:()=>S,hG:()=>d,hZ:()=>i,hs:()=>p,jk:()=>a,m3:()=>B,t2:()=>b});var n=r(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=n,t[3]=s,t}function u(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function o(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function f(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function c(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function a(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function l(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function h(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function p(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function y(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(r*r+n*n+s*s+i*i)}function d(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return r*r+n*n+s*s+i*i}function m(t){const e=t[0],r=t[1],n=t[2],s=t[3];return Math.sqrt(e*e+r*r+n*n+s*s)}function B(t){const e=t[0],r=t[1],n=t[2],s=t[3];return e*e+r*r+n*n+s*s}function M(t,e){const r=e[0],n=e[1],s=e[2],i=e[3];let u=r*r+n*n+s*s+i*i;return u>0&&(u=1/Math.sqrt(u),t[0]=r*u,t[1]=n*u,t[2]=s*u,t[3]=i*u),t}function T(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function E(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=e[3];return t[0]=s+n*(r[0]-s),t[1]=i+n*(r[1]-i),t[2]=u+n*(r[2]-u),t[3]=o+n*(r[3]-o),t}function g(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3];return t[0]=r[0]*n+r[4]*s+r[8]*i+r[12]*u,t[1]=r[1]*n+r[5]*s+r[9]*i+r[13]*u,t[2]=r[2]*n+r[6]*s+r[10]*i+r[14]*u,t[3]=r[3]*n+r[7]*s+r[11]*i+r[15]*u,t}function b(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function S(t,e){const r=t[0],s=t[1],i=t[2],u=t[3],o=e[0],f=e[1],c=e[2],a=e[3],l=(0,n.FD)();return Math.abs(r-o)<=l*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(s-f)<=l*Math.max(1,Math.abs(s),Math.abs(f))&&Math.abs(i-c)<=l*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(u-a)<=l*Math.max(1,Math.abs(u),Math.abs(a))}const A=o,x=f,v=c,_=y,w=d,R=m,C=B;Object.freeze(Object.defineProperty({__proto__:null,add:u,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:s,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:_,distance:y,div:v,divide:c,dot:T,equals:S,exactEquals:b,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:R,length:m,lerp:E,max:l,min:a,mul:x,multiply:f,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:M,random:function(t,e=1){const r=n.Ov;let s,i,u,o,f,c;do{s=2*r()-1,i=2*r()-1,f=s*s+i*i}while(f>=1);do{u=2*r()-1,o=2*r()-1,c=u*u+o*o}while(c>=1);const a=Math.sqrt((1-f)/c);return t[0]=e*s,t[1]=e*i,t[2]=e*u*a,t[3]=e*o*a,t},round:h,scale:p,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:i,sqrDist:w,sqrLen:C,squaredDistance:d,squaredLength:B,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:A,subtract:o,transformMat4:g,transformQuat:function(t,e,r){const n=e[0],s=e[1],i=e[2],u=r[0],o=r[1],f=r[2],c=r[3],a=c*n+o*i-f*s,l=c*s+f*n-u*i,h=c*i+u*s-o*n,p=-u*n-o*s-f*i;return t[0]=a*c+p*-u+l*-f-h*-o,t[1]=l*c+p*-o+h*-u-a*-f,t[2]=h*c+p*-f+a*-o-l*-u,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},48353(t,e,r){r.d(e,{l:()=>c});var n=r(34727),s=r(58083),i=r(51850);function u(t,e,r){const n=Math.sin(t),s=Math.cos(t),i=Math.sin(e),u=Math.cos(e),o=r;return o[0]=-n,o[4]=-i*s,o[8]=u*s,o[12]=0,o[1]=s,o[5]=-i*n,o[9]=u*n,o[13]=0,o[2]=0,o[6]=u,o[10]=i,o[14]=0,o[3]=0,o[7]=0,o[11]=0,o[15]=1,o}var o=r(49208),f=r(21325);function c(t,e,r,n){const i=(0,o.Tp)(t,n);if(null==i)return!1;const c=i.source.spatialReferenceId,y=i.dest.spatialReferenceId;if(c===y&&!a(y)&&(0!==c||(0,f.aI)(t,n)))return(0,s.kN)(r,e),!0;if(a(y)){const t=o.w5[c][10],n=o.w5[10][y];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,p,0),u(l*h[0],l*h[1],r),r[12]=p[0],r[13]=p[1],r[14]=p[2],!0)}const d=a(c);if((3===y||11===y||2===y||5===y)&&(2===c||d||3===c||5===c)){const t=o.w5[c][10],n=o.w5[10][y];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,p,0),d?function(t,e,r){u(t,e,r),(0,s.mg)(r,r)}(l*h[0],l*h[1],r):(0,s.D_)(r),r[12]=p[0],r[13]=p[1],r[14]=p[2],!0)}return!1}function a(t){return 1===t||6===t||8===t||4===t}const l=(0,n.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},13030(t,e,r){r.d(e,{Y$:()=>T,XW:()=>M,qB:()=>C,Qt:()=>Q,My:()=>tt,bf:()=>D,jZ:()=>v,j0:()=>_,Sx:()=>w,E$:()=>R,Qy:()=>ut,h:()=>O,P:()=>j,SL:()=>q,dy:()=>st,ES:()=>ot,gH:()=>g,ZD:()=>E,si:()=>N,mJ:()=>W,UL:()=>et,D6:()=>$,Yi:()=>Y,An:()=>k,LC:()=>P,xs:()=>S,EC:()=>b,Xm:()=>F,Vp:()=>H,zD:()=>rt,m8:()=>G,nS:()=>X,H$:()=>z,eI:()=>V,td:()=>it,Eq:()=>x,jz:()=>A,Aj:()=>L,E7:()=>J,Y4:()=>nt,TX:()=>K,Uz:()=>U,ml:()=>Z,XP:()=>I});var n=r(34727),s=r(34275),i=r(37585),u=r(48163),o=r(78955),f=r(91829),c=r(20498);class a{static{this.ElementCount=9}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=9;const i=this.TypedArrayConstructor;void 0===n&&(n=9*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;for(let t=0;t<9;++t)n[i++]=s[u++]}get buffer(){return this.typedBuffer.buffer}}class l{static{this.ElementCount=16}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=16;const i=this.TypedArrayConstructor;void 0===n&&(n=16*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){this.copyFromTypedBuffer(t,e.typedBuffer,r*e.typedBufferStride)}copyFromTypedBuffer(t,e,r){const n=this.typedBuffer;let s=t*this.typedBufferStride;for(let t=0;t<16;++t)n[s++]=e[r++]}get buffer(){return this.typedBuffer.buffer}}class h{static{this.ElementCount=1}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=1;const i=this.TypedArrayConstructor;void 0===n&&(n=i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.stride=n,this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=2}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=2;const i=this.TypedArrayConstructor;void 0===n&&(n=2*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,i.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var y=r(35522);class d{static{this.ElementCount=3}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=3;const i=this.TypedArrayConstructor;void 0===n&&(n=3*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,y.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t]=n}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}class m{static{this.ElementCount=4}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=4;const i=this.TypedArrayConstructor;void 0===n&&(n=4*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,o.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t++]=n,this.typedBuffer[t]=s}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var B=r(620);class M extends h{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}static{this.ElementType="f16"}}class T extends h{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}static{this.ElementType="f32"}}class E extends p{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f16"}}class g extends p{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(g,t,e)}static{this.ElementType="f32"}}class b extends d{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class S extends d{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static fromTypedArray(t,e){return new S(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class A extends m{constructor(t,e=0,r,n){(0,B.vA)(c.SX),super((0,c.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f16"}}class x extends m{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f32"}}class v extends a{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f32"}}class _ extends a{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class w extends l{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="f32"}}class R extends l{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="f64"}}class C extends h{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class N extends p{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="f64"}}class F extends d{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(F,t,e)}static fromTypedArray(t,e){return new F(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class L extends m{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="f64"}}class q extends h{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u8"}}class P extends p{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="u8"}}class V extends d{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(V,t,e)}static fromTypedArray(t,e){return new V(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class I extends m{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u8"}}class O extends h{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u16"}}class Y extends p{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u16"}}class X extends d{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u16"}}class U extends m{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u16"}}class j extends h{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u32"}}class k extends p{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u32"}}class z extends d{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u32"}}class Z extends m{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="u32"}}class D extends h{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class $ extends p{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class G extends d{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i8"}}class K extends m{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i8"}}class Q extends h{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class W extends p{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i16"}}class H extends d{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class J extends m{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class tt extends h{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends p{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class rt extends d{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(rt,t,e)}static{this.ElementType="i32"}}class nt extends m{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(nt,t,e)}static{this.ElementType="i32"}}class st extends q{constructor(t,e=0,r,n){super(t,e,r,n)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,n.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(st,t,e)}}class it extends I{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,o.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,o.jk)(ct,(0,o.T9)(ct,e,f.uY),f.Un),(0,o.hs)(ct,ct,255),(0,o.LI)(ct,ct),super.setVec(t,ct)}get(t,e){return super.get(t,e)/255}set(t,e,r){super.set(t,e,Math.round(255*(0,n.qE)(r,0,1)))}setValues(t,e,r,n,s){(0,o.hZ)(ct,e,r,n,s),this.setVec(t,ct)}slice(t,e){return this.sliceBuffer(it,t,e)}}class ut extends Q{constructor(t,e=0,r,n){super(t,e,r,n)}get(t){return Math.max(super.get(t)/s.he,-1)}set(t,e){super.set(t,Math.round((0,n.qE)(e,-1,1)*s.he))}slice(t,e){return this.sliceBuffer(ut,t,e)}}class ot extends W{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,i.hZ)(ft,-1,-1),(0,i.T9)(e,(0,i.hs)(e,super.getVec(t,e),1/s.he),ft)}setVec(t,e){(0,i.qE)(ft,e,u.IA,u.Un),(0,i.hs)(ft,ft,s.he),(0,i.LI)(ft,ft),super.setVec(t,ft)}get(t,e){return Math.max(super.get(t,e)/s.he,-1)}set(t,e,r){super.set(t,e,Math.round((0,n.qE)(r,-1,1)*s.he))}setValues(t,e,r){(0,i.hZ)(ft,e,r),this.setVec(t,ft)}slice(t,e){return this.sliceBuffer(ot,t,e)}}const ft=(0,u.vt)(),ct=(0,f.vt)()},20498(t,e,r){r.d(e,{Bg:()=>s,SX:()=>u,pX:()=>i});let n=globalThis.Float16Array;function s(...t){return new(n??Float32Array)(...t)}function i(){return n}let u=!!n},74594(t,e,r){r.d(e,{projectMeshVertexPositions:()=>o});var n=r(9762),s=r(95696),i=r(21325),u=r(72258);function o(t,e){const r=(0,u.UR)(t,s.A.absolute);if(!r)return null;let o=r.position;return(0,i.aI)(t.spatialReference,e)||(o=new Float64Array(r.position.length),(0,n.projectBuffer)(r.position,t.spatialReference,0,o,e,0))?o:null}},22141(t,e,r){r.d(e,{$5:()=>S,CN:()=>T,JP:()=>M,KM:()=>x,Mv:()=>_,X4:()=>E,gr:()=>b,qs:()=>A,si:()=>g,xA:()=>v});var n=r(34727),s=r(77690),i=r(29242),u=r(58083),o=r(9093),f=r(35522),c=r(51850),a=r(73941),l=r(48353),h=r(9762),p=(r(79258),r(21325)),y=r(28735),d=r(13030),m=r(73354),B=r(50867);const M="Projection may be possible after calling projection.load().";function T(t,e,r,n){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${r.wkid}).${n?" ":""}${n}`)}function E(t,e,r,n,s,i){return R(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i))?i:null}function g(t,e,r,n,s,i){return R(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i))?i:null}function b(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function S(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function A(t,e,r){return(0,s.Ge)(L,r),(0,m.t)(e,t,L),(0,n.or)(L)&&(0,m.n)(e,e),e}function x(t,e,r){return(0,s.z0)(L,r),(0,B.t)(e,t,L),(0,n.or)(L)&&(0,m.n)(e,e,4),e}function v(t,e,r,n,s,i){if(!R(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function _(t,e,r,n,s,i){if(!R(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i,16)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function w(t,e,r,n,i){switch((0,l.l)(n,r,F,n),1===t&&(0,u.B8)(F,F),e){case 0:return(0,s.Ge)(i,F);case 1:return(0,s.z0)(i,F)}}function R(t,e,r,n,s,i,u,o){if(!e)return;const c=n.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,a.q8)(t)||(0,a.KQ)(t)}(s))for(let n=0;n<c;n++)i.getVec(n,C),e.getVec(n,N),(0,f.ei)(N,N,w(t,r,C,u,L)),o.setVec(n,N);else for(let s=0;s<c;s++){i.getVec(s,C),e.getVec(s,N);const c=(0,y.jg)(n.get(s,1));let a=Math.cos(c);1===r!=(0===t)&&(a=1/a),w(t,r,C,u,L),0===t?(L[0]*=a,L[1]*=a,L[2]*=a,L[3]*=a,L[4]*=a,L[5]*=a):(L[0]*=a,L[3]*=a,L[6]*=a,L[1]*=a,L[4]*=a,L[7]*=a),(0,f.ei)(N,N,L),(0,f.S8)(N,N),o.setVec(s,N)}return o}const C=(0,c.vt)(),N=(0,c.vt)(),F=(0,o.vt)(),L=(0,i.vt)()},72258(t,e,r){r.d(e,{UR:()=>g,p5:()=>E,xK:()=>_});var n=r(53966),s=r(34727),i=r(86211),u=r(77690),o=r(29242),f=r(58083),c=r(9093),a=r(35522),l=r(51850),h=r(73941),p=r(98764),y=r(48353),d=r(65806),m=r(27615),B=r(73354),M=r(22141);const T=()=>n.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function E(t,e,{vertexSpace:r,spatialReference:n}){if("georeferenced"===r.type){const s=t;if(!(0,d.g)(e,s,n))return!1;const{origin:i}=r;return(0,a.Re)(t,s,i),!0}const s=(0,p.lO)(n),i=t;if(!(0,d.g)(e,i,s))return!1;const{origin:u}=r,o=F;if(!(0,y.l)(n,u,o,s))return!1;const c=(0,f.B8)(F,o);return null!=c&&((0,a.Z0)(t,i,c),!0)}function g(t,e,r){const{vertexSpace:n,transform:s,vertexAttributes:i}=t,o=(0,m.Hq)(n)?s:null,l=x(t.spatialReference,r,3);if((0,m.yJ)(n,e)&&(!o||(0,f.t2)(o.localMatrix,c.zK))&&v(l)){const{position:t,normal:e,tangent:n}=i,s=r?.allowBufferReuse;return{position:s?t:t.slice(),normal:s?e:e?.slice(),tangent:s?n:n?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},s,i){const u=b(e,i);if(!(0,y.l)(e,n,w,u))return(0,M.CN)(T(),e,u),null;if(r&&(0,f.lw)(w,w,r.localMatrix),!(0,y.l)(e,s,R,u))return(0,M.CN)(T(),u,e),null;(0,f.B8)(R,R);const o=(0,f.lw)(w,R,w);return A(o,e,i,3),S(t,o)}(t,t.vertexSpace,e.origin,r):function({spatialReference:t,vertexAttributes:e,transform:r},{origin:n},s,i){const u=b(t,i);if(!(0,y.l)(t,n,w,u))return(0,M.CN)(T(),t,u),null;r&&(0,f.lw)(w,w,r.localMatrix),A(w,t,i,1);const o=new Float64Array(e.position.length),c=function(t,e,r,n,s){(0,B.f)(n,t,e);const i=new Float64Array(t.length);return(0,M.$5)(n,s,i,r)?i:((0,M.CN)(T(),s,r),null)}(e.position,w,t,o,u);if(!c)return null;const l=function(t,e,r,n,s,i){if(null==s)return null;const u=new Float32Array(s.length);return(0,M.qs)(s,u,i),(0,M.si)(u,t,e,r,n,u)?u:((0,M.CN)(T(),n,e),null)}(c,t,o,u,e.normal,w);if(e.normal&&!l)return null;const h=function(t,e,r,n,s,i){if(null==s)return null;const u=new Float32Array(s.length);return(0,M.KM)(s,u,i),(0,M.Mv)(u,t,e,r,n,u)?u:((0,M.CN)(T(),n,e),null)}(c,t,o,u,e.tangent,w);if(e.tangent&&!h)return null;if(s){const t=(0,a.ze)(N,s);(0,B.h)(c,c,t)}return{position:c,normal:l,tangent:h}}(t,t.vertexSpace,e.origin,r);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},s,i){const o=b(e,i);if(!(0,y.l)(e,s,w,o))return(0,M.CN)(T(),e,o),null;const c=1/x(e,i,2);(0,f.hs)(w,w,[c,c,c]);const a=(0,f.B8)(R,w),{position:l,normal:h,tangent:p}=function(t,e,r){if(!e)return t;if(!r){const{position:r,normal:n,tangent:s}=t;return{position:(0,B.h)(new Float64Array(r.length),r,e),tangent:s,normal:n}}const n=S(t,r.localMatrix);return(0,B.h)(n.position,n.position,e),n}(t,n,r),d=new Float64Array(l.length),m=function(t,e,r,n,s){const i=(0,M.gr)(t,e,n,s);if(!i)return(0,M.CN)(T(),e,s),null;const u=new Float64Array(i.length);return(0,B.f)(u,i,r),u}(l,e,a,d,o);if(!m)return null;const E=(0,u.Ge)(C,a),g=function(t,e,r,n,s,i,u){if(null==t)return null;const o=u??new Float32Array(t.length);return(0,M.X4)(t,e,r,n,s,o)?((0,B.t)(o,o,i),o):((0,M.CN)(T(),r,s),null)}(h,l,e,d,o,E,h!==t.normal?h:void 0);if(!g&&h)return null;const A=function(t,e,r,n,s,i,u){if(null==t)return null;const o=u??new Float32Array(t.length);return(0,M.xA)(t,e,r,n,s,o)?((0,B.t)(o,o,i,4),o):((0,M.CN)(T(),r,s),null)}(p,l,e,d,o,E,p!==t.tangent?p:void 0);return!A&&p?null:{position:m,normal:g,tangent:A}}(t,t.vertexSpace,e.origin,r):function({vertexAttributes:t,transform:e,spatialReference:r},{origin:n},s,i){const u=x(r,i,3),o=n||!v(u)?(0,f.C)(w,e?.localMatrix??c.zK):null;o&&A(o,r,i,3);const{position:l,normal:h,tangent:p}=o?S(t,o):t,y=i?.allowBufferReuse,d=y?l:new Float64Array(l.length);let m=l;if(n&&(m=(0,B.h)(d,m,n)),s){const t=(0,a.ze)(N,s);m=(0,B.h)(d,m,t)}return{position:m!==t.position||y?m:m.slice(),normal:h!==t.normal||y?h:h?.slice(),tangent:p!==t.tangent||y?p:p?.slice()}}(t,t.vertexSpace,e.origin,r)}}function b(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function S(t,e){const r=new Float64Array(t.position.length);(0,B.f)(r,t.position,e);const n=t.normal?new Float32Array(t.normal.length):null,s=t.tangent?new Float32Array(t.tangent.length):null;return n&&t.normal&&(0,M.qs)(t.normal,n,e),s&&t.tangent&&(0,M.KM)(t.tangent,s,e),{position:r,normal:n,tangent:s}}function A(t,e,r,n){const s=x(e,r,n);v(s)||(0,f.hs)(t,t,[s,s,s])}function x(t,e,r){const n=!!(1&r),s=!!(2&r),i=e?.sourceUnit,u=e?.targetUnit;if(!i&&!u)return 1;let o=_(i,t);n||!i||v(o)||(T().warn("source unit conversion not supported"),o=1);let f=1/_(u,t);return s||!u||v(f)||(T().warn("target unit conversion not supported"),f=1),o*f}function v(t){return(0,s.Io)(t,1)}function _(t,e){if(null==t)return 1;const r=(0,i.KX)(e);return 1/(0,i.oU)(r,"meters",t)}const w=(0,c.vt)(),R=(0,c.vt)(),C=(0,o.vt)(),N=(0,l.vt)(),F=(0,c.vt)()},27615(t,e,r){r.d(e,{CK:()=>f,Hq:()=>o,MW:()=>c,TE:()=>a,yJ:()=>l});var n=r(35522),s=r(86738),i=r(95696),u=r(18251);function o(t){return null!=t.origin}function f(t){return o(t.vertexSpace)}function c(t,e){if(!o(t))return null;const[r,n,i]=t.origin;return new s.A({x:r,y:n,z:i,spatialReference:e})}function a(t,e){const{x:r,y:n,z:s,spatialReference:o}=t,f=[r,n,s??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(o))?new u.default({origin:f}):new i.A({origin:f})}function l(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,n.t2)(t.origin,e.origin))}},620(t,e,r){r.d(e,{L:()=>f,MX:()=>u,O_:()=>o,kL:()=>c,vA:()=>i,zH:()=>a});var n=r(48163);r(78955),(0,r(91829).vt)();class s{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new s(`${e} at ${t}`)}}function u(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function o(t,e,r,n){let s,i=(r[0]-t[0])/e[0],u=(n[0]-t[0])/e[0];i>u&&(s=i,i=u,u=s);let o=(r[1]-t[1])/e[1],f=(n[1]-t[1])/e[1];if(o>f&&(s=o,o=f,f=s),i>f||o>u)return!1;o>i&&(i=o),f<u&&(u=f);let c=(r[2]-t[2])/e[2],a=(n[2]-t[2])/e[2];return c>a&&(s=c,c=a,a=s),!(i>a||c>u||(a<u&&(u=a),u<0))}function f(t,e,r,s,i,u=(0,n.vt)()){const o=(s[i]-r[i])*(e[0]-t[0])-(s[0]-r[0])*(e[i]-t[i]),f=(s[0]-r[0])*(t[i]-r[i])-(s[i]-r[i])*(t[0]-r[0]);if(0===o)return!1;const c=f/o;return u[0]=t[0]+c*(e[0]-t[0]),u[1]=t[i]+c*(e[i]-t[i]),!0}function c(t,e){return Math.log(t)/Math.log(e)}function a(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4079],{68197(e,t,r){r.d(t,{A:()=>u});var n=r(40876),i=r(4576),o=r(34727),s=r(56507);function a(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function l(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,n=new u){return n.r=Math.round(e.r+(t.r-e.r)*r),n.g=Math.round(e.g+(t.g-e.g)*r),n.b=Math.round(e.b+(t.b-e.b)*r),n.a=e.a+(t.a-e.a)*r,n._sanitize()}static fromRgb(e,t){const r=(0,n.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,n.oW)(e);return r?u.fromArray(r,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,n.Eq)(e);return r?u.fromArray(r,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,n=3===r||4===r,i=4===r||8===r,o=`#${l(this.r,n)}${l(this.g,n)}${l(this.b,n)}${i?l(Math.round(255*this.a),n):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),r=a(this.g),n=a(this.b);return 0===e||1!==this.a?[t,r,n,a(255*this.a)]:[t,r,n]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(e,t,r,n){this.r=e,this.g=t,this.b=r,this.a=n}}u.prototype.declaredClass="esri.Color"},52106(e,t,r){r.d(t,{A:()=>x});var n,i,o=r(5482),s=r(37838),a=r(69540),l=r(51447),u=r(25482),c=r(53966),p=r(36708),d=r(24326),f=r(91429),h=r(12195),y=r(65864),m=r(50498),g=r(55156),v=r(60950),w=r(54339),b=r(94128),M=r(33910);function I(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let x=class extends((0,a.OU)(u.o)){static{n=b.Z}static{i=this}constructor(e){super(e),this[n]=!0,this.distance=null,this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this.statisticsAggregatedIds=void 0,this._version=0,Object.defineProperty(this,"uid",{value:(0,d.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(c.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,statisticsAggregatedIds:this.statisticsAggregatedIds,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,v.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const r=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[r,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,g.I)(this.origin);if(e)return(0,w.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,w.r)(this,t):null}getGlobalId(){const e=(0,g.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){const e={aggregateGeometries:I(this.aggregateGeometries),geometry:this.geometry?.toJSON()??null,symbol:this.symbol?.toJSON()??null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null};return this.statisticsAggregatedIds?.length&&(e.aggregateIds=[...this.statisticsAggregatedIds]),null!=this.distance&&(e.distance=this.distance),e}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,o.Cg)([(0,f.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,y.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],x.prototype,"aggregateGeometries",null),(0,o.Cg)([(0,f.MZ)({value:null})],x.prototype,"attributes",null),(0,o.Cg)([(0,f.MZ)({value:null,types:m.yR,json:{read:y.rS}})],x.prototype,"geometry",null),(0,o.Cg)([(0,f.MZ)()],x.prototype,"distance",void 0),(0,o.Cg)([(0,f.MZ)({type:Boolean})],x.prototype,"isAggregate",void 0),(0,o.Cg)([(0,f.MZ)({clonable:!1})],x.prototype,"layer",void 0),(0,o.Cg)([(0,f.MZ)({clonable:"reference"})],x.prototype,"origin",void 0),(0,o.Cg)([(0,f.MZ)({type:s.A,value:null})],x.prototype,"popupTemplate",null),(0,o.Cg)([(0,f.MZ)({clonable:"reference"})],x.prototype,"sourceLayer",void 0),(0,o.Cg)([(0,f.MZ)({json:{name:"aggregateIds",read:e=>e?.map(e=>Array.isArray(e)?JSON.stringify(e):e)}})],x.prototype,"statisticsAggregatedIds",void 0),(0,o.Cg)([(0,f.MZ)({value:null,types:M.Es})],x.prototype,"symbol",null),(0,o.Cg)([(0,f.MZ)({clonable:!1,json:{read:!1,write:!1}})],x.prototype,"_version",void 0),(0,o.Cg)([(0,f.MZ)({type:Boolean,value:!0})],x.prototype,"visible",null),x=i=(0,o.Cg)([(0,f.$K)("esri.Graphic")],x)},40876(e,t,r){r.d(t,{Eq:()=>f,G1:()=>y,TS:()=>o,Tf:()=>v,V6:()=>i,Vm:()=>h,ay:()=>l,c1:()=>m,c4:()=>s,j5:()=>u,lT:()=>p,oW:()=>c,xV:()=>b});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!n[e]||!!n[e.toLowerCase()]}function o(e){return n[e]??n[e.toLowerCase()]}function s(e){return[...o(e)]}function a(e,t,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?e+(t-e)*n:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,n=1){const i=(e%360+360)%360/360,o=r<=.5?r*(t+1):r+t-r*t,s=2*r-o;return[Math.round(255*a(s,o,i+1/3)),Math.round(255*a(s,o,i)),Math.round(255*a(s,o,i-1/3)),n]}function u(e){const t=e.length>5,r=t?8:4,n=(1<<r)-1,i=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return o&&(l=s&n,s>>=r,a[3]=i*l/255),l=s&n,s>>=r,a[2]=i*l,l=s&n,s>>=r,a[1]=i*l,l=s&n,s>>=r,a[0]=i*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),n=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function p(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?y(e[3]):1,e}function f(e){let t=i(e)?o(e):null;return t??=p(e),t??=c(e),t}function h(e){const t=f(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function y(e){return g(e,0,1)}function m(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const v=2.2,w=1/v;function b(e){return e**w}},46140(e,t,r){r.d(t,{A:()=>i});var n=r(49186);class i{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new i(this.major,this.minor,this._context)}static parse(e,t=""){const[r,o]=e.split("."),s=/^\s*\d+\s*$/;if(!r?.match||!s.test(r))throw new n.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!o?.match||!s.test(o))throw new n.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const a=parseInt(r,10),l=parseInt(o,10);return new i(a,l,t)}}},6797(e,t,r){r.d(t,{Ui:()=>d});var n=r(69622),i=r(7762),o=r(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof n.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=l(e),i=l(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),f=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(o,d).sort(),h=c(e);if(h&&s.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=a(e)&&a(t);for(const n of f){const i=u(e,n),o=u(t,n);let s;if((m||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(r&&r[n]&&"function"==typeof r[n])s=r[n]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=y?y.diff[n]=s:y={type:"partial",diff:{[n]:s}})}}return y}function d(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:n,fromValues:function(e,t,r,n,i,o,s,a,l,u,c,p,d,f,h,y){return[e,t,r,n,i,o,s,a,l,u,c,p,d,f,h,y]}},Symbol.toStringTag,{value:"Module"}))},35522(e,t,r){r.d(t,{$A:()=>A,Bw:()=>o,C:()=>s,Cc:()=>T,DI:()=>I,Il:()=>G,Io:()=>v,Ln:()=>g,Om:()=>C,Qr:()=>p,Re:()=>u,S8:()=>x,T9:()=>y,WQ:()=>l,Z0:()=>S,_S:()=>f,aI:()=>Z,ei:()=>_,fw:()=>O,g7:()=>j,gL:()=>F,hG:()=>w,hZ:()=>a,hs:()=>m,jb:()=>k,jk:()=>h,lo:()=>$,lw:()=>c,m3:()=>b,oW:()=>N,t2:()=>R,tn:()=>d,uE:()=>z,xg:()=>L,ze:()=>M});var n=r(51850),i=r(34304);function o(e){const t=e[0],r=e[1],n=e[2];return Math.sqrt(t*t+r*r+n*n)}function s(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e}function l(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function p(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function h(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function y(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function m(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function g(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e}function v(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}function w(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return r*r+n*n+i*i}function b(e){const t=e[0],r=e[1],n=e[2];return t*t+r*r+n*n}function M(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function I(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function x(e,t){const r=t[0],n=t[1],i=t[2];let o=r*r+n*n+i*i;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}function C(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function A(e,t,r){const n=t[0],i=t[1],o=t[2],s=r[0],a=r[1],l=r[2];return e[0]=i*l-o*a,e[1]=o*s-n*l,e[2]=n*a-i*s,e}function T(e,t,r,n){const i=t[0],o=t[1],s=t[2];return e[0]=i+n*(r[0]-i),e[1]=o+n*(r[1]-o),e[2]=s+n*(r[2]-s),e}function S(e,t,r){const n=t[0],i=t[1],o=t[2];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12],e[1]=r[1]*n+r[5]*i+r[9]*o+r[13],e[2]=r[2]*n+r[6]*i+r[10]*o+r[14],e}function _(e,t,r){const n=t[0],i=t[1],o=t[2];return e[0]=n*r[0]+i*r[3]+o*r[6],e[1]=n*r[1]+i*r[4]+o*r[7],e[2]=n*r[2]+i*r[5]+o*r[8],e}function F(e,t,r){return O(e,t,r[0],r[1],r[2],r[3])}function O(e,t,r,n,i,o){const s=t[0],a=t[1],l=t[2],u=n*l-i*a,c=i*s-r*l,p=r*a-n*s,d=n*p-i*c,f=i*u-r*p,h=r*c-n*u,y=2*o;return e[0]=s+u*y+2*d,e[1]=a+c*y+2*f,e[2]=l+p*y+2*h,e}function j(e,t){x(P,e),x(E,t);const r=C(P,E);return r>1?0:r<-1?Math.PI:Math.acos(r)}const P=(0,n.vt)(),E=(0,n.vt)();function R(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function Z(e,t){if(e===t)return!0;const r=e[0],n=e[1],o=e[2],s=t[0],a=t[1],l=t[2],u=(0,i.FD)();return Math.abs(r-s)<=u*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(o-l)<=u*Math.max(1,Math.abs(o),Math.abs(l))}function N(e,t,r){const n=r[0]-t[0],i=r[1]-t[1],o=r[2]-t[2];let s=n*n+i*i+o*o;return s>0?(s=1/Math.sqrt(s),e[0]=n*s,e[1]=i*s,e[2]=o*s,e):(e[0]=0,e[1]=0,e[2]=0,e)}const k=u,D=c,q=p,L=v,$=w,G=o,z=b;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:j,bezier:function(e,t,r,n,i,o){const s=1-o,a=s*s,l=o*o,u=a*s,c=3*o*a,p=3*l*s,d=l*o;return e[0]=t[0]*u+r[0]*c+n[0]*p+i[0]*d,e[1]=t[1]*u+r[1]*c+n[1]*p+i[1]*d,e[2]=t[2]*u+r[2]*c+n[2]*p+i[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:s,cross:A,crossAndNormalize:function(e,t,r){const n=t[0],i=t[1],o=t[2],s=r[0],a=r[1],l=r[2],u=i*l-o*a,c=o*s-n*l,p=n*a-i*s,d=Math.sqrt(u*u+c*c+p*p);return e[0]=u/d,e[1]=c/d,e[2]=p/d,e},direction:N,dist:L,distance:v,div:q,divide:p,dot:C,equals:Z,exactEquals:R,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,n,i,o){const s=o*o,a=s*(2*o-3)+1,l=s*(o-2)+o,u=s*(o-1),c=s*(3-2*o);return e[0]=t[0]*a+r[0]*l+n[0]*u+i[0]*c,e[1]=t[1]*a+r[1]*l+n[1]*u+i[1]*c,e[2]=t[2]*a+r[2]*l+n[2]*u+i[2]*c,e},inverse:I,len:G,length:o,lerp:T,max:y,min:h,mul:D,multiply:c,negate:M,normalize:x,random:function(e,t=1){const r=i.Ov,n=2*r()*Math.PI,o=2*r()-1,s=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(n)*s,e[1]=Math.sin(n)*s,e[2]=o*t,e},rotateX:function(e,t,r,n){const i=[],o=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],o[0]=i[0],o[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),o[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateY:function(e,t,r,n){const i=[],o=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],o[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),o[1]=i[1],o[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},rotateZ:function(e,t,r,n){const i=[],o=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],o[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),o[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),o[2]=i[2],e[0]=o[0]+r[0],e[1]=o[1]+r[1],e[2]=o[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:g,set:a,sign:f,sqrDist:$,sqrLen:z,squaredDistance:w,squaredLength:b,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:k,subtract:u,transformMat3:_,transformMat4:S,transformQuat:F,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},90629(e,t,r){r.d(t,{Lz:()=>i,PN:()=>o,cr:()=>s,gs:()=>l,r_:()=>u,tc:()=>a}),r(39829);const n=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(e){return e?e/72*96:0}function o(e){return e?72*e/96:0}function s(e){if("string"==typeof e){const t=e.match(n);if(t){const r=Number(t[1]),n=t[3]&&t[3].toLowerCase(),i=e.startsWith("-"),s="px"===n?o(r):r;return i?-s:s}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function a(e=0,t=0){return{x:e,y:t}}function l(e=0,t=0){return[e,t]}function u(e=0,t=0,r=0){return[e,t,r]}},13069(e,t,r){r.d(t,{AG:()=>a,lk:()=>i,vD:()=>s,yS:()=>o});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},83027(e,t,r){r.d(t,{h:()=>n});const n=r(29953).ho},159(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),o=r(69540),s=r(25482),a=r(91429),l=r(99157);let u=n=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=n=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>l});var n,i=r(5482),o=r(69540),s=r(25482),a=r(91429);let l=n=class extends((0,o.OU)(s.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,a.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=n=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(49208);function i(e,t,r,i,o,s,a=Math.floor(e.length/3)){const l=(0,n.jd)(t,o);if(null==l)return!1;if(l===n.pO){if(e===i&&r===s)return!0;const t=r+3*a;for(let n=r,o=s;n<t;n++,o++)i[o]=e[n]??0;return!0}const u=r+3*a;for(let t=r,n=s;t<u;t+=3,n+=3)l(e,t,i,n);return!0}},49208(e,t,r){r.d(t,{Tp:()=>p,jd:()=>c,pO:()=>f,w5:()=>u});var n=r(34727),i=r(86211),o=r(73941),s=r(79258),a=r(34403),l=r(21325);const u={2:{5:f,7:null,9:null,10:f,1:M,6:null,8:null,0:null,3:y,11:m,2:f,4:T},5:{5:f,7:null,9:null,10:f,1:M,6:null,8:null,0:null,3:y,11:m,2:f,4:T},7:{5:null,7:f,9:null,10:f,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,t,r,n){const i=e[t]/P,o=j-2*Math.atan(Math.exp(-e[t+1]/P)),s=P+(e[t+2]??0),a=Math.cos(o)*s;r[n]=Math.cos(i)*a,r[n+1]=Math.sin(i)*a,r[n+2]=Math.sin(o)*s},6:null,8:null,0:null,3:f,11:function(e,t,r,n){h(e,t,r,n),m(r,n,r,n)},2:h,4:function(e,t,r,n){h(e,t,r,n),T(r,n,r,n)}},4:{5:S,7:null,9:null,10:S,1:function(e,t,r,n){S(e,t,r,n),M(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){S(e,t,r,n),y(r,n,r,n)},11:function(e,t,r,n){S(e,t,r,n),m(r,n,r,n)},2:S,4:f},1:{5:A,7:null,9:null,10:A,1:f,6:null,8:null,0:null,3:function(e,t,r,n){A(e,t,r,n),y(r,n,r,n)},11:function(e,t,r,n){A(e,t,r,n),m(r,n,r,n)},2:A,4:function(e,t,r,n){A(e,t,r,n),T(r,n,r,n)}},6:{5:null,7:C,9:null,10:C,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:x,10:x,1:null,6:null,8:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:M,6:b,8:w,0:null,3:y,11:m,2:f,4:T},11:{5:g,7:null,9:null,10:g,1:function(e,t,r,n){g(e,t,r,n),M(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){g(e,t,r,n),y(r,n,r,n)},11:f,2:g,4:function(e,t,r,n){g(e,t,r,n),T(r,n,r,n)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(_.source.spatialReference===e&&_.dest.spatialReference===t)return _;const r=d(e,_.source),n=d(t,_.dest);return 0===r&&0===n?(0,l.aI)(e,t)?_.projector=f:_.projector=null:_.projector=u[r][n],_}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,o.q8)(e)?t.spatialReferenceId=7:(0,o.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function f(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function h(e,t,r,n){r[n]=O*(e[t]/P),r[n+1]=O*(j-2*Math.atan(Math.exp(-e[t+1]/P))),r[n+2]=e[t+2]??0}function y(e,t,r,i){!function(e,t,r,i,o){const s=.4999999*Math.PI,a=(0,n.qE)(F*e[t+1],-s,s),l=Math.sin(a);r[i++]=F*e[t]*o.radius,r[i++]=o.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[i]=e[t+2]??0}(e,t,r,i,s.$O)}function m(e,t,r,n){r[n]=e[t]*E,r[n+1]=e[t+1]*E,r[n+2]=e[t+2]??0}function g(e,t,r,n){r[n]=e[t]*R,r[n+1]=e[t+1]*R,r[n+2]=e[t+2]??0}function v(e,t,r,n,i){const o=i+(e[t+2]??0),s=F*e[t],a=F*e[t+1],l=Math.cos(a)*o;r[n]=Math.cos(s)*l,r[n+1]=Math.sin(s)*l,r[n+2]=Math.sin(a)*o}function w(e,t,r,n){v(e,t,r,n,s.Sw.radius)}function b(e,t,r,n){v(e,t,r,n,s.sH.radius)}function M(e,t,r,n){v(e,t,r,n,s.$O.radius)}function I(e,t,r,i,o){const s=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,n.YN)(l/(0===u?1:u)),p=Math.atan2(a,s);r[i++]=O*p,r[i++]=O*c,r[i]=u-o}function x(e,t,r,n){I(e,t,r,n,s.Sw.radius)}function C(e,t,r,n){I(e,t,r,n,s.sH.radius)}function A(e,t,r,n){I(e,t,r,n,s.$O.radius)}function T(e,t,r,n){!function(e,t,r,n,i){const o=F*e[t],s=F*e[t+1],a=e[t+2]??0,l=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);r[n++]=(c+a)*u*Math.cos(o),r[n++]=(c+a)*u*Math.sin(o),r[n++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,r,n,s.$O)}function S(e,t,r,n){const i=a.TP,o=e[t],l=e[t+1],u=e[t+2]??0;let c,p,d,f,h,y,m,g,v,w,b,M,I,x,C,A,T,S,_,F,j;c=Math.abs(u),p=o*o+l*l,d=Math.sqrt(p),f=p+u*u,h=Math.sqrt(f),F=Math.atan2(l,o),y=u*u/f,m=p/f,x=i.a2/h,C=i.a3-i.a4/h,m>.3?(g=c/h*(1+m*(i.a1+x+y*C)/h),_=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=d/h*(1-y*(i.a5-x-m*C)/h),_=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),b=1-s.$O.eccentricitySquared*w,M=s.$O.radius/Math.sqrt(b),I=i.a6*M,x=d-M*v,C=c-I*g,T=v*x+g*C,A=v*C-g*x,S=A/(I/b+T),_+=S,j=T+A*S/2,u<0&&(_=-_),r[n++]=O*F,r[n++]=O*_,r[n]=j}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},F=(0,n.kU)(1),O=(0,n.KJ)(1),j=.5*Math.PI,P=s.$O.radius,E=P*Math.PI/180,R=180/(P*Math.PI)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>J,initializeProjection:()=>K,isEqualBaseGCS:()=>B,isLoaded:()=>P,isLoadedOrLoad:()=>E,isLoadedOrLoadFor:()=>R,load:()=>N,project:()=>k,projectAsync:()=>V,projectExtent:()=>ie,projectMany:()=>D,projectMultipoint:()=>W,projectOrLoad:()=>L,projectOrLoadMany:()=>$,projectPoint:()=>Q,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>H,requiresLoad:()=>Z,test:()=>U,tryProject:()=>q,unload:()=>z});var n=r(49186),i=r(17676),o=r(62788),s=r(95488),a=r(51850),l=r(21276),u=r(73941),c=r(5443),p=r(91075),d=r(48526),f=r(86738),h=r(39829),y=r(82799),m=r(16930),g=r(98764),v=r(159),w=r(9762),b=r(49208);function M(e,t,r,n,i,o){return I[0]=e,I[1]=t,I[2]=r,(0,w.projectBuffer)(I,n,0,i,o,0)}const I=(0,a.vt)();var x=r(60408),C=r(21325),A=r(52006);let T=null,S=null,_=null,F=null,O={};const j=new s.I;function P(){return!!(S?.isLoaded()&&_?.isLoaded()&&F?.isLoaded())}function E(){return!!P()||((0,o.gc)(j),N(),!1)}function R(e,t){return!e||!t||J(e,t)||E()}function Z(e,t){return!J(e,t)&&!P()}async function N(e){null==T&&(T=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(S=e,S.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(_=e,_.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(F=e,F.load()))])),await T,(0,i.Te)(e),j.notify()}function k(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),D(e,e[0].spatialReference,t,r)):((0,l.f)(e),D([e],e.spatialReference,t,r)[0])}function D(e,t,r,n){if(null==t||null==r)return e;if(J(t,r,n))return e.map(e=>H(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return D(e.map(e=>H(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return D(e,t,m.A.WGS84).map(e=>H(e,m.A.WGS84,r));if(!P())throw new G;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:F.getTransformation(t,r,n.areaOfInterestExtent)||new v.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=O[e];i||(i=F.getTransformation(t,r)||new v.A,O[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?S.executeMany(e,r,n):_.executeMany(e,r,n)}function q(e,t,r){try{return k(e,t,r)}catch(e){return null}}function L(e,t){const r=$([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function $(e,t,r){if(!P())for(const r of e)if(null!=r&&!(0,C.aI)(r.spatialReference,t)&&(0,C.fn)(r.spatialReference)&&(0,C.fn)(t)&&!J(r.spatialReference,t))return(0,o.gc)(j),{pending:N(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,C.aI)(e.spatialReference,t)?e:(0,C.fn)(e.spatialReference)&&(0,C.fn)(t)?k(e,t,r):null)}}class G extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){T=null,S=null,_=null,F=null,O={}}const U={get loadPromise(){return T}};async function V(e,t,r){if((0,i.Te)(r),!e)return e;const n=$(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),V(e,t,r);const o=n.geometries??[];return Array.isArray(e)?o:o[0]}function J(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,C.aI)(e,t)||(0,C.fn)(e)&&(0,C.fn)(t)&&!!(0,b.jd)(e,t))}function B(e,t){if((0,C.aI)(e,t))return!0;if(!(0,C.fn)(e)||!(0,C.fn)(t))return!1;const r=(0,C.oT)(e)||(0,C.K8)(e)||(0,C.x1)(e),n=(0,C.oT)(t)||(0,C.K8)(t)||(0,C.x1)(t);return r&&n}async function K(e,t,r,n){if(P())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!J(t,r,i))return N(n)}else if(e&&t&&!J(e,t,r))return N(n);return(0,i.NO)(n)}function H(e,t,r){return e?(0,x.fT)(e)?Y(e,t,new f.A,r,0):(0,x.ZC)(e)?oe(e,t,new c.A,r,0):(0,x.Bi)(e)?ne(e,t,new h.A,r,0):(0,x.Rg)(e)?te(e,t,new y.A,r,0):(0,x.U9)(e)?X(e,t,new d.A,r,0):null:null}function Q(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,i){ue[0]=e.x,ue[1]=e.y;const o=e.z;return ue[2]=void 0!==o?o:i,(0,w.projectBuffer)(ue,t,0,ue,n,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=n,void 0!==o||(0,u.xP)(n)?(r.z=ue[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function W(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,n)}function X(e,t,r,n,i){const{points:o,hasZ:s,hasM:a}=e,l=[],u=o.length,c=[];for(const e of o)c.push(e[0],e[1],s?e[2]:i);if(!(0,w.projectBuffer)(c,t,0,c,n,0,u))return null;const p=le(s,n);for(let e=0;e<u;++e){const t=3*e,r=c[t],n=c[t+1];p&&a?l.push([r,n,c[t+2],o[e][3]]):p?l.push([r,n,c[t+2]]):a?l.push([r,n,o[e][2]]):l.push([r,n])}return r.points=l,r.spatialReference=n,r.hasZ=s,r.hasM=a,r}function ee(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,n)}function te(e,t,r,n,i){const{curvePaths:o,paths:s,hasZ:a,hasM:l}=e;if(!(o?ae(o,a??!1,l??!1,t,r.curvePaths=[],n,i):se(s,a??!1,l??!1,t,r.paths,n,i)))return null;const u=le(a,n);return r.spatialReference=n,r.hasZ=u,r.hasM=l,r}function re(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ne(e,e.spatialReference,t,r,n)}function ne(e,t,r,n,i){const{curveRings:o,rings:s,hasZ:a,hasM:l}=e;return(o?ae(o,a??!1,l??!1,t,r.curveRings=[],n,i):se(s,a??!1,l??!1,t,r.rings,n,i))?(r.spatialReference=n,r.hasZ=le(a,n),r.hasM=l,r):null}function ie(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=oe(e,e.spatialReference,t,r,n)}function oe(e,t,r,n,i){const{xmin:o,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!M(o,s,u?e.zmin:i,t,ue,n))return null;const p=le(u,n);return r.xmin=ue[0],r.ymin=ue[1],p&&(r.zmin=ue[2]),M(a,l,u?e.zmax:i,t,ue,n)?(r.xmax=ue[0],r.ymax=ue[1],p&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function se(e,t,r,n,i,o,s=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:s);if(!(0,w.projectBuffer)(a,n,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const n of t){const t=a.slice(l,l+=3);c||t.pop(),r&&t.push(n[u]),e.push(t)}i.push(e)}return!0}function ae(e,t,r,n,i,o,s=0){const a=new Array;for(const r of e)for(const e of r){if((0,A.FG)(e))return!1;if((0,A.aO)(e)){const[r,n]=e.c;a.push(r[0],r[1],t?r[2]:s,n[0],n[1],s);continue}if((0,A.n1)(e)){const[r,n,i]=e.b;a.push(r[0],r[1],t?r[2]:s,n[0],n[1],s,i[0],i[1],s);continue}const r=e;a.push(r[0],r[1],t?r[2]:s)}if(!(0,w.projectBuffer)(a,n,0,a,o,0))return!1;let l=0;i.length=0;const u=t?3:2,c=le(t,o);for(const t of e){const e=new Array;for(const n of t){const t=a.slice(l,l+=3);if(c||t.pop(),r&&t.push((0,A.yP)(n)[u]),(0,A.FG)(n))return!1;if((0,A.aO)(n)){const r=a[l++],n=a[l++];++l,e.push({c:[t,[r,n]]});continue}if((0,A.n1)(n)){const r=a[l++],n=a[l++];++l;const i=a[l++],o=a[l++];++l,e.push({b:[t,[r,n],[i,o]]});continue}e.push(t)}i.push(e)}return!0}function le(e,t){return e||(0,u.xP)(t)||(0,C.aI)(t,g.Y0)}const ue=(0,a.vt)()},98764(e,t,r){r.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var n=r(73941),i=r(16930),o=r(21325);const s=new i.A(n.fv),a=new i.A(n.FY),l=new i.A(n.LJ),u=new i.A(n.Ro);function c(e){const t=p.get(e);if(t)return t;let r=s;if(e)if(e===a)r=a;else if(e===l)r=l;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,o.tl)(t)||(0,o.tl)(n)?r=a:((0,o.ZL)(t)||(0,o.ZL)(n))&&(r=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?r=a:e===f&&(r=l)}}}return p.set(e,r),r}const p=new Map,d=a.wkt.toUpperCase(),f=l.wkt.toUpperCase()},4197(e,t,r){r.d(t,{Vj:()=>c,cj:()=>u,jh:()=>o,l5:()=>a,yH:()=>l});var n=r(34275),i=r(9093);function o(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e,t){if(0===t.length)return s(e);if(0===e.length)return s(t);const r=o(e.length+t.length);for(let t=0;t<e.length;++t)r[t]=e[t];for(let n=0;n<t.length;++n)r[e.length+n]=t[n];return r}function u(e){return[...e]}function c(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},70328(e,t,r){r.d(t,{BI:()=>w,DC:()=>p,Ej:()=>f,Ie:()=>g,Jt:()=>v,Ne:()=>h,RF:()=>c,aI:()=>M,fA:()=>s,gE:()=>l,hZ:()=>m,iT:()=>d,is:()=>b,qv:()=>I,vI:()=>y,vY:()=>a,v_:()=>x,vt:()=>o,w1:()=>u}),r(35522);var n=r(5443),i=(r(19419),r(4197));function o(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,n,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=s,a}function a(e,t=o()){return function(e,t,r,n=o()){return m(n,I),function(e,t,r=0,n=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[r,n,o,s,a,l]=e;return t[0]=r,t[1]=n,t[2]=o,t[3]=r,t[4]=n,t[5]=l,t[6]=r,t[7]=a,t[8]=o,t[9]=r,t[10]=a,t[11]=l,t[12]=s,t[13]=n,t[14]=o,t[15]=s,t[16]=n,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?m(e,I):o(I)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function M(e,t,r){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];o()},34403(e,t,r){r.d(t,{TP:()=>s});var n=r(79258);Math.PI;const i=n.$O.radius,o=n.$O.eccentricitySquared,s={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius},83960(e,t,r){r.d(t,{X_:()=>o,oW:()=>a,zx:()=>s});var n=r(34727),i=r(86211);function o(e,t){const r=t||e.extent,n=e.width,o=(0,i.GA)(r?.spatialReference);return r&&n?r.width/n*o*i.dy*96:0}function s(e,t,r){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,r)}function a(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},50498(e,t,r){r.d(t,{Ye:()=>p,gy:()=>c,iI:()=>f,yR:()=>d});var n=r(66552),i=r(5443),o=r(91075),s=r(48526),a=r(86738),l=r(39829),u=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:a.A,polyline:u.A,polygon:l.A}},f=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},55156(e,t,r){r.d(t,{I:()=>i,e:()=>n});const n=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&n in t?e[n]:void 0;var t}},68695(e,t,r){r.r(t),r.d(t,{default:()=>te});var n=r(5482),i=r(37838),o=r(49186),s=r(25728),a=r(17676),l=r(84952),u=r(91429),c=r(89317),p=r(16930),d=r(55156),f=r(60950),h=r(89808),y=r(99959);const m=Symbol("isCSVGraphicOrigin");var g;class v extends y.A{get[(g=m,f.ym)](){return this.layer}get[d.e](){return this.layer}get[h.Q](){return this.layer}constructor(e){super(),this[g]=!0,this.type="csv",this.layer=e}get id(){return this.layer.id}}var w=r(4146),b=r(44208),M=r(92474),I=r(83027),x=r(5443),C=r(22671);let A=class extends M.x_{constructor(e){super(e),this.type="csv",this.refresh=(0,a.sg)(async e=>{await this.load();const{extent:t,timeExtent:r}=await this._connection.invoke("refresh",e);return t&&(this.sourceJSON.extent=t),r&&(this.sourceJSON.timeInfo.timeExtent=[r.start,r.end]),{dataChanged:!0,updates:{extent:this.sourceJSON.extent,timeInfo:this.sourceJSON.timeInfo}}})}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._startWorker(t)),Promise.resolve(this)}destroy(){this._connection?.close(),this._connection=null}async openPorts(){return await this.load(),this._connection.openPorts()}async queryFeatures(e,t={}){await this.load(t);const r=await this._connection.invoke("queryFeatures",e?e.toJSON():null,t);return C.A.fromJSON(r)}async queryFeaturesJSON(e,t={}){return await this.load(t),this._connection.invoke("queryFeatures",e?e.toJSON():null,t)}async queryFeatureCount(e,t={}){return await this.load(t),this._connection.invoke("queryFeatureCount",e?e.toJSON():null,t)}async queryObjectIds(e,t={}){return await this.load(t),this._connection.invoke("queryObjectIds",e?e.toJSON():null,t)}async queryExtent(e,t={}){await this.load(t);const r=await this._connection.invoke("queryExtent",e?e.toJSON():null,t);return{count:r.count,extent:x.A.fromJSON(r.extent)}}async querySnapping(e,t={}){return await this.load(t),this._connection.invoke("querySnapping",e,t)}async queryAttributeBins(e,t={}){return await this.load(),this._connection.invoke("queryAttributeBins",e?e.toJSON():null,t)}async _startWorker(e){this._connection=await(0,I.h)("CSVSourceWorker",{strategy:(0,b.A)("feature-layers-workers")?"dedicated":"local",signal:e,registryTarget:this});const{url:t,delimiter:r,fields:n,latitudeField:i,longitudeField:o,spatialReference:s,timeInfo:a}=this.loadOptions,l=await this._connection.invoke("load",{url:t,customParameters:this.customParameters,parsingOptions:{delimiter:r,fields:n?.map(e=>e.toJSON()),latitudeField:i,longitudeField:o,spatialReference:s?.toJSON(),timeInfo:a?.toJSON()}},{signal:e});this.locationInfo=l.locationInfo,this.sourceJSON=l.layerDefinition,this.delimiter=l.delimiter}};(0,n.Cg)([(0,u.MZ)()],A.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"loadOptions",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"customParameters",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"locationInfo",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"sourceJSON",void 0),(0,n.Cg)([(0,u.MZ)()],A.prototype,"delimiter",void 0),A=(0,n.Cg)([(0,u.$K)("esri.layers.graphics.sources.CSVSource")],A);var T=r(64714),S=r(63074),_=r(69208),F=r(6455),O=r(87718),j=r(56658),P=r(34287),E=r(32756),R=r(8303),Z=r(54310),N=r(25036),k=r(82935),D=r(63396),q=r(10873),L=r(15426),$=r(20437),G=r(17036),z=r(30524),U=r(46499),V=r(39383),J=r(37352),B=r(96184),K=r(41214),H=r(97552),Q=r(30291),Y=r(56400),W=r(36005);const X=(0,G.p)();let ee=class extends((0,E.fY)((0,F.FJ)((0,_.d)((0,j.J)((0,O.F)((0,S.dM)((0,k.e)((0,D.d)((0,N.j)((0,Z.J)((0,P.q)((0,R.A)((0,s.M)(w.A)))))))))))))){constructor(e){super(e),this.attributeTableTemplate=null,this.capabilities=(0,T.f)(!1,!1),this.copyright=null,this.definitionExpression=null,this.delimiter=null,this.displayField=null,this.elevationInfo=null,this.fields=null,this.fieldsIndex=null,this.floorInfo=null,this.fullExtent=null,this.geometryType="point",this.graphicOrigin=new v(this),this.labelingInfo=null,this.labelsVisible=!0,this.latitudeField=null,this.legendEnabled=!0,this.locationType="coordinates",this.longitudeField=null,this.maxScale=0,this.minScale=0,this.objectIdField=null,this.opacity=1,this.operationalLayerType="CSV",this.outFields=null,this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new A,this.spatialReference=p.A.WGS84,this.timeInfo=null,this.type="csv"}load(e){const t=this.loadFromPortal({supportedTypes:["CSV"],supportsData:!1},e).catch(a.QP).then(()=>(this.source.loadOptions={delimiter:this.delimiter,fields:this.fields,latitudeField:this.latitudeField??void 0,longitudeField:this.longitudeField??void 0,spatialReference:this.spatialReference??void 0,timeInfo:this.timeInfo??void 0,url:this.url},this.source.customParameters=this.customParameters??void 0,this.source.load(e))).then(()=>{this.read({layerDefinition:this.source.sourceJSON,locationInfo:this.source.locationInfo,columnDelimiter:this.source.delimiter},{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}),(0,z.yp)(this.renderer,this.fieldsIndex),(0,z.sv)(this.timeInfo,this.fieldsIndex)});return this.addResolvingPromise(t),Promise.resolve(this)}destroy(){this.source?.destroy()}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("capabilities"),(this._get("createQueryVersion")||0)+1}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}readWebMapLabelsVisible(e,t){return t.showLabels??!!t.layerDefinition?.drawingInfo?.labelingInfo}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}set renderer(e){(0,z.yp)(e,this.fieldsIndex),this._set("renderer",e)}set url(e){if(!e)return void this._set("url",e);const t=(0,l.An)(e);this._set("url",t.path),t.query&&(this.customParameters={...this.customParameters,...t.query})}createPopupTemplate(e){return(0,Q.tn)(this,e)}createQuery(){const e=new H.A,t=this.capabilities?.data;e.returnGeometry=!0,t?.supportsZ&&(e.returnZ=!0),e.outFields=["*"],e.where=this.definitionExpression||"1=1";const{timeOffset:r,timeExtent:n}=this;return e.timeExtent=r&&n?n.offset(-r.value,r.unit):n??null,e}getFieldDomain(e,t){return this.getField(e)?.domain}getField(e){return this.fieldsIndex.get(e)}async queryAttributeBins(e,t){const{source:n,capabilities:i}=await this.load();if(!n.queryAttributeBins)throw new o.A("CSVLayer","Layer source does not support queryAttributeBins capability");(0,L.ZJ)(e,i,"CSVLayer");const{default:s}=await r.e(4575).then(r.bind(r,14575)),a=await n.queryAttributeBins(s.from(e),t),l=this.graphicOrigin;if(a.features)for(const e of a.features)e.layer=e.sourceLayer=this,e.origin=l;return a}queryFeatures(e,t){return this.load().then(()=>this.source.queryFeatures(H.A.from(e)||this.createQuery())).then(e=>{const t=this.graphicOrigin;if(e.features)for(const r of e.features)r.layer=r.sourceLayer=this,r.origin=t;return e})}async queryObjectIds(e,t){return await this.load(),this.source.queryObjectIds(H.A.from(e)||this.createQuery())}queryFeatureCount(e,t){return this.load().then(()=>this.source.queryFeatureCount(H.A.from(e)||this.createQuery()))}queryExtent(e,t){return this.load().then(()=>this.source.queryExtent(H.A.from(e)||this.createQuery()))}read(e,t){super.read(e,t),"service"===t?.origin&&(["objectIdField","fields","timeInfo","dateFieldsTimeZone","latitudeField","longitudeField"].forEach(e=>this.revertToOrigin(e,"service")),this.spatialReference||this.revertToOrigin("spatialReference","service"))}async hasDataChanged(){try{const{dataChanged:e,updates:t}=await this.source.refresh(this.customParameters);return null!=t&&this.read(t,{origin:"service",url:this.parsedUrl,ignoreDefaults:!0}),e}catch{}return!1}};(0,n.Cg)([(0,u.MZ)(q.zQ)],ee.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1}})],ee.prototype,"capabilities",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{origins:{service:{read:{source:"copyrightText"}}}}})],ee.prototype,"copyright",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"createQueryVersion",null),(0,n.Cg)([(0,u.MZ)({json:{name:"layerDefinition.dateFieldsTimeReference",read:{reader:Y.ZS}}})],ee.prototype,"dateFieldsTimeZone",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],ee.prototype,"definitionExpression",void 0),(0,n.Cg)([(0,u.MZ)({type:[","," ",";","|","\t"],json:{name:"columnDelimiter",write:{ignoreOrigin:!0}}})],ee.prototype,"delimiter",void 0),(0,n.Cg)([(0,u.MZ)({type:String})],ee.prototype,"displayField",void 0),(0,n.Cg)([(0,u.MZ)(q.Yj)],ee.prototype,"elevationInfo",void 0),(0,n.Cg)([(0,u.MZ)({type:[$.A],json:{name:"layerDefinition.fields",write:{ignoreOrigin:!0}}})],ee.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)(X.fieldsIndex)],ee.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,u.MZ)({type:J.A,json:{name:"layerDefinition.floorInfo",write:{layerContainerTypes:c.K}}})],ee.prototype,"floorInfo",void 0),(0,n.Cg)([(0,u.MZ)({json:{origins:{service:{name:"layerDefinition.extent"}}}})],ee.prototype,"fullExtent",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1}})],ee.prototype,"geometryType",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"isTable",null),(0,n.Cg)([(0,u.MZ)({type:[U.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:V.w},write:!0}})],ee.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,u.MZ)(q.kF)],ee.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,W.w)("web-map","labelsVisible",["layerDefinition.drawingInfo.labelingInfo","showLabels"])],ee.prototype,"readWebMapLabelsVisible",null),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"locationInfo.latitudeFieldName",write:{ignoreOrigin:!0}}})],ee.prototype,"latitudeField",void 0),(0,n.Cg)([(0,u.MZ)(q.fV)],ee.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,u.MZ)({type:["show","hide"]})],ee.prototype,"listMode",void 0),(0,n.Cg)([(0,u.MZ)({type:["coordinates"],json:{name:"locationInfo.locationType",write:{ignoreOrigin:!0,isRequired:!0}}})],ee.prototype,"locationType",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"locationInfo.longitudeFieldName",write:{ignoreOrigin:!0}}})],ee.prototype,"longitudeField",void 0),(0,n.Cg)([(0,u.MZ)(q.hG)],ee.prototype,"maxScale",void 0),(0,n.Cg)([(0,u.MZ)(q.hn)],ee.prototype,"minScale",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{name:"layerDefinition.objectIdField",origins:{"web-map":{write:{target:"layerDefinition.objectIdField",ignoreOrigin:!0}}}}})],ee.prototype,"objectIdField",void 0),(0,n.Cg)([(0,u.MZ)(q.Ih)],ee.prototype,"opacity",void 0),(0,n.Cg)([(0,u.MZ)({type:["CSV"]})],ee.prototype,"operationalLayerType",void 0),(0,n.Cg)([(0,u.MZ)()],ee.prototype,"outFields",void 0),(0,n.Cg)([(0,u.MZ)(q.M6)],ee.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,u.MZ)({type:i.A,json:{name:"popupInfo",write:!0}})],ee.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,u.MZ)({types:K.Hg,json:{name:"layerDefinition.drawingInfo.renderer",origins:{"web-scene":{types:K.XJ,name:"layerDefinition.drawingInfo.renderer",write:!0}},write:{ignoreOrigin:!0,layerContainerTypes:c.K}}})],ee.prototype,"renderer",null),(0,n.Cg)([(0,u.MZ)(q.PY)],ee.prototype,"screenSizePerspectiveEnabled",void 0),(0,n.Cg)([(0,u.MZ)({readOnly:!0})],ee.prototype,"source",void 0),(0,n.Cg)([(0,u.MZ)({type:p.A,json:{origins:{service:{name:"layerDefinition.extent.spatialReference"}}}})],ee.prototype,"spatialReference",void 0),(0,n.Cg)([(0,u.MZ)({type:B.A,json:{name:"layerDefinition.timeInfo"}})],ee.prototype,"timeInfo",void 0),(0,n.Cg)([(0,u.MZ)({type:String,json:{origins:{service:{name:"layerDefinition.name"},"web-document":{name:"title",write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],ee.prototype,"title",void 0),(0,n.Cg)([(0,u.MZ)({json:{read:!1},value:"csv",readOnly:!0})],ee.prototype,"type",void 0),(0,n.Cg)([(0,u.MZ)(q.OZ)],ee.prototype,"url",null),ee=(0,n.Cg)([(0,u.$K)("esri.layers.CSVLayer")],ee);const te=ee},99352(e,t,r){r.d(t,{F:()=>n,P:()=>i});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!0,supportedSpatialAggregationStatistics:{envelope:!0,centroid:!0,convexHull:!0},supportsStatisticsAggregatedIds:!0,supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsOutDistance:!1,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsReturnExceededLimitGeometries:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsFormatPBFWithCurves:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:0,standardMaxRecordCount:void 0,standardMaxRecordCountNoGeometry:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},i={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}},54339(e,t,r){function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},64714(e,t,r){r.d(t,{F0:()=>a,Vx:()=>c,e2:()=>d,f:()=>f});var n=r(44208),i=r(4718),o=r(99352),s=r(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?s.Cb:"esriGeometryPolyline"===e?s.yM:s.WR}}}const l=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function c(e,t){if((0,n.A)("esri-csp-restrictions"))return()=>t?{[t]:null,...e}:{...e};try{let r="";t&&(r+=`this${p(t)} = null;`);for(const t in e)r+=`this${p(t)} = ${JSON.stringify(e[t])};`;const n=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new n}catch(r){return()=>t?{[t]:null,...e}:{...e}}}function p(e){return l.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function d(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function f(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:o.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:o.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},69208(e,t,r){r.d(t,{d:()=>o});var n=r(5482),i=r(91429);const o=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,n.Cg)([(0,i.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},6455(e,t,r){r.d(t,{FJ:()=>g,Dp:()=>v,KV:()=>w});var n=r(5482),i=r(93637),o=r(91429),s=r(89317),a=r(69540),l=r(7762),u=r(25482),c=r(83960),p=r(13069);const d={write:{overridePolicy:(e,t,r)=>({enabled:!r||"scale"===r.filterMode})}};let f=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.id=(0,p.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:d})],f.prototype,"maxScale",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:d})],f.prototype,"minScale",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"title",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"where",void 0),f=(0,n.Cg)([(0,o.$K)("esri.layers.support.DisplayFilter")],f);var h=r(41560),y=r(43937);let m=class extends((0,a.OU)(u.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(l.A.ofType(f)),this.mode="manual"}writeFilters(e,t,r,n){const i=e.toArray();"scale"===this.mode&&i.sort((e,t)=>{const r=(0,c.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===r?n:r}),t[r]=i.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,h.mW)(this,t))}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{overridePolicy:(e,t,r)=>({enabled:"manual"===r.filterMode,isRequired:!0})}}})],m.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,o.MZ)({type:l.A.ofType(f),nonNullable:!0,json:{write:!0}})],m.prototype,"filters",void 0),(0,n.Cg)([(0,y.K)("filters")],m.prototype,"writeFilters",null),(0,n.Cg)([(0,o.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],m.prototype,"mode",void 0),m=(0,n.Cg)([(0,o.$K)("esri.layers.support.DisplayFilterInfo")],m);const g=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,o.MZ)(v)],r.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,o.MZ)(w)],r.prototype,"displayFilterInfo",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.DisplayFilteredLayer")],r),r},v={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,r){(0,i.sM)(r,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},w={type:m,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},32756(e,t,r){r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>l});var n=r(5482),i=r(93637),o=r(91429),s=r(91880);function a(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new s.A;return i.read(n,r),[i]}const l={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,n){const o=e.find(e=>!!e.field);o&&(0,i.sM)(r,[o.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,o.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},8303(e,t,r){r.d(t,{A:()=>I});var n=r(5482),i=r(92602),o=r(70333),s=r(11254),a=r(60999),l=r(49186),u=r(36563),c=r(53966),p=r(97768),d=r(17676),f=r(84952),h=r(91429),y=r(77548),m=r(20655),g=r(80812),v=r(41318),w=r(10407),b=r(36005),M=r(43937);const I=e=>{const t=e;let I=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,d.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await r.e(1204).then(r.bind(r,41204)),n=new AbortController,i=(0,u.rE)(n);return this.addHandles(i,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:n.signal})}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!o.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,n);let s,a;if(i)s=r.portal.url;else try{s=await(0,y.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!s||!(0,f.b8)(s,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;a=await(o.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const l=!0,u=!1,c=!1;if(!a)return{features:{edit:l,fullEdit:u},content:{updateItem:c}};try{if(i?await r.reload():(r=new g.default({id:e,portal:{url:s}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,d.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,w.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?o.id?.findCredential(this.url):null;if(!t)return!0;const r=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=o.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,i=m.A.getDefault();if(i&&i.loaded&&(0,f.S8)(i.restUrl)===(0,f.S8)(n))return i.user;const l=`${n}/community/self`,u=null!=e?e.signal:null,c=await(0,a.Ke)((0,s.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?v.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return r&&n&&!(0,f.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,h.MZ)({type:g.default})],I.prototype,"portalItem",null),(0,n.Cg)([(0,b.w)("web-document","portalItem",["itemId"])],I.prototype,"readPortalItem",null),(0,n.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],I.prototype,"writePortalItem",null),(0,n.Cg)([(0,h.MZ)({clonable:!1})],I.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],I.prototype,"userHasUpdateItemPrivileges",void 0),I=(0,n.Cg)([(0,h.$K)("esri.layers.mixins.PortalLayer")],I),I},x={credential:null,user:null}},82935(e,t,r){r.d(t,{B:()=>d,e:()=>f});var n=r(5482),i=r(91429),o=r(89317),s=r(30524),a=r(96184),l=r(73133),u=r(79677),c=r(10184),p=r(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:o.K}}},f=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const n=r.timeOffset,i=l.j.fromJSON(r.timeOffsetUnits);return n&&i?new c.A({value:n,unit:i}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,i.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,n.Cg)([(0,i.MZ)({type:c.A})],r.prototype,"timeOffset",void 0),(0,n.Cg)([(0,p.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,n.Cg)([(0,i.MZ)({value:null,type:a.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,n.Cg)([(0,i.MZ)(d)],r.prototype,"useViewTime",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TemporalLayer")],r),r}},63396(e,t,r){r.d(t,{d:()=>I});var n=r(5482),i=r(91429),o=r(60950),s=r(99959);class a extends s.A{constructor(e){super(),this.type="track",this.trackInfoProvider=e}get id(){return this.trackInfoProvider.id}get[o.ym](){return this.trackInfoProvider.trackInfo}}var l=r(37838),u=r(69540),c=r(25482),p=r(93637),d=r(50820),f=r(10873),h=r(46499),y=r(41214);let m=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.labelingInfo=null,this.labelsVisible=!0,this.renderer=null,this.visible=!0}};(0,n.Cg)([(0,i.MZ)({type:[h.A],json:{write:!0}})],m.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,i.MZ)(f.kF)],m.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,i.MZ)({types:y.Hg,json:{write:!0}})],m.prototype,"renderer",void 0),(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"visible",void 0),m=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackPartInfo")],m);var g=r(96576),v=r(59868),w=r(10184),b=r(43937);let M=class extends((0,u.OU)(c.o)){constructor(e){super(e),this.enabled=!0,this.fields=[],this.latestObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.maxDisplayDuration=null,this.maxDisplayObservationsPerTrack=0,this.popupEnabled=!0,this.popupTemplate=null,this.previousObservations=new m({renderer:new g.A({symbol:v.UK.clone()})}),this.trackLines=new m({renderer:new g.A({symbol:v.A7.clone()})}),this.timeField="startTimeField"}writeFields(e,t,r){const n=e.filter(e=>"avg_angle"!==e.statisticType).map(e=>e.toJSON());(0,p.sM)(r,n,t)}};(0,n.Cg)([(0,i.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"enabled",void 0),(0,n.Cg)([(0,i.MZ)({type:[d.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,n.Cg)([(0,b.K)("fields")],M.prototype,"writeFields",null),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],M.prototype,"latestObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],M.prototype,"maxDisplayDuration",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxDisplayObservationsPerTrack",void 0),(0,n.Cg)([(0,i.MZ)(f.M6)],M.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,i.MZ)({type:l.A,json:{name:"popupInfo",write:!0}})],M.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],M.prototype,"previousObservations",void 0),(0,n.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],M.prototype,"trackLines",void 0),(0,n.Cg)([(0,i.MZ)({type:["timeReceived","startTimeField","endTimeField"],json:{read:!0,write:!0}})],M.prototype,"timeField",void 0),M=(0,n.Cg)([(0,i.$K)("esri.layers.support.TrackInfo")],M);const I=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.trackGraphicOrigin=new a(this),this.trackInfo=null}};return(0,n.Cg)([(0,i.MZ)({readOnly:!0,clonable:!1})],r.prototype,"trackGraphicOrigin",void 0),(0,n.Cg)([(0,i.MZ)({type:M})],r.prototype,"trackInfo",void 0),r=(0,n.Cg)([(0,i.$K)("esri.layers.mixins.TrackableLayer")],r),r}},30279(e,t,r){r.d(t,{A:()=>u});var n=r(5482),i=r(69540),o=r(25482),s=r(10107),a=r(64108),l=r(62044);let u=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.alias=null,this.name=void 0,this.fieldFormat=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"alias",void 0),(0,n.Cg)([(0,s.MZ)({type:String,nonNullable:!0,json:{write:{isRequired:!0}}})],u.prototype,"name",void 0),(0,n.Cg)([(0,s.MZ)({types:l.fg,json:{write:!0}})],u.prototype,"fieldFormat",void 0),u=(0,n.Cg)([(0,a.$)("esri.layers.support.FieldConfiguration")],u)},37352(e,t,r){r.d(t,{A:()=>l});var n,i=r(5482),o=r(7762),s=r(25482),a=r(91429);let l=n=class extends s.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new o.A}clone(){return new n({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"floorField",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],l.prototype,"viewAllLevelIds",void 0),l=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.LayerFloorInfo")],l)},91880(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),o=r(66552),s=r(25482),a=r(91429);const l=new o.J({asc:"ascending",desc:"descending"});let u=class extends s.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],u.prototype,"order",void 0),u=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],u)},96184(e,t,r){r.d(t,{A:()=>f});var n=r(5482),i=r(69540),o=r(25482),s=r(91429),a=r(79677),l=r(10184),u=r(56400),c=r(36005),p=r(43937);function d(e,t){return l.A.fromJSON({value:e,unit:t})}let f=class extends((0,i.OU)(o.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?a.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],f.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:a.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,c.w)("fullTimeExtent",["timeExtent"])],f.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,p.K)("fullTimeExtent")],f.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],f.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"interval",void 0),(0,n.Cg)([(0,c.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],f.prototype,"readInterval",null),(0,n.Cg)([(0,p.K)("interval")],f.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],f.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,u.P6)("timeReference",!0))],f.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],f.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],f.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],f.prototype,"stops",void 0),f=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],f)},41560(e,t,r){r.d(t,{Ch:()=>s,mW:()=>o});var n=r(34727),i=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],p(n));return t}(e);if(o&&((0,n.gg)(t,o[0])||(0,n.ZH)(r,o[1])))return"";const s=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(c(i.minScale),p(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)l(n.minScale,n.maxScale,t,r)&&(yield n)}}function l(e,t,r,i){return e=c(e),r=c(r),t=p(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},16194(e,t,r){r.d(t,{QX:()=>l,sS:()=>c,xY:()=>u});var n=r(4718),i=r(30279),o=r(62044),s=r(30524),a=r(41227);function l(e){const{popupTemplate:t,fieldsIndex:r}=e,n=t?.fieldInfos;if(!n?.length||!r)return;const s=[];for(const e of n){const{fieldName:t,label:n}=e,a=r.get(t);if(!a)continue;const l=n&&n!==a.alias?n:null,u=(0,o.iu)(e,a);(l||u)&&s.push(new i.A({name:a.name,alias:l,fieldFormat:u}))}return s.length?s:null}function u(e){const{fields:t}=e;if(!t?.length)return;const r=[];for(const e of t){const t=(0,o.qH)(e)?(0,o.$P)(e):null;t&&r.push(new i.A({name:e.name,fieldFormat:t}))}return r.length?r:null}function c(e,t){const{popupTemplate:r,fieldsIndex:i}=e;if(!r||!i)return;const s=function(e,t,r){t??=[],r=(0,n.o8)(r)??[];let i=!1;const s=new Map;for(const r of t){const t=e.fieldsIndex.get(r.name);t&&s.set(t.name,r)}for(const t of r){const r=e.fieldsIndex.get(t.fieldName);if(!r)continue;const n=s.get(r.name);t.label=n?.alias||r.alias,t.format=(0,o.qH)(r)&&n?.fieldFormat?(0,o.PK)(n.fieldFormat,r):null,i=!0,s.delete(r.name)}for(const t of s.values()){const n=p(e,t);n&&(r.push(n),i=!0)}return i?r:null}(e,t,r.fieldInfos);if(!s)return;const a=r.clone();return a.fieldInfos=s,a}function p(e,t){const{name:r,alias:n,fieldFormat:i}=t,l=e.fieldsIndex.get(r);if(!l||!n&&!i)return;const u=n||l.alias,c=(0,o.qH)(l)&&i?(0,o.PK)(i,l):null;return new a.A({fieldName:l.name,label:u,format:c,visible:!1,isEditable:(0,s.R$)(l,e)})}},17036(e,t,r){r.d(t,{p:()=>l});var n=r(44208),i=r(53966),o=r(20437),s=r(95466),a=r(30524);function l(){return{fields:{type:[o.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");i.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const r=this.fieldsIndex?.has(t);r||i.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,a.DB)(this.fieldsIndex,e)}}}}},32730(e,t,r){r.d(t,{BI:()=>f,D3:()=>p,XJ:()=>d,lc:()=>c,mX:()=>y,rU:()=>h,tH:()=>b,vK:()=>M,zA:()=>I});var n=r(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),a=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i");function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function p(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return y(t.expression);case"arcade":return t.expression}return null}function h(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(m);return t?.[1].trim()||null}(t.expression);case"arcade":return b(t.expression)}return null}function y(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=l.test(t)?t.replace(l,""):'"'+t,t=u.test(t)?t.replace(u,""):t+'"',t=t.replaceAll(s,'" + ').replaceAll(a,' + "')):t='""',t}const m=/^\s*\{([^}]+)\}\s*$/i,g=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,w=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function b(e){if(!e)return null;let t=g.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=w.exec(e),t?t[2]:null)}const M=Symbol("LabelClassInstance");function I(e){return null!=e&&"object"==typeof e&&M in e}},5757(e,t,r){r.d(t,{B:()=>i,P:()=>n});const n=Symbol("PopupTemplateInstance");function i(e){return null!=e&&"object"==typeof e&&n in e}},10407(e,t,r){r.d(t,{It:()=>f,LG:()=>s,OM:()=>u,Sm:()=>c,Y:()=>a,bK:()=>l,mm:()=>d,sQ:()=>p});var n=r(91218),i=r(16930),o=r(28735);function s(e,t){if(!a(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function a(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return a(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?s(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,o.ci)(e);const r=i.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function f(e){const{portal:t,isOrgItem:r,itemControl:n}=e,i=t.user?.privileges;let o=!i||i.includes("features:user:edit"),s=!!r&&!!i?.includes("features:user:fullEdit");const a="update"===n||"admin"===n;return a?s=o=!0:s&&(o=!0),{features:{edit:o,fullEdit:s},content:{updateItem:a}}}},73681(e,t,r){r.d(t,{n:()=>l});var n=r(49186),i=r(53966),o=r(46140),s=r(95466),a=r(55674);class l{static async from(e,t,r){const s=e.dictionary_version?o.A.parse(e.dictionary_version):null,c=new Set(e.itemsNames),p={};if(t)for(const e in t)p[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)p.hasOwnProperty(t.name)||(p[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const f=await(0,a.xR)(e.expression,null,p);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!s||!s.greaterEqual(4,0);h&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:s});const y=new u(r,h);return new l(h,c,f,y)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new s.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new s.A(t)}}class u extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},98205(e,t,r){r.d(t,{KZ:()=>a,eh:()=>s,gf:()=>o,of:()=>i,uY:()=>n});const n=Symbol("SizeVariableInstance");function i(e){return null!=e&&"object"==typeof e&&n in e}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function s(e){return e.valueExpression?"expression":e.field&&"string"==typeof e.field?"field":"unknown"}function a(e,t){const r=t||s(e),n=e.valueUnit||"unknown";return"unknown"===r?"constant":e.stops?"stops":null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?"clamped-linear":"unknown"===n?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?"proportional":"additive":"identity":"real-world-size"}},22671(e,t,r){r.d(t,{A:()=>v});var n,i=r(5482),o=r(52106),s=r(66552),a=r(25482),l=r(4718),u=r(91429),c=r(16930),p=r(60408),d=r(65864),f=r(50498),h=r(20437),y=r(36005),m=r(43937);const g=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,d.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=c.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=o.length;e<t;e++)s?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[o,s]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*o+n,e=>i-e*s,a,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=c.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const o=e[t],s=r.fromJSON(o),a=o.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=n);const l=o.aggregateGeometries,u=s.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(s)}return i}_quantizePoints(e,t,r){let n,i;const o=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=r(a[1]);e===n&&s===i||(o.push([e-n,s-i]),n=e,i=s)}else n=t(a[0]),i=r(a[1]),o.push([n,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,p.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=n.length;e<o;e++){const o=n[e],s=this._quantizePoints(o,t,r);s&&i.push(s)}return i.length>0?((0,p.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,p.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,n=o.length;e<n;e++){const n=o[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=r(a)}}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,a;for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],a+=n[1]):(s=n[0],a=n[1]),n[0]=t(s),n[1]=r(a)}if(n&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=n(t[2])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i.Cg)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,i.Cg)([(0,m.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:f.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,m.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},41366(e,t,r){r.d(t,{K:()=>p,Q:()=>l});var n=r(5482),i=r(66552),o=r(53966),s=r(91429),a=r(93223);const l=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,a.e)(l,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,s.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},55674(e,t,r){r.d(t,{Ad:()=>f,Gj:()=>m,QY:()=>d,lL:()=>g,xR:()=>h});var n=r(66131),i=r(49186),o=(r(44208),r(44729)),s=r(15032),a=r(65864),l=r(95466),u=r(43668),c=r(98623);const p=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of p)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return y.create(e,t,null,["$feature","$view"])}function h(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,n){const{arcade:o,Dictionary:s}=await(0,u.l)();let a;try{a=o.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=o.scriptUsesGeometryEngine(a);l&&await o.enableGeometrySupport(),await o.loadDependentModules(new Set,a,null,!1,l);const c={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},p=o.compileScript(a,c);let d=null;null!=r&&(d=new s(r),d.immutable=!0);const f=new s;return f.immutable=!1,f.setField("scale",0),new y(e,o,a,p,t,f,d,s)}constructor(e,t,r,n,i,o,s,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=o,this._configDict=s,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:o}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=o?null!=r?n.lY.epochToArcadeDate(o,r):n.lY.unknownEpochToArcadeDate(o):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===c.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return s.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??c.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4123],{66344(t,e,i){i.d(e,{q:()=>o});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class h{get size(){return this._size}constructor(t=10485760,e=.3){this._maxSize=t,this._maxClientSizeRatio=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(t){this._clients.set(t.id.slice(0,-1),t)}deregister(t){this.clear(t),this._sizeLimits.delete(t),this._clients.delete(t.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(t,e){const i=this._db.get(t.id+e);return i?.size??0}put(t,e,i,h,n){e=t.id+e;const o=this._db.get(e);if(o&&(this._size-=o.size,t.size-=o.size,this._db.delete(e),o.entry!==i&&this._notifyRemove(e,o.entry,o.size,0)),h>this._maxSize)return void this._notifyRemove(e,i,h,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!h||h<0)return s||console.warn(`Refusing to cache entry with size ${h} for key ${e}`),void this._notifyRemove(e,i,0,0);const c=1+Math.max(n,-4)- -3;this._db.set(e,new r(i,h,c)),this._size+=h,t.size+=h,this._checkSize()}updateSize(t,e){e=t.id+e;const i=this._db.get(e);if(!i)return;this._size-=i.size,t.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const t=this._notifyRemove(e,i.entry,s,1);if(!(null!=t&&t>0))return void this._db.delete(e);s=t}i.size=s,this._size+=s,t.size+=s,this._checkSize()}pop(t,e){e=t.id+e;const i=this._db.get(e);if(i)return this._size-=i.size,t.size-=i.size,this._db.delete(e),++this._hit,i.entry;++this._miss}get(t,e){e=t.id+e;const i=this._db.get(e);if(void 0!==i)return this._db.delete(e),i.lives=i.lifetime,this._db.set(e,i),++this._hit,i.entry;++this._miss}peek(t,e){const i=this._db.get(t.id+e);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},i=new Array;this._db.forEach((t,s)=>{const h=t.lifetime;i[h]=(i[h]||0)+t.size,this._clients.forEach(i=>{const{id:h,name:r}=i;if(s.startsWith(h)){const i=e[r]||0;e[r]=i+t.size}})});const s={};this._clients.forEach(t=>{const i=t.name;if("hitRate"in t&&"number"==typeof t.hitRate&&!isNaN(t.hitRate)&&t.hitRate>0){const h=e[i]||0;e[i]=h,s[i]=Math.round(100*t.hitRate)+"%"}else s[i]="0%"});const h=Object.keys(e);h.sort((t,i)=>e[i]-e[t]),h.forEach(i=>t[i]=Math.round(e[i]/2**20)+"MB / "+s[i]);for(let e=i.length-1;e>=0;--e){const s=i[e];s&&(t["Priority "+(e+-3-1)]=Math.round(s/this._size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._clients.forEach(t=>t.resetHitRate())}clear(t){const e=t.id;this._db.forEach((t,i)=>{i.startsWith(e)&&(this._size-=t.size,this._db.delete(i),this._notifyRemove(i,t.entry,t.size,0))}),t.size=0}clearAll(){this._db.forEach((t,e)=>this._notifyRemove(e,t.entry,t.size,0)),this._clients.forEach(t=>t.size=0),this._size=0,this._db.clear()}*values(t){for(const[e,i]of this._db)e.startsWith(t.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,i,s){const h=this._clients.get(t.split(n)[0])?.removeFunc,r=h?.(e,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((t,e)=>this._checkSizeLimits(t,e)),this._clients.forEach(t=>this._checkSizeLimits(this._maxClientSize,t)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(t,e){null==e||e<=0?this._sizeLimits.delete(t):this._sizeLimits.set(t,e)}_checkSizeLimits(t,e){const i=e??this;if(i.size<=t)return;const s=e?.id;let h=!0;for(;h;){h=!1;for(const[r,o]of this._db)if(0===o.lifetime&&(!s||r.startsWith(s))){const s=e??this._clients.get(r.split(n)[0]);if(this._purgeItem(r,o,s),i.size<=.9*t)return;h||=this._db.has(r)}}for(const[h,r]of this._db)if(!s||h.startsWith(s)){const s=e??this._clients.get(h.split(n)[0]);if(this._purgeItem(h,r,s),i.size<=.9*t)return}}_purgeItem(t,e,i){if(this._db.delete(t),e.lives<=1){this._size-=e.size,i&&(i.size-=e.size);const s=this._notifyRemove(t,e.entry,e.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),e.lives=e.lifetime,e.size=s,this._db.set(t,e))}else--e.lives,this._db.set(t,e)}}new h(0);class r{constructor(t,e,i){this.entry=t,this.size=e,this.lifetime=i,this.lives=i}}const n=":";class o{constructor(t,e){this.removeFunc=e,this.id="",this.name="",this.size=0,this._storage=new h(t,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(t,e,i=1){this._storage.put(this,t,e,i,1)}pop(t){return this._storage.pop(this,t)}get(t){return this._storage.get(this,t)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(t){this._storage.maxSize=t}resetHitRate(){}}},44123(t,e,i){i.d(e,{WhereClauseCache:()=>r});var s=i(66344),h=i(89696);class r{constructor(t,e){this._cache=new s.q(t),this._invalidCache=new s.q(e)}get(t,e){const i=`${e?.uid}:${t}`,s=this._cache.get(i);if(s)return s;if(null!=this._invalidCache.get(i))return null;try{const s=h.A.create(t,{fieldsIndex:e});return this._cache.put(i,s),s}catch(t){return this._invalidCache.put(i,t),null}}getError(t,e){const i=`${e?.uid}:${t}`;return this._invalidCache.get(i)??null}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1843],{13030(e,t,s){s.d(t,{Y$:()=>_,XW:()=>T,qB:()=>L,Qt:()=>J,My:()=>ee,bf:()=>k,jZ:()=>C,j0:()=>F,Sx:()=>G,E$:()=>g,Qy:()=>ue,h:()=>w,P:()=>X,SL:()=>U,dy:()=>ie,ES:()=>fe,gH:()=>m,ZD:()=>S,si:()=>M,mJ:()=>Q,UL:()=>te,D6:()=>z,Yi:()=>v,An:()=>V,LC:()=>P,xs:()=>A,EC:()=>R,Xm:()=>b,Vp:()=>W,zD:()=>se,m8:()=>q,nS:()=>Y,H$:()=>j,eI:()=>x,td:()=>ne,Eq:()=>I,jz:()=>N,Aj:()=>O,E7:()=>K,Y4:()=>re,TX:()=>Z,Uz:()=>H,ml:()=>$,XP:()=>D});var r=s(34727),i=s(34275),n=s(37585),u=s(48163),f=s(78955),c=s(91829),h=s(20498);class d{static{this.ElementCount=9}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=9;const n=this.TypedArrayConstructor;void 0===r&&(r=9*n.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new n(t,u):new n(t,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<9;e++)t[e]=this.typedBuffer[s++];return t}setMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<9;e++)this.typedBuffer[s++]=t[e]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let n=e*this.typedBufferStride,u=s*t.typedBufferStride;for(let e=0;e<9;++e)r[n++]=i[u++]}get buffer(){return this.typedBuffer.buffer}}class l{static{this.ElementCount=16}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=16;const n=this.TypedArrayConstructor;void 0===r&&(r=16*n.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new n(t,u):new n(t,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<16;e++)t[e]=this.typedBuffer[s++];return t}setMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<16;e++)this.typedBuffer[s++]=t[e]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}copyFrom(e,t,s){this.copyFromTypedBuffer(e,t.typedBuffer,s*t.typedBufferStride)}copyFromTypedBuffer(e,t,s){const r=this.typedBuffer;let i=e*this.typedBufferStride;for(let e=0;e<16;++e)r[i++]=t[s++]}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=1}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=1;const n=this.TypedArrayConstructor;void 0===r&&(r=n.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new n(t,u):new n(t,u,(i-s)/n.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}get(e){return this.typedBuffer[e*this.typedBufferStride]}set(e,t){this.typedBuffer[e*this.typedBufferStride]=t}get buffer(){return this.typedBuffer.buffer}}class o{static{this.ElementCount=2}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.start=s,this.elementCount=2;const n=this.TypedArrayConstructor;void 0===r&&(r=2*n.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new n(t,u):new n(t,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,n.hZ)(t,this.typedBuffer[e],this.typedBuffer[e+1])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e]=t[1]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e]=s}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let n=e*this.typedBufferStride,u=s*t.typedBufferStride;r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var y=s(35522);class a{static{this.ElementCount=3}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=3;const n=this.TypedArrayConstructor;void 0===r&&(r=3*n.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new n(t,u):new n(t,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,y.hZ)(t,this.typedBuffer[e],this.typedBuffer[e+1],this.typedBuffer[e+2])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e++]=t[1],this.typedBuffer[e]=t[2]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s,r){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e++]=s,this.typedBuffer[e]=r}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let n=e*this.typedBufferStride,u=s*t.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}class E{static{this.ElementCount=4}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.start=s,this.elementCount=4;const n=this.TypedArrayConstructor;void 0===r&&(r=4*n.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new n(t,u):new n(t,u,(i-s)/n.BYTES_PER_ELEMENT),this.typedBufferStride=r/n.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,f.hZ)(t,this.typedBuffer[e++],this.typedBuffer[e++],this.typedBuffer[e++],this.typedBuffer[e])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e++]=t[1],this.typedBuffer[e++]=t[2],this.typedBuffer[e]=t[3]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s,r,i){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e++]=s,this.typedBuffer[e++]=r,this.typedBuffer[e]=i}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let n=e*this.typedBufferStride,u=s*t.typedBufferStride;r[n++]=i[u++],r[n++]=i[u++],r[n++]=i[u++],r[n]=i[u]}get buffer(){return this.typedBuffer.buffer}}var B=s(620);class T extends p{constructor(e,t=0,s,r){(0,B.vA)(h.SX),super((0,h.pX)(),e,t,s,r),this.elementType="f16"}static{this.ElementType="f16"}}class _ extends p{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}static{this.ElementType="f32"}}class S extends o{constructor(e,t=0,s,r){(0,B.vA)(h.SX),super((0,h.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(S,e,t)}static{this.ElementType="f16"}}class m extends o{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(m,e,t)}static{this.ElementType="f32"}}class R extends a{constructor(e,t=0,s,r){(0,B.vA)(h.SX),super((0,h.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(R,e,t)}static{this.ElementType="f16"}}class A extends a{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(A,e,t)}static fromTypedArray(e,t){return new A(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="f32"}}class N extends E{constructor(e,t=0,s,r){(0,B.vA)(h.SX),super((0,h.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(N,e,t)}static{this.ElementType="f16"}}class I extends E{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(I,e,t)}static{this.ElementType="f32"}}class C extends d{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(C,e,t)}static{this.ElementType="f32"}}class F extends d{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(F,e,t)}static{this.ElementType="f64"}}class G extends l{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(G,e,t)}static{this.ElementType="f32"}}class g extends l{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(g,e,t)}static{this.ElementType="f64"}}class L extends p{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(L,e,t)}static{this.ElementType="f64"}}class M extends o{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(M,e,t)}static{this.ElementType="f64"}}class b extends a{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(b,e,t)}static fromTypedArray(e,t){return new b(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="f64"}}class O extends E{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(O,e,t)}static{this.ElementType="f64"}}class U extends p{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(U,e,t)}static{this.ElementType="u8"}}class P extends o{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(P,e,t)}static{this.ElementType="u8"}}class x extends a{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(x,e,t)}static fromTypedArray(e,t){return new x(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="u8"}}class D extends E{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(D,e,t)}static{this.ElementType="u8"}}class w extends p{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(w,e,t)}static{this.ElementType="u16"}}class v extends o{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(v,e,t)}static{this.ElementType="u16"}}class Y extends a{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(Y,e,t)}static{this.ElementType="u16"}}class H extends E{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(H,e,t)}static{this.ElementType="u16"}}class X extends p{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(X,e,t)}static{this.ElementType="u32"}}class V extends o{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(V,e,t)}static{this.ElementType="u32"}}class j extends a{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(j,e,t)}static{this.ElementType="u32"}}class $ extends E{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer($,e,t)}static{this.ElementType="u32"}}class k extends p{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(k,e,t)}static{this.ElementType="i8"}}class z extends o{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(z,e,t)}static{this.ElementType="i8"}}class q extends a{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(q,e,t)}static{this.ElementType="i8"}}class Z extends E{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(Z,e,t)}static{this.ElementType="i8"}}class J extends p{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(J,e,t)}static{this.ElementType="i16"}}class Q extends o{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(Q,e,t)}static{this.ElementType="i16"}}class W extends a{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(W,e,t)}static{this.ElementType="i16"}}class K extends E{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(K,e,t)}static{this.ElementType="i16"}}class ee extends p{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(ee,e,t)}static{this.ElementType="i32"}}class te extends o{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(te,e,t)}static{this.ElementType="i32"}}class se extends a{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(se,e,t)}static{this.ElementType="i32"}}class re extends E{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(re,e,t)}static{this.ElementType="i32"}}class ie extends U{constructor(e,t=0,s,r){super(e,t,s,r)}get(e){return this.typedBuffer[e*this.typedBufferStride]/255}set(e,t){this.typedBuffer[e*this.typedBufferStride]=Math.round(255*(0,r.qE)(t,0,1))}slice(e,t){return this.sliceBuffer(ie,e,t)}}class ne extends D{constructor(e,t=0,s,r){super(e,t,s,r)}getVec(e,t){return(0,f.hs)(t,super.getVec(e,t),1/255)}setVec(e,t){(0,f.jk)(he,(0,f.T9)(he,t,c.uY),c.Un),(0,f.hs)(he,he,255),(0,f.LI)(he,he),super.setVec(e,he)}get(e,t){return super.get(e,t)/255}set(e,t,s){super.set(e,t,Math.round(255*(0,r.qE)(s,0,1)))}setValues(e,t,s,r,i){(0,f.hZ)(he,t,s,r,i),this.setVec(e,he)}slice(e,t){return this.sliceBuffer(ne,e,t)}}class ue extends J{constructor(e,t=0,s,r){super(e,t,s,r)}get(e){return Math.max(super.get(e)/i.he,-1)}set(e,t){super.set(e,Math.round((0,r.qE)(t,-1,1)*i.he))}slice(e,t){return this.sliceBuffer(ue,e,t)}}class fe extends Q{constructor(e,t=0,s,r){super(e,t,s,r)}getVec(e,t){return(0,n.hZ)(ce,-1,-1),(0,n.T9)(t,(0,n.hs)(t,super.getVec(e,t),1/i.he),ce)}setVec(e,t){(0,n.qE)(ce,t,u.IA,u.Un),(0,n.hs)(ce,ce,i.he),(0,n.LI)(ce,ce),super.setVec(e,ce)}get(e,t){return Math.max(super.get(e,t)/i.he,-1)}set(e,t,s){super.set(e,t,Math.round((0,r.qE)(s,-1,1)*i.he))}setValues(e,t,s){(0,n.hZ)(ce,t,s),this.setVec(e,ce)}slice(e,t){return this.sliceBuffer(fe,e,t)}}const ce=(0,u.vt)(),he=(0,c.vt)()},90239(e,t,s){function r(e){switch(e){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}s.d(t,{GJ:()=>r})},20498(e,t,s){s.d(t,{Bg:()=>i,SX:()=>u,pX:()=>n});let r=globalThis.Float16Array;function i(...e){return new(r??Float32Array)(...e)}function n(){return r}let u=!!r},1843(e,t,s){s.d(t,{BP:()=>l,l5:()=>p});var r=s(20498),i=s(13030),n=s(90239),u=s(4431),f=s(620),c=s(85079);class h{constructor(e,t,s=0){this.layout=e,this.byteOffset=s,this.buffer="number"==typeof t?new ArrayBuffer(t*e.stride):t;for(const t of e.fields.keys()){const r=e.fields.get(t);this[t]=new r.constructor(this.buffer,s+r.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.byteLength/this.stride}get byteLength(){return this.buffer.byteLength-this.byteOffset}getField(e,t){const s=this[e];return s&&s.elementCount===t.ElementCount&&s.elementType===t.ElementType?s:null}slice(e,t){return new h(this.layout,this.buffer.slice(e*this.stride,t*this.stride))}copyFrom(e,t=0,s=0,r=e.count){const i=this.stride;if(i%4==0){const n=new Uint32Array(e.buffer,t*i,r*i/4);new Uint32Array(this.buffer,s*i,r*i/4).set(n)}else{const n=new Uint8Array(e.buffer,t*i,r*i);new Uint8Array(this.buffer,s*i,r*i).set(n)}return this}get usedMemory(){return this.byteLength}dispose(){}}class d{constructor(e){this._stride=0,this._fields=new Map,e&&(this._stride=e.stride,e.fields.forEach(e=>this._fields.set(e[0],{...e[1],constructor:a(e[1].constructor)})))}freeze(){return this}get locations(){return(0,c.Xk)((0,u.U)(this))}vec2f16(e,t){return this._appendField(e,r.SX?i.ZD:i.gH,t),this}vec2f(e,t){return this._appendField(e,i.gH,t),this}vec2f64(e,t){return this._appendField(e,i.si,t),this}vec3f16(e,t){return this._appendField(e,r.SX?i.EC:i.xs,t),this}vec3f(e,t){return this._appendField(e,i.xs,t),this}vec3f64(e,t){return this._appendField(e,i.Xm,t),this}vec4f16(e,t){return this._appendField(e,r.SX?i.jz:i.Eq,t),this}vec4f(e,t){return this._appendField(e,i.Eq,t),this}vec4f64(e,t){return this._appendField(e,i.Aj,t),this}mat3f(e,t){return this._appendField(e,i.jZ,t),this}mat3f64(e,t){return this._appendField(e,i.j0,t),this}mat4f(e,t){return this._appendField(e,i.Sx,t),this}mat4f64(e,t){return this._appendField(e,i.E$,t),this}vec4u8(e,t){return this._appendField(e,i.XP,t),this}f16(e,t){return this._appendField(e,r.SX?i.XW:i.Y$,t),this}f32(e,t){return this._appendField(e,i.Y$,t),this}f64(e,t){return this._appendField(e,i.qB,t),this}u8(e,t){return this._appendField(e,i.SL,t),this}u16(e,t){return this._appendField(e,i.h,t),this}i8(e,t){return this._appendField(e,i.bf,t),this}vec2i8(e,t){return this._appendField(e,i.D6,t),this}vec2i16(e,t){return this._appendField(e,i.mJ,t),this}vec2u8(e,t){return this._appendField(e,i.LC,t),this}vec2u16(e,t){return this._appendField(e,i.Yi,t),this}vec4u16(e,t){return this._appendField(e,i.Uz,t),this}vec4i16(e,t){return this._appendField(e,i.E7,t),this}u32(e,t){return this._appendField(e,i.P,t),this}_appendField(e,t,s){this._fields.has(e)&&(0,f.vA)(!1,`${e} already added to vertex buffer layout`);const r=t.ElementCount*(0,n.GJ)(t.ElementType),i=this._stride;this._fields.set(e,{constructor:t,size:r,offset:i,optional:s}),this._alignFields()}_alignFields(){let e=0,t=1;this._fields.forEach(s=>{const r=(0,n.GJ)(s.constructor.ElementType);e=Math.floor((e+r-1)/r)*r,s.offset=e,e+=s.size,t=Math.max(t,r)}),e=Math.floor((e+t-1)/t)*t,this._stride=e}createBuffer(e){return new h(this,e)}createView(e,t){return new h(this,e,t)}clone(){const e=new d;return e._stride=this._stride,e._fields=new Map,this._fields.forEach((t,s)=>e._fields.set(s,t)),e.BufferType=this.BufferType,e}get stride(){return this._stride}get fields(){return this._fields}}function l(){return new d}class p{constructor(e){this.fields=new Array,e.fields.forEach((e,t)=>{const s={...e,constructor:y(e.constructor)};this.fields.push([t,s])}),this.stride=e.stride}}const o=[i.Y$,i.gH,i.xs,i.Eq,i.jZ,i.Sx,i.qB,i.si,i.Xm,i.Aj,i.j0,i.E$,i.SL,i.LC,i.eI,i.XP,i.h,i.Yi,i.nS,i.Uz,i.P,i.An,i.H$,i.ml,i.bf,i.D6,i.m8,i.TX,i.Qt,i.mJ,i.Vp,i.E7,i.My,i.UL,i.zD,i.Y4];function y(e){return`${e.ElementType}_${e.ElementCount}`}function a(e){return E.get(e)}const E=new Map;o.forEach(e=>E.set(y(e),e))},4431(e,t,s){s.d(t,{U:()=>n});var r=s(63907),i=s(74038);function n(e,t=0){const s=e.stride;return Array.from(e.fields.keys()).map(n=>{const u=e.fields.get(n),f=u.constructor.ElementCount,c=function(e){switch(e){case"u8":return r.pe.UNSIGNED_BYTE;case"u16":return r.pe.UNSIGNED_SHORT;case"u32":return r.pe.UNSIGNED_INT;case"i8":return r.pe.BYTE;case"i16":return r.pe.SHORT;case"i32":return r.pe.INT;case"f16":return r.pe.HALF_FLOAT;case"f32":return r.pe.FLOAT;default:throw new Error("BufferType not supported in WebGL")}}(u.constructor.ElementType),h=u.offset,d=u.optional?.glNormalized??!1,l=u.optional?.integer??!1;return new i._(n,f,c,h,s,d,t,l)})}},620(e,t,s){s.d(t,{L:()=>c,MX:()=>u,O_:()=>f,kL:()=>h,vA:()=>n,zH:()=>d});var r=s(48163);s(78955),(0,s(91829).vt)();class i{constructor(e){this.message=e}toString(){return`AssertException: ${this.message}`}}function n(e,t="Assertion"){if(!e){const e=new Error(t).stack;throw new i(`${t} at ${e}`)}}function u(e,t){e||(t=t||"",console.warn("Verify failed: "+t+"\n"+new Error("verify").stack))}function f(e,t,s,r){let i,n=(s[0]-e[0])/t[0],u=(r[0]-e[0])/t[0];n>u&&(i=n,n=u,u=i);let f=(s[1]-e[1])/t[1],c=(r[1]-e[1])/t[1];if(f>c&&(i=f,f=c,c=i),n>c||f>u)return!1;f>n&&(n=f),c<u&&(u=c);let h=(s[2]-e[2])/t[2],d=(r[2]-e[2])/t[2];return h>d&&(i=h,h=d,d=i),!(n>d||h>u||(d<u&&(u=d),u<0))}function c(e,t,s,i,n,u=(0,r.vt)()){const f=(i[n]-s[n])*(t[0]-e[0])-(i[0]-s[0])*(t[n]-e[n]),c=(i[0]-s[0])*(e[n]-s[n])-(i[n]-s[n])*(e[0]-s[0]);if(0===f)return!1;const h=c/f;return u[0]=e[0]+h*(t[0]-e[0]),u[1]=e[n]+h*(t[n]-e[n]),!0}function h(e,t){return Math.log(e)/Math.log(t)}function d(e){return 1===e[0]&&0===e[1]&&0===e[2]&&0===e[3]&&0===e[4]&&1===e[5]&&0===e[6]&&0===e[7]&&0===e[8]&&0===e[9]&&1===e[10]&&0===e[11]&&1===e[15]}},85079(e,t,s){s.d(t,{Sk:()=>u,Xk:()=>i,_u:()=>n});var r=s(21818);function i(e){let t=0;return(0,r.z)(new Map(e.map(({name:e,count:s})=>{const r=[e,t];return 16===s?t+=4:9===s?t+=3:++t,r})))}function n(e){const t=new Map;let s=0;return e.forEach(e=>e.forEach(({name:e,count:r})=>{t.set(e,s),16===r?s+=4:9===r?s+=3:++s})),t}function u(e){return n(Array.from(e.values()).map(({layout:e})=>e))}},74038(e,t,s){s.d(t,{_:()=>r});class r{constructor(e,t,s,r,i,n=!1,u=0,f=!1){this.name=e,this.count=t,this.type=s,this.offset=r,this.stride=i,this.normalized=n,this.divisor=u,this.integer=f}}},63907(e,t,s){s.d(t,{$0:()=>p,C5:()=>l,CQ:()=>T,H0:()=>n,SB:()=>c,WR:()=>r,XN:()=>u,iE:()=>f,ld:()=>h,nI:()=>a,pe:()=>i,r6:()=>o,uH:()=>B,vt:()=>d,xL:()=>E,yI:()=>y});const r={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},i={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},n={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},u=Object.values(n),f={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},c={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},h={FLOAT:i.FLOAT,UNSIGNED_BYTE:i.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:i.BYTE,UNSIGNED_SHORT:i.UNSIGNED_SHORT,SHORT:i.SHORT,UNSIGNED_INT:i.UNSIGNED_INT,INT:i.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269},d={Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12},l=1029,p=0,o=36064,y=36065,a=33306,E=36096,B=36128,T={COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497}}}]);