@arcgis/core 5.2.0-next.13 → 5.2.0-next.15

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 (433) hide show
  1. package/arcgisGlobal.d.ts +3 -3
  2. package/assets/esri/core/workers/RemoteClient.js +1 -1
  3. package/assets/esri/core/workers/chunks/{34544c79ce568f30a094.js → 011a4d4201696fa10408.js} +1 -1
  4. package/assets/esri/core/workers/chunks/01ba5319cac3e0f14205.js +1 -0
  5. package/assets/esri/core/workers/chunks/03354e9256b2f77fd4f2.js +1 -0
  6. package/assets/esri/core/workers/chunks/0436fe89adc78696251c.js +1 -0
  7. package/assets/esri/core/workers/chunks/079b412d07d02504f1db.js +1 -0
  8. package/assets/esri/core/workers/chunks/{81808c3aead7dfac3049.js → 07ca020796c57cefda62.js} +1 -1
  9. package/assets/esri/core/workers/chunks/0826d36dfbfa28442b70.js +1 -0
  10. package/assets/esri/core/workers/chunks/0b45d34938fa7862f746.js +1 -0
  11. package/assets/esri/core/workers/chunks/{7ad09ac5793e8d47b4b2.js → 0b55fc5050e718371e05.js} +1 -1
  12. package/assets/esri/core/workers/chunks/0bf72e9d0a6deceeb406.js +1 -0
  13. package/assets/esri/core/workers/chunks/11c3b1e8ca21ad62fdd1.js +1 -0
  14. package/assets/esri/core/workers/chunks/152f1c08197955224ad3.js +1 -0
  15. package/assets/esri/core/workers/chunks/1a0903b1d2d5101977c6.js +1 -0
  16. package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +1 -0
  17. package/assets/esri/core/workers/chunks/1d81e667a580c5cdeda1.js +262 -0
  18. package/assets/esri/core/workers/chunks/1effde6a39ef0d4af525.js +1 -0
  19. package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +1 -0
  20. package/assets/esri/core/workers/chunks/2bc4aff77c830061e16e.js +1 -0
  21. package/assets/esri/core/workers/chunks/2c3fc2805f6de0963789.js +1 -0
  22. package/assets/esri/core/workers/chunks/2c4f10eaf02ef090ee8f.js +1 -0
  23. package/assets/esri/core/workers/chunks/314bc1b356d43bfa72a8.js +1 -0
  24. package/assets/esri/core/workers/chunks/3526ab3b1f87c24ae6f8.js +1 -0
  25. package/assets/esri/core/workers/chunks/{8c443c52c846a096a250.js → 36dd3ad3ef2fbfc15cbd.js} +1 -1
  26. package/assets/esri/core/workers/chunks/39a10b2092a98083f4cf.js +1 -0
  27. package/assets/esri/core/workers/chunks/{5075e85e1eafd431a8c0.js → 39c994536ce6c1e5c956.js} +1 -1
  28. package/assets/esri/core/workers/chunks/3b74749db78bcba2bc16.js +1 -0
  29. package/assets/esri/core/workers/chunks/3bd32387af52fa48d747.js +1 -0
  30. package/assets/esri/core/workers/chunks/3d83ac791212b81c9d11.js +1 -0
  31. package/assets/esri/core/workers/chunks/3dc6e9494af16f7b8009.js +1 -0
  32. package/assets/esri/core/workers/chunks/3ecb906322a6a5c8c93b.js +1 -0
  33. package/assets/esri/core/workers/chunks/3f67162456a1f02190fa.js +1 -0
  34. package/assets/esri/core/workers/chunks/{d63f532dd7d60ee8ef2c.js → 42e5e00610f281ca8ffa.js} +1 -1
  35. package/assets/esri/core/workers/chunks/44d0ca9d4c5f1722688c.js +1 -0
  36. package/assets/esri/core/workers/chunks/{73c355b895fd6a34fcb8.js → 45b560ca01fb566ba560.js} +1 -1
  37. package/assets/esri/core/workers/chunks/47d630561f3fce5c63c4.js +1 -0
  38. package/assets/esri/core/workers/chunks/4cc78493805671708a9b.js +1 -0
  39. package/assets/esri/core/workers/chunks/{e25bcfdd8f20f8a08b19.js → 4d57c771af4137f74bfb.js} +1 -1
  40. package/assets/esri/core/workers/chunks/4e4419282c4bf7ee4678.js +1 -0
  41. package/assets/esri/core/workers/chunks/4e59e5a5d0ff887ff899.js +1 -0
  42. package/assets/esri/core/workers/chunks/4e788fc6cb2ea936f676.js +1 -0
  43. package/assets/esri/core/workers/chunks/4efef5fa8bf23aaf34cd.js +1 -0
  44. package/assets/esri/core/workers/chunks/4f51963815b0d53ffbd9.js +1 -0
  45. package/assets/esri/core/workers/chunks/5100b5a6a506c704dfaf.js +1 -0
  46. package/assets/esri/core/workers/chunks/511b9c12a7479d39dac0.js +1 -0
  47. package/assets/esri/core/workers/chunks/52afd43bbe23e358efb5.js +1 -0
  48. package/assets/esri/core/workers/chunks/{2a5176533e78a92d8e5b.js → 57b7e5fde972d3ad7884.js} +1 -1
  49. package/assets/esri/core/workers/chunks/57e04b7ec238f7b24274.js +1 -0
  50. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +1 -0
  51. package/assets/esri/core/workers/chunks/5d8924fdcdb473d261cd.js +1 -0
  52. package/assets/esri/core/workers/chunks/62de9e83331fb10aac6a.js +2 -0
  53. package/assets/esri/core/workers/chunks/{9fee0110dc7fee4c95e2.js → 641cddee377599916de2.js} +2 -2
  54. package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +1 -0
  55. package/assets/esri/core/workers/chunks/66392ff750c28064040a.js +1 -0
  56. package/assets/esri/core/workers/chunks/668d84dc512b3085a960.js +1 -0
  57. package/assets/esri/core/workers/chunks/{d3c760109a70a71448c5.js → 67773a9f031d9f1d672f.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{26dca1d387183282276a.js → 6a1b6f8c868f8edce1d7.js} +1 -1
  59. package/assets/esri/core/workers/chunks/6f5a82388a5eb5fcf1b7.js +1 -0
  60. package/assets/esri/core/workers/chunks/718d2d430c1a5a940b83.js +1 -0
  61. package/assets/esri/core/workers/chunks/71c996e1ae84d9daddf2.js +1 -0
  62. package/assets/esri/core/workers/chunks/73b0edabddbb72fe1104.js +1 -0
  63. package/assets/esri/core/workers/chunks/753e0b21e57c12c742ee.js +1 -0
  64. package/assets/esri/core/workers/chunks/764c8ba14ab74b66b391.js +1 -0
  65. package/assets/esri/core/workers/chunks/{1996f0a930abdd97b855.js → 7a8ed08cd173963b3112.js} +1 -1
  66. package/assets/esri/core/workers/chunks/7ee76504e7fea389a1c9.js +1 -0
  67. package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +1 -0
  68. package/assets/esri/core/workers/chunks/{cc697c4d9cdc116373dc.js → 81726d997a2d34449bb2.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{74e1826ad9e2c4fd3b42.js → 81883bca8a79ee2ddb00.js} +1 -1
  70. package/assets/esri/core/workers/chunks/85505a8b8b0794656d06.js +1 -0
  71. package/assets/esri/core/workers/chunks/859bc873e7af911a518f.js +1 -0
  72. package/assets/esri/core/workers/chunks/{8407c91cce31e087b41b.js → 886ae23a1d8fa21e531f.js} +1 -1
  73. package/assets/esri/core/workers/chunks/8927fb4aa68f7e541a39.js +30 -0
  74. package/assets/esri/core/workers/chunks/{3ff7aa216cd794d951e8.js → 8e99f937fd36cf2cd05f.js} +1 -1
  75. package/assets/esri/core/workers/chunks/8eda85fc01a71aedd9e4.js +1 -0
  76. package/assets/esri/core/workers/chunks/8f25d91ea7b99597124e.js +1 -0
  77. package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +1 -0
  78. package/assets/esri/core/workers/chunks/{c357c0a08b99c1e7f290.js → 9331969046f2b277d620.js} +1 -1
  79. package/assets/esri/core/workers/chunks/93d08d82ceab19e314f8.js +1 -0
  80. package/assets/esri/core/workers/chunks/97d2bdbea39cbcf8fd0f.js +1 -0
  81. package/assets/esri/core/workers/chunks/9f93c29af2a18f7cb160.js +1 -0
  82. package/assets/esri/core/workers/chunks/a0208e35b217808777c4.js +1 -0
  83. package/assets/esri/core/workers/chunks/{f25bb204cf6727f6fdef.js → a0876a52a3c2ad849370.js} +1 -1
  84. package/assets/esri/core/workers/chunks/a18cb809dd56c5537b3b.js +1 -0
  85. package/assets/esri/core/workers/chunks/a4f3bcfabd4ad127abf2.js +1 -0
  86. package/assets/esri/core/workers/chunks/{5437a1c05c1bd2175981.js → a63bba226de6c5e464b0.js} +1 -1
  87. package/assets/esri/core/workers/chunks/{7dcf804e1918b94fa4e1.js → a98905bf6050ad3b8721.js} +1 -1
  88. package/assets/esri/core/workers/chunks/a9f29ff36a7ae5bae686.js +1 -0
  89. package/assets/esri/core/workers/chunks/aa5f36d7ed59c625ba78.js +1 -0
  90. package/assets/esri/core/workers/chunks/b045bffb4f2eb9203183.js +1 -0
  91. package/assets/esri/core/workers/chunks/{de541ad390a8d258d2e6.js → b102beeeb7a919f68b51.js} +1 -1
  92. package/assets/esri/core/workers/chunks/b590402170ae289290d7.js +1 -0
  93. package/assets/esri/core/workers/chunks/b75a4753cea6544da8bb.js +1 -0
  94. package/assets/esri/core/workers/chunks/{1a527c0740d9f4fa0791.js → bc547cf814d6703cef59.js} +1 -1
  95. package/assets/esri/core/workers/chunks/bcc097271f5cdf0a97a7.js +1 -0
  96. package/assets/esri/core/workers/chunks/bd36c57dd0cd28dee55f.js +30 -0
  97. package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.js +1 -0
  98. package/assets/esri/core/workers/chunks/bf6ae205fbfbfcd1a0ee.js +1 -0
  99. package/assets/esri/core/workers/chunks/bfd1aef8ac795e1ce227.js +1 -0
  100. package/assets/esri/core/workers/chunks/c148ad0ea9258046ac1f.js +1 -0
  101. package/assets/esri/core/workers/chunks/{0f75c19d8e296a32e329.js → c2cd80b712f29e8cbb8d.js} +1 -1
  102. package/assets/esri/core/workers/chunks/c8460bdf60aca749ed05.js +30 -0
  103. package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +1 -0
  104. package/assets/esri/core/workers/chunks/cc0efa716b8414a44398.js +1 -0
  105. package/assets/esri/core/workers/chunks/{8f6833671c071b522923.js → cd66bd30f654fe571e57.js} +1 -1
  106. package/assets/esri/core/workers/chunks/cf41a66fb97c1076fb34.js +1 -0
  107. package/assets/esri/core/workers/chunks/cf8ce21dc649021e97f6.js +1 -0
  108. package/assets/esri/core/workers/chunks/d3be4d914fc99a1d686c.js +1 -0
  109. package/assets/esri/core/workers/chunks/{6675d56f49d07a97dc40.js → dd0c1cf921369e2bc48b.js} +1 -1
  110. package/assets/esri/core/workers/chunks/df18b0a653b328d8d052.js +1 -0
  111. package/assets/esri/core/workers/chunks/{89e09276086745aa21fa.js → e4e2f479c0c45ae1b2c3.js} +1 -1
  112. package/assets/esri/core/workers/chunks/e656fd5ecf9ac059a87b.js +1 -0
  113. package/assets/esri/core/workers/chunks/e73bb7c8de7412d9975c.js +1 -0
  114. package/assets/esri/core/workers/chunks/{7a474ce61cf484df87b4.js → e80376832050a4b6d28a.js} +1 -1
  115. package/assets/esri/core/workers/chunks/e8546ab510fc9515bd23.js +1 -0
  116. package/assets/esri/core/workers/chunks/e9acc05b0cf9e05f31a8.js +1 -0
  117. package/assets/esri/core/workers/chunks/{58a7cdebc3d182c15ec6.js → eb91dc957c328674e119.js} +1 -1
  118. package/assets/esri/core/workers/chunks/{87c2d4d58c2487324fb7.js → ed2a1c371dfc5d4a744e.js} +31 -31
  119. package/assets/esri/core/workers/chunks/f0832b413612c77a62ca.js +1 -0
  120. package/assets/esri/core/workers/chunks/f116331c6eca937aac8e.js +1 -0
  121. package/assets/esri/core/workers/chunks/{3b837b512999e6ab24bc.js → f148666308071bdb185a.js} +1 -1
  122. package/assets/esri/core/workers/chunks/f23e995320674b32e142.js +1 -0
  123. package/assets/esri/core/workers/chunks/f334bf192dff5af10a70.js +1 -0
  124. package/assets/esri/core/workers/chunks/f76b1fc36f5606cac2c8.js +1 -0
  125. package/assets/esri/core/workers/chunks/{893c0d28a5bf3f9f29f1.js → f93facf47aba9b128fcc.js} +1 -1
  126. package/assets/esri/core/workers/chunks/f955b35337a08f9f747d.js +1 -0
  127. package/assets/esri/core/workers/chunks/fa1336b60278017d2525.js +1 -0
  128. package/assets/esri/core/workers/chunks/fccc34b86454c56f27ab.js +1 -0
  129. package/assets/esri/core/workers/chunks/fea3b6bef761ef78630e.js +1 -0
  130. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  131. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  132. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  133. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  134. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +5 -1
  135. package/assets/esri/themes/dark/main.css +1 -1
  136. package/assets/esri/themes/light/main.css +1 -1
  137. package/assets/esri/themes/light/view.css +1 -1
  138. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis.json +1 -1
  139. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_en.json +1 -1
  140. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  141. package/chunks/Component.glsl.js +8 -8
  142. package/chunks/GaussianSplatComposition.glsl.js +1 -1
  143. package/chunks/GlobalIlluminationBlur.glsl.js +12 -12
  144. package/chunks/OITBlend.glsl.js +1 -24
  145. package/chunks/OITBlendEmission.glsl.js +9 -9
  146. package/chunks/OITDimOpaque.glsl.js +3 -9
  147. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  148. package/chunks/arcgis-knowledge-client-core.js +1 -1
  149. package/chunks/bundle2.js +1 -1
  150. package/chunks/lyr3DMain.js +1 -1
  151. package/config.js +1 -1
  152. package/core/promiseUtils.d.ts +1 -1
  153. package/core/promiseUtils.js +1 -1
  154. package/core/reactiveUtils.d.ts +410 -109
  155. package/core/units.js +1 -1
  156. package/form/types.d.ts +1 -1
  157. package/geometry/Mesh.d.ts +220 -95
  158. package/geometry/operators/support/projectionZScaling.js +1 -1
  159. package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +35 -13
  160. package/geometry/support/MeshLocalVertexSpace.d.ts +32 -8
  161. package/geometry/support/MeshVertexAttributes.d.ts +6 -2
  162. package/geometry/support/heightModelInfoUtils.js +1 -1
  163. package/geometry/support/zscale.js +1 -1
  164. package/graphic/{AnnotationGraphicOrigin.d.ts → AnnotationFeatureGraphicOrigin.d.ts} +9 -9
  165. package/graphic/{AnnotationGraphicOrigin.js → AnnotationFeatureGraphicOrigin.js} +1 -1
  166. package/interfaces.d.ts +3 -3
  167. package/kernel.js +1 -1
  168. package/layers/{AnnotationLayer.d.ts → AnnotationFeatureLayer.d.ts} +24 -24
  169. package/layers/AnnotationFeatureLayer.js +2 -0
  170. package/layers/GaussianSplatLayer.d.ts +4 -1
  171. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  172. package/layers/graphics/data/QueryEngine.js +1 -1
  173. package/layers/graphics/data/queryUtils.js +1 -1
  174. package/layers/graphics/sources/MemorySource.js +1 -1
  175. package/layers/graphics/sources/parquet/ParquetFileStatistics.js +1 -1
  176. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  177. package/layers/graphics/sources/support/parquetIdUtils.js +1 -1
  178. package/layers/mixins/OperationalLayer.js +1 -1
  179. package/layers/save/featureLayerUtils.js +1 -1
  180. package/layers/support/AnnotationSublayer.d.ts +7 -7
  181. package/layers/support/ExportImageServiceParameters.js +1 -1
  182. package/layers/support/FeatureEffect.d.ts +3 -2
  183. package/layers/support/arcgisLayers.js +1 -1
  184. package/layers/support/fetchService.js +1 -1
  185. package/layers/support/layerUtils.js +1 -1
  186. package/layers/support/layersLoader.js +1 -1
  187. package/layers/support/layersMapping.js +1 -1
  188. package/layers/support/parquetUtils.js +1 -1
  189. package/layers/support/schemaValidator.js +1 -1
  190. package/layers/types.d.ts +1 -1
  191. package/networks/Network.js +1 -1
  192. package/networks/UtilityNetwork.js +1 -1
  193. package/networks/support/networkFieldUtils.js +1 -1
  194. package/package.json +3 -3
  195. package/portal/schemas/definitions.js +1 -1
  196. package/portal/schemas/gaussianSplatLayerItem.js +2 -0
  197. package/portal/schemas/integratedMesh3DTilesLayerItem.js +1 -1
  198. package/portal/support/loadUtils.js +1 -1
  199. package/renderers/support/types.d.ts +1 -1
  200. package/renderers/visualVariables/RotationVariable.d.ts +1 -16
  201. package/renderers/visualVariables/RotationVariable.js +1 -1
  202. package/rest/knowledgeGraph/ReplicaDefinition.d.ts +0 -2
  203. package/rest/knowledgeGraph/ServiceDefinition.d.ts +1 -1
  204. package/rest/knowledgeGraph/wasmInterface/replicaToWasmEncodedFactories.js +1 -1
  205. package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +1 -1
  206. package/rest/knowledgeGraphService.js +1 -1
  207. package/rest/networks/support/QueryAssociationsParameters.d.ts +2 -2
  208. package/rest/networks/support/SynthesizeAssociationGeometriesParameters.d.ts +2 -2
  209. package/rest/networks/support/TraceParameters.d.ts +2 -2
  210. package/rest/print.js +1 -1
  211. package/rest/support/AttributeBinsQuery.js +1 -1
  212. package/rest/support/Query.js +1 -1
  213. package/rest/support/TopFeaturesQuery.js +1 -1
  214. package/support/revision.js +1 -1
  215. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  216. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  217. package/views/2d/engine/webgl/util/createMatcher.js +1 -1
  218. package/views/2d/layerViewModuleImportUtils.js +1 -1
  219. package/views/2d/layers/AnnotationFeatureLayerView2D.js +2 -0
  220. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  221. package/views/2d/layers/TileLayerView2D.js +1 -1
  222. package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
  223. package/views/2d/layers/support/annodime/annotationSchema.js +1 -1
  224. package/views/2d/types.d.ts +2 -2
  225. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  226. package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +1 -1
  227. package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
  228. package/views/3d/layerViewModuleImportUtils.js +1 -1
  229. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  230. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  231. package/views/3d/support/GaussianSplatSortWorker.js +1 -1
  232. package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
  233. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  234. package/views/3d/support/gaussianSplatting/GaussianSplatOrderTexture.js +1 -1
  235. package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
  236. package/views/3d/terrain/Tile.js +1 -1
  237. package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
  238. package/views/3d/types.d.ts +1 -1
  239. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +7 -7
  240. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +29 -20
  241. package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +2 -2
  242. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  243. package/views/3d/webgl-engine/core/shaderLibrary/util/GaussianSplatTextureFetch.glsl.js +6 -8
  244. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  245. package/views/3d/webgl-engine/effects/fog/FogTechniqueConfiguration.js +1 -1
  246. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
  247. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  248. package/views/3d/webgl-engine/effects/glow/GlowBlurTechniqueConfiguration.js +1 -1
  249. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechniqueConfiguration.js +1 -1
  250. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  251. package/views/3d/webgl-engine/effects/transparency/OITBlend.glsl.js +1 -1
  252. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  253. package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +1 -1
  254. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +1 -1
  255. package/views/3d/webgl-engine/effects/transparency/OITBlendFragmentTechniqueConfiguration.js +2 -0
  256. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  257. package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
  258. package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +1 -1
  259. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +1 -1
  260. package/views/3d/webgl-engine/effects/transparency/oitBlendFragment.glsl.js +2 -0
  261. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  262. package/views/3d/webgl-engine/lib/Material.js +1 -1
  263. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  264. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TexelFormatInfo.js +2 -0
  265. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +1 -1
  266. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferLayout.js +1 -1
  267. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBuffer.js +1 -1
  268. package/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +1 -1
  269. package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
  270. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  271. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  272. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  273. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  274. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  275. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  276. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  277. package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +1 -1
  278. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +1 -1
  279. package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
  280. package/views/View2D.d.ts +2 -3
  281. package/views/layers/{AnnotationLayerView.d.ts → AnnotationFeatureLayerView.d.ts} +6 -6
  282. package/views/layers/FeatureLikeLayerView.d.ts +2 -2
  283. package/views/layers/FeatureLikeLayerView.js +1 -1
  284. package/webdoc/support/writeUtils.js +1 -1
  285. package/webdoc/widgets/FloorFilter.d.ts +14 -1
  286. package/webdoc/widgets/FloorFilter.js +1 -1
  287. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  288. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +12 -4
  289. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  290. package/widgets/BatchAttributeForm/ReactiveGraphic.js +1 -1
  291. package/widgets/BatchAttributeForm/ValueChangeTransaction.js +2 -0
  292. package/widgets/BatchAttributeForm/VisibleElements.d.ts +8 -1
  293. package/widgets/BatchAttributeForm/VisibleElements.js +1 -1
  294. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  295. package/widgets/BatchAttributeForm/css.js +1 -1
  296. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  297. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  298. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +3 -0
  299. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  300. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  301. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  302. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  303. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  304. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  305. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  306. package/widgets/BatchAttributeForm/stringUtils.js +2 -0
  307. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  308. package/widgets/BatchAttributeForm/types.d.ts +19 -3
  309. package/widgets/BatchAttributeForm.js +1 -1
  310. package/widgets/Editor/AddAssociationWorkflow.js +1 -1
  311. package/widgets/Editor/AddAssociationWorkflowData.js +1 -1
  312. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  313. package/widgets/Editor/EditorViewModel.d.ts +1 -1
  314. package/widgets/Editor/EditorViewModel.js +1 -1
  315. package/widgets/Editor/MergeFeaturesWorkflow.d.ts +3 -3
  316. package/widgets/Editor/MergeFeaturesWorkflow.js +1 -1
  317. package/widgets/Editor/SplitFeatureWorkflow.d.ts +3 -3
  318. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  319. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  320. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  321. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  322. package/widgets/Editor/UpdateRecordWorkflowData.js +1 -1
  323. package/widgets/Editor/UpdateWorkflow.js +1 -1
  324. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  325. package/widgets/Editor/support/SketchController.js +1 -1
  326. package/widgets/Editor/workflowUtils.js +1 -1
  327. package/widgets/Editor.js +1 -1
  328. package/widgets/FloorFilter/FloorFilterViewModel.d.ts +10 -0
  329. package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
  330. package/widgets/Print/PrintViewModel.d.ts +11 -1
  331. package/widgets/Print/PrintViewModel.js +1 -1
  332. package/assets/esri/core/workers/chunks/07cc5743cb6a9fd68adb.js +0 -1
  333. package/assets/esri/core/workers/chunks/0bb159ba0226122465cf.js +0 -1
  334. package/assets/esri/core/workers/chunks/0cbd7f5fe24271942abd.js +0 -1
  335. package/assets/esri/core/workers/chunks/160e5b99f1097a473e6b.js +0 -1
  336. package/assets/esri/core/workers/chunks/17e68828ca6ff6912d3e.js +0 -1
  337. package/assets/esri/core/workers/chunks/1a95370ddc22729ab3c6.js +0 -1
  338. package/assets/esri/core/workers/chunks/1e340536d3c5f94920b5.js +0 -1
  339. package/assets/esri/core/workers/chunks/2185e8a52c5e29d46680.js +0 -1
  340. package/assets/esri/core/workers/chunks/24810c36ae09bb4e83dc.js +0 -1
  341. package/assets/esri/core/workers/chunks/26583db2af1a1cc456e5.js +0 -1
  342. package/assets/esri/core/workers/chunks/274b82cb183ddd0042f3.js +0 -1
  343. package/assets/esri/core/workers/chunks/297ae764445e6f73a5ea.js +0 -1
  344. package/assets/esri/core/workers/chunks/29aba121db7f00e0cf81.js +0 -1
  345. package/assets/esri/core/workers/chunks/2a3145a595d19391bb8a.js +0 -1
  346. package/assets/esri/core/workers/chunks/2b00229c238aae70b948.js +0 -1
  347. package/assets/esri/core/workers/chunks/2b814bb51704a5b4fdc2.js +0 -30
  348. package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +0 -1
  349. package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +0 -1
  350. package/assets/esri/core/workers/chunks/3297658ccd8d4b9ce733.js +0 -1
  351. package/assets/esri/core/workers/chunks/38ca59db0e8f45bd7811.js +0 -1
  352. package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +0 -30
  353. package/assets/esri/core/workers/chunks/398eb3100a282e4736bb.js +0 -1
  354. package/assets/esri/core/workers/chunks/3c5534c576528c1921d2.js +0 -1
  355. package/assets/esri/core/workers/chunks/40b3cdf81c79bbc44527.js +0 -2
  356. package/assets/esri/core/workers/chunks/41f12eb7c9b7086528d5.js +0 -1
  357. package/assets/esri/core/workers/chunks/426156137f279d979ddd.js +0 -1
  358. package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +0 -1
  359. package/assets/esri/core/workers/chunks/4714241189c13d0db897.js +0 -1
  360. package/assets/esri/core/workers/chunks/4d09ef7c57ab7f9782fe.js +0 -1
  361. package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +0 -1
  362. package/assets/esri/core/workers/chunks/5201105ca11a2d450460.js +0 -1
  363. package/assets/esri/core/workers/chunks/528ed0bd8dc149ead023.js +0 -1
  364. package/assets/esri/core/workers/chunks/537c5dd4cd0a067199d1.js +0 -1
  365. package/assets/esri/core/workers/chunks/538537f9bc866d9caa75.js +0 -1
  366. package/assets/esri/core/workers/chunks/58ac245ff7fb57c1004f.js +0 -1
  367. package/assets/esri/core/workers/chunks/59dafa1e1340ea4043e6.js +0 -1
  368. package/assets/esri/core/workers/chunks/5c7aff9604b4576a0e1d.js +0 -1
  369. package/assets/esri/core/workers/chunks/5d3ddbf94539cb4f493e.js +0 -1
  370. package/assets/esri/core/workers/chunks/5eb9fdb076488de9cd83.js +0 -1
  371. package/assets/esri/core/workers/chunks/603177137eb680afe371.js +0 -1
  372. package/assets/esri/core/workers/chunks/629099f05ca5c9ca1973.js +0 -1
  373. package/assets/esri/core/workers/chunks/62f78fa455d556008f6a.js +0 -1
  374. package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +0 -1
  375. package/assets/esri/core/workers/chunks/686c51fd2144e132783e.js +0 -1
  376. package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +0 -1
  377. package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +0 -1
  378. package/assets/esri/core/workers/chunks/6f0341cfa4c68e6e60b3.js +0 -1
  379. package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +0 -1
  380. package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +0 -1
  381. package/assets/esri/core/workers/chunks/70229007d594536ba6a3.js +0 -1
  382. package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +0 -1
  383. package/assets/esri/core/workers/chunks/7e89cb9ff615742e0894.js +0 -1
  384. package/assets/esri/core/workers/chunks/851705cf276eae8d4d37.js +0 -1
  385. package/assets/esri/core/workers/chunks/882ee7ed8a3a0215f9b9.js +0 -1
  386. package/assets/esri/core/workers/chunks/890b7a1153b7f65eba9a.js +0 -1
  387. package/assets/esri/core/workers/chunks/9660ae52fb3951a19e9c.js +0 -1
  388. package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +0 -1
  389. package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +0 -1
  390. package/assets/esri/core/workers/chunks/a4245bd4e67a428fd835.js +0 -1
  391. package/assets/esri/core/workers/chunks/ac33b10fe65f9e9e824f.js +0 -1
  392. package/assets/esri/core/workers/chunks/af31e62499d45bdab3c3.js +0 -1
  393. package/assets/esri/core/workers/chunks/b5937ce657c1fff3864f.js +0 -1
  394. package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +0 -1
  395. package/assets/esri/core/workers/chunks/c3cf9e6e91f71c9cc5f3.js +0 -1
  396. package/assets/esri/core/workers/chunks/c424a66f1546275e2bcb.js +0 -30
  397. package/assets/esri/core/workers/chunks/c80fc1b3048e8d58a1f8.js +0 -1
  398. package/assets/esri/core/workers/chunks/c911f0b5bdd43b66b731.js +0 -1
  399. package/assets/esri/core/workers/chunks/cc3e895cff019e811c07.js +0 -1
  400. package/assets/esri/core/workers/chunks/d122431f3b0b88dcb488.js +0 -1
  401. package/assets/esri/core/workers/chunks/d24e027bb8b2c09f25c8.js +0 -1
  402. package/assets/esri/core/workers/chunks/d2df8c328054dc6cb7b7.js +0 -1
  403. package/assets/esri/core/workers/chunks/d2f47f21ce0b0ab4da17.js +0 -262
  404. package/assets/esri/core/workers/chunks/d41caf20c26f80385265.js +0 -1
  405. package/assets/esri/core/workers/chunks/d468994822f9bc3d6279.js +0 -1
  406. package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +0 -1
  407. package/assets/esri/core/workers/chunks/d64613209a9eb1eafb11.js +0 -1
  408. package/assets/esri/core/workers/chunks/d7be278aed1fb37ad5ec.js +0 -1
  409. package/assets/esri/core/workers/chunks/d8ec0afb2b91ccf32e55.js +0 -1
  410. package/assets/esri/core/workers/chunks/da1e8b338ab9fe9e0a8e.js +0 -1
  411. package/assets/esri/core/workers/chunks/dd920a6f6422fa213eba.js +0 -1
  412. package/assets/esri/core/workers/chunks/e279bcbe4f10e87bde6c.js +0 -1
  413. package/assets/esri/core/workers/chunks/e2de13810dce01b98520.js +0 -1
  414. package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +0 -1
  415. package/assets/esri/core/workers/chunks/e5837e5ac6ef761f26a2.js +0 -1
  416. package/assets/esri/core/workers/chunks/e82488b9b3bb0c1dedb4.js +0 -1
  417. package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +0 -1
  418. package/assets/esri/core/workers/chunks/eac683a37339aa558455.js +0 -1
  419. package/assets/esri/core/workers/chunks/ef46ef4f0ee9f2aeaa4a.js +0 -1
  420. package/assets/esri/core/workers/chunks/f274a8e8c7ca4294e876.js +0 -1
  421. package/assets/esri/core/workers/chunks/f292c2c22a3822343118.js +0 -1
  422. package/assets/esri/core/workers/chunks/f4f642ddd4d5db7cbbb4.js +0 -1
  423. package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +0 -1
  424. package/assets/esri/core/workers/chunks/f6d047358d14328f3622.js +0 -1
  425. package/assets/esri/core/workers/chunks/fb6605be0c5e36785543.js +0 -1
  426. package/assets/esri/core/workers/chunks/fd70a25ffdf2cc6c5be2.js +0 -1
  427. package/layers/AnnotationLayer.js +0 -2
  428. package/views/2d/layers/AnnotationLayerView2D.js +0 -2
  429. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechniqueConfiguration.js +0 -2
  430. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechniqueConfiguration.js +0 -2
  431. /package/assets/esri/core/workers/chunks/{40b3cdf81c79bbc44527.js.LICENSE.txt → 62de9e83331fb10aac6a.js.LICENSE.txt} +0 -0
  432. /package/assets/esri/core/workers/chunks/{9fee0110dc7fee4c95e2.js.LICENSE.txt → 641cddee377599916de2.js.LICENSE.txt} +0 -0
  433. /package/views/layers/{AnnotationLayerView.js → AnnotationFeatureLayerView.js} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8419],{5482(t,e,n){function r(t,e,n,r){var s,i=arguments.length,o=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,n,o):s(e,n))||o);return i>3&&o&&Object.defineProperty(e,n,o),o}function s(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>o,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function o(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function s(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(t){return e(t),s()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},11006(t,e,n){function r(t,e,n,r,i){s(t,e,n||0,r||t.length-1,i||o)}function s(t,e,n,r,o){for(;r>n;){if(r-n>600){var a=r-n+1,u=e-n+1,l=Math.log(a),c=.5*Math.exp(2*l/3),f=.5*Math.sqrt(l*c*(a-c)/a)*(u-a/2<0?-1:1);s(t,e,Math.max(n,Math.floor(e-u*c/a+f)),Math.min(r,Math.floor(e+(a-u)*c/a+f)),o)}var h=t[e],p=n,d=r;for(i(t,n,e),o(t[r],h)>0&&i(t,n,r);p<d;){for(i(t,p,d),p++,d--;o(t[p],h)<0;)p++;for(;o(t[d],h)>0;)d--}0===o(t[n],h)?i(t,n,d):i(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function o(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},73354(t,e,n){n.d(e,{a:()=>o,b:()=>u,c:()=>i,d:()=>a,e:()=>p,f:()=>f,l:()=>c,n:()=>d,t:()=>h});var r=n(40876),s=(n(44208),n(72727));function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[4],p=n[5],d=n[6],y=n[8],m=n[9],g=n[10],M=n[12],B=n[13],b=n[14];let x=0,T=0;for(let n=0;n<u;n++){const n=e[x],s=e[x+1],o=e[x+2];t[T]=l*n+h*s+y*o+M,t[T+1]=c*n+p*s+m*o+B,t[T+2]=f*n+d*s+g*o+b,x+=i,T+=r}return t}function a(t,e,n){u(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function u(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],g=n[8];let M=0,B=0;for(let n=0;n<u;n++){const n=e[M],s=e[M+1],o=e[M+2];t[B]=l*n+h*s+y*o,t[B+1]=c*n+p*s+m*o,t[B+2]=f*n+d*s+g*o,M+=i,B+=r}}function l(t,e,n,r=3,s=r){const i=Math.min(t.length/r,e.length/s);let o=0,a=0;for(let u=0;u<i;u++)t[a]=n*e[o],t[a+1]=n*e[o+1],t[a+2]=n*e[o+2],o+=s,a+=r;return t}function c(t,e,n,r){f(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function f(t,e,n,s,i=3,o=i){const a=Math.min(t.length/i,e.length/o);let u=0,l=0;const c=1/r.Tf;for(let r=0;r<a;r++)t[l]=s*(n*e[u])**c,t[l+1]=s*(n*e[u+1])**c,t[l+2]=s*(n*e[u+2])**c,u+=o,l+=i}function h(t,e,n,r=3,i=r){const o=(0,s.k)(t.length,r,3),a=(0,s.k)(e.length,i,3),u=Math.min(o,a);let l=0,c=0;for(let s=0;s<u;s++)t[c]=e[l]+n[0],t[c+1]=e[l+1]+n[1],t[c+2]=e[l+2]+n[2],l+=i,c+=r;return t}function p(t,e){d(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function d(t,e,n=3,r=n){const s=Math.min(t.length/n,e.length/r);let i=0,o=0;for(let a=0;a<s;a++){const s=e[i],a=e[i+1],u=e[i+2],l=s*s+a*a+u*u;if(l>0){const e=1/Math.sqrt(l);t[o]=e*s,t[o+1]=e*a,t[o+2]=e*u}i+=r,o+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:c,normalize:d,normalizeView:p,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),s=t.typedBuffer,i=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride;let u=0,l=0;for(let t=0;t<r;t++)s[l]=o[u]>>n,s[l+1]=o[u+1]>>n,s[l+2]=o[u+2]>>n,u+=a,l+=i},transformMat3:u,transformMat3View:a,transformMat4:o,transformMat4View:i,translate:h},Symbol.toStringTag,{value:"Module"}))},50867(t,e,n){n.d(e,{a:()=>i,b:()=>c,l:()=>l,n:()=>a,t:()=>o});var r=n(40876),s=(n(44208),n(72727));function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=4,i=r){const o=(0,s.k)(t.length,r,4),a=(0,s.k)(e.length,i,4),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],g=n[8];let M=0,B=0;for(let n=0;n<u;n++){const n=e[M],s=e[M+1],o=e[M+2],a=e[M+3];t[B]=l*n+h*s+y*o,t[B+1]=c*n+p*s+m*o,t[B+2]=f*n+d*s+g*o,t[B+3]=a,M+=i,B+=r}}function a(t,e){const n=Math.min(t.count,e.count),r=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,o=e.typedBufferStride;for(let t=0;t<n;t++){const e=t*s,n=t*o,a=i[n],u=i[n+1],l=i[n+2],c=a*a+u*u+l*l;if(c>0){const t=1/Math.sqrt(c);r[e]=t*a,r[e+1]=t*u,r[e+2]=t*l}}}function u(t,e,n,r=4){const s=Math.min(t.length/r,e.count),i=e.typedBuffer,o=e.typedBufferStride;let a=0,u=0;for(let e=0;e<s;e++)t[u]=n*i[a],t[u+1]=n*i[a+1],t[u+2]=n*i[a+2],t[u+3]=n*i[a+3],a+=o,u+=r}function l(t,e,n,r){c(t.typedBuffer,e,n,r,t.typedBufferStride)}function c(t,e,n,s,i=4){const o=Math.min(t.length/i,e.count),a=e.typedBuffer,u=e.typedBufferStride;let l=0,c=0;const f=1/r.Tf;for(let e=0;e<o;e++)t[c]=s*(n*a[l])**f,t[c+1]=s*(n*a[l+1])**f,t[c+2]=s*(n*a[l+2])**f,t[c+3]=s*n*a[l+3],l+=u,c+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:l,normalize:a,scale:u,scaleView:function(t,e,n){u(t.typedBuffer,e,n,t.typedBufferStride)},transformMat3:o,transformMat3View:i,transformMat4:function(t,e,n,r=4,i=r){const o=(0,s.k)(t.length,r,4),a=(0,s.k)(e.length,i,4),u=Math.min(o,a),l=n[0],c=n[1],f=n[2],h=n[3],p=n[4],d=n[5],y=n[6],m=n[7],g=n[8],M=n[9],B=n[10],b=n[11],x=n[12],T=n[13],w=n[14],v=n[15];let E=0,S=0;for(let n=0;n<u;n++){const n=e[E],s=e[E+1],o=e[E+2],a=e[E+3];t[S]=l*n+p*s+g*o+x*a,t[S+1]=c*n+d*s+M*o+T*a,t[S+2]=f*n+y*s+B*o+w*a,t[S+3]=h*n+m*s+b*o+v*a,E+=i,S+=r}},transformMat4View:function(t,e,n){const r=t.typedBuffer,i=t.typedBufferStride,o=e.typedBuffer,a=e.typedBufferStride,u=(0,s.k)(r.length,i,4),l=(0,s.k)(o.length,a,4),c=Math.min(u,l),f=n[0],h=n[1],p=n[2],d=n[3],y=n[4],m=n[5],g=n[6],M=n[7],B=n[8],b=n[9],x=n[10],T=n[11],w=n[12],v=n[13],E=n[14],S=n[15];for(let t=0;t<c;t++){const e=t*i,n=t*a,s=o[n],u=o[n+1],l=o[n+2],c=o[n+3];r[e]=f*s+y*u+B*l+w*c,r[e+1]=h*s+m*u+b*l+v*c,r[e+2]=p*s+g*u+x*l+E*c,r[e+3]=d*s+M*u+T*l+S*c}}},Symbol.toStringTag,{value:"Module"}))},40876(t,e,n){n.d(e,{Eq:()=>p,G1:()=>y,TS:()=>i,Tf:()=>M,V6:()=>s,Vm:()=>d,ay:()=>u,c1:()=>m,c4:()=>o,j5:()=>l,lT:()=>f,oW:()=>c,xV:()=>b});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function s(t){return!!r[t]||!!r[t.toLowerCase()]}function i(t){return r[t]??r[t.toLowerCase()]}function o(t){return[...i(t)]}function a(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function u(t,e,n,r=1){const s=(t%360+360)%360/360,i=n<=.5?n*(e+1):n+e-n*e,o=2*n-i;return[Math.round(255*a(o,i,s+1/3)),Math.round(255*a(o,i,s)),Math.round(255*a(o,i,s-1/3)),r]}function l(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,s=e?1:17,i=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 u;return i&&(u=o&r,o>>=n,a[3]=s*u/255),u=o&r,o>>=n,a[2]=s*u,u=o&r,o>>=n,a[1]=s*u,u=o&r,o>>=n,a[0]=s*u,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),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),s=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(s+16*s)/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 f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&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])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return u(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=m(t[0]),t[1]=m(t[1]),t[2]=m(t[2]),t[3]=4===t.length?y(t[3]):1,t}function p(t){let e=s(t)?i(t):null;return e??=f(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function y(t){return g(t,0,1)}function m(t){return Math.round(g(t,0,255))}function g(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,B=1/M;function b(t){return t**B}},69540(t,e,n){n.d(e,{OU:()=>c,Pw:()=>f});var r=n(5482),s=n(69622),i=(n(44208),n(4718)),o=(n(53966),n(97768)),a=n(88620),u=n(64108);const l=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let s=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=l}clone(t){const e=(0,a.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,s={},u=new Map;for(const e in n){const o=n[e],a=r?.originOf(e),l=o.clonable;if(o.readOnly||!1===l||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[e];let f=null;if("function"==typeof l)f=l(c,t);else if("reference"===l)f=c;else if(f=(0,i.TU)(c,t),null!=c&&null==f)continue;0===a?u.set(e,f):s[e]=f}const l=new(0,Object.getPrototypeOf(this).constructor)(s);if(u.size){const t=(0,a.oY)(l)?.store;if(t)for(const[e,n]of u)t.set(e,n,0)}return l}};return s=(0,r.Cg)([(0,u.$)("esri.core.Clonable")],s),s},f=c(s.A)},95488(t,e,n){n.d(e,{I:()=>s});var r=n(11406);class s extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},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:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,l,c,f,h,p,d,y){return[t,e,n,r,s,i,o,a,u,l,c,f,h,p,d,y]}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,n){function r(){return[0,0]}function s(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function o(){return i(1,1)}function a(){return i(-1,-1)}function u(){return i(1,0)}function l(){return i(0,1)}n.d(e,{IA:()=>f,Un:()=>c,fA:()=>i,o8:()=>s,vt:()=>r});const c=o(),f=a(),h=u(),p=l();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:f,ONES:c,UNIT_X:h,UNIT_Y:p,ZEROS:[0,0],clone:s,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,negativeOnes:a,ones:o,unitX:u,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function l(){return i(1,1,1)}function c(){return i(1,0,0)}function f(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>g,Cw:()=>y,JP:()=>m,S:()=>l,Ul:()=>u,Un:()=>d,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>p,vt:()=>r});const p=[0,0,0],d=l(),y=c(),m=f(),g=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:y,UNIT_Y:m,UNIT_Z:g,ZEROS:p,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:l,unitX:c,unitY:f,unitZ:h,zeros:u},Symbol.toStringTag,{value:"Module"}))},91829(t,e,n){function r(){return[0,0,0,0]}function s(t,e,n,r){return[t,e,n,r]}function i(t,e,n,r){return[t,e,n,r]}function o(){return s(1,1,1,1)}function a(){return s(1,0,0,0)}function u(){return s(0,1,0,0)}function l(){return s(0,0,1,0)}function c(){return s(0,0,0,1)}n.d(e,{CN:()=>i,Un:()=>h,fA:()=>s,uY:()=>f,vt:()=>r});const f=[0,0,0,0],h=o(),p=a(),d=u(),y=l(),m=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:p,UNIT_Y:d,UNIT_Z:y,ZEROS:f,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:i,fromArray:function(t,e=[0,0,0,0]){const n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:s,ones:o,unitW:c,unitX:a,unitY:u,unitZ:l,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,e,n){n.d(e,{$0:()=>m,$h:()=>S,B8:()=>l,C:()=>i,D_:()=>a,N9:()=>M,O7:()=>E,Tl:()=>f,X_:()=>T,aI:()=>C,e$:()=>p,eL:()=>d,hM:()=>g,hZ:()=>o,hs:()=>h,kN:()=>y,l:()=>w,lw:()=>c,mg:()=>u,o1:()=>v,sC:()=>x,t2:()=>P,t5:()=>_,tZ:()=>O,ut:()=>I,v3:()=>A});var r=n(51850),s=n(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function o(t,e,n,r,s,i,o,a,u,l,c,f,h,p,d,y,m){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t[4]=i,t[5]=o,t[6]=a,t[7]=u,t[8]=l,t[9]=c,t[10]=f,t[11]=h,t[12]=p,t[13]=d,t[14]=y,t[15]=m,t}function a(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,e){if(t===e){const n=e[1],r=e[2],s=e[3],i=e[6],o=e[7],a=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=i,t[11]=e[14],t[12]=s,t[13]=o,t[14]=a}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function l(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],u=e[6],l=e[7],c=e[8],f=e[9],h=e[10],p=e[11],d=e[12],y=e[13],m=e[14],g=e[15],M=n*a-r*o,B=n*u-s*o,b=n*l-i*o,x=r*u-s*a,T=r*l-i*a,w=s*l-i*u,v=c*y-f*d,E=c*m-h*d,S=c*g-p*d,A=f*m-h*y,_=f*g-p*y,R=h*g-p*m;let P=M*R-B*_+b*A+x*S-T*E+w*v;return P?(P=1/P,t[0]=(a*R-u*_+l*A)*P,t[1]=(s*_-r*R-i*A)*P,t[2]=(y*w-m*T+g*x)*P,t[3]=(h*T-f*w-p*x)*P,t[4]=(u*S-o*R-l*E)*P,t[5]=(n*R-s*S+i*E)*P,t[6]=(m*b-d*w-g*B)*P,t[7]=(c*w-h*b+p*B)*P,t[8]=(o*_-a*S+l*v)*P,t[9]=(r*S-n*_-i*v)*P,t[10]=(d*T-y*b+g*M)*P,t[11]=(f*b-c*T-p*M)*P,t[12]=(a*E-o*A-u*v)*P,t[13]=(n*A-r*E+s*v)*P,t[14]=(y*B-d*x-m*M)*P,t[15]=(c*x-f*B+h*M)*P,t):null}function c(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=e[4],u=e[5],l=e[6],c=e[7],f=e[8],h=e[9],p=e[10],d=e[11],y=e[12],m=e[13],g=e[14],M=e[15];let B=n[0],b=n[1],x=n[2],T=n[3];return t[0]=B*r+b*a+x*f+T*y,t[1]=B*s+b*u+x*h+T*m,t[2]=B*i+b*l+x*p+T*g,t[3]=B*o+b*c+x*d+T*M,B=n[4],b=n[5],x=n[6],T=n[7],t[4]=B*r+b*a+x*f+T*y,t[5]=B*s+b*u+x*h+T*m,t[6]=B*i+b*l+x*p+T*g,t[7]=B*o+b*c+x*d+T*M,B=n[8],b=n[9],x=n[10],T=n[11],t[8]=B*r+b*a+x*f+T*y,t[9]=B*s+b*u+x*h+T*m,t[10]=B*i+b*l+x*p+T*g,t[11]=B*o+b*c+x*d+T*M,B=n[12],b=n[13],x=n[14],T=n[15],t[12]=B*r+b*a+x*f+T*y,t[13]=B*s+b*u+x*h+T*m,t[14]=B*i+b*l+x*p+T*g,t[15]=B*o+b*c+x*d+T*M,t}function f(t,e,n){const r=n[0],s=n[1],i=n[2];if(e===t)t[12]=e[0]*r+e[4]*s+e[8]*i+e[12],t[13]=e[1]*r+e[5]*s+e[9]*i+e[13],t[14]=e[2]*r+e[6]*s+e[10]*i+e[14],t[15]=e[3]*r+e[7]*s+e[11]*i+e[15];else{const n=e[0],o=e[1],a=e[2],u=e[3],l=e[4],c=e[5],f=e[6],h=e[7],p=e[8],d=e[9],y=e[10],m=e[11];t[0]=n,t[1]=o,t[2]=a,t[3]=u,t[4]=l,t[5]=c,t[6]=f,t[7]=h,t[8]=p,t[9]=d,t[10]=y,t[11]=m,t[12]=n*r+l*s+p*i+e[12],t[13]=o*r+c*s+d*i+e[13],t[14]=a*r+f*s+y*i+e[14],t[15]=u*r+h*s+m*i+e[15]}return t}function h(t,e,n){const r=n[0],s=n[1],i=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function p(t,e,n,r){let o=r[0],a=r[1],u=r[2],l=Math.sqrt(o*o+a*a+u*u);if(l<=(0,s.FD)())return void i(t,e);l=1/l,o*=l,a*=l,u*=l;const c=Math.sin(n),f=Math.cos(n),h=1-f,p=e[0],d=e[1],y=e[2],m=e[3],g=e[4],M=e[5],B=e[6],b=e[7],x=e[8],T=e[9],w=e[10],v=e[11],E=o*o*h+f,S=a*o*h+u*c,A=u*o*h-a*c,_=o*a*h-u*c,R=a*a*h+f,P=u*a*h+o*c,C=o*u*h+a*c,I=a*u*h-o*c,O=u*u*h+f;t[0]=p*E+g*S+x*A,t[1]=d*E+M*S+T*A,t[2]=y*E+B*S+w*A,t[3]=m*E+b*S+v*A,t[4]=p*_+g*R+x*P,t[5]=d*_+M*R+T*P,t[6]=y*_+B*R+w*P,t[7]=m*_+b*R+v*P,t[8]=p*C+g*I+x*O,t[9]=d*C+M*I+T*O,t[10]=y*C+B*I+w*O,t[11]=m*C+b*I+v*O,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function d(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[4],o=e[5],a=e[6],u=e[7],l=e[8],c=e[9],f=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=i*s+l*r,t[5]=o*s+c*r,t[6]=a*s+f*r,t[7]=u*s+h*r,t[8]=l*s-i*r,t[9]=c*s-o*r,t[10]=f*s-a*r,t[11]=h*s-u*r,t}function y(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function m(t,e,n){if(0===e)return a(t);let r=n[0],i=n[1],o=n[2],u=Math.sqrt(r*r+i*i+o*o);if(u<=(0,s.FD)())return null;u=1/u,r*=u,i*=u,o*=u;const l=Math.sin(e),c=Math.cos(e),f=1-c;return t[0]=r*r*f+c,t[1]=i*r*f+o*l,t[2]=o*r*f-i*l,t[3]=0,t[4]=r*i*f-o*l,t[5]=i*i*f+c,t[6]=o*i*f+r*l,t[7]=0,t[8]=r*o*f+i*l,t[9]=i*o*f-r*l,t[10]=o*o*f+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3],a=r+r,u=s+s,l=i+i,c=r*a,f=r*u,h=r*l,p=s*u,d=s*l,y=i*l,m=o*a,g=o*u,M=o*l;return t[0]=1-(p+y),t[1]=f+M,t[2]=h-g,t[3]=0,t[4]=f-M,t[5]=1-(c+y),t[6]=d+m,t[7]=0,t[8]=h+g,t[9]=d-m,t[10]=1-(c+p),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const b=(0,r.vt)();function x(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function T(t,e){const n=e[0],r=e[1],s=e[2],i=e[4],o=e[5],a=e[6],u=e[8],l=e[9],c=e[10];return t[0]=Math.sqrt(n*n+r*r+s*s),t[1]=Math.sqrt(i*i+o*o+a*a),t[2]=Math.sqrt(u*u+l*l+c*c),t}function w(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t}function v(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=e[3],u=s+s,l=i+i,c=o+o,f=s*u,h=s*l,p=s*c,d=i*l,y=i*c,m=o*c,g=a*u,M=a*l,B=a*c,b=r[0],x=r[1],T=r[2];return t[0]=(1-(d+m))*b,t[1]=(h+B)*b,t[2]=(p-M)*b,t[3]=0,t[4]=(h-B)*x,t[5]=(1-(f+m))*x,t[6]=(y+g)*x,t[7]=0,t[8]=(p+M)*T,t[9]=(y-g)*T,t[10]=(1-(f+d))*T,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function E(t,e,n,r,s){const i=e[0],o=e[1],a=e[2],u=e[3],l=i+i,c=o+o,f=a+a,h=i*l,p=i*c,d=i*f,y=o*c,m=o*f,g=a*f,M=u*l,B=u*c,b=u*f,x=r[0],T=r[1],w=r[2],v=s[0],E=s[1],S=s[2],A=(1-(y+g))*x,_=(p+b)*x,R=(d-B)*x,P=(p-b)*T,C=(1-(h+g))*T,I=(m+M)*T,O=(d+B)*w,k=(m-M)*w,j=(1-(h+y))*w;return t[0]=A,t[1]=_,t[2]=R,t[3]=0,t[4]=P,t[5]=C,t[6]=I,t[7]=0,t[8]=O,t[9]=k,t[10]=j,t[11]=0,t[12]=n[0]+v-(A*v+P*E+O*S),t[13]=n[1]+E-(_*v+C*E+k*S),t[14]=n[2]+S-(R*v+I*E+j*S),t[15]=1,t}function S(t,e,n,r,s,i,o){const a=1/(n-e),u=1/(s-r),l=1/(i-o);return t[0]=2*i*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*u,t[6]=0,t[7]=0,t[8]=(n+e)*a,t[9]=(s+r)*u,t[10]=(o+i)*l,t[11]=-1,t[12]=0,t[13]=0,t[14]=o*i*2*l,t[15]=0,t}function A(t,e,n,r,s,i,o){const a=1/(e-n),u=1/(r-s),l=1/(i-o);return t[0]=-2*a,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(e+n)*a,t[13]=(s+r)*u,t[14]=(o+i)*l,t[15]=1,t}function _(t,e,n,r){const i=e[0],o=e[1],u=e[2];let l=i-n[0],c=o-n[1],f=u-n[2];const h=(0,s.FD)();if(Math.abs(l)<h&&Math.abs(c)<h&&Math.abs(f)<h)return void a(t);let p=1/Math.sqrt(l*l+c*c+f*f);l*=p,c*=p,f*=p;const d=r[0],y=r[1],m=r[2];let g=y*f-m*c,M=m*l-d*f,B=d*c-y*l;p=Math.sqrt(g*g+M*M+B*B),p?(p=1/p,g*=p,M*=p,B*=p):(g=0,M=0,B=0);let b=c*B-f*M,x=f*g-l*B,T=l*M-c*g;p=Math.sqrt(b*b+x*x+T*T),p?(p=1/p,b*=p,x*=p,T*=p):(b=0,x=0,T=0),t[0]=g,t[1]=b,t[2]=l,t[3]=0,t[4]=M,t[5]=x,t[6]=c,t[7]=0,t[8]=B,t[9]=T,t[10]=f,t[11]=0,t[12]=-(g*i+M*o+B*u),t[13]=-(b*i+x*o+T*u),t[14]=-(l*i+c*o+f*u),t[15]=1}function R(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function 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[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function C(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],u=t[5],l=t[6],c=t[7],f=t[8],h=t[9],p=t[10],d=t[11],y=t[12],m=t[13],g=t[14],M=t[15],B=e[0],b=e[1],x=e[2],T=e[3],w=e[4],v=e[5],E=e[6],S=e[7],A=e[8],_=e[9],R=e[10],P=e[11],C=e[12],I=e[13],O=e[14],k=e[15],j=(0,s.FD)();return Math.abs(n-B)<=j*Math.max(1,Math.abs(n),Math.abs(B))&&Math.abs(r-b)<=j*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-x)<=j*Math.max(1,Math.abs(i),Math.abs(x))&&Math.abs(o-T)<=j*Math.max(1,Math.abs(o),Math.abs(T))&&Math.abs(a-w)<=j*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(u-v)<=j*Math.max(1,Math.abs(u),Math.abs(v))&&Math.abs(l-E)<=j*Math.max(1,Math.abs(l),Math.abs(E))&&Math.abs(c-S)<=j*Math.max(1,Math.abs(c),Math.abs(S))&&Math.abs(f-A)<=j*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(h-_)<=j*Math.max(1,Math.abs(h),Math.abs(_))&&Math.abs(p-R)<=j*Math.max(1,Math.abs(p),Math.abs(R))&&Math.abs(d-P)<=j*Math.max(1,Math.abs(d),Math.abs(P))&&Math.abs(y-C)<=j*Math.max(1,Math.abs(y),Math.abs(C))&&Math.abs(m-I)<=j*Math.max(1,Math.abs(m),Math.abs(I))&&Math.abs(g-O)<=j*Math.max(1,Math.abs(g),Math.abs(O))&&Math.abs(M-k)<=j*Math.max(1,Math.abs(M),Math.abs(k))}function I(t){const e=(0,s.FD)(),n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],u=t[6],l=t[8],c=t[9],f=t[10];return Math.abs(1-(n*n+o*o+l*l))<=e&&Math.abs(1-(r*r+a*a+c*c))<=e&&Math.abs(1-(i*i+u*u+f*f))<=e}function O(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const k=c,j=R;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=e[4],a=e[5],u=e[6],l=e[7],c=e[8],f=e[9],h=e[10],p=e[11],d=e[12],y=e[13],m=e[14],g=e[15];return t[0]=a*(h*g-p*m)-f*(u*g-l*m)+y*(u*p-l*h),t[1]=-(r*(h*g-p*m)-f*(s*g-i*m)+y*(s*p-i*h)),t[2]=r*(u*g-l*m)-a*(s*g-i*m)+y*(s*l-i*u),t[3]=-(r*(u*p-l*h)-a*(s*p-i*h)+f*(s*l-i*u)),t[4]=-(o*(h*g-p*m)-c*(u*g-l*m)+d*(u*p-l*h)),t[5]=n*(h*g-p*m)-c*(s*g-i*m)+d*(s*p-i*h),t[6]=-(n*(u*g-l*m)-o*(s*g-i*m)+d*(s*l-i*u)),t[7]=n*(u*p-l*h)-o*(s*p-i*h)+c*(s*l-i*u),t[8]=o*(f*g-p*y)-c*(a*g-l*y)+d*(a*p-l*f),t[9]=-(n*(f*g-p*y)-c*(r*g-i*y)+d*(r*p-i*f)),t[10]=n*(a*g-l*y)-o*(r*g-i*y)+d*(r*l-i*a),t[11]=-(n*(a*p-l*f)-o*(r*p-i*f)+c*(r*l-i*a)),t[12]=-(o*(f*m-h*y)-c*(a*m-u*y)+d*(a*h-u*f)),t[13]=n*(f*m-h*y)-c*(r*m-s*y)+d*(r*h-s*f),t[14]=-(n*(a*m-u*y)-o*(r*m-s*y)+d*(r*u-s*a)),t[15]=n*(a*h-u*f)-o*(r*h-s*f)+c*(r*u-s*a),t},copy:i,determinant:function(t){const e=t[0],n=t[1],r=t[2],s=t[3],i=t[4],o=t[5],a=t[6],u=t[7],l=t[8],c=t[9],f=t[10],h=t[11],p=t[12],d=t[13],y=t[14],m=t[15];return(e*o-n*i)*(f*m-h*y)-(e*a-r*i)*(c*m-h*d)+(e*u-s*i)*(c*y-f*d)+(n*a-r*o)*(l*m-h*p)-(n*u-s*o)*(l*y-f*p)+(r*u-s*a)*(l*d-c*p)},equals:C,exactEquals:P,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const n=e[0],r=e[1],s=e[2],i=e[3],o=n+n,a=r+r,u=s+s,l=n*o,c=r*o,f=r*a,h=s*o,p=s*a,d=s*u,y=i*o,m=i*a,g=i*u;return t[0]=1-f-d,t[1]=c+g,t[2]=h-m,t[3]=0,t[4]=c-g,t[5]=1-l-d,t[6]=p+y,t[7]=0,t[8]=h+m,t[9]=p-y,t[10]=1-l-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const n=b,r=-e[0],s=-e[1],i=-e[2],o=e[3],a=e[4],u=e[5],l=e[6],c=e[7],f=r*r+s*s+i*i+o*o;return f>0?(n[0]=2*(a*o+c*r+u*i-l*s)/f,n[1]=2*(u*o+c*s+l*r-a*i)/f,n[2]=2*(l*o+c*i+a*s-u*r)/f):(n[0]=2*(a*o+c*r+u*i-l*s),n[1]=2*(u*o+c*s+l*r-a*i),n[2]=2*(l*o+c*i+a*s-u*r)),B(t,e,n),t},fromRotation:m,fromRotationTranslation:B,fromRotationTranslationScale:v,fromRotationTranslationScaleOrigin:E,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:y,fromXRotation:g,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:M,frustum:S,getRotation:w,getScale:T,getTranslation:x,hasIdentityRotation:O,identity:a,invert:l,invertOrIdentity:function(t,e){return l(t,e)||a(t),t},isOrthoNormal:I,lookAt:_,mul:k,multiply:c,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:A,perspective:function(t,e,n,r,s){const i=1/Math.tan(e/2);let o;return t[0]=i/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=s&&s!==1/0?(o=1/(r-s),t[10]=(s+r)*o,t[14]=2*s*r*o):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const s=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),o=Math.tan(e.leftDegrees*Math.PI/180),a=Math.tan(e.rightDegrees*Math.PI/180),u=2/(o+a),l=2/(s+i);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=-(o-a)*u*.5,t[9]=(s-i)*l*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:p,rotateX:d,rotateY:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],u=e[3],l=e[8],c=e[9],f=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s-l*r,t[1]=o*s-c*r,t[2]=a*s-f*r,t[3]=u*s-h*r,t[8]=i*r+l*s,t[9]=o*r+c*s,t[10]=a*r+f*s,t[11]=u*r+h*s,t},rotateZ:function(t,e,n){const r=Math.sin(n),s=Math.cos(n),i=e[0],o=e[1],a=e[2],u=e[3],l=e[4],c=e[5],f=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s+l*r,t[1]=o*s+c*r,t[2]=a*s+f*r,t[3]=u*s+h*r,t[4]=l*s-i*r,t[5]=c*s-o*r,t[6]=f*s-a*r,t[7]=h*s-u*r,t},scale:h,set:o,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:j,subtract:R,targetTo:function(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=r[0],u=r[1],l=r[2];let c=s-n[0],f=i-n[1],h=o-n[2],p=c*c+f*f+h*h;p>0&&(p=1/Math.sqrt(p),c*=p,f*=p,h*=p);let d=u*h-l*f,y=l*c-a*h,m=a*f-u*c;return p=d*d+y*y+m*m,p>0&&(p=1/Math.sqrt(p),d*=p,y*=p,m*=p),t[0]=d,t[1]=y,t[2]=m,t[3]=0,t[4]=f*m-h*y,t[5]=h*d-c*m,t[6]=c*y-f*d,t[7]=0,t[8]=c,t[9]=f,t[10]=h,t[11]=0,t[12]=s,t[13]=i,t[14]=o,t[15]=1,t},translate:f,transpose:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>E,Bw:()=>i,C:()=>o,Cc:()=>S,DI:()=>T,Il:()=>F,Io:()=>M,Ln:()=>g,Om:()=>v,Qr:()=>f,Re:()=>l,S8:()=>w,T9:()=>y,WQ:()=>u,Z0:()=>A,_S:()=>p,aI:()=>j,ei:()=>_,fw:()=>P,g7:()=>C,gL:()=>R,hG:()=>B,hZ:()=>a,hs:()=>m,jb:()=>Y,jk:()=>d,lo:()=>Z,lw:()=>c,m3:()=>b,oW:()=>q,t2:()=>k,tn:()=>h,uE:()=>z,xg:()=>L,ze:()=>x});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(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 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 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 h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(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 y(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 m(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function g(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 B(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 b(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function x(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function T(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function w(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function v(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function E(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function S(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function A(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function _(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function R(t,e,n){return P(t,e,n[0],n[1],n[2],n[3])}function P(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],l=r*u-s*a,c=s*o-n*u,f=n*a-r*o,h=r*f-s*c,p=s*l-n*f,d=n*c-r*l,y=2*i;return t[0]=o+l*y+2*h,t[1]=a+c*y+2*p,t[2]=u+f*y+2*d,t}function C(t,e){w(I,t),w(O,e);const n=v(I,O);return n>1?0:n<-1?Math.PI:Math.acos(n)}const I=(0,r.vt)(),O=(0,r.vt)();function k(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function j(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],l=(0,s.FD)();return Math.abs(n-o)<=l*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=l*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=l*Math.max(1,Math.abs(i),Math.abs(u))}function q(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const Y=l,N=c,X=f,L=M,Z=B,F=i,z=b;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:u,angle:C,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,l=a*o,c=3*i*a,f=3*u*o,h=u*i;return t[0]=e[0]*l+n[0]*c+r[0]*f+s[0]*h,t[1]=e[1]*l+n[1]*c+r[1]*f+s[1]*h,t[2]=e[2]*l+n[2]*c+r[2]*f+s[2]*h,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:o,cross:E,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],l=s*u-i*a,c=i*o-r*u,f=r*a-s*o,h=Math.sqrt(l*l+c*c+f*f);return t[0]=l/h,t[1]=c/h,t[2]=f/h,t},direction:q,dist:L,distance:M,div:X,divide:f,dot:v,equals:j,exactEquals:k,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,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,l=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*l+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*l+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*l+s[2]*c,t},inverse:T,len:F,length:i,lerp:S,max:y,min:d,mul:N,multiply:c,negate:x,normalize:w,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[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:m,scaleAndAdd:g,set:a,sign:p,sqrDist:Z,sqrLen:z,squaredDistance:B,squaredLength:b,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:Y,subtract:l,transformMat3:_,transformMat4:A,transformQuat:R,transformQuatValues:P},Symbol.toStringTag,{value:"Module"}))},78955(t,e,n){n.d(e,{Bw:()=>m,C:()=>s,Cc:()=>b,LI:()=>h,Om:()=>B,S8:()=>M,T9:()=>f,WQ:()=>o,Z0:()=>x,aI:()=>w,hG:()=>y,hZ:()=>i,hs:()=>p,jk:()=>c,m3:()=>g,t2:()=>T});var r=n(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=s,t}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}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[3]=e[3]*n[3],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[3]=e[3]/n[3],t}function c(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[3]=Math.min(e[3],n[3]),t}function f(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[3]=Math.max(e[3],n[3]),t}function h(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function d(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(n*n+r*r+s*s+i*i)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return n*n+r*r+s*s+i*i}function m(t){const e=t[0],n=t[1],r=t[2],s=t[3];return Math.sqrt(e*e+n*n+r*r+s*s)}function g(t){const e=t[0],n=t[1],r=t[2],s=t[3];return e*e+n*n+r*r+s*s}function M(t,e){const n=e[0],r=e[1],s=e[2],i=e[3];let o=n*n+r*r+s*s+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=n*o,t[1]=r*o,t[2]=s*o,t[3]=i*o),t}function B(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function b(t,e,n,r){const s=e[0],i=e[1],o=e[2],a=e[3];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t[3]=a+r*(n[3]-a),t}function x(t,e,n){const r=e[0],s=e[1],i=e[2],o=e[3];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12]*o,t[1]=n[1]*r+n[5]*s+n[9]*i+n[13]*o,t[2]=n[2]*r+n[6]*s+n[10]*i+n[14]*o,t[3]=n[3]*r+n[7]*s+n[11]*i+n[15]*o,t}function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function w(t,e){const n=t[0],s=t[1],i=t[2],o=t[3],a=e[0],u=e[1],l=e[2],c=e[3],f=(0,r.FD)();return Math.abs(n-a)<=f*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-u)<=f*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(i-l)<=f*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(o-c)<=f*Math.max(1,Math.abs(o),Math.abs(c))}const v=a,E=u,S=l,A=d,_=y,R=m,P=g;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:s,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:A,distance:d,div:S,divide:l,dot:B,equals:w,exactEquals:T,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:R,length:m,lerp:b,max:f,min:c,mul:E,multiply:u,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:M,random:function(t,e=1){const n=r.Ov;let s,i,o,a,u,l;do{s=2*n()-1,i=2*n()-1,u=s*s+i*i}while(u>=1);do{o=2*n()-1,a=2*n()-1,l=o*o+a*a}while(l>=1);const c=Math.sqrt((1-u)/l);return t[0]=e*s,t[1]=e*i,t[2]=e*o*c,t[3]=e*a*c,t},round:h,scale:p,scaleAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},set:i,sqrDist:_,sqrLen:P,squaredDistance:y,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:v,subtract:a,transformMat4:x,transformQuat:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],l=n[3],c=l*r+a*i-u*s,f=l*s+u*r-o*i,h=l*i+o*s-a*r,p=-o*r-a*s-u*i;return t[0]=c*l+p*-o+f*-u-h*-a,t[1]=f*l+p*-a+h*-o-c*-u,t[2]=h*l+p*-u+c*-a-f*-o,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},75503(t,e,n){n.d(e,{wq:()=>a});var r=n(4576),s=n(21818),i=(n(44208),n(15142)),o=n(11006);class a{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),x.prune(),T.prune(),w.prune(),v.prune()}all(t){u(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(B(t,n))for(x.clear();n;){for(let s=0,i=n.children.length;s<i;s++){const i=n.children[s],o=n.leaf?r(i):i;B(t,o)&&(n.leaf?e(i):M(t,o)?u(i,e):x.push(i))}n=x.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!B(t,e))return!1;for(x.clear();e;){for(let r=0,s=e.children.length;r<s;r++){const s=e.children[r],i=e.leaf?n(s):s;if(B(t,i)){if(e.leaf||M(t,i))return!0;x.push(s)}}e=x.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new A([]),this}remove(t){if(!t)return this;let e,n=this._data,i=null,o=0,a=!1;const u=this._toBBox(t);for(w.clear(),v.clear();n||w.length>0;){if(n||(n=w.pop(),i=w.data[w.length-1],o=v.pop()??0,a=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,s.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),w.push(n),this._condense(w),this;a||n.leaf||!M(n,u)?i?(o++,n=i.children[o],a=!1):n=null:(w.push(n),v.push(o),o=0,i=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const s=n-e+1;let i=this._maxEntries;if(s<=i){const r=new A(t.slice(e,n+1));return l(r,this._toBBox),r}r||(r=Math.ceil(Math.log(s)/Math.log(i)),i=Math.ceil(s/i**(r-1)));const o=new _([]);o.height=r;const a=Math.ceil(s/i),u=a*Math.ceil(Math.sqrt(i));b(t,e,n,u,this._compareMinX);for(let s=e;s<=n;s+=u){const e=Math.min(s+u-1,n);b(t,s,e,a,this._compareMinY);for(let n=s;n<=e;n+=a){const s=Math.min(n+a-1,e);o.children.push(this._build(t,n,s,r-1))}}return l(o,this._toBBox),o}_insert(t,e,n){const r=this._toBBox,s=n?t:r(t);w.clear();const i=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,s=1/0;for(let i=0,o=e.children.length;i<o;i++){const o=e.children[i],a=d(o),u=m(t,o)-a;u<s?(s=u,r=a<r?a:r,n=o):u===s&&a<r&&(r=a,n=o)}e=n||e.children[0]}return e}(s,this._data,e,w);for(i.children.push(t),f(i,s);e>=0&&w.data[e].children.length>this._maxEntries;)this._split(w,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(s,w,e)}_split(t,e){const n=t.data[e],r=n.children.length,s=this._minEntries;this._chooseSplitAxis(n,s,r);const i=this._chooseSplitIndex(n,s,r);if(!i)return;const o=n.children.splice(i,n.children.length-i),a=n.leaf?new A(o):new _(o);a.height=n.height,l(n,this._toBBox),l(a,this._toBBox),e?t.data[e-1].children.push(a):this._splitRoot(n,a)}_splitRoot(t,e){this._data=new _([t,e]),this._data.height=t.height+1,l(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,s,i;r=s=1/0;for(let o=e;o<=n-e;o++){const e=c(t,0,o,this._toBBox),a=c(t,o,n,this._toBBox),u=g(e,a),l=d(e)+d(a);u<r?(r=u,i=o,s=l<s?l:s):u===r&&l<s&&(s=l,i=o)}return i}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,s=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,s)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const s=this._toBBox,i=c(t,0,e,s),o=c(t,n-e,n,s);let a=y(i)+y(o);for(let r=e;r<n-e;r++){const e=t.children[r];f(i,t.leaf?s(e):e),a+=y(i)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(o,t.leaf?s(e):e),a+=y(o)}return a}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const s=t.data[e-1],i=s.children;i.splice((0,r.qh)(i,n,i.length,s.indexHint),1)}else this.clear();else l(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function u(t,e){let n=t;for(T.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,s.z)(t));else T.pushArray(n.children);n=T.pop()??null}}function l(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,s){s||(s=new A([])),s.minX=1/0,s.minY=1/0,s.maxX=-1/0,s.maxY=-1/0;for(let i,o=e;o<n;o++)i=t.children[o],f(s,t.leaf?r(i):i);return s}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function y(t){return t.maxX-t.minX+(t.maxY-t.minY)}function m(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function g(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),s=Math.min(t.maxX,e.maxX),i=Math.min(t.maxY,e.maxY);return Math.max(0,s-n)*Math.max(0,i-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function B(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function b(t,e,n,r,s){const i=[e,n];for(;i.length;){const e=i.pop(),n=i.pop();if(e-n<=r)continue;const a=n+Math.ceil((e-n)/r/2)*r;(0,o.q)(t,a,n,e,s),i.push(n,a,a,e)}}const x=new i.A,T=new i.A,w=new i.A,v=new i.A({deallocator:void 0});class E{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends E{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class A extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class _ extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},48526(t,e,n){n.d(e,{A:()=>m});var r,s=n(5482),i=n(4576),o=n(4718),a=n(91429),u=n(5443),l=n(91075),c=n(86738),f=n(16930),h=n(90634),p=n(47610),d=n(56993),y=n(43937);let m=r=class extends l.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:s}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=f.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:s}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,h.ge)(this);return t?new u.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,o.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:s}=this;return new r({points:(0,o.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:s})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,i.aI)(this.points,t.points,p.v6)}addPoint(t){return(0,d.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new c.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new c.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,d.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],m.prototype,"points",void 0),(0,s.Cg)([(0,y.K)("points")],m.prototype,"writePoints",null),m=r=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],m),m.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>d});var r,s=n(5482),i=n(4718),o=n(91429),a=n(5443),u=n(91075),l=n(86738),c=n(16930),f=n(90634),h=n(56993),p=n(43937);let d=r=class extends u.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:s}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return s??=c.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:s}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,i.o8)(t)}get extent(){const t=(0,f.Z3)(this),{spatialReference:e}=this;return t?new a.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,i.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,i.o8)(this.paths),t.curvePaths=(0,i.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,s=this.hasM;return r&&!s?new l.A(n[0],n[1],n[2],void 0,this.spatialReference):s&&!r?new l.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&s?new l.A(n[0],n[1],n[2],n[3],this.spatialReference):new l.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,h.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new l.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new l.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,h.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,s.Cg)([(0,p.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,s.Cg)([(0,p.K)("paths")],d.prototype,"writePaths",null),d=r=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},159(t,e,n){n.d(e,{A:()=>l});var r,s=n(5482),i=n(69540),o=n(25482),a=n(91429),u=n(99157);let l=r=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,s.Cg)([(0,a.MZ)({type:[u.A],nonNullable:!0,json:{name:"geoTransforms"}})],l.prototype,"steps",void 0),l=r=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},99157(t,e,n){n.d(e,{A:()=>u});var r,s=n(5482),i=n(69540),o=n(25482),a=n(91429);let u=r=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,s.Cg)([(0,a.MZ)({json:{name:"transformForward",read:t=>!t,write:(t,e,n)=>{e[n]=!t}}})],u.prototype,"isInverse",void 0),(0,s.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"wkt",void 0),(0,s.Cg)([(0,a.MZ)({json:{write:!0}})],u.prototype,"wkid",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],u)},48353(t,e,n){n.d(e,{l:()=>l});var r=n(34727),s=n(58083),i=n(51850);function o(t,e,n){const r=Math.sin(t),s=Math.cos(t),i=Math.sin(e),o=Math.cos(e),a=n;return a[0]=-r,a[4]=-i*s,a[8]=o*s,a[12]=0,a[1]=s,a[5]=-i*r,a[9]=o*r,a[13]=0,a[2]=0,a[6]=o,a[10]=i,a[14]=0,a[3]=0,a[7]=0,a[11]=0,a[15]=1,a}var a=n(49208),u=n(21325);function l(t,e,n,r){const i=(0,a.Tp)(t,r);if(null==i)return!1;const l=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(l===d&&!c(d)&&(0!==l||(0,u.aI)(t,r)))return(0,s.kN)(n,e),!0;if(c(d)){const t=a.w5[l][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),o(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const y=c(l);if((3===d||11===d||2===d||5===d)&&(2===l||y||3===l||5===l)){const t=a.w5[l][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),y?function(t,e,n){o(t,e,n),(0,s.mg)(n,n)}(f*h[0],f*h[1],n):(0,s.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>s});var r=n(49208);function s(t,e,n,s,i,o,a=Math.floor(t.length/3)){const u=(0,r.jd)(e,i);if(null==u)return!1;if(u===r.pO){if(t===s&&n===o)return!0;const e=n+3*a;for(let r=n,i=o;r<e;r++,i++)s[i]=t[r]??0;return!0}const l=n+3*a;for(let e=n,r=o;e<l;e+=3,r+=3)u(t,e,s,r);return!0}},65806(t,e,n){n.d(e,{g:()=>o});var r=n(51850),s=n(91218),i=n(9762);function o(t,e,n,r){if((0,s.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,i.projectBuffer)(a,t.spatialReference,0,e,n,0);const o=(0,s.tryProject)(t,n,r);return!!o&&(e[0]=o.x,e[1]=o.y,e[2]=o.z??0,!0)}const a=(0,r.vt)()},49208(t,e,n){n.d(e,{Tp:()=>f,jd:()=>c,pO:()=>p,w5:()=>l});var r=n(34727),s=n(86211),i=n(73941),o=n(79258),a=n(34403),u=n(21325);const l={2:{5:p,7:null,9:null,10:p,1:x,6:null,8:null,0:null,3:y,11:m,2:p,4:S},5:{5:p,7:null,9:null,10:p,1:x,6:null,8:null,0:null,3:y,11:m,2:p,4:S},7:{5:null,7:p,9:null,10:p,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:B,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(t,e,n,r){const s=t[e]/I,i=C-2*Math.atan(Math.exp(-t[e+1]/I)),o=I+(t[e+2]??0),a=Math.cos(i)*o;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:p,11:function(t,e,n,r){d(t,e,n,r),m(n,r,n,r)},2:d,4:function(t,e,n,r){d(t,e,n,r),S(n,r,n,r)}},4:{5:A,7:null,9:null,10:A,1:function(t,e,n,r){A(t,e,n,r),x(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){A(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){A(t,e,n,r),m(n,r,n,r)},2:A,4:p},1:{5:E,7:null,9:null,10:E,1:p,6:null,8:null,0:null,3:function(t,e,n,r){E(t,e,n,r),y(n,r,n,r)},11:function(t,e,n,r){E(t,e,n,r),m(n,r,n,r)},2:E,4:function(t,e,n,r){E(t,e,n,r),S(n,r,n,r)}},6:{5:null,7:v,9:null,10:v,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:x,6:b,8:B,0:null,3:y,11:m,2:p,4:S},11:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){g(t,e,n,r),x(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){g(t,e,n,r),y(n,r,n,r)},11:p,2:g,4:function(t,e,n,r){g(t,e,n,r),S(n,r,n,r)}}};function c(t,e){return f(t,e)?.projector}function f(t,e){if(null==t||null==e)return null;if(_.source.spatialReference===t&&_.dest.spatialReference===e)return _;const n=h(t,_.source),r=h(e,_.dest);return 0===n&&0===r?(0,u.aI)(t,e)?_.projector=p:_.projector=null:_.projector=l[n][r],_}function h(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,s.GA)(t,1)),(0,i.jA)(t)?e.spatialReferenceId=1:(0,u.oT)(t)?e.spatialReferenceId=2:(0,u.K8)(t)?e.spatialReferenceId=3:(0,u.r1)(t)?e.spatialReferenceId=11:t.wkt===i.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===i.FY.wkt?e.spatialReferenceId=6:t.wkt===i.LJ.wkt?e.spatialReferenceId=8:(0,i.q8)(t)?e.spatialReferenceId=7:(0,i.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function p(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function d(t,e,n,r){n[r]=P*(t[e]/I),n[r+1]=P*(C-2*Math.atan(Math.exp(-t[e+1]/I))),n[r+2]=t[e+2]??0}function y(t,e,n,s){!function(t,e,n,s,i){const o=.4999999*Math.PI,a=(0,r.qE)(R*t[e+1],-o,o),u=Math.sin(a);n[s++]=R*t[e]*i.radius,n[s++]=i.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[s]=t[e+2]??0}(t,e,n,s,o.$O)}function m(t,e,n,r){n[r]=t[e]*O,n[r+1]=t[e+1]*O,n[r+2]=t[e+2]??0}function g(t,e,n,r){n[r]=t[e]*k,n[r+1]=t[e+1]*k,n[r+2]=t[e+2]??0}function M(t,e,n,r,s){const i=s+(t[e+2]??0),o=R*t[e],a=R*t[e+1],u=Math.cos(a)*i;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(a)*i}function B(t,e,n,r){M(t,e,n,r,o.Sw.radius)}function b(t,e,n,r){M(t,e,n,r,o.sH.radius)}function x(t,e,n,r){M(t,e,n,r,o.$O.radius)}function T(t,e,n,s,i){const o=t[e],a=t[e+1],u=t[e+2]??0,l=Math.sqrt(o*o+a*a+u*u),c=(0,r.YN)(u/(0===l?1:l)),f=Math.atan2(a,o);n[s++]=P*f,n[s++]=P*c,n[s]=l-i}function w(t,e,n,r){T(t,e,n,r,o.Sw.radius)}function v(t,e,n,r){T(t,e,n,r,o.sH.radius)}function E(t,e,n,r){T(t,e,n,r,o.$O.radius)}function S(t,e,n,r){!function(t,e,n,r,s){const i=R*t[e],o=R*t[e+1],a=t[e+2]??0,u=Math.sin(o),l=Math.cos(o),c=s.radius/Math.sqrt(1-s.eccentricitySquared*u*u);n[r++]=(c+a)*l*Math.cos(i),n[r++]=(c+a)*l*Math.sin(i),n[r++]=(c*(1-s.eccentricitySquared)+a)*u}(t,e,n,r,o.$O)}function A(t,e,n,r){const s=a.TP,i=t[e],u=t[e+1],l=t[e+2]??0;let c,f,h,p,d,y,m,g,M,B,b,x,T,w,v,E,S,A,_,R,C;c=Math.abs(l),f=i*i+u*u,h=Math.sqrt(f),p=f+l*l,d=Math.sqrt(p),R=Math.atan2(u,i),y=l*l/p,m=f/p,w=s.a2/d,v=s.a3-s.a4/d,m>.3?(g=c/d*(1+m*(s.a1+w+y*v)/d),_=Math.asin(g),B=g*g,M=Math.sqrt(1-B)):(M=h/d*(1-y*(s.a5-w-m*v)/d),_=Math.acos(M),B=1-M*M,g=Math.sqrt(B)),b=1-o.$O.eccentricitySquared*B,x=o.$O.radius/Math.sqrt(b),T=s.a6*x,w=h-x*M,v=c-T*g,S=M*w+g*v,E=M*v-g*w,A=E/(T/b+S),_+=A,C=S+E*A/2,l<0&&(_=-_),n[r++]=P*R,n[r++]=P*_,n[r]=C}const _={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},R=(0,r.kU)(1),P=(0,r.KJ)(1),C=.5*Math.PI,I=o.$O.radius,O=I*Math.PI/180,k=180/(I*Math.PI)},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>D,initializeProjection:()=>G,isEqualBaseGCS:()=>$,isLoaded:()=>I,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>k,load:()=>q,project:()=>Y,projectAsync:()=>V,projectExtent:()=>st,projectMany:()=>N,projectMultipoint:()=>H,projectOrLoad:()=>L,projectOrLoadMany:()=>Z,projectPoint:()=>K,projectPolygon:()=>nt,projectPolyline:()=>tt,projectWithoutEngine:()=>W,requiresLoad:()=>j,test:()=>U,tryProject:()=>X,unload:()=>z});var r=n(49186),s=n(17676),i=n(62788),o=n(95488),a=n(51850),u=n(21276),l=n(73941),c=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),y=n(82799),m=n(16930),g=n(98764),M=n(159),B=n(9762),b=n(49208);function x(t,e,n,r,s,i){return T[0]=t,T[1]=e,T[2]=n,(0,B.projectBuffer)(T,r,0,s,i,0)}const T=(0,a.vt)();var w=n(60408),v=n(21325),E=n(52006);let S=null,A=null,_=null,R=null,P={};const C=new o.I;function I(){return!!(A?.isLoaded()&&_?.isLoaded()&&R?.isLoaded())}function O(){return!!I()||((0,i.gc)(C),q(),!1)}function k(t,e){return!t||!e||D(t,e)||O()}function j(t,e){return!D(t,e)&&!I()}async function q(t){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(A=t,A.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(_=t,_.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(R=t,R.load()))])),await S,(0,s.Te)(t),C.notify()}function Y(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,u.H)(t),N(t,t[0].spatialReference,e,n)):((0,u.f)(t),N([t],t.spatialReference,e,n)[0])}function N(t,e,n,r){if(null==e||null==n)return t;if(D(e,n,r))return t.map(t=>W(t,e,n));if(null==r?.geographicTransformation&&(0,l.jA)(e))return N(t.map(t=>W(t,e,m.A.WGS84)),m.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,l.jA)(n))return N(t,e,m.A.WGS84).map(t=>W(t,m.A.WGS84,n));if(!I())throw new F;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:R.getTransformation(e,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let s=P[t];s||(s=R.getTransformation(e,n)||new M.A,P[t]=s),r={geographicTransformation:s,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?A.executeMany(t,n,r):_.executeMany(t,n,r)}function X(t,e,n){try{return Y(t,e,n)}catch(t){return null}}function L(t,e){const n=Z([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function Z(t,e,n){if(!I())for(const n of t)if(null!=n&&!(0,v.aI)(n.spatialReference,e)&&(0,v.fn)(n.spatialReference)&&(0,v.fn)(e)&&!D(n.spatialReference,e))return(0,i.gc)(C),{pending:q(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,v.aI)(t.spatialReference,e)?t:(0,v.fn)(t.spatialReference)&&(0,v.fn)(e)?Y(t,e,n):null)}}class F extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){S=null,A=null,_=null,R=null,P={}}const U={get loadPromise(){return S}};async function V(t,e,n){if((0,s.Te)(n),!t)return t;const r=Z(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,s.Te)(n),V(t,e,n);const i=r.geometries??[];return Array.isArray(t)?i:i[0]}function D(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,v.aI)(t,e)||(0,v.fn)(t)&&(0,v.fn)(e)&&!!(0,b.jd)(t,e))}function $(t,e){if((0,v.aI)(t,e))return!0;if(!(0,v.fn)(t)||!(0,v.fn)(e))return!1;const n=(0,v.oT)(t)||(0,v.K8)(t)||(0,v.x1)(t),r=(0,v.oT)(e)||(0,v.K8)(e)||(0,v.x1)(e);return n&&r}async function G(t,e,n,r){if(I())return(0,s.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:s}of t)if(e&&n&&!D(e,n,s))return q(r)}else if(t&&e&&!D(t,e,n))return q(r);return(0,s.NO)(r)}function W(t,e,n){return t?(0,w.fT)(t)?J(t,e,new p.A,n,0):(0,w.ZC)(t)?it(t,e,new c.A,n,0):(0,w.Bi)(t)?rt(t,e,new d.A,n,0):(0,w.Rg)(t)?et(t,e,new y.A,n,0):(0,w.U9)(t)?Q(t,e,new h.A,n,0):null:null}function K(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=J(t,t.spatialReference,e,n,r)}function J(t,e,n,r,s){lt[0]=t.x,lt[1]=t.y;const i=t.z;return lt[2]=void 0!==i?i:s,(0,B.projectBuffer)(lt,e,0,lt,r,0)?(n.x=lt[0],n.y=lt[1],n.spatialReference=r,void 0!==i||(0,l.xP)(r)?(n.z=lt[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function H(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=Q(t,t.spatialReference,e,n,r)}function Q(t,e,n,r,s){const{points:i,hasZ:o,hasM:a}=t,u=[],l=i.length,c=[];for(const t of i)c.push(t[0],t[1],o?t[2]:s);if(!(0,B.projectBuffer)(c,e,0,c,r,0,l))return null;const f=ut(o,r);for(let t=0;t<l;++t){const e=3*t,n=c[e],r=c[e+1];f&&a?u.push([n,r,c[e+2],i[t][3]]):f?u.push([n,r,c[e+2]]):a?u.push([n,r,i[t][2]]):u.push([n,r])}return n.points=u,n.spatialReference=r,n.hasZ=o,n.hasM=a,n}function tt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=et(t,t.spatialReference,e,n,r)}function et(t,e,n,r,s){const{curvePaths:i,paths:o,hasZ:a,hasM:u}=t;if(!(i?at(i,a??!1,u??!1,e,n.curvePaths=[],r,s):ot(o,a??!1,u??!1,e,n.paths,r,s)))return null;const l=ut(a,r);return n.spatialReference=r,n.hasZ=l,n.hasM=u,n}function nt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,r)}function rt(t,e,n,r,s){const{curveRings:i,rings:o,hasZ:a,hasM:u}=t;return(i?at(i,a??!1,u??!1,e,n.curveRings=[],r,s):ot(o,a??!1,u??!1,e,n.rings,r,s))?(n.spatialReference=r,n.hasZ=ut(a,r),n.hasM=u,n):null}function st(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=it(t,t.spatialReference,e,n,r)}function it(t,e,n,r,s){const{xmin:i,ymin:o,xmax:a,ymax:u,hasZ:l,hasM:c}=t;if(!x(i,o,l?t.zmin:s,e,lt,r))return null;const f=ut(l,r);return n.xmin=lt[0],n.ymin=lt[1],f&&(n.zmin=lt[2]),x(a,u,l?t.zmax:s,e,lt,r)?(n.xmax=lt[0],n.ymax=lt[1],f&&(n.zmax=lt[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function ot(t,e,n,r,s,i,o=0){const a=new Array;for(const n of t)for(const t of n)a.push(t[0],t[1],e?t[2]:o);if(!(0,B.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const l=e?3:2,c=ut(e,i);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(u,u+=3);c||e.pop(),n&&e.push(r[l]),t.push(e)}s.push(t)}return!0}function at(t,e,n,r,s,i,o=0){const a=new Array;for(const n of t)for(const t of n){if((0,E.FG)(t))return!1;if((0,E.aO)(t)){const[n,r]=t.c;a.push(n[0],n[1],e?n[2]:o,r[0],r[1],o);continue}if((0,E.n1)(t)){const[n,r,s]=t.b;a.push(n[0],n[1],e?n[2]:o,r[0],r[1],o,s[0],s[1],o);continue}const n=t;a.push(n[0],n[1],e?n[2]:o)}if(!(0,B.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const l=e?3:2,c=ut(e,i);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(u,u+=3);if(c||e.pop(),n&&e.push((0,E.yP)(r)[l]),(0,E.FG)(r))return!1;if((0,E.aO)(r)){const n=a[u++],r=a[u++];++u,t.push({c:[e,[n,r]]});continue}if((0,E.n1)(r)){const n=a[u++],r=a[u++];++u;const s=a[u++],i=a[u++];++u,t.push({b:[e,[n,r],[s,i]]});continue}t.push(e)}s.push(t)}return!0}function ut(t,e){return t||(0,l.xP)(e)||(0,v.aI)(e,g.Y0)}const lt=(0,a.vt)()},98764(t,e,n){n.d(e,{GD:()=>o,Y0:()=>l,lO:()=>c});var r=n(73941),s=n(16930),i=n(21325);const o=new s.A(r.fv),a=new s.A(r.FY),u=new s.A(r.LJ),l=new s.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=o;if(t)if(t===a)n=a;else if(t===u)n=u;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,i.tl)(e)||(0,i.tl)(r)?n=a:((0,i.ZL)(e)||(0,i.ZL)(r))&&(n=u);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=a:t===p&&(n=u)}}}return f.set(t,n),n}const f=new Map,h=a.wkt.toUpperCase(),p=u.wkt.toUpperCase()},95696(t,e,n){n.d(e,{A:()=>l});var r,s=n(5482),i=n(69540),o=n(25482),a=n(91429),u=n(93223);let l=class extends((0,i.OU)(o.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,s.Cg)([(0,u.e)({georeferenced:"georeferenced"},{readOnly:!0})],l.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],l.prototype,"origin",void 0),l=r=(0,s.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],l)},18251(t,e,n){n.r(e),n.d(e,{default:()=>l});var r=n(5482),s=n(69540),i=n(25482),o=n(91429),a=n(51850),u=n(93223);let l=class extends((0,s.OU)(i.o)){constructor(t){super(t),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,u.e)({local:"local"},{readOnly:!0})],l.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],l.prototype,"origin",void 0),l=(0,r.Cg)([(0,o.$K)("esri.geometry.support.MeshLocalVertexSpace")],l)},13030(t,e,n){n.d(e,{Y$:()=>B,XW:()=>M,qB:()=>P,Qt:()=>K,My:()=>tt,bf:()=>D,jZ:()=>S,j0:()=>A,Sx:()=>_,E$:()=>R,Qy:()=>ot,h:()=>N,P:()=>F,SL:()=>k,dy:()=>st,ES:()=>at,gH:()=>x,ZD:()=>b,si:()=>C,mJ:()=>J,UL:()=>et,D6:()=>$,Yi:()=>X,An:()=>z,LC:()=>j,xs:()=>w,EC:()=>T,Xm:()=>I,Vp:()=>H,zD:()=>nt,m8:()=>G,nS:()=>L,H$:()=>U,eI:()=>q,td:()=>it,Eq:()=>E,jz:()=>v,Aj:()=>O,E7:()=>Q,Y4:()=>rt,TX:()=>W,Uz:()=>Z,ml:()=>V,XP:()=>Y});var r=n(34727),s=n(34275),i=n(37585),o=n(48163),a=n(78955),u=n(91829),l=n(20498);class c{static{this.ElementCount=9}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=9;const i=this.TypedArrayConstructor;void 0===r&&(r=9*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[n++];return e}setMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[n++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;for(let t=0;t<9;++t)r[i++]=s[o++]}get buffer(){return this.typedBuffer.buffer}}class f{static{this.ElementCount=16}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=16;const i=this.TypedArrayConstructor;void 0===r&&(r=16*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[n++];return e}setMat(t,e){let n=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[n++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}copyFrom(t,e,n){this.copyFromTypedBuffer(t,e.typedBuffer,n*e.typedBufferStride)}copyFromTypedBuffer(t,e,n){const r=this.typedBuffer;let s=t*this.typedBufferStride;for(let t=0;t<16;++t)r[s++]=e[n++]}get buffer(){return this.typedBuffer.buffer}}class h{static{this.ElementCount=1}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=1;const i=this.TypedArrayConstructor;void 0===r&&(r=i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=2}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.start=n,this.elementCount=2;const i=this.TypedArrayConstructor;void 0===r&&(r=2*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,i.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=n}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}var d=n(35522);class y{static{this.ElementCount=3}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.elementCount=3;const i=this.TypedArrayConstructor;void 0===r&&(r=3*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,d.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=n,this.typedBuffer[t]=r}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}class m{static{this.ElementCount=4}constructor(t,e,n=0,r,s){this.TypedArrayConstructor=t,this.start=n,this.elementCount=4;const i=this.TypedArrayConstructor;void 0===r&&(r=4*i.BYTES_PER_ELEMENT);const o=0===e.byteLength?0:n;this.typedBuffer=null==s?new i(e,o):new i(e,o,(s-n)/i.BYTES_PER_ELEMENT),this.typedBufferStride=r/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,n=this.count-e){const r=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,r,this.stride,r+n*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,a.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,n){this.typedBuffer[t*this.typedBufferStride+e]=n}setValues(t,e,n,r,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=n,this.typedBuffer[t++]=r,this.typedBuffer[t]=s}copyFrom(t,e,n){const r=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,o=n*e.typedBufferStride;r[i++]=s[o++],r[i++]=s[o++],r[i++]=s[o++],r[i]=s[o]}get buffer(){return this.typedBuffer.buffer}}var g=n(620);class M extends h{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}static{this.ElementType="f16"}}class B extends h{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}static{this.ElementType="f32"}}class b extends p{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class x extends p{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f32"}}class T extends y{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f16"}}class w extends y{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(w,t,e)}static fromTypedArray(t,e){return new w(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class v extends m{constructor(t,e=0,n,r){(0,g.vA)(l.SX),super((0,l.pX)(),t,e,n,r),this.elementType="f16"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f16"}}class E extends m{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f32"}}class S extends c{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class A extends c{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f64"}}class _ extends f{constructor(t,e=0,n,r){super(Float32Array,t,e,n,r),this.elementType="f32"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f32"}}class R extends f{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="f64"}}class P extends h{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(P,t,e)}static{this.ElementType="f64"}}class C extends p{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static{this.ElementType="f64"}}class I extends y{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(I,t,e)}static fromTypedArray(t,e){return new I(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class O extends m{constructor(t,e=0,n,r){super(Float64Array,t,e,n,r),this.elementType="f64"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="f64"}}class k extends h{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u8"}}class j extends p{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u8"}}class q extends y{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(q,t,e)}static fromTypedArray(t,e){return new q(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class Y extends m{constructor(t,e=0,n,r){super(Uint8Array,t,e,n,r),this.elementType="u8"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u8"}}class N extends h{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="u16"}}class X extends p{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u16"}}class L extends y{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="u16"}}class Z extends m{constructor(t,e=0,n,r){super(Uint16Array,t,e,n,r),this.elementType="u16"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="u16"}}class F extends h{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u32"}}class z extends p{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="u32"}}class U extends y{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u32"}}class V extends m{constructor(t,e=0,n,r){super(Uint32Array,t,e,n,r),this.elementType="u32"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="u32"}}class D extends h{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class $ extends p{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class G extends y{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i8"}}class W extends m{constructor(t,e=0,n,r){super(Int8Array,t,e,n,r),this.elementType="i8"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i8"}}class K extends h{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i16"}}class J extends p{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i16"}}class H extends y{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i16"}}class Q extends m{constructor(t,e=0,n,r){super(Int16Array,t,e,n,r),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class tt extends h{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends p{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class nt extends y{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(nt,t,e)}static{this.ElementType="i32"}}class rt extends m{constructor(t,e=0,n,r){super(Int32Array,t,e,n,r),this.elementType="i32"}slice(t,e){return this.sliceBuffer(rt,t,e)}static{this.ElementType="i32"}}class st extends k{constructor(t,e=0,n,r){super(t,e,n,r)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,r.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(st,t,e)}}class it extends Y{constructor(t,e=0,n,r){super(t,e,n,r)}getVec(t,e){return(0,a.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,a.jk)(lt,(0,a.T9)(lt,e,u.uY),u.Un),(0,a.hs)(lt,lt,255),(0,a.LI)(lt,lt),super.setVec(t,lt)}get(t,e){return super.get(t,e)/255}set(t,e,n){super.set(t,e,Math.round(255*(0,r.qE)(n,0,1)))}setValues(t,e,n,r,s){(0,a.hZ)(lt,e,n,r,s),this.setVec(t,lt)}slice(t,e){return this.sliceBuffer(it,t,e)}}class ot extends K{constructor(t,e=0,n,r){super(t,e,n,r)}get(t){return Math.max(super.get(t)/s.he,-1)}set(t,e){super.set(t,Math.round((0,r.qE)(e,-1,1)*s.he))}slice(t,e){return this.sliceBuffer(ot,t,e)}}class at extends J{constructor(t,e=0,n,r){super(t,e,n,r)}getVec(t,e){return(0,i.hZ)(ut,-1,-1),(0,i.T9)(e,(0,i.hs)(e,super.getVec(t,e),1/s.he),ut)}setVec(t,e){(0,i.qE)(ut,e,o.IA,o.Un),(0,i.hs)(ut,ut,s.he),(0,i.LI)(ut,ut),super.setVec(t,ut)}get(t,e){return Math.max(super.get(t,e)/s.he,-1)}set(t,e,n){super.set(t,e,Math.round((0,r.qE)(n,-1,1)*s.he))}setValues(t,e,n){(0,i.hZ)(ut,e,n),this.setVec(t,ut)}slice(t,e){return this.sliceBuffer(at,t,e)}}const ut=(0,o.vt)(),lt=(0,u.vt)()},72727(t,e,n){function r(t,e,n){if(e<=0)return 0;const r=t-n;return r<0?0:Math.floor(r/e)+1}n.d(e,{k:()=>r}),n(53966)},20498(t,e,n){n.d(e,{Bg:()=>s,SX:()=>o,pX:()=>i});let r=globalThis.Float16Array;function s(...t){return new(r??Float32Array)(...t)}function i(){return r}let o=!!r},34403(t,e,n){n.d(e,{TP:()=>o});var r=n(79258);Math.PI;const s=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:s*i,a2:s*i*s*i,a3:s*i*i/2,a4:s*i*s*i*2.5,a5:s*i+s*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function s(t){return void 0!==t.points}function i(t){return void 0!==t.x&&void 0!==t.y}function o(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function u(t){return"object"==typeof t&&"vertexAttributes"in t}function l(t){return t?i(t)?"esriGeometryPoint":o(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":s(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>l,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>s,W0:()=>f,ZC:()=>r,fT:()=>i,uW:()=>u})},38419(t,e,n){n.r(e),n.d(e,{default:()=>a});var r=n(44208),s=n(75503),i=n(95696),o=n(72258);class a{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new s.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:s}=t,a=(0,o.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:s},i.A.absolute,{allowBufferReuse:!0})?.position;return a?!t.components||t.components.some(t=>!t.faces)?{position:a.buffer}:{position:a.buffer,components:t.components.map(t=>t.faces)}:null}(t),a=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return u().fromJSON(a)}createIndexThread(t){const e=u();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const s=new Array(r);let i=0;for(const t of n)for(let n=0;n<t.length;n+=3)s[i++]=l(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(s),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=l(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function u(){return new s.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function l(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},22141(t,e,n){n.d(e,{$5:()=>w,CN:()=>B,JP:()=>M,KM:()=>E,Mv:()=>A,X4:()=>b,gr:()=>T,qs:()=>v,si:()=>x,xA:()=>S});var r=n(34727),s=n(77690),i=n(29242),o=n(58083),a=n(9093),u=n(35522),l=n(51850),c=n(73941),f=n(48353),h=n(9762),p=(n(79258),n(21325)),d=n(28735),y=n(13030),m=n(73354),g=n(50867);const M="Projection may be possible after calling projection.load().";function B(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function b(t,e,n,r,s,i){return R(0,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i))?i:null}function x(t,e,n,r,s,i){return R(1,y.xs.fromTypedArray(t),0,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i))?i:null}function T(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function w(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function v(t,e,n){return(0,s.Ge)(O,n),(0,m.b)(e,t,O),(0,r.or)(O)&&(0,m.n)(e,e),e}function E(t,e,n){return(0,s.z0)(O,n),(0,g.t)(e,t,O),(0,r.or)(O)&&(0,m.n)(e,e,4),e}function S(t,e,n,r,s,i){if(!R(0,y.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function A(t,e,n,r,s,i){if(!R(1,y.xs.fromTypedArray(t,16),1,y.Xm.fromTypedArray(e),n,y.Xm.fromTypedArray(r),s,y.xs.fromTypedArray(i,16)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function _(t,e,n,r,i){switch((0,f.l)(r,n,I,r),1===t&&(0,o.B8)(I,I),e){case 0:return(0,s.Ge)(i,I);case 1:return(0,s.z0)(i,I)}}function R(t,e,n,r,s,i,o,a){if(!e)return;const l=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,c.q8)(t)||(0,c.KQ)(t)}(s))for(let r=0;r<l;r++)i.getVec(r,P),e.getVec(r,C),(0,u.ei)(C,C,_(t,n,P,o,O)),a.setVec(r,C);else for(let s=0;s<l;s++){i.getVec(s,P),e.getVec(s,C);const l=(0,d.jg)(r.get(s,1));let c=Math.cos(l);1===n!=(0===t)&&(c=1/c),_(t,n,P,o,O),0===t?(O[0]*=c,O[1]*=c,O[2]*=c,O[3]*=c,O[4]*=c,O[5]*=c):(O[0]*=c,O[3]*=c,O[6]*=c,O[1]*=c,O[4]*=c,O[7]*=c),(0,u.ei)(C,C,O),(0,u.S8)(C,C),a.setVec(s,C)}return a}const P=(0,l.vt)(),C=(0,l.vt)(),I=(0,a.vt)(),O=(0,i.vt)()},72258(t,e,n){n.d(e,{UR:()=>x,p5:()=>b,xK:()=>A});var r=n(53966),s=n(34727),i=n(86211),o=n(77690),a=n(29242),u=n(58083),l=n(9093),c=n(35522),f=n(51850),h=n(73941),p=n(98764),d=n(48353),y=n(65806),m=n(27615),g=n(73354),M=n(22141);const B=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function b(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const s=t;if(!(0,y.g)(e,s,r))return!1;const{origin:i}=n;return(0,c.Re)(t,s,i),!0}const s=(0,p.lO)(r),i=t;if(!(0,y.g)(e,i,s))return!1;const{origin:o}=n,a=I;if(!(0,d.l)(r,o,a,s))return!1;const l=(0,u.B8)(I,a);return null!=l&&((0,c.Z0)(t,i,l),!0)}function x(t,e,n){const{vertexSpace:r,transform:s,vertexAttributes:i}=t,a=(0,m.Hq)(r)?s:null,f=E(t.spatialReference,n,3);if((0,m.yJ)(r,e)&&(!a||(0,u.t2)(a.localMatrix,l.zK))&&S(f)){const{position:t,normal:e,tangent:r}=i,s=n?.allowBufferReuse;return{position:s?t:t.slice(),normal:s?e:e?.slice(),tangent:s?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},s,i){const o=T(e,i);if(!(0,d.l)(e,r,_,o))return(0,M.CN)(B(),e,o),null;if(n&&(0,u.lw)(_,_,n.localMatrix),!(0,d.l)(e,s,R,o))return(0,M.CN)(B(),o,e),null;(0,u.B8)(R,R);const a=(0,u.lw)(_,R,_);return v(a,e,i,3),w(t,a)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},s,i){const o=T(t,i);if(!(0,d.l)(t,r,_,o))return(0,M.CN)(B(),t,o),null;n&&(0,u.lw)(_,_,n.localMatrix),v(_,t,i,1);const a=new Float64Array(e.position.length),l=function(t,e,n,r,s){(0,g.a)(r,t,e);const i=new Float64Array(t.length);return(0,M.$5)(r,s,i,n)?i:((0,M.CN)(B(),s,n),null)}(e.position,_,t,a,o);if(!l)return null;const f=function(t,e,n,r,s,i){if(null==s)return null;const o=new Float32Array(s.length);return(0,M.qs)(s,o,i),(0,M.si)(o,t,e,n,r,o)?o:((0,M.CN)(B(),r,e),null)}(l,t,a,o,e.normal,_);if(e.normal&&!f)return null;const h=function(t,e,n,r,s,i){if(null==s)return null;const o=new Float32Array(s.length);return(0,M.KM)(s,o,i),(0,M.Mv)(o,t,e,n,r,o)?o:((0,M.CN)(B(),r,e),null)}(l,t,a,o,e.tangent,_);if(e.tangent&&!h)return null;if(s){const t=(0,c.ze)(C,s);(0,g.t)(l,l,t)}return{position:l,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},s,i){const a=T(e,i);if(!(0,d.l)(e,s,_,a))return(0,M.CN)(B(),e,a),null;const l=1/E(e,i,2);(0,u.hs)(_,_,[l,l,l]);const c=(0,u.B8)(R,_),{position:f,normal:h,tangent:p}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:s}=t;return{position:(0,g.t)(new Float64Array(n.length),n,e),tangent:s,normal:r}}const r=w(t,n.localMatrix);return(0,g.t)(r.position,r.position,e),r}(t,r,n),y=new Float64Array(f.length),m=function(t,e,n,r,s){const i=(0,M.gr)(t,e,r,s);if(!i)return(0,M.CN)(B(),e,s),null;const o=new Float64Array(i.length);return(0,g.a)(o,i,n),o}(f,e,c,y,a);if(!m)return null;const b=(0,o.Ge)(P,c),x=function(t,e,n,r,s,i,o){if(null==t)return null;const a=o??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,s,a)?((0,g.b)(a,a,i),a):((0,M.CN)(B(),n,s),null)}(h,f,e,y,a,b,h!==t.normal?h:void 0);if(!x&&h)return null;const v=function(t,e,n,r,s,i,o){if(null==t)return null;const a=o??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,s,a)?((0,g.b)(a,a,i,4),a):((0,M.CN)(B(),n,s),null)}(p,f,e,y,a,b,p!==t.tangent?p:void 0);return!v&&p?null:{position:m,normal:x,tangent:v}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},s,i){const o=E(n,i,3),a=r||!S(o)?(0,u.C)(_,e?.localMatrix??l.zK):null;a&&v(a,n,i,3);const{position:f,normal:h,tangent:p}=a?w(t,a):t,d=i?.allowBufferReuse,y=d?f:new Float64Array(f.length);let m=f;if(r&&(m=(0,g.t)(y,m,r)),s){const t=(0,c.ze)(C,s);m=(0,g.t)(y,m,t)}return{position:m!==t.position||d?m:m.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function T(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function w(t,e){const n=new Float64Array(t.position.length);(0,g.a)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,s=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),s&&t.tangent&&(0,M.KM)(t.tangent,s,e),{position:n,normal:r,tangent:s}}function v(t,e,n,r){const s=E(e,n,r);S(s)||(0,u.hs)(t,t,[s,s,s])}function E(t,e,n){const r=!!(1&n),s=!!(2&n),i=e?.sourceUnit,o=e?.targetUnit;if(!i&&!o)return 1;let a=A(i,t);r||!i||S(a)||(B().warn("source unit conversion not supported"),a=1);let u=1/A(o,t);return s||!o||S(u)||(B().warn("target unit conversion not supported"),u=1),a*u}function S(t){return(0,s.Io)(t,1)}function A(t,e){if(null==t)return 1;const n=(0,i.KX)(e);return 1/(0,i.oU)(n,"meters",t)}const _=(0,l.vt)(),R=(0,l.vt)(),P=(0,a.vt)(),C=(0,f.vt)(),I=(0,l.vt)()},27615(t,e,n){n.d(e,{CK:()=>u,Hq:()=>a,MW:()=>l,TE:()=>c,yJ:()=>f});var r=n(35522),s=n(86738),i=n(95696),o=n(18251);function a(t){return null!=t.origin}function u(t){return a(t.vertexSpace)}function l(t,e){if(!a(t))return null;const[n,r,i]=t.origin;return new s.A({x:n,y:r,z:i,spatialReference:e})}function c(t,e){const{x:n,y:r,z:s,spatialReference:a}=t,u=[n,r,s??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(a))?new o.default({origin:u}):new i.A({origin:u})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.t2)(t.origin,e.origin))}},620(t,e,n){n.d(e,{L:()=>u,MX:()=>o,O_:()=>a,kL:()=>l,vA:()=>i,zH:()=>c});var r=n(48163);n(78955),(0,n(91829).vt)();class s{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new s(`${e} at ${t}`)}}function o(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function a(t,e,n,r){let s,i=(n[0]-t[0])/e[0],o=(r[0]-t[0])/e[0];i>o&&(s=i,i=o,o=s);let a=(n[1]-t[1])/e[1],u=(r[1]-t[1])/e[1];if(a>u&&(s=a,a=u,u=s),i>u||a>o)return!1;a>i&&(i=a),u<o&&(o=u);let l=(n[2]-t[2])/e[2],c=(r[2]-t[2])/e[2];return l>c&&(s=l,l=c,c=s),!(i>c||l>o||(c<o&&(o=c),o<0))}function u(t,e,n,s,i,o=(0,r.vt)()){const a=(s[i]-n[i])*(e[0]-t[0])-(s[0]-n[0])*(e[i]-t[i]),u=(s[0]-n[0])*(t[i]-n[i])-(s[i]-n[i])*(t[0]-n[0]);if(0===a)return!1;const l=u/a;return o[0]=t[0]+l*(e[0]-t[0]),o[1]=t[i]+l*(e[i]-t[i]),!0}function l(t,e){return Math.log(t)/Math.log(e)}function c(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7548],{4146(e,t,n){n.d(t,{A:()=>b});var r=n(5482),i=n(11254),l=n(49186),o=n(65529),a=n(4902),s=n(92474),u=n(53966),c=n(17676),p=n(84952),d=n(91429),y=n(5443),g=n(16930),f=n(92602),h=n(79677);let m=0,b=class extends((0,o.Zt)((0,a.s)(s.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new y.A(-180,-90,180,90,g.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+m++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=g.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([n.e(812),n.e(7982)]).then(n.bind(n,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:r}=await Promise.all([n.e(812),n.e(5613),n.e(909)]).then(n.bind(n,45613));try{return await r(t)}catch(e){const n=t?.portalItem,r=n?.id||"unset",i=n?.portal?.url||f.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+i+"', id: '"+r+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,p.An)(this.url)}createLayerView(e,t){return Promise.reject(new l.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,i.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new l.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,r.Cg)([(0,d.MZ)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,r.Cg)([(0,d.MZ)({readOnly:!0})],b.prototype,"effectiveVisible",null),(0,r.Cg)([(0,d.MZ)({type:y.A})],b.prototype,"fullExtent",void 0),(0,r.Cg)([(0,d.MZ)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,r.Cg)([(0,d.MZ)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,r.Cg)([(0,d.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,r.Cg)([(0,d.MZ)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,r.Cg)([(0,d.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,r.Cg)([(0,d.MZ)({clonable:!1})],b.prototype,"parent",void 0),(0,r.Cg)([(0,d.MZ)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,r.Cg)([(0,d.MZ)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,r.Cg)([(0,d.MZ)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,r.Cg)([(0,d.MZ)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,r.Cg)([(0,d.MZ)({type:g.A})],b.prototype,"spatialReference",void 0),(0,r.Cg)([(0,d.MZ)({type:String})],b.prototype,"title",void 0),(0,r.Cg)([(0,d.MZ)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,r.Cg)([(0,d.MZ)()],b.prototype,"url",void 0),(0,r.Cg)([(0,d.MZ)({type:h.A})],b.prototype,"visibilityTimeExtent",void 0),(0,r.Cg)([(0,d.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,r.Cg)([(0,d.$K)("esri.layers.Layer")],b)},77548(e,t,n){n.d(t,{Gh:()=>k,tk:()=>S,BR:()=>Z,p2:()=>M,qd:()=>D,wI:()=>E,G$:()=>L,$x:()=>j,Ov:()=>w,cM:()=>d,UC:()=>y,W_:()=>v,Qz:()=>g,OP:()=>U,TU:()=>b,F2:()=>f,XX:()=>m,Qi:()=>C,jy:()=>A});var r=n(70333),i=n(11254),l=n(7762),o=(n(84952),n(36563)),a=n(36708),s=n(4146);const u=new WeakMap;function c(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,a.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof s.A)&&("catalog-dynamic-group"===t.type||c(t))},t=>u.set(e,t),a.pc),(0,o.hA)(()=>u.delete(e))]),u.get(e))}function p(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function d(e){return p(e,"knowledge-graph")&&"layers"in e}function y(e){return p(e,"knowledge-graph-sublayer")}function g(e){return p(e,"link-chart")&&"layers"in e}function f(e){return p(e,"subtype-group")&&"sublayers"in e}function h(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}n(16215);const m={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function b(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function w(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function v(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t||"annotation"===t||"dimension-feature"===t)&&"feature-layer"===e?.source?.type}function C(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function A(e){return function(e){return p(e,"catalog-footprint")}(e)||function(e){return p(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return p(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function T(e){const t=e?.type;return"binning"===t||"cluster"===t}function M(e,t){if(!A(e))return;const n=t?.graphic,r="featureReduction"in e?e.featureReduction:null;if(n){if(n.isAggregate){const e=n.origin;return e&&"featureReductionProvider"in e&&r?T(r)?r:null:void 0}return e}return t?.checkFeatureReduction&&r?T(r)?r:null:e}async function E(e,t){const n=r.id?.findServerInfo(e);if(null!=n?.currentVersion)return n.owningSystemUrl||null;const l=e.toLowerCase().indexOf("/rest/services");if(-1===l)return null;const o=`${e.slice(0,l)}/rest/info`,a=null!=t?t.signal:null,{data:s}=await(0,i.A)(o,{query:{f:"json"},responseType:"json",signal:a});return s?.owningSystemUrl||null}function Z(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function S(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function D(e){const t=new l.A;for(const n of e.allLayers.concat(e.allTables))c(n)||h(n)||"annotation"===n.type||"dimension-feature"===n.type||("charts"in n&&t.push(n),"subtype-group"===n.type&&t.push(...n.sublayers));return t}function j(e,t){return null}function L(e){return null}function U(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function k(e,t){if(!t||!U(e))return;const n=(e.url,null);n&&(e.url=n)}},16215(e,t,n){n.d(t,{S:()=>i,Y:()=>r});const r=Symbol("BasemapInstance");function i(e){return null!=e&&"object"==typeof e&&r in e}},79677(e,t,n){n.d(t,{A:()=>d});var r,i=n(5482),l=n(25482),o=n(88930),a=n(91429),s=n(98623),u=n(10184),c=n(36005),p=n(43937);let d=class extends l.o{static{r=this}static get allTime(){return y}static get empty(){return g}static fromArray(e){return new r({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,n=this.end?.getTime()??this.end,r=e.start?.getTime()??e.start,i=e.end?.getTime()??e.end;return t===r&&n===i}expandTo(e,t=s.qU){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let n=this.start;n&&(n=(0,o.lL)(n,new u.A({value:1,unit:e}),t));let i=this.end;if(i){const n=(0,o.lL)(i,new u.A({value:1,unit:e}),t);i=i.getTime()===n.getTime()?n:(0,o.S1)(n,1,e,t)}return new r({start:n,end:i})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,n=this.end?.getTime()??1/0,i=e.start?.getTime()??-1/0,l=e.end?.getTime()??1/0;let o,a;return i>=t&&i<=n?o=i:t>=i&&t<=l&&(o=t),n>=i&&n<=l?a=n:l>=t&&l<=n&&(a=l),null==o||null==a||isNaN(o)||isNaN(a)?r.empty:new r({start:o===-1/0?null:new Date(o),end:a===1/0?null:new Date(a)})}offset(e,t,n=s.qU){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const i=new r,{start:l,end:a}=this;return null!=l&&(i.start=(0,o.S1)(l,e,t,n)),null!=a&&(i.end=(0,o.S1)(a,e,t,n)),i}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return y.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,n=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:n})}};(0,i.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,i.Cg)([(0,c.w)("end")],d.prototype,"readEnd",null),(0,i.Cg)([(0,p.K)("end")],d.prototype,"writeEnd",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,i.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,i.Cg)([(0,c.w)("start")],d.prototype,"readStart",null),(0,i.Cg)([(0,p.K)("start")],d.prototype,"writeStart",null),d=r=(0,i.Cg)([(0,a.$K)("esri.time.TimeExtent")],d);const y=new d,g=new d({start:void 0,end:void 0})},10184(e,t,n){n.d(t,{A:()=>c});var r=n(5482),i=n(69540),l=n(25482),o=n(88930),a=n(91429),s=n(73133),u=n(93223);let c=class extends((0,i.OU)(l.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,o.t)(this.value,this.unit,"milliseconds")}};(0,r.Cg)([(0,u.e)(s.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,r.Cg)([(0,a.$K)("esri.time.TimeInterval")],c)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2293,4342],{46140(e,t,r){r.d(t,{A:()=>o});var i=r(49186);class o{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new o(this.major,this.minor,this._context)}static parse(e,t=""){const[r,n]=e.split("."),s=/^\s*\d+\s*$/;if(!r?.match||!s.test(r))throw new i.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!n?.match||!s.test(n))throw new i.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const a=parseInt(r,10),l=parseInt(n,10);return new o(a,l,t)}}},62815(e,t,r){r.d(t,{N:()=>a,d:()=>l});var i=r(86211),o=r(73941),n=r(21325),s=r(52006);function a(e,t,r){const i=l(t,r);if(1!==i)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,i);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const r of e.curvePaths)for(const e of r){const r=(0,s.yP)(e);r.length>2&&(r[2]*=t)}if(e.paths)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const r of e.curveRings)for(const e of r){const r=(0,s.yP)(e);r.length>2&&(r[2]*=t)}if(e.rings)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,i);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,i);default:return}}function l(e,t){return null==e||null==t||t.vcsWkid||(0,n.aI)(e,t)||(0,o.xP)(e)||(0,o.xP)(t)?1:(0,i.G9)(e)/(0,i.G9)(t)}},16852(e,t,r){r.r(t),r.d(t,{default:()=>P});var i=r(5482),o=r(49186),n=r(4718),s=r(93637),a=r(91429),l=r(16930),p=r(55156),c=r(60950),u=r(89808),d=r(99959);const y=Symbol("isOrientedImageryGraphicOrigin");var f;class h extends d.A{get[(f=y,c.ym)](){return this.layer}get[p.e](){return this.layer}get[u.Q](){return this.layer}constructor(e){super(),this[f]=!0,this.type="oriented-imagery",this.layer=e}get id(){return this.layer.id}}var g=r(53781),m=r(82935),v=r(23281),w=r(20437),C=r(43440),M=r(79677);const b=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","imageGeometryField","imageReferenceField","referenceIDField","sequenceOrderField","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),j=new Set(["elevationSource"]),Z=(e,t)=>!b.has(t)&&e;function x(e,t,r,i){const{name:o,write:n,read:s}=((e,t,r)=>{const i=`orientedImageryProperties.${e}`,o={allowNull:j.has(e),ignoreOrigin:!0};return{name:i,write:t?{...o,target:i,writer:t}:o,read:r?{ignoreOrigin:!0,source:i,reader:r}:{ignoreOrigin:!0}}})(e,t,r),a={name:o,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${o}`,write:t,read:r},"web-scene":{name:o,write:Z(n,e),read:Z(s,e)},"web-map":{name:o,write:n,read:s}}};return i&&a.origins?(a.type=i,a.origins["web-map"].type=i,a.origins["web-scene"].type=i,a):a}let S=class extends g.default{constructor(e){super(e),this.attributeTableTemplate=null,this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.graphicOrigin=new h(this),this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imageGeometryField="ImageGeometry",this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageReferenceField="OIObjectID",this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.referenceIDField="OBJECTID",this.sequenceOrderField="SequenceOrder",this.subtypeField=null,this.subtypes=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.verticalSearchRange=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.virtualCacheDirectory=null,this.dataStoreID=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:r}=this;return(0,v.eR)(e,t,r)}get effectiveSequenceOrderField(){const{sequenceOrderField:e,fields:t}=this;return(0,v.o)(e,t)}get fieldConfigurations(){return super.fieldConfigurations}set fieldConfigurations(e){super.fieldConfigurations=e}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}findFirstValidLayerId(e){return e.layers?.find(({type:e})=>!!e&&this.supportedSourceTypes.has(e))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new o.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var T;(0,i.Cg)([(0,a.MZ)({type:C.A,json:{write:!1,read:!1}})],S.prototype,"attributeTableTemplate",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("cameraHeading")})],S.prototype,"cameraHeading",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("cameraHeight")})],S.prototype,"cameraHeight",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("cameraPitch")})],S.prototype,"cameraPitch",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("cameraRoll")})],S.prototype,"cameraRoll",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("coveragePercent")})],S.prototype,"coveragePercent",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("demPathPrefix")})],S.prototype,"demPathPrefix",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("demPathSuffix")})],S.prototype,"demPathSuffix",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("depthImagePathPrefix")})],S.prototype,"depthImagePathPrefix",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("depthImagePathSuffix")})],S.prototype,"depthImagePathSuffix",void 0),(0,i.Cg)([(0,a.MZ)({type:Object,json:x("elevationSource")})],S.prototype,"elevationSource",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],S.prototype,"effectiveElevationSource",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],S.prototype,"effectiveSequenceOrderField",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("farDistance")})],S.prototype,"farDistance",void 0),(0,i.Cg)([(0,a.MZ)({type:[w.A]})],S.prototype,"fields",void 0),(0,i.Cg)([(0,a.MZ)()],S.prototype,"geometryType",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0,clonable:!1})],S.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("horizontalFieldOfView")})],S.prototype,"horizontalFieldOfView",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("horizontalMeasurementUnit")})],S.prototype,"horizontalMeasurementUnit",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{...x("imageGeometryField"),default:"ImageGeometry"}})],S.prototype,"imageGeometryField",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("imagePathPrefix")})],S.prototype,"imagePathPrefix",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("imagePathSuffix")})],S.prototype,"imagePathSuffix",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{...x("imageReferenceField"),default:"OIObjectID"}})],S.prototype,"imageReferenceField",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("imageRotation")})],S.prototype,"imageRotation",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("maximumDistance")})],S.prototype,"maximumDistance",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("nearDistance")})],S.prototype,"nearDistance",void 0),(0,i.Cg)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],S.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,a.MZ)({json:{...x("orientationAccuracy",(e,t,r)=>{(0,s.sM)(r,e.join(";"),t)},e=>{const t=e?.split(";")?.map(Number);return(0,v.Qv)(t)?(0,v.Yp)(t):[0,0,0,0,0,0,0,0]},String)}})],S.prototype,"orientationAccuracy",void 0),(0,i.Cg)([(0,a.MZ)({json:{...x("orientedImageryType",v.fs.write,v.fs.read,v.fs.jsonValues.slice(1))}})],S.prototype,"orientedImageryType",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{...x("referenceIDField"),default:"OBJECTID"}})],S.prototype,"referenceIDField",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{...x("sequenceOrderField"),default:"SequenceOrder"}})],S.prototype,"sequenceOrderField",void 0),(0,i.Cg)([(0,a.MZ)({type:l.A})],S.prototype,"spatialReference",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],S.prototype,"subtypeField",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],S.prototype,"subtypes",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],S.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:v.RR.apiValues,json:{...x("timeIntervalUnit",v.RR.write,v.RR.read,v.RR.jsonValues)}})],S.prototype,"timeIntervalUnit",void 0),(0,i.Cg)([(0,a.MZ)((T=(0,n.o8)(m.B),T.json?(T.json.origins=T.json.origins??{},T.json.origins["web-scene"]={write:!1,read:!1},T):T))],S.prototype,"useViewTime",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("verticalFieldOfView")})],S.prototype,"verticalFieldOfView",void 0),(0,i.Cg)([(0,a.MZ)({type:v.l6.apiValues,json:{...x("verticalMeasurementUnit",v.l6.write,v.l6.read,v.l6.jsonValues)}})],S.prototype,"verticalMeasurementUnit",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:x("verticalSearchRange")})],S.prototype,"verticalSearchRange",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("videoPathPrefix")})],S.prototype,"videoPathPrefix",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:x("videoPathSuffix")})],S.prototype,"videoPathSuffix",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:!1,write:!1,origins:{service:{name:"orientedImageryInfo.orientedImageryProperties.virtualCacheDirectory",read:!0}}}})],S.prototype,"virtualCacheDirectory",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{read:!1,write:!1,origins:{service:{name:"orientedImageryInfo.dsid",read:!0}}}})],S.prototype,"dataStoreID",void 0),(0,i.Cg)([(0,a.MZ)({type:M.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],S.prototype,"visibilityTimeExtent",void 0),S=(0,i.Cg)([(0,a.$K)("esri.layers.OrientedImageryLayer")],S);const P=S},32756(e,t,r){r.d(t,{Rr:()=>a,fY:()=>p,ne:()=>l});var i=r(5482),o=r(93637),n=r(91429),s=r(91880);function a(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const o=new s.A;return o.read(i,r),[o]}const l={type:[s.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,i){const n=e.find(e=>!!e.field);n&&(0,o.sM)(r,[n.toJSON()],t)}}}},p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,n.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.OrderedLayer")],r),r}},63490(e,t,r){r.d(t,{E1:()=>p,Mr:()=>l,TH:()=>a});var i=r(5482),o=r(69540),n=r(25482),s=r(91429);let a=class extends((0,o.OU)(n.o)){constructor(){super(...arguments),this.url=null}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],a.prototype,"lod",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"rasterFunction",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"url",void 0),a=(0,i.Cg)([(0,s.$K)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],a);let l=class extends((0,o.OU)(n.o)){constructor(e){super(e),this.constantElevation=null}};(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],l.prototype,"constantElevation",void 0),l=(0,i.Cg)([(0,s.$K)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],l);const p=e=>null!=e&&"number"==typeof e.constantElevation},23281(e,t,r){r.d(t,{eR:()=>b,Qv:()=>D,fs:()=>x,Yp:()=>N,o:()=>O,RR:()=>j,l6:()=>Z});var i=r(66552),o=(r(86211),r(28735),r(5482)),n=r(69540),s=r(25482),a=r(91429),l=r(69622),p=r(21325);let c=class extends l.A{set horizontalWKID(e){e?(0,p.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,p.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:r,radialDistortionCoefficients:i,tangentialDistortionCoefficients:o}=this;return e?.length>1&&!Number.isNaN(t)&&r?.length>1&&i?.length>1&&o?.length>1}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"affineTransformations",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"focalLength",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"principalOffsetPoint",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"radialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"tangentialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"horizontalWKID",null),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"verticalWKID",null),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"x",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"y",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"z",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],c.prototype,"type",void 0),c=(0,o.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientation")],c);const u=c;let d=class extends((0,n.OU)((0,s.T)(u))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:i,y:o,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:c,principalOffsetPoint:u,radialDistortionCoefficients:d,tangentialDistortionCoefficients:y}=this,f=[e,t,r,i,o,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(c),u?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e))),f.map(e=>Number.isNaN(e)?"":e).join("|")}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],d.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],d.prototype,"affineTransformations",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"focalLength",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],d.prototype,"principalOffsetPoint",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],d.prototype,"radialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],d.prototype,"tangentialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"heading",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"pitch",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"roll",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"x",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"y",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"z",void 0),d=(0,o.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationHPR")],d);const y=d;let f=class extends((0,n.OU)((0,s.T)(u))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:r,ellipsoidRadius:i,squaredEccentricity:o,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${r}|${i}|${o}|${s.join("|")}`}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],f.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"latitude",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"longitude",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"ellipsoidRadius",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0},type:Number})],f.prototype,"squaredEccentricity",void 0),(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],f.prototype,"properties",void 0),f=(0,o.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationLTP")],f);const h=f;let g=class extends((0,n.OU)((0,s.T)(u))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:i,y:o,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:c,principalOffsetPoint:u,radialDistortionCoefficients:d,tangentialDistortionCoefficients:y}=this,f=[e,t,r,i,o,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(c),u?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e))),f.map(e=>isNaN(e)?"":e).join("|")}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],g.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],g.prototype,"affineTransformations",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"focalLength",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],g.prototype,"principalOffsetPoint",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],g.prototype,"radialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],g.prototype,"tangentialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"omega",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"phi",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"kappa",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"x",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"y",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],g.prototype,"z",void 0),g=(0,o.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationOPK")],g);const m=g;let v=class extends((0,n.OU)((0,s.T)(u))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:r,radialDistortionCoefficients:i,tangentialDistortionCoefficients:o}=this;return e?.length>1||!Number.isNaN(t)||r?.length>1||i?.length>1||o?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:r,x:i,y:o,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:c,principalOffsetPoint:u,radialDistortionCoefficients:d,tangentialDistortionCoefficients:y}=this,f=[e,t,r,i,o,n,s,a,l];return this.isAdvanced&&(p?.forEach(e=>f.push(e)),f.push(c),u?.forEach(e=>f.push(e)),u?.forEach(e=>f.push(e)),d?.forEach(e=>f.push(e)),y?.forEach(e=>f.push(e))),f.map(e=>Number.isNaN(e)?"":e).join("|")}};(0,o.Cg)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"yaw",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,o.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,o.Cg)([(0,a.$K)("esri.layers.orientedImagery.core.CameraOrientationYPR")],v);const w=v,C=new Map;C.set("2",{desc:"Using Omega Phi Kappa",constructor:m}),C.set("1",{desc:"Using Heading, Pitch and Roll",constructor:y}),C.set("3",{desc:"Using Yaw, Pitch and Roll",constructor:w}),C.set("4",{desc:"Using Local Tangent Plane",constructor:h});var M=r(63490);function b(e,t,r){return e?(0,M.E1)(e)?new M.Mr(e):function(e,t,r){let{url:i}=e;return i?(i=function(e,t,r){return t&&(e=`${t}${e}`),r&&(e+=`${r}`),e}(i,t,r),new M.TH({...e,url:i})):null}(e,t,r):e}const j=new i.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),Z=new i.J({Feet:"feet",Meter:"meter"}),x=new i.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique",Terrestrial360Video:"terrestrial-360-video",TerrestrialFrameVideo:"terrestrial-frame-video",Aerial360Video:"aerial-360-video",AerialFrameVideo:"aerial-frame-video","":null}),S=new Map;S.set("1",function(e){const[t,r,i,o,n,s,a,l,p,c,u,d,y,f,h,g,m,v,w,C,M,b]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:i,y:o,z:n,heading:s,pitch:a,roll:l,...P([p,c,u,d,y,f],[g,m],[v,w,C],[M,b],h)}}),S.set("3",function(e){const[t,r,i,o,n,s,a,l,p,c,u,d,y,f,h,g,m,v,w,C,M,b]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:i,y:o,z:n,yaw:s,pitch:a,roll:l,...P([p,c,u,d,y,f],[g,m],[v,w,C],[M,b],h)}}),S.set("2",function(e){const[t,r,i,o,n,s,a,l,p,c,u,d,y,f,h,g,m,v,w,C,M,b]=e.slice(1);return{horizontalWKID:t,verticalWKID:r,x:i,y:o,z:n,omega:s,phi:a,kappa:l,...P([p,c,u,d,y,f],[g,m],[v,w,C],[M,b],h)}}),S.set("4",function(e){const[t,r,i,o,n,...s]=e.slice(1),a=S.get(n),l=C.get(n)?.constructor;return a&&l?{latitude:t,longitude:r,ellipsoidRadius:i,squaredEccentricity:o,properties:new l(a([n,"",...s]))}:null});const T=e=>{const t=e.map(e=>parseFloat(e)).filter(e=>!isNaN(e));if(t.length===e.length)return t};function P(e,t,r,i,o){const n=T(e),s=T(t),a=T(r),l=T(i);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(o):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}function D(e){return Array.isArray(e)&&e?.length>5&&!e.some(isNaN)}function N(e){for(e=e.slice(0,8);e.length<8;)e.push(0);return e}const _="sequenceorder";function O(e,t){if(!e){const e=t.find(e=>e.name.toLocaleLowerCase()===_.toLocaleLowerCase());return e?[{fieldName:e.name,sortOrder:"asc"}]:null}return e.split(";").map(e=>{const r=e.trim(),[i,o]=r.split(/\s+/).map(e=>e.trim()),n=t.find(e=>e.name.toLowerCase()===i.toLowerCase());return n?{fieldName:n?n.name:_,sortOrder:"desc"===o?.toLowerCase()?"desc":"asc"}:null}).filter(e=>null!=e)}},33143(e,t,r){r.d(t,{A:()=>u});var i=r(5482),o=r(69540),n=r(25482),s=r(91429),a=r(8631),l=r(29005),p=r(36005),c=r(43937);let u=class extends((0,o.OU)(n.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,a.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"id",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"domains",void 0),(0,i.Cg)([(0,p.w)("domains")],u.prototype,"readDomains",null),(0,i.Cg)([(0,c.K)("domains")],u.prototype,"writeDomains",null),(0,i.Cg)([(0,s.MZ)({type:[l.A],json:{write:!0}})],u.prototype,"templates",void 0),u=(0,i.Cg)([(0,s.$K)("esri.layers.support.FeatureType")],u)},91880(e,t,r){r.d(t,{A:()=>p});var i,o=r(5482),n=r(66552),s=r(25482),a=r(91429);const l=new n.J({asc:"ascending",desc:"descending"});let p=class extends s.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,o.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,o.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],p.prototype,"order",void 0),p=i=(0,o.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],p)},73681(e,t,r){r.d(t,{n:()=>l});var i=r(49186),o=r(53966),n=r(46140),s=r(95466),a=r(55674);class l{static async from(e,t,r){const s=e.dictionary_version?n.A.parse(e.dictionary_version):null,c=new Set(e.itemsNames),u={};if(t)for(const e in t)u[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)u.hasOwnProperty(t.name)||(u[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const y=await(0,a.xR)(e.expression,null,u);if(!y)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!s||!s.greaterEqual(4,0);f&&o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:s});const h=new p(r,f);return new l(f,c,y,h)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){o.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new s.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new s.A(t)}}class p extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},58501(e,t,r){r.d(t,{q:()=>o});var i=r(62815);function o(e,t,r){if(!r?.features||!r.hasZ)return;const o=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(o)for(const e of r.features)o(e.geometry)}},22671(e,t,r){r.d(t,{A:()=>v});var i,o=r(5482),n=r(52106),s=r(66552),a=r(25482),l=r(4718),p=r(91429),c=r(16930),u=r(60408),d=r(65864),y=r(50498),f=r(20437),h=r(36005),g=r(43937);const m=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,n.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,d.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=c.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,o]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((o-e)/r));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,o],scale:[n,s]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,e=>e*n+i,e=>o-e*s,a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=c.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const n=e[t],s=r.fromJSON(n),a=n.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=i);const l=n.aggregateGeometries,p=s.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],r=l[e],o=r?.spatialReference;null==t||o||(t.spatialReference=i)}o.push(s)}return o}_quantizePoints(e,t,r){let i,o;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=r(a[1]);e===i&&s===o||(n.push([e-i,s-o]),i=e,o=s)}else i=t(a[0]),o=r(a[1]),n.push([i,o])}return n.length>0?n:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,u.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],s=this._quantizePoints(n,t,r);s&&o.push(s)}return o.length>0?((0,u.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,o){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,u.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];for(let e=0,o=i.length;e<o;e++){const o=i[e];e>0?(s+=o[0],a+=o[1]):(s=o[0],a=o[1]),o[0]=t(s),o[1]=r(a)}}if(i&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=o(r[3])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=o(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=r(a)}if(i&&o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2]),t[3]=o(t[3])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}else if(o)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,p.MZ)({type:[n.A],json:{write:!0}})],v.prototype,"features",void 0),(0,o.Cg)([(0,h.w)("features")],v.prototype,"readFeatures",null),(0,o.Cg)([(0,p.MZ)({type:[f.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,o.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,o.Cg)([(0,g.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,o.Cg)([(0,p.MZ)({types:y.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,h.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,p.MZ)({type:c.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,o.Cg)([(0,g.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,o.Cg)([(0,p.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},55674(e,t,r){r.d(t,{Ad:()=>y,Gj:()=>g,QY:()=>d,lL:()=>m,xR:()=>f});var i=r(66131),o=r(49186),n=(r(44208),r(44729)),s=r(15032),a=r(65864),l=r(95466),p=r(43668),c=r(98623);const u=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of u)t.hasArcadeDependency(r)&&e.add(r);return e}function y(e,t){return h.create(e,t,null,["$feature","$view"])}function f(e,t,r){return h.create(e,t,r,["$feature","$view","$config"])}class h{static async create(e,t,r,i){const{arcade:n,Dictionary:s}=await(0,p.l)();let a;try{a=n.parseScript(e)}catch(t){throw new o.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=n.scriptUsesGeometryEngine(a);l&&await n.enableGeometrySupport(),await n.loadDependentModules(new Set,a,null,!1,l);const c={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},u=n.compileScript(a,c);let d=null;null!=r&&(d=new s(r),d.immutable=!0);const y=new s;return y.immutable=!1,y.setField("scale",0),new h(e,n,a,u,t,y,d,s)}constructor(e,t,r,i,o,n,s,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=o,this._viewDict=n,this._configDict=s,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new g,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:o,currentEnd:n}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=o?null!=r?i.lY.epochToArcadeDate(o,r):i.lY.unknownEpochToArcadeDate(o):void 0,currentEnd:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class g{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new l.A(m(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===c.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return n.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return s.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??c.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function m(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5367],{15367(a,r,t){async function e(a={}){var r,t=a,e="./this.program",n="";try{n=new URL(".","").href}catch{}r=async a=>{if((a=await fetch(a,{credentials:"same-origin"})).ok)return a.arrayBuffer();throw Error(a.status+" : "+a.url)};var o,i,s,u,f,l,h,c,w,d,v,p,m,b,y,g=console.log.bind(console),$=console.error.bind(console),A=!1,C=!1;function k(){var a=Xr.buffer;f=new Int8Array(a),h=new Int16Array(a),l=new Uint8Array(a),c=new Uint16Array(a),w=new Int32Array(a),d=new Uint32Array(a),v=new Float32Array(a),p=new Float64Array(a),m=new BigInt64Array(a),b=new BigUint64Array(a)}function E(a){throw t.onAbort?.(a),$(a="Aborted("+a+")"),A=!0,a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info."),u?.(a),a}async function x(a){if(!o)try{var t=await r(a);return new Uint8Array(t)}catch{}if(a!=y||!o)throw"both async and sync fetching of the wasm failed";return new Uint8Array(o)}class O{name="ExitStatus";constructor(a){this.message=`Program terminated with exit(${a})`,this.status=a}}var T=a=>{for(;0<a.length;)a.shift()(t)},R=[],D=[],S=()=>{var a=t.preRun.shift();D.push(a)},P=!0;class j{constructor(a){this.ra=a-24}}var q={},I=a=>{for(;a.length;){var r=a.pop();a.pop()(r)}};function B(a){return this.sa(d[a>>2])}var U={},z={},M={},F=class extends Error{constructor(a){super(a),this.name="InternalError"}},N=(a,r,t)=>{function e(r){if((r=t(r)).length!==a.length)throw new F("Mismatched type converter count");for(var e=0;e<a.length;++e)H(a[e],r[e])}a.forEach(a=>M[a]=r);var n=Array(r.length),o=[],i=0;r.forEach((a,r)=>{z.hasOwnProperty(a)?n[r]=z[a]:(o.push(a),U.hasOwnProperty(a)||(U[a]=[]),U[a].push(()=>{n[r]=z[a],++i===o.length&&e(n)}))}),0===o.length&&e(n)},L=a=>{for(var r="";;){var t=l[a++];if(!t)return r;r+=String.fromCharCode(t)}},W=class extends Error{constructor(a){super(a),this.name="BindingError"}};function H(a,r,t={}){return function(a,r,t={}){var e=r.name;if(!a)throw new W(`type "${e}" must have a positive integer typeid pointer`);if(z.hasOwnProperty(a)){if(t.Mb)return;throw new W(`Cannot register type '${e}' twice`)}z[a]=r,delete M[a],U.hasOwnProperty(a)&&(r=U[a],delete U[a],r.forEach(a=>a()))}(a,r,t)}var G=(a,r,t)=>{switch(r){case 1:return t?a=>f[a]:a=>l[a];case 2:return t?a=>h[a>>1]:a=>c[a>>1];case 4:return t?a=>w[a>>2]:a=>d[a>>2];case 8:return t?a=>m[a>>3]:a=>b[a>>3];default:throw new TypeError(`invalid integer width (${r}): ${a}`)}},J=a=>{throw new W(a.ma.ta.na.name+" instance already deleted")},K=!1,_=()=>{},V=a=>globalThis.FinalizationRegistry?(K=new FinalizationRegistry(a=>{--(a=a.ma).count.value,0===a.count.value&&(a.xa?a.Ba.Ha(a.xa):a.ta.na.Ha(a.ra))}),_=a=>{K.unregister(a)},(V=a=>{var r=a.ma;return r.xa&&K.register(a,{ma:r},a),a})(a)):(V=a=>a,a);function Q(){}var Y=(a,r)=>Object.defineProperty(r,"name",{value:a}),X={},Z=(a,r,t)=>{if(void 0===a[r].ua){var e=a[r];a[r]=function(...e){if(!a[r].ua.hasOwnProperty(e.length))throw new W(`Function '${t}' called with an invalid number of arguments (${e.length}) - expects one of (${a[r].ua})!`);return a[r].ua[e.length].apply(this,e)},a[r].ua=[],a[r].ua[e.Ma]=e}},aa=(a,r,e)=>{if(t.hasOwnProperty(a)){if(void 0===e||void 0!==t[a].ua&&void 0!==t[a].ua[e])throw new W(`Cannot register public name '${a}' twice`);if(Z(t,a,a),t[a].ua.hasOwnProperty(e))throw new W(`Cannot register multiple overloads of a function with the same number of arguments (${e})!`);t[a].ua[e]=r}else t[a]=r,t[a].Ma=e};function ra(a,r,t,e,n,o,i,s){this.name=a,this.constructor=r,this.La=t,this.Ha=e,this.ya=n,this.Hb=o,this.Xa=i,this.Fb=s,this.Sb=[]}var ta=(a,r,t)=>{for(;r!==t;){if(!r.Xa)throw new W(`Expected null or instance of ${t.name}, got an instance of ${r.name}`);a=r.Xa(a),r=r.ya}return a},ea=a=>{if(null===a)return"null";var r=typeof a;return"object"===r||"array"===r||"function"===r?a.toString():""+a};function na(a,r){if(null===r){if(this.lb)throw new W(`null is not a valid ${this.name}`);return 0}if(!r.ma)throw new W(`Cannot pass "${ea(r)}" as a ${this.name}`);if(!r.ma.ra)throw new W(`Cannot pass deleted object as a pointer of type ${this.name}`);return ta(r.ma.ra,r.ma.ta.na,this.na)}function oa(a,r){if(null===r){if(this.lb)throw new W(`null is not a valid ${this.name}`);if(this.ab){var t=this.nb();return null!==a&&a.push(this.Ha,t),t}return 0}if(!r||!r.ma)throw new W(`Cannot pass "${ea(r)}" as a ${this.name}`);if(!r.ma.ra)throw new W(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.$a&&r.ma.ta.$a)throw new W(`Cannot convert argument of type ${r.ma.Ba?r.ma.Ba.name:r.ma.ta.name} to parameter type ${this.name}`);if(t=ta(r.ma.ra,r.ma.ta.na,this.na),this.ab){if(void 0===r.ma.xa)throw new W("Passing raw pointer to smart pointer is illegal");switch(this.Xb){case 0:if(r.ma.Ba!==this)throw new W(`Cannot convert argument of type ${r.ma.Ba?r.ma.Ba.name:r.ma.ta.name} to parameter type ${this.name}`);t=r.ma.xa;break;case 1:t=r.ma.xa;break;case 2:if(r.ma.Ba===this)t=r.ma.xa;else{var e=r.clone();t=this.Tb(t,Ea(()=>e.delete())),null!==a&&a.push(this.Ha,t)}break;default:throw new W("Unsupporting sharing policy")}}return t}function ia(a,r){if(null===r){if(this.lb)throw new W(`null is not a valid ${this.name}`);return 0}if(!r.ma)throw new W(`Cannot pass "${ea(r)}" as a ${this.name}`);if(!r.ma.ra)throw new W(`Cannot pass deleted object as a pointer of type ${this.name}`);if(r.ma.ta.$a)throw new W(`Cannot convert argument of type ${r.ma.ta.name} to parameter type ${this.name}`);return ta(r.ma.ra,r.ma.ta.na,this.na)}var sa=(a,r,t)=>r===t?a:void 0===t.ya||null===(a=sa(a,r,t.ya))?null:t.Fb(a),ua={},fa=(a,r)=>{if(!r.ta||!r.ra)throw new F("makeClassHandle requires ptr and ptrType");if(!!r.Ba!=!!r.xa)throw new F("Both smartPtrType and smartPtr must be specified");return r.count={value:1},V(Object.create(a,{ma:{value:r,writable:!0}}))};function la(a,r,t,e,n,o,i,s,u,f,l){this.name=a,this.na=r,this.lb=t,this.$a=e,this.ab=n,this.Rb=o,this.Xb=i,this.yb=s,this.nb=u,this.Tb=f,this.Ha=l,n||void 0!==r.ya?this.wa=oa:(this.wa=e?na:ia,this.Aa=null)}var ha=(a,r,e)=>{if(!t.hasOwnProperty(a))throw new F("Replacing nonexistent public symbol");void 0!==t[a].ua&&void 0!==e?t[a].ua[e]=r:(t[a]=r,t[a].Ma=e)},ca=[],wa=(a,r)=>{var t;if(a=L(a),(t=ca[r])||(ca[r]=t=Zr.get(r)),"function"!=typeof t)throw new W(`unknown function pointer with signature ${a}: ${r}`);return t};class da extends Error{}var va=a=>{a=Kr(a);var r=L(a);return Vr(a),r},pa=(a,r)=>{var t=[],e={};throw r.forEach(function a(r){e[r]||z[r]||(M[r]?M[r].forEach(a):(t.push(r),e[r]=!0))}),new da(`${a}: `+t.map(va).join([", "]))};function ma(a,r,t,e,n){var o=r.length;if(2>o)throw new W("argTypes array size mismatch! Must at least get return value and 'this' types!");var i=null!==r[1]&&null!==t,s=function(a){for(var r=1;r<a.length;++r)if(null!==a[r]&&void 0===a[r].Aa)return!0;return!1}(r),u=!r[0].Nb,f=o-2,l=Array(f),h=[],c=[];return Y(a,function(...a){if(c.length=0,h.length=i?2:1,h[0]=n,i){var t=r[1].wa(c,this);h[1]=t}for(var o=0;o<f;++o)l[o]=r[o+2].wa(c,a[o]),h.push(l[o]);if(a=e(...h),s)I(c);else for(o=i?1:2;o<r.length;o++){var w=1===o?t:l[o-2];null!==r[o].Aa&&r[o].Aa(w)}return u?r[0].sa(a):void 0})}var ba=(a,r)=>{for(var t=[],e=0;e<a;e++)t.push(d[r+4*e>>2]);return t},ya=a=>{const r=(a=a.trim()).indexOf("(");return-1===r?a:a.slice(0,r)},ga=(a,r,t)=>{if(!(a instanceof Object))throw new W(`${t} with invalid "this": ${a}`);if(!(a instanceof r.na.constructor))throw new W(`${t} incompatible with "this" of type ${a.constructor.name}`);if(!a.ma.ra)throw new W(`cannot call emscripten binding method ${t} on deleted object`);return ta(a.ma.ra,a.ma.ta.na,r.na)},$a=[],Aa=[0,1,,1,null,1,!0,1,!1,1],Ca=a=>{9<a&&0===--Aa[a+1]&&(Aa[a]=void 0,$a.push(a))},ka=a=>{if(!a)throw new W(`Cannot use deleted val. handle = ${a}`);return Aa[a]},Ea=a=>{switch(a){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:const r=$a.pop()||Aa.length;return Aa[r]=a,Aa[r+1]=1,r}},xa={name:"emscripten::val",sa:a=>{var r=ka(a);return Ca(a),r},wa:(a,r)=>Ea(r),Ea:B,Aa:null},Oa=(a,r,t)=>{switch(r){case 1:return t?function(a){return this.sa(f[a])}:function(a){return this.sa(l[a])};case 2:return t?function(a){return this.sa(h[a>>1])}:function(a){return this.sa(c[a>>1])};case 4:return t?function(a){return this.sa(w[a>>2])}:function(a){return this.sa(d[a>>2])};default:throw new TypeError(`invalid integer width (${r}): ${a}`)}},Ta=(a,r)=>{var t=z[a];if(void 0===t)throw a=`${r} has unknown type ${va(a)}`,new W(a);return t},Ra=(a,r)=>{switch(r){case 4:return function(a){return this.sa(v[a>>2])};case 8:return function(a){return this.sa(p[a>>3])};default:throw new TypeError(`invalid float width (${r}): ${a}`)}},Da=Object.assign({optional:!0},xa),Sa=(a,r,t,e)=>{if(!(0<e))return 0;var n=t;e=t+e-1;for(var o=0;o<a.length;++o){var i=a.codePointAt(o);if(127>=i){if(t>=e)break;r[t++]=i}else if(2047>=i){if(t+1>=e)break;r[t++]=192|i>>6,r[t++]=128|63&i}else if(65535>=i){if(t+2>=e)break;r[t++]=224|i>>12,r[t++]=128|i>>6&63,r[t++]=128|63&i}else{if(t+3>=e)break;r[t++]=240|i>>18,r[t++]=128|i>>12&63,r[t++]=128|i>>6&63,r[t++]=128|63&i,o++}}return r[t]=0,t-n},Pa=a=>{for(var r=0,t=0;t<a.length;++t){var e=a.charCodeAt(t);127>=e?r++:2047>=e?r+=2:55296<=e&&57343>=e?(r+=4,++t):r+=3}return r},ja=globalThis.TextDecoder&&new TextDecoder,qa=(a,r,t,e)=>{if(t=r+t,e)return t;for(;a[r]&&!(r>=t);)++r;return r},Ia=(a,r=0,t,e)=>{if(16<(t=qa(a,r,t,e))-r&&a.buffer&&ja)return ja.decode(a.subarray(r,t));for(e="";r<t;){var n=a[r++];if(128&n){var o=63&a[r++];if(192==(224&n))e+=String.fromCharCode((31&n)<<6|o);else{var i=63&a[r++];65536>(n=224==(240&n)?(15&n)<<12|o<<6|i:(7&n)<<18|o<<12|i<<6|63&a[r++])?e+=String.fromCharCode(n):(n-=65536,e+=String.fromCharCode(55296|n>>10,56320|1023&n))}}else e+=String.fromCharCode(n)}return e},Ba=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,Ua=(a,r,t)=>{if(16<(r=qa(c,a>>=1,r/2,t))-a&&Ba)return Ba.decode(c.subarray(a,r));for(t="";a<r;++a)t+=String.fromCharCode(c[a]);return t},za=(a,r,t)=>{if(t??=2147483647,2>t)return 0;var e=r;t=(t-=2)<2*a.length?t/2:a.length;for(var n=0;n<t;++n)h[r>>1]=a.charCodeAt(n),r+=2;return h[r>>1]=0,r-e},Ma=a=>2*a.length,Fa=(a,r,t)=>{var e="";a>>=2;for(var n=0;!(n>=r/4);n++){var o=d[a+n];if(!o&&!t)break;e+=String.fromCodePoint(o)}return e},Na=(a,r,t)=>{if(t??=2147483647,4>t)return 0;var e=r;t=e+t-4;for(var n=0;n<a.length;++n){var o=a.codePointAt(n);if(65535<o&&n++,w[r>>2]=o,(r+=4)+4>t)break}return w[r>>2]=0,r-e},La=a=>{for(var r=0,t=0;t<a.length;++t)65535<a.codePointAt(t)&&t++,r+=4;return r},Wa=0,Ha=[],Ga={},Ja=a=>{var r=Ga[a];return void 0===r?L(a):r},Ka=(a,r,t,e,n)=>Ha[a](r,t,e,n),_a=(a,r)=>{for(var t=0,e=a.length-1;0<=e;e--){var n=a[e];"."===n?a.splice(e,1):".."===n?(a.splice(e,1),t++):t&&(a.splice(e,1),t--)}if(r)for(;t;t--)a.unshift("..");return a},Va=a=>{var r="/"===a.charAt(0),t="/"===a.slice(-1);return(a=_a(a.split("/").filter(a=>!!a),!r).join("/"))||r||(a="."),a&&t&&(a+="/"),(r?"/":"")+a},Qa=a=>{var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);return a=r[0],r=r[1],a||r?(r&&=r.slice(0,-1),a+r):"."},Ya=a=>{(Ya=a=>crypto.getRandomValues(a))(a)},Xa=[],Za=[];function ar(a,r){Za[a]={input:[],output:[],Ra:r},xr(a,rr)}var rr={open(a){var r=Za[a.node.fb];if(!r)throw new wr(43);a.Ca=r,a.seekable=!1},close(a){a.Ca.Ra.Za(a.Ca)},Za(a){a.Ca.Ra.Za(a.Ca)},read(a,r,t,e){if(!a.Ca||!a.Ca.Ra.sb)throw new wr(60);for(var n=0,o=0;o<e;o++){try{var i=a.Ca.Ra.sb(a.Ca)}catch(a){throw new wr(29)}if(void 0===i&&0===n)throw new wr(6);if(null==i)break;n++,r[t+o]=i}return n&&(a.node.Na=Date.now()),n},write(a,r,t,e){if(!a.Ca||!a.Ca.Ra.mb)throw new wr(60);try{for(var n=0;n<e;n++)a.Ca.Ra.mb(a.Ca,r[t+n])}catch(a){throw new wr(29)}return e&&(a.node.Da=a.node.za=Date.now()),n}},tr={sb(){a:{if(!Xa.length){var a=null;if(globalThis.window?.prompt&&null!==(a=window.prompt("Input: "))&&(a+="\n"),!a){var r=null;break a}r=Array(Pa(a)+1),a=Sa(a,r,0,r.length),r.length=a,Xa=r}r=Xa.shift()}return r},mb(a,r){null===r||10===r?(g(Ia(a.output)),a.output=[]):0!=r&&a.output.push(r)},Za(a){0<a.output?.length&&(g(Ia(a.output)),a.output=[])},lc:()=>({cc:25856,ec:5,bc:191,dc:35387,ac:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),mc:()=>0,nc:()=>[24,80]},er={mb(a,r){null===r||10===r?($(Ia(a.output)),a.output=[]):0!=r&&a.output.push(r)},Za(a){0<a.output?.length&&($(Ia(a.output)),a.output=[])}},nr={Ga:null,Ja:()=>nr.createNode(null,"/",16895,0),createNode(a,r,t,e){if(24576==(61440&t)||4096==(61440&t))throw new wr(63);return nr.Ga||(nr.Ga={dir:{node:{Ka:nr.pa.Ka,Ia:nr.pa.Ia,Ua:nr.pa.Ua,cb:nr.pa.cb,zb:nr.pa.zb,Cb:nr.pa.Cb,Bb:nr.pa.Bb,ob:nr.pa.ob,gb:nr.pa.gb},stream:{Fa:nr.qa.Fa}},file:{node:{Ka:nr.pa.Ka,Ia:nr.pa.Ia},stream:{Fa:nr.qa.Fa,read:nr.qa.read,write:nr.qa.write,vb:nr.qa.vb,xb:nr.qa.xb}},link:{node:{Ka:nr.pa.Ka,Ia:nr.pa.Ia,Wa:nr.pa.Wa},stream:{}},pb:{node:{Ka:nr.pa.Ka,Ia:nr.pa.Ia},stream:Er}}),16384==(61440&(t=yr(a,r,t,e)).mode)?(t.pa=nr.Ga.dir.node,t.qa=nr.Ga.dir.stream,t.oa={}):32768==(61440&t.mode)?(t.pa=nr.Ga.file.node,t.qa=nr.Ga.file.stream,t.va=0,t.oa=null):40960==(61440&t.mode)?(t.pa=nr.Ga.link.node,t.qa=nr.Ga.link.stream):8192==(61440&t.mode)&&(t.pa=nr.Ga.pb.node,t.qa=nr.Ga.pb.stream),t.Na=t.Da=t.za=Date.now(),a&&(a.oa[r]=t,a.Na=a.Da=a.za=t.Na),t},ic:a=>a.oa?a.oa.subarray?a.oa.subarray(0,a.va):new Uint8Array(a.oa):new Uint8Array(0),pa:{Ka(a){var r={};return r.fc=8192==(61440&a.mode)?a.id:1,r.kc=a.id,r.mode=a.mode,r.oc=1,r.uid=0,r.jc=0,r.fb=a.fb,16384==(61440&a.mode)?r.size=4096:32768==(61440&a.mode)?r.size=a.va:40960==(61440&a.mode)?r.size=a.link.length:r.size=0,r.Na=new Date(a.Na),r.Da=new Date(a.Da),r.za=new Date(a.za),r.Db=4096,r.$b=Math.ceil(r.size/r.Db),r},Ia(a,r){for(var t of["mode","atime","mtime","ctime"])null!=r[t]&&(a[t]=r[t]);void 0!==r.size&&(r=r.size,a.va!=r&&(0==r?(a.oa=null,a.va=0):(t=a.oa,a.oa=new Uint8Array(r),t&&a.oa.set(t.subarray(0,Math.min(r,a.va))),a.va=r)))},Ua(){throw nr.hb||(nr.hb=new wr(44),nr.hb.stack="<generic error, no stack>"),nr.hb},cb:(a,r,t,e)=>nr.createNode(a,r,t,e),zb(a,r,t){try{var e=br(r,t)}catch(a){}if(e){if(16384==(61440&a.mode))for(var n in e.oa)throw new wr(55);if(n=mr(e.parent.id,e.name),fr[n]===e)fr[n]=e.Qa;else for(n=fr[n];n;){if(n.Qa===e){n.Qa=e.Qa;break}n=n.Qa}}delete a.parent.oa[a.name],r.oa[t]=a,a.name=t,r.za=r.Da=a.parent.za=a.parent.Da=Date.now()},Cb(a,r){delete a.oa[r],a.za=a.Da=Date.now()},Bb(a,r){var t,e=br(a,r);for(t in e.oa)throw new wr(55);delete a.oa[r],a.za=a.Da=Date.now()},ob:a=>[".","..",...Object.keys(a.oa)],gb:(a,r,t)=>((a=nr.createNode(a,r,41471,0)).link=t,a),Wa(a){if(40960!=(61440&a.mode))throw new wr(28);return a.link}},qa:{read(a,r,t,e,n){var o=a.node.oa;if(n>=a.node.va)return 0;if(8<(a=Math.min(a.node.va-n,e))&&o.subarray)r.set(o.subarray(n,n+a),t);else for(e=0;e<a;e++)r[t+e]=o[n+e];return a},write(a,r,t,e,n,o){if(r.buffer===f.buffer&&(o=!1),!e)return 0;if((a=a.node).Da=a.za=Date.now(),r.subarray&&(!a.oa||a.oa.subarray)){if(o)return a.oa=r.subarray(t,t+e),a.va=e;if(0===a.va&&0===n)return a.oa=r.slice(t,t+e),a.va=e;if(n+e<=a.va)return a.oa.set(r.subarray(t,t+e),n),e}o=n+e;var i=a.oa?a.oa.length:0;if(i>=o||(o=Math.max(o,i*(1048576>i?2:1.125)>>>0),0!=i&&(o=Math.max(o,256)),i=a.oa,a.oa=new Uint8Array(o),0<a.va&&a.oa.set(i.subarray(0,a.va),0)),a.oa.subarray&&r.subarray)a.oa.set(r.subarray(t,t+e),n);else for(o=0;o<e;o++)a.oa[n+o]=r[t+o];return a.va=Math.max(a.va,n+e),e},Fa(a,r,t){if(1===t?r+=a.position:2===t&&32768==(61440&a.node.mode)&&(r+=a.node.va),0>r)throw new wr(28);return r},vb(a,r,t,e,n){if(32768!=(61440&a.node.mode))throw new wr(43);if(a=a.node.oa,2&n||!a||a.buffer!==f.buffer){n=!0,e=65536*Math.ceil(r/65536);var o=Qr(65536,e);if(o&&l.fill(0,o,o+e),!(e=o))throw new wr(48);a&&((0<t||t+r<a.length)&&(a=a.subarray?a.subarray(t,t+r):Array.prototype.slice.call(a,t,t+r)),f.set(a,e))}else n=!1,e=a.byteOffset;return{ra:e,Zb:n}},xb:(a,r,t,e)=>(nr.qa.write(a,r,0,e,t,!1),0)}},or=null,ir={},sr=[],ur=1,fr=null,lr=!1,hr=!0,cr={},wr=class{name="ErrnoError";constructor(a){this.Ta=a}},dr=class{bb={};node=null;get flags(){return this.bb.flags}set flags(a){this.bb.flags=a}get position(){return this.bb.position}set position(a){this.bb.position=a}},vr=class{pa={};qa={};eb=null;constructor(a,r,t,e){a||=this,this.parent=a,this.Ja=a.Ja,this.id=ur++,this.name=r,this.mode=t,this.fb=e,this.Na=this.Da=this.za=Date.now()}get read(){return!(365&~this.mode)}set read(a){a?this.mode|=365:this.mode&=-366}get write(){return!(146&~this.mode)}set write(a){a?this.mode|=146:this.mode&=-147}};function pr(a,r={}){if(!a)throw new wr(44);r.jb??(r.jb=!0),"/"===a.charAt(0)||(a="//"+a);var t=0;a:for(;40>t;t++){a=a.split("/").filter(a=>!!a);for(var e=or,n="/",o=0;o<a.length;o++){var i=o===a.length-1;if(i&&r.parent)break;if("."!==a[o])if(".."===a[o]){if(n=Qa(n),e===e.parent){a=n+"/"+a.slice(o+1).join("/"),t--;continue a}e=e.parent}else{n=Va(n+"/"+a[o]);try{e=br(e,a[o])}catch(a){if(44===a?.Ta&&i&&r.Qb)return{path:n};throw a}if(!e.eb||i&&!r.jb||(e=e.eb.root),40960==(61440&e.mode)&&(!i||r.ib)){if(!e.pa.Wa)throw new wr(52);"/"===(e=e.pa.Wa(e)).charAt(0)||(e=Qa(n)+"/"+e),a=e+"/"+a.slice(o+1).join("/");continue a}}}return{path:n,node:e}}throw new wr(32)}function mr(a,r){for(var t=0,e=0;e<r.length;e++)t=(t<<5)-t+r.charCodeAt(e)|0;return(a+t>>>0)%fr.length}function br(a,r){var t=16384==(61440&a.mode)?(t=$r(a,"x"))?t:a.pa.Ua?0:2:54;if(t)throw new wr(t);for(t=fr[mr(a.id,r)];t;t=t.Qa){var e=t.name;if(t.parent.id===a.id&&e===r)return t}return a.pa.Ua(a,r)}function yr(a,r,t,e){return r=mr((a=new vr(a,r,t,e)).parent.id,a.name),a.Qa=fr[r],fr[r]=a}function gr(a){var r=["r","w","rw"][3&a];return 512&a&&(r+="w"),r}function $r(a,r){return hr?0:!r.includes("r")||292&a.mode?r.includes("w")&&!(146&a.mode)||r.includes("x")&&!(73&a.mode)?2:0:2}function Ar(a,r){if(16384!=(61440&a.mode))return 54;try{return br(a,r),20}catch(a){}return $r(a,"wx")}function Cr(a){if(!(a=sr[a]))throw new wr(8);return a}function kr(a,r){var t=void 0,e=t?null:a;if(t??=a.pa.Ia,!t)throw new wr(63);t(e,r)}var Er={open(a){a.qa=ir[a.node.fb].qa,a.qa.open?.(a)},Fa(){throw new wr(70)}};function xr(a,r){ir[a]={qa:r}}function Or(a,r){var t="/"===r;if(t&&or)throw new wr(10);if(!t&&r){var e=pr(r,{jb:!1});if(r=e.path,(e=e.node).eb)throw new wr(10);if(16384!=(61440&e.mode))throw new wr(54)}r={type:a,pc:{},wb:r,Pb:[]},(a=a.Ja(r)).Ja=r,r.root=a,t?or=a:e&&(e.eb=r,e.Ja&&e.Ja.Pb.push(r))}function Tr(a,r,t){var e=pr(a,{parent:!0}).node;if(!(a=a&&a.match(/([^\/]+|\/)\/*$/)[1]))throw new wr(28);if("."===a||".."===a)throw new wr(20);var n=Ar(e,a);if(n)throw new wr(n);if(!e.pa.cb)throw new wr(63);return e.pa.cb(e,a,r,t)}function Rr(a){return Tr(a,16895,0)}function Dr(a,r,t){void 0===t&&(t=r,r=438),Tr(a,8192|r,t)}function Sr(a,r){if(!((...a)=>{for(var r="",t=!1,e=a.length-1;-1<=e&&!t;e--){if("string"!=typeof(t=0<=e?a[e]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!t)return"";r=t+"/"+r,t="/"===t.charAt(0)}return(t?"/":"")+(r=_a(r.split("/").filter(a=>!!a),!t).join("/"))||"."})(a))throw new wr(44);var t=pr(r,{parent:!0}).node;if(!t)throw new wr(44);var e=Ar(t,r=r&&r.match(/([^\/]+|\/)\/*$/)[1]);if(e)throw new wr(e);if(!t.pa.gb)throw new wr(63);t.pa.gb(t,r,a)}function Pr(a,r){if(""===a)throw new wr(44);if("string"==typeof r){var e={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===e)throw Error(`Unknown file open mode: ${r}`);r=e}if(e=64&r?33206:0,"object"==typeof a)var n=a;else{var o=a.endsWith("/");n=(a=pr(a,{ib:!(131072&r),Qb:!0})).node,a=a.path}var i=!1;if(64&r)if(n){if(128&r)throw new wr(20)}else{if(o)throw new wr(31);n=Tr(a,511|e,0),i=!0}if(!n)throw new wr(44);if(8192==(61440&n.mode)&&(r&=-513),65536&r&&16384!=(61440&n.mode))throw new wr(54);if(!i&&(o=n?40960==(61440&n.mode)?32:16384==(61440&n.mode)&&("r"!==gr(r)||576&r)?31:$r(n,gr(r)):44))throw new wr(o);if(512&r&&!i){if(16384==(61440&(o="string"==typeof(o=n)?pr(o,{ib:!0}).node:o).mode))throw new wr(31);if(32768!=(61440&o.mode))throw new wr(28);var s=$r(o,"w");if(s)throw new wr(s);kr(o,{size:0,timestamp:Date.now()})}r&=-131713;a:for(o=n;;){if(o===o.parent){o=o.Ja.wb;var u=u?"/"!==o[o.length-1]?`${o}/${u}`:o+u:o;break a}u=u?`${o.name}/${u}`:o.name,o=o.parent}if(u={node:n,path:u,flags:r,seekable:!0,position:0,qa:n.qa,Yb:[],error:!1},o=-1,u=Object.assign(new dr,u),-1==o)a:{for(o=0;4096>=o;o++)if(!sr[o])break a;throw new wr(33)}u.Pa=o,sr[o]=u,u.qa.open&&u.qa.open(u),i&&(e&=511,kr(n="string"==typeof n?pr(n,{ib:!0}).node:n,{mode:4095&e|-4096&n.mode,za:Date.now(),hc:void 0})),!t.logReadFiles||1&r||a in cr||(cr[a]=1)}function jr(a,r,t){if(null===a.Pa)throw new wr(8);if(!a.seekable||!a.qa.Fa)throw new wr(70);if(0!=t&&1!=t&&2!=t)throw new wr(28);a.position=a.qa.Fa(a,r,t),a.Yb=[]}function qr(a,r,t){a=Va("/dev/"+a);var e=((a,r)=>{var t=0;return a&&(t|=365),r&&(t|=146),t})(!!r,!!t);qr.ub??(qr.ub=64);var n=qr.ub++<<8;xr(n,{open(a){a.seekable=!1},close(){t?.buffer?.length&&t(10)},read(a,t,e,n){for(var o=0,i=0;i<n;i++){try{var s=r()}catch(a){throw new wr(29)}if(void 0===s&&0===o)throw new wr(6);if(null==s)break;o++,t[e+i]=s}return o&&(a.node.Na=Date.now()),o},write(a,r,e,n){for(var o=0;o<n;o++)try{t(r[e+o])}catch(a){throw new wr(29)}return n&&(a.node.Da=a.node.za=Date.now()),o}}),Dr(a,e,n)}var Ir,Br={},Ur={},zr=a=>{if(!(a instanceof O||"unwind"==a))throw a},Mr=a=>{throw i=a,P||0<Wa||(t.onExit?.(a),A=!0),new O(a)},Fr=[],Nr={},Lr=a=>{var r;return(r=/\bwasm-function\[\d+\]:(0x[0-9a-f]+)/.exec(a))?+r[1]:(r=/:(\d+):\d+(?:\)|$)/.exec(a))?2147483648|+r[1]:0},Wr=a=>{for(var r of a)(a=Lr(r))&&(Nr[a]=r)},Hr=a=>{if(!(a=Nr[a]))return 0;var r;if(r=/^\s+at .*\.wasm\.(.*) \(.*\)$/.exec(a))r=r[1];else if(r=/^\s+at (.*) \(.*\)$/.exec(a))r=r[1];else{if(!(r=/^(.+?)@/.exec(a)))return 0;r=r[1]}Vr(Hr.Ab??0),a=Hr;var t=Pa(r)+1,e=_r(t);return e&&Sa(r,l,e,t),a.Ab=e,Hr.Ab},Gr={},Jr=()=>{if(!Ir){var a,r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.language||"C").replace("-","_")+".UTF-8",_:e||"./this.program"};for(a in Gr)void 0===Gr[a]?delete r[a]:r[a]=Gr[a];var t=[];for(a in r)t.push(`${a}=${r[a]}`);Ir=t}return Ir};if((()=>{let a=Q.prototype;Object.assign(a,{isAliasOf:function(a){if(!(this instanceof Q&&a instanceof Q))return!1;var r=this.ma.ta.na,t=this.ma.ra;a.ma=a.ma;var e=a.ma.ta.na;for(a=a.ma.ra;r.ya;)t=r.Xa(t),r=r.ya;for(;e.ya;)a=e.Xa(a),e=e.ya;return r===e&&t===a},clone:function(){if(this.ma.ra||J(this),this.ma.Va)return this.ma.count.value+=1,this;var a=V,r=Object,t=r.create,e=Object.getPrototypeOf(this),n=this.ma;return(a=a(t.call(r,e,{ma:{value:{count:n.count,Sa:n.Sa,Va:n.Va,ra:n.ra,ta:n.ta,xa:n.xa,Ba:n.Ba}}}))).ma.count.value+=1,a.ma.Sa=!1,a},delete(){if(this.ma.ra||J(this),this.ma.Sa&&!this.ma.Va)throw new W("Object already scheduled for deletion");_(this);var a=this.ma;--a.count.value,0===a.count.value&&(a.xa?a.Ba.Ha(a.xa):a.ta.na.Ha(a.ra)),this.ma.Va||(this.ma.xa=void 0,this.ma.ra=void 0)},isDeleted:function(){return!this.ma.ra},deleteLater:function(){if(this.ma.ra||J(this),this.ma.Sa&&!this.ma.Va)throw new W("Object already scheduled for deletion");return this.ma.Sa=!0,this}});const r=Symbol.dispose;r&&(a[r]=a.delete)})(),Object.assign(la.prototype,{Ib(a){return this.yb&&(a=this.yb(a)),a},qb(a){this.Ha?.(a)},Ea:B,sa:function(a){function r(){return this.ab?fa(this.na.La,{ta:this.Rb,ra:t,Ba:this,xa:a}):fa(this.na.La,{ta:this,ra:a})}var t=this.Ib(a);if(!t)return this.qb(a),null;var e=((a,r)=>{if(void 0===r)throw new W("ptr should not be undefined");for(;a.ya;)r=a.Xa(r),a=a.ya;return ua[r]})(this.na,t);if(void 0!==e)return 0===e.ma.count.value?(e.ma.ra=t,e.ma.xa=a,e.clone()):(e=e.clone(),this.qb(a),e);if(e=this.na.Hb(t),!(e=X[e]))return r.call(this);e=this.$a?e.Eb:e.pointerType;var n=sa(t,this.na,e.na);return null===n?r.call(this):this.ab?fa(e.na.La,{ta:e,ra:n,Ba:this,xa:a}):fa(e.na.La,{ta:e,ra:n})}}),fr=Array(4096),Or(nr,"/"),Rr("/tmp"),Rr("/home"),Rr("/home/web_user"),function(){Rr("/dev"),xr(259,{read:()=>0,write:(a,r,t,e)=>e,Fa:()=>0}),Dr("/dev/null",259),ar(1280,tr),ar(1536,er),Dr("/dev/tty",1280),Dr("/dev/tty1",1536);var a=new Uint8Array(1024),r=0,t=()=>(0===r&&(Ya(a),r=a.byteLength),a[--r]);qr("random",t),qr("urandom",t),Rr("/dev/shm"),Rr("/dev/shm/tmp")}(),function(){Rr("/proc");var a=Rr("/proc/self");Rr("/proc/self/fd"),Or({Ja(){var r=yr(a,"fd",16895,73);return r.qa={Fa:nr.qa.Fa},r.pa={Ua(a,r){var t=Cr(a=+r);return(a={parent:null,Ja:{wb:"fake"},pa:{Wa:()=>t.path},id:a+1}).parent=a},ob:()=>Array.from(sr.entries()).filter(([,a])=>a).map(([a])=>a.toString())},r}},"/proc/self/fd")}(),t.noExitRuntime&&(P=t.noExitRuntime),t.print&&(g=t.print),t.printErr&&($=t.printErr),t.wasmBinary&&(o=t.wasmBinary),t.thisProgram&&(e=t.thisProgram),t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);0<t.preInit.length;)t.preInit.shift()();var Kr,_r,Vr,Qr,Yr,Xr,Zr,at,rt={237692:()=>"undefined"!=typeof wasmOffsetConverter},tt={U:function(){return"undefined"!=typeof wasmOffsetConverter},n:(a,r,t)=>{var e=new j(a);throw d[e.ra+16>>2]=0,d[e.ra+4>>2]=r,d[e.ra+8>>2]=t,a},Q:()=>E(""),r:a=>{var r=q[a];delete q[a];var t=r.nb,e=r.Ha,n=r.rb,o=n.map(a=>a.Lb).concat(n.map(a=>a.Vb));N([a],o,a=>{var o={};return n.forEach((r,t)=>{var e=a[t],i=r.Jb,s=r.Kb,u=a[t+n.length],f=r.Ub,l=r.Wb;o[r.Gb]={read:a=>e.sa(i(s,a)),write:(a,r)=>{var t=[];f(l,a,u.wa(t,r)),I(t)},optional:a[t].optional}}),[{name:r.name,sa:a=>{var r,t={};for(r in o)t[r]=o[r].read(a);return e(a),t},wa:(a,r)=>{for(var n in o)if(!(n in r)&&!o[n].optional)throw new TypeError(`Missing field: "${n}"`);var i=t();for(n in o)o[n].write(i,r[n]);return null!==a&&a.push(e,i),i},Ea:B,Aa:e}]})},E:(a,r,t,e,n)=>{r=L(r);let o=a=>a;if(e=0n===e){const a=8*t;o=r=>BigInt.asUintN(a,r),n=o(n)}H(a,{name:r,sa:o,wa:(a,r)=>("number"==typeof r&&(r=BigInt(r)),r),Ea:G(r,t,!e),Aa:null})},ba:(a,r,t,e)=>{H(a,{name:r=L(r),sa:function(a){return!!a},wa:function(a,r){return r?t:e},Ea:function(a){return this.sa(l[a])},Aa:null})},e:(a,r,t,e,n,o,i,s,u,f,l,h,c)=>{l=L(l),o=wa(n,o),s&&=wa(i,s),f&&=wa(u,f),c=wa(h,c);var w=(a=>{var r=(a=a.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=r&&57>=r?`_${a}`:a})(l);aa(w,function(){pa(`Cannot construct ${l} due to unbound types`,[e])}),N([a,r,t],e?[e]:[],r=>{if(r=r[0],e)var t=r.na,n=t.La;else n=Q.prototype;r=Y(l,function(...a){if(Object.getPrototypeOf(this)!==i)throw new W(`Use 'new' to construct ${l}`);if(void 0===h.Oa)throw new W(`${l} has no accessible constructor`);var r=h.Oa[a.length];if(void 0===r)throw new W(`Tried to invoke ctor of ${l} with invalid number of parameters (${a.length}) - expected (${Object.keys(h.Oa).toString()}) parameters instead!`);return r.apply(this,a)});var i=Object.create(n,{constructor:{value:r}});r.prototype=i;var u,h=new ra(l,r,i,c,t,o,s,f);return h.ya&&((u=h.ya).Ya??(u.Ya=[]),h.ya.Ya.push(h)),t=new la(l,h,!0,!1,!1),u=new la(l+"*",h,!1,!1,!1),n=new la(l+" const*",h,!1,!0,!1),X[a]={pointerType:u,Eb:n},ha(w,r),[t,u,n]})},v:(a,r,t,e,n,o,i)=>{var s=ba(t,e);r=L(r),r=ya(r),o=wa(n,o),N([],[a],a=>{function e(){pa(`Cannot call ${n} due to unbound types`,s)}var n=`${(a=a[0]).name}.${r}`;r.startsWith("@@")&&(r=Symbol[r.substring(2)]);var u=a.na.constructor;return void 0===u[r]?(e.Ma=t-1,u[r]=e):(Z(u,r,n),u[r].ua[t-1]=e),N([],s,e=>{if(e=ma(n,[e[0],null].concat(e.slice(1)),null,o,i),void 0===u[r].ua?(e.Ma=t-1,u[r]=e):u[r].ua[t-1]=e,a.na.Ya)for(const t of a.na.Ya)t.constructor.hasOwnProperty(r)||(t.constructor[r]=e);return[]}),[]})},g:(a,r,t,e,n,o)=>{var i=ba(r,t);n=wa(e,n),N([],[a],a=>{var t=`constructor ${(a=a[0]).name}`;if(void 0===a.na.Oa&&(a.na.Oa=[]),void 0!==a.na.Oa[r-1])throw new W(`Cannot register multiple constructors with identical number of parameters (${r-1}) for class '${a.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return a.na.Oa[r-1]=()=>{pa(`Cannot construct ${a.name} due to unbound types`,i)},N([],i,e=>(e.splice(1,0,null),a.na.Oa[r-1]=ma(t,e,null,n,o),[])),[]})},b:(a,r,t,e,n,o,i,s)=>{var u=ba(t,e);r=L(r),r=ya(r),o=wa(n,o),N([],[a],a=>{function e(){pa(`Cannot call ${n} due to unbound types`,u)}var n=`${(a=a[0]).name}.${r}`;r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&a.na.Sb.push(r);var f=a.na.La,l=f[r];return void 0===l||void 0===l.ua&&l.className!==a.name&&l.Ma===t-2?(e.Ma=t-2,e.className=a.name,f[r]=e):(Z(f,r,n),f[r].ua[t-2]=e),N([],u,e=>(e=ma(n,e,a,o,i),void 0===f[r].ua?(e.Ma=t-2,f[r]=e):f[r].ua[t-2]=e,[])),[]})},c:(a,r,t,e,n,o,i,s,u,f)=>{r=L(r),n=wa(e,n),N([],[a],a=>{var e=`${(a=a[0]).name}.${r}`,l={get(){pa(`Cannot access ${e} due to unbound types`,[t,i])},enumerable:!0,configurable:!0};return l.set=u?()=>pa(`Cannot access ${e} due to unbound types`,[t,i]):()=>{throw new W(e+" is a read-only property")},Object.defineProperty(a.na.La,r,l),N([],u?[t,i]:[t],t=>{var i=t[0],l={get(){var r=ga(this,a,e+" getter");return i.sa(n(o,r))},enumerable:!0};if(u){u=wa(s,u);var h=t[1];l.set=function(r){var t=ga(this,a,e+" setter"),n=[];u(f,t,h.wa(n,r)),I(n)}}return Object.defineProperty(a.na.La,r,l),[]}),[]})},_:a=>H(a,xa),m:(a,r,t,e)=>{function n(){}r=L(r),n.values={},H(a,{name:r,constructor:n,sa:function(a){return this.constructor.values[a]},wa:(a,r)=>r.value,Ea:Oa(r,t,e),Aa:null}),aa(r,n)},d:(a,r,t)=>{var e=Ta(a,"enum");r=L(r),a=e.constructor,e=Object.create(e.constructor.prototype,{value:{value:t},constructor:{value:Y(`${e.name}_${r}`,function(){})}}),a.values[t]=e,a[r]=e},D:(a,r,t)=>{H(a,{name:r=L(r),sa:a=>a,wa:(a,r)=>r,Ea:Ra(r,t),Aa:null})},da:(a,r,t,e,n,o)=>{var i=ba(r,t);a=L(a),a=ya(a),n=wa(e,n),aa(a,function(){pa(`Cannot call ${a} due to unbound types`,i)},r-1),N([],i,t=>(ha(a,ma(a,[t[0],null].concat(t.slice(1)),null,n,o),r-1),[]))},w:(a,r,t,e,n)=>{r=L(r);let o=a=>a;if(0===e){var i=32-8*t;o=a=>a<<i>>>i,n=o(n)}H(a,{name:r,sa:o,wa:(a,r)=>r,Ea:G(r,t,0!==e),Aa:null})},p:(a,r,t)=>{function e(a){return new n(f.buffer,d[a+4>>2],d[a>>2])}var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][r];H(a,{name:t=L(t),sa:e,Ea:e},{Mb:!0})},t:a=>{H(a,Da)},k:(a,r,t,e,n,o,i,s,u,f,l,h)=>{t=L(t),o=wa(n,o),s=wa(i,s),f=wa(u,f),h=wa(l,h),N([a],[r],a=>(a=a[0],[new la(t,a.na,!1,!1,!0,a,e,o,s,f,h)]))},aa:(a,r)=>{H(a,{name:r=L(r),sa(a){var r=(r=a+4)?Ia(l,r,d[a>>2],!0):"";return Vr(a),r},wa(a,r){r instanceof ArrayBuffer&&(r=new Uint8Array(r));var t="string"==typeof r;if(!(t||ArrayBuffer.isView(r)&&1==r.BYTES_PER_ELEMENT))throw new W("Cannot pass non-string to std::string");var e=t?Pa(r):r.length,n=_r(4+e+1),o=n+4;return d[n>>2]=e,t?Sa(r,l,o,e+1):l.set(r,o),null!==a&&a.push(Vr,n),n},Ea:B,Aa(a){Vr(a)}})},A:(a,r,t)=>{if(t=L(t),2===r)var e=Ua,n=za,o=Ma;else e=Fa,n=Na,o=La;H(a,{name:t,sa:a=>{var t=e(a+4,d[a>>2]*r,!0);return Vr(a),t},wa:(a,e)=>{if("string"!=typeof e)throw new W(`Cannot pass non-string to C++ string type ${t}`);var i=o(e),s=_r(4+i+r);return d[s>>2]=i/r,n(e,s+4,i+r),null!==a&&a.push(Vr,s),s},Ea:B,Aa(a){Vr(a)}})},s:(a,r,t,e,n,o)=>{q[a]={name:L(r),nb:wa(t,e),Ha:wa(n,o),rb:[]}},l:(a,r,t,e,n,o,i,s,u,f)=>{q[a].rb.push({Gb:L(r),Lb:t,Jb:wa(e,n),Kb:o,Vb:i,Ub:wa(s,u),Wb:f})},ca:(a,r)=>{H(a,{Nb:!0,name:r=L(r),sa:()=>{},wa:()=>{}})},I:()=>{P=!1,Wa=0},i:(a,r,t)=>{var[e,...n]=((a,r)=>{for(var t=Array(a),e=0;e<a;++e)t[e]=Ta(d[r+4*e>>2],`parameter ${e}`);return t})(a,r),o=e.wa.bind(e),i=n.map(a=>a.Ea.bind(a));a--;var s=Array(a);return r=`methodCaller<(${n.map(a=>a.name)}) => ${e.name}>`,(a=>{var r=Ha.length;return Ha.push(a),r})(Y(r,(r,e,n,u)=>{for(var f=0,l=0;l<a;++l)s[l]=i[l](u+f),f+=8;switch(t){case 0:var h=ka(r).apply(null,s);break;case 2:h=Reflect.construct(ka(r),s);break;case 3:h=s[0];break;case 1:h=ka(r)[Ja(e)](...s)}return h=o(r=[],h),r.length&&(d[n>>2]=Ea(r)),h}))},a:Ca,W:a=>a?(a=Ja(a),Ea(globalThis[a])):Ea(globalThis),q:(a,r)=>(a=ka(a),r=ka(r),Ea(a[r])),f:a=>{9<a&&(Aa[a+1]+=1)},$:(a,r)=>(a=ka(a))instanceof ka(r),j:Ka,Z:Ka,u:a=>"number"==typeof(a=ka(a)),x:a=>"string"==typeof(a=ka(a)),F:()=>Ea([]),o:a=>Ea(Ja(a)),h:a=>{var r=ka(a);I(r),Ca(a)},z:a=>(a=ka(a),Ea(typeof a)),G:(a,r)=>{if(Ur[a]&&(clearTimeout(Ur[a].id),delete Ur[a]),!r)return 0;var t=setTimeout(()=>{delete Ur[a],(a=>{if(!A)try{if(a(),!(P||0<Wa))try{i=a=i,Mr(a)}catch(a){zr(a)}}catch(a){zr(a)}})(()=>Yr(a,performance.now()))},r);return Ur[a]={id:t,qc:r},0},S:(a,r,t,e)=>{var n=(new Date).getFullYear(),o=new Date(n,0,1).getTimezoneOffset();n=new Date(n,6,1).getTimezoneOffset(),d[a>>2]=60*Math.max(o,n),w[r>>2]=Number(o!=n),a=(r=a=>{var r=Math.abs(a);return`UTC${0<=a?"-":"+"}${String(Math.floor(r/60)).padStart(2,"0")}${String(r%60).padStart(2,"0")}`})(o),r=r(n),n<o?(Sa(a,l,t,17),Sa(r,l,e,17)):(Sa(a,l,e,17),Sa(r,l,t,17))},P:function(a,r,t){return 0<=a&&3>=a?(m[t>>3]=BigInt(Math.round(1e6*(0===a?Date.now():performance.now()))),0):28},Y:(a,r,t)=>{Fr.length=0;for(var e;e=l[r++];){var n=105!=e;t+=(n&=112!=e)&&t%8?4:0,Fr.push(112==e?d[t>>2]:106==e?m[t>>3]:105==e?w[t>>2]:p[t>>3]),t+=n?8:4}return rt[a](...Fr)},C:(a,r)=>$(a?Ia(l,a,r):""),y:()=>performance.now(),T:Hr,H:a=>{var r=l.length;if(2147483648<(a>>>=0))return!1;for(var t=1;4>=t;t*=2){var e=r*(1+.2/t);e=Math.min(e,a+100663296);a:{e=(Math.min(2147483648,65536*Math.ceil(Math.max(a,e)/65536))-Xr.buffer.byteLength+65535)/65536|0;try{Xr.grow(e),k();var n=1;break a}catch(a){}n=void 0}if(n)return!0}return!1},X:()=>{var a=Error().stack.toString().split("\n");return"Error"==a[0]&&a.shift(),Wr(a),Nr.tb=Lr(a[3]),Nr.Ob=a,Nr.tb},V:(a,r,t)=>{if(Nr.tb==a)var e=Nr.Ob;else"Error"==(e=Error().stack.toString().split("\n"))[0]&&e.shift(),Wr(e);for(var n=3;e[n]&&Lr(e[n])!=a;)++n;for(a=0;a<t&&e[a+n];++a)w[r+4*a>>2]=Lr(e[a+n]);return a},K:(a,r)=>{var t,e=0,n=0;for(t of Jr()){var o=r+e;d[a+n>>2]=o,e+=Sa(t,l,o,1/0)+1,n+=4}return 0},L:(a,r)=>{var t=Jr();for(var e of(d[a>>2]=t.length,a=0,t))a+=Pa(e)+1;return d[r>>2]=a,0},B:a=>{i=a,Mr(a)},O:function(a){try{var r=Cr(a);if(null===r.Pa)throw new wr(8);r.kb&&(r.kb=null);try{r.qa.close&&r.qa.close(r)}catch(a){throw a}finally{sr[r.Pa]=null}return r.Pa=null,0}catch(a){if(void 0===Br||"ErrnoError"!==a.name)throw a;return a.Ta}},N:function(a,r,t,e){try{a:{var n=Cr(a);a=r;for(var o,i=r=0;i<t;i++){var s=d[a>>2],u=d[a+4>>2];a+=8;var l=n,h=s,c=u,w=o,v=f;if(0>c||0>w)throw new wr(28);if(null===l.Pa)throw new wr(8);if(1==(2097155&l.flags))throw new wr(8);if(16384==(61440&l.node.mode))throw new wr(31);if(!l.qa.read)throw new wr(28);var p=void 0!==w;if(p){if(!l.seekable)throw new wr(70)}else w=l.position;var m=l.qa.read(l,v,h,c,w);p||(l.position+=m);var b=m;if(0>b){var y=-1;break a}if(r+=b,b<u)break;void 0!==o&&(o+=b)}y=r}return d[e>>2]=y,0}catch(a){if(void 0===Br||"ErrnoError"!==a.name)throw a;return a.Ta}},J:function(a,r,t,e){r=-9007199254740992>r||9007199254740992<r?NaN:Number(r);try{if(isNaN(r))return 61;var n=Cr(a);return jr(n,r,t),m[e>>3]=BigInt(n.position),n.kb&&0===r&&0===t&&(n.kb=null),0}catch(a){if(void 0===Br||"ErrnoError"!==a.name)throw a;return a.Ta}},M:function(a,r,t,e){try{a:{var n=Cr(a);a=r;for(var o,i=r=0;i<t;i++){var s=d[a>>2],u=d[a+4>>2];a+=8;var l=n,h=s,c=u,w=o,v=f;if(0>c||0>w)throw new wr(28);if(null===l.Pa)throw new wr(8);if(!(2097155&l.flags))throw new wr(8);if(16384==(61440&l.node.mode))throw new wr(31);if(!l.qa.write)throw new wr(28);l.seekable&&1024&l.flags&&jr(l,0,2);var p=void 0!==w;if(p){if(!l.seekable)throw new wr(70)}else w=l.position;var m=l.qa.write(l,v,h,c,w,void 0);p||(l.position+=m);var b=m;if(0>b){var y=-1;break a}if(r+=b,b<u)break;void 0!==o&&(o+=b)}y=r}return d[e>>2]=y,0}catch(a){if(void 0===Br||"ErrnoError"!==a.name)throw a;return a.Ta}},R:Mr};return at=await async function(){function a(a){return a=at=a.exports,Kr=a.ga,_r=a.ha,Vr=a.ia,Qr=a.ka,Yr=a.la,Xr=a.ea,Zr=a.ja,k(),at}var r={a:tt};return t.instantiateWasm?new Promise(e=>{t.instantiateWasm(r,(r,t)=>{e(a(r))})}):(y??=t.locateFile?t.locateFile?t.locateFile("arcgis-knowledge-client-core-simd.wasm",n):n+"arcgis-knowledge-client-core-simd.wasm":new URL("arcgis-knowledge-client-core-simd.wasm","").href,a((await async function(a){var r=y;if(!o)try{var t=fetch(r,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(t,a)}catch(a){$(`wasm streaming compile failed: ${a}`),$("falling back to ArrayBuffer instantiation")}return async function(a,r){try{var t=await x(a);return await WebAssembly.instantiate(t,r)}catch(a){$(`failed to asynchronously prepare wasm: ${a}`),E(a)}}(r,a)}(r)).instance))}(),function(){function a(){if(t.calledRun=!0,!A){var a,r;if(C=!0,t.noFSInit||lr||(lr=!0,a??=t.stdin,r??=t.stdout,e??=t.stderr,a?qr("stdin",a):Sr("/dev/tty","/dev/stdin"),r?qr("stdout",null,r):Sr("/dev/tty","/dev/stdout"),e?qr("stderr",null,e):Sr("/dev/tty1","/dev/stderr"),Pr("/dev/stdin",0),Pr("/dev/stdout",1),Pr("/dev/stderr",1)),at.fa(),hr=!1,s?.(t),t.onRuntimeInitialized?.(),t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;){var e=t.postRun.shift();R.push(e)}T(R)}}if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)S();T(D),t.setStatus?(t.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>t.setStatus(""),1),a()},1)):a()}(),C?t:new Promise((a,r)=>{s=a,u=r})}t.d(r,{default:()=>e})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4342],{46140(e,t,r){r.d(t,{A:()=>i});var n=r(49186);class i{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new n.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new i(this.major,this.minor,this._context)}static parse(e,t=""){const[r,s]=e.split("."),o=/^\s*\d+\s*$/;if(!r?.match||!o.test(r))throw new n.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!o.test(s))throw new n.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const a=parseInt(r,10),l=parseInt(s,10);return new i(a,l,t)}}},62815(e,t,r){r.d(t,{N:()=>a,d:()=>l});var n=r(86211),i=r(73941),s=r(21325),o=r(52006);function a(e,t,r){const n=l(t,r);if(1!==n)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,n);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const r of e.curvePaths)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.paths)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}}(e,n);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const r of e.curveRings)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.rings)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}}(e,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,n);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return}}function l(e,t){return null==e||null==t||t.vcsWkid||(0,s.aI)(e,t)||(0,i.xP)(e)||(0,i.xP)(t)?1:(0,n.G9)(e)/(0,n.G9)(t)}},32756(e,t,r){r.d(t,{Rr:()=>a,fY:()=>c,ne:()=>l});var n=r(5482),i=r(93637),s=r(91429),o=r(91880);function a(e,t,r){if(!e)return null;const n=e.find(e=>!!e.field);if(!n)return null;const i=new o.A;return i.read(n,r),[i]}const l={type:[o.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,n){const s=e.find(e=>!!e.field);s&&(0,i.sM)(r,[s.toJSON()],t)}}}},c=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,n.Cg)([(0,s.MZ)(l)],r.prototype,"orderBy",void 0),r=(0,n.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>d});var n=r(5482),i=r(69540),s=r(25482),o=r(91429),a=r(8631),l=r(29005),c=r(36005),u=r(43937);let d=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,a.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,n.Cg)([(0,c.w)("domains")],d.prototype,"readDomains",null),(0,n.Cg)([(0,u.K)("domains")],d.prototype,"writeDomains",null),(0,n.Cg)([(0,o.MZ)({type:[l.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,n.Cg)([(0,o.$K)("esri.layers.support.FeatureType")],d)},91880(e,t,r){r.d(t,{A:()=>c});var n,i=r(5482),s=r(66552),o=r(25482),a=r(91429);const l=new s.J({asc:"ascending",desc:"descending"});let c=class extends o.o{static{n=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"field",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],c.prototype,"valueExpression",void 0),(0,i.Cg)([(0,a.MZ)({type:l.apiValues,json:{type:l.jsonValues,read:l.read,write:l.write}})],c.prototype,"order",void 0),c=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.OrderByInfo")],c)},73681(e,t,r){r.d(t,{n:()=>l});var n=r(49186),i=r(53966),s=r(46140),o=r(95466),a=r(55674);class l{static async from(e,t,r){const o=e.dictionary_version?s.A.parse(e.dictionary_version):null,u=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const p=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))p.delete(e);p.size&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:p});const f=await(0,a.xR)(e.expression,null,d);if(!f)throw new n.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const m=new c(r,h);return new l(h,u,f,m)}constructor(e,t,r,n){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=n}get itemNames(){return this._itemNames}evaluate(e,t,r,n){try{return this._reader.bind(e,r,n),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){i.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class c extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},58501(e,t,r){r.d(t,{q:()=>i});var n=r(62815);function i(e,t,r){if(!r?.features||!r.hasZ)return;const i=(0,n.N)(r.geometryType,t,e.outSpatialReference);if(i)for(const e of r.features)i(e.geometry)}},22671(e,t,r){r.d(t,{A:()=>w});var n,i=r(5482),s=r(52106),o=r(66552),a=r(25482),l=r(4718),c=r(91429),u=r(16930),d=r(60408),p=r(65864),f=r(50498),h=r(20437),m=r(36005),y=r(43937);const g=new o.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=n=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,n){if(e)return void g.write(e,t,r,n);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,p.rS)(e);return n&&!r&&t.spatialReference&&(n.spatialReference=u.A.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const n=t.features[r];if(n.geometry){const t=e?.[r];n.geometry=t?.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,i]}=e,s=this.features,o=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-n)/t),e=>Math.round((i-e)/r));for(let e=0,t=s.length;e<t;e++)o?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[n,i],scale:[s,o]}=r;let a=null,l=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;a=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;l=r=>null==r?r:r*t+e}const c=this._getHydrationFunction(e,e=>e*s+n,e=>i-e*o,a,l);for(const{geometry:e}of t)null!=e&&c&&c(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const n=u.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const s=e[t],o=r.fromJSON(s),a=s.geometry?.spatialReference;null==o.geometry||a||(o.geometry.spatialReference=n);const l=s.aggregateGeometries,c=o.aggregateGeometries;if(l&&null!=c)for(const e in c){const t=c[e],r=l[e],i=r?.spatialReference;null==t||i||(t.spatialReference=n)}i.push(o)}return i}_quantizePoints(e,t,r){let n,i;const s=[];for(let o=0,a=e.length;o<a;o++){const a=e[o];if(o>0){const e=t(a[0]),o=r(a[1]);e===n&&o===i||(s.push([e-n,o-i]),n=e,i=o)}else n=t(a[0]),i=r(a[1]),s.push([n,i])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const n=(0,d.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,s=n.length;e<s;e++){const s=n[e],o=this._quantizePoints(s,t,r);o&&i.push(o)}return i.length>0?((0,d.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n&&n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,n,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),n&&(e.z=n(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,d.Bi)(e)?e.rings:e.paths;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(o+=i[0],a+=i[1]):(o=i[0],a=i[1]),i[0]=t(o),i[1]=r(a)}}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2]),r[3]=i(r[3])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),n&&null!=e.zmax&&null!=e.zmin&&(e.zmax=n(e.zmax),e.zmin=n(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let o,a;for(let e=0,n=s.length;e<n;e++){const n=s[e];e>0?(o+=n[0],a+=n[1]):(o=n[0],a=n[1]),n[0]=t(o),n[1]=r(a)}if(n&&i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2]),t[3]=i(t[3])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,c.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,c.MZ)({type:[s.A],json:{write:!0}})],w.prototype,"features",void 0),(0,i.Cg)([(0,m.w)("features")],w.prototype,"readFeatures",null),(0,i.Cg)([(0,c.MZ)({type:[h.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,i.Cg)([(0,y.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,i.Cg)([(0,c.MZ)({types:f.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,m.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,c.MZ)({type:u.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,i.Cg)([(0,y.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,c.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=n=(0,i.Cg)([(0,c.$K)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0},55674(e,t,r){r.d(t,{Ad:()=>f,Gj:()=>y,QY:()=>p,lL:()=>g,xR:()=>h});var n=r(66131),i=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),c=r(43668),u=r(98623);const d=["geometry","scale","timeProperties"];function p(e,t){if(null!=t)for(const r of d)t.hasArcadeDependency(r)&&e.add(r);return e}function f(e,t){return m.create(e,t,null,["$feature","$view"])}function h(e,t,r){return m.create(e,t,r,["$feature","$view","$config"])}class m{static async create(e,t,r,n){const{arcade:s,Dictionary:o}=await(0,c.l)();let a;try{a=s.parseScript(e)}catch(t){throw new i.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=s.scriptUsesGeometryEngine(a);l&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,a,null,!1,l);const u={vars:n.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=s.compileScript(a,u);let p=null;null!=r&&(p=new o(r),p.immutable=!0);const f=new o;return f.immutable=!1,f.setField("scale",0),new m(e,s,a,d,t,f,p,o)}constructor(e,t,r,n,i,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=n,this._spatialReference=i,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new y,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:i,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=i?null!=r?n.lY.epochToArcadeDate(i,r):n.lY.unknownEpochToArcadeDate(i):void 0,currentEnd:null!=s?null!=r?n.lY.epochToArcadeDate(s,r):n.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class y{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const n=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=n.fields,this._boundSchema.fieldsIndex=n,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===u.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return n.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?n.lY.unknownEpochToArcadeDate(t):n.lY.epochToArcadeDate(t,this.contextTimeZone??u.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8447],{68197(t,i,s){s.d(i,{A:()=>o});var e=s(40876),n=s(4576),r=s(34727),h=s(56507);function a(t){return(0,r.qE)((0,h.Vr)(t),0,255)}function l(t,i){const s=t.toString(16).padStart(2,"0");return i?s.slice(0,1):s}class o{static blendColors(t,i,s,e=new o){return e.r=Math.round(t.r+(i.r-t.r)*s),e.g=Math.round(t.g+(i.g-t.g)*s),e.b=Math.round(t.b+(i.b-t.b)*s),e.a=t.a+(i.a-t.a)*s,e._sanitize()}static fromRgb(t,i){const s=(0,e.lT)(t);return s?o.fromArray(s,i):null}static fromHex(t,i=new o){const s=(0,e.oW)(t);return s?o.fromArray(s,i):null}static fromArray(t,i=new o){return i._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(i.a)&&(i.a=1),i._sanitize()}static fromString(t,i){const s=(0,e.Eq)(t);return s?o.fromArray(s,i):null}static fromJSON(t){return null!=t?new o([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)o.fromString(t,this);else if((0,n.yc)(t))o.fromArray(t,this);else{const i=t;this._set(i.r??0,i.g??0,i.b??0,i.a??1),t instanceof o||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 i=t?.capitalize??!1,s=t?.digits??6,e=3===s||4===s,n=4===s||8===s,r=`#${l(this.r,e)}${l(this.g,e)}${l(this.b,e)}${n?l(Math.round(255*this.a),e):""}`;return i?r.toUpperCase():r}toCss(t=!1){const i=this.r+", "+this.g+", "+this.b;return t?`rgba(${i}, ${this.a})`:`rgb(${i})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const i=a(this.r),s=a(this.g),e=a(this.b);return 0===t||1!==this.a?[i,s,e,a(255*this.a)]:[i,s,e]}clone(){return new o(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,e.c1)(this.r),this.g=(0,e.c1)(this.g),this.b=(0,e.c1)(this.b),this.a=(0,e.G1)(this.a),this}_set(t,i,s,e){this.r=t,this.g=i,this.b=s,this.a=e}}o.prototype.declaredClass="esri.Color"},40876(t,i,s){s.d(i,{Eq:()=>y,G1:()=>m,TS:()=>r,Tf:()=>g,V6:()=>n,Vm:()=>x,ay:()=>l,c1:()=>p,c4:()=>h,j5:()=>o,lT:()=>u,oW:()=>_,xV:()=>R});const e={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(t){return!!e[t]||!!e[t.toLowerCase()]}function r(t){return e[t]??e[t.toLowerCase()]}function h(t){return[...r(t)]}function a(t,i,s){s<0&&++s,s>1&&--s;const e=6*s;return e<1?t+(i-t)*e:2*s<1?i:3*s<2?t+(i-t)*(2/3-s)*6:t}function l(t,i,s,e=1){const n=(t%360+360)%360/360,r=s<=.5?s*(i+1):s+i-s*i,h=2*s-r;return[Math.round(255*a(h,r,n+1/3)),Math.round(255*a(h,r,n)),Math.round(255*a(h,r,n-1/3)),e]}function o(t){const i=t.length>5,s=i?8:4,e=(1<<s)-1,n=i?1:17,r=i?9===t.length:5===t.length;let h=Number("0x"+t.slice(1));if(isNaN(h))return null;const a=[0,0,0,1];let l;return r&&(l=h&e,h>>=s,a[3]=n*l/255),l=h&e,h>>=s,a[2]=n*l,l=h&e,h>>=s,a[1]=n*l,l=h&e,h>>=s,a[0]=n*l,a}function _(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const i=parseInt(t.slice(1,2),16),s=parseInt(t.slice(2,3),16),e=parseInt(t.slice(3,4),16),n=4===t.length?15:parseInt(t.slice(4),16);return[i+16*i,s+16*s,e+16*e,(n+16*n)/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 i=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(i){const t=i[2].split(/\s*,\s*/),s=i[1];if("rgb"===s&&3===t.length||"rgba"===s&&4===t.length){if(t[0].endsWith("%")){const i=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(i[3]=parseFloat(t[3])),c(i)}return c(t.map(t=>parseFloat(t)))}if("hsl"===s&&3===t.length||"hsla"===s&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function c(t){return t[0]=p(t[0]),t[1]=p(t[1]),t[2]=p(t[2]),t[3]=4===t.length?m(t[3]):1,t}function y(t){let i=n(t)?r(t):null;return i??=u(t),i??=_(t),i}function x(t){const i=y(t);return null!=i?[i[0]/255,i[1]/255,i[2]/255,i[3]]:null}function m(t){return f(t,0,1)}function p(t){return Math.round(f(t,0,255))}function f(t,i,s){return t=Number(t),isNaN(t)?s:t<i?i:t>s?s:t}const g=2.2,d=1/g;function R(t){return t**d}},6774(t,i,s){s.d(i,{O3:()=>r,Ox:()=>h,bR:()=>e});class e{constructor(t,i){this.x=t,this.y=i}static fromArray(t){return new e(t[0],t[1])}clone(){return new e(this.x,this.y)}equals(t,i){return t===this.x&&i===this.y}isEqual(t){return t.x===this.x&&t.y===this.y}setCoords(t,i){return this.x=t,this.y=i,this}normalize(){const t=this.x,i=this.y,s=Math.sqrt(t*t+i*i);return this.x/=s,this.y/=s,this}rightPerpendicular(){const t=this.x;return this.x=this.y,this.y=-t,this}leftPerpendicular(){const t=this.x;return this.x=-this.y,this.y=t,this}move(t,i){return this.x+=t,this.y+=i,this}assign(t){return this.x=t.x,this.y=t.y,this}assignAdd(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this}assignSub(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this}rotate(t,i){const s=this.x,e=this.y;return this.x=s*t-e*i,this.y=s*i+e*t,this}rotateReverse(t,i){const s=this.x,e=this.y;return this.x=s*t+e*i,this.y=-s*i+e*t,this}scale(t){return this.x*=t,this.y*=t,this}length(){const t=this.x,i=this.y;return Math.sqrt(t*t+i*i)}sub(t){return this.x-=t.x,this.y-=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}static distance(t,i){const s=i.x-t.x,e=i.y-t.y;return Math.sqrt(s*s+e*e)}static add(t,i){return new e(t.x+i.x,t.y+i.y)}static sub(t,i){return new e(t.x-i.x,t.y-i.y)}}class n{constructor(t,i,s){this.ratio=t,this.x=i,this.y=s}}class r{constructor(t,i,s,e=8,n=8){this._lines=[],this._starts=[],this.validateTessellation=!0,this._pixelRatio=e,this._pixelMargin=n,this._tileSize=512*e,this._dz=t,this._yPos=i,this._xPos=s}setPixelMargin(t){t!==this._pixelMargin&&(this._pixelMargin=t,this.setExtent(this._extent))}setExtent(t){this._extent=t,this._finalRatio=this._tileSize/t*(1<<this._dz);let i=this._pixelRatio*this._pixelMargin;i/=this._finalRatio;const s=t>>this._dz;i>s&&(i=s),this._margin=i,this._xmin=s*this._xPos-i,this._ymin=s*this._yPos-i,this._xmax=this._xmin+s+2*i,this._ymax=this._ymin+s+2*i}reset(t){this._type=t,this._lines=[],this._starts=[],this._line=null,this._start=0}moveTo(t,i){this._pushLine(),this._prevIsIn=this._isIn(t,i),this._moveTo(t,i,this._prevIsIn),this._prevPt=new e(t,i),this._firstPt=new e(t,i),this._dist=0}lineTo(t,i){const s=this._isIn(t,i),r=new e(t,i),h=e.distance(this._prevPt,r);let a,l,o,_,u,c,y,x;if(s)this._prevIsIn?this._lineTo(t,i,!0):(a=this._prevPt,l=r,o=this._intersect(l,a),this._start=this._dist+h*(1-this._r),this._lineTo(o.x,o.y,!0),this._lineTo(l.x,l.y,!0));else if(this._prevIsIn)l=this._prevPt,a=r,o=this._intersect(l,a),this._lineTo(o.x,o.y,!0),this._lineTo(a.x,a.y,!1);else{const t=this._prevPt,i=r;if(t.x<=this._xmin&&i.x<=this._xmin||t.x>=this._xmax&&i.x>=this._xmax||t.y<=this._ymin&&i.y<=this._ymin||t.y>=this._ymax&&i.y>=this._ymax)this._lineTo(i.x,i.y,!1);else{const s=[];if((t.x<this._xmin&&i.x>this._xmin||t.x>this._xmin&&i.x<this._xmin)&&(_=(this._xmin-t.x)/(i.x-t.x),x=t.y+_*(i.y-t.y),x<=this._ymin?c=!1:x>=this._ymax?c=!0:s.push(new n(_,this._xmin,x))),(t.x<this._xmax&&i.x>this._xmax||t.x>this._xmax&&i.x<this._xmax)&&(_=(this._xmax-t.x)/(i.x-t.x),x=t.y+_*(i.y-t.y),x<=this._ymin?c=!1:x>=this._ymax?c=!0:s.push(new n(_,this._xmax,x))),(t.y<this._ymin&&i.y>this._ymin||t.y>this._ymin&&i.y<this._ymin)&&(_=(this._ymin-t.y)/(i.y-t.y),y=t.x+_*(i.x-t.x),y<=this._xmin?u=!1:y>=this._xmax?u=!0:s.push(new n(_,y,this._ymin))),(t.y<this._ymax&&i.y>this._ymax||t.y>this._ymax&&i.y<this._ymax)&&(_=(this._ymax-t.y)/(i.y-t.y),y=t.x+_*(i.x-t.x),y<=this._xmin?u=!1:y>=this._xmax?u=!0:s.push(new n(_,y,this._ymax))),0===s.length)u?c?this._lineTo(this._xmax,this._ymax,!0):this._lineTo(this._xmax,this._ymin,!0):c?this._lineTo(this._xmin,this._ymax,!0):this._lineTo(this._xmin,this._ymin,!0);else if(s.length>1&&s[0].ratio>s[1].ratio)this._start=this._dist+h*s[1].ratio,this._lineTo(s[1].x,s[1].y,!0),this._lineTo(s[0].x,s[0].y,!0);else{this._start=this._dist+h*s[0].ratio;for(let t=0;t<s.length;t++)this._lineTo(s[t].x,s[t].y,!0)}this._lineTo(i.x,i.y,!1)}}this._dist+=h,this._prevIsIn=s,this._prevPt=r}close(){if(this._line.length>2){const t=this._firstPt,i=this._prevPt;t.x===i.x&&t.y===i.y||this.lineTo(t.x,t.y);const s=this._line;let e=s.length;for(;e>=4&&(s[0].x===s[1].x&&s[0].x===s[e-2].x||s[0].y===s[1].y&&s[0].y===s[e-2].y);)s.pop(),s[0].x=s[e-2].x,s[0].y=s[e-2].y,--e}}result(t=!0){return this._pushLine(),0===this._lines.length?null:(3===this._type&&t&&a.simplify(this._tileSize,this._margin*this._finalRatio,this._lines),this._lines)}resultWithStarts(){if(2!==this._type)throw new Error("Only valid for lines");this._pushLine();const t=this._lines,i=t.length;if(0===i)return null;const s=[];for(let e=0;e<i;e++)s.push({line:t[e],start:this._starts[e]||0});return s}_isIn(t,i){return t>=this._xmin&&t<=this._xmax&&i>=this._ymin&&i<=this._ymax}_intersect(t,i){let s,n,r;if(i.x>=this._xmin&&i.x<=this._xmax)n=i.y<=this._ymin?this._ymin:this._ymax,r=(n-t.y)/(i.y-t.y),s=t.x+r*(i.x-t.x);else if(i.y>=this._ymin&&i.y<=this._ymax)s=i.x<=this._xmin?this._xmin:this._xmax,r=(s-t.x)/(i.x-t.x),n=t.y+r*(i.y-t.y);else{n=i.y<=this._ymin?this._ymin:this._ymax,s=i.x<=this._xmin?this._xmin:this._xmax;const e=(s-t.x)/(i.x-t.x),h=(n-t.y)/(i.y-t.y);e<h?(r=e,n=t.y+e*(i.y-t.y)):(r=h,s=t.x+h*(i.x-t.x))}return this._r=r,new e(s,n)}_pushLine(){this._line&&(1===this._type?this._line.length>0&&(this._lines.push(this._line),this._starts.push(this._start)):2===this._type?this._line.length>1&&(this._lines.push(this._line),this._starts.push(this._start)):3===this._type&&this._line.length>3&&(this._lines.push(this._line),this._starts.push(this._start))),this._line=[],this._start=0}_moveTo(t,i,s){3!==this._type?s&&(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,i))):(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.push(new e(t,i)),this._isH=!1,this._isV=!1)}_lineTo(t,i,s){let n,r;if(3!==this._type)if(s){if(t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line.length>0&&(n=this._line[this._line.length-1],n.equals(t,i)))return;this._line.push(new e(t,i))}else this._line&&this._line.length>0&&this._pushLine();else if(s||(t<this._xmin&&(t=this._xmin),t>this._xmax&&(t=this._xmax),i<this._ymin&&(i=this._ymin),i>this._ymax&&(i=this._ymax)),t=Math.round((t-(this._xmin+this._margin))*this._finalRatio),i=Math.round((i-(this._ymin+this._margin))*this._finalRatio),this._line&&this._line.length>0){n=this._line[this._line.length-1];const s=n.x===t,h=n.y===i;if(s&&h)return;this._isH&&s||this._isV&&h?(n.x=t,n.y=i,r=this._line[this._line.length-2],r.x===t&&r.y===i?(this._line.pop(),this._line.length<=1?(this._isH=!1,this._isV=!1):(r=this._line[this._line.length-2],this._isH=r.x===t,this._isV=r.y===i)):(this._isH=r.x===t,this._isV=r.y===i)):(this._line.push(new e(t,i)),this._isH=s,this._isV=h)}else this._line.push(new e(t,i))}}class h{setExtent(t){this._ratio=4096===t?1:4096/t}get validateTessellation(){return this._ratio<1}reset(t){this._lines=[],this._line=null}moveTo(t,i){this._line&&this._lines.push(this._line),this._line=[];const s=this._ratio;this._line.push(new e(t*s,i*s))}lineTo(t,i){const s=this._ratio;this._line.push(new e(t*s,i*s))}close(){const t=this._line;t&&!t[0].isEqual(t[t.length-1])&&t.push(t[0])}result(){return this._line&&this._lines.push(this._line),0===this._lines.length?null:this._lines}}class a{static simplify(t,i,s){if(!s)return;const e=-i,n=t+i,r=-i,h=t+i,l=[],o=[],_=s.length;for(let t=0;t<_;++t){const i=s[t];if(!i||i.length<2)continue;let a,_=i[0];const u=i.length;for(let s=1;s<u;++s)a=i[s],_.x===a.x&&(_.x<=e&&(_.y>a.y?(l.push(t),l.push(s),l.push(0),l.push(-1)):(o.push(t),o.push(s),o.push(0),o.push(-1))),_.x>=n&&(_.y<a.y?(l.push(t),l.push(s),l.push(1),l.push(-1)):(o.push(t),o.push(s),o.push(1),o.push(-1)))),_.y===a.y&&(_.y<=r&&(_.x<a.x?(l.push(t),l.push(s),l.push(2),l.push(-1)):(o.push(t),o.push(s),o.push(2),o.push(-1))),_.y>=h&&(_.x>a.x?(l.push(t),l.push(s),l.push(3),l.push(-1)):(o.push(t),o.push(s),o.push(3),o.push(-1)))),_=a}if(0===l.length||0===o.length)return;a.fillParent(s,o,l),a.fillParent(s,l,o);const u=[];a.calcDeltas(u,o,l),a.calcDeltas(u,l,o),a.addDeltas(u,s)}static fillParent(t,i,s){const e=s.length,n=i.length;for(let r=0;r<n;r+=4){const n=i[r],h=i[r+1],a=i[r+2],o=t[n][h-1],_=t[n][h];let u=8092,c=-1;for(let i=0;i<e;i+=4){if(s[i+2]!==a)continue;const e=s[i],n=s[i+1],r=t[e][n-1],h=t[e][n];switch(a){case 0:case 1:if(l(o.y,r.y,h.y)&&l(_.y,r.y,h.y)){const t=Math.abs(h.y-r.y);t<u&&(u=t,c=i)}break;case 2:case 3:if(l(o.x,r.x,h.x)&&l(_.x,r.x,h.x)){const t=Math.abs(h.x-r.x);t<u&&(u=t,c=i)}}}i[r+3]=c}}static calcDeltas(t,i,s){const e=i.length;for(let n=0;n<e;n+=4){const e=[],r=a.calcDelta(n,i,s,e);t.push(i[n]),t.push(i[n+1]),t.push(i[n+2]),t.push(r)}}static calcDelta(t,i,s,e){const n=i[t+3];if(-1===n)return 0;const r=e.length;return r>1&&e[r-2]===n?0:(e.push(n),a.calcDelta(n,s,i,e)+1)}static addDeltas(t,i){const s=t.length;let e=0;for(let i=0;i<s;i+=4){const s=t[i+3];s>e&&(e=s)}for(let n=0;n<s;n+=4){const s=i[t[n]],r=t[n+1],h=e-t[n+3];switch(t[n+2]){case 0:s[r-1].x-=h,s[r].x-=h,1===r&&(s[s.length-1].x-=h),r===s.length-1&&(s[0].x-=h);break;case 1:s[r-1].x+=h,s[r].x+=h,1===r&&(s[s.length-1].x+=h),r===s.length-1&&(s[0].x+=h);break;case 2:s[r-1].y-=h,s[r].y-=h,1===r&&(s[s.length-1].y-=h),r===s.length-1&&(s[0].y-=h);break;case 3:s[r-1].y+=h,s[r].y+=h,1===r&&(s[s.length-1].y+=h),r===s.length-1&&(s[0].y+=h)}}}}const l=(t,i,s)=>t>=i&&t<=s||t>=s&&t<=i},13195(t,i,s){s.d(i,{GW:()=>p,IU:()=>f,Jo:()=>h,MG:()=>r,Wh:()=>c,aA:()=>o,cP:()=>R,os:()=>_,p6:()=>m,pJ:()=>a,ru:()=>d,s3:()=>g,wV:()=>x,yM:()=>b,z0:()=>y});var e=s(95108),n=s(6774);const r=Number.POSITIVE_INFINITY,h=Math.PI,a=2*h,l=128/h,o=256/360,_=h/180,u=1/Math.LN2;function c(t,i){return(t%=i)>=0?t:t+i}function y(t){return c(t*l,256)}function x(t){return c(t*o,256)}function m(t){return Math.log(t)*u}function p(t,i,s){return t*(1-s)+i*s}function f(t){return 8+Math.max(16*(t-14),0)}function g(t,i,s){let e,n,r,h=0;for(const a of s){e=a.length;for(let s=1;s<e;++s)n=a[s-1],r=a[s],n.y>i!=r.y>i&&((r.x-n.x)*(i-n.y)-(r.y-n.y)*(t-n.x)>0?h++:h--)}return 0!==h}function d(t,i,s,n){let r,h,a,l;const o=n*n;for(const n of s){const s=n.length;if(!(s<2)){r=n[0].x,h=n[0].y;for(let _=1;_<s;++_){if(a=n[_].x,l=n[_].y,(0,e.Ng)(t,i,r,h,a,l)<o)return!0;r=a,h=l}}}return!1}function R(t,i){if(0===i||Number.isNaN(i))return t;const s=[],e=new n.bR(0,0),r=new n.bR(0,0),h=new n.bR(0,0);for(let a=0;a<t.length;a++){const l=t[a],o=[];for(let t=0;t<l.length;t++){const s=l[t-1],a=l[t],_=l[t+1];0===t?e.setCoords(0,0):e.assignSub(a,s).normalize().rightPerpendicular(),t===l.length-1?r.setCoords(0,0):r.assignSub(_,a).normalize().rightPerpendicular(),h.assignAdd(e,r).normalize();const u=h.x*r.x+h.y*r.y;0!==u&&h.scale(1/u),o.push(n.bR.add(a,h.scale(i)))}s.push(o)}return s}function b(t,i,s,e){const r=new n.bR(t[0],t[1]);if(r.scale(e),"viewport"===i){const t=-s*(Math.PI/180),i=Math.cos(t),e=Math.sin(t);r.rotate(i,e)}return r}},76213(t,i,s){s.d(i,{C2:()=>a,CQ:()=>e,DY:()=>n,GR:()=>p,Gh:()=>o,MZ:()=>y,Rm:()=>h,TB:()=>m,U5:()=>l,_M:()=>_,cp:()=>f,eG:()=>r,hM:()=>c,ie:()=>u,yv:()=>x});const e=512,n=29,r=24,h=3,a=4,l=6,o=1.05,_=3,u=3,c=4,y=1,x=1024,m=256,p=32,f=512},89518(t,i,s){s.d(i,{M9:()=>h,Ss:()=>a,fw:()=>o,ws:()=>l});const e=new Float32Array(1),n=new Uint32Array(e.buffer);function r(t){return e[0]=t,n[0]}function h(t,i){return 65535&t|i<<16}function a(t,i,s,e){return 255&t|(255&i)<<8|(255&s)<<16|e<<24}function l(t,i){return 255&t|(255&i)<<8}function o(t){const i=r(t),s=i>>>31;let e=i>>>23&255,n=8388607&i;return e-=127,e>15?s<<15|31744:e<-25?0:(e<-14&&(n+=8388608,n/=2**(-14-e),e=-15),e+=15,n/=8192,n=function(t){const i=Math.floor(t),s=t-i;return i<1023&&(s>.5||.5===s&&i%2==1)?i+1:i}(n),s<<15|e<<10|n)}},68572(t,i,s){s.d(i,{H:()=>h,q:()=>a}),s(44208);var e=s(23304),n=s(63907);function r(t){switch(t){case n.pe.BYTE:case n.pe.UNSIGNED_BYTE:return 1;case n.pe.SHORT:case n.pe.UNSIGNED_SHORT:case n.pe.HALF_FLOAT:return 2;case n.pe.FLOAT:case n.pe.INT:case n.pe.UNSIGNED_INT:return 4}}function h(t){const i=[],s=[],e=[];for(const n of t){const t=r(n.type)*n.count;switch(t%2||t%4||4){case 4:i.push(n);continue;case 2:s.push(n);continue;case 1:e.push(n);continue;default:throw new Error("Found unexpected dataType byte count")}}return i.push(...s),i.push(...e),i}class a{static fromVertexSpec(t,i){const{attributes:s,optionalAttributes:e}=t;let n,l,o;const _=[];for(const t in s){if(s[t].otherSource)continue;const i=s[t];"position"===i.pack?n={...i,name:t,offset:0}:"id"===i.pack?l={...i,name:t,offset:4}:"bitset"===t?o={...i,name:t,offset:7}:_.push({...i,name:t})}for(const t in e)if(!0===i[t]){const i=e[t];_.push({...i,name:t})}const u=h(_),c=[];let y=8,x=1;for(const t of u)c.push({...t,offset:y}),y+=r(t.type)*t.count,t.packAlternating&&(x=Math.max(t.packAlternating.count,x));const m=Uint32Array.BYTES_PER_ELEMENT,p=y%m;return new a(n,l,o,c,y+(p?m-p:0),x)}constructor(t,i,s,e,n,r){this.position=t,this.id=i,this.bitset=s,this.standardAttributes=e,this.stride=n,this.packVertexCount=r,e.push(s),this._attributes=[t,i,s,...e]}get attributeLayout(){if(!this._attributeLayout){const t=(0,e.hU)(this._attributes),i=this._attributes.map(t=>({name:t.name,count:t.count,offset:t.offset,type:t.type,packPrecisionFactor:t.packPrecisionFactor,normalized:t.normalized??!1}));this._attributeLayout={attributes:i,hash:t,stride:this.stride}}return this._attributeLayout}}},23304(t,i,s){s.d(i,{Ph:()=>r,Z0:()=>h,hU:()=>n});var e=s(799);function n(t){const i=t.map(({name:t,count:i,type:s})=>`${t}.${i}.${s}`).join(",");return(0,e.Wm)(i)}function r(t,i,s,e,n,h,a){if(t.primitiveName===i){let i=e?.readWithDefault(n,h,t[s]&&a);return"text"===t.type&&(i=i.toString()),void(t[s]=i)}if("type"in t&&null!=t.type){if(t.effects)for(const l of t.effects)r(l,i,s,e,n,h,a);switch(t.type){case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":if(t.symbolLayers)for(const l of t.symbolLayers)r(l,i,s,e,n,h,a);break;case"CIMTextSymbol":t.symbol&&r(t.symbol,i,s,e,n,h,a);break;case"CIMHatchFill":t.lineSymbol&&r(t.lineSymbol,i,s,e,n,h,a);break;case"CIMPictureMarker":case"CIMCharacterMarker":case"CIMVectorMarker":if(t.markerPlacement&&r(t.markerPlacement,i,s,e,n,h,a),"CIMVectorMarker"===t.type&&t.markerGraphics)for(const l of t.markerGraphics)r(l,i,s,e,n,h,a),r(l.symbol,i,s,e,n,h,a)}}}function h(t){const i=Math.max(1.25*t.width,20);return null!=t.effects&&t.effects.length>0?400:i}},63907(t,i,s){s.d(i,{$0:()=>c,C5:()=>u,CQ:()=>g,H0:()=>r,SB:()=>l,WR:()=>e,XN:()=>h,iE:()=>a,ld:()=>o,nI:()=>m,pe:()=>n,r6:()=>y,uH:()=>f,vt:()=>_,xL:()=>p,yI:()=>x});const e={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},n={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},r={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},h=Object.values(r),a={DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},l={DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},o={FLOAT:n.FLOAT,UNSIGNED_BYTE:n.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:n.BYTE,UNSIGNED_SHORT:n.UNSIGNED_SHORT,SHORT:n.SHORT,UNSIGNED_INT:n.UNSIGNED_INT,INT:n.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},_={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},u=1029,c=0,y=36064,x=36065,m=33306,p=36096,f=36128,g={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}}}]);