@arcgis/core 5.1.0-next.113 → 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 (428) hide show
  1. package/Graphic.d.ts +1 -0
  2. package/Map.js +1 -1
  3. package/analysis/ShadowCast/MinDurationOptions.d.ts +3 -5
  4. package/analysis/ShadowCastAnalysis.d.ts +1 -1
  5. package/arcgisGlobal.d.ts +4 -0
  6. package/assets/esri/core/workers/RemoteClient.js +1 -1
  7. package/assets/esri/core/workers/chunks/{31a8bc25aa1441c70caa.js → 009250a7bded12099dd1.js} +1 -1
  8. package/assets/esri/core/workers/chunks/05c47ca3a266a271974b.js +1 -0
  9. package/assets/esri/core/workers/chunks/{29bbc0d6d847b065d10e.js → 062aadf426fe97a76bbb.js} +1 -1
  10. package/assets/esri/core/workers/chunks/0954e82f739d25001bcb.js +1 -0
  11. package/assets/esri/core/workers/chunks/0a530fbbb4486c670ea2.js +1 -0
  12. package/assets/esri/core/workers/chunks/0aaee272520c6e5bb617.js +1 -0
  13. package/assets/esri/core/workers/chunks/{12053c1213465d07d2f6.js → 0b445c1cf281f158c1f1.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{14b7b55c42af65ffa024.js → 0bd2b035c6ee89c725f9.js} +1 -1
  15. package/assets/esri/core/workers/chunks/0ded5c114cbb7574f2f4.js +1 -0
  16. package/assets/esri/core/workers/chunks/102ff3710db4ba5f083d.js +1 -0
  17. package/assets/esri/core/workers/chunks/{7dafe608c224b9d48ffa.js → 115664cb7d7b22a315bb.js} +1 -1
  18. package/assets/esri/core/workers/chunks/123a67e84ed68b96ac59.js +1 -0
  19. package/assets/esri/core/workers/chunks/163ce1be8bfe20e77f97.js +1 -0
  20. package/assets/esri/core/workers/chunks/16713986893adfbc9331.js +1 -0
  21. package/assets/esri/core/workers/chunks/{054ae729e7cefa2c7778.js → 170f8dc97614e9609443.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{9bd713d96502ddc2ce25.js → 1765042635084f75d2b3.js} +1 -1
  23. package/assets/esri/core/workers/chunks/185c670eb99474906836.js +1 -0
  24. package/assets/esri/core/workers/chunks/18ebf1d3ed05c8057f7d.js +1 -0
  25. package/assets/esri/core/workers/chunks/{4a65bc9091d7ea7e80df.js → 19f07c8d0f32ec889861.js} +1 -1
  26. package/assets/esri/core/workers/chunks/1da2c34743897d1b6a24.js +1 -0
  27. package/assets/esri/core/workers/chunks/{ca92176d5348e2c533d7.js → 224a9f39876aa426a9bc.js} +1 -1
  28. package/assets/esri/core/workers/chunks/22d4521637806a8b828f.js +1 -0
  29. package/assets/esri/core/workers/chunks/233ff588798c8a5eedf4.js +1 -0
  30. package/assets/esri/core/workers/chunks/24d9e4f1c7b8ff0d2cce.js +1 -0
  31. package/assets/esri/core/workers/chunks/2562d8905bd05ef6fd07.js +1 -0
  32. package/assets/esri/core/workers/chunks/{8aac1155b8ac071cd2ad.js → 2855357a2c1f2ab03fb7.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{e5d969214d9eda5c0b4c.js → 2a5dbed88bbd96cfac9f.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{33329f5d88e60b4ec568.js → 2a8f198f6c272f92bad5.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{cb3004998eff7c60930e.js → 2b2a09ce14d00b4b1187.js} +1 -1
  36. package/assets/esri/core/workers/chunks/2bcd4d395bfe6a19ccc8.js +1 -0
  37. package/assets/esri/core/workers/chunks/{bd17ac2e6f1eb8cf7abf.js → 2fa080539d039c92ce08.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{ee635172be7fdea69367.js → 3109b05fe4fc40d4f25b.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{92db9a6d273ae2862883.js → 315bf08dff4757ffbed3.js} +1 -1
  40. package/assets/esri/core/workers/chunks/3192586ec7fc73ed1165.js +1 -0
  41. package/assets/esri/core/workers/chunks/{593772bd8b19ac664b29.js → 35527a01d61cabbfd33e.js} +1 -1
  42. package/assets/esri/core/workers/chunks/38ca59db0e8f45bd7811.js +1 -0
  43. package/assets/esri/core/workers/chunks/3b10a962e4ff2f3da5bc.js +1 -0
  44. package/assets/esri/core/workers/chunks/3e9709e61015993b1c7d.js +1 -0
  45. package/assets/esri/core/workers/chunks/41074d383af3662673ca.js +1 -0
  46. package/assets/esri/core/workers/chunks/425c04b26a6ec6d04b08.js +1 -0
  47. package/assets/esri/core/workers/chunks/4364a3e706294bb6ae41.js +1 -0
  48. package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +1 -0
  49. package/assets/esri/core/workers/chunks/49675e77a351abda2728.js +1 -0
  50. package/assets/esri/core/workers/chunks/4cecc582513b8a83f194.js +1 -0
  51. package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +1 -0
  52. package/assets/esri/core/workers/chunks/{8ade869fa9bae446266a.js → 51816d79c6be15e4bfcf.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{cf9b0ba30a75c030ca92.js → 5524a71d1abc9568ce26.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{ba31616de9d73d83d867.js → 557e39e5156b313597f9.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{5ef37f37e405b3bb5450.js → 59dafa1e1340ea4043e6.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{77ac243d4dcd901c2eec.js → 621d71d26bd20e296138.js} +1 -1
  57. package/assets/esri/core/workers/chunks/624b1bb269744142b835.js +1 -0
  58. package/assets/esri/core/workers/chunks/{52a91c314afec70199bc.js → 62b5972d0ef9bf173308.js} +1 -1
  59. package/assets/esri/core/workers/chunks/641b8622fbb93c84671d.js +1 -0
  60. package/assets/esri/core/workers/chunks/643c7506f8fe8e06acd2.js +1 -0
  61. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +1 -0
  62. package/assets/esri/core/workers/chunks/{7e203e947846d40f897e.js → 67dffb896b6ef4b2038b.js} +1 -1
  63. package/assets/esri/core/workers/chunks/696967c8c6f53b94f851.js +1 -0
  64. package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +1 -0
  65. package/assets/esri/core/workers/chunks/7014e73dfd3c8baa704c.js +1 -0
  66. package/assets/esri/core/workers/chunks/728ad5bbbcbf88d6249f.js +1 -0
  67. package/assets/esri/core/workers/chunks/76a9b64fd573775bf6cd.js +1 -0
  68. package/assets/esri/core/workers/chunks/{0d2bc1be5802681666a4.js → 77859a61d059738d057f.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{03a4543b94f9adeb1852.js → 7a3b05e25de2ff150f38.js} +1 -1
  70. package/assets/esri/core/workers/chunks/7bbffe07e62897928773.js +1 -0
  71. package/assets/esri/core/workers/chunks/7c292f7b181f3b93352b.js +1 -0
  72. package/assets/esri/core/workers/chunks/7c2d7df4ef4d775cd648.js +1 -0
  73. package/assets/esri/core/workers/chunks/{6d20d741b8ae1a45b422.js → 7dc2c21d61ba66a3f461.js} +1 -1
  74. package/assets/esri/core/workers/chunks/7df05c3c82cd27b77300.js +1 -0
  75. package/assets/esri/core/workers/chunks/{6c79e8e840c1d027fbb2.js → 7e0daf0864005cdd63c5.js} +1 -1
  76. package/assets/esri/core/workers/chunks/7eb94fc75926bc739233.js +1 -0
  77. package/assets/esri/core/workers/chunks/8461f50e9875db4ccfec.js +1 -0
  78. package/assets/esri/core/workers/chunks/{71e12db99589c98a4357.js → 8477b5fdd99c6ac5c27b.js} +1 -1
  79. package/assets/esri/core/workers/chunks/{be1e4c3ec53fc92a26f1.js → 8598997340682113a2a5.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{2dc2487d05381de07e3f.js → 86229634bf008f53dad4.js} +1 -1
  81. package/assets/esri/core/workers/chunks/86443e47ad99e555753a.js +1 -0
  82. package/assets/esri/core/workers/chunks/8795c4895df229cb471c.js +1 -0
  83. package/assets/esri/core/workers/chunks/87a40e7f79f97ca637a9.js +1 -0
  84. package/assets/esri/core/workers/chunks/{7bc746ea17f4e336e0b0.js → 8b5ee6be52e892fbd325.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{27d6ad4ca5ab8c9d62cd.js → 8c443c52c846a096a250.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{86161025b53b916328ff.js → 8ca88cfc0b9f84dc5832.js} +1 -1
  87. package/assets/esri/core/workers/chunks/{340f2c996f62f7f5ceae.js → 8e7ce4835b3106349684.js} +1 -1
  88. package/assets/esri/core/workers/chunks/90b0fe5584fb6fc99766.js +1 -0
  89. package/assets/esri/core/workers/chunks/9133c1b7cc1c9da27deb.js +1 -0
  90. package/assets/esri/core/workers/chunks/{d4749eb8a47869477037.js → 9250615c78f8570a9cda.js} +1 -1
  91. package/assets/esri/core/workers/chunks/927c8ca7fd385b28a1b7.js +640 -0
  92. package/assets/esri/core/workers/chunks/92a7735973b2f82a66ce.js +1 -0
  93. package/assets/esri/core/workers/chunks/942e527b9b92999886c7.js +1 -0
  94. package/assets/esri/core/workers/chunks/94a5a834e32fc6cc6ed4.js +1 -0
  95. package/assets/esri/core/workers/chunks/986d8c3907aeeb18c4f6.js +1 -0
  96. package/assets/esri/core/workers/chunks/98e489c2b85feded7776.js +1 -0
  97. package/assets/esri/core/workers/chunks/{eb1d6614eeac6d26bb9c.js → 9a3344f1dd22c425b8cc.js} +1 -1
  98. package/assets/esri/core/workers/chunks/9a6e62ef984e9c5babc4.js +1 -0
  99. package/assets/esri/core/workers/chunks/{271e42b7cd3c3441839e.js → 9eab1e1535494ff2050d.js} +10 -22
  100. package/assets/esri/core/workers/chunks/{466c250537415f12eb59.js → a01f0ffbe555f690bdca.js} +1 -1
  101. package/assets/esri/core/workers/chunks/a03c4c0bf138734a002e.js +1 -0
  102. package/assets/esri/core/workers/chunks/a0b6eef4890cc61609dc.js +1 -0
  103. package/assets/esri/core/workers/chunks/{f37be7e517f0892014e3.js → a320c69bc7528ff0d0cf.js} +1 -1
  104. package/assets/esri/core/workers/chunks/{660713adb5a845dfa2ef.js → a40003dfe3c081d1a1d2.js} +1 -1
  105. package/assets/esri/core/workers/chunks/a814069325125466506b.js +1 -0
  106. package/assets/esri/core/workers/chunks/{e4b2120d7ee1c998b1fc.js → aa03f770178693167aa0.js} +1 -1
  107. package/assets/esri/core/workers/chunks/aea439d4c2308f88b295.js +1 -0
  108. package/assets/esri/core/workers/chunks/{7995e6983456c779adf9.js → b002304a45856b024b46.js} +1 -1
  109. package/assets/esri/core/workers/chunks/b0c242c4f5412e4cce73.js +1 -0
  110. package/assets/esri/core/workers/chunks/b44f1d08784f2e50c853.js +1 -0
  111. package/assets/esri/core/workers/chunks/b5937ce657c1fff3864f.js +1 -0
  112. package/assets/esri/core/workers/chunks/b7a0a5b895ddd2d3d038.js +1 -0
  113. package/assets/esri/core/workers/chunks/{f3161c47a572194f6017.js → c06ae3a6ecc4a4fc67b2.js} +1 -1
  114. package/assets/esri/core/workers/chunks/c1b6de0d728d25d7905a.js +1 -0
  115. package/assets/esri/core/workers/chunks/{970e91de5dfbbc247afb.js → c5b7ff8650235c464dbf.js} +1 -1
  116. package/assets/esri/core/workers/chunks/c8dedc010fcc2382af24.js +1 -0
  117. package/assets/esri/core/workers/chunks/{f8b884b529064df4a30a.js → caf80facb0322be054ab.js} +1 -1
  118. package/assets/esri/core/workers/chunks/{5a6523c903b11dea77d4.js → cdef9c3f80588ae45a04.js} +1 -1
  119. package/assets/esri/core/workers/chunks/{25d795a1697803d77e56.js → ce0e627a5e1cb78adce8.js} +1 -1
  120. package/assets/esri/core/workers/chunks/{e973cab79ec2541cb81b.js → d19600336cb6023d3e34.js} +1 -1
  121. package/assets/esri/core/workers/chunks/{10491b5b106bc5ad0b2b.js → d66f68a811c90739951a.js} +1 -1
  122. package/assets/esri/core/workers/chunks/{63378b0b4265a547656b.js → d8ec0afb2b91ccf32e55.js} +1 -1
  123. package/assets/esri/core/workers/chunks/d97c0c18202b8c578f8c.js +1 -0
  124. package/assets/esri/core/workers/chunks/da3c54e27a808f4fcc18.js +1 -0
  125. package/assets/esri/core/workers/chunks/db012650fb34c10cecd0.js +1 -0
  126. package/assets/esri/core/workers/chunks/dc6d50e1097a920ff820.js +1 -0
  127. package/assets/esri/core/workers/chunks/dce37324a2382d2eef0d.js +1 -0
  128. package/assets/esri/core/workers/chunks/e0bd550b10dd402c48f1.js +1 -0
  129. package/assets/esri/core/workers/chunks/{63513e706fe55a1def15.js → e227ae2c1a63e30e62d9.js} +1 -1
  130. package/assets/esri/core/workers/chunks/{e4c350dc65aae121171d.js → e29d182460564c2a52ad.js} +1 -1
  131. package/assets/esri/core/workers/chunks/e2ba57f7119b7182ba02.js +279 -0
  132. package/assets/esri/core/workers/chunks/e755477dc78e9d6038d4.js +1 -0
  133. package/assets/esri/core/workers/chunks/ea4057090cf15d602585.js +1 -0
  134. package/assets/esri/core/workers/chunks/ea8f642b1db933d2c26f.js +1 -0
  135. package/assets/esri/core/workers/chunks/eabd4a78221b7e733793.js +1 -0
  136. package/assets/esri/core/workers/chunks/eb16976b4eb7f1300f4a.js +1 -0
  137. package/assets/esri/core/workers/chunks/efae58f746b108163a50.js +1 -0
  138. package/assets/esri/core/workers/chunks/f0b5c140a5ba174572b6.js +1 -0
  139. package/assets/esri/core/workers/chunks/f231548c8ac7ecb59927.js +1 -0
  140. package/assets/esri/core/workers/chunks/{ce3b5b83237cf37ff523.js → f286680e363eefdf27df.js} +1 -1
  141. package/assets/esri/core/workers/chunks/f7698c855800e0af3038.js +1 -0
  142. package/assets/esri/core/workers/chunks/f931d560f3f14598f454.js +1 -0
  143. package/assets/esri/core/workers/chunks/fe2325efd0d8ad8369ed.js +1 -0
  144. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  145. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  146. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +26 -3
  147. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -13
  148. package/assets/esri/themes/dark/main.css +1 -1
  149. package/assets/esri/themes/light/main.css +1 -1
  150. package/assets/esri/themes/light/view.css +1 -1
  151. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery.json +1 -1
  152. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_en.json +1 -1
  153. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
  154. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
  155. package/chunks/GlobalIllumination.glsl.js +22 -34
  156. package/chunks/Path.glsl.js +22 -17
  157. package/config.js +1 -1
  158. package/core/screenUtils.js +1 -1
  159. package/core/typedArrayUtil.js +1 -1
  160. package/editing/templates/TemplateListing.d.ts +32 -0
  161. package/editing/templates/TemplateListing.js +2 -0
  162. package/geometry/support/DoubleArray.js +1 -1
  163. package/geometry/support/Indices.js +1 -1
  164. package/geometry/support/buffer/BufferView.js +1 -1
  165. package/geometry/support/heightModelInfoUtils.js +1 -1
  166. package/interfaces.d.ts +14 -0
  167. package/kernel.js +1 -1
  168. package/layers/AnnotationLayer.d.ts +42 -0
  169. package/layers/AnnotationLayer.js +2 -0
  170. package/layers/DimensionFeatureLayer.d.ts +36 -1
  171. package/layers/DimensionFeatureLayer.js +1 -1
  172. package/layers/DimensionLayer.d.ts +22 -0
  173. package/layers/FeatureLayer.d.ts +15 -12
  174. package/layers/FeatureLayer.js +1 -1
  175. package/layers/GaussianSplatLayer.d.ts +22 -0
  176. package/layers/LineOfSightLayer.d.ts +22 -0
  177. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  178. package/layers/PointCloudLayer.d.ts +22 -0
  179. package/layers/ViewshedLayer.d.ts +22 -0
  180. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  181. package/layers/graphics/sources/support/MemorySourceWorker.js +1 -1
  182. package/layers/support/Field.d.ts +1 -0
  183. package/layers/support/Field.js +1 -1
  184. package/layers/support/SceneModification.js +1 -1
  185. package/layers/support/types.d.ts +1 -1
  186. package/layers/types.d.ts +2 -1
  187. package/networks/support/networkFieldUtils.js +1 -1
  188. package/package.json +1 -1
  189. package/rest/support/OutDistance.js +1 -1
  190. package/rest/support/Query.d.ts +1 -0
  191. package/rest/support/Query.js +1 -1
  192. package/support/basemapEnsureType.js +1 -1
  193. package/support/revision.js +1 -1
  194. package/symbols/cim/CIMOperators.js +1 -1
  195. package/symbols/cim/CIMSymbolHelper.js +1 -1
  196. package/symbols/cim/animationUtils.js +1 -1
  197. package/symbols/cim/defaultCIMValues.js +1 -1
  198. package/symbols/cim/utils.js +1 -1
  199. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  200. package/views/2d/engine/webgl/animations/instructions.js +1 -1
  201. package/views/2d/engine/webgl/mesh/factories/FeatureMeshFactory.js +1 -1
  202. package/views/2d/engine/webgl/mesh/factories/ResourceProxy.js +1 -1
  203. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  204. package/views/2d/engine/webgl/shaderGraph/techniques/createTestMeshData.js +1 -1
  205. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  206. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  207. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
  208. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  209. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ViewInfo.js +1 -1
  210. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
  211. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  212. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  213. package/views/2d/engine/webgl/util/AnnotationMatcher.js +2 -0
  214. package/views/2d/engine/webgl/util/DimensionMatcher.js +2 -0
  215. package/views/2d/engine/webgl/util/Matcher.js +1 -1
  216. package/views/2d/engine/webgl/util/createMatcher.js +1 -1
  217. package/views/2d/layerViewModuleImportUtils.js +1 -1
  218. package/views/2d/layers/AnnotationLayerView2D.js +2 -0
  219. package/views/2d/layers/{DimensionLayerView2D.js → DimensionFeatureLayerView2D.js} +1 -1
  220. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  221. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  222. package/views/2d/layers/RouteLayerView2D.js +1 -1
  223. package/views/2d/layers/TileLayerView2D.js +1 -1
  224. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  225. package/views/2d/layers/features/FeatureContainer.js +1 -1
  226. package/views/2d/layers/features/Processor.js +1 -1
  227. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +2 -0
  228. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  229. package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
  230. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  231. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  232. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  233. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  234. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  235. package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
  236. package/views/2d/layers/features/layerAdapters/StreamLayerAdapter.js +1 -1
  237. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  238. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  239. package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
  240. package/views/2d/layers/features/support/FeatureMetadata.js +1 -1
  241. package/views/2d/layers/features/support/FeatureSetReaderAnnotationJSON.js +2 -0
  242. package/views/2d/layers/features/support/FeatureSetReaderDimensionJSON.js +2 -0
  243. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  244. package/views/2d/layers/support/annodime/DimensionInfo.js +2 -0
  245. package/views/2d/layers/support/annodime/DimensionMatcherSchema.js +2 -0
  246. package/views/2d/layers/support/annodime/PrivateDimensionEffect.js +2 -0
  247. package/views/2d/layers/support/annodime/PrivatePlacementMultipoint.js +2 -0
  248. package/views/2d/layers/support/annodime/annotationGraphic.js +2 -0
  249. package/views/2d/layers/support/annodime/annotationSchema.js +2 -0
  250. package/views/2d/layers/support/annodime/annotationUtils.js +2 -0
  251. package/views/2d/layers/support/annodime/cimAnnotations.js +2 -0
  252. package/views/2d/layers/support/annodime/dimensionSchema.js +2 -0
  253. package/views/2d/layers/support/annodime/dimensionSymbols.js +2 -0
  254. package/views/2d/layers/support/annodime/dimensionUtils.js +2 -0
  255. package/views/2d/layers/support/annodime/fields.js +2 -0
  256. package/views/2d/layers/support/annodime/unsupported.js +2 -0
  257. package/views/2d/layers/support/annodime/utils.js +2 -0
  258. package/views/2d/layers/support/annodime/virtualFields.js +2 -0
  259. package/views/2d/support/clippingUtils.js +1 -1
  260. package/views/2d/support/hitTestUtils.js +1 -1
  261. package/views/2d/types.d.ts +5 -1
  262. package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +1 -1
  263. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  264. package/views/3d/input/SceneInputManager.js +1 -1
  265. package/views/3d/layerViewModuleImportUtils.js +1 -1
  266. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  267. package/views/3d/layers/IntegratedMesh3DTilesLayerWorkerHandle.js +1 -1
  268. package/views/3d/layers/MapImageLayerView3D.js +1 -1
  269. package/views/3d/layers/TileLayerView3D.js +1 -1
  270. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  271. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  272. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  273. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  274. package/views/3d/layers/graphics/extrudeUtils.js +1 -1
  275. package/views/3d/layers/graphics/tessellationUtils.js +1 -1
  276. package/views/3d/support/engineContent/line.js +1 -1
  277. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  278. package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
  279. package/views/3d/types.d.ts +2 -0
  280. package/views/3d/webgl-engine/collections/Component/RenderSubmitSystem.js +1 -1
  281. package/views/3d/webgl-engine/core/renderPasses/RenderPass.js +1 -1
  282. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +8 -8
  283. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +225 -0
  284. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexInfo.glsl.js +19 -0
  285. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +55 -40
  286. package/views/3d/webgl-engine/core/shaderModules/Float2sPassUniform.js +2 -0
  287. package/views/3d/webgl-engine/core/shaderModules/IntegersPassUniform.js +2 -0
  288. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.glsl.js +1 -1
  289. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  290. package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
  291. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  292. package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
  293. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  294. package/views/3d/webgl-engine/lib/PathProfile.js +1 -1
  295. package/views/3d/webgl-engine/lib/PathVertex.js +1 -1
  296. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  297. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  298. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +1 -1
  299. package/views/3d/webgl-engine/materials/PathLayouts.js +1 -1
  300. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  301. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  302. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  303. package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +18 -1
  304. package/views/PopupView.d.ts +3 -3
  305. package/views/PopupView.js +1 -1
  306. package/views/SceneView.js +1 -1
  307. package/views/View2D.d.ts +1 -1
  308. package/views/View2D.js +1 -1
  309. package/views/draw/DrawTool.d.ts +34 -1
  310. package/views/input/EventMatch.js +1 -1
  311. package/views/layers/AnnotationLayerView.d.ts +18 -0
  312. package/views/layers/AnnotationLayerView.js +2 -0
  313. package/views/layers/DimensionFeatureLayerView.d.ts +18 -0
  314. package/views/layers/DimensionFeatureLayerView.js +2 -0
  315. package/views/layers/FeatureLikeLayerView.d.ts +2 -1
  316. package/views/layers/FeatureLikeLayerView.js +1 -1
  317. package/views/layers/ImageryLayerView.js +1 -1
  318. package/views/layers/ImageryTileLayerView.js +1 -1
  319. package/views/layers/WMSLayerView.js +1 -1
  320. package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
  321. package/widgets/BasemapToggle/BasemapToggleViewModel.js +1 -1
  322. package/widgets/BatchAttributeForm/css.js +1 -1
  323. package/widgets/BatchAttributeForm/rendered-content/RelationshipDetails.js +2 -0
  324. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  325. package/widgets/BatchAttributeForm.js +1 -1
  326. package/widgets/Directions/DirectionsViewModel.js +1 -1
  327. package/widgets/Directions.js +1 -1
  328. package/widgets/FeatureForm.js +1 -1
  329. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +7 -1
  330. package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
  331. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  332. package/widgets/FeatureTable/support/types.d.ts +11 -1
  333. package/widgets/FeatureTable.d.ts +7 -1
  334. package/widgets/FeatureTable.js +1 -1
  335. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  336. package/widgets/OrientedImageryViewer/css.js +1 -1
  337. package/widgets/OrientedImageryViewer.js +1 -1
  338. package/widgets/support/iconUtils.js +1 -1
  339. package/assets/esri/core/workers/chunks/0175098da590a7109539.js +0 -1
  340. package/assets/esri/core/workers/chunks/01c70c27aa3a955e2928.js +0 -262
  341. package/assets/esri/core/workers/chunks/02c0640005b09007bb70.js +0 -1
  342. package/assets/esri/core/workers/chunks/040884cec4b84dd1bb17.js +0 -1
  343. package/assets/esri/core/workers/chunks/04ea806b933d4dd41609.js +0 -1
  344. package/assets/esri/core/workers/chunks/0550dc63b6b1274242b8.js +0 -1
  345. package/assets/esri/core/workers/chunks/0c8e6ccb5a8174718d62.js +0 -640
  346. package/assets/esri/core/workers/chunks/13a8346abe5509167578.js +0 -1
  347. package/assets/esri/core/workers/chunks/13d43a0683c42b94feb6.js +0 -1
  348. package/assets/esri/core/workers/chunks/13f0e08de2dfab07d212.js +0 -1
  349. package/assets/esri/core/workers/chunks/1c0e8808d14d8e6dde2c.js +0 -1
  350. package/assets/esri/core/workers/chunks/1c8c8050d60205cf2156.js +0 -1
  351. package/assets/esri/core/workers/chunks/1ebb613bbe09fcf274d8.js +0 -1
  352. package/assets/esri/core/workers/chunks/23119a1b1310b7dab2aa.js +0 -1
  353. package/assets/esri/core/workers/chunks/282f3d364411efac7b80.js +0 -1
  354. package/assets/esri/core/workers/chunks/2b9661700743d1f9717e.js +0 -1
  355. package/assets/esri/core/workers/chunks/2f0a3b22fc46d832e240.js +0 -1
  356. package/assets/esri/core/workers/chunks/2ffffc1931b2e27c6617.js +0 -1
  357. package/assets/esri/core/workers/chunks/313a89b334e3518d30a4.js +0 -1
  358. package/assets/esri/core/workers/chunks/34c11e7c8762fe0c19fb.js +0 -1
  359. package/assets/esri/core/workers/chunks/3835097520296b0517af.js +0 -1
  360. package/assets/esri/core/workers/chunks/389e57aab12d52d72695.js +0 -1
  361. package/assets/esri/core/workers/chunks/3fed503185ea1913fb84.js +0 -1
  362. package/assets/esri/core/workers/chunks/4020f95d8131493f799e.js +0 -1
  363. package/assets/esri/core/workers/chunks/4255ad7601c7a7621b71.js +0 -1
  364. package/assets/esri/core/workers/chunks/453c3b265481c80fc625.js +0 -1
  365. package/assets/esri/core/workers/chunks/4605a68e40c5c3ac6e3e.js +0 -1
  366. package/assets/esri/core/workers/chunks/4a41f98210f1da3b5041.js +0 -1
  367. package/assets/esri/core/workers/chunks/4afe76de6e82e86fe697.js +0 -1
  368. package/assets/esri/core/workers/chunks/4b130db9b7b4e2e32ea4.js +0 -1
  369. package/assets/esri/core/workers/chunks/4c5cdd2712c938fafc5d.js +0 -1
  370. package/assets/esri/core/workers/chunks/4fa3840672c33adb9171.js +0 -1
  371. package/assets/esri/core/workers/chunks/5a85cbc04c64091d7f46.js +0 -1
  372. package/assets/esri/core/workers/chunks/5d60253ea3d247cdb3d1.js +0 -1
  373. package/assets/esri/core/workers/chunks/5e5c7cc74ff1c9603aff.js +0 -1
  374. package/assets/esri/core/workers/chunks/5ea0096a282e87a269bd.js +0 -1
  375. package/assets/esri/core/workers/chunks/601edefd8da4eb2eda28.js +0 -1
  376. package/assets/esri/core/workers/chunks/63ea9035dcf9ce45560c.js +0 -1
  377. package/assets/esri/core/workers/chunks/66fe1634c6e8f72fc653.js +0 -1
  378. package/assets/esri/core/workers/chunks/6b66a6f69aa03338c346.js +0 -1
  379. package/assets/esri/core/workers/chunks/6d59a9cf533ebc590f70.js +0 -1
  380. package/assets/esri/core/workers/chunks/6f02681bcaa9bef501fc.js +0 -1
  381. package/assets/esri/core/workers/chunks/7b66691d133dabd87ce6.js +0 -1
  382. package/assets/esri/core/workers/chunks/7c077e1a63ab97bf3e87.js +0 -1
  383. package/assets/esri/core/workers/chunks/7dc9ff66e1eceadbae24.js +0 -1
  384. package/assets/esri/core/workers/chunks/825db2ea15308ee6e5dc.js +0 -1
  385. package/assets/esri/core/workers/chunks/85a200aecc7a844c9566.js +0 -1
  386. package/assets/esri/core/workers/chunks/89250d268dc2554a9ece.js +0 -1
  387. package/assets/esri/core/workers/chunks/8c8fed53c12fb80ef2ed.js +0 -1
  388. package/assets/esri/core/workers/chunks/8ff83c59462dea6e3427.js +0 -1
  389. package/assets/esri/core/workers/chunks/958617c3a9854ea04e06.js +0 -1
  390. package/assets/esri/core/workers/chunks/9890c85a238879490926.js +0 -1
  391. package/assets/esri/core/workers/chunks/a001e7e8a39f27284d87.js +0 -1
  392. package/assets/esri/core/workers/chunks/a5b9ae4c93f9af7589f2.js +0 -1
  393. package/assets/esri/core/workers/chunks/a93a058678c8c8996d54.js +0 -1
  394. package/assets/esri/core/workers/chunks/a9c9c00432ee41ec91ba.js +0 -1
  395. package/assets/esri/core/workers/chunks/acb8cff06142f828fb78.js +0 -1
  396. package/assets/esri/core/workers/chunks/af762422a65c551dcd54.js +0 -1
  397. package/assets/esri/core/workers/chunks/b041c22885193bdd3004.js +0 -1
  398. package/assets/esri/core/workers/chunks/b3e8ab68fc38306f13c6.js +0 -1
  399. package/assets/esri/core/workers/chunks/b432a5a829e309837db6.js +0 -1
  400. package/assets/esri/core/workers/chunks/b4badbcf1bdb7823d825.js +0 -1
  401. package/assets/esri/core/workers/chunks/b891d95b7858665cd6c1.js +0 -1
  402. package/assets/esri/core/workers/chunks/bb2f6b0fcdfb8b158e26.js +0 -1
  403. package/assets/esri/core/workers/chunks/c0c693c2e0043ecba4a5.js +0 -1
  404. package/assets/esri/core/workers/chunks/c5ab346a226df1894302.js +0 -1
  405. package/assets/esri/core/workers/chunks/c91d4f1b42cfe474df52.js +0 -1
  406. package/assets/esri/core/workers/chunks/cedf3e316d6f89cf7005.js +0 -1
  407. package/assets/esri/core/workers/chunks/d33a08e5f589355c57a3.js +0 -1
  408. package/assets/esri/core/workers/chunks/d52172439db02a349542.js +0 -1
  409. package/assets/esri/core/workers/chunks/dd29fd1b3da90d3ca6b1.js +0 -1
  410. package/assets/esri/core/workers/chunks/e393fd61deb2e7f22ee6.js +0 -1
  411. package/assets/esri/core/workers/chunks/e8518bd3596543b387f8.js +0 -1
  412. package/assets/esri/core/workers/chunks/ecf4d07917efc97eb991.js +0 -1
  413. package/assets/esri/core/workers/chunks/eda51e512eff551ad858.js +0 -1
  414. package/assets/esri/core/workers/chunks/ee56290e600cbeb25a00.js +0 -1
  415. package/assets/esri/core/workers/chunks/f14e3693cd644265f909.js +0 -1
  416. package/assets/esri/core/workers/chunks/f52c6efc5a2abf5ac845.js +0 -1
  417. package/assets/esri/core/workers/chunks/f635a8e3b0bfeda99ed5.js +0 -1
  418. package/assets/esri/core/workers/chunks/f91a2c69a93295cf4de6.js +0 -1
  419. package/assets/esri/core/workers/chunks/fec3fffcf854a6226df4.js +0 -1
  420. package/symbols/dimensions/effects/LinearDimensionArrowEffect.js +0 -2
  421. package/symbols/dimensions/effects/LinearDimensionExtensionLineEffect.js +0 -2
  422. package/symbols/dimensions/effects/LinearDimensionLeaderLineEffect.js +0 -2
  423. package/symbols/dimensions/effects/LinearDimensionLineEffect.js +0 -2
  424. package/symbols/dimensions/effects/LinearDimensionPointEffect.js +0 -2
  425. package/symbols/dimensions/effects/LinearDimensionTextEffect.js +0 -2
  426. package/views/2d/layers/features/support/FeatureSetReaderDimension.js +0 -2
  427. package/views/3d/webgl-engine/effects/globalIllumination/BlueNoise.js +0 -2
  428. package/views/layers/support/dimensionUtils.js +0 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5611,8125,9285,9397],{9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(t,e,n,r,s,a,i,o,u,h,c,f,l,m,g,x){return[t,e,n,r,s,a,i,o,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>b,Bw:()=>a,C:()=>i,Cc:()=>V,DI:()=>E,Il:()=>B,Io:()=>d,Ln:()=>M,Om:()=>I,Qr:()=>f,Re:()=>h,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>A,_S:()=>m,aI:()=>F,ei:()=>Z,fw:()=>O,g7:()=>S,gL:()=>w,hG:()=>y,hZ:()=>o,hs:()=>p,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>N,t2:()=>Y,tn:()=>l,uE:()=>G,xg:()=>L,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function M(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function P(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function I(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function b(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2];return t[0]=s*u-a*o,t[1]=a*i-r*u,t[2]=r*o-s*i,t}function V(t,e,n,r){const s=e[0],a=e[1],i=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function A(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function Z(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function w(t,e,n){return O(t,e,n[0],n[1],n[2],n[3])}function O(t,e,n,r,s,a){const i=e[0],o=e[1],u=e[2],h=r*u-s*o,c=s*i-n*u,f=n*o-r*i,l=r*f-s*c,m=s*h-n*f,g=n*c-r*h,x=2*a;return t[0]=i+h*x+2*l,t[1]=o+c*x+2*m,t[2]=u+f*x+2*g,t}function S(t,e){P(R,t),P(_,e);const n=I(R,_);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),_=(0,r.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],o=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-i)<=h*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=h*Math.max(1,Math.abs(a),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let i=r*r+s*s+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=s*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,X=c,z=f,L=d,k=y,B=a,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:S,bezier:function(t,e,n,r,s,a){const i=1-a,o=i*i,u=a*a,h=o*i,c=3*a*o,f=3*u*i,l=u*a;return t[0]=e[0]*h+n[0]*c+r[0]*f+s[0]*l,t[1]=e[1]*h+n[1]*c+r[1]*f+s[1]*l,t[2]=e[2]*h+n[2]*c+r[2]*f+s[2]*l,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:b,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2],h=s*u-a*o,c=a*i-r*u,f=r*o-s*i,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:N,dist:L,distance:d,div:z,divide:f,dot:I,equals:F,exactEquals:Y,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,a){const i=a*a,o=i*(2*a-3)+1,u=i*(a-2)+a,h=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*o+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*o+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:B,length:a,lerp:V,max:x,min:g,mul:X,multiply:c,negate:C,normalize:P,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:M,set:o,sign:m,sqrDist:k,sqrLen:G,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:Z,transformMat4:A,transformQuat:w,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>a,qK:()=>c});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?i(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>b,ME:()=>E,MY:()=>V,NO:()=>C,Nh:()=>I,V2:()=>S,_s:()=>R,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var r=n(5482),s=n(69397),a=n(16930),i=(n(70328),n(19419)),o=n(60408),u=n(21325),h=n(513),c=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:i,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=a,this.partCount=i,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:a,segmentCountBezier:i}=this,o=S(t,e,n,r,s,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,n+1)),o.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(n.subarray(0,e),0),o.segmentParams.set(r.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new M(this):[][Symbol.iterator]()}}class M{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=w(t),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=w(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],i=e[n++],o=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[h,c]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[o,u],f,l,i,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(n,new A(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:o}=t,u=Z(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new A(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[a,o,h,c]=s;e={xmin:a,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,i;t=r=1/0,a=i=-1/0;for(let e=0;e<n;++e){const n=s[2*e],o=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,o),i=Math.max(i,o)}e={xmin:t,ymin:r,xmax:a,ymax:i,spatialReference:u}}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(o){let t=1/0,n=-1/0;for(const e of o)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,o.fT)(t)){r="point";const{x:s,y:a,z:i,m:o}=t,u=[s,a];null!=i&&u.push(i),null!=o&&u.push(o),n=[[u]],e=1}else(0,o.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=S(r,e,r.includes("point")?0:n.length,(0,o.Pv)(t),(0,o.W0)(t),(0,l.Ed)(t)),{hasZ:a,hasM:i,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(h[g]=t[2]),i&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!i){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:p}=s;let M=0;if(!(0,l.Ed)(t)){for(const t of n){if(p[M++]=g,0===t.length)continue;let e=t.length;if(x&&O(t[0],t.at(-1))&&--e,a||i)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return p[M]=g,s}function d(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let y=0;for(const t of n){if(s.partOffsets[M++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const a=g-1;(0,l.wY)(r)?(d(10),++s.segmentCountArc,y=R(n,r,s,a,y),n=r.a[0]):(0,l.DA)(r)?(d(10),++s.segmentCountArc,y=_(n,r,s,a,y),n=r.a[0]):(0,l.aO)(r)?(d(10),++s.segmentCountArc,y=Y(n,r,s,a,y),n=r.c[0]):(0,l.n1)(r)?(d(4),++s.segmentCountBezier,y=N(0,r,s,a,y),n=r.b[0]):n=r}x&&O(e,n)||f(n)}return s.partOffsets[M]=g,s}function P(t){const e=w(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,i=Z(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:i}}let o=0;if("multipoint"===t.type){const t=[];for(;o<n;)t.push(e(o++));return{points:t,spatialReference:i,hasZ:s,hasM:a}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],a=new Array;for(;o<r;)a.push(e(o++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:i}:{paths:n,hasZ:s,hasM:a,spatialReference:i}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:a,spatialReference:i}:{paths:[],curvePaths:h,hasZ:s,hasM:a,spatialReference:i}}function I(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const i=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?i:0);r??=!1,s??=!1;const h=S(t,u,i,r,s,!1,0,0);if(h.spatialReference=a??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],a=e+t-Number(o);h.partOffsets[++l]=a;for(let t=e;t<a;++t)h.vertexXY[2*t]=n[f++],h.vertexXY[2*t+1]=n[f++],r&&(h.vertexZ[t]=n[f++]),s&&(h.vertexM[t]=n[f++]);o&&(f+=c)}return h}function b({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:i,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);a=Math.max(a,1);const c="polygon"===t;let f=0;for(let t=0;t<a;++t){const a=i?.[t+1]??e,l=h.coords.length;for(let t=f;t<a;++t)h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=a}return"point"===t&&(h.lengths.length=0),h}function V(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let i=t.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:i}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class A{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function Z({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function w({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,n)=>t===e[n])}function S(t,e,n,r,s,a,i,o){i??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:i,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),a&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(X),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const[o,[u,h],c,f,l,m,x]=e.a;let p=4;f||(p|=1),c||(p|=2);const M=(0,g.SW)(t,e),[d,y]=(0,g.Uk)(M,.5);return s[i++]=p,s[i++]=m,s[i++]=x,s[i++]=l,s[i++]=u,s[i++]=h,s[i++]=M.u2-M.u1,s[i++]=M.u1,s[i++]=d,s[i++]=y,i}function _(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const o=(0,m.io)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,i)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){return n[a]=4,r[a]=i,F((0,c.pM)(t,e),0,...e.c[1],s,i)}function F(t,e,n,r,s,a){const{cx:i,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=c,s[a++]=1,s[a++]=0,s[a++]=i,s[a++]=o,s[a++]=h-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function N(t,{b:[e,[n,r],[s,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:u},h,c){return i[h]=2,o[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=a,c}const T=1.61803,X=-1},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>M,fromPoint:()=>d,fromPolygon:()=>y,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>I,toGeometry:()=>P,toMultipoint:()=>b,toPoint:()=>V,toPolygon:()=>A,toPolyline:()=>Z});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),i=n(88885),o=n(5443),u=n(48526),h=n(86738),c=n(39829),f=n(82799),l=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return M(t);case"polyline":return v(t);case"polygon":return y(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const e=new i.d,n=new a.P,r=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),o&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,l.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,l.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,l.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,l.fromSpatialReference)(t),t.cache[m]):(0,l.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return V(t,e);case s.G.enumEnvelope:return I(t,e);case s.G.enumMultiPoint:return b(t,e);case s.G.enumPolyline:return Z(t,e);case s.G.enumPolygon:return A(t,e)}return null}function I(t,e){if(t.isEmpty())return null;const n=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function b(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],o=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),i.push(n)}const h=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return h.setCacheValue(m,t),h}function V(t,e){if(t instanceof r.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=c.A.fromJSON({...(0,l.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function Z(t,e){if(t.isEmpty())return null;const n=f.A.fromJSON({...(0,l.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>u,cj:()=>o,jh:()=>a,l5:()=>i});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function o(t){return[...t]}function u(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>M,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>a,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=s,o[5]=i,o}function o(t,e=a()){return function(t,e,n,r=a()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],i=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),o=Math.max(o,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=i,t[3]=o,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,a,i,o,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=o,e[8]=a,e[9]=n,e[10]=o,e[11]=u,e[12]=i,e[13]=r,e[14]=a,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=o,e[20]=a,e[21]=i,e[22]=o,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function p(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}function M(t){return t?p(t,E):a(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function y(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];a()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const a=n-t,i=r-e;return new s([5],[t,e,a,0,0,i,-a,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],a=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),o=this.coords[n],u=this.coords[n+1];t+=-.5*(o-s)*(u+a),s=o,a=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5611,8125,9285,9397],{9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x){return[t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>A,Bw:()=>a,C:()=>i,Cc:()=>I,DI:()=>E,Il:()=>B,Io:()=>M,Ln:()=>y,Om:()=>b,Qr:()=>l,Re:()=>h,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>V,_S:()=>m,aI:()=>F,ei:()=>Z,fw:()=>O,g7:()=>S,gL:()=>w,hG:()=>d,hZ:()=>o,hs:()=>p,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>N,t2:()=>Y,tn:()=>f,uE:()=>G,xg:()=>L,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function x(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function P(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function A(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2];return t[0]=s*u-a*o,t[1]=a*i-r*u,t[2]=r*o-s*i,t}function I(t,e,n,r){const s=e[0],a=e[1],i=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function V(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function Z(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function w(t,e,n){return O(t,e,n[0],n[1],n[2],n[3])}function O(t,e,n,r,s,a){const i=e[0],o=e[1],u=e[2],h=r*u-s*o,c=s*i-n*u,l=n*o-r*i,f=r*l-s*c,m=s*h-n*l,g=n*c-r*h,x=2*a;return t[0]=i+h*x+2*f,t[1]=o+c*x+2*m,t[2]=u+l*x+2*g,t}function S(t,e){P(R,t),P(_,e);const n=b(R,_);return n>1?0:n<-1?Math.PI:Math.acos(n)}const R=(0,r.vt)(),_=(0,r.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],o=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-i)<=h*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=h*Math.max(1,Math.abs(a),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let i=r*r+s*s+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=s*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,X=c,z=l,L=M,k=d,B=a,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:S,bezier:function(t,e,n,r,s,a){const i=1-a,o=i*i,u=a*a,h=o*i,c=3*a*o,l=3*u*i,f=u*a;return t[0]=e[0]*h+n[0]*c+r[0]*l+s[0]*f,t[1]=e[1]*h+n[1]*c+r[1]*l+s[1]*f,t[2]=e[2]*h+n[2]*c+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:A,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2],h=s*u-a*o,c=a*i-r*u,l=r*o-s*i,f=Math.sqrt(h*h+c*c+l*l);return t[0]=h/f,t[1]=c/f,t[2]=l/f,t},direction:N,dist:L,distance:M,div:z,divide:l,dot:b,equals:F,exactEquals:Y,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,a){const i=a*a,o=i*(2*a-3)+1,u=i*(a-2)+a,h=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*o+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*o+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:B,length:a,lerp:I,max:x,min:g,mul:X,multiply:c,negate:C,normalize:P,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:p,scaleAndAdd:y,set:o,sign:m,sqrDist:k,sqrLen:G,squaredDistance:d,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:Z,transformMat4:V,transformQuat:w,transformQuatValues:O},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>a,qK:()=>c});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n],!1));return e}function i(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=l;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?i(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>A,ME:()=>E,MY:()=>I,NO:()=>C,Nh:()=>b,V2:()=>S,_s:()=>R,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var r=n(5482),s=n(69397),a=n(16930),i=(n(70328),n(19419)),o=n(60408),u=n(21325),h=n(513),c=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:i,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=a,this.partCount=i,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:a,segmentCountBezier:i}=this,o=S(t,e,n,r,s,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,n+1)),o.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(n.subarray(0,e),0),o.segmentParams.set(r.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=w(t),this._segments=new d(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class d{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=w(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],i=e[n++],o=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[h,c]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[o,u],l,f,i,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(n,new V(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:o}=t,u=Z(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new V(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[a,o,h,c]=s;e={xmin:a,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,i;t=r=1/0,a=i=-1/0;for(let e=0;e<n;++e){const n=s[2*e],o=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,o),i=Math.max(i,o)}e={xmin:t,ymin:r,xmax:a,ymax:i,spatialReference:u}}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(o){let t=1/0,n=-1/0;for(const e of o)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,o.fT)(t)){r="point";const{x:s,y:a,z:i,m:o}=t,u=[s,a];null!=i&&u.push(i),null!=o&&u.push(o),n=[[u]],e=1}else(0,o.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,O(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=S(r,e,r.includes("point")?0:n.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:a,hasM:i,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(h[g]=t[2]),i&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!i){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const x="polygon"===r,{partOffsets:p}=s;let y=0;if(!(0,f.Ed)(t)){for(const t of n){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&O(t[0],t.at(-1))&&--e,a||i)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return p[y]=g,s}function M(t){const e=d+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let d=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const a=g-1;(0,f.wY)(r)?(M(10),++s.segmentCountArc,d=R(n,r,s,a,d),n=r.a[0]):(0,f.DA)(r)?(M(10),++s.segmentCountArc,d=_(n,r,s,a,d),n=r.a[0]):(0,f.aO)(r)?(M(10),++s.segmentCountArc,d=Y(n,r,s,a,d),n=r.c[0]):(0,f.n1)(r)?(M(4),++s.segmentCountBezier,d=N(0,r,s,a,d),n=r.b[0]):n=r}x&&O(e,n)||l(n)}return s.partOffsets[y]=g,s}function P(t){const e=w(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,i=Z(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:i}}let o=0;if("multipoint"===t.type){const t=[];for(;o<n;)t.push(e(o++));return{points:t,spatialReference:i,hasZ:s,hasM:a}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],a=new Array;for(;o<r;)a.push(e(o++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:i}:{paths:n,hasZ:s,hasM:a,spatialReference:i}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:a,spatialReference:i}:{paths:[],curvePaths:h,hasZ:s,hasM:a,spatialReference:i}}function b(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const i=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?i:0);r??=!1,s??=!1;const h=S(t,u,i,r,s,!1,0,0);if(h.spatialReference=a??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],a=e+t-Number(o);h.partOffsets[++f]=a;for(let t=e;t<a;++t)h.vertexXY[2*t]=n[l++],h.vertexXY[2*t+1]=n[l++],r&&(h.vertexZ[t]=n[l++]),s&&(h.vertexM[t]=n[l++]);o&&(l+=c)}return h}function A({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:i,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);a=Math.max(a,1);const c="polygon"===t;let l=0;for(let t=0;t<a;++t){const a=i?.[t+1]??e,f=h.coords.length;for(let t=l;t<a;++t)h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=a}return"point"===t&&(h.lengths.length=0),h}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let i=t.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:i}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class V{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function Z({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function w({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function O(t,e){return t.every((t,n)=>t===e[n])}function S(t,e,n,r,s,a,i,o){i??=0,o??=0;const u=new p({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:i,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),a&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(X),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const[o,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[M,d]=(0,g.Uk)(y,.5);return s[i++]=p,s[i++]=m,s[i++]=x,s[i++]=f,s[i++]=u,s[i++]=h,s[i++]=y.u2-y.u1,s[i++]=y.u1,s[i++]=M,s[i++]=d,i}function _(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const o=(0,m.io)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,i)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){return n[a]=4,r[a]=i,F((0,c.pM)(t,e),0,...e.c[1],s,i)}function F(t,e,n,r,s,a){const{cx:i,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=c,s[a++]=1,s[a++]=0,s[a++]=i,s[a++]=o,s[a++]=h-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function N(t,{b:[e,[n,r],[s,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:u},h,c){return i[h]=2,o[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=a,c}const T=1.61803,X=-1},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>M,fromPolygon:()=>d,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>b,toGeometry:()=>P,toMultipoint:()=>A,toPoint:()=>I,toPolygon:()=>V,toPolyline:()=>Z});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),i=n(88885),o=n(5443),u=n(48526),h=n(86738),c=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return M(t);case"multipoint":return y(t);case"polyline":return v(t);case"polygon":return d(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new i.d,n=new a.P,r=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),o&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return b(t,e);case s.G.enumMultiPoint:return A(t,e);case s.G.enumPolyline:return Z(t,e);case s.G.enumPolygon:return V(t,e)}return null}function b(t,e){if(t.isEmpty())return null;const n=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],o=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),i.push(n)}const h=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return h.setCacheValue(m,t),h}function I(t,e){if(t instanceof r.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function V(t,e){if(t.isEmpty())return null;const n=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function Z(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>a,l5:()=>o,yH:()=>u});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return i(t);if(0===t.length)return i(e);const n=a(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function h(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>d,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>a,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=s,o[5]=i,o}function o(t,e=a()){return function(t,e,n,r=a()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],i=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),o=Math.max(o,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=i,t[3]=o,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,a,i,o,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=o,e[8]=a,e[9]=n,e[10]=o,e[11]=u,e[12]=i,e[13]=r,e[14]=a,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=o,e[20]=a,e[21]=i,e[22]=o,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function p(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}function y(t){return t?p(t,E):a(E)}function M(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function d(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];a()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const a=n-t,i=r-e;return new s([5],[t,e,a,0,0,i,-a,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],a=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),o=this.coords[n],u=this.coords[n+1];t+=-.5*(o-s)*(u+a),s=o,a=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
@@ -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}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5816],{68197(t,e,s){s.d(e,{A:()=>l});var n=s(40876),i=s(4576),r=s(34727),o=s(56507);function a(t){return(0,r.qE)((0,o.Vr)(t),0,255)}function h(t,e){const s=t.toString(16).padStart(2,"0");return e?s.slice(0,1):s}class l{static blendColors(t,e,s,n=new l){return n.r=Math.round(t.r+(e.r-t.r)*s),n.g=Math.round(t.g+(e.g-t.g)*s),n.b=Math.round(t.b+(e.b-t.b)*s),n.a=t.a+(e.a-t.a)*s,n._sanitize()}static fromRgb(t,e){const s=(0,n.lT)(t);return s?l.fromArray(s,e):null}static fromHex(t,e=new l){const s=(0,n.oW)(t);return s?l.fromArray(s,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const s=(0,n.Eq)(t);return s?l.fromArray(s,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,i.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,s=t?.digits??6,n=3===s||4===s,i=4===s||8===s,r=`#${h(this.r,n)}${h(this.g,n)}${h(this.b,n)}${i?h(Math.round(255*this.a),n):""}`;return e?r.toUpperCase():r}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),s=a(this.g),n=a(this.b);return 0===t||1!==this.a?[e,s,n,a(255*this.a)]:[e,s,n]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.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(t,e,s,n){this.r=t,this.g=e,this.b=s,this.a=n}}l.prototype.declaredClass="esri.Color"},40876(t,e,s){s.d(e,{Eq:()=>g,G1:()=>d,TS:()=>r,Tf:()=>_,V6:()=>i,Vm:()=>p,ay:()=>h,c1:()=>m,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>v});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(t){return!!n[t]||!!n[t.toLowerCase()]}function r(t){return n[t]??n[t.toLowerCase()]}function o(t){return[...r(t)]}function a(t,e,s){s<0&&++s,s>1&&--s;const n=6*s;return n<1?t+(e-t)*n:2*s<1?e:3*s<2?t+(e-t)*(2/3-s)*6:t}function h(t,e,s,n=1){const i=(t%360+360)%360/360,r=s<=.5?s*(e+1):s+e-s*e,o=2*s-r;return[Math.round(255*a(o,r,i+1/3)),Math.round(255*a(o,r,i)),Math.round(255*a(o,r,i-1/3)),n]}function l(t){const e=t.length>5,s=e?8:4,n=(1<<s)-1,i=e?1:17,r=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return r&&(h=o&n,o>>=s,a[3]=i*h/255),h=o&n,o>>=s,a[2]=i*h,h=o&n,o>>=s,a[1]=i*h,h=o&n,o>>=s,a[0]=i*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,s+16*s,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),s=e[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),f(e)}return f(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function f(t){return t[0]=m(t[0]),t[1]=m(t[1]),t[2]=m(t[2]),t[3]=4===t.length?d(t[3]):1,t}function g(t){let e=i(t)?r(t):null;return e??=u(t),e??=c(t),e}function p(t){const e=g(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function d(t){return b(t,0,1)}function m(t){return Math.round(b(t,0,255))}function b(t,e,s){return t=Number(t),isNaN(t)?s:t<e?e:t>s?s:t}const _=2.2,y=1/_;function v(t){return t**y}},7762(t,e,s){s.d(e,{A:()=>q});var n,i=s(5482),r=s(98291),o=s(4576),a=s(65529),h=s(36563),l=s(4718),c=s(53966),u=s(93687),f=s(76030),g=s(56507),p=s(62788),d=s(10107),m=s(7695),b=s(64108),_=s(95488),y=s(12195);class v{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}}class S{constructor(t,e,s,n,i){this.target=t,this.added=e,this.removed=s,this.start=n,this.deleteCount=i}}const w=new u.A(()=>new v,void 0,t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1});function C(t){t&&"object"==typeof t&&"destroy"in t&&"function"==typeof t.destroy&&t.destroy()}function k(t){return t?t instanceof I?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function A(t){if(t?.length)return t[0]}function M(t,e,s,n){const i=Math.min(t.length-s,e.length-n);let r=0;for(;r<i&&t[s+r]===e[n+r];)r++;return r}function x(t,e,s,n){e&&e.forEach((e,i,r)=>{t.push(e),x(t,s.call(n,e,i,r),s,n)})}const E=new Set,P=new Set,R=new Set,N=new Map;let L=0,I=n=class extends a.nJ{static ofType(t){if(!t)return n;if(N.has(t))return N.get(t);let e=null;if("function"==typeof t)e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(const s in t.typeMap){const n=t.typeMap[s].prototype.declaredClass;e?e+=` | ${n}`:e=n}let s=class extends n{};return(0,i.Cg)([(0,m.u)({Type:t,ensureType:"function"==typeof t?(0,g.dp)(t):(0,g.aq)(t)})],s.prototype,"itemType",void 0),s=(0,i.Cg)([(0,b.$)(`esri.core.Collection<${e}>`)],s),N.set(t,s),s}static isCollection(t){return null!=t&&t instanceof n}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new _.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:L++})}normalizeCtorArgs(t){return t?(0,o.yc)(t)||t instanceof n?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(t){t>this._length?c.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(t,Math.max(0,this._length-t))}get items(){return(0,p.gc)(this._observable),this._items}set items(t){this._emitBeforeChanges(1)||(this._splice(0,this.length,k(t)),this._emitAfterChanges(1))}hasEventListener(t){return!this.destroyed&&("change"===t?this._chgListeners.length>0:super.hasEventListener(t))}on(t,e){if(this.destroyed)return(0,h.hA)();if("change"===t){const t=this._chgListeners,s={removed:!1,callback:e};return t.push(s),this._notifications&&this._notifications.push({listeners:t.slice(),items:this._items.slice(),changes:[]}),(0,h.hA)(()=>{s.removed=!0,t.splice(t.indexOf(s),1)})}return super.on(t,e)}once(t,e){const s="deref"in e?()=>e.deref():()=>e,n=this.on(t,t=>{s()?.call(null,t),n.remove()});return n}add(t,e){if((0,p.gc)(this._observable),this._emitBeforeChanges(1))return this;const s=this.getNextIndex(e??null);return this._splice(s,0,[t]),this._emitAfterChanges(1),this}addMany(t,e=this._items.length){if((0,p.gc)(this._observable),!t?.length)return this;if(this._emitBeforeChanges(1))return this;const s=this.getNextIndex(e);return this._splice(s,0,k(t)),this._emitAfterChanges(1),this}at(t){if((0,p.gc)(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const t=this._removeAllRaw();return this._emitAfterChanges(2),t}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.map(l.o8)})}concat(...t){(0,p.gc)(this._observable);const e=t.map(k);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const s=this._splice(0,this.length),n=s.length;for(let i=0;i<n;i++)t.call(e,s[i],i,s);this._emitAfterChanges(2)}destroyAll(){this.drain(C)}destroyMany(t){const e=this.removeMany(t);return e.forEach(C),e}every(t,e){return(0,p.gc)(this._observable),this._items.every(t,e)}filter(t,e){(0,p.gc)(this._observable);const s=2===arguments.length?this._items.filter(t,e):this._items.filter(t);return this._createNewInstance({items:s})}find(t,e){return(0,p.gc)(this._observable),this._items.find(t,e)}findIndex(t,e){return(0,p.gc)(this._observable),this._items.findIndex(t,e)}flatten(t,e){(0,p.gc)(this._observable);const s=[];return x(s,this,t,e),new n(s)}forEach(t,e){return(0,p.gc)(this._observable),this._items.forEach(t,e)}getItemAt(t){return(0,p.gc)(this._observable),this._items[t]}getNextIndex(t){(0,p.gc)(this._observable);const e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return(0,p.gc)(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return(0,p.gc)(this._observable),this._items.indexOf(t,e)}join(t=","){return(0,p.gc)(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return(0,p.gc)(this._observable),this._items.lastIndexOf(t,e)}map(t,e){(0,p.gc)(this._observable);const s=this._items.map(t,e);return new n({items:s})}reorder(t,e=this.length-1){(0,p.gc)(this._observable);const s=this.indexOf(t);if(-1!==s){if(e<0?e=0:e>=this.length&&(e=this.length-1),s!==e){if(this._emitBeforeChanges(4))return t;this._splice(s,1),this._splice(e,0,[t]),this._emitAfterChanges(4)}return t}}pop(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=A(this._splice(this.length-1,1));return this._emitAfterChanges(2),t}push(...t){return(0,p.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,t),this._emitAfterChanges(1)),this.length}reduce(t,e){(0,p.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduce(t,e):s.reduce(t)}reduceRight(t,e){(0,p.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduceRight(t,e):s.reduceRight(t)}remove(t){return(0,p.gc)(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if((0,p.gc)(this._observable),t<0||t>=this.length||this._emitBeforeChanges(2))return;const e=A(this._splice(t,1));return this._emitAfterChanges(2),e}removeMany(t){if((0,p.gc)(this._observable),!t?.length||this._emitBeforeChanges(2))return[];const e=t instanceof n?t.toArray():t,s=this._items,i=[],r=e.length;for(let t=0;t<r;t++){const n=e[t],r=s.indexOf(n);if(r>-1){const n=1+M(e,s,t+1,r+1),o=this._splice(r,n);o&&o.length>0&&i.push.apply(i,o),t+=n-1}}return this._emitAfterChanges(2),i}reverse(){if((0,p.gc)(this._observable),this._emitBeforeChanges(4))return this;const t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(4),this}shift(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=A(this._splice(0,1));return this._emitAfterChanges(2),t}slice(t=0,e=this.length){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return(0,p.gc)(this._observable),this._items.some(t,e)}sort(t){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(t))return this;const e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(4),this}_requiresSort(t=(t,e)=>t===e?0:t<e?-1:1){const e=this.length-1;for(let s=0;s<e;s++)if(t(this.items[s],this.items[s+1])>0)return!0;return!1}splice(t,e,...s){(0,p.gc)(this._observable),1===arguments.length&&(e=this.length),e??=0;const n=(e?2:0)|(s.length?1:0);if(this._emitBeforeChanges(n))return[];const i=this._splice(t,e,s)||[];return this._emitAfterChanges(n),i}toArray(){return(0,p.gc)(this._observable),this._items.slice()}toJSON(t){return(0,p.gc)(this._observable),this.toArray().map(e=>(0,y.W)(e)?e.toJSON(t):e)}toLocaleString(){return(0,p.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,p.gc)(this._observable),this._items.toString()}unshift(...t){return(0,p.gc)(this._observable),!t.length||this._emitBeforeChanges(1)||(this._splice(0,0,t),this._emitAfterChanges(1)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,s){const n=this._items,i=this.itemType;let r,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,f._)(()=>this._dispatchChange())),t<0&&(t+=this.length),e){if(o=n.splice(t,e),this.hasEventListener("before-remove")){const e=w.acquire();e.target=this,e.cancellable=!0;for(let s=0,i=o.length;s<i;s++)r=o[s],e.reset(r),this.emit("before-remove",e),e.defaultPrevented&&(o.splice(s,1),n.splice(t,0,r),t+=1,s-=1,i-=1);w.release(e)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const t=w.acquire();t.target=this,t.cancellable=!1;const e=o.length;for(let s=0;s<e;s++)t.reset(o[s]),this.emit("after-remove",t);w.release(t)}}if(s?.length){if(i){const t=[];for(const e of s){const s=i.ensureType(e);null==s&&null!=e||t.push(s)}s=t}const e=this.hasEventListener("before-add"),r=this.hasEventListener("after-add"),o=t===this.length;if(e||r){const i=w.acquire();i.target=this,i.cancellable=!0;const a=w.acquire();a.target=this,a.cancellable=!1;for(const h of s)e?(i.reset(h),this.emit("before-add",i),i.defaultPrevented||(o?n.push(h):n.splice(t++,0,h),this._length=n.length,r&&(a.reset(h),this.emit("after-add",a)))):(o?n.push(h):n.splice(t++,0,h),this._length=n.length,a.reset(h),this.emit("after-add",a));w.release(a),w.release(i)}else{if(o)for(const t of s)n.push(t);else n.splice(t,0,...s);this._length=n.length}}if((s?.length||o?.length)&&this._notifyChangeEvent(s,o),this.hasEventListener("after-splice")){const n=new S(this,s,o,t,e);this.emit("after-splice",n)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){const s=w.acquire();s.target=this,s.cancellable=!0,s.type=t,this.emit("before-changes",s),e=s.defaultPrevented,w.release(s)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){const e=w.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),w.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const t=this._notifications;this._notifications=null;for(const e of t){const t=e.changes;E.clear(),P.clear(),R.clear();for(const{added:e,removed:s}of t){if(e)if(0===R.size&&0===P.size)for(const t of e)E.add(t);else for(const t of e)P.has(t)?(R.add(t),P.delete(t)):R.has(t)||E.add(t);if(s)if(0===R.size&&0===E.size)for(const t of s)P.add(t);else for(const t of s)E.has(t)?E.delete(t):(R.delete(t),P.add(t))}const s=r.A.acquire();E.forEach(t=>{s.push(t)});const n=r.A.acquire();P.forEach(t=>{n.push(t)});const i=this._items,o=e.items,a=r.A.acquire();if(R.forEach(t=>{o.indexOf(t)!==i.indexOf(t)&&a.push(t)}),e.listeners&&(s.length||n.length||a.length)){const t={target:this,added:s,removed:n,moved:a},i=e.listeners.length;for(let s=0;s<i;s++){const n=e.listeners[s];n.removed||n.callback.call(this,t)}}r.A.release(s),r.A.release(n),r.A.release(a)}E.clear(),P.clear(),R.clear()}};(0,i.Cg)([(0,d.MZ)()],I.prototype,"_updating",void 0),(0,i.Cg)([(0,d.MZ)()],I.prototype,"_length",void 0),(0,i.Cg)([(0,d.MZ)()],I.prototype,"length",null),(0,i.Cg)([(0,d.MZ)()],I.prototype,"items",null),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],I.prototype,"updating",null),I=n=(0,i.Cg)([(0,b.$)("esri.core.Collection")],I);const q=I},69052(t,e,s){s.d(e,{hr:()=>i,ie:()=>h,uC:()=>a});var n=s(34727);class i{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,s=!1){return r(this.range,this.min,this.max,t,e,s)}clamp(t,e=0){return(0,n.qE)(t-e,this.min,this.max)+e}monotonic(t,e,s){return t<e?e:e+o(this.range,t-e,s)}minimalMonotonic(t,e,s){return r(this.range,t,t+this.range,e,s)}center(t,e,s){return e=this.monotonic(t,e,s),this.normalize((t+e)/2,s)}diff(t,e,s){return this.monotonic(t,e,s)-t}shortestSignedDiff(t,e){t=this.normalize(t);const s=(e=this.normalize(e))-t,n=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(s)<Math.abs(n)?s:n}contains(t,e,s){return e=this.minimalMonotonic(t,e),(s=this.minimalMonotonic(t,s))>t&&s<e}}function r(t,e,s,n,i=0,r=!1){return(n-=i)<e?n+=o(t,e-n):n>s&&(n-=o(t,n-s)),r&&n===s&&(n=e),n+i}function o(t,e,s=0){return Math.ceil((e-s)/t)*t+s}const a=new i(0,2*Math.PI),h=(new i(-Math.PI,Math.PI),new i(0,360))},4902(t,e,s){s.d(e,{s:()=>o});var n=s(5482),i=s(64108);let r=0;const o=t=>{const e=t;let s=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+r++})}};return s=(0,n.Cg)([(0,i.$)("esri.core.Identifiable")],s),s};o(class{})},7695(t,e,s){function n(t){return(e,s)=>{e[s]=t}}s.d(e,{u:()=>n})},56512(t,e,s){function n(t){let e,s,n=[],i=!1;return function(...r){return i&&e===this&&function(t,e){if(t.length!==e.length)return!1;for(let s=0;s<t.length;++s)if(t[s]!==e[s])return!1;return!0}(r,n)||(s=t.apply(this,r),e=this,n=r,i=!0),s}}s.d(e,{B:()=>n})},36708(t,e,s){s.d(e,{C_:()=>f,OH:()=>d,Vh:()=>m,on:()=>u,pc:()=>b,wB:()=>h,z7:()=>l});var n=s(37955),i=s(36563),r=s(97768),o=s(17676),a=s(14012);function h(t,e,s={}){return c(t,e,s,g)}function l(t,e,s={}){return c(t,e,s,p)}function c(t,e,s={},n){let i=null;const o=s.once?(t,s)=>{n(t)&&((0,r.xt)(i),e(t,s))}:(t,s)=>{n(t)&&e(t,s)};if(i=(0,a.Cn)(t,o,s.sync,s.equals),s.initial){const e=t();o(e,e)}return i}function u(t,e,s,o={}){let a=null,l=null,c=null;function u(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function f(t){o.once&&o.once&&(0,r.xt)(c),s(t)}const g=h(t,(t,s)=>{u(),(0,n.wb)(t)&&(a=t,l=(0,n.on)(t,e,f),o.onListenerAdd?.(t))},{sync:o.sync,initial:!0});return c=(0,i.hA)(()=>{g.remove(),u()}),c}function f(t,e){return function(t,e,s){if((0,o.G4)(s))return Promise.reject((0,o.NK)());const n=t();if(e?.(n))return Promise.resolve(n);let a=null;function h(){a=(0,r.xt)(a)}return new Promise((n,r)=>{a=(0,i.vE)([(0,o.u7)(s,()=>{h(),r((0,o.NK)())}),c(t,t=>{h(),n(t)},{sync:!1,once:!0},e??g)])})}(t,p,e)}function g(t){return!0}function p(t){return!!t}s(80559);const d={sync:!0},m={initial:!0},b={sync:!0,initial:!0}},90629(t,e,s){s.d(e,{Lz:()=>i,PN:()=>r,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a});const n=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(t){return t?t/72*96:0}function r(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(n);if(e){const s=Number(e[1]),n=e[3]&&e[3].toLowerCase(),i=t.startsWith("-"),o="px"===n?r(s):s;return i?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,s=0){return[t,e,s]}},31411(t,e,s){s.d(e,{GS:()=>k,gh:()=>M});var n=s(49186),i=s(56512),r=s(65864),o=s(4305),a=s(50954),h=s(52006),l=s(49663),c=s(46068),u=s(15507);const f=1e-6,g=[0,0];function p(t){return{maxSegmentLength:t.maxSegmentLength??0,maxDeviation:t.maxDeviation??0,maxSegmentsPerCurve:t.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(t.minSegmentsPerCurve??1,1)}}class d{constructor(t,e){this.curveStart=t,this.curveEnd=e,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(t,e){this.tStart=0,this.arcStart=t,this.tEndStack.push(1),this.arcEndStack.push(e)}splitAt(t){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(t),this.arcEndStack.push(this.interpolate(t))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(t,{maxDeviation:e,maxSegmentLength:s,maxSegmentsPerCurve:n,minSegmentsPerCurve:i}){const r=s*s,o=e*e,a=1/n,h=this.interpolate(0),l=this.interpolate(1);(0,u.kb)(this.curveStart,h)>f&&t.push(h),this.initialize(h,l);const c=1/i;for(let t=i-1;t>0;t--){const e=t*c;this.pop(),this.splitAt(e)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<a||(0===r||!isFinite(r)||(0,u.kb)(this.arcStart,this.arcEnd)<r)&&(0===o||!isFinite(o)||this.getDeviation2()<o)?(t.push(this.arcEnd),this.next()):this.splitInHalf();return(0,u.kb)(this.curveEnd,l)>f&&t.push([...this.curveEnd]),t}}class m extends d{constructor(t,e){const[s,n,i]=e.b;super(t,s),this._controlPointsStack=[],this._curveControlPoints=[n,i],this._arcControlPoints=[n,i],this._controlPointsStack.push(this._arcControlPoints)}splitAt(t){const{arcStart:e,arcEnd:s,tStart:n,tEnd:i}=this,[r,o]=this._arcControlPoints,a=(t-n)/(i-n),h=(0,u.RS)([],e,r,a),l=(0,u.RS)(g,r,o,a),c=(0,u.RS)([],o,s,a),f=(0,u.RS)([],h,l,a),p=(0,u.RS)([],l,c,a),d=(0,u.RS)([],f,p,a);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([p,c]),this.tEndStack.push(t),this.arcEndStack.push(d),this._arcControlPoints[0]=h,this._arcControlPoints[1]=f,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(t){const{curveStart:e,curveEnd:s}=this,[n,i]=this._curveControlPoints;return(0,o.B4)(e,n,i,s,t)}getDeviation2(){const{arcStart:t,arcEnd:e}=this,[s,n]=this._arcControlPoints;return Math.max((0,u.yE)(s,t,e),(0,u.yE)(n,t,e))}}class b extends d{constructor(t,e){const[s]=e.a;super(t,s),this._derivedEllipse=(0,c.SW)(t,e)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(t){return(0,c.Uk)(this._derivedEllipse,t)}getDeviation2(){return(0,u.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function _(t,e,s,{cx:n,cy:i,radius:r,thetaStart:o,thetaEnd:a,isInvalid:h},{maxDeviation:l,maxSegmentLength:c,maxSegmentsPerCurve:g,minSegmentsPerCurve:p}){if(h)return t.push([...s]),t;const d=2*r,m=[n+r*Math.cos(o),i+r*Math.sin(o)],b=[n+r*Math.cos(a),i+r*Math.sin(a)];(0,u.kb)(e,m)>f&&t.push(m);const _=Math.abs(a-o),y=c>0&&c<d?2*Math.asin(c/d):_,v=l>0&&l<=r?2*Math.acos(1-l/r):_,S=Math.min(y,v),w=Math.min(g,Math.max(p,Math.ceil(Math.abs(_/S)))),C=1/w;for(let e=1;e<w;e++){const s=e*C,h=o*(1-s)+a*s;t.push([n+r*Math.cos(h),i+r*Math.sin(h)])}return t.push(b),(0,u.kb)(s,b)>f&&t.push([...s]),t}function y(t,e,s,n){return new m(e,s).densify(t,n)}function v(t,e,s,n){const i=(0,a.pM)(e,s),[r]=s.c;return _(t,e,r,i,n)}function S(t,e,s,n){const i=(0,l.io)(e,s),[r]=s.a;return _(t,e,r,i,n)}function w(t,e,s,n){const[i,r,o,a,h,l,c]=s.a;return 0===l||0===c?(t.push([...i]),t):new b(e,s).densify(t,n)}function C(t,e,s,n){return(0,h.Xq)(s)?(t.push([...s]),t):(0,h.n1)(s)?y(t,e,s,n):(0,h.aO)(s)?v(t,e,s,n):(0,h.DA)(s)?S(t,e,s,n):w(t,e,s,n)}function k(t,e={}){if(!(0,h.Ed)(t))return t;const s=p(e),n=(0,h.FD)(t),i=[];for(const t of n){const e=[];for(let n=0;n<t.length-1;n++){const i=n+1,r=[...(0,h.yP)(t[n])];0===n&&e.push(r),C(e,r,t[i],s)}i.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},paths:i,spatialReference:t.spatialReference}:{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},rings:i,spatialReference:t.spatialReference}}const A=(0,i.B)(t=>({maxDeviation:0,maxSegmentLength:100*t,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function M(t,e,i){const o=new Set(e);return await async function(t,e,i){let r=null;for(const o of t)if(o&&(0,h.Ed)(o)&&null==o.spatialReference.xyTolerance&&(0,h.V8)(o,e)){const t=o.spatialReference;if(!t)throw new n.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const e=x(t);if(i.has(e))o.spatialReference=i.get(e);else{r||(r=await Promise.all([s.e(6042),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(6312)]).then(s.bind(s,78125)));const a=r.fromSpatialReference(t),h=a?.getTolerance();if(null==h)throw new n.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const l=o.spatialReference.clone();l.read({xyTolerance:h}),o.spatialReference=l,i.set(e,l)}}}(t,o,i),t.map(t=>{if(!t||!(0,h.Ed)(t))return t;const s=t.spatialReference.xyTolerance;if(null==s)return t;const n=A(s);return(0,r.rS)(function(t,e,s){if(!(0,h.Ed)(t))return t;const n=new Set(e),i=p(s),r=(0,h.FD)(t),o=[];let a=!1;for(const t of r){const e=[];for(let s=0;s<t.length-1;s++){const r=s+1,o=[...(0,h.yP)(t[s])];0===s&&e.push(o);const l=t[r];(0,h.Xq)(l)?e.push([...l]):(0,h.n1)(l)&&!n.has("cubic-bezier")?y(e,o,l,i):(0,h.aO)(l)&&!n.has("circular-arc")?v(e,o,l,i):(0,h.DA)(l)&&!n.has("elliptic-arc")?S(e,o,l,i):(0,h.wY)(l)&&!n.has("elliptic-arc")?w(e,o,l,i):(e.push((0,h.tk)(l)),a=!0)}o.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},spatialReference:t.spatialReference,...a?{curvePaths:o}:{paths:o}}:{hasZ:t.hasZ,hasM:t.hasM,spatialReference:t.spatialReference,...a?{curveRings:o}:{rings:o}}}(t,e,n))})}function x(t){if(null!=t.wkid)return`${t.wkid}`;if(null!=t.wkt)return t.wkt;const e="toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():t;return JSON.stringify(e)}},17136(t,e,s){s.d(e,{Y_:()=>R,O7:()=>E,el:()=>x});var n=s(92602),i=s(69052),r=s(49186),o=s(53966),a=s(39829),h=s(82799),l=s(16930),c=s(80754),u=s(21325),f=s(28735),g=s(52006),p=s(31411),d=s(11254),m=s(60408),b=s(65864),_=s(2272),y=s(84952),v=s(92300);const S=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function w(t){return"polygon"===t[0].type}function C(t){return"polyline"===t[0].type}function k(t,e,s){const n=1e6;if(e){const e=(0,g.Ed)(t)?(0,p.GS)(t,{maxSegmentLength:n}):function(t,e){if(!(t instanceof h.A||t instanceof a.A)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw S().error(t),new r.A("internal:geometry",t)}const s=(0,c.r8)(t),n=[];for(const t of s){const s=[];n.push(s),s.push([t[0][0],t[0][1]]);for(let n=0;n<t.length-1;n++){const i=t[n][0],r=t[n][1],o=t[n+1][0],a=t[n+1][1],h=Math.sqrt((o-i)*(o-i)+(a-r)*(a-r)),l=(a-r)/h,c=(o-i)/h,u=h/e;if(u>1){for(let t=1;t<=u-1;t++){const n=t*e,o=c*n+i,a=l*n+r;s.push([o,a])}const t=(h+Math.floor(u-1)*e)/2,n=c*t+i,o=l*t+r;s.push([n,o])}s.push([o,a])}}return function(t){return"polygon"===t.type}(t)?new a.A({rings:n,spatialReference:t.spatialReference}):new h.A({paths:n,spatialReference:t.spatialReference})}(t,n);t=(0,f.ci)(e,!0)}return s&&(t=(0,c.kS)(t,s)),t}function A(t,e,s){if(Array.isArray(t)){const n=t[0];if(n>e){const s=(0,c.kd)(n,e);t[0]=n+s*(-2*e)}else if(n<s){const e=(0,c.kd)(n,s);t[0]=n+e*(-2*s)}}else{const n=t.x;if(n>e){const s=(0,c.kd)(n,e);t=t.clone().offset(s*(-2*e),0)}else if(n<s){const e=(0,c.kd)(n,s);t=t.clone().offset(e*(-2*s),0)}}return t}function M(t,e){let s=-1;for(let n=0;n<e.cutIndexes.length;n++){const i=e.cutIndexes[n],r=e.geometries[n],o=(0,c.r8)(r);for(let t=0;t<o.length;t++){const e=o[t];e.some(s=>{if(s[0]<180)return!0;{let s=0;for(let t=0;t<e.length;t++){const n=e[t][0];s=n>s?n:s}s=Number(s.toFixed(9));const n=-360*(0,c.kd)(s,180);for(let s=0;s<e.length;s++){const e=r.getPoint(t,s);r.setPoint(t,s,e.clone().offset(n,0))}return!0}})}if(i===s){if(w(t))for(const e of(0,c.r8)(r))t[i]=t[i].addRing(e);else if(C(t))for(const e of(0,c.r8)(r))t[i]=t[i].addPath(e)}else s=i,t[i]=r}return t}async function x(t,e,s){if(!Array.isArray(t))return x([t],e);e&&"string"!=typeof e&&S().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof e?e:e?.url??n.A.geometryServiceUrl;let r,o,l,g,p,w,C,E,P=0;const R=[],N=[];for(const e of t)if(null!=e)if(r||(r=e.spatialReference,o=(0,u.Vp)(r),l=r.isWebMercator,w=l?102100:4326,g=c.j7[w].maxX,p=c.j7[w].minX,C=c.j7[w].plus180Line,E=c.j7[w].minus180Line),o)if("mesh"===e.type)N.push(e);else if("point"===e.type)N.push(A(e.clone(),g,p));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map(t=>A(t,g,p)),N.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,o);N.push(t.rings?new a.A(t):t)}else if(e.extent){const t=e.extent,s=(0,c.kd)(t.xmin,p)*(2*g);let n=0===s?e.clone():(0,c.kS)(e.clone(),s);t.offset(s,0);let{xmin:i,xmax:r}=t;i=Number(i.toFixed(9)),r=Number(r.toFixed(9)),t.intersects(C)&&r!==g?(P=r>P?r:P,n=k(n,l),R.push(n),N.push("cut")):t.intersects(E)&&i!==p?(P=r*(2*g)>P?r*(2*g):P,n=k(n,l,360),R.push(n),N.push("cut")):N.push(n)}else N.push(e.clone());else N.push(e);else N.push(e);let L=(0,c.kd)(P,g),I=-90;const q=L,O=new h.A;for(;L>0;){const t=360*L-180;O.addPath([[t,I],[t,-1*I]]),I*=-1,L--}if(R.length>0&&q>0){const e=M(R,await async function(t,e,s,n){const i=(0,_.Dl)(t),r=e[0].spatialReference,o={...n,responseType:"json",query:{...i.query,f:"json",sr:(0,u.YX)(r),target:JSON.stringify({geometryType:(0,m.$B)(e[0]),geometries:e}),cutter:JSON.stringify(s)}},a=await(0,d.A)(i.path+"/cut",o),{cutIndexes:h,geometries:l=[]}=a.data;return{cutIndexes:h,geometries:l.map(t=>{const e=(0,b.rS)(t);return e.spatialReference=r,e})}}(i,R,O,s)),n=[],r=[];for(let s=0;s<N.length;s++){const i=N[s];if("cut"!==i)r.push(i);else{const i=e.shift(),o=t[s];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&i.rings.length>=o.rings.length?(n.push(i),r.push("simplify")):r.push(l?(0,f.Gh)(i):i)}}if(!n.length)return r;const o=await async function(t,e,s){const n="string"==typeof t?(0,y.An)(t):t,i=e[0].spatialReference,r=(0,m.$B)(e[0]),o={...s,query:{...n.query,f:"json",sr:(0,u.YX)(i),geometries:JSON.stringify((0,v.X)(e))}},{data:a}=await(0,d.A)(n.path+"/simplify",o);return(0,v.V)(a.geometries,r,i)}(i,n,s),a=[];for(let t=0;t<r.length;t++){const e=r[t];"simplify"!==e?a.push(e):a.push(l?(0,f.Gh)(o.shift()):o.shift())}return a}const T=[];for(let t=0;t<N.length;t++){const e=N[t];if("cut"!==e)T.push(e);else{const t=R.shift();T.push(!0===l?(0,f.Gh)(t):t)}}return T}function E(t,e,s){const n=(0,u.Vp)(s);if(null==n)return t;const[i,r]=n.valid,o=2*r;let a=0,h=0;e>r?a=Math.ceil(Math.abs(e-r)/o):e<i&&(a=-Math.ceil(Math.abs(e-i)/o)),t>r?h=Math.ceil(Math.abs(t-r)/o):t<i&&(h=-Math.ceil(Math.abs(t-i)/o));let l=t+(a-h)*o;const c=l-e;return c>r?l-=o:c<i&&(l+=o),l}function P(t){const e=(0,u.Vp)(t);if(null==e)return null;const[s,n]=e.valid;return new i.hr(s,n)}const R=P(l.A.WGS84);P(l.A.WebMercator)},80754(t,e,s){s.d(e,{j7:()=>a,kS:()=>l,kd:()=>h,r8:()=>c});var n=s(82799),i=s(16930),r=s(60408),o=s(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new n.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new n.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function h(t,e){return Math.ceil((t-e)/(2*e))}function l(t,e){if((0,o.Ed)(t))for(const s of function(t){return(0,r.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of s){if((0,o.aO)(t)){const[s,n]=t.c;s[0]+=e,n[0]+=e;continue}if((0,o.FG)(t)){const[s,n]=t.a;s[0]+=e,n[0]+=e;continue}if((0,o.n1)(t)){const[s,n,i]=t.b;s[0]+=e,n[0]+=e,i[0]+=e;continue}t[0]+=e}for(const s of c(t))for(const t of s)t[0]+=e;return t}function c(t){return(0,r.Bi)(t)?t.rings:t.paths}},50498(t,e,s){s.d(e,{Ye:()=>u,gy:()=>c,iI:()=>g,yR:()=>f});var n=s(66552),i=s(5443),r=s(91075),o=s(48526),a=s(86738),h=s(39829),l=s(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),u=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),f={base:r.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:l.A,polygon:h.A}},g=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},73133(t,e,s){s.d(e,{j:()=>n});const n=(0,s(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5816],{68197(t,e,s){s.d(e,{A:()=>l});var n=s(40876),i=s(4576),r=s(34727),o=s(56507);function a(t){return(0,r.qE)((0,o.Vr)(t),0,255)}function h(t,e){const s=t.toString(16).padStart(2,"0");return e?s.slice(0,1):s}class l{static blendColors(t,e,s,n=new l){return n.r=Math.round(t.r+(e.r-t.r)*s),n.g=Math.round(t.g+(e.g-t.g)*s),n.b=Math.round(t.b+(e.b-t.b)*s),n.a=t.a+(e.a-t.a)*s,n._sanitize()}static fromRgb(t,e){const s=(0,n.lT)(t);return s?l.fromArray(s,e):null}static fromHex(t,e=new l){const s=(0,n.oW)(t);return s?l.fromArray(s,e):null}static fromArray(t,e=new l){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const s=(0,n.Eq)(t);return s?l.fromArray(s,e):null}static fromJSON(t){return null!=t?new l([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)l.fromString(t,this);else if((0,i.yc)(t))l.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof l||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,s=t?.digits??6,n=3===s||4===s,i=4===s||8===s,r=`#${h(this.r,n)}${h(this.g,n)}${h(this.b,n)}${i?h(Math.round(255*this.a),n):""}`;return e?r.toUpperCase():r}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=a(this.r),s=a(this.g),n=a(this.b);return 0===t||1!==this.a?[e,s,n,a(255*this.a)]:[e,s,n]}clone(){return new l(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.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(t,e,s,n){this.r=t,this.g=e,this.b=s,this.a=n}}l.prototype.declaredClass="esri.Color"},40876(t,e,s){s.d(e,{Eq:()=>g,G1:()=>d,TS:()=>r,Tf:()=>_,V6:()=>i,Vm:()=>p,ay:()=>h,c1:()=>m,c4:()=>o,j5:()=>l,lT:()=>u,oW:()=>c,xV:()=>v});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(t){return!!n[t]||!!n[t.toLowerCase()]}function r(t){return n[t]??n[t.toLowerCase()]}function o(t){return[...r(t)]}function a(t,e,s){s<0&&++s,s>1&&--s;const n=6*s;return n<1?t+(e-t)*n:2*s<1?e:3*s<2?t+(e-t)*(2/3-s)*6:t}function h(t,e,s,n=1){const i=(t%360+360)%360/360,r=s<=.5?s*(e+1):s+e-s*e,o=2*s-r;return[Math.round(255*a(o,r,i+1/3)),Math.round(255*a(o,r,i)),Math.round(255*a(o,r,i-1/3)),n]}function l(t){const e=t.length>5,s=e?8:4,n=(1<<s)-1,i=e?1:17,r=e?9===t.length:5===t.length;let o=Number("0x"+t.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let h;return r&&(h=o&n,o>>=s,a[3]=i*h/255),h=o&n,o>>=s,a[2]=i*h,h=o&n,o>>=s,a[1]=i*h,h=o&n,o>>=s,a[0]=i*h,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,s+16*s,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function u(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),s=e[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),f(e)}return f(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function f(t){return t[0]=m(t[0]),t[1]=m(t[1]),t[2]=m(t[2]),t[3]=4===t.length?d(t[3]):1,t}function g(t){let e=i(t)?r(t):null;return e??=u(t),e??=c(t),e}function p(t){const e=g(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function d(t){return b(t,0,1)}function m(t){return Math.round(b(t,0,255))}function b(t,e,s){return t=Number(t),isNaN(t)?s:t<e?e:t>s?s:t}const _=2.2,y=1/_;function v(t){return t**y}},7762(t,e,s){s.d(e,{A:()=>q});var n,i=s(5482),r=s(98291),o=s(4576),a=s(65529),h=s(36563),l=s(4718),c=s(53966),u=s(93687),f=s(76030),g=s(56507),p=s(62788),d=s(10107),m=s(7695),b=s(64108),_=s(95488),y=s(12195);class v{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(t){this.defaultPrevented=!1,this.item=t}}class S{constructor(t,e,s,n,i){this.target=t,this.added=e,this.removed=s,this.start=n,this.deleteCount=i}}const w=new u.A(()=>new v,void 0,t=>{t.item=null,t.target=null,t.defaultPrevented=!1,t.cancellable=!1});function C(t){t&&"object"==typeof t&&"destroy"in t&&"function"==typeof t.destroy&&t.destroy()}function k(t){return t?t instanceof I?t.toArray():t.length?Array.prototype.slice.apply(t):[]:[]}function A(t){if(t?.length)return t[0]}function M(t,e,s,n){const i=Math.min(t.length-s,e.length-n);let r=0;for(;r<i&&t[s+r]===e[n+r];)r++;return r}function x(t,e,s,n){e&&e.forEach((e,i,r)=>{t.push(e),x(t,s.call(n,e,i,r),s,n)})}const E=new Set,P=new Set,R=new Set,N=new Map;let L=0,I=n=class extends a.nJ{static ofType(t){if(!t)return n;if(N.has(t))return N.get(t);let e=null;if("function"==typeof t)e=t.prototype.declaredClass;else if(t.base)e=t.base.prototype.declaredClass;else for(const s in t.typeMap){const n=t.typeMap[s].prototype.declaredClass;e?e+=` | ${n}`:e=n}let s=class extends n{};return(0,i.Cg)([(0,m.u)({Type:t,ensureType:"function"==typeof t?(0,g.dp)(t):(0,g.aq)(t)})],s.prototype,"itemType",void 0),s=(0,i.Cg)([(0,b.$)(`esri.core.Collection<${e}>`)],s),N.set(t,s),s}static isCollection(t){return null!=t&&t instanceof n}constructor(t){super(t),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new _.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:L++})}normalizeCtorArgs(t){return t?(0,o.yc)(t)||t instanceof n?{items:t}:t:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(t){t>this._length?c.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(t,Math.max(0,this._length-t))}get items(){return(0,p.gc)(this._observable),this._items}set items(t){this._emitBeforeChanges(1)||(this._splice(0,this.length,k(t)),this._emitAfterChanges(1))}hasEventListener(t){return!this.destroyed&&("change"===t?this._chgListeners.length>0:super.hasEventListener(t))}on(t,e){if(this.destroyed)return(0,h.hA)();if("change"===t){const t=this._chgListeners,s={removed:!1,callback:e};return t.push(s),this._notifications&&this._notifications.push({listeners:t.slice(),items:this._items.slice(),changes:[]}),(0,h.hA)(()=>{s.removed=!0,t.splice(t.indexOf(s),1)})}return super.on(t,e)}once(t,e){const s="deref"in e?()=>e.deref():()=>e,n=this.on(t,t=>{s()?.call(null,t),n.remove()});return n}add(t,e){if((0,p.gc)(this._observable),this._emitBeforeChanges(1))return this;const s=this.getNextIndex(e??null);return this._splice(s,0,[t]),this._emitAfterChanges(1),this}addMany(t,e=this._items.length){if((0,p.gc)(this._observable),!t?.length)return this;if(this._emitBeforeChanges(1))return this;const s=this.getNextIndex(e);return this._splice(s,0,k(t)),this._emitAfterChanges(1),this}at(t){if((0,p.gc)(this._observable),(t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this._items[t]}removeAll(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const t=this._removeAllRaw();return this._emitAfterChanges(2),t}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.map(l.o8)})}concat(...t){(0,p.gc)(this._observable);const e=t.map(k);return this._createNewInstance({items:this._items.concat(...e)})}drain(t,e){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const s=this._splice(0,this.length),n=s.length;for(let i=0;i<n;i++)t.call(e,s[i],i,s);this._emitAfterChanges(2)}destroyAll(){this.drain(C)}destroyMany(t){const e=this.removeMany(t);return e.forEach(C),e}every(t,e){return(0,p.gc)(this._observable),this._items.every(t,e)}filter(t,e){(0,p.gc)(this._observable);const s=2===arguments.length?this._items.filter(t,e):this._items.filter(t);return this._createNewInstance({items:s})}find(t,e){return(0,p.gc)(this._observable),this._items.find(t,e)}findIndex(t,e){return(0,p.gc)(this._observable),this._items.findIndex(t,e)}flatten(t,e){(0,p.gc)(this._observable);const s=[];return x(s,this,t,e),new n(s)}forEach(t,e){return(0,p.gc)(this._observable),this._items.forEach(t,e)}getItemAt(t){return(0,p.gc)(this._observable),this._items[t]}getNextIndex(t){(0,p.gc)(this._observable);const e=this.length;return(t=t??e)<0?t=0:t>e&&(t=e),t}includes(t,e=0){return(0,p.gc)(this._observable),this._items.includes(t,e)}indexOf(t,e=0){return(0,p.gc)(this._observable),this._items.indexOf(t,e)}join(t=","){return(0,p.gc)(this._observable),this._items.join(t)}lastIndexOf(t,e=this.length-1){return(0,p.gc)(this._observable),this._items.lastIndexOf(t,e)}map(t,e){(0,p.gc)(this._observable);const s=this._items.map(t,e);return new n({items:s})}reorder(t,e=this.length-1){(0,p.gc)(this._observable);const s=this.indexOf(t);if(-1!==s){if(e<0?e=0:e>=this.length&&(e=this.length-1),s!==e){if(this._emitBeforeChanges(4))return t;this._splice(s,1),this._splice(e,0,[t]),this._emitAfterChanges(4)}return t}}pop(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=A(this._splice(this.length-1,1));return this._emitAfterChanges(2),t}push(...t){return(0,p.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,t),this._emitAfterChanges(1)),this.length}reduce(t,e){(0,p.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduce(t,e):s.reduce(t)}reduceRight(t,e){(0,p.gc)(this._observable);const s=this._items;return 2===arguments.length?s.reduceRight(t,e):s.reduceRight(t)}remove(t){return(0,p.gc)(this._observable),this.removeAt(this.indexOf(t))}removeAt(t){if((0,p.gc)(this._observable),t<0||t>=this.length||this._emitBeforeChanges(2))return;const e=A(this._splice(t,1));return this._emitAfterChanges(2),e}removeMany(t){if((0,p.gc)(this._observable),!t?.length||this._emitBeforeChanges(2))return[];const e=t instanceof n?t.toArray():t,s=this._items,i=[],r=e.length;for(let t=0;t<r;t++){const n=e[t],r=s.indexOf(n);if(r>-1){const n=1+M(e,s,t+1,r+1),o=this._splice(r,n);o&&o.length>0&&i.push.apply(i,o),t+=n-1}}return this._emitAfterChanges(2),i}reverse(){if((0,p.gc)(this._observable),this._emitBeforeChanges(4))return this;const t=this._splice(0,this.length);return t&&(t.reverse(),this._splice(0,0,t)),this._emitAfterChanges(4),this}shift(){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const t=A(this._splice(0,1));return this._emitAfterChanges(2),t}slice(t=0,e=this.length){return(0,p.gc)(this._observable),this._createNewInstance({items:this._items.slice(t,e)})}some(t,e){return(0,p.gc)(this._observable),this._items.some(t,e)}sort(t){if((0,p.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(t))return this;const e=this._splice(0,this.length);return arguments.length?e.sort(t):e.sort(),this._splice(0,0,e),this._emitAfterChanges(4),this}_requiresSort(t=(t,e)=>t===e?0:t<e?-1:1){const e=this.length-1;for(let s=0;s<e;s++)if(t(this.items[s],this.items[s+1])>0)return!0;return!1}splice(t,e,...s){(0,p.gc)(this._observable),1===arguments.length&&(e=this.length),e??=0;const n=(e?2:0)|(s.length?1:0);if(this._emitBeforeChanges(n))return[];const i=this._splice(t,e,s)||[];return this._emitAfterChanges(n),i}toArray(){return(0,p.gc)(this._observable),this._items.slice()}toJSON(t){return(0,p.gc)(this._observable),this.toArray().map(e=>(0,y.W)(e)?e.toJSON(t):e)}toLocaleString(){return(0,p.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,p.gc)(this._observable),this._items.toString()}unshift(...t){return(0,p.gc)(this._observable),!t.length||this._emitBeforeChanges(1)||(this._splice(0,0,t),this._emitAfterChanges(1)),this.length}_createNewInstance(t){return new this.constructor(t)}_splice(t,e,s){const n=this._items,i=this.itemType;let r,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,f._)(()=>this._dispatchChange())),t<0&&(t+=this.length),e){if(o=n.splice(t,e),this.hasEventListener("before-remove")){const e=w.acquire();e.target=this,e.cancellable=!0;for(let s=0,i=o.length;s<i;s++)r=o[s],e.reset(r),this.emit("before-remove",e),e.defaultPrevented&&(o.splice(s,1),n.splice(t,0,r),t+=1,s-=1,i-=1);w.release(e)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const t=w.acquire();t.target=this,t.cancellable=!1;const e=o.length;for(let s=0;s<e;s++)t.reset(o[s]),this.emit("after-remove",t);w.release(t)}}if(s?.length){if(i){const t=[];for(const e of s){const s=i.ensureType(e);null==s&&null!=e||t.push(s)}s=t}const e=this.hasEventListener("before-add"),r=this.hasEventListener("after-add"),o=t===this.length;if(e||r){const i=w.acquire();i.target=this,i.cancellable=!0;const a=w.acquire();a.target=this,a.cancellable=!1;for(const h of s)e?(i.reset(h),this.emit("before-add",i),i.defaultPrevented||(o?n.push(h):n.splice(t++,0,h),this._length=n.length,r&&(a.reset(h),this.emit("after-add",a)))):(o?n.push(h):n.splice(t++,0,h),this._length=n.length,a.reset(h),this.emit("after-add",a));w.release(a),w.release(i)}else{if(o)for(const t of s)n.push(t);else n.splice(t,0,...s);this._length=n.length}}if((s?.length||o?.length)&&this._notifyChangeEvent(s,o),this.hasEventListener("after-splice")){const n=new S(this,s,o,t,e);this.emit("after-splice",n)}return o}_emitBeforeChanges(t){let e=!1;if(this.hasEventListener("before-changes")){const s=w.acquire();s.target=this,s.cancellable=!0,s.type=t,this.emit("before-changes",s),e=s.defaultPrevented,w.release(s)}return e}_emitAfterChanges(t){if(this.hasEventListener("after-changes")){const e=w.acquire();e.target=this,e.cancellable=!1,e.type=t,this.emit("after-changes",e),w.release(e)}this._observable.notify()}_notifyChangeEvent(t,e){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:t,removed:e})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const t=this._notifications;this._notifications=null;for(const e of t){const t=e.changes;E.clear(),P.clear(),R.clear();for(const{added:e,removed:s}of t){if(e)if(0===R.size&&0===P.size)for(const t of e)E.add(t);else for(const t of e)P.has(t)?(R.add(t),P.delete(t)):R.has(t)||E.add(t);if(s)if(0===R.size&&0===E.size)for(const t of s)P.add(t);else for(const t of s)E.has(t)?E.delete(t):(R.delete(t),P.add(t))}const s=r.A.acquire();E.forEach(t=>{s.push(t)});const n=r.A.acquire();P.forEach(t=>{n.push(t)});const i=this._items,o=e.items,a=r.A.acquire();if(R.forEach(t=>{o.indexOf(t)!==i.indexOf(t)&&a.push(t)}),e.listeners&&(s.length||n.length||a.length)){const t={target:this,added:s,removed:n,moved:a},i=e.listeners.length;for(let s=0;s<i;s++){const n=e.listeners[s];n.removed||n.callback.call(this,t)}}r.A.release(s),r.A.release(n),r.A.release(a)}E.clear(),P.clear(),R.clear()}};(0,i.Cg)([(0,d.MZ)()],I.prototype,"_updating",void 0),(0,i.Cg)([(0,d.MZ)()],I.prototype,"_length",void 0),(0,i.Cg)([(0,d.MZ)()],I.prototype,"length",null),(0,i.Cg)([(0,d.MZ)()],I.prototype,"items",null),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],I.prototype,"updating",null),I=n=(0,i.Cg)([(0,b.$)("esri.core.Collection")],I);const q=I},69052(t,e,s){s.d(e,{hr:()=>i,ie:()=>h,uC:()=>a});var n=s(34727);class i{constructor(t,e){this.min=t,this.max=e,this.range=e-t}normalize(t,e=0,s=!1){return r(this.range,this.min,this.max,t,e,s)}clamp(t,e=0){return(0,n.qE)(t-e,this.min,this.max)+e}monotonic(t,e,s){return t<e?e:e+o(this.range,t-e,s)}minimalMonotonic(t,e,s){return r(this.range,t,t+this.range,e,s)}center(t,e,s){return e=this.monotonic(t,e,s),this.normalize((t+e)/2,s)}diff(t,e,s){return this.monotonic(t,e,s)-t}shortestSignedDiff(t,e){t=this.normalize(t);const s=(e=this.normalize(e))-t,n=e<t?this.minimalMonotonic(t,e)-t:e-this.minimalMonotonic(e,t);return Math.abs(s)<Math.abs(n)?s:n}contains(t,e,s){return e=this.minimalMonotonic(t,e),(s=this.minimalMonotonic(t,s))>t&&s<e}}function r(t,e,s,n,i=0,r=!1){return(n-=i)<e?n+=o(t,e-n):n>s&&(n-=o(t,n-s)),r&&n===s&&(n=e),n+i}function o(t,e,s=0){return Math.ceil((e-s)/t)*t+s}const a=new i(0,2*Math.PI),h=(new i(-Math.PI,Math.PI),new i(0,360))},4902(t,e,s){s.d(e,{s:()=>o});var n=s(5482),i=s(64108);let r=0;const o=t=>{const e=t;let s=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+r++})}};return s=(0,n.Cg)([(0,i.$)("esri.core.Identifiable")],s),s};o(class{})},7695(t,e,s){function n(t){return(e,s)=>{e[s]=t}}s.d(e,{u:()=>n})},56512(t,e,s){function n(t){let e,s,n=[],i=!1;return function(...r){return i&&e===this&&function(t,e){if(t.length!==e.length)return!1;for(let s=0;s<t.length;++s)if(t[s]!==e[s])return!1;return!0}(r,n)||(s=t.apply(this,r),e=this,n=r,i=!0),s}}s.d(e,{B:()=>n})},36708(t,e,s){s.d(e,{C_:()=>f,OH:()=>d,Vh:()=>m,on:()=>u,pc:()=>b,wB:()=>h,z7:()=>l});var n=s(37955),i=s(36563),r=s(97768),o=s(17676),a=s(14012);function h(t,e,s={}){return c(t,e,s,g)}function l(t,e,s={}){return c(t,e,s,p)}function c(t,e,s={},n){let i=null;const o=s.once?(t,s)=>{n(t)&&((0,r.xt)(i),e(t,s))}:(t,s)=>{n(t)&&e(t,s)};if(i=(0,a.Cn)(t,o,s.sync,s.equals),s.initial){const e=t();o(e,e)}return i}function u(t,e,s,o={}){let a=null,l=null,c=null;function u(){a&&l&&(l.remove(),o.onListenerRemove?.(a),a=null,l=null)}function f(t){o.once&&o.once&&(0,r.xt)(c),s(t)}const g=h(t,(t,s)=>{u(),(0,n.wb)(t)&&(a=t,l=(0,n.on)(t,e,f),o.onListenerAdd?.(t))},{sync:o.sync,initial:!0});return c=(0,i.hA)(()=>{g.remove(),u()}),c}function f(t,e){return function(t,e,s){if((0,o.G4)(s))return Promise.reject((0,o.NK)());const n=t();if(e?.(n))return Promise.resolve(n);let a=null;function h(){a=(0,r.xt)(a)}return new Promise((n,r)=>{a=(0,i.vE)([(0,o.u7)(s,()=>{h(),r((0,o.NK)())}),c(t,t=>{h(),n(t)},{sync:!1,once:!0},e??g)])})}(t,p,e)}function g(t){return!0}function p(t){return!!t}s(80559);const d={sync:!0},m={initial:!0},b={sync:!0,initial:!0}},90629(t,e,s){s.d(e,{Lz:()=>i,PN:()=>r,cr:()=>o,gs:()=>h,r_:()=>l,tc:()=>a}),s(39829);const n=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function i(t){return t?t/72*96:0}function r(t){return t?72*t/96:0}function o(t){if("string"==typeof t){const e=t.match(n);if(e){const s=Number(e[1]),n=e[3]&&e[3].toLowerCase(),i=t.startsWith("-"),o="px"===n?r(s):s;return i?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return t}function a(t=0,e=0){return{x:t,y:e}}function h(t=0,e=0){return[t,e]}function l(t=0,e=0,s=0){return[t,e,s]}},31411(t,e,s){s.d(e,{GS:()=>k,gh:()=>M});var n=s(49186),i=s(56512),r=s(65864),o=s(4305),a=s(50954),h=s(52006),l=s(49663),c=s(46068),u=s(15507);const f=1e-6,g=[0,0];function p(t){return{maxSegmentLength:t.maxSegmentLength??0,maxDeviation:t.maxDeviation??0,maxSegmentsPerCurve:t.maxSegmentsPerCurve??12e3,minSegmentsPerCurve:Math.max(t.minSegmentsPerCurve??1,1)}}class d{constructor(t,e){this.curveStart=t,this.curveEnd=e,this.tStart=0,this.tEnd=0,this.tEndStack=[],this.arcEndStack=[]}get stackSize(){return this.tEndStack.length}initialize(t,e){this.tStart=0,this.arcStart=t,this.tEndStack.push(1),this.arcEndStack.push(e)}splitAt(t){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(t),this.arcEndStack.push(this.interpolate(t))}splitInHalf(){return this.splitAt((this.tStart+this.tEnd)/2)}pop(){this.tEnd=this.tEndStack.pop(),this.arcEnd=this.arcEndStack.pop()}next(){this.tStart=this.tEnd,this.arcStart=this.arcEnd}densify(t,{maxDeviation:e,maxSegmentLength:s,maxSegmentsPerCurve:n,minSegmentsPerCurve:i}){const r=s*s,o=e*e,a=1/n,h=this.interpolate(0),l=this.interpolate(1);(0,u.kb)(this.curveStart,h)>f&&t.push(h),this.initialize(h,l);const c=1/i;for(let t=i-1;t>0;t--){const e=t*c;this.pop(),this.splitAt(e)}for(;this.stackSize>0;)this.pop(),this.tStart===this.tEnd||this.tEnd-this.tStart<a||(0===r||!isFinite(r)||(0,u.kb)(this.arcStart,this.arcEnd)<r)&&(0===o||!isFinite(o)||this.getDeviation2()<o)?(t.push(this.arcEnd),this.next()):this.splitInHalf();return(0,u.kb)(this.curveEnd,l)>f&&t.push([...this.curveEnd]),t}}class m extends d{constructor(t,e){const[s,n,i]=e.b;super(t,s),this._controlPointsStack=[],this._curveControlPoints=[n,i],this._arcControlPoints=[n,i],this._controlPointsStack.push(this._arcControlPoints)}splitAt(t){const{arcStart:e,arcEnd:s,tStart:n,tEnd:i}=this,[r,o]=this._arcControlPoints,a=(t-n)/(i-n),h=(0,u.RS)([],e,r,a),l=(0,u.RS)(g,r,o,a),c=(0,u.RS)([],o,s,a),f=(0,u.RS)([],h,l,a),p=(0,u.RS)([],l,c,a),d=(0,u.RS)([],f,p,a);this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this._controlPointsStack.push([p,c]),this.tEndStack.push(t),this.arcEndStack.push(d),this._arcControlPoints[0]=h,this._arcControlPoints[1]=f,this._controlPointsStack.push(this._arcControlPoints)}pop(){super.pop(),this._arcControlPoints=this._controlPointsStack.pop()}interpolate(t){const{curveStart:e,curveEnd:s}=this,[n,i]=this._curveControlPoints;return(0,o.B4)(e,n,i,s,t)}getDeviation2(){const{arcStart:t,arcEnd:e}=this,[s,n]=this._arcControlPoints;return Math.max((0,u.yE)(s,t,e),(0,u.yE)(n,t,e))}}class b extends d{constructor(t,e){const[s]=e.a;super(t,s),this._derivedEllipse=(0,c.SW)(t,e)}pop(){super.pop(),this._tMid=(this.tStart+this.tEnd)/2,this._arcMid=this.interpolate(this._tMid)}splitInHalf(){this.tEndStack.push(this.tEnd),this.arcEndStack.push(this.arcEnd),this.tEndStack.push(this._tMid),this.arcEndStack.push(this._arcMid)}interpolate(t){return(0,c.Uk)(this._derivedEllipse,t)}getDeviation2(){return(0,u.yE)(this._arcMid,this.arcStart,this.arcEnd)}}function _(t,e,s,{cx:n,cy:i,radius:r,thetaStart:o,thetaEnd:a,isInvalid:h},{maxDeviation:l,maxSegmentLength:c,maxSegmentsPerCurve:g,minSegmentsPerCurve:p}){if(h)return t.push([...s]),t;const d=2*r,m=[n+r*Math.cos(o),i+r*Math.sin(o)],b=[n+r*Math.cos(a),i+r*Math.sin(a)];(0,u.kb)(e,m)>f&&t.push(m);const _=Math.abs(a-o),y=c>0&&c<d?2*Math.asin(c/d):_,v=l>0&&l<=r?2*Math.acos(1-l/r):_,S=Math.min(y,v),w=Math.min(g,Math.max(p,Math.ceil(Math.abs(_/S)))),C=1/w;for(let e=1;e<w;e++){const s=e*C,h=o*(1-s)+a*s;t.push([n+r*Math.cos(h),i+r*Math.sin(h)])}return t.push(b),(0,u.kb)(s,b)>f&&t.push([...s]),t}function y(t,e,s,n){return new m(e,s).densify(t,n)}function v(t,e,s,n){const i=(0,a.pM)(e,s),[r]=s.c;return _(t,e,r,i,n)}function S(t,e,s,n){const i=(0,l.io)(e,s),[r]=s.a;return _(t,e,r,i,n)}function w(t,e,s,n){const[i,r,o,a,h,l,c]=s.a;return 0===l||0===c?(t.push([...i]),t):new b(e,s).densify(t,n)}function C(t,e,s,n){return(0,h.Xq)(s)?(t.push([...s]),t):(0,h.n1)(s)?y(t,e,s,n):(0,h.aO)(s)?v(t,e,s,n):(0,h.DA)(s)?S(t,e,s,n):w(t,e,s,n)}function k(t,e={}){if(!(0,h.Ed)(t))return t;const s=p(e),n=(0,h.FD)(t),i=[];for(const t of n){const e=[];for(let n=0;n<t.length-1;n++){const i=n+1,r=[...(0,h.yP)(t[n])];0===n&&e.push(r),C(e,r,t[i],s)}i.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},paths:i,spatialReference:t.spatialReference}:{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},rings:i,spatialReference:t.spatialReference}}const A=(0,i.B)(t=>({maxDeviation:0,maxSegmentLength:100*t,maxSegmentsPerCurve:12e3,minSegmentsPerCurve:1}));async function M(t,e,i){const o=new Set(e);return await async function(t,e,i){let r=null;for(const o of t)if(o&&(0,h.Ed)(o)&&null==o.spatialReference.xyTolerance&&(0,h.V8)(o,e)){const t=o.spatialReference;if(!t)throw new n.A("geometry:missing-spatial-reference","Geometry contains an unsupported curve type, but it cannot be densified because it has no spatial reference.");const e=x(t);if(i.has(e))o.spatialReference=i.get(e);else{r||(r=await Promise.all([s.e(6042),s.e(1878),s.e(8885),s.e(5756),s.e(3299),s.e(6312)]).then(s.bind(s,78125)));const a=r.fromSpatialReference(t),h=a?.getTolerance();if(null==h)throw new n.A("geometry:missing-tolerance","Geometry contains an unsupported curve type, but it cannot be densified because the tolerance of its spatial reference is unknown. Set the `xyTolerance` property of the spatial reference.");const l=o.spatialReference.clone();l.read({xyTolerance:h}),o.spatialReference=l,i.set(e,l)}}}(t,o,i),t.map(t=>{if(!t||!(0,h.Ed)(t))return t;const s=t.spatialReference.xyTolerance;if(null==s)return t;const n=A(s);return(0,r.rS)(function(t,e,s){if(!(0,h.Ed)(t))return t;const n=new Set(e),i=p(s),r=(0,h.FD)(t),o=[];let a=!1;for(const t of r){const e=[];for(let s=0;s<t.length-1;s++){const r=s+1,o=[...(0,h.yP)(t[s])];0===s&&e.push(o);const l=t[r];(0,h.Xq)(l)?e.push([...l]):(0,h.n1)(l)&&!n.has("cubic-bezier")?y(e,o,l,i):(0,h.aO)(l)&&!n.has("circular-arc")?v(e,o,l,i):(0,h.DA)(l)&&!n.has("elliptic-arc")?S(e,o,l,i):(0,h.wY)(l)&&!n.has("elliptic-arc")?w(e,o,l,i):(e.push((0,h.tk)(l)),a=!0)}o.push(e)}return"curvePaths"in t?{...void 0!==t.hasZ?{hasZ:t.hasZ}:{},...void 0!==t.hasM?{hasM:t.hasM}:{},spatialReference:t.spatialReference,...a?{curvePaths:o}:{paths:o}}:{hasZ:t.hasZ,hasM:t.hasM,spatialReference:t.spatialReference,...a?{curveRings:o}:{rings:o}}}(t,e,n))})}function x(t){if(null!=t.wkid)return`${t.wkid}`;if(null!=t.wkt)return t.wkt;const e="toJSON"in t&&"function"==typeof t.toJSON?t.toJSON():t;return JSON.stringify(e)}},17136(t,e,s){s.d(e,{Y_:()=>R,O7:()=>E,el:()=>x});var n=s(92602),i=s(69052),r=s(49186),o=s(53966),a=s(39829),h=s(82799),l=s(16930),c=s(80754),u=s(21325),f=s(28735),g=s(52006),p=s(31411),d=s(11254),m=s(60408),b=s(65864),_=s(2272),y=s(84952),v=s(92300);const S=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function w(t){return"polygon"===t[0].type}function C(t){return"polyline"===t[0].type}function k(t,e,s){const n=1e6;if(e){const e=(0,g.Ed)(t)?(0,p.GS)(t,{maxSegmentLength:n}):function(t,e){if(!(t instanceof h.A||t instanceof a.A)){const t="straightLineDensify: the input geometry is neither polyline nor polygon";throw S().error(t),new r.A("internal:geometry",t)}const s=(0,c.r8)(t),n=[];for(const t of s){const s=[];n.push(s),s.push([t[0][0],t[0][1]]);for(let n=0;n<t.length-1;n++){const i=t[n][0],r=t[n][1],o=t[n+1][0],a=t[n+1][1],h=Math.sqrt((o-i)*(o-i)+(a-r)*(a-r)),l=(a-r)/h,c=(o-i)/h,u=h/e;if(u>1){for(let t=1;t<=u-1;t++){const n=t*e,o=c*n+i,a=l*n+r;s.push([o,a])}const t=(h+Math.floor(u-1)*e)/2,n=c*t+i,o=l*t+r;s.push([n,o])}s.push([o,a])}}return function(t){return"polygon"===t.type}(t)?new a.A({rings:n,spatialReference:t.spatialReference}):new h.A({paths:n,spatialReference:t.spatialReference})}(t,n);t=(0,f.ci)(e,!0)}return s&&(t=(0,c.kS)(t,s)),t}function A(t,e,s){if(Array.isArray(t)){const n=t[0];if(n>e){const s=(0,c.kd)(n,e);t[0]=n+s*(-2*e)}else if(n<s){const e=(0,c.kd)(n,s);t[0]=n+e*(-2*s)}}else{const n=t.x;if(n>e){const s=(0,c.kd)(n,e);t=t.clone().offset(s*(-2*e),0)}else if(n<s){const e=(0,c.kd)(n,s);t=t.clone().offset(e*(-2*s),0)}}return t}function M(t,e){let s=-1;for(let n=0;n<e.cutIndexes.length;n++){const i=e.cutIndexes[n],r=e.geometries[n],o=(0,c.r8)(r);for(let t=0;t<o.length;t++){const e=o[t];e.some(s=>{if(s[0]<180)return!0;{let s=0;for(let t=0;t<e.length;t++){const n=e[t][0];s=n>s?n:s}s=Number(s.toFixed(9));const n=-360*(0,c.kd)(s,180);for(let s=0;s<e.length;s++){const e=r.getPoint(t,s);r.setPoint(t,s,e.clone().offset(n,0))}return!0}})}if(i===s){if(w(t))for(const e of(0,c.r8)(r))t[i]=t[i].addRing(e);else if(C(t))for(const e of(0,c.r8)(r))t[i]=t[i].addPath(e)}else s=i,t[i]=r}return t}async function x(t,e,s){if(!Array.isArray(t))return x([t],e);e&&"string"!=typeof e&&S().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof e?e:e?.url??n.A.geometryServiceUrl;let r,o,l,g,p,w,C,E,P=0;const R=[],N=[];for(const e of t)if(null!=e)if(r||(r=e.spatialReference,o=(0,u.Vp)(r),l=r.isWebMercator,w=l?102100:4326,g=c.j7[w].maxX,p=c.j7[w].minX,C=c.j7[w].plus180Line,E=c.j7[w].minus180Line),o)if("mesh"===e.type)N.push(e);else if("point"===e.type)N.push(A(e.clone(),g,p));else if("multipoint"===e.type){const t=e.clone();t.points=t.points.map(t=>A(t,g,p)),N.push(t)}else if("extent"===e.type){const t=e.clone()._normalize(!1,!1,o);N.push(t.rings?new a.A(t):t)}else if(e.extent){const t=e.extent,s=(0,c.kd)(t.xmin,p)*(2*g);let n=0===s?e.clone():(0,c.kS)(e.clone(),s);t.offset(s,0);let{xmin:i,xmax:r}=t;i=Number(i.toFixed(9)),r=Number(r.toFixed(9)),t.intersects(C)&&r!==g?(P=r>P?r:P,n=k(n,l),R.push(n),N.push("cut")):t.intersects(E)&&i!==p?(P=r*(2*g)>P?r*(2*g):P,n=k(n,l,360),R.push(n),N.push("cut")):N.push(n)}else N.push(e.clone());else N.push(e);else N.push(e);let L=(0,c.kd)(P,g),I=-90;const q=L,O=new h.A;for(;L>0;){const t=360*L-180;O.addPath([[t,I],[t,-1*I]]),I*=-1,L--}if(R.length>0&&q>0){const e=M(R,await async function(t,e,s,n){const i=(0,_.Dl)(t),r=e[0].spatialReference,o={...n,responseType:"json",query:{...i.query,f:"json",sr:(0,u.YX)(r),target:JSON.stringify({geometryType:(0,m.$B)(e[0]),geometries:e}),cutter:JSON.stringify(s)}},a=await(0,d.A)(i.path+"/cut",o),{cutIndexes:h,geometries:l=[]}=a.data;return{cutIndexes:h,geometries:l.map(t=>{const e=(0,b.rS)(t);return e.spatialReference=r,e})}}(i,R,O,s)),n=[],r=[];for(let s=0;s<N.length;s++){const i=N[s];if("cut"!==i)r.push(i);else{const i=e.shift(),o=t[s];null!=o&&"polygon"===o.type&&o.rings&&o.rings.length>1&&i.rings.length>=o.rings.length?(n.push(i),r.push("simplify")):r.push(l?(0,f.Gh)(i):i)}}if(!n.length)return r;const o=await async function(t,e,s){const n="string"==typeof t?(0,y.An)(t):t,i=e[0].spatialReference,r=(0,m.$B)(e[0]),o={...s,query:{...n.query,f:"json",sr:(0,u.YX)(i),geometries:JSON.stringify((0,v.X)(e))}},{data:a}=await(0,d.A)(n.path+"/simplify",o);return(0,v.V)(a.geometries,r,i)}(i,n,s),a=[];for(let t=0;t<r.length;t++){const e=r[t];"simplify"!==e?a.push(e):a.push(l?(0,f.Gh)(o.shift()):o.shift())}return a}const T=[];for(let t=0;t<N.length;t++){const e=N[t];if("cut"!==e)T.push(e);else{const t=R.shift();T.push(!0===l?(0,f.Gh)(t):t)}}return T}function E(t,e,s){const n=(0,u.Vp)(s);if(null==n)return t;const[i,r]=n.valid,o=2*r;let a=0,h=0;e>r?a=Math.ceil(Math.abs(e-r)/o):e<i&&(a=-Math.ceil(Math.abs(e-i)/o)),t>r?h=Math.ceil(Math.abs(t-r)/o):t<i&&(h=-Math.ceil(Math.abs(t-i)/o));let l=t+(a-h)*o;const c=l-e;return c>r?l-=o:c<i&&(l+=o),l}function P(t){const e=(0,u.Vp)(t);if(null==e)return null;const[s,n]=e.valid;return new i.hr(s,n)}const R=P(l.A.WGS84);P(l.A.WebMercator)},80754(t,e,s){s.d(e,{j7:()=>a,kS:()=>l,kd:()=>h,r8:()=>c});var n=s(82799),i=s(16930),r=s(60408),o=s(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new n.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new n.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function h(t,e){return Math.ceil((t-e)/(2*e))}function l(t,e){if((0,o.Ed)(t))for(const s of function(t){return(0,r.Bi)(t)?t.curveRings:t.curvePaths}(t))for(const t of s){if((0,o.aO)(t)){const[s,n]=t.c;s[0]+=e,n[0]+=e;continue}if((0,o.FG)(t)){const[s,n]=t.a;s[0]+=e,n[0]+=e;continue}if((0,o.n1)(t)){const[s,n,i]=t.b;s[0]+=e,n[0]+=e,i[0]+=e;continue}t[0]+=e}for(const s of c(t))for(const t of s)t[0]+=e;return t}function c(t){return(0,r.Bi)(t)?t.rings:t.paths}},50498(t,e,s){s.d(e,{Ye:()=>u,gy:()=>c,iI:()=>g,yR:()=>f});var n=s(66552),i=s(5443),r=s(91075),o=s(48526),a=s(86738),h=s(39829),l=s(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),u=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),f={base:r.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:l.A,polygon:h.A}},g=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},73133(t,e,s){s.d(e,{j:()=>n});const n=(0,s(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1214],{61760(e,t,i){i.d(t,{PU:()=>n,YW:()=>a,ex:()=>r,hv:()=>l,zp:()=>o}),i(34727);var s=i(90629);i(78955),i(91829);const r=2.4;function o(e){return(0,s.PN)(e*r)}function n(e){return(0,s.Lz)(e)/r}function l(e,t,i){const s=Math.sqrt(e**2+t**2)/i;return s>1?0:3/(Math.PI*i**2)*(1-s**2)**2}function a(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},41214(e,t,i){i.d(t,{Hg:()=>pe,XJ:()=>ye});var s=i(53966),r=i(86162),o=i(5482),n=i(11254),l=i(4718),a=i(91429),u=i(30524),p=i(92438),y=i(63988),c=i(66344),d=i(60408),h=i(68197);class g{static parse(e,t,i){const s=[],r=[],o=e.split(";");for(let e=0;e<o.length;e++){const n=o[e];if(n){if(n.includes("po:")){const e=n.slice(3).split("|");if(3===e.length){const[t,i,s]=e,o=f(t,i,s);o&&r.push(o)}continue}if(n.includes("|")){for(const e of n.split("|"))if(t.has(e)){s.push(e);break}}else if(t.has(n))s.push(n);else if(0===e){s.length=0,s.push(b(i));break}}}return new g(s,r)}constructor(e,t){this.partNames=e,this.overrides=t}}function m(e,t){if("DashTemplate"===e)return t.split(" ").map(e=>Number(e));if("Color"===e){const e=new h.A(t).toRgba();return[e[0],e[1],e[2],255*e[3]]}return Number(t)}function f(e,t,i){return{type:"CIMPrimitiveOverride",primitiveName:e,propertyName:t,value:m(t,i),defaultValue:null}}function b(e){switch(e){case"esriGeometryPolyline":return"Invalid_L";case"esriGeometryPolygon":return"Invalid_A";default:return"Invalid_P"}}var v=i(73681),w=i(55674),C=i(40863),x=i(93397);const S={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,width:.5,color:[0,0,0,255]}]}};class M{constructor(e,t,i,s){this.url=e,this.fieldMap=i,this.dictionaryInfo=s,this._symbolPartCache=new c.q(100),this._evaluator=(async()=>v.n.from(await s,t,i))()}async getSymbolAsync(e,t,i=!0){const s=await this._evaluator,r=t?.fields??(0,w.lL)(e.attributes),o=s.createDictionaryFieldsIndex(r),n=s.evaluate(e,t?.scale??0,o,t?.spatialReference);if(null==n)return null;const l=(0,d.$B)(e.geometry),a=g.parse(n,s.itemNames,l),u="esriGeometryPoint"===l&&!e.geometry?.hasZ;return await this._cimPartsToCIMSymbol(e,a.partNames,a.overrides,u,t,i,o)}async getSymbolForControlString(e,t,i){const s=await this._evaluator,r=g.parse(e,s.itemNames,t),o="esriGeometryPoint"===t&&!i,n=_(await Promise.all(r.partNames.map(e=>this._getSymbolPart(e))),r.overrides,o);return new C.A({data:n})}async _cimPartsToCIMSymbol(e,t,s,r,o,n,a){const u=t.map(e=>this._getSymbolPart(e,o));let p=await Promise.all(u);if(n&&this.fieldMap&&p.length>0){const{OverrideHelper:t}=await i.e(3937).then(i.bind(i,73937));p=(0,l.o8)(p);for(const i of p)t.applyDictionaryTextOverrides(i,e,this.fieldMap,a,(0,x.bs)(i))}const y=_(p,s,r);return new C.A({data:y})}async _fetchSymbolPart(e,t){const i=await this.dictionaryInfo,s=(this.url+"/"+i.cimRefTemplateUrl).replaceAll(/\{itemName\}/gi,e),{data:r}=await(0,n.A)(s,{responseType:"json",query:{f:"json"},...t});return r}async _getSymbolPart(e,t){let i=this._symbolPartCache.get(e);return i||(i=this._fetchSymbolPart(e,t),this._symbolPartCache.put(e,i)),i}}function _(e,t,i){if(!e||0===e.length)return null;const s={...e[0]};if(e.length>1){s.effects=null,s.symbolLayers=[];for(const t of e){const e=t;if(null!=e.effects)for(const t of e.symbolLayers)null==t.effects?t.effects=e.effects:t.effects.unshift(...e.effects);s.symbolLayers.unshift(...e.symbolLayers)}}return i&&(s.callout=S),{type:"CIMSymbolReference",symbol:s,primitiveOverrides:t}}var I,Z=i(43937);let j=I=class extends((0,y.h)(p.A)){constructor(e){super(e),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this._styleName=null,this._styleVersion=null,this._styleSymbolFields=null,this._styleTextFields=null,this._styleConfigProperties=null,this._styleUISchema=null,this.type="dictionary"}get _loader(){const e=this.getDictionaryInfo();return e.then(e=>{this._styleName=e.dictionary_name,this._styleVersion=e.dictionary_version,this._styleConfigProperties=e.authoringInfo.configuration,this._styleSymbolFields=e.authoringInfo.symbol,this._styleTextFields=e.authoringInfo.text,this._styleUISchema=e.dictionary_ui_schema?JSON.parse(e.dictionary_ui_schema):null}),new M(this.url,this.config,this.fieldMap??{},e)}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}get styleName(){return this._styleName}get styleVersion(){return this._styleVersion}get styleSymbolFields(){return this._styleSymbolFields}get styleTextFields(){return this._styleTextFields}get styleConfigProperties(){return this._styleConfigProperties}get styleUISchema(){return this._styleUISchema}writeVisualVariables(e,t,i,s){s?.origin||super.writeVisualVariables(e,t,i,s)}clone(){return new I({config:(0,l.o8)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,l.o8)(this.fieldMap),url:(0,l.o8)(this.url),visualVariables:(0,l.o8)(this.visualVariables)})}async getSymbolAsync(e,t,i=!0){return this._loader.getSymbolAsync(e,t,i)}async getSymbolForControlString(e,t,i){return this._loader.getSymbolForControlString(e,t,i)}getDictionaryInfo(){return this._dictionaryInfoPromise||(this._dictionaryInfoPromise=this._fetchDictionaryInfo()),this._dictionaryInfoPromise}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,u.Dx)(e,t,null,this.scaleExpression);for(const i in this.fieldMap){const s=this.fieldMap[i];t.has(s)&&e.add(s)}}get arcadeRequired(){return!0}getSymbol(){return null}get symbols(){return[]}async _fetchDictionaryInfo(){const{data:e}=await(0,n.A)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"}});return e}};(0,o.Cg)([(0,a.MZ)({type:M})],j.prototype,"_loader",null),(0,o.Cg)([(0,a.MZ)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],j.prototype,"config",void 0),(0,o.Cg)([(0,a.MZ)({type:Object,json:{write:!0}})],j.prototype,"fieldMap",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],j.prototype,"scaleExpression",void 0),(0,o.Cg)([(0,Z.K)("scaleExpression")],j.prototype,"writeData",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],j.prototype,"scaleExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],j.prototype,"url",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],j.prototype,"styleName",null),(0,o.Cg)([(0,a.MZ)({type:String})],j.prototype,"styleVersion",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],j.prototype,"styleSymbolFields",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],j.prototype,"styleTextFields",null),(0,o.Cg)([(0,a.MZ)({type:[Object]})],j.prototype,"styleConfigProperties",null),(0,o.Cg)([(0,a.MZ)({type:Object})],j.prototype,"styleUISchema",null),(0,o.Cg)([(0,Z.K)("visualVariables")],j.prototype,"writeVisualVariables",null),j=I=(0,o.Cg)([(0,a.$K)("esri.renderers.DictionaryRenderer")],j);var A,D=i(25482),P=i(56507);let E=A=class extends D.o{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(s.A.getLogger(this).error(".field: field must be a string value"),null):(0,P.GX)(e)}clone(){return new A({color:this.color?.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[Number],write:!0}})],E.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"field",void 0),(0,o.Cg)([(0,a.wg)("field")],E.prototype,"castField",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpressionTitle",void 0),E=A=(0,o.Cg)([(0,a.$K)("esri.renderers.support.AttributeColorInfo")],E);const V=E;var N;let T=N=class extends D.o{constructor(e){super(e),this.unit=null}clone(){return new N({unit:this.unit})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"unit",void 0),T=N=(0,o.Cg)([(0,a.$K)("esri.renderers.support.DotDensityLegendOptions")],T);const R=T;var O,F=i(94985),k=i(31593),q=i(93223);let L=O=class extends((0,y.h)(p.A)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new h.A([0,0,0,0]),this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new k.A,this.dotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new F.A({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}get visualVariables(){return super.visualVariables}set visualVariables(e){super.visualVariables=e}clone(){return new O({attributes:(0,l.o8)(this.attributes),backgroundColor:(0,l.o8)(this.backgroundColor),dotBlendingEnabled:(0,l.o8)(this.dotBlendingEnabled),dotShape:(0,l.o8)(this.dotShape),dotSize:(0,l.o8)(this.dotSize),dotValue:(0,l.o8)(this.dotValue),legendOptions:(0,l.o8)(this.legendOptions),outline:(0,l.o8)(this.outline),referenceScale:(0,l.o8)(this.referenceScale),seed:(0,l.o8)(this.seed),visualVariables:(0,l.o8)(this.visualVariables),authoringInfo:(0,l.o8)(this.authoringInfo)})}getControllerHash(){const e=this.attributes?.map(e=>e.field||e.valueExpression||"");return`${e}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes??[])i.valueExpression&&await(0,u.Dx)(e,t,null,i.valueExpression),i.field&&e.add(i.field)}};(0,o.Cg)([(0,a.MZ)({type:[V],json:{write:!0}})],L.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],L.prototype,"backgroundColor",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],L.prototype,"dotBlendingEnabled",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!1}})],L.prototype,"dotShape",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"dotSize",void 0),(0,o.Cg)([(0,a.MZ)({type:R,json:{write:!0}})],L.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:k.A,json:{default:null,write:!0}})],L.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"dotValue",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"referenceScale",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"seed",void 0),(0,o.Cg)([(0,q.e)({dotDensity:"dot-density"})],L.prototype,"type",void 0),L=O=(0,o.Cg)([(0,a.$K)("esri.renderers.DotDensityRenderer")],L);var z,$=i(90629),K=i(30943);let U=z=class extends D.o{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new z({color:this.color&&this.color.clone(),ratio:this.ratio})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[P.jz],default:null,write:{isRequired:!0}}})],U.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:{isRequired:!0}}})],U.prototype,"ratio",void 0),U=z=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapColorStop")],U);var B=i(69540);let H=class extends((0,B.OU)(D.o)){constructor(e){super(e),this.minLabel=null,this.maxLabel=null,this.title=null}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],H.prototype,"minLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],H.prototype,"maxLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],H.prototype,"title",void 0),H=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapLegendOptions")],H);const G=H;var J,X=i(61760),W=i(53930);function Y(e){if(null!=e){const{maxDensity:t,minDensity:i,radius:s}=e;if(null!=t||null!=i||null!=s){const{blurRadius:t,maxPixelIntensity:i,minPixelIntensity:s,...r}=e;return r}}return e}let Q=J=class extends p.A{constructor(e){super(e),this.authoringInfo=null,this.colorStops=[new U({ratio:0,color:new h.A("rgba(255, 140, 0, 0)")}),new U({ratio:.75,color:new h.A("rgba(255, 140, 0, 1)")}),new U({ratio:.9,color:new h.A("rgba(255, 0, 0, 1)")})],this.field=null,this.legendOptions=null,this.maxDensity=.04,this.minDensity=0,this.referenceScale=0,this.type="heatmap",this.valueExpression=null,this.valueExpressionTitle=null}normalizeCtorArgs(e){return Y(e)}get blurRadius(){return(0,X.PU)(this.radius)}set blurRadius(e){const t=this.maxPixelIntensity,i=this.minPixelIntensity;this._set("radius",(0,X.zp)(e)),this._set("maxDensity",t*this._pixelIntensityToDensity),this._set("minDensity",i*this._pixelIntensityToDensity)}get maxPixelIntensity(){return this.maxDensity/this._pixelIntensityToDensity}set maxPixelIntensity(e){this._set("maxDensity",e*this._pixelIntensityToDensity)}get minPixelIntensity(){return this.minDensity/this._pixelIntensityToDensity}set minPixelIntensity(e){this._set("minDensity",e*this._pixelIntensityToDensity)}get radius(){return this._get("radius")??18}set radius(e){this._set("radius",e)}get _pixelIntensityToDensity(){return 24/(X.ex**2*this.blurRadius**4)}read(e,t){e=Y(e),super.read(e,t)}getSymbol(){return new W.A}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}async collectRequiredFields(e,t){const i=this.field,s=this.valueExpression;i&&"string"==typeof i&&(0,u.rq)(e,t,i),s&&"string"==typeof s&&await(0,u.Dx)(e,t,null,s)}clone(){return new J({authoringInfo:this.authoringInfo&&this.authoringInfo.clone(),colorStops:(0,l.o8)(this.colorStops),field:this.field,legendOptions:(0,l.o8)(this.legendOptions),maxDensity:this.maxDensity,minDensity:this.minDensity,radius:this.radius,referenceScale:this.referenceScale,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:K.A,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],Q.prototype,"authoringInfo",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"blurRadius",null),(0,o.Cg)([(0,a.MZ)({type:[U],json:{write:{isRequired:!0}}})],Q.prototype,"colorStops",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Q.prototype,"field",void 0),(0,o.Cg)([(0,a.MZ)({type:G,json:{write:!0}})],Q.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"maxDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"maxPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"minDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"minPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,cast:$.cr,json:{write:!0}})],Q.prototype,"radius",null),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0},json:{default:0,write:!0}})],Q.prototype,"referenceScale",void 0),(0,o.Cg)([(0,q.e)({heatmap:"heatmap"})],Q.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-document":{write:!1},"portal-item":{write:!1}}}})],Q.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Q.prototype,"valueExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],Q.prototype,"_pixelIntensityToDensity",null),Q=J=(0,o.Cg)([(0,a.$K)("esri.renderers.HeatmapRenderer")],Q);var ee=i(4576),te=i(49849);let ie=class extends((0,B.OU)(D.o)){constructor(e){super(e),this.color=new h.A([0,0,0,0]),this.label=null,this.threshold=0}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],ie.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],ie.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],ie.prototype,"threshold",void 0),ie=(0,o.Cg)([(0,a.$K)("esri.renderers.support.OthersCategory")],ie);var se=i(20061),re=i(62724),oe=i(48940);const ne={base:i(2795).A,key:"type",typeMap:{size:oe.A,opacity:re.A}};let le=class extends((0,y.h)((0,B.OU)(p.A))){constructor(e){super(e),this.attributes=null,this.backgroundFillSymbol=null,this.defaultColor=new h.A([0,0,0,0]),this.defaultLabel=null,this.holePercentage=0,this.othersCategory=new ie,this.legendOptions=null,this.outline=null,this.type="pie-chart",this.visualVariables=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}getSymbol(){return new W.A({size:this.size?this.size/2+(this.outline?.width||0):0})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol(),this.backgroundFillSymbol].filter(ee.Ru)}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes)i.valueExpression&&await(0,u.Dx)(e,t,null,i.valueExpression),i.field&&e.add(i.field)}};(0,o.Cg)([(0,a.MZ)({type:[V],json:{write:!0}})],le.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)(te.As)],le.prototype,"backgroundFillSymbol",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],le.prototype,"defaultColor",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],le.prototype,"defaultLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],le.prototype,"holePercentage",void 0),(0,o.Cg)([(0,a.MZ)({type:ie,json:{write:!0}})],le.prototype,"othersCategory",void 0),(0,o.Cg)([(0,a.MZ)({type:se.A,json:{write:!0}})],le.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:k.A,json:{default:null,write:!0}})],le.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,cast:$.cr,json:{write:!0}})],le.prototype,"size",null),(0,o.Cg)([(0,q.e)({pieChart:"pie-chart"})],le.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({types:[ne]})],le.prototype,"visualVariables",void 0),le=(0,o.Cg)([(0,a.$K)("esri.renderers.PieChartRenderer")],le);var ae=i(96576),ue=i(93618);const pe={key:"type",base:p.A,typeMap:{heatmap:Q,simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,"dot-density":L,dictionary:j,"pie-chart":le},errorContext:"renderer"},ye={key:"type",base:p.A,typeMap:{simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,heatmap:Q},errorContext:"renderer",validate:function(e){switch(e.type){case"simple":return function(e){if(e.symbol)return e;s.A.getLogger("esri.renderers.support.types").error("Removed invalid 'simple' renderer without a symbol from web scene.")}(e);case"unique-value":return function(e){const t=e.uniqueValueInfos,i=t?.filter(({symbol:e,label:t},i)=>(e||s.A.getLogger("esri.renderers.support.types").error(`Removed invalid unique value info ([${i}] ${t}) without a symbol from web scene.`),!!e));return i?.length!==t?.length&&(e.uniqueValueInfos=i),e}(e);case"class-breaks":return function(e){const t=e.classBreakInfos,i=t?.filter(({symbol:e,label:t},i)=>(e||s.A.getLogger("esri.renderers.support.types").error(`Removed invalid class break info ([${i}] ${t}) without a symbol from web scene.`),!!e));return i?.length!==t?.length&&(e.classBreakInfos=i),e}(e);case"heatmap":return e}}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1214],{61760(e,t,i){i.d(t,{PU:()=>n,YW:()=>a,ex:()=>r,hv:()=>l,zp:()=>o}),i(34727);var s=i(90629);i(78955),i(91829);const r=2.4;function o(e){return(0,s.PN)(e*r)}function n(e){return(0,s.Lz)(e)/r}function l(e,t,i){const s=Math.sqrt(e**2+t**2)/i;return s>1?0:3/(Math.PI*i**2)*(1-s**2)**2}function a(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},41214(e,t,i){i.d(t,{Hg:()=>pe,XJ:()=>ye});var s=i(53966),r=i(86162),o=i(5482),n=i(11254),l=i(4718),a=i(91429),u=i(30524),p=i(92438),y=i(63988),c=i(66344),d=i(60408),h=i(68197);class g{static parse(e,t,i){const s=[],r=[],o=e.split(";");for(let e=0;e<o.length;e++){const n=o[e];if(n){if(n.includes("po:")){const e=n.slice(3).split("|");if(3===e.length){const[t,i,s]=e,o=f(t,i,s);o&&r.push(o)}continue}if(n.includes("|")){for(const e of n.split("|"))if(t.has(e)){s.push(e);break}}else if(t.has(n))s.push(n);else if(0===e){s.length=0,s.push(b(i));break}}}return new g(s,r)}constructor(e,t){this.partNames=e,this.overrides=t}}function m(e,t){if("DashTemplate"===e)return t.split(" ").map(e=>Number(e));if("Color"===e){const e=new h.A(t).toRgba();return[e[0],e[1],e[2],255*e[3]]}return Number(t)}function f(e,t,i){return{type:"CIMPrimitiveOverride",primitiveName:e,propertyName:t,value:m(t,i),defaultValue:null}}function b(e){switch(e){case"esriGeometryPolyline":return"Invalid_L";case"esriGeometryPolygon":return"Invalid_A";default:return"Invalid_P"}}var v=i(73681),w=i(55674),C=i(40863),x=i(93397);const S={type:"CIMSimpleLineCallout",lineSymbol:{type:"CIMLineSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,width:.5,color:[0,0,0,255]}]}};class M{constructor(e,t,i,s){this.url=e,this.fieldMap=i,this.dictionaryInfo=s,this._symbolPartCache=new c.q(100),this._evaluator=(async()=>v.n.from(await s,t,i))()}async getSymbolAsync(e,t,i=!0){const s=await this._evaluator,r=t?.fields??(0,w.lL)(e.attributes),o=s.createDictionaryFieldsIndex(r),n=s.evaluate(e,t?.scale??0,o,t?.spatialReference);if(null==n)return null;const l=(0,d.$B)(e.geometry),a=g.parse(n,s.itemNames,l),u="esriGeometryPoint"===l&&!e.geometry?.hasZ;return await this._cimPartsToCIMSymbol(e,a.partNames,a.overrides,u,t,i,o)}async getSymbolForControlString(e,t,i){const s=await this._evaluator,r=g.parse(e,s.itemNames,t),o="esriGeometryPoint"===t&&!i,n=_(await Promise.all(r.partNames.map(e=>this._getSymbolPart(e))),r.overrides,o);return new C.A({data:n})}async _cimPartsToCIMSymbol(e,t,s,r,o,n,a){const u=t.map(e=>this._getSymbolPart(e,o));let p=await Promise.all(u);if(n&&this.fieldMap&&p.length>0){const{OverrideHelper:t}=await i.e(3650).then(i.bind(i,23650));p=(0,l.o8)(p);for(const i of p)t.applyDictionaryTextOverrides(i,e,this.fieldMap,a,(0,x.bs)(i))}const y=_(p,s,r);return new C.A({data:y})}async _fetchSymbolPart(e,t){const i=await this.dictionaryInfo,s=(this.url+"/"+i.cimRefTemplateUrl).replaceAll(/\{itemName\}/gi,e),{data:r}=await(0,n.A)(s,{responseType:"json",query:{f:"json"},...t});return r}async _getSymbolPart(e,t){let i=this._symbolPartCache.get(e);return i||(i=this._fetchSymbolPart(e,t),this._symbolPartCache.put(e,i)),i}}function _(e,t,i){if(!e||0===e.length)return null;const s={...e[0]};if(e.length>1){s.effects=null,s.symbolLayers=[];for(const t of e){const e=t;if(null!=e.effects)for(const t of e.symbolLayers)null==t.effects?t.effects=e.effects:t.effects.unshift(...e.effects);s.symbolLayers.unshift(...e.symbolLayers)}}return i&&(s.callout=S),{type:"CIMSymbolReference",symbol:s,primitiveOverrides:t}}var I,Z=i(43937);let j=I=class extends((0,y.h)(p.A)){constructor(e){super(e),this.config=null,this.fieldMap=null,this.scaleExpression=null,this.scaleExpressionTitle=null,this.url=null,this._styleName=null,this._styleVersion=null,this._styleSymbolFields=null,this._styleTextFields=null,this._styleConfigProperties=null,this._styleUISchema=null,this.type="dictionary"}get _loader(){const e=this.getDictionaryInfo();return e.then(e=>{this._styleName=e.dictionary_name,this._styleVersion=e.dictionary_version,this._styleConfigProperties=e.authoringInfo.configuration,this._styleSymbolFields=e.authoringInfo.symbol,this._styleTextFields=e.authoringInfo.text,this._styleUISchema=e.dictionary_ui_schema?JSON.parse(e.dictionary_ui_schema):null}),new M(this.url,this.config,this.fieldMap??{},e)}writeData(e,t){e&&(t.scalingExpressionInfo={expression:e,returnType:"number"})}get styleName(){return this._styleName}get styleVersion(){return this._styleVersion}get styleSymbolFields(){return this._styleSymbolFields}get styleTextFields(){return this._styleTextFields}get styleConfigProperties(){return this._styleConfigProperties}get styleUISchema(){return this._styleUISchema}writeVisualVariables(e,t,i,s){s?.origin||super.writeVisualVariables(e,t,i,s)}clone(){return new I({config:(0,l.o8)(this.config),scaleExpression:this.scaleExpression,scaleExpressionTitle:this.scaleExpressionTitle,fieldMap:(0,l.o8)(this.fieldMap),url:(0,l.o8)(this.url),visualVariables:(0,l.o8)(this.visualVariables)})}async getSymbolAsync(e,t,i=!0){return this._loader.getSymbolAsync(e,t,i)}async getSymbolForControlString(e,t,i){return this._loader.getSymbolForControlString(e,t,i)}getDictionaryInfo(){return this._dictionaryInfoPromise||(this._dictionaryInfoPromise=this._fetchDictionaryInfo()),this._dictionaryInfoPromise}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t),this.scaleExpression&&await(0,u.Dx)(e,t,null,this.scaleExpression);for(const i in this.fieldMap){const s=this.fieldMap[i];t.has(s)&&e.add(s)}}get arcadeRequired(){return!0}getSymbol(){return null}get symbols(){return[]}async _fetchDictionaryInfo(){const{data:e}=await(0,n.A)(this.url+"/resources/styles/dictionary-info.json",{responseType:"json",query:{f:"json"}});return e}};(0,o.Cg)([(0,a.MZ)({type:M})],j.prototype,"_loader",null),(0,o.Cg)([(0,a.MZ)({type:Object,json:{read:{source:"configuration"},write:{target:"configuration"}}})],j.prototype,"config",void 0),(0,o.Cg)([(0,a.MZ)({type:Object,json:{write:!0}})],j.prototype,"fieldMap",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.expression"},write:!0}})],j.prototype,"scaleExpression",void 0),(0,o.Cg)([(0,Z.K)("scaleExpression")],j.prototype,"writeData",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{read:{source:"scalingExpressionInfo.title"},write:{target:"scalingExpressionInfo.title",overridePolicy(e){return{enabled:!!e&&!!this.scaleExpression}}}}})],j.prototype,"scaleExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],j.prototype,"url",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],j.prototype,"styleName",null),(0,o.Cg)([(0,a.MZ)({type:String})],j.prototype,"styleVersion",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],j.prototype,"styleSymbolFields",null),(0,o.Cg)([(0,a.MZ)({type:[String]})],j.prototype,"styleTextFields",null),(0,o.Cg)([(0,a.MZ)({type:[Object]})],j.prototype,"styleConfigProperties",null),(0,o.Cg)([(0,a.MZ)({type:Object})],j.prototype,"styleUISchema",null),(0,o.Cg)([(0,Z.K)("visualVariables")],j.prototype,"writeVisualVariables",null),j=I=(0,o.Cg)([(0,a.$K)("esri.renderers.DictionaryRenderer")],j);var A,D=i(25482),P=i(56507);let E=A=class extends D.o{constructor(e){super(e),this.color=null,this.field=null,this.label=null,this.valueExpression=null,this.valueExpressionTitle=null}castField(e){return null==e?e:"function"==typeof e?(s.A.getLogger(this).error(".field: field must be a string value"),null):(0,P.GX)(e)}clone(){return new A({color:this.color?.clone(),field:this.field,label:this.label,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[Number],write:!0}})],E.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"field",void 0),(0,o.Cg)([(0,a.wg)("field")],E.prototype,"castField",null),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],E.prototype,"valueExpressionTitle",void 0),E=A=(0,o.Cg)([(0,a.$K)("esri.renderers.support.AttributeColorInfo")],E);const V=E;var N;let T=N=class extends D.o{constructor(e){super(e),this.unit=null}clone(){return new N({unit:this.unit})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],T.prototype,"unit",void 0),T=N=(0,o.Cg)([(0,a.$K)("esri.renderers.support.DotDensityLegendOptions")],T);const R=T;var O,F=i(94985),k=i(31593),q=i(93223);let L=O=class extends((0,y.h)(p.A)){constructor(e){super(e),this.attributes=null,this.backgroundColor=new h.A([0,0,0,0]),this.dotBlendingEnabled=!0,this.dotShape="square",this.dotSize=1,this.legendOptions=null,this.outline=new k.A,this.dotValue=null,this.referenceScale=null,this.seed=1,this.type="dot-density"}calculateDotValue(e){if(null==this.referenceScale)return this.dotValue;const t=e/this.referenceScale*this.dotValue;return t<1?1:t}getSymbol(){return new F.A({outline:this.outline})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}get visualVariables(){return super.visualVariables}set visualVariables(e){super.visualVariables=e}clone(){return new O({attributes:(0,l.o8)(this.attributes),backgroundColor:(0,l.o8)(this.backgroundColor),dotBlendingEnabled:(0,l.o8)(this.dotBlendingEnabled),dotShape:(0,l.o8)(this.dotShape),dotSize:(0,l.o8)(this.dotSize),dotValue:(0,l.o8)(this.dotValue),legendOptions:(0,l.o8)(this.legendOptions),outline:(0,l.o8)(this.outline),referenceScale:(0,l.o8)(this.referenceScale),seed:(0,l.o8)(this.seed),visualVariables:(0,l.o8)(this.visualVariables),authoringInfo:(0,l.o8)(this.authoringInfo)})}getControllerHash(){const e=this.attributes?.map(e=>e.field||e.valueExpression||"");return`${e}-${this.outline&&JSON.stringify(this.outline.toJSON())||""}`}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes??[])i.valueExpression&&await(0,u.Dx)(e,t,null,i.valueExpression),i.field&&e.add(i.field)}};(0,o.Cg)([(0,a.MZ)({type:[V],json:{write:!0}})],L.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],L.prototype,"backgroundColor",void 0),(0,o.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],L.prototype,"dotBlendingEnabled",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!1}})],L.prototype,"dotShape",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"dotSize",void 0),(0,o.Cg)([(0,a.MZ)({type:R,json:{write:!0}})],L.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:k.A,json:{default:null,write:!0}})],L.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"dotValue",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"referenceScale",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],L.prototype,"seed",void 0),(0,o.Cg)([(0,q.e)({dotDensity:"dot-density"})],L.prototype,"type",void 0),L=O=(0,o.Cg)([(0,a.$K)("esri.renderers.DotDensityRenderer")],L);var z,$=i(90629),K=i(30943);let U=z=class extends D.o{constructor(e){super(e),this.color=null,this.ratio=null}clone(){return new z({color:this.color&&this.color.clone(),ratio:this.ratio})}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{type:[P.jz],default:null,write:{isRequired:!0}}})],U.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:{isRequired:!0}}})],U.prototype,"ratio",void 0),U=z=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapColorStop")],U);var B=i(69540);let H=class extends((0,B.OU)(D.o)){constructor(e){super(e),this.minLabel=null,this.maxLabel=null,this.title=null}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],H.prototype,"minLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],H.prototype,"maxLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],H.prototype,"title",void 0),H=(0,o.Cg)([(0,a.$K)("esri.renderers.support.HeatmapLegendOptions")],H);const G=H;var J,X=i(61760),W=i(53930);function Y(e){if(null!=e){const{maxDensity:t,minDensity:i,radius:s}=e;if(null!=t||null!=i||null!=s){const{blurRadius:t,maxPixelIntensity:i,minPixelIntensity:s,...r}=e;return r}}return e}let Q=J=class extends p.A{constructor(e){super(e),this.authoringInfo=null,this.colorStops=[new U({ratio:0,color:new h.A("rgba(255, 140, 0, 0)")}),new U({ratio:.75,color:new h.A("rgba(255, 140, 0, 1)")}),new U({ratio:.9,color:new h.A("rgba(255, 0, 0, 1)")})],this.field=null,this.legendOptions=null,this.maxDensity=.04,this.minDensity=0,this.referenceScale=0,this.type="heatmap",this.valueExpression=null,this.valueExpressionTitle=null}normalizeCtorArgs(e){return Y(e)}get blurRadius(){return(0,X.PU)(this.radius)}set blurRadius(e){const t=this.maxPixelIntensity,i=this.minPixelIntensity;this._set("radius",(0,X.zp)(e)),this._set("maxDensity",t*this._pixelIntensityToDensity),this._set("minDensity",i*this._pixelIntensityToDensity)}get maxPixelIntensity(){return this.maxDensity/this._pixelIntensityToDensity}set maxPixelIntensity(e){this._set("maxDensity",e*this._pixelIntensityToDensity)}get minPixelIntensity(){return this.minDensity/this._pixelIntensityToDensity}set minPixelIntensity(e){this._set("minDensity",e*this._pixelIntensityToDensity)}get radius(){return this._get("radius")??18}set radius(e){this._set("radius",e)}get _pixelIntensityToDensity(){return 24/(X.ex**2*this.blurRadius**4)}read(e,t){e=Y(e),super.read(e,t)}getSymbol(){return new W.A}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol()]}async collectRequiredFields(e,t){const i=this.field,s=this.valueExpression;i&&"string"==typeof i&&(0,u.rq)(e,t,i),s&&"string"==typeof s&&await(0,u.Dx)(e,t,null,s)}clone(){return new J({authoringInfo:this.authoringInfo&&this.authoringInfo.clone(),colorStops:(0,l.o8)(this.colorStops),field:this.field,legendOptions:(0,l.o8)(this.legendOptions),maxDensity:this.maxDensity,minDensity:this.minDensity,radius:this.radius,referenceScale:this.referenceScale,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle})}};(0,o.Cg)([(0,a.MZ)({type:K.A,json:{write:!0,origins:{"web-scene":{write:!1,read:!1}}}})],Q.prototype,"authoringInfo",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"blurRadius",null),(0,o.Cg)([(0,a.MZ)({type:[U],json:{write:{isRequired:!0}}})],Q.prototype,"colorStops",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],Q.prototype,"field",void 0),(0,o.Cg)([(0,a.MZ)({type:G,json:{write:!0}})],Q.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"maxDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"maxPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],Q.prototype,"minDensity",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{origins:{"portal-item":{write:!0},"web-map":{write:!0}}}})],Q.prototype,"minPixelIntensity",null),(0,o.Cg)([(0,a.MZ)({type:Number,cast:$.cr,json:{write:!0}})],Q.prototype,"radius",null),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0},json:{default:0,write:!0}})],Q.prototype,"referenceScale",void 0),(0,o.Cg)([(0,q.e)({heatmap:"heatmap"})],Q.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-document":{write:!1},"portal-item":{write:!1}}}})],Q.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:String})],Q.prototype,"valueExpressionTitle",void 0),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],Q.prototype,"_pixelIntensityToDensity",null),Q=J=(0,o.Cg)([(0,a.$K)("esri.renderers.HeatmapRenderer")],Q);var ee=i(4576),te=i(49849);let ie=class extends((0,B.OU)(D.o)){constructor(e){super(e),this.color=new h.A([0,0,0,0]),this.label=null,this.threshold=0}};(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],ie.prototype,"color",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],ie.prototype,"label",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],ie.prototype,"threshold",void 0),ie=(0,o.Cg)([(0,a.$K)("esri.renderers.support.OthersCategory")],ie);var se=i(20061),re=i(62724),oe=i(48940);const ne={base:i(2795).A,key:"type",typeMap:{size:oe.A,opacity:re.A}};let le=class extends((0,y.h)((0,B.OU)(p.A))){constructor(e){super(e),this.attributes=null,this.backgroundFillSymbol=null,this.defaultColor=new h.A([0,0,0,0]),this.defaultLabel=null,this.holePercentage=0,this.othersCategory=new ie,this.legendOptions=null,this.outline=null,this.type="pie-chart",this.visualVariables=null}get size(){return this._get("size")??12}set size(e){this._set("size",e)}getSymbol(){return new W.A({size:this.size?this.size/2+(this.outline?.width||0):0})}async getSymbolAsync(){return this.getSymbol()}get symbols(){return[this.getSymbol(),this.backgroundFillSymbol].filter(ee.Ru)}async collectRequiredFields(e,t){await this.collectVVRequiredFields(e,t);for(const i of this.attributes)i.valueExpression&&await(0,u.Dx)(e,t,null,i.valueExpression),i.field&&e.add(i.field)}};(0,o.Cg)([(0,a.MZ)({type:[V],json:{write:!0}})],le.prototype,"attributes",void 0),(0,o.Cg)([(0,a.MZ)(te.As)],le.prototype,"backgroundFillSymbol",void 0),(0,o.Cg)([(0,a.MZ)({type:h.A,json:{write:!0}})],le.prototype,"defaultColor",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],le.prototype,"defaultLabel",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],le.prototype,"holePercentage",void 0),(0,o.Cg)([(0,a.MZ)({type:ie,json:{write:!0}})],le.prototype,"othersCategory",void 0),(0,o.Cg)([(0,a.MZ)({type:se.A,json:{write:!0}})],le.prototype,"legendOptions",void 0),(0,o.Cg)([(0,a.MZ)({type:k.A,json:{default:null,write:!0}})],le.prototype,"outline",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,cast:$.cr,json:{write:!0}})],le.prototype,"size",null),(0,o.Cg)([(0,q.e)({pieChart:"pie-chart"})],le.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({types:[ne]})],le.prototype,"visualVariables",void 0),le=(0,o.Cg)([(0,a.$K)("esri.renderers.PieChartRenderer")],le);var ae=i(96576),ue=i(93618);const pe={key:"type",base:p.A,typeMap:{heatmap:Q,simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,"dot-density":L,dictionary:j,"pie-chart":le},errorContext:"renderer"},ye={key:"type",base:p.A,typeMap:{simple:ae.A,"unique-value":ue.A,"class-breaks":r.A,heatmap:Q},errorContext:"renderer",validate:function(e){switch(e.type){case"simple":return function(e){if(e.symbol)return e;s.A.getLogger("esri.renderers.support.types").error("Removed invalid 'simple' renderer without a symbol from web scene.")}(e);case"unique-value":return function(e){const t=e.uniqueValueInfos,i=t?.filter(({symbol:e,label:t},i)=>(e||s.A.getLogger("esri.renderers.support.types").error(`Removed invalid unique value info ([${i}] ${t}) without a symbol from web scene.`),!!e));return i?.length!==t?.length&&(e.uniqueValueInfos=i),e}(e);case"class-breaks":return function(e){const t=e.classBreakInfos,i=t?.filter(({symbol:e,label:t},i)=>(e||s.A.getLogger("esri.renderers.support.types").error(`Removed invalid class break info ([${i}] ${t}) without a symbol from web scene.`),!!e));return i?.length!==t?.length&&(e.classBreakInfos=i),e}(e);case"heatmap":return e}}}}}]);
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2942],{4197(e,t,n){n.d(t,{Vj:()=>u,cj:()=>o,jh:()=>s,l5:()=>a});var r=n(34275),i=n(9093);function s(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function o(e){return[...e]}function u(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>b,DC:()=>d,Ej:()=>f,Ie:()=>x,Jt:()=>g,Ne:()=>v,RF:()=>c,aI:()=>I,fA:()=>a,gE:()=>u,hZ:()=>h,iT:()=>m,is:()=>y,qv:()=>w,vI:()=>p,vY:()=>o,v_:()=>M,vt:()=>s,w1:()=>l}),n(35522);var r=n(5443),i=(n(19419),n(4197));function s(e=M){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function a(e,t,n,r,i,a,o=s()){return o[0]=e,o[1]=t,o[2]=n,o[3]=r,o[4]=i,o[5]=a,o}function o(e,t=s()){return function(e,t,n,r=s()){return h(r,w),function(e,t,n=0,r=t.length/3){let i=e[0],s=e[1],a=e[2],o=e[3],u=e[4],l=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),a=Math.min(a,t[n+3*e+2]),o=Math.max(o,t[n+3*e]),u=Math.max(u,t[n+3*e+1]),l=Math.max(l,t[n+3*e+2]);e[0]=i,e[1]=s,e[2]=a,e[3]=o,e[4]=u,e[5]=l}(r,e,t,n),r}(e,0,e.length/3,t)}function u(e,t=(0,i.jh)(24)){const[n,r,s,a,o,u]=e;return t[0]=n,t[1]=r,t[2]=s,t[3]=n,t[4]=r,t[5]=u,t[6]=n,t[7]=o,t[8]=s,t[9]=n,t[10]=o,t[11]=u,t[12]=a,t[13]=r,t[14]=s,t[15]=a,t[16]=r,t[17]=u,t[18]=a,t[19]=o,t[20]=s,t[21]=a,t[22]=o,t[23]=u,t}function l(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{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 d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function m(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 v(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function p(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function h(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 x(e){return e?h(e,w):s(w)}function g(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 b(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function y(e){return 6===e.length}function I(e,t,n){if(null==e||null==t)return e===t;if(!y(e)||!y(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],M=[0,0,0,0,0,0];s()},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},37352(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),s=n(7762),a=n(25482),o=n(91429);let u=r=class extends a.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"floorField",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!1,write:!1}})],u.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!1,write:!1}})],u.prototype,"viewAllLevelIds",void 0),u=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.LayerFloorInfo")],u)},5682(e,t,n){n.d(t,{s1:()=>c});var r=n(11254),i=(n(4576),n(49186),n(44208),n(58083),n(9093)),s=(n(35522),n(51850)),a=(n(91218),n(16930),n(27993),n(19419));n(39516),n(30524),n(61956);var o=n(59418);n(73941),n(48353);var u=n(91829);(0,u.fA)(0,0,0,.2);(0,u.fA)(0,0,0,.2),n(34727);var l=n(57005);async function c(e,t,n,i,s,a,u,l){const c=[];for(const r of t)if(r&&s.includes(r.name)){const t=`${e}/nodes/${n}/attributes/${r.key}/0`;c.push({url:t,storageInfo:r})}const d=await Promise.allSettled(c.map(e=>(0,r.A)(e.url,{responseType:"array-buffer",query:{...u,token:a},signal:l?.signal}).then(t=>(0,o.m0)(e.storageInfo,t.data)))),m=[];for(const e of i){const t={};for(let n=0;n<d.length;n++){const r=d[n];if("fulfilled"===r.status){const i=r.value;t[c[n].storageInfo.name]=(0,o.E5)(i,e)}}m.push(t)}return m}n(22911),(0,a.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,a.vt)(),(0,a.vt)(),new l.ab,(0,s.vt)(),new Array(72),(0,i.vt)()},49255(e,t,n){function r(e){return function(e){return l(e)||4===e}(e)||function(e){return 5===(t=e)||6===t||7===t||8===e||9===e;var t}(e)}function i(e){return 10===e||11===e}function s(e){return u(e)||i(e)}function a(e){return 1===e}function o(e){return 2===e}function u(e){return 0===e||function(e){return a(e)||o(e)}(e)}function l(e){return function(e){return u(e)||i(e)}(e)||c(e)}function c(e){return 3===e}n.d(t,{Ex:()=>i,Rb:()=>o,Sp:()=>a,_o:()=>u,eh:()=>c,gr:()=>l,i3:()=>s,uw:()=>r})},53466(e,t,n){n.d(t,{U:()=>i});var r=n(31821);function i(e,t){switch(t.textureCoordinateType){case 1:return e.attributes.add("uv0","vec2"),e.varyings.add("vuv0","vec2"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() { vuv0 = uv0; }`);case 2:return e.attributes.add("uv0","vec2"),e.attributes.add("uvRegion","vec4"),e.varyings.add("vuv0","vec2"),e.varyings.add("vuvRegion","vec4"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() {
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2942],{4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>l,jh:()=>s,l5:()=>o,yH:()=>u});var r=n(34275),i=n(9093);function s(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function a(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function o(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function u(e,t){if(0===t.length)return a(e);if(0===e.length)return a(t);const n=s(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function l(e){return[...e]}function c(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>b,DC:()=>d,Ej:()=>f,Ie:()=>x,Jt:()=>g,Ne:()=>v,RF:()=>c,aI:()=>I,fA:()=>a,gE:()=>u,hZ:()=>h,iT:()=>m,is:()=>y,qv:()=>w,vI:()=>p,vY:()=>o,v_:()=>M,vt:()=>s,w1:()=>l}),n(35522);var r=n(5443),i=(n(19419),n(4197));function s(e=M){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function a(e,t,n,r,i,a,o=s()){return o[0]=e,o[1]=t,o[2]=n,o[3]=r,o[4]=i,o[5]=a,o}function o(e,t=s()){return function(e,t,n,r=s()){return h(r,w),function(e,t,n=0,r=t.length/3){let i=e[0],s=e[1],a=e[2],o=e[3],u=e[4],l=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),a=Math.min(a,t[n+3*e+2]),o=Math.max(o,t[n+3*e]),u=Math.max(u,t[n+3*e+1]),l=Math.max(l,t[n+3*e+2]);e[0]=i,e[1]=s,e[2]=a,e[3]=o,e[4]=u,e[5]=l}(r,e,t,n),r}(e,0,e.length/3,t)}function u(e,t=(0,i.jh)(24)){const[n,r,s,a,o,u]=e;return t[0]=n,t[1]=r,t[2]=s,t[3]=n,t[4]=r,t[5]=u,t[6]=n,t[7]=o,t[8]=s,t[9]=n,t[10]=o,t[11]=u,t[12]=a,t[13]=r,t[14]=s,t[15]=a,t[16]=r,t[17]=u,t[18]=a,t[19]=o,t[20]=s,t[21]=a,t[22]=o,t[23]=u,t}function l(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{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 d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function m(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 v(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function p(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function h(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 x(e){return e?h(e,w):s(w)}function g(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 b(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function y(e){return 6===e.length}function I(e,t,n){if(null==e||null==t)return e===t;if(!y(e)||!y(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],M=[0,0,0,0,0,0];s()},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},37352(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),s=n(7762),a=n(25482),o=n(91429);let u=r=class extends a.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new r({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],u.prototype,"floorField",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!1,write:!1}})],u.prototype,"viewAllMode",void 0),(0,i.Cg)([(0,o.MZ)({json:{read:!1,write:!1}})],u.prototype,"viewAllLevelIds",void 0),u=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.LayerFloorInfo")],u)},5682(e,t,n){n.d(t,{s1:()=>c});var r=n(11254),i=(n(4576),n(49186),n(44208),n(58083),n(9093)),s=(n(35522),n(51850)),a=(n(91218),n(16930),n(27993),n(19419));n(39516),n(30524),n(97552);var o=n(59418);n(73941),n(48353),n(90629);var u=n(91829);(0,u.fA)(0,0,0,.2);(0,u.fA)(0,0,0,.2),n(34727);var l=n(57005);async function c(e,t,n,i,s,a,u,l){const c=[];for(const r of t)if(r&&s.includes(r.name)){const t=`${e}/nodes/${n}/attributes/${r.key}/0`;c.push({url:t,storageInfo:r})}const d=await Promise.allSettled(c.map(e=>(0,r.A)(e.url,{responseType:"array-buffer",query:{...u,token:a},signal:l?.signal}).then(t=>(0,o.m0)(e.storageInfo,t.data)))),m=[];for(const e of i){const t={};for(let n=0;n<d.length;n++){const r=d[n];if("fulfilled"===r.status){const i=r.value;t[c[n].storageInfo.name]=(0,o.E5)(i,e)}}m.push(t)}return m}n(22911),(0,a.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,s.vt)(),(0,a.vt)(),(0,a.vt)(),new l.ab,(0,s.vt)(),new Array(72),(0,i.vt)()},49255(e,t,n){function r(e){return function(e){return l(e)||4===e}(e)||function(e){return 5===(t=e)||6===t||7===t||8===e||9===e;var t}(e)}function i(e){return 10===e||11===e}function s(e){return u(e)||i(e)}function a(e){return 1===e}function o(e){return 2===e}function u(e){return 0===e||function(e){return a(e)||o(e)}(e)}function l(e){return function(e){return u(e)||i(e)}(e)||c(e)}function c(e){return 3===e}n.d(t,{Ex:()=>i,Rb:()=>o,Sp:()=>a,_o:()=>u,eh:()=>c,gr:()=>l,i3:()=>s,uw:()=>r})},53466(e,t,n){n.d(t,{U:()=>i});var r=n(31821);function i(e,t){switch(t.textureCoordinateType){case 1:return e.attributes.add("uv0","vec2"),e.varyings.add("vuv0","vec2"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() { vuv0 = uv0; }`);case 2:return e.attributes.add("uv0","vec2"),e.attributes.add("uvRegion","vec4"),e.varyings.add("vuv0","vec2"),e.varyings.add("vuvRegion","vec4"),void e.vertex.code.add(r.H`void forwardTextureCoordinates() {
2
2
  vuv0 = uv0;
3
3
  vuvRegion = uvRegion;
4
4
  }`);default:t.textureCoordinateType;case 0:return void e.vertex.code.add(r.H`void forwardTextureCoordinates() {}`);case 3:return}}},99208(e,t,n){n.d(t,{r:()=>a});var r=n(53466),i=n(31821);function s(e){e.fragment.code.add(i.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {