@arcgis/core 5.2.0-next.75 → 5.2.0-next.77
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.
- package/arcgisGlobal.d.ts +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/013c9cc198736a72f7f2.js +1 -0
- package/assets/esri/core/workers/chunks/0194244a3f437ad74045.js +1 -0
- package/assets/esri/core/workers/chunks/040a73b2a23577e1eabd.js +1 -0
- package/assets/esri/core/workers/chunks/{0d3b2d9a19383bb63f0a.js → 05663093b1d2a268b953.js} +1 -1
- package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js → 06c8547521ce9c97b258.js} +2 -2
- package/assets/esri/core/workers/chunks/{4dcd4a052b40047a9230.js → 08cac27df6c216ae1995.js} +1 -1
- package/assets/esri/core/workers/chunks/08ec5461af74356e7570.js +1 -0
- package/assets/esri/core/workers/chunks/0909816f13d25cacf250.js +1 -0
- package/assets/esri/core/workers/chunks/0933203eee15ea50e123.js +1 -0
- package/assets/esri/core/workers/chunks/{5e1d84e97de0e662aaa9.js → 1142f8e9c80207d6bdae.js} +1 -1
- package/assets/esri/core/workers/chunks/16929524565a677db4dc.js +1 -0
- package/assets/esri/core/workers/chunks/16a04fc184728d66e6e1.js +1 -0
- package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +1 -0
- package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js → 17e9324a02b69733307a.js} +2 -2
- package/assets/esri/core/workers/chunks/1a467da4c0b33f655199.js +1 -0
- package/assets/esri/core/workers/chunks/1ef28d4457c8c943ad19.js +1 -0
- package/assets/esri/core/workers/chunks/{2b93888e61ca638490cf.js → 20b54e7872d967f3be32.js} +1 -1
- package/assets/esri/core/workers/chunks/{5f31b375971ab067121e.js → 21f763694a41968ac21a.js} +1 -1
- package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +1 -0
- package/assets/esri/core/workers/chunks/257f1e8316877f611e11.js +1 -0
- package/assets/esri/core/workers/chunks/270ed3070d118edb3f37.js +1 -0
- package/assets/esri/core/workers/chunks/29a20a37e7837142fa6b.js +2 -0
- package/assets/esri/core/workers/chunks/2e7c830b5b1fe406169f.js +1 -0
- package/assets/esri/core/workers/chunks/315031323e11a18154e3.js +1 -0
- package/assets/esri/core/workers/chunks/385b23d4bd5275031fb6.js +1 -0
- package/assets/esri/core/workers/chunks/393f79843d5a78c1cc37.js +1 -0
- package/assets/esri/core/workers/chunks/3958d92c737b3a2a3bc2.js +1 -0
- package/assets/esri/core/workers/chunks/3b5c5356353f1a2303a0.js +1 -0
- package/assets/esri/core/workers/chunks/{6743d726e45e7b660505.js → 4115bab15c19b4f5ae08.js} +1 -1
- package/assets/esri/core/workers/chunks/{99e3aa4832ed87474ab4.js → 44857a76be2c0ac65bb9.js} +1 -1
- package/assets/esri/core/workers/chunks/{4491dc227c28e2ab4f8e.js → 484b251fbcbffcb58323.js} +1 -1
- package/assets/esri/core/workers/chunks/48e2d0bfb62e1f4f2ad9.js +1 -0
- package/assets/esri/core/workers/chunks/{7f2f2a92dce3f68e579b.js → 4b54444c04fbd6f42c18.js} +1 -1
- package/assets/esri/core/workers/chunks/4c82f5f23004f905a18f.js +1 -0
- package/assets/esri/core/workers/chunks/53eed0941a39b56cc034.js +1 -0
- package/assets/esri/core/workers/chunks/56e6d8c4a9ed893ce951.js +1 -0
- package/assets/esri/core/workers/chunks/57159bcac86d660dcceb.js +1 -0
- package/assets/esri/core/workers/chunks/{36ec5b84e551ab08b24a.js → 57e26a86d46e02c89c4f.js} +1 -1
- package/assets/esri/core/workers/chunks/58026fc30d8a0ded4102.js +1 -0
- package/assets/esri/core/workers/chunks/59598023c0aea62a6297.js +1 -0
- package/assets/esri/core/workers/chunks/5bf2ce280ea35ea4c96b.js +1 -0
- package/assets/esri/core/workers/chunks/5fd2aa0be03dfb494efa.js +1 -0
- package/assets/esri/core/workers/chunks/619aa1381296172ff47b.js +1 -0
- package/assets/esri/core/workers/chunks/62f37d1075390a177ae9.js +1 -0
- package/assets/esri/core/workers/chunks/65d1e338612e59063eba.js +1 -0
- package/assets/esri/core/workers/chunks/680dd7b7638465eb33de.js +1 -0
- package/assets/esri/core/workers/chunks/{b14961a9f1f40028f141.js → 6c982779d6d47ec99899.js} +1 -1
- package/assets/esri/core/workers/chunks/{a52c88e2d837b525ff6c.js → 71ee7c51d2c60a180f1e.js} +1 -1
- package/assets/esri/core/workers/chunks/{6b783f440c4a5d36e879.js → 75fc0b1db8e2e3fd2458.js} +1 -1
- package/assets/esri/core/workers/chunks/79429c8be5da85713200.js +1 -0
- package/assets/esri/core/workers/chunks/7b470d6ad182548b9e95.js +1 -0
- package/assets/esri/core/workers/chunks/7d8eb4dbea1916320f74.js +1 -0
- package/assets/esri/core/workers/chunks/{67f54586156d1ab80257.js → 81cd0cb9ae1371765d32.js} +1 -1
- package/assets/esri/core/workers/chunks/83556c9f6f85c2a46779.js +1 -0
- package/assets/esri/core/workers/chunks/{d1c7c877edc6948f3801.js → 8762da315cf5086167c3.js} +1 -1
- package/assets/esri/core/workers/chunks/87eaed6fdabd482d142e.js +1 -0
- package/assets/esri/core/workers/chunks/88d5541679e77117bf03.js +1 -0
- package/assets/esri/core/workers/chunks/894ebc64b698e5d7604b.js +1 -0
- package/assets/esri/core/workers/chunks/{4046bd65d7d0677f4600.js → 8d9a7fa14489897780d3.js} +1 -1
- package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +1 -0
- package/assets/esri/core/workers/chunks/9199300ffd225a1bbef1.js +1 -0
- package/assets/esri/core/workers/chunks/{3e2b4e734aa20a308f3e.js → 95956d62591d689f1135.js} +1 -1
- package/assets/esri/core/workers/chunks/98613fded899c59f34a4.js +1 -0
- package/assets/esri/core/workers/chunks/9e1392a0c608a13ab036.js +1 -0
- package/assets/esri/core/workers/chunks/{53d165b4f30fd64e5d8a.js → a4e4fa4dd1a122bbf7cd.js} +1 -1
- package/assets/esri/core/workers/chunks/a5240c8a47842138f31f.js +1 -0
- package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +1 -0
- package/assets/esri/core/workers/chunks/a7727a2377470d586ff9.js +1 -0
- package/assets/esri/core/workers/chunks/{7a24cc0f3b4eff2bdb8e.js → ac2ba5c3d613d7d5183a.js} +1 -1
- package/assets/esri/core/workers/chunks/{6cd6d0cfd313f0475d98.js → ac59218847e5ef4c4160.js} +1 -1
- package/assets/esri/core/workers/chunks/ac87be2210f868524996.js +1 -0
- package/assets/esri/core/workers/chunks/aed16c3e26652960ad3f.js +1 -0
- package/assets/esri/core/workers/chunks/{43713bc6f7eea07259d0.js → b084829a3fd709dc47a8.js} +1 -1
- package/assets/esri/core/workers/chunks/{05f6887805d92da03122.js → b24fc7eeda580ef020d2.js} +1 -1
- package/assets/esri/core/workers/chunks/{5ba3a30b7cbfa9e3aa62.js → b2812279662f1a5f8d06.js} +1 -1
- package/assets/esri/core/workers/chunks/b37a20c5c4a4686257d4.js +1 -0
- package/assets/esri/core/workers/chunks/{43a65cab888d43954564.js → b4abf82b8ac974a55ae1.js} +1 -1
- package/assets/esri/core/workers/chunks/b82763e9401b16121f8d.js +2 -0
- package/assets/esri/core/workers/chunks/bab5f4b2424b487b87ac.js +1 -0
- package/assets/esri/core/workers/chunks/bbc6b270d2032189107c.js +1 -0
- package/assets/esri/core/workers/chunks/bc6e488f5fbd50f9f3d0.js +1 -0
- package/assets/esri/core/workers/chunks/bd7d87d175ba933ab2ce.js +1 -0
- package/assets/esri/core/workers/chunks/{1c49c9472167a2e0c923.js → c17dda6fadb8bfad0d51.js} +1 -1
- package/assets/esri/core/workers/chunks/c1e5ffe9a251be5a0744.js +1 -0
- package/assets/esri/core/workers/chunks/c69cf08da4e4c2c824ee.js +1717 -0
- package/assets/esri/core/workers/chunks/ca6652c6304ad0e37e8f.js +1 -0
- package/assets/esri/core/workers/chunks/cd74de12005834244a47.js +1 -0
- package/assets/esri/core/workers/chunks/{762be5d3e6aeaea33f74.js → cef02ed3942c010da2e8.js} +1 -1
- package/assets/esri/core/workers/chunks/d520d407043bc52e5410.js +1 -0
- package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +1 -0
- package/assets/esri/core/workers/chunks/dff932682d6386a861ce.js +1 -0
- package/assets/esri/core/workers/chunks/{2c31648a4b95275516ee.js → e227eb44cd139fe2bc1b.js} +1 -1
- package/assets/esri/core/workers/chunks/e4e5a171a4874c5af4a4.js +1 -0
- package/assets/esri/core/workers/chunks/{ddb92c815d17c67a45e6.js → e5d114f2b57d2b8e2f1c.js} +1 -1
- package/assets/esri/core/workers/chunks/e89e6eea380ca2c13b64.js +1 -0
- package/assets/esri/core/workers/chunks/e9d352d030dcad1619a6.js +1 -0
- package/assets/esri/core/workers/chunks/{3de6e54b6ed0feae1940.js → eae51e827f629ab37207.js} +1 -1
- package/assets/esri/core/workers/chunks/eee1fd629619021ea279.js +1 -0
- package/assets/esri/core/workers/chunks/{b6cd165d0e58598f28a5.js → ef47a5da641cb0d33fdf.js} +1 -1
- package/assets/esri/core/workers/chunks/{0eb35e09765fd74eb698.js → ef803fb25741e9f2a0a1.js} +1 -1
- package/assets/esri/core/workers/chunks/f35e749bb5be39880cbe.js +1 -0
- package/assets/esri/core/workers/chunks/f3bbebedad51f776bb98.js +1 -0
- package/assets/esri/core/workers/chunks/{3dff36f6de181d9dcdc5.js → f40e4433e7608d0962a6.js} +1 -1
- package/assets/esri/core/workers/chunks/f703bc002c732d1c045d.js +1 -0
- package/assets/esri/core/workers/chunks/fdd4f78facec6387cdb0.js +1 -0
- package/assets/esri/core/workers/chunks/ffd5285c7b2c83208f87.js +2 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/libs/text/pkg/bundle_bg.wasm +0 -0
- package/chunks/HeatmapDensity.glsl.js +5 -5
- package/chunks/bundle2.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/config.js +1 -1
- package/geometry/geometryEngine.js +1 -1
- package/geometry/support/centroid.js +1 -1
- package/geometry/support/extentUtils.js +1 -1
- package/geometry/support/frustum.js +1 -1
- package/geometry/support/webMercatorUtils.d.ts +38 -14
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/VectorTileLayer.d.ts +40 -22
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/projectionSupport.js +1 -1
- package/layers/graphics/sources/support/sourceUtils.js +1 -1
- package/layers/mixins/RasterJobHandlerMixin.js +1 -1
- package/layers/support/RasterJobHandler.js +1 -1
- package/layers/video/VideoController.js +1 -1
- package/package.json +4 -4
- package/support/revision.js +1 -1
- package/symbols/cim/animationUtils.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/effects/EffectCircularSector.js +1 -1
- package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
- package/views/2d/engine/webgl/animations/infos.js +1 -1
- package/views/2d/engine/webgl/animations/instructions.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
- package/views/3d/GroundView3D.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/MediaLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
- package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
- package/views/3d/state/HUDOccludedFragmentOpacity.js +1 -1
- package/views/3d/state/ViewState.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/support/GaussianSplatSortWorker.js +1 -1
- package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
- package/views/3d/support/flow/geometryUtils.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
- package/views/3d/support/renderInfoUtils/line.js +1 -1
- package/views/3d/support/renderInfoUtils/polygon.js +1 -1
- package/views/3d/terrain/DrapedZ.js +2 -0
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/PatchRenderDataWaterproofness.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/TerrainWaterproofnessDiagnostics.js +2 -0
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +2 -2
- package/views/3d/webgl-engine/lib/Geometry.js +1 -1
- package/views/3d/webgl-engine/lib/PositionReader.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFields.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
- package/views/3d/webgl-engine/parts/Model.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensity.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
- package/views/support/waitForResources.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +20 -6
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +100 -0
- package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.js +2 -0
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/multipleChoiceInputUtils.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Feature/FeatureViewModel.d.ts +4 -3
- package/widgets/Feature/FeatureViewModel.js +1 -1
- package/widgets/Feature.js +1 -1
- package/widgets/Features/FeaturesViewModel.d.ts +4 -2
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/Features.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicVideoViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
- package/widgets/Popup/PopupViewModel.d.ts +1 -0
- package/widgets/Popup/PopupViewModel.js +1 -1
- package/widgets/Popup.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
- package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
- package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +0 -1
- package/assets/esri/core/workers/chunks/0502641d9a214b37ff29.js +0 -1
- package/assets/esri/core/workers/chunks/0823961e5d0bdedbf8cf.js +0 -2
- package/assets/esri/core/workers/chunks/0aedeb837399d3f92e4a.js +0 -1
- package/assets/esri/core/workers/chunks/0bf644f93c180a2bc2f8.js +0 -705
- package/assets/esri/core/workers/chunks/0daaa89de339e8ea4b81.js +0 -1
- package/assets/esri/core/workers/chunks/1119a33245138e7b3914.js +0 -1
- package/assets/esri/core/workers/chunks/12234a63d3fa4bc25e7e.js +0 -1
- package/assets/esri/core/workers/chunks/186bedc377cc97731ca2.js +0 -2
- package/assets/esri/core/workers/chunks/1cf8fb704c48ac3d3b15.js +0 -1
- package/assets/esri/core/workers/chunks/2435ef7d11f8dbb920b7.js +0 -256
- package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +0 -1
- package/assets/esri/core/workers/chunks/27f574acf52f2c8bc2c9.js +0 -1
- package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +0 -1
- package/assets/esri/core/workers/chunks/2ea3ca68cfa4d34e8f3b.js +0 -1
- package/assets/esri/core/workers/chunks/2f81047790c4890ae625.js +0 -1
- package/assets/esri/core/workers/chunks/3235e14fedb19dd94807.js +0 -1
- package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +0 -1
- package/assets/esri/core/workers/chunks/3bc2943035391b44d4cf.js +0 -29
- package/assets/esri/core/workers/chunks/3c32471785bc8570e41c.js +0 -1
- package/assets/esri/core/workers/chunks/4295822fa6ef743c76f1.js +0 -1
- package/assets/esri/core/workers/chunks/42d5ed44111bea77ec71.js +0 -1462
- package/assets/esri/core/workers/chunks/46873badbd6ce8ff4e1e.js +0 -1
- package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.js +0 -1
- package/assets/esri/core/workers/chunks/4b5bd0c9a55ea2998601.js +0 -1
- package/assets/esri/core/workers/chunks/4c2794687aea172775a0.js +0 -1
- package/assets/esri/core/workers/chunks/4d9bde9f66817a92ceca.js +0 -1
- package/assets/esri/core/workers/chunks/4fe2cca405180af23364.js +0 -1
- package/assets/esri/core/workers/chunks/519af918050b47f93516.js +0 -1
- package/assets/esri/core/workers/chunks/5600fc334d20c4f0c83d.js +0 -1
- package/assets/esri/core/workers/chunks/5627f562dea8bae2f346.js +0 -1
- package/assets/esri/core/workers/chunks/5bf4ab72b9634b06cc5d.js +0 -1
- package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +0 -1
- package/assets/esri/core/workers/chunks/6f58cb9dffe8016397a2.js +0 -1
- package/assets/esri/core/workers/chunks/6fc3553c52af6ace926d.js +0 -1
- package/assets/esri/core/workers/chunks/7aaa051b51a8e34bbfb0.js +0 -1
- package/assets/esri/core/workers/chunks/7dc5aedc964eacd1be5a.js +0 -1
- package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.js +0 -1
- package/assets/esri/core/workers/chunks/8302bffd28cc6720e0fe.js +0 -2
- package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +0 -1
- package/assets/esri/core/workers/chunks/8d21e2dabc5165f1c8ca.js +0 -1
- package/assets/esri/core/workers/chunks/903e1cd8b76eff19ebdf.js +0 -1
- package/assets/esri/core/workers/chunks/917c11cb40a7742d7f98.js +0 -1
- package/assets/esri/core/workers/chunks/91d133c04ca764d74934.js +0 -1
- package/assets/esri/core/workers/chunks/92c4464b67fce6cea134.js +0 -1
- package/assets/esri/core/workers/chunks/947f1ea4dbc3e3419ecc.js +0 -1
- package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +0 -1
- package/assets/esri/core/workers/chunks/96cec8a02ca96175d602.js +0 -1
- package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +0 -1
- package/assets/esri/core/workers/chunks/9b76c8974424a1908e86.js +0 -1
- package/assets/esri/core/workers/chunks/9be6827e5756031a56c1.js +0 -1
- package/assets/esri/core/workers/chunks/9cff18e6f751d1b3085e.js +0 -1
- package/assets/esri/core/workers/chunks/a101152066dd56259619.js +0 -1
- package/assets/esri/core/workers/chunks/a2a2c7e274fb32fecffa.js +0 -1
- package/assets/esri/core/workers/chunks/a3bf8aa81ee398da5b52.js +0 -1
- package/assets/esri/core/workers/chunks/a7a7d3289d4ca95f545f.js +0 -1
- package/assets/esri/core/workers/chunks/abb6c76d5dba3559a68e.js +0 -1
- package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +0 -1
- package/assets/esri/core/workers/chunks/b1a175b3b2d1a7ddde8e.js +0 -1
- package/assets/esri/core/workers/chunks/b78f509fd8e95f728178.js +0 -1
- package/assets/esri/core/workers/chunks/b858adff7043683fe41c.js +0 -1
- package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.js +0 -1
- package/assets/esri/core/workers/chunks/c02ae1d40c1fe95ae6c5.js +0 -1
- package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +0 -1
- package/assets/esri/core/workers/chunks/c53b2be005721591e29b.js +0 -1
- package/assets/esri/core/workers/chunks/c82ab4f0908290e70ee9.js +0 -1
- package/assets/esri/core/workers/chunks/cc5ec6e99aa09342c704.js +0 -1
- package/assets/esri/core/workers/chunks/cd892c9603710d6130a9.js +0 -1
- package/assets/esri/core/workers/chunks/d021775cf747556660a5.js +0 -1
- package/assets/esri/core/workers/chunks/d633e98b0dfa0490e4de.js +0 -1
- package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +0 -1
- package/assets/esri/core/workers/chunks/d8eca13c127b443141b7.js +0 -1
- package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +0 -1
- package/assets/esri/core/workers/chunks/eb1a86159dbc098f06fe.js +0 -1
- package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +0 -1
- package/assets/esri/core/workers/chunks/ed1de8b7406269e217b9.js +0 -29
- package/assets/esri/core/workers/chunks/ee9eb381e675d2d01260.js +0 -1
- package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +0 -1
- package/assets/esri/core/workers/chunks/f43a0edf58941e2ac78e.js +0 -1
- package/assets/esri/core/workers/chunks/f78acff510ca615d42e4.js +0 -1
- package/assets/esri/core/workers/chunks/f7a5c4d22a24e1ac433c.js +0 -1
- package/chunks/geometryEngineBase.js +0 -2
- package/geometry/geometryAdapters/json.js +0 -2
- package/geometry/geometryEngineJSON.js +0 -2
- /package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js.LICENSE.txt → 06c8547521ce9c97b258.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js.LICENSE.txt → 17e9324a02b69733307a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{0823961e5d0bdedbf8cf.js.LICENSE.txt → 29a20a37e7837142fa6b.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js.LICENSE.txt → b82763e9401b16121f8d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js.LICENSE.txt → ffd5285c7b2c83208f87.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[473,1948,6061,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},65708(t,e,r){r.d(e,{e:()=>i});var s=r(86211),n=r(78125);function i(t,e={}){const{unit:r}=e;let i=(0,n.fromGeometry)(t).calculateArea2D();if(i&&r){const e=(0,n.getSpatialReference)(t);if(e.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const a=(0,s.B5)(e);a!==r&&(a?i=(0,s.oU)(i,a,r):(i=Math.sqrt(i),i*=(0,s.GA)(e),i**=2,i=(0,s.oU)(i,"square-meters",r)))}return i}const a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}));r.d(e,["a",0,a])},49590(t,e,r){r.d(e,{e:()=>f,l:()=>c});var s=r(86211),n=r(86742),i=r(5808);let a,o,h,u;function l(){return!!a&&(0,n.s1)()}async function c(){if(!l()){const[t]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(3299),r.e(1550)]).then(r.bind(r,78125)),(0,n.Hh)()]);a=t.fromGeometry,o=t.fromSpatialReference,h=t.getSpatialReference,u=(0,n.fz)()}}function f(t,e={}){const{curveType:r="geodesic",unit:u}=e,l=h(t);let c=(0,n.g7)(a(t),o(l),i.O[r]);return c&&u&&(c=(0,s.oU)(c,"square-meters",u)),c}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:c,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}));r.d(e,["g",0,p])},39663(t,e,r){r.d(e,{e:()=>f,l:()=>c});var s=r(86211),n=r(35223),i=r(5808);let a,o,h,u;function l(){return!!a&&(0,n.s1)()}async function c(){if(!l()){const[t]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(3299),r.e(1550)]).then(r.bind(r,78125)),(0,n.Hh)()]);a=t.fromGeometry,o=t.fromSpatialReference,h=t.getSpatialReference,u=(0,n.fz)()}}function f(t,e={}){const{curveType:r="geodesic",unit:u}=e,l=h(t);let c=(0,n.g7)(a(t),o(l),i.O[r]);return c&&u&&(c=(0,s.oU)(c,"meters",u)),c}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:c,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}));r.d(e,["g",0,p])},7817(t,e,r){r.d(e,{e:()=>i});var s=r(86211),n=r(78125);function i(t,e={}){const{unit:r}=e;let i=(0,n.fromGeometry)(t).calculateLength2D();if(i&&r){const e=(0,n.getSpatialReference)(t);i=(0,s.PQ)(i,e,r)}return i}const a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}));r.d(e,["l",0,a])},10222(t,e,r){r.d(e,{e:()=>i});var s=r(81150),n=r(78125);function i(t){const e=(0,n.getSpatialReference)(t);return(0,n.toGeometry)((0,s.g7)((0,n.fromGeometry)(t),(0,n.fromSpatialReference)(e),!1),e)}const a=(0,s.fz)(),o=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(t){const e=t.map(n.fromGeometry),r=(0,n.getSpatialReference)(t);return(0,s.zo)(e,(0,n.fromSpatialReference)(r),!1).map(t=>(0,n.toGeometry)(t,r))},isSimple:function(t){return(0,s.Pg)((0,n.fromGeometry)(t),(0,n.fromSpatialReference)((0,n.getSpatialReference)(t)),!1)},supportsCurves:a},Symbol.toStringTag,{value:"Module"}));r.d(e,["s",0,o])},69540(t,e,r){var s=r(5482),n=r(69622),i=(r(44208),r(4718)),a=(r(53966),r(97768)),o=r(88620),h=r(64108);const u=Symbol("ClonableMixin"),l=t=>{var e;const r=t;let n=class extends r{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,o.oY)(this);(0,a.Lw)(e,"unable to clone instance of non-accessor class");const r=e.metadata,s=e.store,n={},h=new Map;for(const e in r){const a=r[e],o=s?.originOf(e),u=a.clonable;if(a.readOnly||!1===u||7!==o&&0!==o&&5!==o&&4!==o)continue;const l=this[e];let c=null;if("function"==typeof u)c=u(l,t);else if("reference"===u)c=l;else if(c=(0,i.TU)(l,t),null!=l&&null==c)continue;0===o?h.set(e,c):n[e]=c}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(h.size){const t=(0,o.oY)(u)?.store;if(t)for(const[e,r]of h)t.set(e,r,0)}return u}};return n=(0,s.Cg)([(0,h.$)("esri.core.Clonable")],n),n},c=l(n.A);r.d(e,["OU",0,l,"Pw",0,c])},17799(t,e,r){r.d(e,{T9:()=>o,d_:()=>n,gT:()=>i});var s=r(86211);function n(t,e){return{type:(0,s.t$)(e),value:t,unit:e}}function i(t,e){return{type:(0,s.t$)(e),value:t,unit:e}}function a(t,e,r="arithmetic"){return{type:(0,s.t$)(e),value:t,unit:e,rotationType:r}}function o(t,e){return null==t?e:null==e||t.value>(0,s.oU)(e.value,e.unit,t.unit)?t:e}n(0,"meters"),i(0,"square-meters"),a(0,"radians"),a(0,"degrees"),a(0,"degrees","geographic")},87992(t,e,r){r.d(e,{JR:()=>R,ME:()=>C,MY:()=>A,NO:()=>M,Nh:()=>w,V2:()=>E,_s:()=>b,e6:()=>G,gh:()=>P,tr:()=>Y,uX:()=>m});var s=r(5482),n=r(16930),i=r(19419),a=r(60408),o=r(21325),h=r(513),u=r(50954),l=r(79567),c=r(52006),f=r(49663),p=r(46068),g=r(92722);class m{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:c,segmentCountArc:f,segmentCountBezier:p}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=c,this.segmentCountArc=f,this.segmentCountBezier=p}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=E(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=Z(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new x(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class x{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=Z(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],l=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,l]]};const c=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,h],c,f,a,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,h=O(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new S(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,c.yP)(r)}const[a,o,u,f]=n;e={xmin:a,ymin:o,xmax:u,ymax:f,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function C(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,_(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const n=E(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:o,vertexXY:h,vertexZ:u,vertexM:l}=n;function f(t){h[2*g]=t[0],h[2*g+1]=t[1],i&&(u[g]=t[2]),o&&(l[g]=t[p]),++g}n.spatialReference=t.spatialReference??void 0;const p=n.hasZ?3:2;let g=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])h[2*g]=t,h[2*g+1]=e,++g;return n}for(const t of r[0])f(t);return n}const m="polygon"===s,{partOffsets:y}=n;let d=0;if(!(0,c.Ed)(t)){for(const t of r){if(y[d++]=g,0===t.length)continue;let e=t.length;if(m&&_(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)f(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*g]=e,h[2*g+1]=s,++g}}return y[d]=g,n}function v(t){const e=x+t;if(e<=(n.segmentParams?.length??0))return;let r=e*z;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let x=0;for(const t of r){if(n.partOffsets[d++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];f(r);const i=g-1;(0,c.wY)(s)?(v(10),++n.segmentCountArc,x=b(r,s,n,i,x),r=s.a[0]):(0,c.DA)(s)?(v(10),++n.segmentCountArc,x=V(r,s,n,i,x),r=s.a[0]):(0,c.aO)(s)?(v(10),++n.segmentCountArc,x=G(r,s,n,i,x),r=s.c[0]):(0,c.n1)(s)?(v(4),++n.segmentCountBezier,x=Y(0,s,n,i,x),r=s.b[0]):r=s}m&&_(e,r)||f(r)}return n.partOffsets[d]=g,n}function P(t){const e=Z(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=O(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function w(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=E(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const l=2+Number(s)+Number(n);let c=0,f=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[f],i=e+t-Number(o);u.partOffsets[++f]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[c++],u.vertexXY[2*t+1]=r[c++],s&&(u.vertexZ[t]=r[c++]),n&&(u.vertexM[t]=r[c++]);o&&(c+=l)}return u}function R({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new g.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let c=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=u.coords.length;for(let t=c;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(l){const t=c;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-f)/u.stride),c=i}return"point"===t&&(u.lengths.length=0),u}function A(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new m({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function Z({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function _(t,e){return t.every((t,r)=>t===e[r])}function E(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new m({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(u);let c=0;return h.vertexXY=new Float64Array(l,c,2*e),c+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(l,c,e),c+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,c,e),c+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,c,h.segmentParamCount),c+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,c,e),h.segmentIndices.fill(F),c+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,c,r+1),c+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,c,r+1),c+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(l,c,e),h.segmentFlags.fill(1),c+=h.segmentFlags.byteLength),h}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],l,c,f,g,m]=e.a;let y=4;c||(y|=1),l||(y|=2);const d=(0,p.SW)(t,e),[v,x]=(0,p.Uk)(d,.5);return n[a++]=y,n[a++]=g,n[a++]=m,n[a++]=f,n[a++]=h,n[a++]=u,n[a++]=d.u2-d.u1,n[a++]=d.u1,n[a++]=v,n[a++]=x,a}function V(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,f.io)(t,e);return I(o,4,...(0,h.mq)(o,.5),n,a)}function G(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,I((0,u.pM)(t,e),0,...e.c[1],n,a)}function I(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function Y(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=r,h[l++]=s,h[l++]=n,h[l++]=i,l}const z=1.61803,F=-1},48526(t,e,r){r.d(e,{A:()=>y});var s,n=r(5482),i=r(4576),a=r(4718),o=r(91429),h=r(5443),u=r(91075),l=r(86738),c=r(16930),f=r(90634),p=r(47610),g=r(56993),m=r(43937);let y=s=class extends u.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:r,hasZ:s,spatialReference:n}=t;switch(e??=[],e?.at(0)?.length){case 4:s??=!0,r??=!0;break;case 3:s??=!0!==r,r??=!s;break;default:s??=!1,r??=!1}return n??=c.A.WGS84,{...t,hasM:r,hasZ:s,points:e,spatialReference:n}}(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,f.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,a.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:r,hasZ:n}=this;return new s({points:(0,a.o8)(t),spatialReference:e.clone(),hasM:r,hasZ:n})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,r=t.spatialReference;return null!=e==(null!=r)&&!(null!=e&&null!=r&&!e.equals(r))&&(0,i.aI)(this.points,t.points,p.v6)}addPoint(t){return(0,g.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],r={x:e[0],y:e[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(r.z=e[2],s=3),this.hasM&&(r.m=e[s]),new l.A(r)}removePoint(t){if(!this._validateInputs(t))return null;const e=new l.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,g.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,n.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,n.Cg)([(0,m.K)("points")],y.prototype,"writePoints",null),y=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,r){r.d(e,{A:()=>g});var s,n=r(5482),i=r(4718),a=r(91429),o=r(5443),h=r(91075),u=r(86738),l=r(16930),c=r(90634),f=r(56993),p=r(43937);let g=s=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:r,hasZ:s,spatialReference:n}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:s??=!0,r??=!0;break;case 3:s??=!0!==r,r??=!s;break;default:s??=!1,r??=!1}return n??=l.A.WGS84,{...t,hasM:r,hasZ:s,paths:e,spatialReference:n}}(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,c.Z3)(this),{spatialReference:e}=this;return t?new o.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,i.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,r=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const s=[];for(let e=0,r=t.length;e<r;e++)s[e]=t[e].toArray();e[r]=s}else e[r]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new s;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 r=this.paths[t][e],s=this.hasZ,n=this.hasM;return s&&!n?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):n&&!s?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):s&&n?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(t,e,r){return this._validateInputs(t,e,!0)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t].splice(e,0,r),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],r=this.spatialReference,s=e.map(t=>new u.A(t,r));return this.notifyChange("paths"),s}removePoint(t,e){if(!this._validateInputs(t,e))return null;const r=new u.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(t,e,r){return this._validateInputs(t,e)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t][e]=r,this.notifyChange("paths"),this):this}_validateInputs(t,e,r=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const s=this.paths[t];if(r&&(e<0||e>s.length))return!1;if(!r&&(e<0||e>=s.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,n.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,n.Cg)([(0,a.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],g.prototype,"curvePaths",void 0),(0,n.Cg)([(0,p.K)("curvePaths")],g.prototype,"writeCurvePaths",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,n.Cg)([(0,a.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],g.prototype,"paths",void 0),(0,n.Cg)([(0,p.K)("paths")],g.prototype,"writePaths",null),g=s=(0,n.Cg)([(0,a.$K)("esri.geometry.Polyline")],g),g.prototype.toJSON.isDefaultToJSON=!0},86742(t,e,r){r.d(e,{Hh:()=>a,fz:()=>h,g7:()=>o,s1:()=>i});var s=r(83290);let n;function i(){return!!n&&(0,s.i)()}async function a(){if(!i()){const[t,e]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(2024),r.e(6558)]).then(r.bind(r,6558)),Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(6061)]).then(r.bind(r,15756)).then(t=>t.aP).then(({injectPe:t})=>t),(0,s.l)()]);n=new t.OperatorGeodeticArea,e(s.p)}}function o(t,e,r){return n.execute(t,e,r,null)}function h(){return n.supportsCurves()}},35223(t,e,r){r.d(e,{Hh:()=>a,fz:()=>h,g7:()=>o,s1:()=>i});var s=r(83290);let n;function i(){return!!n&&(0,s.i)()}async function a(){if(!i()){const[t,e]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(4167)]).then(r.bind(r,28879)),Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(6061)]).then(r.bind(r,15756)).then(t=>t.aP).then(({injectPe:t})=>t),(0,s.l)()]);n=new t.OperatorGeodeticLength,e(s.p)}}function o(t,e,r){return n.execute(t,e,r,null)}function h(){return n.supportsCurves()}},81150(t,e,r){r.d(e,{Pg:()=>h,fz:()=>u,g7:()=>a,zo:()=>o});var s=r(76061),n=(r(55537),r(88885),r(15756));r(95213);const i=new n.f;function a(t,e,r){return i.execute(t,e,r,null)}function o(t,e,r){const n=i.executeMany(new s.S(t),e,r,null);return Array.from(n)}function h(t,e,r){return i.isSimpleAsFeature(t,e,r,null,null)}function u(){return i.supportsCurves()}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>y,fromGeometry:()=>m,fromMultipoint:()=>d,fromPoint:()=>v,fromPolygon:()=>x,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>P,getSpatialReference:()=>g,toExtent:()=>R,toGeometry:()=>w,toMultipoint:()=>A,toPoint:()=>S,toPolygon:()=>O,toPolyline:()=>Z});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),h=r(48526),u=r(86738),l=r(39829),c=r(82799),f=(r(90293),r(83299));const p="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function m(t){switch(t.type){case"point":return v(t);case"multipoint":return d(t);case"polyline":return M(t);case"polygon":return x(t);case"extent":return y(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function y(t){if(!t.getCacheValue(p)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(p,e)}return t.getCacheValue(p)}function d(t){if(!t.getCacheValue(p)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,h=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[h]??NaN),e.add(r)}t.setCacheValue(p,e)}return t.getCacheValue(p)}function v(t){if(!t.getCacheValue(p)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(p,e)}return t.getCacheValue(p)}function x(t){if(!t.getCacheValue(p)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(p,i)}return t.getCacheValue(p)}function M(t){if(!t.getCacheValue(p)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(p,i)}return t.getCacheValue(p)}function C(t){if(!t.getCacheValue(p)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(p,i)}return t.getCacheValue(p)}function P(t){return t.cache?(t.cache[p]??=(0,f.fromSpatialReference)(t),t.cache[p]):(0,f.fromSpatialReference)(t)}function w(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return S(t,e);case n.G.enumEnvelope:return R(t,e);case n.G.enumMultiPoint:return A(t,e);case n.G.enumPolyline:return Z(t,e);case n.G.enumPolygon:return O(t,e)}return null}function R(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(p,t),r}function A(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const u=new h.A({hasM:s,hasZ:n,points:a,spatialReference:e});return u.setCacheValue(p,t),u}function S(t,e){if(t instanceof s.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(p,t),r}function O(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(p,t),r}function Z(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(p,t),r}},5808(t,e,r){r.d(e,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],h=this.coords[r+1];t+=-.5*(o-n)*(h+i),n=o,i=h}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}},32728(t,e,r){r.d(e,{YH:()=>o,hG:()=>i,nu:()=>h,wp:()=>a}),r(34727);var s=r(35522),n=r(51850);function i(t){const e=t[0]*t[0]+t[4]*t[4]+t[8]*t[8],r=t[1]*t[1]+t[5]*t[5]+t[9]*t[9],s=t[2]*t[2]+t[6]*t[6]+t[10]*t[10];return Math.sqrt(Math.max(e,r,s))}function a(t,e){const r=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),n=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,s.hZ)(t,r,n,i),t}function o(t,e,r){r=r||t;const n=(0,s.Om)(t,e);(0,s.hZ)(r,t[0]-n*e[0],t[1]-n*e[1],t[2]-n*e[2]),(0,s.S8)(r,r)}function h(t,e,r,i=(0,n.vt)()){const a=(0,s.Bw)(t),o=(0,s.Bw)(e),h=(0,s.Om)(t,e)/(a*o);if(h<.9999999999999999){const n=Math.acos(h),c=((1-r)*a+r*o)/Math.sin(n),f=c/a*Math.sin((1-r)*n),p=c/o*Math.sin(r*n);return(0,s.hs)(u,t,f),(0,s.hs)(l,e,p),(0,s.WQ)(i,u,l)}return(0,s.Cc)(i,t,e,r)}(0,n.vt)(),(0,n.vt)(),(0,n.vt)();const u=(0,n.vt)(),l=(0,n.vt)()}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[473,1948,6061,8125],{61691(t,e,r){r.d(e,{G:()=>s});class s{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,r){r.d(e,{S:()=>n});var s=r(61691);class n extends s.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},65708(t,e,r){r.d(e,{e:()=>i});var s=r(86211),n=r(78125);function i(t,e={}){const{unit:r}=e;let i=(0,n.fromGeometry)(t).calculateArea2D();if(i&&r){const e=(0,n.getSpatialReference)(t);if(e.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const a=(0,s.B5)(e);a!==r&&(a?i=(0,s.oU)(i,a,r):(i=Math.sqrt(i),i*=(0,s.GA)(e),i**=2,i=(0,s.oU)(i,"square-meters",r)))}return i}const a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}));r.d(e,["a",0,a])},49590(t,e,r){r.d(e,{e:()=>f,l:()=>c});var s=r(86211),n=r(86742),i=r(5808);let a,o,h,u;function l(){return!!a&&(0,n.s1)()}async function c(){if(!l()){const[t]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(3299),r.e(1550)]).then(r.bind(r,78125)),(0,n.Hh)()]);a=t.fromGeometry,o=t.fromSpatialReference,h=t.getSpatialReference,u=(0,n.fz)()}}function f(t,e={}){const{curveType:r="geodesic",unit:u}=e,l=h(t);let c=(0,n.g7)(a(t),o(l),i.O[r]);return c&&u&&(c=(0,s.oU)(c,"square-meters",u)),c}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:c,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}));r.d(e,["g",0,p])},39663(t,e,r){r.d(e,{e:()=>f,l:()=>c});var s=r(86211),n=r(35223),i=r(5808);let a,o,h,u;function l(){return!!a&&(0,n.s1)()}async function c(){if(!l()){const[t]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(3299),r.e(1550)]).then(r.bind(r,78125)),(0,n.Hh)()]);a=t.fromGeometry,o=t.fromSpatialReference,h=t.getSpatialReference,u=(0,n.fz)()}}function f(t,e={}){const{curveType:r="geodesic",unit:u}=e,l=h(t);let c=(0,n.g7)(a(t),o(l),i.O[r]);return c&&u&&(c=(0,s.oU)(c,"meters",u)),c}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:c,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}));r.d(e,["g",0,p])},7817(t,e,r){r.d(e,{e:()=>i});var s=r(86211),n=r(78125);function i(t,e={}){const{unit:r}=e;let i=(0,n.fromGeometry)(t).calculateLength2D();if(i&&r){const e=(0,n.getSpatialReference)(t);i=(0,s.PQ)(i,e,r)}return i}const a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}));r.d(e,["l",0,a])},10222(t,e,r){r.d(e,{e:()=>i});var s=r(81150),n=r(78125);function i(t){const e=(0,n.getSpatialReference)(t);return(0,n.toGeometry)((0,s.g7)((0,n.fromGeometry)(t),(0,n.fromSpatialReference)(e),!1),e)}const a=(0,s.fz)(),o=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(t){const e=t.map(n.fromGeometry),r=(0,n.getSpatialReference)(t);return(0,s.zo)(e,(0,n.fromSpatialReference)(r),!1).map(t=>(0,n.toGeometry)(t,r))},isSimple:function(t){return(0,s.Pg)((0,n.fromGeometry)(t),(0,n.fromSpatialReference)((0,n.getSpatialReference)(t)),!1)},supportsCurves:a},Symbol.toStringTag,{value:"Module"}));r.d(e,["s",0,o])},69540(t,e,r){var s=r(5482),n=r(69622),i=(r(44208),r(4718)),a=(r(53966),r(97768)),o=r(88620),h=r(64108);const u=Symbol("ClonableMixin"),l=t=>{var e;const r=t;let n=class extends r{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,o.oY)(this);(0,a.Lw)(e,"unable to clone instance of non-accessor class");const r=e.metadata,s=e.store,n={},h=new Map;for(const e in r){const a=r[e],o=s?.originOf(e),u=a.clonable;if(a.readOnly||!1===u||7!==o&&0!==o&&5!==o&&4!==o)continue;const l=this[e];let c=null;if("function"==typeof u)c=u(l,t);else if("reference"===u)c=l;else if(c=(0,i.TU)(l,t),null!=l&&null==c)continue;0===o?h.set(e,c):n[e]=c}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(h.size){const t=(0,o.oY)(u)?.store;if(t)for(const[e,r]of h)t.set(e,r,0)}return u}};return n=(0,s.Cg)([(0,h.$)("esri.core.Clonable")],n),n},c=l(n.A);r.d(e,["OU",0,l,"Pw",0,c])},17799(t,e,r){r.d(e,{T9:()=>o,d_:()=>n,gT:()=>i});var s=r(86211);function n(t,e){return{type:(0,s.t$)(e),value:t,unit:e}}function i(t,e){return{type:(0,s.t$)(e),value:t,unit:e}}function a(t,e,r="arithmetic"){return{type:(0,s.t$)(e),value:t,unit:e,rotationType:r}}function o(t,e){return null==t?e:null==e||t.value>(0,s.oU)(e.value,e.unit,t.unit)?t:e}n(0,"meters"),i(0,"square-meters"),a(0,"radians"),a(0,"degrees"),a(0,"degrees","geographic")},87992(t,e,r){r.d(e,{JR:()=>R,ME:()=>C,MY:()=>A,NO:()=>M,Nh:()=>w,V2:()=>E,_s:()=>b,e6:()=>I,gh:()=>P,tr:()=>Y,uX:()=>m});var s=r(5482),n=r(16930),i=r(19419),a=r(60408),o=r(21325),h=r(513),u=r(50954),l=r(79567),c=r(52006),f=r(49663),p=r(46068),g=r(92722);class m{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:s,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:c,segmentCountArc:f,segmentCountBezier:p}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=s,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=c,this.segmentCountArc=f,this.segmentCountBezier=p}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?64+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:s,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=E(t,e,r,s,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:s,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(s.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,o.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=Z(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new x(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class x{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=Z(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],s=e[r++],n=e[r++],i=e[r++];return{b:[this.end,[t,s],[n,i]]}}const s=e[r++],n=e[r++],i=e[r++],a=e[r++],o=e[r++],h=e[r++];r++,r++;const u=e[r++],l=e[r++];if(!Boolean(4&s)&&1===i)return{c:[this.end,[u,l]]};const c=2&s?0:1,f=1&s?0:1;return{a:[this.end,[o,h],c,f,a,n,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,s.mS)(r,new S(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:n,vertexZ:a,vertexM:o}=t,h=O(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,s.mS)(r,new S(t,["vertexZ","vertexM"]),!1);const n=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(n,t,r),t=(0,c.yP)(r)}const[a,o,u,f]=n;e={xmin:a,ymin:o,xmax:u,ymax:f,spatialReference:h}}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}else{let t,s,i,a;t=s=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=n[2*e],o=n[2*e+1];t=Math.min(t,r),i=Math.max(i,r),s=Math.min(s,o),a=Math.max(a,o)}e={xmin:t,ymin:s,xmax:i,ymax:a,spatialReference:h}}if(a){let t=1/0,r=-1/0;for(const e of a)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,s.hk)(r)}}function C(t){let e,r,s;if((0,a.fT)(t)){s="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),r=[[h]],e=1}else(0,a.U9)(t)?(s="multipoint",r=[t.points],e=t.points.length):(0,a.Rg)(t)?(s="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(s="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,_(e[0],(0,c.yP)(e.at(-1)))&&--t),t),0));const n=E(s,e,s.includes("point")?0:r.length,(0,a.Pv)(t),(0,a.W0)(t),(0,c.Ed)(t)),{hasZ:i,hasM:o,vertexXY:h,vertexZ:u,vertexM:l}=n;function f(t){h[2*g]=t[0],h[2*g+1]=t[1],i&&(u[g]=t[2]),o&&(l[g]=t[p]),++g}n.spatialReference=t.spatialReference??void 0;const p=n.hasZ?3:2;let g=0;if(!n.isMultipart()){if(!i&&!o){for(const[t,e]of r[0])h[2*g]=t,h[2*g+1]=e,++g;return n}for(const t of r[0])f(t);return n}const m="polygon"===s,{partOffsets:y}=n;let d=0;if(!(0,c.Ed)(t)){for(const t of r){if(y[d++]=g,0===t.length)continue;let e=t.length;if(m&&_(t[0],t.at(-1))&&--e,i||o)for(let r=0;r<e;++r)f(t[r]);else for(let r=0;r<e;++r){const[e,s]=t[r];h[2*g]=e,h[2*g+1]=s,++g}}return y[d]=g,n}function v(t){const e=x+t;if(e<=(n.segmentParams?.length??0))return;let r=e*z;r=20*Math.ceil(r/20);const s=n.segmentParams;n.segmentParams=new Float64Array(r),null!=s&&n.segmentParams.set(s)}let x=0;for(const t of r){if(n.partOffsets[d++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const s=t[e];f(r);const i=g-1;(0,c.wY)(s)?(v(10),++n.segmentCountArc,x=b(r,s,n,i,x),r=s.a[0]):(0,c.DA)(s)?(v(10),++n.segmentCountArc,x=V(r,s,n,i,x),r=s.a[0]):(0,c.aO)(s)?(v(10),++n.segmentCountArc,x=I(r,s,n,i,x),r=s.c[0]):(0,c.n1)(s)?(v(4),++n.segmentCountBezier,x=Y(0,s,n,i,x),r=s.b[0]):r=s}m&&_(e,r)||f(r)}return n.partOffsets[d]=g,n}function P(t){const e=Z(t),{vertexCount:r,partCount:s,hasZ:n,hasM:i}=t,a=O(t);if("point"===t.type){const[e,r]=t.vertexXY,s=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:r,z:s,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let n=0;n<s;++n){const s=t.partOffsets[n+1],i=new Array;for(;o<s;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),r.push(i)}return h?{rings:r,hasZ:n,hasM:i,spatialReference:a}:{paths:r,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function w(t,{lengths:e,coords:r,hasZ:s,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);s??=!1,n??=!1;const u=E(t,h,a,s,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=r[e++],u.vertexXY[2*t+1]=r[e++],s&&(u.vertexZ[t]=r[e++]),n&&(u.vertexM[t]=r[e++]);return u}const l=2+Number(s)+Number(n);let c=0,f=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[f],i=e+t-Number(o);u.partOffsets[++f]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=r[c++],u.vertexXY[2*t+1]=r[c++],s&&(u.vertexZ[t]=r[c++]),n&&(u.vertexM[t]=r[c++]);o&&(c+=l)}return u}function R({type:t,vertexCount:e,vertexXY:r,vertexZ:s,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new g.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let c=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,f=u.coords.length;for(let t=c;t<i;++t)u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t]);if(l){const t=c;u.coords.push(r[2*t],r[2*t+1]),o&&u.coords.push(s[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-f)/u.stride),c=i}return"point"===t&&(u.lengths.length=0),u}function A(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let s=t.getLatestID();(s<=0||s===r)&&(s=void 0);const n=t.getVCS();if(null==n)return{wkid:r,latestWkid:s,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:s,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new m({...t.toFlatGeometry(),spatialReference:e})}class S{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function O({spatialReference:t}){return t instanceof n.A?t.toJSON():t}function Z({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?s=>[t[2*s],t[2*s+1],e[s],r[s]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function _(t,e){return t.every((t,r)=>t===e[r])}function E(t,e,r,s,n,i,a,o){a??=0,o??=0;const h=new m({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;s&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(r+1)*Int32Array.BYTES_PER_ELEMENT,u+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(u);let c=0;return h.vertexXY=new Float64Array(l,c,2*e),c+=h.vertexXY.byteLength,s&&(h.vertexZ=new Float64Array(l,c,e),c+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,c,e),c+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,c,h.segmentParamCount),c+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,c,e),h.segmentIndices.fill(F),c+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,c,r+1),c+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,c,r+1),c+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,r).fill(1)),i&&(h.segmentFlags=new Int8Array(l,c,e),h.segmentFlags.fill(1),c+=h.segmentFlags.byteLength),h}function b(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const[o,[h,u],l,c,f,g,m]=e.a;let y=4;c||(y|=1),l||(y|=2);const d=(0,p.SW)(t,e),[v,x]=(0,p.Uk)(d,.5);return n[a++]=y,n[a++]=g,n[a++]=m,n[a++]=f,n[a++]=h,n[a++]=u,n[a++]=d.u2-d.u1,n[a++]=d.u1,n[a++]=v,n[a++]=x,a}function V(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){r[i]=4,s[i]=a;const o=(0,f.io)(t,e);return G(o,4,...(0,h.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:r,segmentIndices:s,segmentParams:n},i,a){return r[i]=4,s[i]=a,G((0,u.pM)(t,e),0,...e.c[1],n,a)}function G(t,e,r,s,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=r,n[i++]=s,i}function Y(t,{b:[e,[r,s],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=r,h[l++]=s,h[l++]=n,h[l++]=i,l}const z=1.61803,F=-1},48526(t,e,r){r.d(e,{A:()=>y});var s,n=r(5482),i=r(4576),a=r(4718),o=r(91429),h=r(5443),u=r(91075),l=r(86738),c=r(16930),f=r(90634),p=r(47610),g=r(56993),m=r(43937);let y=s=class extends u.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:r,hasZ:s,spatialReference:n}=t;switch(e??=[],e?.at(0)?.length){case 4:s??=!0,r??=!0;break;case 3:s??=!0!==r,r??=!s;break;default:s??=!1,r??=!1}return n??=c.A.WGS84,{...t,hasM:r,hasZ:s,points:e,spatialReference:n}}(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,f.ge)(this);return t?new h.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,a.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:r,hasZ:n}=this;return new s({points:(0,a.o8)(t),spatialReference:e.clone(),hasM:r,hasZ:n})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,r=t.spatialReference;return null!=e==(null!=r)&&!(null!=e&&null!=r&&!e.equals(r))&&(0,i.aI)(this.points,t.points,p.v6)}addPoint(t){return(0,g.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],r={x:e[0],y:e[1],spatialReference:this.spatialReference};let s=2;return this.hasZ&&(r.z=e[2],s=3),this.hasM&&(r.m=e[s]),new l.A(r)}removePoint(t){if(!this._validateInputs(t))return null;const e=new l.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,g.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,n.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,n.Cg)([(0,m.K)("points")],y.prototype,"writePoints",null),y=s=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,r){r.d(e,{A:()=>g});var s,n=r(5482),i=r(4718),a=r(91429),o=r(5443),h=r(91075),u=r(86738),l=r(16930),c=r(90634),f=r(56993),p=r(43937);let g=s=class extends h.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:r,hasZ:s,spatialReference:n}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:s??=!0,r??=!0;break;case 3:s??=!0!==r,r??=!s;break;default:s??=!1,r??=!1}return n??=l.A.WGS84,{...t,hasM:r,hasZ:s,paths:e,spatialReference:n}}(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,c.Z3)(this),{spatialReference:e}=this;return t?new o.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,i.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,r=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const s=[];for(let e=0,r=t.length;e<r;e++)s[e]=t[e].toArray();e[r]=s}else e[r]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new s;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 r=this.paths[t][e],s=this.hasZ,n=this.hasM;return s&&!n?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):n&&!s?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):s&&n?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(t,e,r){return this._validateInputs(t,e,!0)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t].splice(e,0,r),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],r=this.spatialReference,s=e.map(t=>new u.A(t,r));return this.notifyChange("paths"),s}removePoint(t,e){if(!this._validateInputs(t,e))return null;const r=new u.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(t,e,r){return this._validateInputs(t,e)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[t][e]=r,this.notifyChange("paths"),this):this}_validateInputs(t,e,r=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const s=this.paths[t];if(r&&(e<0||e>s.length))return!1;if(!r&&(e<0||e>=s.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,n.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,n.Cg)([(0,a.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],g.prototype,"curvePaths",void 0),(0,n.Cg)([(0,p.K)("curvePaths")],g.prototype,"writeCurvePaths",null),(0,n.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,n.Cg)([(0,a.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],g.prototype,"paths",void 0),(0,n.Cg)([(0,p.K)("paths")],g.prototype,"writePaths",null),g=s=(0,n.Cg)([(0,a.$K)("esri.geometry.Polyline")],g),g.prototype.toJSON.isDefaultToJSON=!0},86742(t,e,r){r.d(e,{Hh:()=>a,fz:()=>h,g7:()=>o,s1:()=>i});var s=r(83290);let n;function i(){return!!n&&(0,s.i)()}async function a(){if(!i()){const[t,e]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(2024),r.e(6558)]).then(r.bind(r,6558)),Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(6061)]).then(r.bind(r,15756)).then(t=>t.aP).then(({injectPe:t})=>t),(0,s.l)()]);n=new t.OperatorGeodeticArea,e(s.p)}}function o(t,e,r){return n.execute(t,e,r,null)}function h(){return n.supportsCurves()}},35223(t,e,r){r.d(e,{Hh:()=>a,fz:()=>h,g7:()=>o,s1:()=>i});var s=r(83290);let n;function i(){return!!n&&(0,s.i)()}async function a(){if(!i()){const[t,e]=await Promise.all([Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(4167)]).then(r.bind(r,28879)),Promise.all([r.e(9187),r.e(8885),r.e(5756),r.e(6061)]).then(r.bind(r,15756)).then(t=>t.aP).then(({injectPe:t})=>t),(0,s.l)()]);n=new t.OperatorGeodeticLength,e(s.p)}}function o(t,e,r){return n.execute(t,e,r,null)}function h(){return n.supportsCurves()}},81150(t,e,r){r.d(e,{Pg:()=>h,fz:()=>u,g7:()=>a,zo:()=>o});var s=r(76061),n=(r(55537),r(88885),r(15756));r(95213);const i=new n.f;function a(t,e,r){return i.execute(t,e,r,null)}function o(t,e,r){const n=i.executeMany(new s.S(t),e,r,null);return Array.from(n)}function h(t,e,r){return i.isSimpleAsFeature(t,e,r,null,null)}function u(){return i.supportsCurves()}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>y,fromGeometry:()=>m,fromMultipoint:()=>d,fromPoint:()=>v,fromPolygon:()=>x,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>P,getSpatialReference:()=>g,toExtent:()=>R,toGeometry:()=>w,toMultipoint:()=>A,toPoint:()=>S,toPolygon:()=>O,toPolyline:()=>Z});var s=r(83661),n=r(55537),i=r(95213),a=r(88885),o=r(5443),h=r(48526),u=r(86738),l=r(39829),c=r(82799),f=(r(90293),r(83299));const p="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function m(t){switch(t.type){case"point":return v(t);case"multipoint":return d(t);case"polyline":return M(t);case"polygon":return x(t);case"extent":return y(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function y(t){if(!t.getCacheValue(p)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(p,e)}return t.getCacheValue(p)}function d(t){if(!t.getCacheValue(p)){const e=new a.M,r=new i.P,s=t.points,n=t.hasM,o=t.hasZ,h=o?3:2;for(let t=0,i=s.length;t<i;t++){const i=s[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),n&&r.setM(i[h]??NaN),e.add(r)}t.setCacheValue(p,e)}return t.getCacheValue(p)}function v(t){if(!t.getCacheValue(p)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(p,e)}return t.getCacheValue(p)}function x(t){if(!t.getCacheValue(p)){const{curveRings:e,hasM:r,hasZ:s,rings:n}=t,i=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:s,rings:n});t.setCacheValue(p,i)}return t.getCacheValue(p)}function M(t){if(!t.getCacheValue(p)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(p,i)}return t.getCacheValue(p)}function C(t){if(!t.getCacheValue(p)){const{curvePaths:e,hasM:r,hasZ:s,paths:n}=t,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:s,paths:n});t.setCacheValue(p,i)}return t.getCacheValue(p)}function P(t){return t.cache?(t.cache[p]??=(0,f.fromSpatialReference)(t),t.cache[p]):(0,f.fromSpatialReference)(t)}function w(t,e){if(t)switch(t.getGeometryType()){case n.G.enumPoint:return S(t,e);case n.G.enumEnvelope:return R(t,e);case n.G.enumMultiPoint:return A(t,e);case n.G.enumPolyline:return Z(t,e);case n.G.enumPolygon:return O(t,e)}return null}function R(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),s=t.getDescription();if(s.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(s.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(p,t),r}function A(t,e){if(t.isEmpty())return null;const r=t.getDescription(),s=r.hasM(),n=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];n&&r.push(o.getZ()),s&&r.push(o.getM()),a.push(r)}const u=new h.A({hasM:s,hasZ:n,points:a,spatialReference:e});return u.setCacheValue(p,t),u}function S(t,e){if(t instanceof s.P)return new u.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new u.A({x:t.getX(),y:t.getY(),spatialReference:e}),n=t.getDescription();return n.hasM()&&(r.m=t.getM()),n.hasZ()&&(r.z=t.getZ()),r.setCacheValue(p,t),r}function O(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(p,t),r}function Z(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(p,t),r}},5808(t,e,r){r.d(e,["O",0,{geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}])},92722(t,e,r){r.d(e,{A:()=>n});var s=r(69397);class n{constructor(t=[],e=[],r=!1,s=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=s}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:s}){return new n(t,e,r||!1,s||!1)}static fromRect([t,e,r,s]){const i=r-t,a=s-e;return new n([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,s.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:s}=this;let n=this.coords[s*e],i=this.coords[s*e+1];for(let a=1;a<r;a+=1){const r=s*(e+a),o=this.coords[r],h=this.coords[r+1];t+=-.5*(o-n)*(h+i),n=o,i=h}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const s of this.lengths){for(let n=0;n<s;n++){const s=r*(e+n);t(this.coords[s],this.coords[s+1])}e+=s}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let s=0;const{stride:n}=this;for(const t of r){for(let r=1;r<t;r++){const t=n*(s+r);e[t]+=e[t-n],e[t+1]+=e[t+1-n]}s+=t}return t}clone(t){if(this.isPoint)return new n([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:s}=this,i=this.coords.slice(0,s*r);return t?(t.set(i),new n(e,t,this.hasZ,this.hasM)):new n(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,s=0;e<r.length;e+=t)r[s++]=this.coords[e],r[s++]=this.coords[e+1];return new n(this.lengths,r,!1,!1)}}},32728(t,e,r){r.d(e,{YH:()=>a,nu:()=>o,wp:()=>i}),r(34727);var s=r(35522),n=r(51850);function i(t,e){const r=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),n=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,s.hZ)(t,r,n,i),t}function a(t,e,r){r=r||t;const n=(0,s.Om)(t,e);(0,s.hZ)(r,t[0]-n*e[0],t[1]-n*e[1],t[2]-n*e[2]),(0,s.S8)(r,r)}function o(t,e,r,i=(0,n.vt)()){const a=(0,s.Bw)(t),o=(0,s.Bw)(e),l=(0,s.Om)(t,e)/(a*o);if(l<.9999999999999999){const n=Math.acos(l),c=((1-r)*a+r*o)/Math.sin(n),f=c/a*Math.sin((1-r)*n),p=c/o*Math.sin(r*n);return(0,s.hs)(h,t,f),(0,s.hs)(u,e,p),(0,s.WQ)(i,h,u)}return(0,s.Cc)(i,t,e,r)}(0,n.vt)(),(0,n.vt)(),(0,n.vt)();const h=(0,n.vt)(),u=(0,n.vt)()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6860],{50867(e,t,s){s.d(t,{a:()=>i,b:()=>h,l:()=>c,n:()=>u,t:()=>f}),s(44208);var r=s(72727);function i(e,t,s){f(e.typedBuffer,t.typedBuffer,s,e.typedBufferStride,t.typedBufferStride)}function f(e,t,s,i=4,f=i){const u=(0,r.k)(e.length,i,4),n=(0,r.k)(t.length,f,4),c=Math.min(u,n),h=s[0],y=s[1],l=s[2],p=s[3],d=s[4],o=s[5],a=s[6],B=s[7],E=s[8];let T=0,m=0;for(let s=0;s<c;s++){const s=t[T],r=t[T+1],u=t[T+2],n=t[T+3];e[m]=h*s+p*r+a*u,e[m+1]=y*s+d*r+B*u,e[m+2]=l*s+o*r+E*u,e[m+3]=n,T+=f,m+=i}}function u(e,t){const s=Math.min(e.count,t.count),r=e.typedBuffer,i=e.typedBufferStride,f=t.typedBuffer,u=t.typedBufferStride;for(let e=0;e<s;e++){const t=e*i,s=e*u,n=f[s],c=f[s+1],h=f[s+2],y=n*n+c*c+h*h;if(y>0){const e=1/Math.sqrt(y);r[t]=e*n,r[t+1]=e*c,r[t+2]=e*h}}}function n(e,t,s,r=4){const i=Math.min(e.length/r,t.count),f=t.typedBuffer,u=t.typedBufferStride;let n=0,c=0;for(let t=0;t<i;t++)e[c]=s*f[n],e[c+1]=s*f[n+1],e[c+2]=s*f[n+2],e[c+3]=s*f[n+3],n+=u,c+=r}function c(e,t,s,r){h(e.typedBuffer,t,s,r,e.typedBufferStride)}function h(e,t,s,r,i=4){const f=Math.min(e.length/i,t.count),u=t.typedBuffer,n=t.typedBufferStride;let c=0,h=0;const y=1/2.2;for(let t=0;t<f;t++)e[h]=r*(s*u[c])**y,e[h+1]=r*(s*u[c+1])**y,e[h+2]=r*(s*u[c+2])**y,e[h+3]=r*s*u[c+3],c+=n,h+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:h,linearToSRGBView:c,normalize:u,scale:n,scaleView:function(e,t,s){n(e.typedBuffer,t,s,e.typedBufferStride)},transformMat3:f,transformMat3View:i,transformMat4:function(e,t,s,i=4,f=i){const u=(0,r.k)(e.length,i,4),n=(0,r.k)(t.length,f,4),c=Math.min(u,n),h=s[0],y=s[1],l=s[2],p=s[3],d=s[4],o=s[5],a=s[6],B=s[7],E=s[8],T=s[9],m=s[10],S=s[11],A=s[12],g=s[13],M=s[14],_=s[15];let b=0,x=0;for(let s=0;s<c;s++){const s=t[b],r=t[b+1],u=t[b+2],n=t[b+3];e[x]=h*s+d*r+E*u+A*n,e[x+1]=y*s+o*r+T*u+g*n,e[x+2]=l*s+a*r+m*u+M*n,e[x+3]=p*s+B*r+S*u+_*n,b+=f,x+=i}},transformMat4View:function(e,t,s){const i=e.typedBuffer,f=e.typedBufferStride,u=t.typedBuffer,n=t.typedBufferStride,c=(0,r.k)(i.length,f,4),h=(0,r.k)(u.length,n,4),y=Math.min(c,h),l=s[0],p=s[1],d=s[2],o=s[3],a=s[4],B=s[5],E=s[6],T=s[7],m=s[8],S=s[9],A=s[10],g=s[11],M=s[12],_=s[13],b=s[14],x=s[15];for(let e=0;e<y;e++){const t=e*f,s=e*n,r=u[s],c=u[s+1],h=u[s+2],y=u[s+3];i[t]=l*r+a*c+m*h+M*y,i[t+1]=p*r+B*c+S*h+_*y,i[t+2]=d*r+E*c+A*h+b*y,i[t+3]=o*r+T*c+g*h+x*y}}},Symbol.toStringTag,{value:"Module"}))},13030(e,t,s){s.d(t,{Y$:()=>T,XW:()=>E,qB:()=>w,Qt:()=>H,My:()=>K,bf:()=>$,jZ:()=>b,j0:()=>x,Sx:()=>L,E$:()=>C,Qy:()=>fe,h:()=>I,P:()=>k,SL:()=>V,dy:()=>re,ES:()=>ue,gH:()=>S,ZD:()=>m,si:()=>R,mJ:()=>Q,UL:()=>ee,D6:()=>z,Yi:()=>U,An:()=>q,LC:()=>N,xs:()=>g,EC:()=>A,Xm:()=>Y,Vp:()=>J,zD:()=>te,m8:()=>D,nS:()=>O,H$:()=>Z,eI:()=>F,td:()=>ie,Eq:()=>_,jz:()=>M,Aj:()=>P,E7:()=>W,Y4:()=>se,TX:()=>G,Uz:()=>X,ml:()=>j,XP:()=>v});var r=s(34727),i=s(37585),f=s(48163),u=s(78955),n=s(91829),c=s(20498);class h{static{this.ElementCount=9}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=9;const f=this.TypedArrayConstructor;void 0===r&&(r=9*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<9;e++)t[e]=this.typedBuffer[s++];return t}setMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<9;e++)this.typedBuffer[s++]=t[e]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;for(let e=0;e<9;++e)r[f++]=i[u++]}get buffer(){return this.typedBuffer.buffer}}class y{static{this.ElementCount=16}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=16;const f=this.TypedArrayConstructor;void 0===r&&(r=16*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<16;e++)t[e]=this.typedBuffer[s++];return t}setMat(e,t){let s=e*this.typedBufferStride;for(let e=0;e<16;e++)this.typedBuffer[s++]=t[e]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}copyFrom(e,t,s){this.copyFromTypedBuffer(e,t.typedBuffer,s*t.typedBufferStride)}copyFromTypedBuffer(e,t,s){const r=this.typedBuffer;let i=e*this.typedBufferStride;for(let e=0;e<16;++e)r[i++]=t[s++]}get buffer(){return this.typedBuffer.buffer}}class l{static{this.ElementCount=1}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=1;const f=this.TypedArrayConstructor;void 0===r&&(r=f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.stride=r,this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}get(e){return this.typedBuffer[e*this.typedBufferStride]}set(e,t){this.typedBuffer[e*this.typedBufferStride]=t}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=2}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.start=s,this.elementCount=2;const f=this.TypedArrayConstructor;void 0===r&&(r=2*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,i.hZ)(t,this.typedBuffer[e],this.typedBuffer[e+1])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e]=t[1]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e]=s}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;r[f++]=i[u++],r[f]=i[u]}get buffer(){return this.typedBuffer.buffer}}var d=s(35522);class o{static{this.ElementCount=3}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.elementCount=3;const f=this.TypedArrayConstructor;void 0===r&&(r=3*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,d.hZ)(t,this.typedBuffer[e],this.typedBuffer[e+1],this.typedBuffer[e+2])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e++]=t[1],this.typedBuffer[e]=t[2]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s,r){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e++]=s,this.typedBuffer[e]=r}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;r[f++]=i[u++],r[f++]=i[u++],r[f]=i[u]}get buffer(){return this.typedBuffer.buffer}}class a{static{this.ElementCount=4}constructor(e,t,s=0,r,i){this.TypedArrayConstructor=e,this.start=s,this.elementCount=4;const f=this.TypedArrayConstructor;void 0===r&&(r=4*f.BYTES_PER_ELEMENT);const u=0===t.byteLength?0:s;this.typedBuffer=null==i?new f(t,u):new f(t,u,(i-s)/f.BYTES_PER_ELEMENT),this.typedBufferStride=r/f.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(e,t,s=this.count-t){const r=this.typedBuffer.byteOffset+t*this.stride;return new e(this.buffer,r,this.stride,r+s*this.stride)}getVec(e,t){return e*=this.typedBufferStride,(0,u.hZ)(t,this.typedBuffer[e++],this.typedBuffer[e++],this.typedBuffer[e++],this.typedBuffer[e])}setVec(e,t){e*=this.typedBufferStride,this.typedBuffer[e++]=t[0],this.typedBuffer[e++]=t[1],this.typedBuffer[e++]=t[2],this.typedBuffer[e]=t[3]}get(e,t){return this.typedBuffer[e*this.typedBufferStride+t]}set(e,t,s){this.typedBuffer[e*this.typedBufferStride+t]=s}setValues(e,t,s,r,i){e*=this.typedBufferStride,this.typedBuffer[e++]=t,this.typedBuffer[e++]=s,this.typedBuffer[e++]=r,this.typedBuffer[e]=i}copyFrom(e,t,s){const r=this.typedBuffer,i=t.typedBuffer;let f=e*this.typedBufferStride,u=s*t.typedBufferStride;r[f++]=i[u++],r[f++]=i[u++],r[f++]=i[u++],r[f]=i[u]}get buffer(){return this.typedBuffer.buffer}}var B=s(620);class E extends l{constructor(e,t=0,s,r){(0,B.vA)(c.SX),super((0,c.pX)(),e,t,s,r),this.elementType="f16"}static{this.ElementType="f16"}}class T extends l{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}static{this.ElementType="f32"}}class m extends p{constructor(e,t=0,s,r){(0,B.vA)(c.SX),super((0,c.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(m,e,t)}static{this.ElementType="f16"}}class S extends p{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(S,e,t)}static{this.ElementType="f32"}}class A extends o{constructor(e,t=0,s,r){(0,B.vA)(c.SX),super((0,c.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(A,e,t)}static{this.ElementType="f16"}}class g extends o{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(g,e,t)}static fromTypedArray(e,t){return new g(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="f32"}}class M extends a{constructor(e,t=0,s,r){(0,B.vA)(c.SX),super((0,c.pX)(),e,t,s,r),this.elementType="f16"}slice(e,t){return this.sliceBuffer(M,e,t)}static{this.ElementType="f16"}}class _ extends a{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(_,e,t)}static{this.ElementType="f32"}}class b extends h{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(b,e,t)}static{this.ElementType="f32"}}class x extends h{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(x,e,t)}static{this.ElementType="f64"}}class L extends y{constructor(e,t=0,s,r){super(Float32Array,e,t,s,r),this.elementType="f32"}slice(e,t){return this.sliceBuffer(L,e,t)}static{this.ElementType="f32"}}class C extends y{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(C,e,t)}static{this.ElementType="f64"}}class w extends l{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(w,e,t)}static{this.ElementType="f64"}}class R extends p{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(R,e,t)}static{this.ElementType="f64"}}class Y extends o{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(Y,e,t)}static fromTypedArray(e,t){return new Y(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="f64"}}class P extends a{constructor(e,t=0,s,r){super(Float64Array,e,t,s,r),this.elementType="f64"}slice(e,t){return this.sliceBuffer(P,e,t)}static{this.ElementType="f64"}}class V extends l{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(V,e,t)}static{this.ElementType="u8"}}class N extends p{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(N,e,t)}static{this.ElementType="u8"}}class F extends o{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(F,e,t)}static fromTypedArray(e,t){return new F(e.buffer,e.byteOffset,t,e.byteOffset+e.byteLength)}static{this.ElementType="u8"}}class v extends a{constructor(e,t=0,s,r){super(Uint8Array,e,t,s,r),this.elementType="u8"}slice(e,t){return this.sliceBuffer(v,e,t)}static{this.ElementType="u8"}}class I extends l{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(I,e,t)}static{this.ElementType="u16"}}class U extends p{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(U,e,t)}static{this.ElementType="u16"}}class O extends o{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(O,e,t)}static{this.ElementType="u16"}}class X extends a{constructor(e,t=0,s,r){super(Uint16Array,e,t,s,r),this.elementType="u16"}slice(e,t){return this.sliceBuffer(X,e,t)}static{this.ElementType="u16"}}class k extends l{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(k,e,t)}static{this.ElementType="u32"}}class q extends p{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(q,e,t)}static{this.ElementType="u32"}}class Z extends o{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(Z,e,t)}static{this.ElementType="u32"}}class j extends a{constructor(e,t=0,s,r){super(Uint32Array,e,t,s,r),this.elementType="u32"}slice(e,t){return this.sliceBuffer(j,e,t)}static{this.ElementType="u32"}}class $ extends l{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer($,e,t)}static{this.ElementType="i8"}}class z extends p{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(z,e,t)}static{this.ElementType="i8"}}class D extends o{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(D,e,t)}static{this.ElementType="i8"}}class G extends a{constructor(e,t=0,s,r){super(Int8Array,e,t,s,r),this.elementType="i8"}slice(e,t){return this.sliceBuffer(G,e,t)}static{this.ElementType="i8"}}class H extends l{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(H,e,t)}static{this.ElementType="i16"}}class Q extends p{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(Q,e,t)}static{this.ElementType="i16"}}class J extends o{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(J,e,t)}static{this.ElementType="i16"}}class W extends a{constructor(e,t=0,s,r){super(Int16Array,e,t,s,r),this.elementType="i16"}slice(e,t){return this.sliceBuffer(W,e,t)}static{this.ElementType="i16"}}class K extends l{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(K,e,t)}static{this.ElementType="i32"}}class ee extends p{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(ee,e,t)}static{this.ElementType="i32"}}class te extends o{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(te,e,t)}static{this.ElementType="i32"}}class se extends a{constructor(e,t=0,s,r){super(Int32Array,e,t,s,r),this.elementType="i32"}slice(e,t){return this.sliceBuffer(se,e,t)}static{this.ElementType="i32"}}class re extends V{constructor(e,t=0,s,r){super(e,t,s,r)}get(e){return this.typedBuffer[e*this.typedBufferStride]/255}set(e,t){this.typedBuffer[e*this.typedBufferStride]=Math.round(255*(0,r.qE)(t,0,1))}slice(e,t){return this.sliceBuffer(re,e,t)}}class ie extends v{constructor(e,t=0,s,r){super(e,t,s,r)}getVec(e,t){return(0,u.hs)(t,super.getVec(e,t),1/255)}setVec(e,t){(0,u.jk)(ce,(0,u.T9)(ce,t,n.uY),n.Un),(0,u.hs)(ce,ce,255),(0,u.LI)(ce,ce),super.setVec(e,ce)}get(e,t){return super.get(e,t)/255}set(e,t,s){super.set(e,t,Math.round(255*(0,r.qE)(s,0,1)))}setValues(e,t,s,r,i){(0,u.hZ)(ce,t,s,r,i),this.setVec(e,ce)}slice(e,t){return this.sliceBuffer(ie,e,t)}}class fe extends H{constructor(e,t=0,s,r){super(e,t,s,r)}get(e){return Math.max(super.get(e)/32767,-1)}set(e,t){super.set(e,Math.round(32767*(0,r.qE)(t,-1,1)))}slice(e,t){return this.sliceBuffer(fe,e,t)}}class ue extends Q{constructor(e,t=0,s,r){super(e,t,s,r)}getVec(e,t){return(0,i.hZ)(ne,-1,-1),(0,i.T9)(t,(0,i.hs)(t,super.getVec(e,t),1/32767),ne)}setVec(e,t){(0,i.qE)(ne,t,f.IA,f.Un),(0,i.hs)(ne,ne,32767),(0,i.LI)(ne,ne),super.setVec(e,ne)}get(e,t){return Math.max(super.get(e,t)/32767,-1)}set(e,t,s){super.set(e,t,Math.round(32767*(0,r.qE)(s,-1,1)))}setValues(e,t,s){(0,i.hZ)(ne,t,s),this.setVec(e,ne)}slice(e,t){return this.sliceBuffer(ue,e,t)}}const ne=(0,f.vt)(),ce=(0,n.vt)()},20498(e,t,s){s.d(t,{SX:()=>f,pX:()=>i});let r=globalThis.Float16Array;function i(){return r}let f=!!r},620(e,t,s){s.d(t,{O_:()=>f,vA:()=>i}),s(48163),s(78955),(0,s(91829).vt)();class r{constructor(e){this.message=e}toString(){return`AssertException: ${this.message}`}}function i(e,t="Assertion"){if(!e){const e=new Error(t).stack;throw new r(`${t} at ${e}`)}}function f(e,t,s,r){let i,f=(s[0]-e[0])/t[0],u=(r[0]-e[0])/t[0];f>u&&(i=f,f=u,u=i);let n=(s[1]-e[1])/t[1],c=(r[1]-e[1])/t[1];if(n>c&&(i=n,n=c,c=i),f>c||n>u)return!1;n>f&&(f=n),c<u&&(u=c);let h=(s[2]-e[2])/t[2],y=(r[2]-e[2])/t[2];return h>y&&(i=h,h=y,y=i),!(f>y||h>u||(y<u&&(u=y),u<0))}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6977],{69622(t,e,r){r.d(e,{A:()=>I});var n=r(51447),s=r(71511),i=r(53966),o=r(97768),a=r(56454),c=r(16649),l=r(85537),u=r(96156),h=(r(44208),r(4718)),f=r(93687),d=r(11406),p=r(62788),y=r(47328),g=r(67867);class _ extends d.T{constructor(t,e){super(),this.propertyName=t,this.metadata=e,this.trackingTarget=new g.R(this),this.flags=0,this.flags=y.i.Dirty|(e.nonNullable?y.i.NonNullable:0)|(e.hasOwnProperty("value")?y.i.HasDefaultValue:0)|(void 0===e.get?y.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?y.i.AutoTracked:0)}destroy(){this.flags&y.i.Dirty&&this.onCommitted(),super.destroy(),this.trackingTarget.destroy()}getComputed(t,e){t.mutable&&(0,p.gc)(this);const r=t.store,n=this.propertyName,s=this.flags,i=r.get(n);if(s&y.i.Computing)return i;if(!(s&y.i.Dirty)&&r.has(n))return i;let o;this.flags|=y.i.Computing;const{host:a}=t;s&y.i.AutoTracked?o=(0,p.a)(this.trackingTarget,e,a):((0,p.Xr)(a,this),o=e.call(a)),this.flags|=y.i.DepTrackingInitialized,r.set(n,o,1);const c=r.get(n);return c===i?this.flags&=~y.i.Dirty:(0,p.F_)(this.commit,this),this.flags&=~y.i.Computing,c}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~y.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&y.i.Overridden&&(this.flags|=y.i.Dirty);const t=this._observers;if(t&&t.length>0)for(const e of t)e.onInvalidated()}onCommitted(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onCommitted()}}}var v=r(35666);class m{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new m;return this._values.forEach((r,n)=>{t&&t.has(n)||e.set(n,(0,h.o8)(r))}),e}get(t){return this._values.get(t)}originOf(){return 7}keys(){return[...this._values.keys()]}set(t,e){this._values.set(t,e)}delete(t){this._values.delete(t)}has(t){return this._values.has(t)}isAtOrigin(t,e){return this.has(t)}isBelowOrigin(t,e){return!this.has(t)}forEach(t){this._values.forEach(t)}}function w(t,e,r){return void 0!==t}function b(t,e,r,n){return!(void 0===t||null==r&&t.flags&y.i.NonNullable&&(n.lifecycle,l.v.INITIALIZING,1))}class A{constructor(t){this.host=t,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=l.v.INITIALIZING,this.store=new m,this.mutable=!0,this._origin=7;const e=this.host.constructor.__accessorMetadata__;for(const t in e){const r=new _(t,e[t]);this.propertiesByName.set(t,r)}this.metadata=e}initialize(){this.lifecycle=l.v.CONSTRUCTING}constructed(){this.lifecycle=l.v.CONSTRUCTED}destroy(){this.lifecycle=l.v.DESTROYED,this.propertiesByName.forEach(t=>t.destroy())}get initialized(){return this.lifecycle!==l.v.INITIALIZING}get(t){const e=this.propertiesByName.get(t);if(!w(e))return;const r=e.metadata.get;if(r)return e.getComputed(this,r);this.mutable&&(0,p.gc)(e);const n=this.store;return n.has(t)?n.get(t):e.metadata.value}originOf(t){const e=this.store.originOf(t);if(void 0===e){const e=this.propertiesByName.get(t);if(void 0!==e&&e.flags&y.i.HasDefaultValue)return"defaults"}return(0,v.OL)(e)}has(t){return this.propertiesByName.has(t)&&this.store.has(t)}keys(){return[...this.propertiesByName.keys()]}internalGet(t){const e=this.propertiesByName.get(t);if(w(e))return this.store.has(t)?this.store.get(t):e.metadata.value}internalSet(t,e){const r=this.propertiesByName.get(t);w(r)&&this._internalSet(r,e)}getDependsInfo(t,e,r){const n=this.propertiesByName.get(e);if(!w(n))return"";const s=new g.R,i=(0,p.a)(s,()=>n.metadata.get?.call(t));let o=`${r}${t.declaredClass.split(".").pop()}.${e}: ${i}\n`;const a=s.accessed??new Set;if(0===a.size)return o;r+=" ";for(const t of a)t instanceof _&&(o+=`${r}${t.propertyName}: undefined\n`);return o}setAtOrigin(t,e,r){const n=this.propertiesByName.get(t);if(w(n))return this._setAtOrigin(n,e,r)}isOverridden(t){const e=this.propertiesByName.get(t);return void 0!==e&&!!(e.flags&y.i.Overridden)}clearOrigin(t,e){const r=this.store,n=this.propertiesByName.get(t);if(!w(n))return;const s=r.isAtOrigin(t,e)&&!(n.flags&y.i.Overridden);r.delete(t,e),s&&n.notifyChange()}clearOverride(t){const e=this.propertiesByName.get(t);e&&e.flags&y.i.Overridden&&(e.flags&=~y.i.Overridden,e.notifyChange())}override(t,e){const r=this.propertiesByName.get(t);if(!b(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(N.release(t),!r)return;e=s}r.flags|=y.i.Overridden,this._internalSet(r,e)}set(t,e){const r=this.propertiesByName.get(t);if(!b(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(N.release(t),!r)return;e=s}const s=r.metadata.set;s?s.call(this.host,e):this._internalSet(r,e)}setDefaultOrigin(t){this._origin=(0,v.aB)(t)}getDefaultOrigin(){return(0,v.OL)(this._origin)}notifyChange(t){this.propertiesByName.get(t)?.notifyChange()}invalidate(t){this.propertiesByName.get(t)?.invalidate()}commit(t){this.propertiesByName.get(t)?.commit()}_internalSet(t,e){const r=this.lifecycle!==l.v.INITIALIZING?this._origin:0;this._setAtOrigin(t,e,r)}_setAtOrigin(t,e,r){const n=this.store,s=t.propertyName,i=n.isAtOrigin(s,r);if(i&&~t.flags&y.i.Overridden&&(0,h.aI)(e,n.get(s)))return;const o=n.isBelowOrigin(s,r)||i;o&&t.invalidate(),n.set(s,e,r),o&&t.commit(),(0,p.fE)(this.host,t)}_cast(t,e){const r=N.acquire();return r.valid=!0,r.value=e,t&&(r.value=t.call(this.host,e,r)),r}}class O{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const N=new f.A(()=>new O);var k=r(47821);var S,j,T=r(14012),C=r(10107),D=r(64108);function E(t){if(null==t)return{value:t};if(Array.isArray(t))return{type:[t[0]],value:null};switch(typeof t){case"object":return t.constructor?.__accessorMetadata__||t instanceof Date?{type:t.constructor,value:t}:t;case"boolean":return{type:Boolean,value:t};case"string":return{type:String,value:t};case"number":return{type:Number,value:t};case"function":return{type:t,value:null};default:return}}const $=Symbol("Accessor-Handles"),M=Symbol("Accessor-Initialized");class I{static{S=$,j=M}static createSubclass(t={}){if(Array.isArray(t))throw new Error("Multi-inheritance unsupported since 4.16");const{properties:e,declaredClass:r,constructor:n}=t;delete t.declaredClass,delete t.properties,delete t.constructor;const s=this;class i extends s{constructor(...t){super(...t),this.inherited=null,n&&n.apply(this,t)}}(0,u.tD)(i.prototype);for(const e in t){const r=t[e];i.prototype[e]="function"==typeof r?function(...t){const n=this.inherited;let i;this.inherited=function(...t){if(s.prototype[e])return s.prototype[e].apply(this,t)};try{i=r.apply(this,t)}catch(t){throw this.inherited=n,t}return this.inherited=n,i}:t[e]}for(const t in e){const r=E(e[t]);(0,C.MZ)(r)(i.prototype,t)}return(0,D.$)(r)(i)}static freeze(t){return t instanceof I?t.__accessor__.mutable=!1:Object.freeze(t),t}static isFrozen(t){return t instanceof I?!t.__accessor__.mutable:Object.isFrozen(t)}constructor(...t){if(this[S]=null,this[j]=!1,this.constructor===I)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");const e=new A(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:e}),t.length>0&&(e.ctorArgs=this.normalizeCtorArgs?.apply(this,t)??t[0])}postscript(){const t=this.__accessor__,e=t.ctorArgs;t.initialize(),e&&(this.set(e),t.ctorArgs=null),t.constructed(),this.initialize(),this[M]=!0}initialize(){}[a.G](){this[$]=(0,o.pR)(this[$])}destroy(){this.destroyed||((0,T.iS)(this),this.__accessor__.destroy())}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[M]}get destroyed(){return this.__accessor__?.lifecycle===l.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===l.v.DESTROYING||!1}commitProperty(t){(0,c.Jt)(this,t)}hasOwnProperty(t){return this.__accessor__?this.__accessor__.has(t):Object.prototype.hasOwnProperty.call(this,t)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(t,e){return(0,k.h)(this,t,e),this}watch(t,e,r){return(0,n.eO)(i.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,T.wB)(this,t,e,r)}addHandles(t,e){if(this.destroyed){const e=Array.isArray(t)?t:[t];for(const t of e)t.remove();return}(this[$]??=new s.A).add(t,e)}removeHandles(t){this[$]?.remove(t)}removeAllHandles(){this[$]?.removeAll()}removeHandlesReference(t){this[$]?.removeReference(t)}hasHandles(t){return!0===this[$]?.has(t)}_override(t,e){void 0===e?this.__accessor__.clearOverride(t):this.__accessor__.override(t,e)}_clearOverride(t){return this.__accessor__.clearOverride(t)}_overrideIfSome(t,e){null==e?this.__accessor__.clearOverride(t):this.__accessor__.override(t,e)}_isOverridden(t){return this.__accessor__.isOverridden(t)}notifyChange(t){this.__accessor__.notifyChange(t)}_get(t){return this.__accessor__.internalGet(t)}_set(t,e){return this.__accessor__.internalSet(t,e),this}}},98291(t,e,r){r.d(e,{A:()=>i});var n=r(93687);function s(t){t.length=0}class i{constructor(t=50,e=50){this._pool=new n.A(()=>[],void 0,s,e,t)}acquire(){return this._pool.acquire()}release(t){this._pool.release(t)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(t){return o.release(t)}static prune(){o.prune()}}const o=new i(100)},71511(t,e,r){r.d(e,{A:()=>s});var n=r(5479);class s{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let t=0;return this._groups.forEach(e=>{t+=e.length}),t}add(t,e){if((0,n.xZ)(t)){const r=this._getOrCreateGroup(e);for(const e of t)a(e)&&r.push(e)}else a(t)&&this._getOrCreateGroup(e).push(t);return this}forEach(t,e){if("function"==typeof t)this._groups.forEach(e=>e.forEach(t));else{const r=this._getGroup(t);r&&e&&r.forEach(e)}}has(t){return this._groups.has(i(t))}remove(t){if("string"!=typeof t&&(0,n.xZ)(t)){for(const e of t)this.remove(e);return this}return this.has(t)?(o(this._getGroup(t)),this._groups.delete(i(t)),this):this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(t){return this._groups.delete(t),this}_getOrCreateGroup(t){if(this.has(t))return this._getGroup(t);const e=[];return this._groups.set(i(t),e),e}_getGroup(t){return this._groups.get(i(t))}}function i(t){return t||"_default_"}function o(t){for(const e of t)e instanceof s?e.removeAll():e.remove()}function a(t){return null!=t&&(!!t.remove||t instanceof s)}},25482(t,e,r){r.d(e,{o:()=>y,T:()=>d});var n=r(5482),s=r(69622),i=r(4718);class o{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new o;return this._values.forEach((r,n)=>{t&&t.has(n)||e.set(n,(0,i.o8)(r.value),r.origin)}),e}get(t,e){e=this._normalizeOrigin(e);const r=this._values.get(t);return null==e||r?.origin===e?r?.value:void 0}originOf(t){return this._values.get(t)?.origin??7}keys(t){t=this._normalizeOrigin(t);const e=[...this._values.keys()];return null==t?e:e.filter(e=>this._values.get(e)?.origin===t)}set(t,e,r){if(0===(r=this._normalizeOrigin(r))){const e=this._values.get(t);if(null!=e?.origin&&e.origin>r)return}this._values.set(t,new a(e,r))}delete(t,e){null!=(e=this._normalizeOrigin(e))&&this._values.get(t)?.origin!==e||this._values.delete(t)}has(t,e){return null!=(e=this._normalizeOrigin(e))?this._values.get(t)?.origin===e:this._values.has(t)}isAtOrigin(t,e){return e=this._normalizeOrigin(e),this.has(t,e)&&this.originOf(t)===e}isBelowOrigin(t,e){return e=this._normalizeOrigin(e),!this.has(t)||this.originOf(t)<e}forEach(t){this._values.forEach(({value:e},r)=>t(e,r))}_normalizeOrigin(t){if(null!=t)return 0===t?t:7}}class a{constructor(t,e){this.value=t,this.origin=e}}var c=r(76953),l=r(45917),u=r(88620),h=r(49422),f=r(64108);const d=t=>{const e=t;let r=class extends e{constructor(...t){super(...t);const e=(0,u.oY)(this),r=e.store,n=new o;e.store=n,(0,c.k)(e,r,n)}read(t,e){(0,l.L)(this,t,e)}write(t,e){return(0,h.M)(this,t??{},e)}toJSON(t){return this.write({},t)}static fromJSON(t,e){return p.call(this,t,e)}};return r=(0,n.Cg)([(0,f.$)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(t,e){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const r=new this;return r.read(t,e),r}const y=d(s.A)},93687(t,e,r){r.d(e,{A:()=>n});class n{constructor(t,e,r,n=1,s=0){this._creator=t,this._acquireFunction=e,this._releaseFunction=r,this.allocationSize=n,this._pool=new Array(s),this._initialSize=s;for(let t=0;t<s;t++)this._pool[t]=this._creator();this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=this._creator()}const e=this._pool.pop();return this._acquireFunction?this._acquireFunction(e,...t):function(t){return t?.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&(this._releaseFunction?this._releaseFunction(t):(e=t,e?.release&&"function"==typeof e.release&&t.release()),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){const t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}}},15142(t,e,r){r.d(e,{A:()=>l});var n=r(4576),s=r(21818);const i=(t,e,r,n)=>{let s=e,i=e;const o=r>>>1,a=t[s-1];for(;i<=o;){i=s<<1,i<r&&n(t[i-1],t[i])<0&&++i;const e=t[i-1];if(n(e,a)<=0)break;t[s-1]=e,s=i}t[s-1]=a},o=(t,e)=>t<e?-1:t>e?1:0;function a(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=o);for(let s=r>>>1;s>e;s--)i(t,s,r,n);const s=e+1;for(let o=r-1;o>e;o--){const r=t[e];t[e]=t[o],t[o]=r,i(t,s,o,n)}}function*c(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=o);for(let s=r>>>1;s>e;s--)i(t,s,r,n),yield;const s=e+1;for(let o=r-1;o>e;o--){const r=t[e];t[e]=t[o],t[o]=r,i(t,s,o,n),yield}}class l{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new n.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>u(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let r=0;r<this._length;r++){const n=this.data[r];t(n)&&e.push(n)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const r=this.data.indexOf(t,e);return-1!==r&&r<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let r=0;r<e;r++)this.data[this._length++]=t[r]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let r=0;r<e;r++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,u(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,n.qh)(this.data,(0,s.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,n.qh)(this.data,(0,s.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,r){this.length=(0,n.mW)(this.data,t,this.length,e,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const r=this.data[t];this.data[t]=this.data[e],this.data[e]=r}sort(t){a(this.data,0,this.length,t)}iterableSort(t){return c(this.data,0,this.length,t)}some(t,e){for(let r=0;r<this.length;++r)if(t.call(e,this.data[r],r,this.data))return!0;return!1}find(t,e){const{data:r,length:n}=this;for(let s=0;s<n;++s)if(t.call(e,r[s]))return r[s]}filterInPlace(t,e){let r=0;for(let n=0;n<this._length;++n){const s=this.data[n];t.call(e,s,n,this.data)&&(this.data[n]=this.data[r],this.data[r]=s,r++)}if(this._deallocator)for(let t=r;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=r,this._shrink(),this}forAll(t,e){const{data:r,length:n}=this;for(let s=0;s<n;++s)t.call(e,r[s],s,r)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const r=new Array(this.length);for(let n=0;n<this.length;++n)r[n]=t.call(e,this.data[n],n,this.data);return r}reduce(t,e){let r=e;for(let e=0;e<this.length;++e)r=t(r,this.data[e],e,this.data);return r}has(t){const e=this.length,r=this.data;for(let n=0;n<e;++n)if(r[n]===t)return!0;return!1}*[Symbol.iterator](){const{data:t,length:e}=this;for(let r=0;r<e;++r)yield t[r]}}function u(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},67076(t,e,r){r.d(e,{A:()=>s});var n=r(799);class s{constructor(t,e,r){this.name=t,this.details=r,this.type="warning",this.message=e?(0,n.V2)(e,r):""}toString(){const{name:t,message:e}=this;return`[${t}]: ${e}`}}},85537(t,e,r){r.d(e,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},11406(t,e,r){r.d(e,{T:()=>i});var n=r(36563);class s{constructor(t,e){this._observers=t,this._observer=e}remove(){const{_observers:t,_observer:e}=this;if(t[t.length-1]===e)return void t.pop();const r=t.indexOf(this._observer);-1!==r&&t.splice(r,1)}}class i{constructor(){this._observers=null,this.destroyed=!1}observe(t){if(this.destroyed||t.destroyed)return o;null==this._observers&&(this._observers=[]);const e=this._observers;let r=!1,n=!1;for(const s of e)if(s.destroyed)n=!0;else if(s===t){r=!0;break}return r||(e.push(t),n&&this._removeDestroyedObservers()),new s(e,t)}_removeDestroyedObservers(){const t=this._observers;if(!t)return;const e=t.length;if(0===e)return;let r=0;for(let n=0;n<e;++n){for(;n+r<e&&t[n+r].destroyed;)++r;if(r>0){if(!(n+r<e))break;t[n]=t[n+r]}}t.length=e-r}destroy(){if(this.destroyed)return;this.destroyed=!0;const t=this._observers;if(null!=t){for(const e of t)e.onCommitted();this._observers=null}}}const o=(0,n.hA)()},35666(t,e,r){function n(t){switch(t){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function s(t){switch(t){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function i(t){return s(t)}r.d(e,{OL:()=>s,aB:()=>n,in:()=>i})},56454(t,e,r){const n=Symbol("Accessor-beforeDestroy");r.d(e,["G",0,n])},91429(t,e,r){r.d(e,{wg:()=>c,MZ:()=>o,$K:()=>a});var n=r(10107),s=r(79901),i=r(64108);r(93223),r(36005),r(43937);const o=n.MZ,a=i.$;function c(...t){return(0,s.w)(...t)}},79901(t,e,r){r.d(e,{w:()=>c});var n=r(56507),s=r(96156);const i=Object.prototype.toString;function o(t){const e="__accessorMetadata__"in t?(0,n.dp)(t):t;return function(...t){if(t.push(e),"number"==typeof t[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,t)}}function a(t,e,r,n){(0,s.z4)(t,e).cast=n}function c(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===i.call(t[0])?o(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return(e,r)=>{(0,s.z4)(e,t).cast=e[r]}}(t[0]):void 0}},93223(t,e,r){r.d(e,{e:()=>i});var n=r(66552),s=r(10107);function i(t,e={}){const r=t instanceof n.J?t:new n.J(t,e),{alwaysWriteDefaults:i,default:o,ignoreUnknown:a=!0,name:c,nonNullable:l,readOnly:u=!1}=e;return(0,s.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:c,read:!u&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:i}},nonNullable:l,readOnly:u})}},10107(t,e,r){r.d(e,{MZ:()=>c,rM:()=>l});var n=r(53966),s=r(56507),i=r(16649),o=r(96156),a=r(47821);function c(t={}){return(e,r)=>{if(e===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${e.name}.${r}. Accessor does not support static properties.`);const c=Object.getOwnPropertyDescriptor(e,r),l=(0,o.z4)(e,r);c&&(c.get||c.set?(l.get=c.get||l.get,l.set=c.set||l.set):"value"in c&&("value"in t&&n.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),l.value=t.value=c.value)),null!=t.readOnly&&(l.readOnly=t.readOnly);const u=t.aliasOf;if(u){const t="string"==typeof u?u:u.source,e="string"==typeof u?null:!0===u.overridable;let n;l.dependsOn=[t],l.get=function(){let e=(0,i.Jt)(this,t);if("function"==typeof e){n||(n=t.split(".").slice(0,-1).join("."));const r=(0,i.Jt)(this,n);r&&(e=e.bind(r))}return e},l.readOnly||(l.set=e?function(t){this._override(r,t)}:function(e){(0,a.h)(this,t,e)})}const h=t.type,f=t.types;if(!l.cast){let e;h&&!1!==t.useTypeForAutocast?e=function(t){let e=0,r=t;if((0,s.Zu)(t))return(0,s.Nd)(t);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],e++;const n=r;if((0,s.EK)(n))return 0===e?(0,s.MB)(n):(0,s._e)((0,s.MB)(n),e);if(1===e)return(0,s.eC)(n);if(e>1)return(0,s.e6)(n,e);const i=t;return i.from?i.from:(0,s.dp)(i)}(h):f&&(e=Array.isArray(f)?(0,s.wB)((0,s.aq)(f[0])):(0,s.aq)(f)),t.cast=function(t,e){if(t||e)return t?e?(r,n)=>e(t(r,n),n):t:e}(t.cast,e)}(0,o.CX)(l,t),t.range&&(l.cast=(0,s.Qp)(l.cast,t.range))}}function l(t,e,r){const n=(0,o.z4)(t,r);n.json||(n.json={});let s=n.json;return void 0!==e&&(s.origins||(s.origins={}),s.origins[e]||(s.origins[e]={}),s=s.origins[e]),s}},36005(t,e,r){r.d(e,{w:()=>s});var n=r(10107);function s(t,e,r){let s,i;return void 0===e||Array.isArray(e)?(i=t,r=e,s=[void 0]):(i=e,s=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;s.forEach(s=>{const a=(0,n.rM)(t,s,i);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[e],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(t,e,r){r.d(e,{$:()=>b}),r(44208);var n=r(53966),s=r(56454),i=r(85537),o=r(96156),a=r(62788),c=r(56507),l=r(90360);function u(t){if(t.json||(t.json={}),f(t.json),d(t.json),h(t.json),t.json.origins)for(const e in t.json.origins)f(t.json.origins[e]),d(t.json.origins[e]),h(t.json.origins[e]);return!0}function h(t){t.name&&(t.read&&"object"==typeof t.read?void 0===t.read.source&&(t.read.source=t.name):t.read={source:t.name},t.write&&"object"==typeof t.write?void 0===t.write.target&&(t.write.target=t.name):t.write={target:t.name})}function f(t){"boolean"==typeof t.read?t.read={enabled:t.read}:"function"==typeof t.read?t.read={enabled:!0,reader:t.read}:t.read&&"object"==typeof t.read&&void 0===t.read.enabled&&(t.read.enabled=!0)}function d(t){"boolean"==typeof t.write?t.write={enabled:t.write}:"function"==typeof t.write?t.write={enabled:!0,writer:t.write}:t.write&&"object"==typeof t.write&&void 0===t.write.enabled&&(t.write.enabled=!0)}var p=r(67124);function y(t){return t.type?g(t):_(t)}function g(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!(0,c.EK)(r);)r=r[0],e++;return{type:r,ndimArray:e}}function _(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function v(t){u(t)&&(function(t){if(t.json&&t.json.origins){const e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(const t in r)if(e[t]){const n=e[t];r[t].forEach(t=>{e[t]=n}),delete e[t]}}}(t),function(t){const e=function(t){return t.json.types?_(t.json):t.type?g(t):_(t)}(t);if(t.json.origins)for(const r in t.json.origins){const n=t.json.origins[r],s=n.types?y(n):e;(0,l.v)(s,n,!1),n.types&&!n.write&&t.json.write?.enabled&&(n.write={...t.json.write}),(0,p.v)(s,n)}(0,l.v)(e,t.json,!0),(0,p.v)(e,t.json)}(t))}const m=new Set,w=new Set;function b(t){return e=>{t??="esri.core.Accessor",e.prototype.declaredClass=t,k(e);const r=[],n=[];let a=e.prototype;for(;a;)a.hasOwnProperty("initialize")&&!m.has(a.initialize)&&(m.add(a.initialize),r.push(a.initialize)),a.hasOwnProperty("destroy")&&!w.has(a.destroy)&&(w.add(a.destroy),n.push(a.destroy)),a=Object.getPrototypeOf(a);m.clear(),w.clear();const c=class extends e{constructor(...t){if(super(...t),this.constructor===c&&"function"==typeof this.postscript){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let t=r.length-1;t>=0;t--)r[t].call(this)}}),n.length){let t=!1;const e=this[s.G];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!t){this.__accessor__.lifecycle=i.v.DESTROYING,t=!0,e.call(this);for(let t=0;t<n.length;t++)n[t].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};c.__accessorMetadata__=(0,o.tD)(e.prototype),c.prototype.declaredClass=t;const l=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(c.prototype,Symbol.toStringTag,{value:l,configurable:!0,writable:!0,enumerable:!1}),c}}function A(t,{get:e,value:r}){return null==e?function(){const e=this.__accessor__,n=e.propertiesByName.get(t);if(void 0===n)return;e.mutable&&(0,a.gc)(n);const s=e.store;return s.has(t)?s.get(t):r}:function(){const r=this.__accessor__;return r.propertiesByName.get(t)?.getComputed(r,e)}}function O(t,e,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}function N(t,e){return e.readOnly&&e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?S("read-only",t):n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?S("construct-only",t):void n.set(t,r)}else O(this,t,r)}:e.readOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?S("read-only",t):void n.set(t,r)}else O(this,t,r)}:e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?S("construct-only",t):void n.set(t,r)}else O(this,t,r)}:function(e){const r=this.__accessor__;r?r.mutable&&r.set(t,e):O(this,t,e)}}function k(t){const e=t.prototype,r=(0,o.tD)(e),n={};for(const t of Object.getOwnPropertyNames(r)){const e=r[t];v(e),n[t]={enumerable:!0,configurable:!0,get:A(t,e),set:N(t,e)}}Object.defineProperties(t.prototype,n)}const S=(t,e)=>{n.A.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}},43937(t,e,r){r.d(e,{K:()=>s});var n=r(10107);function s(t,e,r){let s,i;return void 0===e?(i=t,s=[void 0]):"string"!=typeof e?(i=t,s=[void 0],r=e):(i=e,s=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;for(const a of s){const s=(0,n.rM)(t,a,i);s.write&&"object"==typeof s.write||(s.write={}),r&&(s.write.target=r),s.write.writer=o[e]}}}},76953(t,e,r){function n(t,e,r){e.keys().forEach(t=>{r.set(t,e.get(t),0)});const n=t.metadata;Object.keys(n).forEach(e=>{t.internalGet(e)&&r.set(e,t.internalGet(e),0)})}r.d(e,{k:()=>n})},56507(t,e,r){r.d(e,{EK:()=>C,GB:()=>l,GX:()=>c,MB:()=>D,Nd:()=>z,PZ:()=>v,Qp:()=>f,Uv:()=>M,Vr:()=>u,Zu:()=>I,_e:()=>j,aq:()=>E,dp:()=>A,e6:()=>T,eC:()=>k,jz:()=>$,qf:()=>O,wB:()=>N});var n=r(53966),s=r(91869);const i=()=>n.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(t){if(null==t)return t;const e=new Date(t);return isNaN(e.getTime())?(i().error("Accessor#set",`Invalid date value: '${t}', falling back to current date`),new Date):e}function a(t){return null==t?t:!!t}function c(t){return null==t?t:t.toString()}function l(t,e=0){return null==t?t:(t=parseFloat(t),isNaN(t)?e:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function h(t){return null}function f(t,e){return r=>{let n=t(r);return null!=e.step&&(n=Math.round(n/e.step)*e.step),null!=e.min&&(n=Math.max(e.min,n)),null!=e.max&&(n=Math.min(e.max,n)),n}}function d(t){return t?.constructor&&void 0!==t.constructor.__accessorMetadata__}function p(t,e){return null!=e&&t&&!(e instanceof t)}function y(t){return t&&"isCollection"in t}function g(t){return t?.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function _(t,e){return!!d(e)&&(i().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+m(t)+"'"),!0)}function v(t,e){return null==e?e:y(t)?function(t,e){if(!e?.constructor||!y(e.constructor))return _(t,e)?e:new t(e);const r=g(t.prototype.itemType),n=g(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(_(t,e),e):new t(e):e}(t,e):p(t,e)?_(t,e)?e:new t(e):e}function m(t){return t?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(t){switch(t){case Number:return t=>l(t);case $:return u;case Boolean:return a;case String:return c;case Date:return o;case M:return h;default:return(0,s.tE)(w,t,()=>v.bind(null,t))}}function A(t,e){const r=b(t);return 1===arguments.length?r:r(e)}function O(t){const e=b(t);return t=>e(t)}function N(t,e,r){return 1===arguments.length?N.bind(null,t):e?Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]:e}function k(t,e){return 1===arguments.length?N(e=>A(t,e)):N(e=>A(t,e),e)}function S(t,e,r){return 0!==e&&Array.isArray(r)?r.map(r=>S(t,e-1,r)):t(r)}function j(t,e,r){if(2===arguments.length)return r=>j(t,e,r);if(!r)return r;r=S(t,e,r);let n=e,s=r;for(;n>0&&Array.isArray(s);)n--,s=s[0];if(void 0!==s)for(let t=0;t<n;t++)r=[r];return r}function T(t,e,r){return 2===arguments.length?j(e=>A(t,e),e):j(e=>A(t,e),e,r)}function C(t){return!!Array.isArray(t)&&!t.some(e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)})}function D(t,e){if(2===arguments.length)return D(t).call(null,e);const r=new Set,n=t.filter(t=>"function"!=typeof t),s=t.filter(t=>"function"==typeof t);for(const e of t)"string"!=typeof e&&"number"!=typeof e||r.add(e);let o=null,a=null;return(t,e)=>{if(null==t)return t;const c=typeof t,l="string"===c||"number"===c;return l&&(r.has(t)||s.some(t=>"string"===c&&t===String||"number"===c&&t===Number))||"object"===c&&s.some(e=>!p(e,t))?t:(l&&n.length?(o||(o=n.map(t=>"string"==typeof t?`'${t}'`:`${t}`).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof t&&s.length?(a||(a=s.map(t=>m(t)).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${a}`)):i().error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function E(t,e){if(2===arguments.length)return E(t).call(null,e);const r={},n=[],s=[];for(const e in t.typeMap){const i=t.typeMap[e];r[e]=A(i),n.push(m(i)),s.push(e)}const o=()=>`'${n.join("', '")}'`,a=()=>`'${s.join("', '")}'`,c="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!p(t.base,e))return e;if(null==e)return e;const n=c(e)||t.defaultKeyValue,s=r[n];if(!s)return i().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(t.typeMap[n],e))return e;if("string"==typeof t.key&&!d(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return s(r)}return s(e)}}class ${}class M{}function I(t){if(!t||"object"!=typeof t&&"function"!=typeof t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function z(t){switch(t.type){case"native":return A(t.value);case"array":return N(z(t.value));case"one-of":return function(t){let e=null;return(r,n)=>q(r,t)?r:(null==e&&(e=P(t)),i().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}(t);default:return null}}function P(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case M:return"null";default:return m(t.value)}case"array":return`array of ${P(t.value)}`;case"one-of":{const e=t.values.map(t=>P(t));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function q(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case $:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t;case M:return null===t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(t=>!q(t,e.value));case"one-of":return e.values.some(e=>q(t,e))}}r.d(e,["gK",0,{native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})}])},90360(t,e,r){r.d(e,{C:()=>h,v:()=>u});var n=r(53966),s=r(93637),i=r(96156),o=r(15903),a=r(7142),c=r(59923);const l=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function u(t,e,r){t&&(!r&&!e.read||e.read?.reader||!1===e.read?.enabled||function(t){return"types"in t?_(t.types):g(t.type)}(t)&&(0,s.sM)("read.reader",h(t),e))}function h(t){const e=t.ndimArray??0;if(e>1)return function(t){const e=f(t),r=d.bind(null,e),n=t.ndimArray??0;return(t,e,s)=>{if(null==t)return t;t=r(t,s,n);let i=n,o=t;for(;i>0&&Array.isArray(o);)i--,o=o[0];if(void 0!==o)for(let e=0;e<i;e++)t=[t];return t}}(t);if(1===e)return p(t);if("type"in t&&y(t.type)){const e=t.type.prototype?.itemType?.Type,r=p("function"==typeof e?{type:e}:{types:e});return(e,n,s)=>{const i=r(e,n,s);return i?new t.type(i):i}}return f(t)}function f(t){return"type"in t?function(t){return t.prototype.read?(e,r,n)=>{if(null==e)return e;const s=typeof e;if("object"!==s)return void l().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${s}'`);const i=new t;return i.read(e,n),i}:t.fromJSON}(t.type):function(t){let e=null;const r=t.errorContext??"type",n=t.validate;return(s,o,u)=>{if(null==s)return s;const h=typeof s;if("object"!==h)return void l().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);e||(e=function(t){const e={};for(const r in t.typeMap){const n=t.typeMap[r],s=(0,i.tD)(n.prototype);if("function"==typeof t.key)continue;const o=s[t.key];if(!o)continue;if(o.json?.type&&Array.isArray(o.json.type)&&1===o.json.type.length&&"string"==typeof o.json.type[0]){e[o.json.type[0]]=n;continue}const a=o.json?.write;if(!a?.writer){e[r]=n;continue}const c=a.target,l="string"==typeof c?c:t.key,u={};a.writer(r,u,l),u[l]&&(e[u[l]]=n)}return e}(t));const f=t.key;if("string"!=typeof f)return;const d=s[function(t,e,r){const n=Object.values(e)[0],s=(0,i.tD)(n.prototype)[t],o=(0,a.N5)(s,r),c=o?.read?.source;return c&&"string"==typeof c?c:t}(f,e,u)],p=d?e[d]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!p){const t=`Type '${d||"unknown"}' is not supported`;return u?.messages&&s&&(0,c.Yc)(u,"warning",r,t,{definition:s,context:u}),void l().error(t)}const y=new p;return y.read(s,u),n?n(y):y}}(t.types)}function d(t,e,r,n){return 0!==n&&Array.isArray(e)?e.map(e=>d(t,e,r,n-1)):t(e,void 0,r)}function p(t){const e=f(t);return(t,r,n)=>{if(null==t)return t;if(Array.isArray(t)){const r=[];for(const s of t){const t=e(s,void 0,n);void 0!==t&&r.push(t)}return r}const s=e(t,void 0,n);return void 0!==s?[s]:void 0}}function y(t){if(!(0,o.P)(t))return!1;const e=t.prototype.itemType;return!(!e||!e.Type)&&("function"==typeof e.Type?g(e.Type):_(e.Type))}function g(t){return!Array.isArray(t)&&!!t&&("object"==typeof t||"function"==typeof t)&&t.prototype&&("read"in t.prototype||"fromJSON"in t||y(t))}function _(t){for(const e in t.typeMap)if(!g(t.typeMap[e]))return!1;return!0}},15903(t,e,r){function n(t){return!!t&&t.prototype?.declaredClass&&0===t.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(e,{P:()=>n})},7142(t,e,r){function n(t,e){return o(t,"any",e?.origin)}function s(t,e){return o(t,"read",e?.origin)}function i(t,e){return o(t,"write",e?.origin)}function o(t,e,r){let n=t?.json;if(n?.origins&&r){let t;t="link-chart"===r?n.origins[r]&&("any"===e||e in n.origins[r])?n.origins[r]:n.origins["web-map"]:n.origins[r],t&&("any"===e||e in t)&&(n=t)}return n}r.d(e,{N5:()=>s,k4:()=>i,xF:()=>n})},67124(t,e,r){r.d(e,{B:()=>h,v:()=>a});var n=r(53966),s=r(93637),i=r(15903),o=r(59923);function a(t,e){if(!e.write||e.write.writer||!1===e.write.enabled&&!e.write.overridePolicy)return;const r=t?.ndimArray??0;t&&(1===r||"type"in t&&(0,i.P)(t.type))?e.write.writer=f:r>1?e.write.writer=function(t){return(e,r,n,i)=>{let o;if(null===e)o=null;else{o=d(e,i,t);let r=t,n=o;for(;r>0&&Array.isArray(n);)r--,n=n[0];if(void 0!==n)for(let t=0;t<r;t++)o=[o]}(0,s.sM)(n,o,r)}}(r):e.types?Array.isArray(e.types)?e.write.writer=function(t){return(e,r,n,s)=>e&&Array.isArray(e)?l(e.filter(e=>c(e,t,s)),r,n,s):l(e,r,n,s)}(e.types[0]):e.write.writer=function(t){return(e,r,n,s)=>e?c(e,t,s)?l(e,r,n,s):void 0:l(e,r,n,s)}(e.types):e.write.writer=l}function c(t,e,r){for(const r in e.typeMap)if(t instanceof e.typeMap[r])return!0;if(r?.messages){const s=e.errorContext??"type",i=`Values of type '${("function"!=typeof e.key?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&(0,o.Yc)(r,"error",s,i,{definition:t,context:r}),n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(i)}return!1}function l(t,e,r,n){(0,s.sM)(r,u(t,n),e)}function u(t,e){return t&&"function"==typeof t.write?t.write({},e):t&&"function"==typeof t.toJSON?t.toJSON():"number"==typeof t?h(t):t}function h(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function f(t,e,r,n){let i;null===t?i=null:t&&"function"==typeof t.map?(i=t.map(t=>u(t,n)),"function"==typeof i.toArray&&(i=i.toArray())):i=[u(t,n)],(0,s.sM)(r,i,e)}function d(t,e,r){return 0!==r&&Array.isArray(t)?t.map(t=>d(t,e,r-1)):u(t,e)}},16649(t,e,r){r.d(e,{Jt:()=>a,RP:()=>o,t2:()=>c});var n=r(88620);function s(t,e){const r=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){const t=parseInt(r,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}const s=(0,n.oY)(e);return(0,n.yh)(s,r)?s.get(r):e[r]}function i(t,e,r){if(null==t)return t;const n=s(e[r],t);return!n&&r<e.length-1?void 0:r===e.length-1?n:i(n,e,r+1)}function o(t,e,r=0){return"string"!=typeof e||e.includes(".")?i(t,(0,n.AH)(e),r):s(e,t)}function a(t,e){return o(t,e)}function c(t,e){return void 0!==o(e,t)}},96156(t,e,r){r.d(e,{CX:()=>a,tD:()=>i,z4:()=>o});var n=r(4718),s=r(88620);function i(t){let e=t.constructor.__accessorMetadata__;const r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(const t in e)e[t]=(0,n.o8)(e[t]);Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e={},Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return t.constructor.__accessorMetadata__}function o(t,e){const r=i(t);let n=r[e];return n||(n=r[e]={}),n}function a(t,e){return(0,s.h1)(t,e,l)}const c=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function l(t){return c.test(t)?"replace":"merge"}},45917(t,e,r){r.d(e,{L:()=>u,t:()=>h});var n=r(16649),s=r(88620),i=r(7142);function o(t,e,r){if(!t?.read||!1===t.read.enabled||!t.read.source)return!1;const s=t.read.source;if("string"==typeof s){if(s===e)return!0;if(s.includes(".")&&s.startsWith(e)&&(0,n.t2)(s,r))return!0}else for(const t of s){if(t===e)return!0;if(t.includes(".")&&t.startsWith(e)&&(0,n.t2)(t,r))return!0}return!1}function a(t,e,r,n,s){let a=(0,i.N5)(e[r],s);(function(t){return t&&(!t.read||!1!==t.read.enabled&&!t.read.source)})(a)&&(t[r]=!0);for(const c of Object.getOwnPropertyNames(e))a=(0,i.N5)(e[c],s),o(a,r,n)&&(t[c]=!0)}function c(t,e,r,n){const s=r.metadata,o=(0,i.xF)(s[e],n),a=o?.default;if(void 0===a)return;const c="function"==typeof a?a.call(t,e,n):a;void 0!==c&&r.set(e,c)}const l={origin:"service"};function u(t,e,r=l){if(!e||"object"!=typeof e)return;const o=(0,s.oY)(t),u=o.metadata,h={};for(const t of Object.getOwnPropertyNames(e))a(h,u,t,e,r);o.setDefaultOrigin(r.origin);for(const s of Object.getOwnPropertyNames(h)){const a=(0,i.N5)(u[s],r).read,c=a?.source;let l;l=c&&"string"==typeof c?(0,n.RP)(e,c):e[s],a?.reader&&(l=a.reader.call(t,l,e,r)),void 0!==l&&o.set(s,l)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(const e of Object.getOwnPropertyNames(u))h[e]||c(t,e,o,r)}o.setDefaultOrigin("user")}function h(t,e,r,n=l){const s={...n,messages:[]};r(s),s.messages?.forEach(e=>{"warning"!==e.type||t.loaded?n?.messages&&n.messages.push(e):t.loadWarnings.push(e)})}},47821(t,e,r){r.d(e,{h:()=>o});var n=r(49186),s=r(44208),i=(r(53966),r(16649));function o(t,e,r){if(t&&e)if("object"==typeof e)for(const r of Object.getOwnPropertyNames(e))o(t,r,e[r]);else{if(e.includes(".")){const n=e.split("."),s=n.splice(-1,1)[0];return void o((0,i.Jt)(t,n),s,r)}const a=t.__accessor__;null!=a&&function(t,e){if((0,s.A)("esri-unknown-property-errors")&&!function(t,e){return null!=e.metadata[t]}(t,e))throw new n.A("set:unknown-property",function(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}(t,e))}(e,a),t[e]=r}}},62788(t,e,r){r.d(e,{F_:()=>d,Xr:()=>v,a:()=>f,fE:()=>g,gc:()=>l}),r(44208);var n=r(53966),s=r(88620),i=r(47328);const o=new(r(67867).R),a=[];let c=o;function l(t){c.onAccessed(t)}let u=!1,h=!1;function f(t,e,r){if(u)return p(t,e,r);let s;if(h){c=t,a.push(t);try{s=e.call(r)}catch(t){throw n.A.getLogger("esri.core.accessorSupport.tracking").error(t),t}finally{y()}}else{c=t,a.push(t);try{s=e.call(r)}finally{y()}}return s}function d(t,e){return f(o,t,e)}function p(t,e,r){const s=u;let i;u=!0,c=t,a.push(t);try{i=e.call(r)}catch(t){h&&n.A.getLogger("esri.core.accessorSupport.tracking").error(t)}return y(),u=s,i}function y(){const t=a.length;if(t>1){const e=a.pop();c=a[t-2],e.onTrackingEnd()}else if(1===t){const t=a.pop();c=o,t.onTrackingEnd()}else c=o}function g(t,e){if(e.flags&i.i.DepTrackingInitialized)return;e.flags|=i.i.DepTrackingInitialized;const r=h;h=!1,e.flags&i.i.AutoTracked?p(e.trackingTarget,e.metadata.get,t):v(t,e),h=r}const _=[];function v(t,e){e.flags&i.i.ExplicitlyTracking||(e.flags|=i.i.ExplicitlyTracking,p(e.trackingTarget,()=>{const r=e.metadata.dependsOn||_;for(const e of r)if("string"!=typeof e||e.includes(".")){const r=(0,s.AH)(e);for(let e=0,n=t;e<r.length&&null!=n&&"object"==typeof n;++e)n=m(n,r[e],e!==r.length-1)}else m(t,e,!1)}),e.flags&=~i.i.ExplicitlyTracking)}function m(t,e,r){const n=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(n,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}const i=(0,s.oY)(t);if(i){const e=i.propertiesByName.get(n);e&&(l(e),g(t,e))}return r?t[n]:void 0}},47328(t,e,r){r.d(e,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},71429(t,e,r){r.d(e,{r:()=>s});var n=r(67867);class s extends n.R{constructor(t){super(new i(t)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&o.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}}class i{constructor(t){this._notify=t,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;const t=this._invalidCount;if(1===t)return this._invalidCount=0,void this._notify();this._invalidCount=t>0?t-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(t=>{t.deref()?.destroy()});function a(){}},67867(t,e,r){r.d(e,{R:()=>n});class n{constructor(t){this.accessed=void 0,this._handles=void 0,this._observer=t}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(t){null!=this._observer&&t!==this._observer&&(null==this.accessed&&(this.accessed=new Set),this.accessed.add(t))}onTrackingEnd(){null!=this._observer&&(this.clear(),null!=this.accessed&&(null==this._handles&&(this._handles=[]),this.accessed.forEach(t=>{this._handles.push(t.observe(this._observer))}),this.accessed.clear()))}clear(){if(null!=this._handles)for(;this._handles.length;)this._handles.pop().remove()}}},80559(t,e,r){r.d(e,{Df:()=>l,fm:()=>u,mJ:()=>c});var n=r(36563),s=r(62788),i=r(71429);let o=!1;const a=[];function c(t,e){let r=new i.r(function n(){if(!r||c)return;if(o)return void h(n);const i=a;r.clear(),o=!0,c=!0,a=(0,s.a)(r,t),c=!1,o=!1,e(a,i),f()}),a=null,c=!1;return c=!0,a=(0,s.a)(r,t),c=!1,(0,n.hA)(function(){r&&(r.destroy(),r=null,a=null)})}function l(t,e){let r=new i.r(function(){e(o,a)}),o=null;function a(){return r?(r.clear(),o=(0,s.a)(r,t),o):null}return a(),(0,n.hA)(function(){r&&(r.destroy(),r=null),o=null})}function u(t,e){let r=!1,a=!1;const c=!!e?.sync;let l=new i.r(()=>{r||a||(a=!0,c?u():queueMicrotask(u))});function u(){a=!1,l&&!r&&(o?h(u):(l.clear(),o=!0,r=!0,(0,s.a)(l,t),r=!1,o=!1,f()))}return r=!0,(0,s.a)(l,t),r=!1,(0,n.hA)(function(){l&&(l.destroy(),l=null)})}function h(t){a.includes(t)||a.unshift(t)}function f(){for(;a.length;)a.pop()()}},88620(t,e,r){r.d(e,{AH:()=>l,h1:()=>a,oY:()=>i,qg:()=>h,yh:()=>o});var n=r(36563),s=r(4718);function i(t){return t.__accessor__??null}function o(t,e){return null!=t?.metadata?.[e]}function a(t,e,r){return c(t,e,r?{policy:r,path:""}:null)}function c(t,e,r){return e?Object.keys(e).reduce((t,n)=>{const i=n;if("__proto__"===i)return t;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${n}`:n,a=r.policy(o)),"replace"===a)return t[i]=e[i],t;if("replace-arrays"===a&&Array.isArray(t[i]))return t[i]=e[i],t;if(void 0===t[i])return t[i]=(0,s.o8)(e[i]),t;let l=t[i],u=e[i];if(l===u)return t;if(Array.isArray(u)||Array.isArray(t))l=l?Array.isArray(l)?t[i]=l.slice():t[i]=[l]:t[i]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach(t=>{l.includes(t)||l.push(t)}));else if(u&&"object"==typeof u)if(r){const e=r.path;r.path=o,t[i]=c(l,u,r),r.path=e}else t[i]=c(l,u,null);else t.hasOwnProperty(n)&&!e.hasOwnProperty(n)||(t[i]=u);return t},t||{}):t}function l(t){return Array.isArray(t)?t:t.split(".")}function u(t){return t.includes(",")?t.split(",").map(t=>t.trim()):[t.trim()]}function h(t,e,r,s){const i=function(t){if(Array.isArray(t)){const e=[];for(const r of t)e.push(...u(r));return e}return u(t)}(e);if(1!==i.length){const e=i.map(e=>s(t,e,r));return(0,n.vE)(e)}return s(t,i[0],r)}},14012(t,e,r){r.d(e,{iS:()=>w,wB:()=>N,Cn:()=>k});var n=r(98291),s=r(36563),i=r(4718),o=r(93687);class a extends o.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...t){const e=super.acquire(...t);return this._set.delete(e),e}release(t){t&&!this._set.has(t)&&(super.release(t),this._set.add(t))}_dispose(t){this._set.delete(t),super._dispose(t)}}var c=r(76030),l=r(24326),u=r(16649),h=r(85537),f=r(80559),d=r(88620);class p{constructor(){this.uid=(0,l.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new a(()=>new p)}static acquireUntracked(t,e,r,n,s){return this.pool.acquire(0,t,e,r,n,s,i.aI)}static acquireTracked(t,e,r,n){return this.pool.acquire(1,t,e,r,null,null,n)}notify(t,e){0===this.type?this.callback.call(this.target,t,e,this.path,this.target):this.callback.call(null,t,e,void 0,void 0)}acquire(t,e,r,n,s,i,o){this.uid=(0,l.c)(),this.removed=!1,this.type=t,this.oldValue=e,this.callback=r,this.getValue=n,this.target=s,this.path=i,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,l.c)(),this.removed=!0}}const y=new n.A,g=new Set;let _;function v(t){g.delete(t),g.add(t),_||(_=(0,c._)(b))}function m(t){if(t.removed)return;const e=t.oldValue,r=t.getValue();t.equals(e,r)||(t.oldValue=r,t.notify(r,e))}function w(t){for(const e of g.values())e.target===t&&(e.removed=!0)}function b(){let t=10;for(;_&&t--;){_=null;const t=A(),e=y.acquire();for(const r of t){const t=r.uid;m(r),t===r.uid&&r.removed&&e.push(r)}for(const t of g)t.removed&&(e.push(t),g.delete(t));for(const t of e)p.pool.release(t);y.release(e),y.release(t),O.forEach(t=>t())}}function A(){const t=y.acquire();t.length=g.size;let e=0;for(const r of g)t[e]=r,++e;return g.clear(),t}const O=new Set;function N(t,e,r,n=!1){return t.__accessor__&&t.__accessor__.lifecycle!==h.v.DESTROYED?n?function(t,e,r){const n=(0,d.qg)(t,e,r,(t,e,r)=>{let s=!1;return(0,f.mJ)(()=>(0,u.RP)(t,e),(o,a)=>{t.__accessor__.lifecycle!==h.v.DESTROYED?s||(s=!0,(0,i.aI)(a,o)||r.call(t,o,a,e,t),s=!1):n.remove()})});return n}(t,e,r):function(t,e,r){let n=(0,d.qg)(t,e,r,(t,e,r)=>{let i,o,a=(0,f.Df)(()=>(0,u.RP)(t,e),(s,a)=>{t.__accessor__?.lifecycle===h.v.DESTROYED||i&&i.uid!==o?n.remove():(i||(i=p.acquireUntracked(s,r,a,t,e),o=i.uid),v(i))});return(0,s.hA)(()=>{a.remove(),i&&(i.uid!==o||i.removed||(i.removed=!0,v(i)),i=null),n=a=null})});return n}(t,e,r):(0,s.hA)()}function k(t,e,r=!1,n=i.gh){return r?function(t,e,r){let n=!1;return(0,f.mJ)(t,(t,s)=>{n||(n=!0,r(s,t)||e(t,s),n=!1)})}(t,e,n):function(t,e,r){let n,i,o=(0,f.Df)(t,(t,s)=>{n&&n.uid!==i?o.remove():(n||(n=p.acquireTracked(t,e,s,r),i=n.uid),v(n))});return(0,s.hA)(()=>{o.remove(),n&&(n.uid!==i||n.removed||(n.removed=!0,v(n)),n=null),o=null})}(t,e,n)}},49422(t,e,r){r.d(e,{M:()=>d,R:()=>f});var n=r(4576),s=r(49186),i=r(53966),o=r(16649),a=r(35666),c=r(88620),l=r(7142);function u(t,e,r,n,s){const i={};return e.write?.writer?.call(t,n,i,r,s),i}function h(t,e,r,c,l,u){if(!c?.write)return!1;const h=(0,o.Jt)(t,r);if(!l&&c.write.overridePolicy){const e=c.write.overridePolicy.call(t,h,r,u??void 0);void 0!==e&&(l=e)}if(l||(l=c.write),!l||!1===l.enabled)return!1;if(l.layerContainerTypes&&u?.layerContainerType&&!l.layerContainerTypes.includes(u.layerContainerType))return!1;if((null===h&&!l.allowNull&&!l.writerEnsuresNonNull||void 0===h)&&l.isRequired){const e=new s.A("web-document-write:property-required",`Missing value for required property '${r}' on '${t.declaredClass}'`,{propertyName:r,target:t});return e&&u?.messages?u.messages.push(e):e&&!u&&i.A.getLogger("esri.core.accessorSupport.write").error(e.name,e.message),!1}return!(void 0===h||null===h&&!l.allowNull&&!l.writerEnsuresNonNull||!(l.alwaysWriteDefaults||e.store.multipleOriginsSupported&&0!==e.store.originOf(r))&&function(t,e,r,s,i){const o=s.default;if(void 0===o)return!1;if(null!=s.defaultEquals)return s.defaultEquals(i);if("function"==typeof o){if(Array.isArray(i)){const s=o.call(t,e,r??void 0);return(0,n.aI)(s,i)}return!1}return o===i}(t,r,u,c,h)||!l.ignoreOrigin&&u?.origin&&e.store.multipleOriginsSupported&&e.store.originOf(r)<(0,a.aB)(u.origin))}function f(t,e,r,n){const s=(0,c.oY)(t),i=s.metadata,o=(0,l.k4)(i[e],n);return!!o&&h(t,s,e,o,r,n)}function d(t,e,r){if(t&&"function"==typeof t.toJSON&&(!t.toJSON.isDefaultToJSON||!t.write))return(0,c.h1)(e,t.toJSON(r));const n=(0,c.oY)(t),s=n.metadata;for(const i in s){const f=(0,l.k4)(s[i],r);if(!h(t,n,i,f,void 0,r))continue;const d=(0,o.Jt)(t,i),p=u(t,f,f.write&&"string"==typeof f.write.target?f.write.target:i,d,r);Object.keys(p).length>0&&(e=(0,c.h1)(e,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,c.h1)(e,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:t,propName:i,oldOrigin:(0,a.in)(n.store.originOf(i)),newOrigin:r.origin}))}return e}},5479(t,e,r){function n(t){const e=[];return function*(){yield*e;let r,n=e.length;for(;!(r=t.next()).done;)for(e.push(r.value),yield r.value;++n<e.length;)yield e[n]}}r.d(e,{I6:()=>o,N5:()=>i,PP:()=>n,xZ:()=>c,zN:()=>a});const s=Object.freeze({done:!0,value:void 0});function i(t){const e=[];let r=null,n=null,i=!1;async function o(){if(i)return s;if(null!=n)return n;n=t.next();try{const t=await n;return n=null,t.done?(i=!0,s):(e.push(t.value),t)}catch(t){throw i=!0,n=null,r=t,t}}return async function*(){yield*e;let t,n=e.length;for(;!(t=await o()).done;)for(yield t.value;++n<e.length;)yield e[n];if(null!=r)throw r}}function o(t,e){for(const r of t)if(null!=r&&e(r))return r}function a(t,e){for(const r of t)if(e(r))return!0;return!1}function c(t){return null!=t&&"function"==typeof t[Symbol.iterator]}},66552(t,e,r){r.d(e,{J:()=>s,O:()=>o});var n=r(93637);class s{constructor(t,e={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=t,this._options=e,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(t){const e={};for(const r in t)e[t[r]]=r;return e}(t),this.apiValues=i(this._apiToJSON),this.jsonValues=i(this._jsonToAPI),this.read=t=>this.fromJSON(t),this.write=(t,e,r)=>{const s=this.toJSON(t);void 0!==s&&(0,n.sM)(r,s,e)},this.write.isJSONMapWriter=!0}toJSON(t){if(null==t)return null;if(this._apiToJSON.hasOwnProperty(t)){const e=this._apiToJSON[t];return this._options.useNumericKeys?+e:e}return this._options.ignoreUnknown?null:t}fromJSON(t){return null!=t&&this._jsonToAPI.hasOwnProperty(t)?this._jsonToAPI[t]:this._options.ignoreUnknown?void 0:t}}function i(t){const e=[];for(const r in t)e.push(r);return e.sort(),e}function o(){return function(t,e){return new s(t,{ignoreUnknown:!0,...e})}}},26390(t,e,r){r.d(e,{d:()=>s});const n=[];function s(t){n.push(t),1===n.length&&queueMicrotask(()=>{const t=n.slice();n.length=0;for(const e of t)e()})}},76030(t,e,r){r.d(e,{_:()=>g,$m:()=>O,md:()=>A});var n=r(26390);function s(t,e,r,n,s){console.timeStamp(t,e,r,s,n)}class i{constructor(t,e=30){this.name=t,this._counter=0,this._samples=new Array(e)}push(t){null!=t&&(this._samples[++this._counter%this._samples.length]=t)}set(t){null!=t&&(this._samples[this._counter%this._samples.length]=t)}get median(){return this._samples.slice().sort((t,e)=>t-e)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((t,e)=>t+e,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),c=r(78659);class l{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}}let u=0;const h={time:(0,c.l5)(0),deltaTime:(0,c.l5)(0),elapsedFrameTime:(0,c.l5)(0),frameDuration:(0,c.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(t=!1){p.forAll(t=>{t.removed=!0}),t&&w()},dispatch:b,executeFrameTasks:function(t){const e=(0,c.l5)(t-u);u=t;const r=1e3/60,n=Math.max(0,e-r);h.time=t,h.frameDuration=(0,c.l5)(r-n);for(let r=0;r<f.length;r++){const n=performance.now(),i=f[r];p.forAll(n=>{n.paused||n.removed||(0===r&&n.ticks++,n.phases[i]&&(h.elapsedFrameTime=(0,c.l5)(performance.now()-t),h.deltaTime=0===n.ticks?(0,c.l5)(0):e,n.phases[i]?.call(n,h)))});const o=performance.now();N[r].push(o-n),s(i,n,o,"Maps SDK","Scheduling")}w();const i=performance.now();k.push(i-t),s("Animation Frame",t,i,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(t){const e=new l(t);return d.push(e),y.willDispatch||(y.willDispatch=!0,(0,n.d)(b)),e}let _=null;function v(){const t=performance.now();_=null;const e=p.some(t=>!t.paused&&!t.removed);_=e?requestAnimationFrame(v):null,y.executeFrameTasks(t)}const m=new o.A;function w(){p.forAll(t=>{t.removed&&m.push(t)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){const t=d.shift();t.isActive&&t.callback()}y.willDispatch=!1}function A(t=1,e){const r=Promise.withResolvers(),s=()=>{(0,a.G4)(e)?r.reject((0,a.NK)()):0===t?r.resolve():(--t,(0,n.d)(()=>s()))};return s(),r.promise}async function O(t){await function(t){return A(1,t)}(t),await new Promise(e=>requestAnimationFrame(()=>{t?.aborted||e()}))}const N=f.map(t=>new i(t)),k=new i("total")},78659(t,e,r){function n(t){return t}function s(t){return 1e3*t}function i(t){return t}function o(t){return.001*t}r.d(e,{Kp:()=>i,gr:()=>s,l5:()=>n,y:()=>o})},24326(t,e,r){r.d(e,{c:()=>s});let n=0;function s(){return++n}},59923(t,e,r){r.d(e,{GL:()=>h,U4:()=>a,Yc:()=>u,bA:()=>l,qt:()=>c});var n=r(49186),s=r(67076);const i=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format"].map(t=>`${t}:unsupported`),o=new Set(i);function a(t,e,r){if(!t)return;const n=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("layer",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,{layer:e}))}function c(t,e,r){if(!t)return;const n=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("property",`Property '${e}' is not supported in the context of '${n}'${r?`: ${r}`:""}`))}function l(t,e,r,n){if(!t)return;const s=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("symbol",`Symbol '${e.declaredClass}' is not supported in the context of '${s}'${r?`: ${r}`:""}`,n))}function u(t,e,r,i,o){t&&t?.messages?.push(f("warning"===e?s.A:n.A,r,i,o))}function h(t,e,r){return f(n.A,t,e,r)}function f(t,e,r,n){return new t(`${e}:unsupported`,r,n)}r.d(e,["MG",0,o])}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6977],{69622(t,e,r){r.d(e,{A:()=>I});var n=r(51447),s=r(71511),i=r(53966),o=r(97768),a=r(56454),c=r(16649),l=r(85537),u=r(96156),h=(r(44208),r(4718)),f=r(93687),d=r(11406),p=r(62788),y=r(47328),g=r(67867);class _ extends d.T{constructor(t,e){super(),this.propertyName=t,this.metadata=e,this.trackingTarget=new g.R(this),this.flags=0,this.flags=y.i.Dirty|(e.nonNullable?y.i.NonNullable:0)|(e.hasOwnProperty("value")?y.i.HasDefaultValue:0)|(void 0===e.get?y.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?y.i.AutoTracked:0)}destroy(){this.flags&y.i.Dirty&&this.onCommitted(),super.destroy(),this.trackingTarget.destroy()}getComputed(t,e){t.mutable&&(0,p.gc)(this);const r=t.store,n=this.propertyName,s=this.flags,i=r.get(n);if(s&y.i.Computing)return i;if(!(s&y.i.Dirty)&&r.has(n))return i;let o;this.flags|=y.i.Computing;const{host:a}=t;s&y.i.AutoTracked?o=(0,p.a)(this.trackingTarget,e,a):((0,p.Xr)(a,this),o=e.call(a)),this.flags|=y.i.DepTrackingInitialized,r.set(n,o,1);const c=r.get(n);return c===i?this.flags&=~y.i.Dirty:(0,p.F_)(this.commit,this),this.flags&=~y.i.Computing,c}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~y.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&y.i.Overridden&&(this.flags|=y.i.Dirty);const t=this._observers;if(t&&t.length>0)for(const e of t)e.onInvalidated()}onCommitted(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onCommitted()}}}var v=r(35666);class m{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new m;return this._values.forEach((r,n)=>{t&&t.has(n)||e.set(n,(0,h.o8)(r))}),e}get(t){return this._values.get(t)}originOf(){return 7}keys(){return[...this._values.keys()]}set(t,e){this._values.set(t,e)}delete(t){this._values.delete(t)}has(t){return this._values.has(t)}isAtOrigin(t,e){return this.has(t)}isBelowOrigin(t,e){return!this.has(t)}forEach(t){this._values.forEach(t)}}function w(t,e,r){return void 0!==t}function b(t,e,r,n){return!(void 0===t||null==r&&t.flags&y.i.NonNullable&&(n.lifecycle,l.v.INITIALIZING,1))}class A{constructor(t){this.host=t,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=l.v.INITIALIZING,this.store=new m,this.mutable=!0,this._origin=7;const e=this.host.constructor.__accessorMetadata__;for(const t in e){const r=new _(t,e[t]);this.propertiesByName.set(t,r)}this.metadata=e}initialize(){this.lifecycle=l.v.CONSTRUCTING}constructed(){this.lifecycle=l.v.CONSTRUCTED}destroy(){this.lifecycle=l.v.DESTROYED,this.propertiesByName.forEach(t=>t.destroy())}get initialized(){return this.lifecycle!==l.v.INITIALIZING}get(t){const e=this.propertiesByName.get(t);if(!w(e))return;const r=e.metadata.get;if(r)return e.getComputed(this,r);this.mutable&&(0,p.gc)(e);const n=this.store;return n.has(t)?n.get(t):e.metadata.value}originOf(t){const e=this.store.originOf(t);if(void 0===e){const e=this.propertiesByName.get(t);if(void 0!==e&&e.flags&y.i.HasDefaultValue)return"defaults"}return(0,v.OL)(e)}has(t){return this.propertiesByName.has(t)&&this.store.has(t)}keys(){return[...this.propertiesByName.keys()]}internalGet(t){const e=this.propertiesByName.get(t);if(w(e))return this.store.has(t)?this.store.get(t):e.metadata.value}internalSet(t,e){const r=this.propertiesByName.get(t);w(r)&&this._internalSet(r,e)}getDependsInfo(t,e,r){const n=this.propertiesByName.get(e);if(!w(n))return"";const s=new g.R,i=(0,p.a)(s,()=>n.metadata.get?.call(t));let o=`${r}${t.declaredClass.split(".").pop()}.${e}: ${i}\n`;const a=s.accessed??new Set;if(0===a.size)return o;r+=" ";for(const t of a)t instanceof _&&(o+=`${r}${t.propertyName}: undefined\n`);return o}setAtOrigin(t,e,r){const n=this.propertiesByName.get(t);if(w(n))return this._setAtOrigin(n,e,r)}isOverridden(t){const e=this.propertiesByName.get(t);return void 0!==e&&!!(e.flags&y.i.Overridden)}clearOrigin(t,e){const r=this.store,n=this.propertiesByName.get(t);if(!w(n))return;const s=r.isAtOrigin(t,e)&&!(n.flags&y.i.Overridden);r.delete(t,e),s&&n.notifyChange()}clearOverride(t){const e=this.propertiesByName.get(t);e&&e.flags&y.i.Overridden&&(e.flags&=~y.i.Overridden,e.notifyChange())}override(t,e){const r=this.propertiesByName.get(t);if(!b(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(N.release(t),!r)return;e=s}r.flags|=y.i.Overridden,this._internalSet(r,e)}set(t,e){const r=this.propertiesByName.get(t);if(!b(r,0,e,this))return;const n=r.metadata.cast;if(n){const t=this._cast(n,e),{valid:r,value:s}=t;if(N.release(t),!r)return;e=s}const s=r.metadata.set;s?s.call(this.host,e):this._internalSet(r,e)}setDefaultOrigin(t){this._origin=(0,v.aB)(t)}getDefaultOrigin(){return(0,v.OL)(this._origin)}notifyChange(t){this.propertiesByName.get(t)?.notifyChange()}invalidate(t){this.propertiesByName.get(t)?.invalidate()}commit(t){this.propertiesByName.get(t)?.commit()}_internalSet(t,e){const r=this.lifecycle!==l.v.INITIALIZING?this._origin:0;this._setAtOrigin(t,e,r)}_setAtOrigin(t,e,r){const n=this.store,s=t.propertyName,i=n.isAtOrigin(s,r);if(i&&~t.flags&y.i.Overridden&&(0,h.aI)(e,n.get(s)))return;const o=n.isBelowOrigin(s,r)||i;o&&t.invalidate(),n.set(s,e,r),o&&t.commit(),(0,p.fE)(this.host,t)}_cast(t,e){const r=N.acquire();return r.valid=!0,r.value=e,t&&(r.value=t.call(this.host,e,r)),r}}class O{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const N=new f.A(()=>new O);var k=r(47821);var S,j,T=r(14012),C=r(10107),D=r(64108);function E(t){if(null==t)return{value:t};if(Array.isArray(t))return{type:[t[0]],value:null};switch(typeof t){case"object":return t.constructor?.__accessorMetadata__||t instanceof Date?{type:t.constructor,value:t}:t;case"boolean":return{type:Boolean,value:t};case"string":return{type:String,value:t};case"number":return{type:Number,value:t};case"function":return{type:t,value:null};default:return}}const $=Symbol("Accessor-Handles"),M=Symbol("Accessor-Initialized");class I{static{S=$,j=M}static createSubclass(t={}){if(Array.isArray(t))throw new Error("Multi-inheritance unsupported since 4.16");const{properties:e,declaredClass:r,constructor:n}=t;delete t.declaredClass,delete t.properties,delete t.constructor;const s=this;class i extends s{constructor(...t){super(...t),this.inherited=null,n&&n.apply(this,t)}}(0,u.tD)(i.prototype);for(const e in t){const r=t[e];i.prototype[e]="function"==typeof r?function(...t){const n=this.inherited;let i;this.inherited=function(...t){if(s.prototype[e])return s.prototype[e].apply(this,t)};try{i=r.apply(this,t)}catch(t){throw this.inherited=n,t}return this.inherited=n,i}:t[e]}for(const t in e){const r=E(e[t]);(0,C.MZ)(r)(i.prototype,t)}return(0,D.$)(r)(i)}static freeze(t){return t instanceof I?t.__accessor__.mutable=!1:Object.freeze(t),t}static isFrozen(t){return t instanceof I?!t.__accessor__.mutable:Object.isFrozen(t)}constructor(...t){if(this[S]=null,this[j]=!1,this.constructor===I)throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");const e=new A(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:e}),t.length>0&&(e.ctorArgs=this.normalizeCtorArgs?.apply(this,t)??t[0])}postscript(){const t=this.__accessor__,e=t.ctorArgs;t.initialize(),e&&(this.set(e),t.ctorArgs=null),t.constructed(),this.initialize(),this[M]=!0}initialize(){}[a.G](){this[$]=(0,o.pR)(this[$])}destroy(){this.destroyed||((0,T.iS)(this),this.__accessor__.destroy())}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[M]}get destroyed(){return this.__accessor__?.lifecycle===l.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===l.v.DESTROYING||!1}commitProperty(t){(0,c.Jt)(this,t)}hasOwnProperty(t){return this.__accessor__?this.__accessor__.has(t):Object.prototype.hasOwnProperty.call(this,t)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(t,e){return(0,k.h)(this,t,e),this}watch(t,e,r){return(0,n.eO)(i.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,T.wB)(this,t,e,r)}addHandles(t,e){if(this.destroyed){const e=Array.isArray(t)?t:[t];for(const t of e)t.remove();return}(this[$]??=new s.A).add(t,e)}removeHandles(t){this[$]?.remove(t)}removeAllHandles(){this[$]?.removeAll()}removeHandlesReference(t){this[$]?.removeReference(t)}hasHandles(t){return!0===this[$]?.has(t)}_override(t,e){void 0===e?this.__accessor__.clearOverride(t):this.__accessor__.override(t,e)}_clearOverride(t){return this.__accessor__.clearOverride(t)}_overrideIfSome(t,e){null==e?this.__accessor__.clearOverride(t):this.__accessor__.override(t,e)}_isOverridden(t){return this.__accessor__.isOverridden(t)}notifyChange(t){this.__accessor__.notifyChange(t)}_get(t){return this.__accessor__.internalGet(t)}_set(t,e){return this.__accessor__.internalSet(t,e),this}}},98291(t,e,r){r.d(e,{A:()=>i});var n=r(93687);function s(t){t.length=0}class i{constructor(t=50,e=50){this._pool=new n.A(()=>[],void 0,s,e,t)}acquire(){return this._pool.acquire()}release(t){this._pool.release(t)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(t){return o.release(t)}static prune(){o.prune()}}const o=new i(100)},71511(t,e,r){r.d(e,{A:()=>s});var n=r(5479);class s{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let t=0;return this._groups.forEach(e=>{t+=e.length}),t}add(t,e){if((0,n.xZ)(t)){const r=this._getOrCreateGroup(e);for(const e of t)a(e)&&r.push(e)}else a(t)&&this._getOrCreateGroup(e).push(t);return this}forEach(t,e){if("function"==typeof t)this._groups.forEach(e=>e.forEach(t));else{const r=this._getGroup(t);r&&e&&r.forEach(e)}}has(t){return this._groups.has(i(t))}remove(t){if("string"!=typeof t&&(0,n.xZ)(t)){for(const e of t)this.remove(e);return this}return this.has(t)?(o(this._getGroup(t)),this._groups.delete(i(t)),this):this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(t){return this._groups.delete(t),this}_getOrCreateGroup(t){if(this.has(t))return this._getGroup(t);const e=[];return this._groups.set(i(t),e),e}_getGroup(t){return this._groups.get(i(t))}}function i(t){return t||"_default_"}function o(t){for(const e of t)e instanceof s?e.removeAll():e.remove()}function a(t){return null!=t&&(!!t.remove||t instanceof s)}},25482(t,e,r){r.d(e,{o:()=>y,T:()=>d});var n=r(5482),s=r(69622),i=r(4718);class o{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(t){const e=new o;return this._values.forEach((r,n)=>{t&&t.has(n)||e.set(n,(0,i.o8)(r.value),r.origin)}),e}get(t,e){e=this._normalizeOrigin(e);const r=this._values.get(t);return null==e||r?.origin===e?r?.value:void 0}originOf(t){return this._values.get(t)?.origin??7}keys(t){t=this._normalizeOrigin(t);const e=[...this._values.keys()];return null==t?e:e.filter(e=>this._values.get(e)?.origin===t)}set(t,e,r){if(0===(r=this._normalizeOrigin(r))){const e=this._values.get(t);if(null!=e?.origin&&e.origin>r)return}this._values.set(t,new a(e,r))}delete(t,e){null!=(e=this._normalizeOrigin(e))&&this._values.get(t)?.origin!==e||this._values.delete(t)}has(t,e){return null!=(e=this._normalizeOrigin(e))?this._values.get(t)?.origin===e:this._values.has(t)}isAtOrigin(t,e){return e=this._normalizeOrigin(e),this.has(t,e)&&this.originOf(t)===e}isBelowOrigin(t,e){return e=this._normalizeOrigin(e),!this.has(t)||this.originOf(t)<e}forEach(t){this._values.forEach(({value:e},r)=>t(e,r))}_normalizeOrigin(t){if(null!=t)return 0===t?t:7}}class a{constructor(t,e){this.value=t,this.origin=e}}var c=r(76953),l=r(45917),u=r(88620),h=r(49422),f=r(64108);const d=t=>{const e=t;let r=class extends e{constructor(...t){super(...t);const e=(0,u.oY)(this),r=e.store,n=new o;e.store=n,(0,c.k)(e,r,n)}read(t,e){(0,l.L)(this,t,e)}write(t,e){return(0,h.M)(this,t??{},e)}toJSON(t){return this.write({},t)}static fromJSON(t,e){return p.call(this,t,e)}};return r=(0,n.Cg)([(0,f.$)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(t,e){if(!t)return null;if(t.declaredClass)throw new Error("JSON object is already hydrated");const r=new this;return r.read(t,e),r}const y=d(s.A)},93687(t,e,r){r.d(e,{A:()=>n});class n{constructor(t,e,r,n=1,s=0){this._creator=t,this._acquireFunction=e,this._releaseFunction=r,this.allocationSize=n,this._pool=new Array(s),this._initialSize=s;for(let t=0;t<s;t++)this._pool[t]=this._creator();this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=this._creator()}const e=this._pool.pop();return this._acquireFunction?this._acquireFunction(e,...t):function(t){return t?.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&(this._releaseFunction?this._releaseFunction(t):(e=t,e?.release&&"function"==typeof e.release&&t.release()),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){const t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}}},15142(t,e,r){r.d(e,{A:()=>l});var n=r(4576),s=r(21818);const i=(t,e,r,n)=>{let s=e,i=e;const o=r>>>1,a=t[s-1];for(;i<=o;){i=s<<1,i<r&&n(t[i-1],t[i])<0&&++i;const e=t[i-1];if(n(e,a)<=0)break;t[s-1]=e,s=i}t[s-1]=a},o=(t,e)=>t<e?-1:t>e?1:0;function a(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=o);for(let s=r>>>1;s>e;s--)i(t,s,r,n);const s=e+1;for(let o=r-1;o>e;o--){const r=t[e];t[e]=t[o],t[o]=r,i(t,s,o,n)}}function*c(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=t.length),void 0===n&&(n=o);for(let s=r>>>1;s>e;s--)i(t,s,r,n),yield;const s=e+1;for(let o=r-1;o>e;o--){const r=t[e];t[e]=t[o],t[o]=r,i(t,s,o,n),yield}}class l{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new n.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>u(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let r=0;r<this._length;r++){const n=this.data[r];t(n)&&e.push(n)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const r=this.data.indexOf(t,e);return-1!==r&&r<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let r=0;r<e;r++)this.data[this._length++]=t[r]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let r=0;r<e;r++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,u(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,n.qh)(this.data,(0,s.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,n.qh)(this.data,(0,s.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,r){this.length=(0,n.mW)(this.data,t,this.length,e,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const r=this.data[t];this.data[t]=this.data[e],this.data[e]=r}sort(t){a(this.data,0,this.length,t)}iterableSort(t){return c(this.data,0,this.length,t)}some(t,e){for(let r=0;r<this.length;++r)if(t.call(e,this.data[r],r,this.data))return!0;return!1}find(t,e){const{data:r,length:n}=this;for(let s=0;s<n;++s)if(t.call(e,r[s]))return r[s]}filterInPlace(t,e){let r=0;for(let n=0;n<this._length;++n){const s=this.data[n];t.call(e,s,n,this.data)&&(this.data[n]=this.data[r],this.data[r]=s,r++)}if(this._deallocator)for(let t=r;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=r,this._shrink(),this}forAll(t,e){const{data:r,length:n}=this;for(let s=0;s<n;++s)t.call(e,r[s],s,r)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const r=new Array(this.length);for(let n=0;n<this.length;++n)r[n]=t.call(e,this.data[n],n,this.data);return r}reduce(t,e){let r=e;for(let e=0;e<this.length;++e)r=t(r,this.data[e],e,this.data);return r}has(t){const e=this.length,r=this.data;for(let n=0;n<e;++n)if(r[n]===t)return!0;return!1}*[Symbol.iterator](){const{data:t,length:e}=this;for(let r=0;r<e;++r)yield t[r]}}function u(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},67076(t,e,r){r.d(e,{A:()=>s});var n=r(799);class s{constructor(t,e,r){this.name=t,this.details=r,this.type="warning",this.message=e?(0,n.V2)(e,r):""}toString(){const{name:t,message:e}=this;return`[${t}]: ${e}`}}},85537(t,e,r){r.d(e,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},11406(t,e,r){r.d(e,{T:()=>i});var n=r(36563);class s{constructor(t,e){this._observers=t,this._observer=e}remove(){const{_observers:t,_observer:e}=this;if(t[t.length-1]===e)return void t.pop();const r=t.indexOf(this._observer);-1!==r&&t.splice(r,1)}}class i{constructor(){this._observers=null,this.destroyed=!1}observe(t){if(this.destroyed||t.destroyed)return o;null==this._observers&&(this._observers=[]);const e=this._observers;let r=!1,n=!1;for(const s of e)if(s.destroyed)n=!0;else if(s===t){r=!0;break}return r||(e.push(t),n&&this._removeDestroyedObservers()),new s(e,t)}_removeDestroyedObservers(){const t=this._observers;if(!t)return;const e=t.length;if(0===e)return;let r=0;for(let n=0;n<e;++n){for(;n+r<e&&t[n+r].destroyed;)++r;if(r>0){if(!(n+r<e))break;t[n]=t[n+r]}}t.length=e-r}destroy(){if(this.destroyed)return;this.destroyed=!0;const t=this._observers;if(null!=t){for(const e of t)e.onCommitted();this._observers=null}}}const o=(0,n.hA)()},35666(t,e,r){function n(t){switch(t){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function s(t){switch(t){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function i(t){return s(t)}r.d(e,{OL:()=>s,aB:()=>n,in:()=>i})},56454(t,e,r){const n=Symbol("Accessor-beforeDestroy");r.d(e,["G",0,n])},91429(t,e,r){r.d(e,{wg:()=>c,MZ:()=>o,$K:()=>a});var n=r(10107),s=r(79901),i=r(64108);r(93223),r(36005),r(43937);const o=n.MZ,a=i.$;function c(...t){return(0,s.w)(...t)}},79901(t,e,r){r.d(e,{w:()=>c});var n=r(56507),s=r(96156);const i=Object.prototype.toString;function o(t){const e="__accessorMetadata__"in t?(0,n.dp)(t):t;return function(...t){if(t.push(e),"number"==typeof t[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,t)}}function a(t,e,r,n){(0,s.z4)(t,e).cast=n}function c(...t){if(3!==t.length||"string"!=typeof t[1])return 1===t.length&&"[object Function]"===i.call(t[0])?o(t[0]):1===t.length&&"string"==typeof t[0]?function(t){return(e,r)=>{(0,s.z4)(e,t).cast=e[r]}}(t[0]):void 0}},93223(t,e,r){r.d(e,{e:()=>i});var n=r(66552),s=r(10107);function i(t,e={}){const r=t instanceof n.J?t:new n.J(t,e),{alwaysWriteDefaults:i,default:o,ignoreUnknown:a=!0,name:c,nonNullable:l,readOnly:u=!1}=e;return(0,s.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:c,read:!u&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:i}},nonNullable:l,readOnly:u})}},10107(t,e,r){r.d(e,{MZ:()=>c,rM:()=>l});var n=r(53966),s=r(56507),i=r(16649),o=r(96156),a=r(47821);function c(t={}){return(e,r)=>{if(e===Function.prototype)throw new Error(`Inappropriate use of @property() on a static field: ${e.name}.${r}. Accessor does not support static properties.`);const c=Object.getOwnPropertyDescriptor(e,r),l=(0,o.z4)(e,r);c&&(c.get||c.set?(l.get=c.get||l.get,l.set=c.set||l.set):"value"in c&&("value"in t&&n.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${e.constructor.name}" already defined in the metadata`,t),l.value=t.value=c.value)),null!=t.readOnly&&(l.readOnly=t.readOnly);const u=t.aliasOf;if(u){const t="string"==typeof u?u:u.source,e="string"==typeof u?null:!0===u.overridable;let n;l.dependsOn=[t],l.get=function(){let e=(0,i.Jt)(this,t);if("function"==typeof e){n||(n=t.split(".").slice(0,-1).join("."));const r=(0,i.Jt)(this,n);r&&(e=e.bind(r))}return e},l.readOnly||(l.set=e?function(t){this._override(r,t)}:function(e){(0,a.h)(this,t,e)})}const h=t.type,f=t.types;if(!l.cast){let e;h&&!1!==t.useTypeForAutocast?e=function(t){let e=0,r=t;if((0,s.Zu)(t))return(0,s.Nd)(t);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],e++;const n=r;if((0,s.EK)(n))return 0===e?(0,s.MB)(n):(0,s._e)((0,s.MB)(n),e);if(1===e)return(0,s.eC)(n);if(e>1)return(0,s.e6)(n,e);const i=t;return i.from?i.from:(0,s.dp)(i)}(h):f&&(e=Array.isArray(f)?(0,s.wB)((0,s.aq)(f[0])):(0,s.aq)(f)),t.cast=function(t,e){if(t||e)return t?e?(r,n)=>e(t(r,n),n):t:e}(t.cast,e)}(0,o.CX)(l,t),t.range&&(l.cast=(0,s.Qp)(l.cast,t.range))}}function l(t,e,r){const n=(0,o.z4)(t,r);n.json||(n.json={});let s=n.json;return void 0!==e&&(s.origins||(s.origins={}),s.origins[e]||(s.origins[e]={}),s=s.origins[e]),s}},36005(t,e,r){r.d(e,{w:()=>s});var n=r(10107);function s(t,e,r){let s,i;return void 0===e||Array.isArray(e)?(i=t,r=e,s=[void 0]):(i=e,s=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;s.forEach(s=>{const a=(0,n.rM)(t,s,i);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=o[e],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(t,e,r){r.d(e,{$:()=>b}),r(44208);var n=r(53966),s=r(56454),i=r(85537),o=r(96156),a=r(62788),c=r(56507),l=r(90360);function u(t){if(t.json||(t.json={}),f(t.json),d(t.json),h(t.json),t.json.origins)for(const e in t.json.origins)f(t.json.origins[e]),d(t.json.origins[e]),h(t.json.origins[e]);return!0}function h(t){t.name&&(t.read&&"object"==typeof t.read?void 0===t.read.source&&(t.read.source=t.name):t.read={source:t.name},t.write&&"object"==typeof t.write?void 0===t.write.target&&(t.write.target=t.name):t.write={target:t.name})}function f(t){"boolean"==typeof t.read?t.read={enabled:t.read}:"function"==typeof t.read?t.read={enabled:!0,reader:t.read}:t.read&&"object"==typeof t.read&&void 0===t.read.enabled&&(t.read.enabled=!0)}function d(t){"boolean"==typeof t.write?t.write={enabled:t.write}:"function"==typeof t.write?t.write={enabled:!0,writer:t.write}:t.write&&"object"==typeof t.write&&void 0===t.write.enabled&&(t.write.enabled=!0)}var p=r(67124);function y(t){return t.type?g(t):_(t)}function g(t){if(!t.type)return;let e=0,r=t.type;for(;Array.isArray(r)&&!(0,c.EK)(r);)r=r[0],e++;return{type:r,ndimArray:e}}function _(t){if(!t.types)return;let e=0,r=t.types;for(;Array.isArray(r);)r=r[0],e++;return{types:r,ndimArray:e}}function v(t){u(t)&&(function(t){if(t.json&&t.json.origins){const e=t.json.origins,r={"web-document":["web-scene","web-map"]};for(const t in r)if(e[t]){const n=e[t];r[t].forEach(t=>{e[t]=n}),delete e[t]}}}(t),function(t){const e=function(t){return t.json.types?_(t.json):t.type?g(t):_(t)}(t);if(t.json.origins)for(const r in t.json.origins){const n=t.json.origins[r],s=n.types?y(n):e;(0,l.v)(s,n,!1),n.types&&!n.write&&t.json.write?.enabled&&(n.write={...t.json.write}),(0,p.v)(s,n)}(0,l.v)(e,t.json,!0),(0,p.v)(e,t.json)}(t))}const m=new Set,w=new Set;function b(t){return e=>{t??="esri.core.Accessor",e.prototype.declaredClass=t,k(e);const r=[],n=[];let a=e.prototype;for(;a;)a.hasOwnProperty("initialize")&&!m.has(a.initialize)&&(m.add(a.initialize),r.push(a.initialize)),a.hasOwnProperty("destroy")&&!w.has(a.destroy)&&(w.add(a.destroy),n.push(a.destroy)),a=Object.getPrototypeOf(a);m.clear(),w.clear();const c=class extends e{constructor(...t){if(super(...t),this.constructor===c&&"function"==typeof this.postscript){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let t=r.length-1;t>=0;t--)r[t].call(this)}}),n.length){let t=!1;const e=this[s.G];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!t){this.__accessor__.lifecycle=i.v.DESTROYING,t=!0,e.call(this);for(let t=0;t<n.length;t++)n[t].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};c.__accessorMetadata__=(0,o.tD)(e.prototype),c.prototype.declaredClass=t;const l=(t||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(c.prototype,Symbol.toStringTag,{value:l,configurable:!0,writable:!0,enumerable:!1}),c}}function A(t,{get:e,value:r}){return null==e?function(){const e=this.__accessor__,n=e.propertiesByName.get(t);if(void 0===n)return;e.mutable&&(0,a.gc)(n);const s=e.store;return s.has(t)?s.get(t):r}:function(){const r=this.__accessor__;return r.propertiesByName.get(t)?.getComputed(r,e)}}function O(t,e,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}function N(t,e){return e.readOnly&&e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?S("read-only",t):n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?S("construct-only",t):void n.set(t,r)}else O(this,t,r)}:e.readOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.initialized&&e.readOnly?S("read-only",t):void n.set(t,r)}else O(this,t,r)}:e.constructOnly?function(r){const n=this.__accessor__;if(n){if(n.mutable)return n.lifecycle===i.v.CONSTRUCTED&&e.constructOnly?S("construct-only",t):void n.set(t,r)}else O(this,t,r)}:function(e){const r=this.__accessor__;r?r.mutable&&r.set(t,e):O(this,t,e)}}function k(t){const e=t.prototype,r=(0,o.tD)(e),n={};for(const t of Object.getOwnPropertyNames(r)){const e=r[t];v(e),n[t]={enumerable:!0,configurable:!0,get:A(t,e),set:N(t,e)}}Object.defineProperties(t.prototype,n)}const S=(t,e)=>{n.A.getLogger("esri.core.Accessor").error(`cannot assign to ${t} property '${e}'`)}},43937(t,e,r){r.d(e,{K:()=>s});var n=r(10107);function s(t,e,r){let s,i;return void 0===e?(i=t,s=[void 0]):"string"!=typeof e?(i=t,s=[void 0],r=e):(i=e,s=Array.isArray(t)?t:[t]),(t,e)=>{const o=t.constructor.prototype;for(const a of s){const s=(0,n.rM)(t,a,i);s.write&&"object"==typeof s.write||(s.write={}),r&&(s.write.target=r),s.write.writer=o[e]}}}},76953(t,e,r){function n(t,e,r){e.keys().forEach(t=>{r.set(t,e.get(t),0)});const n=t.metadata;Object.keys(n).forEach(e=>{t.internalGet(e)&&r.set(e,t.internalGet(e),0)})}r.d(e,{k:()=>n})},56507(t,e,r){r.d(e,{EK:()=>C,GB:()=>l,GX:()=>c,MB:()=>D,Nd:()=>z,PZ:()=>v,Qp:()=>f,Uv:()=>M,Vr:()=>u,Zu:()=>I,_e:()=>j,aq:()=>E,dp:()=>A,e6:()=>T,eC:()=>k,jz:()=>$,qf:()=>O,wB:()=>N});var n=r(53966),s=r(91869);const i=()=>n.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(t){if(null==t)return t;const e=new Date(t);return isNaN(e.getTime())?(i().error("Accessor#set",`Invalid date value: '${t}', falling back to current date`),new Date):e}function a(t){return null==t?t:!!t}function c(t){return null==t?t:t.toString()}function l(t,e=0){return null==t?t:(t=parseFloat(t),isNaN(t)?e:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function h(t){return null}function f(t,e){return r=>{let n=t(r);return null!=e.step&&(n=Math.round(n/e.step)*e.step),null!=e.min&&(n=Math.max(e.min,n)),null!=e.max&&(n=Math.min(e.max,n)),n}}function d(t){return t?.constructor&&void 0!==t.constructor.__accessorMetadata__}function p(t,e){return null!=e&&t&&!(e instanceof t)}function y(t){return t&&"isCollection"in t}function g(t){return t?.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function _(t,e){return!!d(e)&&(i().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+m(t)+"'"),!0)}function v(t,e){return null==e?e:y(t)?function(t,e){if(!e?.constructor||!y(e.constructor))return _(t,e)?e:new t(e);const r=g(t.prototype.itemType),n=g(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(_(t,e),e):new t(e):e}(t,e):p(t,e)?_(t,e)?e:new t(e):e}function m(t){return t?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(t){switch(t){case Number:return t=>l(t);case $:return u;case Boolean:return a;case String:return c;case Date:return o;case M:return h;default:return(0,s.tE)(w,t,()=>v.bind(null,t))}}function A(t,e){const r=b(t);return 1===arguments.length?r:r(e)}function O(t){const e=b(t);return t=>e(t)}function N(t,e,r){return 1===arguments.length?N.bind(null,t):e?Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]:e}function k(t,e){return 1===arguments.length?N(e=>A(t,e)):N(e=>A(t,e),e)}function S(t,e,r){return 0!==e&&Array.isArray(r)?r.map(r=>S(t,e-1,r)):t(r)}function j(t,e,r){if(2===arguments.length)return r=>j(t,e,r);if(!r)return r;r=S(t,e,r);let n=e,s=r;for(;n>0&&Array.isArray(s);)n--,s=s[0];if(void 0!==s)for(let t=0;t<n;t++)r=[r];return r}function T(t,e,r){return 2===arguments.length?j(e=>A(t,e),e):j(e=>A(t,e),e,r)}function C(t){return!!Array.isArray(t)&&!t.some(e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)})}function D(t,e){if(2===arguments.length)return D(t).call(null,e);const r=new Set,n=t.filter(t=>"function"!=typeof t),s=t.filter(t=>"function"==typeof t);for(const e of t)"string"!=typeof e&&"number"!=typeof e||r.add(e);let o=null,a=null;return(t,e)=>{if(null==t)return t;const c=typeof t,l="string"===c||"number"===c;return l&&(r.has(t)||s.some(t=>"string"===c&&t===String||"number"===c&&t===Number))||"object"===c&&s.some(e=>!p(e,t))?t:(l&&n.length?(o||(o=n.map(t=>"string"==typeof t?`'${t}'`:`${t}`).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof t&&s.length?(a||(a=s.map(t=>m(t)).join(", ")),i().error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${a}`)):i().error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function E(t,e){if(2===arguments.length)return E(t).call(null,e);const r={},n=[],s=[];for(const e in t.typeMap){const i=t.typeMap[e];r[e]=A(i),n.push(m(i)),s.push(e)}const o=()=>`'${n.join("', '")}'`,a=()=>`'${s.join("', '")}'`,c="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!p(t.base,e))return e;if(null==e)return e;const n=c(e)||t.defaultKeyValue,s=r[n];if(!s)return i().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(t.typeMap[n],e))return e;if("string"==typeof t.key&&!d(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return s(r)}return s(e)}}class ${}class M{}function I(t){if(!t||"object"!=typeof t&&"function"!=typeof t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function z(t){switch(t.type){case"native":return A(t.value);case"array":return N(z(t.value));case"one-of":return function(t){let e=null;return(r,n)=>q(r,t)?r:(null==e&&(e=P(t)),i().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}(t);default:return null}}function P(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case M:return"null";default:return m(t.value)}case"array":return`array of ${P(t.value)}`;case"one-of":{const e=t.values.map(t=>P(t));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function q(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case $:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t;case M:return null===t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(t=>!q(t,e.value));case"one-of":return e.values.some(e=>q(t,e))}}r.d(e,["gK",0,{native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})}])},90360(t,e,r){r.d(e,{C:()=>h,v:()=>u});var n=r(53966),s=r(93637),i=r(96156),o=r(15903),a=r(7142),c=r(59923);const l=()=>n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function u(t,e,r){t&&(!r&&!e.read||e.read?.reader||!1===e.read?.enabled||function(t){return"types"in t?_(t.types):g(t.type)}(t)&&(0,s.sM)("read.reader",h(t),e))}function h(t){const e=t.ndimArray??0;if(e>1)return function(t){const e=f(t),r=d.bind(null,e),n=t.ndimArray??0;return(t,e,s)=>{if(null==t)return t;t=r(t,s,n);let i=n,o=t;for(;i>0&&Array.isArray(o);)i--,o=o[0];if(void 0!==o)for(let e=0;e<i;e++)t=[t];return t}}(t);if(1===e)return p(t);if("type"in t&&y(t.type)){const e=t.type.prototype?.itemType?.Type,r=p("function"==typeof e?{type:e}:{types:e});return(e,n,s)=>{const i=r(e,n,s);return i?new t.type(i):i}}return f(t)}function f(t){return"type"in t?function(t){return t.prototype.read?(e,r,n)=>{if(null==e)return e;const s=typeof e;if("object"!==s)return void l().error(`Expected JSON value of type 'object' to deserialize type '${t.prototype.declaredClass}', but got '${s}'`);const i=new t;return i.read(e,n),i}:t.fromJSON}(t.type):function(t){let e=null;const r=t.errorContext??"type",n=t.validate;return(s,o,u)=>{if(null==s)return s;const h=typeof s;if("object"!==h)return void l().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);e||(e=function(t){const e={};for(const r in t.typeMap){const n=t.typeMap[r],s=(0,i.tD)(n.prototype);if("function"==typeof t.key)continue;const o=s[t.key];if(!o)continue;if(o.json?.type&&Array.isArray(o.json.type)&&1===o.json.type.length&&"string"==typeof o.json.type[0]){e[o.json.type[0]]=n;continue}const a=o.json?.write;if(!a?.writer){e[r]=n;continue}const c=a.target,l="string"==typeof c?c:t.key,u={};a.writer(r,u,l),u[l]&&(e[u[l]]=n)}return e}(t));const f=t.key;if("string"!=typeof f)return;const d=s[function(t,e,r){const n=Object.values(e)[0],s=(0,i.tD)(n.prototype)[t],o=(0,a.N5)(s,r),c=o?.read?.source;return c&&"string"==typeof c?c:t}(f,e,u)],p=d?e[d]:t.defaultKeyValue?t.typeMap[t.defaultKeyValue]:void 0;if(!p){const t=`Type '${d||"unknown"}' is not supported`;return u?.messages&&s&&(0,c.Yc)(u,"warning",r,t,{definition:s,context:u}),void l().error(t)}const y=new p;return y.read(s,u),n?n(y):y}}(t.types)}function d(t,e,r,n){return 0!==n&&Array.isArray(e)?e.map(e=>d(t,e,r,n-1)):t(e,void 0,r)}function p(t){const e=f(t);return(t,r,n)=>{if(null==t)return t;if(Array.isArray(t)){const r=[];for(const s of t){const t=e(s,void 0,n);void 0!==t&&r.push(t)}return r}const s=e(t,void 0,n);return void 0!==s?[s]:void 0}}function y(t){if(!(0,o.P)(t))return!1;const e=t.prototype.itemType;return!(!e||!e.Type)&&("function"==typeof e.Type?g(e.Type):_(e.Type))}function g(t){return!Array.isArray(t)&&!!t&&("object"==typeof t||"function"==typeof t)&&t.prototype&&("read"in t.prototype||"fromJSON"in t||y(t))}function _(t){for(const e in t.typeMap)if(!g(t.typeMap[e]))return!1;return!0}},15903(t,e,r){function n(t){return!!t&&t.prototype?.declaredClass&&0===t.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(e,{P:()=>n})},7142(t,e,r){function n(t,e){return o(t,"any",e?.origin)}function s(t,e){return o(t,"read",e?.origin)}function i(t,e){return o(t,"write",e?.origin)}function o(t,e,r){let n=t?.json;if(n?.origins&&r){let t;t="link-chart"===r?n.origins[r]&&("any"===e||e in n.origins[r])?n.origins[r]:n.origins["web-map"]:n.origins[r],t&&("any"===e||e in t)&&(n=t)}return n}r.d(e,{N5:()=>s,k4:()=>i,xF:()=>n})},67124(t,e,r){r.d(e,{B:()=>h,v:()=>a});var n=r(53966),s=r(93637),i=r(15903),o=r(59923);function a(t,e){if(!e.write||e.write.writer||!1===e.write.enabled&&!e.write.overridePolicy)return;const r=t?.ndimArray??0;t&&(1===r||"type"in t&&(0,i.P)(t.type))?e.write.writer=f:r>1?e.write.writer=function(t){return(e,r,n,i)=>{let o;if(null===e)o=null;else{o=d(e,i,t);let r=t,n=o;for(;r>0&&Array.isArray(n);)r--,n=n[0];if(void 0!==n)for(let t=0;t<r;t++)o=[o]}(0,s.sM)(n,o,r)}}(r):e.types?Array.isArray(e.types)?e.write.writer=function(t){return(e,r,n,s)=>e&&Array.isArray(e)?l(e.filter(e=>c(e,t,s)),r,n,s):l(e,r,n,s)}(e.types[0]):e.write.writer=function(t){return(e,r,n,s)=>e?c(e,t,s)?l(e,r,n,s):void 0:l(e,r,n,s)}(e.types):e.write.writer=l}function c(t,e,r){for(const r in e.typeMap)if(t instanceof e.typeMap[r])return!0;if(r?.messages){const s=e.errorContext??"type",i=`Values of type '${("function"!=typeof e.key?t[e.key]:t.declaredClass)??"Unknown"}' cannot be written`;r&&r.messages&&t&&(0,o.Yc)(r,"error",s,i,{definition:t,context:r}),n.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(i)}return!1}function l(t,e,r,n){(0,s.sM)(r,u(t,n),e)}function u(t,e){return t&&"function"==typeof t.write?t.write({},e):t&&"function"==typeof t.toJSON?t.toJSON():"number"==typeof t?h(t):t}function h(t){return t===-1/0?-Number.MAX_VALUE:t===1/0?Number.MAX_VALUE:isNaN(t)?null:t}function f(t,e,r,n){let i;null===t?i=null:t&&"function"==typeof t.map?(i=t.map(t=>u(t,n)),"function"==typeof i.toArray&&(i=i.toArray())):i=[u(t,n)],(0,s.sM)(r,i,e)}function d(t,e,r){return 0!==r&&Array.isArray(t)?t.map(t=>d(t,e,r-1)):u(t,e)}},16649(t,e,r){r.d(e,{Jt:()=>a,RP:()=>o,t2:()=>c});var n=r(88620);function s(t,e){const r=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){const t=parseInt(r,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}const s=(0,n.oY)(e);return(0,n.yh)(s,r)?s.get(r):e[r]}function i(t,e,r){if(null==t)return t;const n=s(e[r],t);return!n&&r<e.length-1?void 0:r===e.length-1?n:i(n,e,r+1)}function o(t,e,r=0){return"string"!=typeof e||e.includes(".")?i(t,(0,n.AH)(e),r):s(e,t)}function a(t,e){return o(t,e)}function c(t,e){return void 0!==o(e,t)}},96156(t,e,r){r.d(e,{CX:()=>a,tD:()=>i,z4:()=>o});var n=r(4718),s=r(88620);function i(t){let e=t.constructor.__accessorMetadata__;const r=Object.prototype.hasOwnProperty.call(t.constructor,"__accessorMetadata__");if(e){if(!r){e=Object.create(e);for(const t in e)e[t]=(0,n.o8)(e[t]);Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0})}}else e={},Object.defineProperty(t.constructor,"__accessorMetadata__",{value:e,enumerable:!1,configurable:!0,writable:!0});return t.constructor.__accessorMetadata__}function o(t,e){const r=i(t);let n=r[e];return n||(n=r[e]={}),n}function a(t,e){return(0,s.h1)(t,e,l)}const c=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function l(t){return c.test(t)?"replace":"merge"}},45917(t,e,r){r.d(e,{L:()=>u,t:()=>h});var n=r(16649),s=r(88620),i=r(7142);function o(t,e,r){if(!t?.read||!1===t.read.enabled||!t.read.source)return!1;const s=t.read.source;if("string"==typeof s){if(s===e)return!0;if(s.includes(".")&&s.startsWith(e)&&(0,n.t2)(s,r))return!0}else for(const t of s){if(t===e)return!0;if(t.includes(".")&&t.startsWith(e)&&(0,n.t2)(t,r))return!0}return!1}function a(t,e,r,n,s){let a=(0,i.N5)(e[r],s);(function(t){return t&&(!t.read||!1!==t.read.enabled&&!t.read.source)})(a)&&(t[r]=!0);for(const c of Object.getOwnPropertyNames(e))a=(0,i.N5)(e[c],s),o(a,r,n)&&(t[c]=!0)}function c(t,e,r,n){const s=r.metadata,o=(0,i.xF)(s[e],n),a=o?.default;if(void 0===a)return;const c="function"==typeof a?a.call(t,e,n):a;void 0!==c&&r.set(e,c)}const l={origin:"service"};function u(t,e,r=l){if(!e||"object"!=typeof e)return;const o=(0,s.oY)(t),u=o.metadata,h={};for(const t of Object.getOwnPropertyNames(e))a(h,u,t,e,r);o.setDefaultOrigin(r.origin);for(const s of Object.getOwnPropertyNames(h)){const a=(0,i.N5)(u[s],r).read,c=a?.source;let l;l=c&&"string"==typeof c?(0,n.RP)(e,c):e[s],a?.reader&&(l=a.reader.call(t,l,e,r)),void 0!==l&&o.set(s,l)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(const e of Object.getOwnPropertyNames(u))h[e]||c(t,e,o,r)}o.setDefaultOrigin("user")}function h(t,e,r,n=l){const s={...n,messages:[]};r(s),s.messages?.forEach(e=>{"warning"!==e.type||t.loaded?n?.messages&&n.messages.push(e):t.loadWarnings.push(e)})}},47821(t,e,r){r.d(e,{h:()=>o});var n=r(49186),s=r(44208),i=(r(53966),r(16649));function o(t,e,r){if(t&&e)if("object"==typeof e)for(const r of Object.getOwnPropertyNames(e))o(t,r,e[r]);else{if(e.includes(".")){const n=e.split("."),s=n.splice(-1,1)[0];return void o((0,i.Jt)(t,n),s,r)}const a=t.__accessor__;null!=a&&function(t,e){if((0,s.A)("esri-unknown-property-errors")&&!function(t,e){return null!=e.metadata[t]}(t,e))throw new n.A("set:unknown-property",function(t,e){return"setting unknown property '"+t+"' on instance of "+e.host.declaredClass}(t,e))}(e,a),t[e]=r}}},62788(t,e,r){r.d(e,{F_:()=>d,Xr:()=>v,a:()=>f,fE:()=>g,gc:()=>l}),r(44208);var n=r(53966),s=r(88620),i=r(47328);const o=new(r(67867).R),a=[];let c=o;function l(t){c.onAccessed(t)}let u=!1,h=!1;function f(t,e,r){if(u)return p(t,e,r);let s;if(h){c=t,a.push(t);try{s=e.call(r)}catch(t){throw n.A.getLogger("esri.core.accessorSupport.tracking").error(t),t}finally{y()}}else{c=t,a.push(t);try{s=e.call(r)}finally{y()}}return s}function d(t,e){return f(o,t,e)}function p(t,e,r){const s=u;let i;u=!0,c=t,a.push(t);try{i=e.call(r)}catch(t){h&&n.A.getLogger("esri.core.accessorSupport.tracking").error(t)}return y(),u=s,i}function y(){const t=a.length;if(t>1){const e=a.pop();c=a[t-2],e.onTrackingEnd()}else if(1===t){const t=a.pop();c=o,t.onTrackingEnd()}else c=o}function g(t,e){if(e.flags&i.i.DepTrackingInitialized)return;e.flags|=i.i.DepTrackingInitialized;const r=h;h=!1,e.flags&i.i.AutoTracked?p(e.trackingTarget,e.metadata.get,t):v(t,e),h=r}const _=[];function v(t,e){e.flags&i.i.ExplicitlyTracking||(e.flags|=i.i.ExplicitlyTracking,p(e.trackingTarget,()=>{const r=e.metadata.dependsOn||_;for(const e of r)if("string"!=typeof e||e.includes(".")){const r=(0,s.AH)(e);for(let e=0,n=t;e<r.length&&null!=n&&"object"==typeof n;++e)n=m(n,r[e],e!==r.length-1)}else m(t,e,!1)}),e.flags&=~i.i.ExplicitlyTracking)}function m(t,e,r){const n=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){const e=parseInt(n,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}const i=(0,s.oY)(t);if(i){const e=i.propertiesByName.get(n);e&&(l(e),g(t,e))}return r?t[n]:void 0}},47328(t,e,r){r.d(e,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},71429(t,e,r){r.d(e,{r:()=>s});var n=r(67867);class s extends n.R{constructor(t){super(new i(t)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&o.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}}class i{constructor(t){this._notify=t,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;const t=this._invalidCount;if(1===t)return this._invalidCount=0,void this._notify();this._invalidCount=t>0?t-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(t=>{t.deref()?.destroy()});function a(){}},67867(t,e,r){r.d(e,{R:()=>n});class n{constructor(t){this.accessed=void 0,this._handles=void 0,this._observer=t}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(t){null!=this._observer&&t!==this._observer&&(null==this.accessed&&(this.accessed=new Set),this.accessed.add(t))}onTrackingEnd(){null!=this._observer&&(this.clear(),null!=this.accessed&&(null==this._handles&&(this._handles=[]),this.accessed.forEach(t=>{this._handles.push(t.observe(this._observer))}),this.accessed.clear()))}clear(){if(null!=this._handles)for(;this._handles.length;)this._handles.pop().remove()}}},80559(t,e,r){r.d(e,{Df:()=>l,fm:()=>u,mJ:()=>c});var n=r(36563),s=r(62788),i=r(71429);let o=!1;const a=[];function c(t,e){let r=new i.r(function n(){if(!r||c)return;if(o)return void h(n);const i=a;r.clear(),o=!0,c=!0,a=(0,s.a)(r,t),c=!1,o=!1,e(a,i),f()}),a=null,c=!1;return c=!0,a=(0,s.a)(r,t),c=!1,(0,n.hA)(function(){r&&(r.destroy(),r=null,a=null)})}function l(t,e){let r=new i.r(function(){e(o,a)}),o=null;function a(){return r?(r.clear(),o=(0,s.a)(r,t),o):null}return a(),(0,n.hA)(function(){r&&(r.destroy(),r=null),o=null})}function u(t,e){let r=!1,a=!1;const c=!!e?.sync;let l=new i.r(()=>{r||a||(a=!0,c?u():queueMicrotask(u))});function u(){a=!1,l&&!r&&(o?h(u):(l.clear(),o=!0,r=!0,(0,s.a)(l,t),r=!1,o=!1,f()))}return r=!0,(0,s.a)(l,t),r=!1,(0,n.hA)(function(){l&&(l.destroy(),l=null)})}function h(t){a.includes(t)||a.unshift(t)}function f(){for(;a.length;)a.pop()()}},88620(t,e,r){r.d(e,{AH:()=>l,h1:()=>a,oY:()=>i,qg:()=>h,yh:()=>o});var n=r(36563),s=r(4718);function i(t){return t.__accessor__??null}function o(t,e){return null!=t?.metadata?.[e]}function a(t,e,r){return c(t,e,r?{policy:r,path:""}:null)}function c(t,e,r){return e?Object.keys(e).reduce((t,n)=>{const i=n;if("__proto__"===i)return t;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${n}`:n,a=r.policy(o)),"replace"===a)return t[i]=e[i],t;if("replace-arrays"===a&&Array.isArray(t[i]))return t[i]=e[i],t;if(void 0===t[i])return t[i]=(0,s.o8)(e[i]),t;let l=t[i],u=e[i];if(l===u)return t;if(Array.isArray(u)||Array.isArray(t))l=l?Array.isArray(l)?t[i]=l.slice():t[i]=[l]:t[i]=[],u&&(Array.isArray(u)||(u=[u]),u.forEach(t=>{l.includes(t)||l.push(t)}));else if(u&&"object"==typeof u)if(r){const e=r.path;r.path=o,t[i]=c(l,u,r),r.path=e}else t[i]=c(l,u,null);else t.hasOwnProperty(n)&&!e.hasOwnProperty(n)||(t[i]=u);return t},t||{}):t}function l(t){return Array.isArray(t)?t:t.split(".")}function u(t){return t.includes(",")?t.split(",").map(t=>t.trim()):[t.trim()]}function h(t,e,r,s){const i=function(t){if(Array.isArray(t)){const e=[];for(const r of t)e.push(...u(r));return e}return u(t)}(e);if(1!==i.length){const e=i.map(e=>s(t,e,r));return(0,n.vE)(e)}return s(t,i[0],r)}},14012(t,e,r){r.d(e,{iS:()=>w,wB:()=>N,Cn:()=>k});var n=r(98291),s=r(36563),i=r(4718),o=r(93687);class a extends o.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...t){const e=super.acquire(...t);return this._set.delete(e),e}release(t){t&&!this._set.has(t)&&(super.release(t),this._set.add(t))}_dispose(t){this._set.delete(t),super._dispose(t)}}var c=r(76030),l=r(24326),u=r(16649),h=r(85537),f=r(80559),d=r(88620);class p{constructor(){this.uid=(0,l.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new a(()=>new p)}static acquireUntracked(t,e,r,n,s){return this.pool.acquire(0,t,e,r,n,s,i.aI)}static acquireTracked(t,e,r,n){return this.pool.acquire(1,t,e,r,null,null,n)}notify(t,e){0===this.type?this.callback.call(this.target,t,e,this.path,this.target):this.callback.call(null,t,e,void 0,void 0)}acquire(t,e,r,n,s,i,o){this.uid=(0,l.c)(),this.removed=!1,this.type=t,this.oldValue=e,this.callback=r,this.getValue=n,this.target=s,this.path=i,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,l.c)(),this.removed=!0}}const y=new n.A,g=new Set;let _;function v(t){g.delete(t),g.add(t),_||(_=(0,c._)(b))}function m(t){if(t.removed)return;const e=t.oldValue,r=t.getValue();t.equals(e,r)||(t.oldValue=r,t.notify(r,e))}function w(t){for(const e of g.values())e.target===t&&(e.removed=!0)}function b(){let t=10;for(;_&&t--;){_=null;const t=A(),e=y.acquire();for(const r of t){const t=r.uid;m(r),t===r.uid&&r.removed&&e.push(r)}for(const t of g)t.removed&&(e.push(t),g.delete(t));for(const t of e)p.pool.release(t);y.release(e),y.release(t),O.forEach(t=>t())}}function A(){const t=y.acquire();t.length=g.size;let e=0;for(const r of g)t[e]=r,++e;return g.clear(),t}const O=new Set;function N(t,e,r,n=!1){return t.__accessor__&&t.__accessor__.lifecycle!==h.v.DESTROYED?n?function(t,e,r){const n=(0,d.qg)(t,e,r,(t,e,r)=>{let s=!1;return(0,f.mJ)(()=>(0,u.RP)(t,e),(o,a)=>{t.__accessor__.lifecycle!==h.v.DESTROYED?s||(s=!0,(0,i.aI)(a,o)||r.call(t,o,a,e,t),s=!1):n.remove()})});return n}(t,e,r):function(t,e,r){let n=(0,d.qg)(t,e,r,(t,e,r)=>{let i,o,a=(0,f.Df)(()=>(0,u.RP)(t,e),(s,a)=>{t.__accessor__?.lifecycle===h.v.DESTROYED||i&&i.uid!==o?n.remove():(i||(i=p.acquireUntracked(s,r,a,t,e),o=i.uid),v(i))});return(0,s.hA)(()=>{a.remove(),i&&(i.uid!==o||i.removed||(i.removed=!0,v(i)),i=null),n=a=null})});return n}(t,e,r):(0,s.hA)()}function k(t,e,r=!1,n=i.gh){return r?function(t,e,r){let n=!1;return(0,f.mJ)(t,(t,s)=>{n||(n=!0,r(s,t)||e(t,s),n=!1)})}(t,e,n):function(t,e,r){let n,i,o=(0,f.Df)(t,(t,s)=>{n&&n.uid!==i?o.remove():(n||(n=p.acquireTracked(t,e,s,r),i=n.uid),v(n))});return(0,s.hA)(()=>{o.remove(),n&&(n.uid!==i||n.removed||(n.removed=!0,v(n)),n=null),o=null})}(t,e,n)}},49422(t,e,r){r.d(e,{M:()=>d,R:()=>f});var n=r(4576),s=r(49186),i=r(53966),o=r(16649),a=r(35666),c=r(88620),l=r(7142);function u(t,e,r,n,s){const i={};return e.write?.writer?.call(t,n,i,r,s),i}function h(t,e,r,c,l,u){if(!c?.write)return!1;const h=(0,o.Jt)(t,r);if(!l&&c.write.overridePolicy){const e=c.write.overridePolicy.call(t,h,r,u??void 0);void 0!==e&&(l=e)}if(l||(l=c.write),!l||!1===l.enabled)return!1;if(l.layerContainerTypes&&u?.layerContainerType&&!l.layerContainerTypes.includes(u.layerContainerType))return!1;if((null===h&&!l.allowNull&&!l.writerEnsuresNonNull||void 0===h)&&l.isRequired){const e=new s.A("web-document-write:property-required",`Missing value for required property '${r}' on '${t.declaredClass}'`,{propertyName:r,target:t});return e&&u?.messages?u.messages.push(e):e&&!u&&i.A.getLogger("esri.core.accessorSupport.write").error(e.name,e.message),!1}return!(void 0===h||null===h&&!l.allowNull&&!l.writerEnsuresNonNull||!(l.alwaysWriteDefaults||e.store.multipleOriginsSupported&&0!==e.store.originOf(r))&&function(t,e,r,s,i){const o=s.default;if(void 0===o)return!1;if(null!=s.defaultEquals)return s.defaultEquals(i);if("function"==typeof o){if(Array.isArray(i)){const s=o.call(t,e,r??void 0);return(0,n.aI)(s,i)}return!1}return o===i}(t,r,u,c,h)||!l.ignoreOrigin&&u?.origin&&e.store.multipleOriginsSupported&&e.store.originOf(r)<(0,a.aB)(u.origin))}function f(t,e,r,n){const s=(0,c.oY)(t),i=s.metadata,o=(0,l.k4)(i[e],n);return!!o&&h(t,s,e,o,r,n)}function d(t,e,r){if(t&&"function"==typeof t.toJSON&&(!t.toJSON.isDefaultToJSON||!t.write))return(0,c.h1)(e,t.toJSON(r));const n=(0,c.oY)(t),s=n.metadata;for(const i in s){const f=(0,l.k4)(s[i],r);if(!h(t,n,i,f,void 0,r))continue;const d=(0,o.Jt)(t,i),p=u(t,f,f.write&&"string"==typeof f.write.target?f.write.target:i,d,r);Object.keys(p).length>0&&(e=(0,c.h1)(e,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,c.h1)(e,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:t,propName:i,oldOrigin:(0,a.in)(n.store.originOf(i)),newOrigin:r.origin}))}return e}},5479(t,e,r){function n(t){const e=[];return function*(){yield*e;let r,n=e.length;for(;!(r=t.next()).done;)for(e.push(r.value),yield r.value;++n<e.length;)yield e[n]}}r.d(e,{I6:()=>o,N5:()=>i,PP:()=>n,xZ:()=>c,zN:()=>a});const s=Object.freeze({done:!0,value:void 0});function i(t){const e=[];let r=null,n=null,i=!1;async function o(){if(i)return s;if(null!=n)return n;n=t.next();try{const t=await n;return n=null,t.done?(i=!0,s):(e.push(t.value),t)}catch(t){throw i=!0,n=null,r=t,t}}return async function*(){yield*e;let t,n=e.length;for(;!(t=await o()).done;)for(yield t.value;++n<e.length;)yield e[n];if(null!=r)throw r}}function o(t,e){for(const r of t)if(null!=r&&e(r))return r}function a(t,e){for(const r of t)if(e(r))return!0;return!1}function c(t){return null!=t&&"function"==typeof t[Symbol.iterator]}},66552(t,e,r){r.d(e,{J:()=>s,O:()=>o});var n=r(93637);class s{constructor(t,e={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=t,this._options=e,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(t){const e={};for(const r in t)e[t[r]]=r;return e}(t),this.apiValues=i(this._apiToJSON),this.jsonValues=i(this._jsonToAPI),this.read=t=>this.fromJSON(t),this.write=(t,e,r)=>{const s=this.toJSON(t);void 0!==s&&(0,n.sM)(r,s,e)},this.write.isJSONMapWriter=!0}toJSON(t){if(null==t)return null;if(this._apiToJSON.hasOwnProperty(t)){const e=this._apiToJSON[t];return this._options.useNumericKeys?+e:e}return this._options.ignoreUnknown?null:t}fromJSON(t){return null!=t&&this._jsonToAPI.hasOwnProperty(t)?this._jsonToAPI[t]:this._options.ignoreUnknown?void 0:t}}function i(t){const e=[];for(const r in t)e.push(r);return e.sort(),e}function o(){return function(t,e){return new s(t,{ignoreUnknown:!0,...e})}}},26390(t,e,r){r.d(e,{d:()=>s});const n=[];function s(t){n.push(t),1===n.length&&queueMicrotask(()=>{const t=n.slice();n.length=0;for(const e of t)e()})}},76030(t,e,r){r.d(e,{_:()=>g,$m:()=>O,md:()=>A});var n=r(26390);function s(t,e,r,n,s){console.timeStamp(t,e,r,s,n)}class i{constructor(t,e=30){this.name=t,this._counter=0,this._samples=new Array(e)}push(t){null!=t&&(this._samples[++this._counter%this._samples.length]=t)}set(t){null!=t&&(this._samples[this._counter%this._samples.length]=t)}get median(){return this._samples.slice().sort((t,e)=>t-e)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((t,e)=>t+e,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),c=r(78659);class l{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}}let u=0;const h={time:(0,c.l5)(0),deltaTime:(0,c.l5)(0),elapsedFrameTime:(0,c.l5)(0),frameDuration:(0,c.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(t=!1){p.forAll(t=>{t.removed=!0}),t&&w()},dispatch:b,executeFrameTasks:function(t){const e=(0,c.l5)(t-u);u=t;const r=1e3/60,n=Math.max(0,e-r);h.time=t,h.frameDuration=(0,c.l5)(r-n);for(let r=0;r<f.length;r++){const n=performance.now(),i=f[r];p.forAll(n=>{n.paused||n.removed||(0===r&&n.ticks++,n.phases[i]&&(h.elapsedFrameTime=(0,c.l5)(performance.now()-t),h.deltaTime=0===n.ticks?(0,c.l5)(0):e,n.phases[i]?.call(n,h)))});const o=performance.now();N[r].push(o-n),s(i,n,o,"Maps SDK","Scheduling")}w();const i=performance.now();k.push(i-t),s("Animation Frame",t,i,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(t){const e=new l(t);return d.push(e),y.willDispatch||(y.willDispatch=!0,(0,n.d)(b)),e}let _=null;function v(){const t=performance.now();_=null;const e=p.some(t=>!t.paused&&!t.removed);_=e?requestAnimationFrame(v):null,y.executeFrameTasks(t)}const m=new o.A;function w(){p.forAll(t=>{t.removed&&m.push(t)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){const t=d.shift();t.isActive&&t.callback()}y.willDispatch=!1}function A(t=1,e){const r=Promise.withResolvers(),s=()=>{(0,a.G4)(e)?r.reject((0,a.NK)()):0===t?r.resolve():(--t,(0,n.d)(()=>s()))};return s(),r.promise}async function O(t){await function(t){return A(1,t)}(t),await new Promise(e=>requestAnimationFrame(()=>{t?.aborted||e()}))}const N=f.map(t=>new i(t)),k=new i("total")},78659(t,e,r){function n(t){return t}function s(t){return 1e3*t}function i(t){return t}r.d(e,{Kp:()=>i,gr:()=>s,l5:()=>n})},24326(t,e,r){r.d(e,{c:()=>s});let n=0;function s(){return++n}},59923(t,e,r){r.d(e,{GL:()=>h,U4:()=>a,Yc:()=>u,bA:()=>l,qt:()=>c});var n=r(49186),s=r(67076);const i=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format"].map(t=>`${t}:unsupported`),o=new Set(i);function a(t,e,r){if(!t)return;const n=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("layer",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,{layer:e}))}function c(t,e,r){if(!t)return;const n=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("property",`Property '${e}' is not supported in the context of '${n}'${r?`: ${r}`:""}`))}function l(t,e,r,n){if(!t)return;const s=`${t.origin}/${t.layerContainerType||"operational-layers"}`;t?.messages?.push(h("symbol",`Symbol '${e.declaredClass}' is not supported in the context of '${s}'${r?`: ${r}`:""}`,n))}function u(t,e,r,i,o){t&&t?.messages?.push(f("warning"===e?s.A:n.A,r,i,o))}function h(t,e,r){return f(n.A,t,e,r)}function f(t,e,r,n){return new t(`${e}:unsupported`,r,n)}r.d(e,["MG",0,o])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,4508,8846],{73354(t,n,e){e.d(n,{a:()=>f,b:()=>l,c:()=>o,d:()=>u,e:()=>g,f:()=>s,l:()=>c,n:()=>p,t:()=>i}),e(44208);var r=e(72727);function o(t,n,e){i(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function i(t,n,e,o=3,i=o){const u=(0,r.k)(t.length,o,3),l=(0,r.k)(n.length,i,3),a=Math.min(u,l),c=e[0],s=e[1],f=e[2],g=e[4],p=e[5],y=e[6],d=e[8],m=e[9],h=e[10],v=e[12],A=e[13],w=e[14];let M=0,x=0;for(let e=0;e<a;e++){const e=n[M],r=n[M+1],u=n[M+2];t[x]=c*e+g*r+d*u+v,t[x+1]=s*e+p*r+m*u+A,t[x+2]=f*e+y*r+h*u+w,M+=i,x+=o}return t}function u(t,n,e){l(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)}function l(t,n,e,o=3,i=o){const u=(0,r.k)(t.length,o,3),l=(0,r.k)(n.length,i,3),a=Math.min(u,l),c=e[0],s=e[1],f=e[2],g=e[3],p=e[4],y=e[5],d=e[6],m=e[7],h=e[8];let v=0,A=0;for(let e=0;e<a;e++){const e=n[v],r=n[v+1],u=n[v+2];t[A]=c*e+g*r+d*u,t[A+1]=s*e+p*r+m*u,t[A+2]=f*e+y*r+h*u,v+=i,A+=o}}function a(t,n,e,r=3,o=r){const i=Math.min(t.length/r,n.length/o);let u=0,l=0;for(let a=0;a<i;a++)t[l]=e*n[u],t[l+1]=e*n[u+1],t[l+2]=e*n[u+2],u+=o,l+=r;return t}function c(t,n,e,r){s(t.typedBuffer,n.typedBuffer,e,r,t.typedBufferStride,n.typedBufferStride)}function s(t,n,e,r,o=3,i=o){const u=Math.min(t.length/o,n.length/i);let l=0,a=0;const c=1/2.2;for(let s=0;s<u;s++)t[a]=r*(e*n[l])**c,t[a+1]=r*(e*n[l+1])**c,t[a+2]=r*(e*n[l+2])**c,l+=i,a+=o}function f(t,n,e,o=3,i=o){const u=(0,r.k)(t.length,o,3),l=(0,r.k)(n.length,i,3),a=Math.min(u,l);let c=0,s=0;for(let r=0;r<a;r++)t[s]=n[c]+e[0],t[s+1]=n[c+1]+e[1],t[s+2]=n[c+2]+e[2],c+=i,s+=o;return t}function g(t,n){p(t.typedBuffer,n.typedBuffer,t.typedBufferStride,n.typedBufferStride)}function p(t,n,e=3,r=e){const o=Math.min(t.length/e,n.length/r);let i=0,u=0;for(let l=0;l<o;l++){const o=n[i],l=n[i+1],a=n[i+2],c=o*o+l*l+a*a;if(c>0){const n=1/Math.sqrt(c);t[u]=n*o,t[u+1]=n*l,t[u+2]=n*a}i+=r,u+=e}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:s,linearToSRGBView:c,normalize:p,normalizeView:g,scale:a,scaleView:function(t,n,e){a(t.typedBuffer,n.typedBuffer,e,t.typedBufferStride,n.typedBufferStride)},shiftRight:function(t,n,e){const r=Math.min(t.count,n.count),o=t.typedBuffer,i=t.typedBufferStride,u=n.typedBuffer,l=n.typedBufferStride;let a=0,c=0;for(let t=0;t<r;t++)o[c]=u[a]>>e,o[c+1]=u[a+1]>>e,o[c+2]=u[a+2]>>e,a+=l,c+=i},transformMat3:l,transformMat3View:u,transformMat4:i,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},48163(t,n,e){function r(){return[0,0]}function o(t){return[t[0],t[1]]}function i(t,n){return[t,n]}function u(){return i(1,1)}function l(){return i(-1,-1)}function a(){return i(1,0)}function c(){return i(0,1)}e.d(n,{fA:()=>i,o8:()=>o,vt:()=>r});const s=u(),f=l(),g=a(),p=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:f,ONES:s,UNIT_X:g,UNIT_Y:p,ZEROS:[0,0],clone:o,create:r,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const e=Math.min(2,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:i,negativeOnes:l,ones:u,unitX:a,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["IA",0,f,"Un",0,s])},91829(t,n,e){function r(){return[0,0,0,0]}function o(t,n,e,r){return[t,n,e,r]}function i(){return o(1,1,1,1)}function u(){return o(1,0,0,0)}function l(){return o(0,1,0,0)}function a(){return o(0,0,1,0)}function c(){return o(0,0,0,1)}e.d(n,{_Y:()=>c,fA:()=>o,vt:()=>r});const s=[0,0,0,0],f=i(),g=u(),p=l(),y=a(),d=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_W:d,UNIT_X:g,UNIT_Y:p,UNIT_Z:y,ZEROS:s,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,n,e,r){return[t,n,e,r]},fromArray:function(t,n=[0,0,0,0]){const e=Math.min(4,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:o,ones:i,unitW:c,unitX:u,unitY:l,unitZ:a,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Un",0,f,"uY",0,s])},48353(t,n,e){e.d(n,{l:()=>c});var r=e(34727),o=e(58083),i=e(51850);function u(t,n,e){const r=Math.sin(t),o=Math.cos(t),i=Math.sin(n),u=Math.cos(n),l=e;return l[0]=-r,l[4]=-i*o,l[8]=u*o,l[12]=0,l[1]=o,l[5]=-i*r,l[9]=u*r,l[13]=0,l[2]=0,l[6]=u,l[10]=i,l[14]=0,l[3]=0,l[7]=0,l[11]=0,l[15]=1,l}var l=e(49208),a=e(21325);function c(t,n,e,r){const i=(0,l.Tp)(t,r);if(null==i)return!1;const c=i.source.spatialReferenceId,y=i.dest.spatialReferenceId;if(c===y&&!s(y)&&(0!==c||(0,a.aI)(t,r)))return(0,o.kN)(e,n),!0;if(s(y)){const t=l.w5[c][10],r=l.w5[10][y];return null!=t&&null!=r&&(t(n,0,g,0),r(g,0,p,0),u(f*g[0],f*g[1],e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}const d=s(c);if((3===y||11===y||2===y||5===y)&&(2===c||d||3===c||5===c)){const t=l.w5[c][10],r=l.w5[10][y];return null!=t&&null!=r&&(t(n,0,g,0),r(g,0,p,0),d?function(t,n,e){u(t,n,e),(0,o.mg)(e,e)}(f*g[0],f*g[1],e):(0,o.D_)(e),e[12]=p[0],e[13]=p[1],e[14]=p[2],!0)}return!1}function s(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),g=(0,i.vt)(),p=(0,i.vt)()},65806(t,n,e){e.d(n,{g:()=>u});var r=e(51850),o=e(91218),i=e(9762);function u(t,n,e,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,e))return l[0]=t.x,l[1]=t.y,l[2]=t.z??0,(0,i.projectBuffer)(l,t.spatialReference,0,n,e,0);const u=(0,o.tryProject)(t,e,r);return!!u&&(n[0]=u.x,n[1]=u.y,n[2]=u.z??0,!0)}const l=(0,r.vt)()},1193(t,n,e){e.r(n),e.d(n,{default:()=>f});var r,o=e(5482),i=e(69540),u=e(25482),l=e(4718),a=e(53966),c=e(91429),s=e(31199);let f=r=class extends((0,i.OU)(u.o)){constructor(t){super(t),this.color=null,this.position=new Float64Array(0),this.uv=null,this.normal=null,this.tangent=null}castColor(t){return(0,s.b)(t,Uint8Array,[Uint8ClampedArray],{loggerTag:".color=",stride:4},a.A.getLogger(this))}castPosition(t){return t&&t instanceof Float32Array&&a.A.getLogger(this).warn(".position=","Setting position attribute from a Float32Array may cause precision problems. Consider storing data in a Float64Array or a regular number array"),(0,s.b)(t,Float64Array,[Float32Array],{loggerTag:".position=",stride:3},a.A.getLogger(this))}castUv(t){return(0,s.b)(t,Float32Array,[Float64Array],{loggerTag:".uv=",stride:2},a.A.getLogger(this))}castNormal(t){return(0,s.b)(t,Float32Array,[Float64Array],{loggerTag:".normal=",stride:3},a.A.getLogger(this))}castTangent(t){return(0,s.b)(t,Float32Array,[Float64Array],{loggerTag:".tangent=",stride:4},a.A.getLogger(this))}clonePositional(){const t={position:(0,l.o8)(this.position),normal:(0,l.o8)(this.normal),tangent:(0,l.o8)(this.tangent),uv:this.uv,color:this.color};return new r(t)}get usedMemory(){return this.position.byteLength+(this.uv?.byteLength??0)+(this.normal?.byteLength??0)+(this.tangent?.byteLength??0)+(this.color?.byteLength??0)}};(0,o.Cg)([(0,c.MZ)({json:{write:s.B}})],f.prototype,"color",void 0),(0,o.Cg)([(0,c.wg)("color")],f.prototype,"castColor",null),(0,o.Cg)([(0,c.MZ)({nonNullable:!0,json:{write:s.B}})],f.prototype,"position",void 0),(0,o.Cg)([(0,c.wg)("position")],f.prototype,"castPosition",null),(0,o.Cg)([(0,c.MZ)({json:{write:s.B}})],f.prototype,"uv",void 0),(0,o.Cg)([(0,c.wg)("uv")],f.prototype,"castUv",null),(0,o.Cg)([(0,c.MZ)({json:{write:s.B}})],f.prototype,"normal",void 0),(0,o.Cg)([(0,c.wg)("normal")],f.prototype,"castNormal",null),(0,o.Cg)([(0,c.MZ)({json:{write:s.B}})],f.prototype,"tangent",void 0),(0,o.Cg)([(0,c.wg)("tangent")],f.prototype,"castTangent",null),f=r=(0,o.Cg)([(0,c.$K)("esri.geometry.support.MeshVertexAttributes")],f)},72727(t,n,e){function r(t,n,e){if(n<=0)return 0;const r=t-e;return r<0?0:Math.floor(r/n)+1}e.d(n,{k:()=>r}),e(53966)},31199(t,n,e){function r(t,n,e,r){const{loggerTag:o,stride:i}=n;return t.length%i!==0?(r.error(o,`Invalid array length, expected a multiple of ${i}`),new e([])):t}function o(t,n,e,o,i){if(!t)return t;if(t instanceof n)return r(t,o,n,i);for(const u of e)if(t instanceof u)return r(new n(t),o,n,i);if(Array.isArray(t))return r(new n(t),o,n,i);{const r=e.map(t=>`'${t.name}'`);return i.error(`Failed to set property, expected one of ${r}, but got ${t.constructor.name}`),new n([])}}function i(t,n,e){n[e]=function(t){const n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t[e];return n}(t)}e.d(n,{B:()=>i,b:()=>o})},28846(t,n,e){e.d(n,{convertMeshVertexSpace:()=>c});var r=e(49186),o=e(4718),i=e(17676),u=e(1193),l=e(66895),a=e(72258);async function c(t,n,e){await Promise.resolve(),(0,i.Te)(e);const c=(0,a.UR)(t,n,{useEllipsoid:e?.useEllipsoid});if(!c)throw new r.A("meshUtils:convertVertexSpace()","Failed to convert to provided vertex space due to projection errors");return t.clone((0,l.Lz)(void 0,{vertexAttributes:new u.default({...c,uv:(0,o.o8)(t.vertexAttributes.uv),color:(0,o.o8)(t.vertexAttributes.color)}),vertexSpace:n,transform:null}))}},66895(t,n,e){e.d(n,{$N:()=>s,Lz:()=>i,QN:()=>f,WO:()=>a,hz:()=>l,o2:()=>o});const r=Symbol("meshContext");function o(t){return t&&"object"==typeof t&&r in t?t[r]:void 0}function i(t,n){const e=o(t);return{...t,[r]:{...e,...n}}}const u=Symbol("meshMaterialContext");function l(t){return t&&"object"==typeof t&&u in t?t[u]:void 0}function a(t){const n=l(t);if(n?.materialMap)return t;const e={materialMap:new Map};return{...t,[u]:e}}const c=Symbol("meshTextureContext");function s(t){return t&&"object"==typeof t&&c in t?t[c]:void 0}function f(t){const n=s(t);if(n?.textureMap)return t;const e={textureMap:new Map};return{...t,[c]:e}}},22141(t,n,e){e.d(n,{$5:()=>x,CN:()=>v,KM:()=>B,Mv:()=>T,X4:()=>A,gr:()=>M,qs:()=>b,si:()=>w,xA:()=>S});var r=e(34727),o=e(77690),i=e(29242),u=e(58083),l=e(9093),a=e(35522),c=e(51850),s=e(73941),f=e(48353),g=e(9762),p=(e(79258),e(21325)),y=e(28735),d=e(13030),m=e(73354),h=e(50867);function v(t,n,e,r){t.error(`Failed to project from (wkid:${n.wkid}) to (wkid:${e.wkid}).${r?" ":""}${r}`)}function A(t,n,e,r,o,i){return F(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function w(t,n,e,r,o,i){return F(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i))?i:null}function M(t,n,e,r){return(0,g.projectBuffer)(t,n,0,e,r,0)?e:null}function x(t,n,e,r){return(0,g.projectBuffer)(t,n,0,e,r,0)?e:null}function b(t,n,e){return(0,o.Ge)(R,e),(0,m.b)(n,t,R),(0,r.or)(R)&&(0,m.n)(n,n),n}function B(t,n,e){return(0,o.z0)(R,e),(0,h.t)(n,t,R),(0,r.or)(R)&&(0,m.n)(n,n,4),n}function S(t,n,e,r,o,i){if(!F(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}function T(t,n,e,r,o,i){if(!F(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(n),e,d.Xm.fromTypedArray(r),o,d.xs.fromTypedArray(i,16)))return null;for(let n=3;n<t.length;n+=4)i[n]=t[n];return i}function C(t,n,e,r,i){switch((0,f.l)(r,e,j,r),1===t&&(0,u.B8)(j,j),n){case 0:return(0,o.Ge)(i,j);case 1:return(0,o.z0)(i,j)}}function F(t,n,e,r,o,i,u,l){if(!n)return;const c=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,s.q8)(t)||(0,s.KQ)(t)}(o))for(let r=0;r<c;r++)i.getVec(r,N),n.getVec(r,_),(0,a.ei)(_,_,C(t,e,N,u,R)),l.setVec(r,_);else for(let o=0;o<c;o++){i.getVec(o,N),n.getVec(o,_);const c=(0,y.jg)(r.get(o,1));let s=Math.cos(c);1===e!=(0===t)&&(s=1/s),C(t,e,N,u,R),0===t?(R[0]*=s,R[1]*=s,R[2]*=s,R[3]*=s,R[4]*=s,R[5]*=s):(R[0]*=s,R[3]*=s,R[6]*=s,R[1]*=s,R[4]*=s,R[7]*=s),(0,a.ei)(_,_,R),(0,a.S8)(_,_),l.setVec(o,_)}return l}const N=(0,c.vt)(),_=(0,c.vt)(),j=(0,l.vt)(),R=(0,i.vt)();e.d(n,["JP",0,"Projection may be possible after calling projection.load()."])},72258(t,n,e){e.d(n,{UR:()=>M,p5:()=>w,xK:()=>C});var r=e(53966),o=e(34727),i=e(86211),u=e(77690),l=e(29242),a=e(58083),c=e(9093),s=e(35522),f=e(51850),g=e(73941),p=e(98764),y=e(48353),d=e(65806),m=e(27615),h=e(73354),v=e(22141);const A=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(t,n,{vertexSpace:e,spatialReference:r}){if("georeferenced"===e.type){const o=t;if(!(0,d.g)(n,o,r))return!1;const{origin:i}=e;return(0,s.Re)(t,o,i),!0}const o=(0,p.lO)(r),i=t;if(!(0,d.g)(n,i,o))return!1;const{origin:u}=e,l=R;if(!(0,y.l)(r,u,l,o))return!1;const c=(0,a.B8)(R,l);return null!=c&&((0,s.Z0)(t,i,c),!0)}function M(t,n,e){const{vertexSpace:r,transform:o,vertexAttributes:i}=t,l=(0,m.Hq)(r)?o:null,f=S(t.spatialReference,e,3);if((0,m.yJ)(r,n)&&(!l||(0,a.t2)(l.localMatrix,c.zK))&&T(f)){const{position:t,normal:n,tangent:r}=i,o=e?.allowBufferReuse;return{position:o?t:t.slice(),normal:o?n:n?.slice(),tangent:o?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const u=x(n,i);if(!(0,y.l)(n,r,F,u))return(0,v.CN)(A(),n,u),null;if(e&&(0,a.lw)(F,F,e.localMatrix),!(0,y.l)(n,o,N,u))return(0,v.CN)(A(),u,n),null;(0,a.B8)(N,N);const l=(0,a.lw)(F,N,F);return B(l,n,i,3),b(t,l)}(t,t.vertexSpace,n.origin,e):function({spatialReference:t,vertexAttributes:n,transform:e},{origin:r},o,i){const u=x(t,i);if(!(0,y.l)(t,r,F,u))return(0,v.CN)(A(),t,u),null;e&&(0,a.lw)(F,F,e.localMatrix),B(F,t,i,1);const l=new Float64Array(n.position.length),c=function(t,n,e,r,o){(0,h.t)(r,t,n);const i=new Float64Array(t.length);return(0,v.$5)(r,o,i,e)?i:((0,v.CN)(A(),o,e),null)}(n.position,F,t,l,u);if(!c)return null;const f=function(t,n,e,r,o,i){if(null==o)return null;const u=new Float32Array(o.length);return(0,v.qs)(o,u,i),(0,v.si)(u,t,n,e,r,u)?u:((0,v.CN)(A(),r,n),null)}(c,t,l,u,n.normal,F);if(n.normal&&!f)return null;const g=function(t,n,e,r,o,i){if(null==o)return null;const u=new Float32Array(o.length);return(0,v.KM)(o,u,i),(0,v.Mv)(u,t,n,e,r,u)?u:((0,v.CN)(A(),r,n),null)}(c,t,l,u,n.tangent,F);if(n.tangent&&!g)return null;if(o){const t=(0,s.ze)(j,o);(0,h.a)(c,c,t)}return{position:c,normal:f,tangent:g}}(t,t.vertexSpace,n.origin,e);case"georeferenced":return"local"===n.type?function({vertexAttributes:t,spatialReference:n,transform:e},{origin:r},o,i){const l=x(n,i);if(!(0,y.l)(n,o,F,l))return(0,v.CN)(A(),n,l),null;const c=1/S(n,i,2);(0,a.hs)(F,F,[c,c,c]);const s=(0,a.B8)(N,F),{position:f,normal:g,tangent:p}=function(t,n,e){if(!n)return t;if(!e){const{position:e,normal:r,tangent:o}=t;return{position:(0,h.a)(new Float64Array(e.length),e,n),tangent:o,normal:r}}const r=b(t,e.localMatrix);return(0,h.a)(r.position,r.position,n),r}(t,r,e),d=new Float64Array(f.length),m=function(t,n,e,r,o){const i=(0,v.gr)(t,n,r,o);if(!i)return(0,v.CN)(A(),n,o),null;const u=new Float64Array(i.length);return(0,h.t)(u,i,e),u}(f,n,s,d,l);if(!m)return null;const w=(0,u.Ge)(_,s),M=function(t,n,e,r,o,i,u){if(null==t)return null;const l=u??new Float32Array(t.length);return(0,v.X4)(t,n,e,r,o,l)?((0,h.b)(l,l,i),l):((0,v.CN)(A(),e,o),null)}(g,f,n,d,l,w,g!==t.normal?g:void 0);if(!M&&g)return null;const B=function(t,n,e,r,o,i,u){if(null==t)return null;const l=u??new Float32Array(t.length);return(0,v.xA)(t,n,e,r,o,l)?((0,h.b)(l,l,i,4),l):((0,v.CN)(A(),e,o),null)}(p,f,n,d,l,w,p!==t.tangent?p:void 0);return!B&&p?null:{position:m,normal:M,tangent:B}}(t,t.vertexSpace,n.origin,e):function({vertexAttributes:t,transform:n,spatialReference:e},{origin:r},o,i){const u=S(e,i,3),l=r||!T(u)?(0,a.C)(F,n?.localMatrix??c.zK):null;l&&B(l,e,i,3);const{position:f,normal:g,tangent:p}=l?b(t,l):t,y=i?.allowBufferReuse,d=y?f:new Float64Array(f.length);let m=f;if(r&&(m=(0,h.a)(d,m,r)),o){const t=(0,s.ze)(j,o);m=(0,h.a)(d,m,t)}return{position:m!==t.position||y?m:m.slice(),normal:g!==t.normal||y?g:g?.slice(),tangent:p!==t.tangent||y?p:p?.slice()}}(t,t.vertexSpace,n.origin,e)}}function x(t,n){return n?.useEllipsoid&&(0,g.B3)(t)?p.Y0:(0,p.lO)(t)}function b(t,n){const e=new Float64Array(t.position.length);(0,h.t)(e,t.position,n);const r=t.normal?new Float32Array(t.normal.length):null,o=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,v.qs)(t.normal,r,n),o&&t.tangent&&(0,v.KM)(t.tangent,o,n),{position:e,normal:r,tangent:o}}function B(t,n,e,r){const o=S(n,e,r);T(o)||(0,a.hs)(t,t,[o,o,o])}function S(t,n,e){const r=!!(1&e),o=!!(2&e),i=n?.sourceUnit,u=n?.targetUnit;if(!i&&!u)return 1;let l=C(i,t);r||!i||T(l)||(A().warn("source unit conversion not supported"),l=1);let a=1/C(u,t);return o||!u||T(a)||(A().warn("target unit conversion not supported"),a=1),l*a}function T(t){return(0,o.Io)(t,1)}function C(t,n){if(null==t)return 1;const e=(0,i.KX)(n);return 1/(0,i.oU)(e,"meters",t)}const F=(0,c.vt)(),N=(0,c.vt)(),_=(0,l.vt)(),j=(0,f.vt)(),R=(0,c.vt)()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6052],{96052(r,e,t){async function n(r={}){var e,t=r,n="./this.program",a="";try{a=new URL(".","").href}catch{}e=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var o,i,u,s,l,f,c,p,h,v,d,g,m,y,w=console.log.bind(console),T=console.error.bind(console),b=!1,A=!1;function C(){var r=cr.buffer;p=new Int8Array(r),l=new Int16Array(r),t.HEAPU8=y=new Uint8Array(r),t.HEAPU16=d=new Uint16Array(r),f=new Int32Array(r),t.HEAPU32=g=new Uint32Array(r),t.HEAPF32=h=new Float32Array(r),t.HEAPF64=v=new Float64Array(r),c=new BigInt64Array(r),m=new BigUint64Array(r)}function W(r){t.onAbort?.(r),T(r=`Aborted(${r})`),b=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw u?.(e),e}async function F(r){if(!o)try{var t=await e(r);return new Uint8Array(t)}catch{}return function(r){if(r==s&&o)return new Uint8Array(o);throw"both async and sync fetching of the wasm failed"}(r)}var P=r=>{for(;r.length>0;)r.shift()(t)},E=[],$=r=>E.push(r),R=[],x=r=>R.push(r);class V{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){g[this.ptr+4>>2]=r}get_type(){return g[this.ptr+4>>2]}set_destructor(r){g[this.ptr+8>>2]=r}get_destructor(){return g[this.ptr+8>>2]}set_caught(r){r=r?1:0,p[this.ptr+12]=r}get_caught(){return 0!=p[this.ptr+12]}set_rethrown(r){r=r?1:0,p[this.ptr+13]=r}get_rethrown(){return 0!=p[this.ptr+13]}init(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)}set_adjusted_ptr(r){g[this.ptr+16>>2]=r}get_adjusted_ptr(){return g[this.ptr+16>>2]}}var _={},I=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function U(r){return this.fromWireType(g[r>>2])}var S={},k={},H={},M=class extends Error{constructor(r){super(r),this.name="InternalError"}},D=r=>{throw new M(r)},B=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&D("Mismatched type converter count");for(var a=0;a<r.length;++a)z(r[a],n[a])}r.forEach(r=>H[r]=e);var a=new Array(e.length),o=[],i=0;for(let[r,t]of e.entries())k.hasOwnProperty(t)?a[r]=k[t]:(o.push(t),S.hasOwnProperty(t)||(S[t]=[]),S[t].push(()=>{a[r]=k[t],++i===o.length&&n(a)}));0===o.length&&n(a)},O={},N=r=>{for(var e="";;){var t=y[r++];if(!t)return e;e+=String.fromCharCode(t)}},j=class extends Error{constructor(r){super(r),this.name="BindingError"}},L=r=>{throw new j(r)};function z(r,e,t={}){return function(r,e,t={}){var n=e.name;if(r||L(`type "${n}" must have a positive integer typeid pointer`),k.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;L(`Cannot register type '${n}' twice`)}if(k[r]=e,delete H[r],S.hasOwnProperty(r)){var a=S[r];delete S[r],a.forEach(r=>r())}}(r,e,t)}var G=(r,e,t)=>{switch(e){case 1:return t?r=>p[r]:r=>y[r];case 2:return t?r=>l[r>>1]:r=>d[r>>1];case 4:return t?r=>f[r>>2]:r=>g[r>>2];case 8:return t?r=>c[r>>3]:r=>m[r>>3];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}},Y=[],q=[0,1,,1,null,1,!0,1,!1,1],J=r=>{r>9&&0===--q[r+1]&&(q[r],q[r]=void 0,Y.push(r))},K={toValue:r=>(r||L(`Cannot use deleted val. handle = ${r}`),q[r]),toHandle:r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Y.pop()||q.length;return q[e]=r,q[e+1]=1,e}}}},Q={name:"emscripten::val",fromWireType:r=>{var e=K.toValue(r);return J(r),e},toWireType:(r,e)=>K.toHandle(e),readValueFromPointer:U,destructorFunction:null},X=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(h[r>>2])};case 8:return function(r){return this.fromWireType(v[r>>3])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}},Z=(r,e)=>Object.defineProperty(e,"name",{value:r}),rr=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||L(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},er=(r,e,n)=>{t.hasOwnProperty(r)?((void 0===n||void 0!==t[r].overloadTable&&void 0!==t[r].overloadTable[n])&&L(`Cannot register public name '${r}' twice`),rr(t,r,r),t[r].overloadTable.hasOwnProperty(n)&&L(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),t[r].overloadTable[n]=e):(t[r]=e,t[r].argCount=n)},tr=(r,e,n)=>{t.hasOwnProperty(r)||D("Replacing nonexistent public symbol"),void 0!==t[r].overloadTable&&void 0!==n?t[r].overloadTable[n]=e:(t[r]=e,t[r].argCount=n)},nr=[],ar=r=>{var e=nr[r];return e||(nr[r]=e=pr.get(r)),e},or=(r,e,t=!1)=>{r=N(r);var n=ar(e);return"function"!=typeof n&&L(`unknown function pointer with signature ${r}: ${e}`),n};class ir extends Error{}var ur,sr,lr,fr,cr,pr,hr=r=>{var e=sr(r),t=N(e);return fr(e),t},vr=(r,e,t)=>((r,e,t,n)=>{if(!(n>0))return 0;for(var a=t,o=t+n-1,i=0;i<r.length;++i){var u=r.codePointAt(i);if(u<=127){if(t>=o)break;e[t++]=u}else if(u<=2047){if(t+1>=o)break;e[t++]=192|u>>6,e[t++]=128|63&u}else if(u<=65535){if(t+2>=o)break;e[t++]=224|u>>12,e[t++]=128|u>>6&63,e[t++]=128|63&u}else{if(t+3>=o)break;e[t++]=240|u>>18,e[t++]=128|u>>12&63,e[t++]=128|u>>6&63,e[t++]=128|63&u,i++}}return e[t]=0,t-a})(r,y,e,t),dr=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e},gr=globalThis.TextDecoder&&new TextDecoder,mr=(r,e,t,n)=>{var a=e+t;if(n)return a;for(;r[e]&&!(e>=a);)++e;return e},yr=(r,e=0,t,n)=>{var a=mr(r,e,t,n);if(a-e>16&&r.buffer&&gr)return gr.decode(r.subarray(e,a));for(var o="";e<a;){var i=r[e++];if(128&i){var u=63&r[e++];if(192!=(224&i)){var s=63&r[e++];if((i=224==(240&i)?(15&i)<<12|u<<6|s:(7&i)<<18|u<<12|s<<6|63&r[e++])<65536)o+=String.fromCharCode(i);else{var l=i-65536;o+=String.fromCharCode(55296|l>>10,56320|1023&l)}}else o+=String.fromCharCode((31&i)<<6|u)}else o+=String.fromCharCode(i)}return o},wr=(r,e,t)=>r?yr(y,r,e,t):"",Tr=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,br=(r,e,t)=>{var n=r>>1,a=mr(d,n,e/2,t);if(a-n>16&&Tr)return Tr.decode(d.subarray(n,a));for(var o="",i=n;i<a;++i){var u=d[i];o+=String.fromCharCode(u)}return o},Ar=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,a=(t-=2)<2*r.length?t/2:r.length,o=0;o<a;++o){var i=r.charCodeAt(o);l[e>>1]=i,e+=2}return l[e>>1]=0,e-n},Cr=r=>2*r.length,Wr=(r,e,t)=>{for(var n="",a=r>>2,o=0;!(o>=e/4);o++){var i=g[a+o];if(!i&&!t)break;n+=String.fromCodePoint(i)}return n},Fr=(r,e,t)=>{if(t??=2147483647,t<4)return 0;for(var n=e,a=n+t-4,o=0;o<r.length;++o){var i=r.codePointAt(o);if(i>65535&&o++,f[e>>2]=i,(e+=4)+4>a)break}return f[e>>2]=0,e-n},Pr=r=>{for(var e=0,t=0;t<r.length;++t)r.codePointAt(t)>65535&&t++,e+=4;return e},Er=[],$r=(r,e)=>{var t=k[r];return void 0===t&&L(`${e} has unknown type ${hr(r)}`),t},Rr={},xr=r=>{var e=Rr[r];return void 0===e?N(r):e},Vr=(r,e)=>Math.ceil(r/e)*e,_r=r=>{var e=(r-cr.buffer.byteLength+65535)/65536|0;try{return cr.grow(e),C(),1}catch(r){}},Ir={},Ur=()=>{if(!Ur.strings){var r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:n};for(var e in Ir)void 0===Ir[e]?delete r[e]:r[e]=Ir[e];var t=[];for(var e in r)t.push(`${e}=${r[e]}`);Ur.strings=t}return Ur.strings},Sr=[null,[],[]],kr=(r,e)=>{var t=Sr[r];0===e||10===e?((1===r?w:T)(yr(t)),t.length=0):t.push(e)},Hr=[],Mr=(r,e)=>{pr.set(r,e),nr[r]=pr.get(r)},Dr=r=>{const e=r.length;return[e%128|128,e>>7,...r]},Br={i:127,p:127,j:126,f:125,d:124,e:111},Or=r=>Dr(Array.from(r,r=>Br[r]));if(t.noExitRuntime&&t.noExitRuntime,t.print&&(w=t.print),t.printErr&&(T=t.printErr),t.wasmBinary&&(o=t.wasmBinary),t.arguments&&t.arguments,t.thisProgram&&(n=t.thisProgram),t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.shift()();t.addFunction=(r,e)=>{var t=(r=>(ur||(ur=new WeakMap,((r,e)=>{if(ur)for(var t=0;t<0+e;t++){var n=ar(t);n&&ur.set(n,t)}})(0,pr.length)),ur.get(r)||0))(r);if(t)return t;var n=Hr.length?Hr.pop():pr.grow(1);try{Mr(n,r)}catch(t){if(!(t instanceof TypeError))throw t;var a=((r,e)=>{var t=Uint8Array.of(0,97,115,109,1,0,0,0,1,...Dr([1,96,...Or(e.slice(1)),...Or("v"===e[0]?"":e[0])]),2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),n=new WebAssembly.Module(t);return new WebAssembly.Instance(n,{e:{f:r}}).exports.f})(r,e);Mr(n,a)}return ur.set(r,n),n},t.UTF8ToString=wr,t.Emval=K;var Nr,jr={h:(r,e,t)=>{new V(r).init(e,t),W()},E:()=>W(""),r:r=>{var e=_[r];delete _[r];var t=e.elements,n=t.length,a=t.map(r=>r.getterReturnType).concat(t.map(r=>r.setterArgumentType)),o=e.rawConstructor,i=e.rawDestructor;B([r],a,r=>{for(const[e,a]of t.entries()){const t=r[e],o=a.getter,i=a.getterContext,u=r[e+n],s=a.setter,l=a.setterContext;a.read=r=>t.fromWireType(o(i,r)),a.write=(r,e)=>{var t=[];s(l,r,u.toWireType(t,e)),I(t)}}return[{name:e.name,fromWireType:r=>{for(var e=new Array(n),a=0;a<n;++a)e[a]=t[a].read(r);return i(r),e},toWireType:(r,a)=>{if(n!==a.length)throw new TypeError(`Incorrect number of tuple elements for ${e.name}: expected=${n}, actual=${a.length}`);for(var u=o(),s=0;s<n;++s)t[s].write(u,a[s]);return null!==r&&r.push(i,u),u},readValueFromPointer:U,destructorFunction:i}]})},u:r=>{var e=O[r];delete O[r];var t=e.rawConstructor,n=e.rawDestructor,a=e.fields,o=a.map(r=>r.getterReturnType).concat(a.map(r=>r.setterArgumentType));B([r],o,r=>{var o={};for(var[i,u]of a.entries()){const e=r[i],t=u.getter,n=u.getterContext,s=r[i+a.length],l=u.setter,f=u.setterContext;o[u.fieldName]={read:r=>e.fromWireType(t(n,r)),write:(r,e)=>{var t=[];l(f,r,s.toWireType(t,e)),I(t)},optional:e.optional}}return[{name:e.name,fromWireType:r=>{var e={};for(var t in o)e[t]=o[t].read(r);return n(r),e},toWireType:(r,e)=>{for(var a in o)if(!(a in e)&&!o[a].optional)throw new TypeError(`Missing field: "${a}"`);var i=t();for(a in o)o[a].write(i,e[a]);return null!==r&&r.push(n,i),i},readValueFromPointer:U,destructorFunction:n}]})},y:(r,e,t,n,a)=>{e=N(e);const o=0n===n;let i=r=>r;if(o){const r=8*t;i=e=>BigInt.asUintN(r,e),a=i(a)}z(r,{name:e,fromWireType:i,toWireType:(r,e)=>("number"==typeof e&&(e=BigInt(e)),e),readValueFromPointer:G(e,t,!o),destructorFunction:null})},J:(r,e,t,n)=>{z(r,{name:e=N(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},readValueFromPointer:function(r){return this.fromWireType(y[r])},destructorFunction:null})},H:r=>z(r,Q),x:(r,e,t)=>{z(r,{name:e=N(e),fromWireType:r=>r,toWireType:(r,e)=>e,readValueFromPointer:X(e,t),destructorFunction:null})},g:(r,e,t,n,a,o,i,u)=>{var s=((r,e)=>{for(var t=[],n=0;n<r;n++)t.push(g[e+4*n>>2]);return t})(e,t);r=(r=>{const e=(r=r.trim()).indexOf("(");return-1===e?r:r.slice(0,e)})(r=N(r)),a=or(n,a,i),er(r,function(){((r,e)=>{var t=[],n={};throw e.forEach(function r(e){n[e]||k[e]||(H[e]?H[e].forEach(r):(t.push(e),n[e]=!0))}),new ir(`${r}: `+t.map(hr).join([", "]))})(`Cannot call ${r} due to unbound types`,s)},e-1),B([],s,t=>{var n=[t[0],null].concat(t.slice(1));return tr(r,function(r,e,t,n,a){var o=e.length;o<2&&L("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var i=function(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}(e),u=!e[0].isVoid,s=o-2,l=new Array(s),f=[],c=[];return Z(r,function(...r){c.length=0,f.length=1,f[0]=a;for(var t=0;t<s;++t)l[t]=e[t+2].toWireType(c,r[t]),f.push(l[t]);return function(r){if(i)I(c);else for(var t=2;t<e.length;t++){var n=1===t?void 0:l[t-2];null!==e[t].destructorFunction&&e[t].destructorFunction(n)}if(u)return e[0].fromWireType(r)}(n(...f))})}(r,n,0,a,o),e-1),[]})},o:(r,e,t,n,a)=>{e=N(e);let o=r=>r;if(0===n){var i=32-8*t;o=r=>r<<i>>>i,a=o(a)}z(r,{name:e,fromWireType:o,toWireType:(r,e)=>e,readValueFromPointer:G(e,t,0!==n),destructorFunction:null})},j:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function a(r){var e=g[r>>2],t=g[r+4>>2];return new n(p.buffer,t,e)}z(r,{name:t=N(t),fromWireType:a,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},I:(r,e)=>{z(r,{name:e=N(e),fromWireType(r){var e,t=g[r>>2];return e=wr(r+4,t,!0),fr(r),e},toWireType(r,e){var t;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||L("Cannot pass non-string to std::string"),t=n?dr(e):e.length;var a=lr(4+t+1),o=a+4;return g[a>>2]=t,n?vr(e,o,t+1):y.set(e,o),null!==r&&r.push(fr,a),a},readValueFromPointer:U,destructorFunction(r){fr(r)}})},t:(r,e,t)=>{var n,a,o;t=N(t),2===e?(n=br,a=Ar,o=Cr):(n=Wr,a=Fr,o=Pr),z(r,{name:t,fromWireType:r=>{var t=g[r>>2],a=n(r+4,t*e,!0);return fr(r),a},toWireType:(r,n)=>{"string"!=typeof n&&L(`Cannot pass non-string to C++ string type ${t}`);var i=o(n),u=lr(4+i+e);return g[u>>2]=i/e,a(n,u+4,i+e),null!==r&&r.push(fr,u),u},readValueFromPointer:U,destructorFunction(r){fr(r)}})},s:(r,e,t,n,a,o)=>{_[r]={name:N(e),rawConstructor:or(t,n),rawDestructor:or(a,o),elements:[]}},m:(r,e,t,n,a,o,i,u,s)=>{_[r].elements.push({getterReturnType:e,getter:or(t,n),getterContext:a,setterArgumentType:o,setter:or(i,u),setterContext:s})},v:(r,e,t,n,a,o)=>{O[r]={name:N(e),rawConstructor:or(t,n),rawDestructor:or(a,o),fields:[]}},k:(r,e,t,n,a,o,i,u,s,l)=>{O[r].fields.push({fieldName:N(e),getterReturnType:t,getter:or(n,a),getterContext:o,setterArgumentType:i,setter:or(u,s),setterContext:l})},K:(r,e)=>{z(r,{isVoid:!0,name:e=N(e),fromWireType:()=>{},toWireType:(r,e)=>{}})},d:(r,e,t)=>{var[n,...a]=((r,e)=>{for(var t=new Array(r),n=0;n<r;++n)t[n]=$r(g[e+4*n>>2],`parameter ${n}`);return t})(r,e),o=n.toWireType.bind(n),i=a.map(r=>r.readValueFromPointer.bind(r));r--;var u=new Array(r),s=`methodCaller<(${a.map(r=>r.name)}) => ${n.name}>`;return(r=>{var e=Er.length;return Er.push(r),e})(Z(s,(e,n,a,s)=>{for(var l,f=0,c=0;c<r;++c)u[c]=i[c](s+f),f+=8;switch(t){case 0:l=K.toValue(e).apply(null,u);break;case 2:l=Reflect.construct(K.toValue(e),u);break;case 3:l=u[0];break;case 1:l=K.toValue(e)[xr(n)](...u)}return((r,e,t)=>{var n=[],a=r(n,t);return n.length&&(g[e>>2]=K.toHandle(n)),a})(o,a,l)}))},a:J,n:r=>r?(r=xr(r),K.toHandle(globalThis[r])):K.toHandle(globalThis),q:r=>(r=xr(r),K.toHandle(t[r])),p:(r,e)=>(r=K.toValue(r),e=K.toValue(e),K.toHandle(r[e])),l:r=>{r>9&&(q[r+1]+=1)},f:(r,e,t,n,a)=>Er[r](e,t,n,a),G:()=>K.toHandle([]),F:r=>{r=K.toValue(r);for(var e=new Array(r.length),t=0;t<r.length;t++)e[t]=r[t];return K.toHandle(e)},b:r=>K.toHandle(xr(r)),i:()=>K.toHandle({}),e:r=>{var e=K.toValue(r);I(e),J(r)},c:(r,e,t)=>{r=K.toValue(r),e=K.toValue(e),t=K.toValue(t),r[e]=t},z:(r,e,t,n)=>{var a=(new Date).getFullYear(),o=new Date(a,0,1),i=new Date(a,6,1),u=o.getTimezoneOffset(),s=i.getTimezoneOffset(),l=Math.max(u,s);g[r>>2]=60*l,f[e>>2]=Number(u!=s);var c=r=>{var e=r>=0?"-":"+",t=Math.abs(r);return`UTC${e}${String(Math.floor(t/60)).padStart(2,"0")}${String(t%60).padStart(2,"0")}`},p=c(u),h=c(s);s<u?(vr(p,t,17),vr(h,n,17)):(vr(p,n,17),vr(h,t,17))},C:function(r,e,t){if(!(r=>r>=0&&r<=3)(r))return 28;var n;n=0===r?Date.now():performance.now();var a=Math.round(1e3*n*1e3);return c[t>>3]=BigInt(a),0},D:r=>{var e=y.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n=1;n<=4;n*=2){var a=e*(1+.2/n);a=Math.min(a,r+100663296);var o=Math.min(t,Vr(Math.max(r,a),65536));if(_r(o))return!0}return!1},A:(r,e)=>{var t=0,n=0;for(var a of Ur()){var o=e+t;g[r+n>>2]=o,t+=vr(a,o,1/0)+1,n+=4}return 0},B:(r,e)=>{var t=Ur();g[r>>2]=t.length;var n=0;for(var a of t)n+=dr(a)+1;return g[e>>2]=n,0},w:(r,e,t,n)=>{for(var a=0,o=0;o<t;o++){var i=g[e>>2],u=g[e+4>>2];e+=8;for(var s=0;s<u;s++)kr(r,y[i+s]);a+=u}return g[n>>2]=a,0}};return Nr=await async function(){function r(r,e){return function(r){sr=r.N,lr=t._malloc=r.P,fr=t._free=r.Q,cr=r.L,pr=r.O}(Nr=r.exports),C(),Nr}var e={a:jr};return t.instantiateWasm?new Promise((n,a)=>{t.instantiateWasm(e,(e,t)=>{n(r(e))})}):(s??=t.locateFile?function(r){return t.locateFile?t.locateFile(r,a):a+r}("lyr3DMain.wasm"):new URL("lyr3DMain.wasm","").href,function(e){return r(e.instance)}(await async function(r,e,t){if(!r)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(r){T(`wasm streaming compile failed: ${r}`),T("falling back to ArrayBuffer instantiation")}return async function(r,e){try{var t=await F(r);return await WebAssembly.instantiate(t,e)}catch(r){T(`failed to asynchronously prepare wasm: ${r}`),W(r)}}(e,t)}(o,s,e)))}(),function(){function r(){t.calledRun=!0,b||(A=!0,Nr.M(),i?.(t),t.onRuntimeInitialized?.(),function(){if(t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;)$(t.postRun.shift());P(E)}())}(function(){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)x(t.preRun.shift());P(R)})(),t.setStatus?(t.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>t.setStatus(""),1),r()},1)):r()}(),A?t:new Promise((r,e)=>{i=r,u=e})}t.d(e,{default:()=>n})}}]);
|