@arcgis/core 5.1.0-next.112 → 5.1.0-next.114
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/Graphic.d.ts +1 -0
- package/arcade.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{31a8bc25aa1441c70caa.js → 009250a7bded12099dd1.js} +1 -1
- package/assets/esri/core/workers/chunks/019a4fe7e085b2fc6ae9.js +1 -0
- package/assets/esri/core/workers/chunks/023837e5d9d2b6af66d8.js +1 -0
- package/assets/esri/core/workers/chunks/{a001e7e8a39f27284d87.js → 03c46880b69ce75a010f.js} +1 -1
- package/assets/esri/core/workers/chunks/0a530fbbb4486c670ea2.js +1 -0
- package/assets/esri/core/workers/chunks/{14b7b55c42af65ffa024.js → 0bd2b035c6ee89c725f9.js} +1 -1
- package/assets/esri/core/workers/chunks/0ded5c114cbb7574f2f4.js +1 -0
- package/assets/esri/core/workers/chunks/{b432a5a829e309837db6.js → 0e549d942d6cba1608cf.js} +1 -1
- package/assets/esri/core/workers/chunks/{7dafe608c224b9d48ffa.js → 115664cb7d7b22a315bb.js} +1 -1
- package/assets/esri/core/workers/chunks/123a67e84ed68b96ac59.js +1 -0
- package/assets/esri/core/workers/chunks/14a241b07baa67743248.js +1 -0
- package/assets/esri/core/workers/chunks/{054ae729e7cefa2c7778.js → 170f8dc97614e9609443.js} +1 -1
- package/assets/esri/core/workers/chunks/179ffa2168c42615ccf2.js +1 -0
- package/assets/esri/core/workers/chunks/{4a65bc9091d7ea7e80df.js → 19f07c8d0f32ec889861.js} +1 -1
- package/assets/esri/core/workers/chunks/{ca92176d5348e2c533d7.js → 224a9f39876aa426a9bc.js} +1 -1
- package/assets/esri/core/workers/chunks/{beff5b4e15edee12bd4c.js → 271e42b7cd3c3441839e.js} +3 -3
- package/assets/esri/core/workers/chunks/{0550dc63b6b1274242b8.js → 27d7c701306efeea6b82.js} +1 -1
- package/assets/esri/core/workers/chunks/{8aac1155b8ac071cd2ad.js → 2855357a2c1f2ab03fb7.js} +1 -1
- package/assets/esri/core/workers/chunks/{33329f5d88e60b4ec568.js → 2a8f198f6c272f92bad5.js} +1 -1
- package/assets/esri/core/workers/chunks/{cb3004998eff7c60930e.js → 2b2a09ce14d00b4b1187.js} +1 -1
- package/assets/esri/core/workers/chunks/{5d60253ea3d247cdb3d1.js → 2bdfae998371e3aa9f2d.js} +1 -1
- package/assets/esri/core/workers/chunks/2f99a95facddc44319a9.js +1 -0
- package/assets/esri/core/workers/chunks/{bd17ac2e6f1eb8cf7abf.js → 2fa080539d039c92ce08.js} +1 -1
- package/assets/esri/core/workers/chunks/{ee635172be7fdea69367.js → 3109b05fe4fc40d4f25b.js} +1 -1
- package/assets/esri/core/workers/chunks/{92db9a6d273ae2862883.js → 315bf08dff4757ffbed3.js} +1 -1
- package/assets/esri/core/workers/chunks/32f128a1615d71bbe899.js +2 -0
- package/assets/esri/core/workers/chunks/{593772bd8b19ac664b29.js → 35527a01d61cabbfd33e.js} +1 -1
- package/assets/esri/core/workers/chunks/{711d1873c760313e287f.js → 39987c06636e757d1f00.js} +1 -1
- package/assets/esri/core/workers/chunks/40df608337d562553ce1.js +2 -0
- package/assets/esri/core/workers/chunks/41074d383af3662673ca.js +1 -0
- package/assets/esri/core/workers/chunks/49675e77a351abda2728.js +1 -0
- package/assets/esri/core/workers/chunks/4bfeac7338df9e0b7ce1.js +1 -0
- package/assets/esri/core/workers/chunks/4ffcca40e7aa24c8cc35.js +1 -0
- package/assets/esri/core/workers/chunks/534dd93c72ea448ee908.js +1 -0
- package/assets/esri/core/workers/chunks/{2dc2487d05381de07e3f.js → 548c34ea88f113d03c93.js} +1 -1
- package/assets/esri/core/workers/chunks/{fe8334352d256d691a95.js → 5c6742728fa705d2e16e.js} +1 -1
- package/assets/esri/core/workers/chunks/{77ac243d4dcd901c2eec.js → 621d71d26bd20e296138.js} +1 -1
- package/assets/esri/core/workers/chunks/{7e203e947846d40f897e.js → 67dffb896b6ef4b2038b.js} +1 -1
- package/assets/esri/core/workers/chunks/6920e7f700a9ba280dba.js +1 -0
- package/assets/esri/core/workers/chunks/696967c8c6f53b94f851.js +1 -0
- package/assets/esri/core/workers/chunks/6b1f2b36bdc6b2ff2ea5.js +1 -0
- package/assets/esri/core/workers/chunks/{481dc7503587972a6bd2.js → 701125f6cdd91ff3655f.js} +2 -2
- package/assets/esri/core/workers/chunks/7014e73dfd3c8baa704c.js +1 -0
- package/assets/esri/core/workers/chunks/75dfdd85abbac26ac899.js +1 -0
- package/assets/esri/core/workers/chunks/76a9b64fd573775bf6cd.js +1 -0
- package/assets/esri/core/workers/chunks/798c4d3201fcc9f2a42b.js +1 -0
- package/assets/esri/core/workers/chunks/7995e6983456c779adf9.js +1 -0
- package/assets/esri/core/workers/chunks/{6c79e8e840c1d027fbb2.js → 7e0daf0864005cdd63c5.js} +1 -1
- package/assets/esri/core/workers/chunks/{c0c693c2e0043ecba4a5.js → 817fd88fe9a48caf69fb.js} +1 -1
- package/assets/esri/core/workers/chunks/82f7d83a2073d1b0111c.js +1 -0
- package/assets/esri/core/workers/chunks/860465c4f44c373d0a1c.js +1 -0
- package/assets/esri/core/workers/chunks/8795c4895df229cb471c.js +1 -0
- package/assets/esri/core/workers/chunks/{7bc746ea17f4e336e0b0.js → 8b5ee6be52e892fbd325.js} +1 -1
- package/assets/esri/core/workers/chunks/927c8ca7fd385b28a1b7.js +640 -0
- package/assets/esri/core/workers/chunks/942e527b9b92999886c7.js +1 -0
- package/assets/esri/core/workers/chunks/961995d8da45a9203255.js +1 -0
- package/assets/esri/core/workers/chunks/{08efd64acdfe46985293.js → 9a11ff75009fef45b8c1.js} +1 -1
- package/assets/esri/core/workers/chunks/{eb1d6614eeac6d26bb9c.js → 9a3344f1dd22c425b8cc.js} +1 -1
- package/assets/esri/core/workers/chunks/9a6e62ef984e9c5babc4.js +1 -0
- package/assets/esri/core/workers/chunks/a0b6eef4890cc61609dc.js +1 -0
- package/assets/esri/core/workers/chunks/{f37be7e517f0892014e3.js → a320c69bc7528ff0d0cf.js} +1 -1
- package/assets/esri/core/workers/chunks/{660713adb5a845dfa2ef.js → a40003dfe3c081d1a1d2.js} +1 -1
- package/assets/esri/core/workers/chunks/a70fa35b2d19460637e9.js +2 -0
- package/assets/esri/core/workers/chunks/ae74f722fb385e45fcf1.js +1 -0
- package/assets/esri/core/workers/chunks/b5937ce657c1fff3864f.js +1 -0
- package/assets/esri/core/workers/chunks/{63ea9035dcf9ce45560c.js → b684ff4bc93bd60d6a19.js} +1 -1
- package/assets/esri/core/workers/chunks/b78fb24b47d9f31f18c6.js +1 -0
- package/assets/esri/core/workers/chunks/b7a0a5b895ddd2d3d038.js +1 -0
- package/assets/esri/core/workers/chunks/{f3161c47a572194f6017.js → c06ae3a6ecc4a4fc67b2.js} +1 -1
- package/assets/esri/core/workers/chunks/{970e91de5dfbbc247afb.js → c5b7ff8650235c464dbf.js} +1 -1
- package/assets/esri/core/workers/chunks/c8dedc010fcc2382af24.js +1 -0
- package/assets/esri/core/workers/chunks/cd2b2babcdc130b4c368.js +1 -0
- package/assets/esri/core/workers/chunks/{5a6523c903b11dea77d4.js → cdef9c3f80588ae45a04.js} +1 -1
- package/assets/esri/core/workers/chunks/{e973cab79ec2541cb81b.js → d19600336cb6023d3e34.js} +1 -1
- package/assets/esri/core/workers/chunks/{34c11e7c8762fe0c19fb.js → d39f5590022d910ee951.js} +1 -1
- package/assets/esri/core/workers/chunks/d412a43060441d347fb4.js +1 -0
- package/assets/esri/core/workers/chunks/{01c70c27aa3a955e2928.js → d41b847d08c42e5329d6.js} +2 -2
- package/assets/esri/core/workers/chunks/{10491b5b106bc5ad0b2b.js → d66f68a811c90739951a.js} +1 -1
- package/assets/esri/core/workers/chunks/d8c2bed12f937228c763.js +1 -0
- package/assets/esri/core/workers/chunks/de916dd0c11aefb6832e.js +1 -0
- package/assets/esri/core/workers/chunks/{63513e706fe55a1def15.js → e227ae2c1a63e30e62d9.js} +1 -1
- package/assets/esri/core/workers/chunks/{e4c350dc65aae121171d.js → e29d182460564c2a52ad.js} +1 -1
- package/assets/esri/core/workers/chunks/e87d02af6d6b05e19d93.js +1 -0
- package/assets/esri/core/workers/chunks/e95ce76b5b816256a519.js +1 -0
- package/assets/esri/core/workers/chunks/f0b5c140a5ba174572b6.js +1 -0
- package/assets/esri/core/workers/chunks/{ce3b5b83237cf37ff523.js → f286680e363eefdf27df.js} +1 -1
- package/assets/esri/core/workers/chunks/f7698c855800e0af3038.js +1 -0
- package/assets/esri/core/workers/chunks/f931d560f3f14598f454.js +1 -0
- package/assets/esri/core/workers/chunks/{9890c85a238879490926.js → f9f331c76c96743d8522.js} +1 -1
- package/assets/esri/core/workers/chunks/fbcf09526dc1bbe94b91.js +2 -0
- package/assets/esri/core/workers/chunks/fcbacca99c5a3ee5b69a.js +1 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
- package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +22 -6
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery.json +1 -1
- package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_en.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
- package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
- package/assets/esri/widgets/Features/t9n/Features_en.json +1 -1
- package/chunks/GaussianSplatShadow.glsl.js +11 -9
- package/chunks/Path.glsl.js +22 -17
- package/chunks/ShadowCastVisualize.glsl.js +26 -18
- package/config.js +1 -1
- package/geometry/support/DoubleArray.js +1 -1
- package/geometry/support/Indices.js +1 -1
- package/kernel.js +1 -1
- package/layers/DimensionLayer.d.ts +22 -0
- package/layers/FeatureLayer.d.ts +15 -12
- package/layers/FeatureLayer.js +1 -1
- package/layers/GaussianSplatLayer.d.ts +22 -0
- package/layers/KnowledgeGraphLayer.d.ts +6 -4
- package/layers/KnowledgeGraphLayer.js +1 -1
- package/layers/LineOfSightLayer.d.ts +22 -0
- package/layers/LinkChartLayer.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/PointCloudLayer.d.ts +22 -0
- package/layers/ViewshedLayer.d.ts +22 -0
- package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
- package/layers/support/Field.d.ts +1 -0
- package/layers/support/Field.js +1 -1
- package/layers/support/SceneModification.js +1 -1
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/types.d.ts +1 -1
- package/layers/types.d.ts +1 -0
- package/linkChart/LinkChartProperties.js +1 -1
- package/linkChart/utils.js +1 -1
- package/package.json +1 -1
- package/rest/support/Query.d.ts +1 -0
- package/support/revision.js +1 -1
- package/symbols/cim/animationUtils.js +1 -1
- package/symbols/cim/defaultCIMValues.js +1 -1
- package/symbols/cim/types.d.ts +45 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/shaders/VTLMaterial.js +1 -1
- package/views/2d/engine/webgl/animations/instructions.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedLineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/DimensionLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/StreamLayerAdapter.js +1 -1
- package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
- package/views/2d/support/clippingUtils.js +1 -1
- package/views/2d/support/hitTestUtils.js +1 -1
- package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +1 -1
- package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedDrawToolRenderer.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/placementUtils.js +1 -1
- package/views/3d/analysis/Viewshed/viewshedToolManipulatorUtils.js +1 -1
- package/views/3d/environment/EnvironmentManager.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerWorkerHandle.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/extrudeUtils.js +1 -1
- package/views/3d/layers/graphics/tessellationUtils.js +1 -1
- package/views/3d/support/engineContent/line.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
- package/views/3d/support/renderInfoUtils/polygon.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +233 -0
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexInfo.glsl.js +19 -0
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +64 -40
- package/views/3d/webgl-engine/core/shaderLibrary/output/OutputDepth.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderModules/Float2sPassUniform.js +2 -0
- package/views/3d/webgl-engine/core/shaderModules/IntegersPassUniform.js +2 -0
- package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
- package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
- package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
- package/views/3d/webgl-engine/lib/PathProfile.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +1 -1
- package/views/3d/webgl-engine/materials/PathLayouts.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatShadow.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechniqueConfiguration.js +1 -1
- package/views/View2D.d.ts +1 -1
- package/views/draw/DrawTool.d.ts +34 -1
- package/views/input/EventMatch.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +17 -3
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +25 -1
- package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.d.ts +46 -1
- package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/UtilityNetworkAssociationsElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/types.d.ts +1 -1
- package/widgets/BatchAttributeForm.d.ts +2 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Directions/DirectionsViewModel.js +1 -1
- package/widgets/Directions.js +1 -1
- package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
- package/widgets/FeatureForm/RelationshipInput.d.ts +3 -3
- package/widgets/FeatureForm/RelationshipInput.js +1 -1
- package/widgets/FeatureForm/UtilityNetworkAssociationInput.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +7 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable/support/types.d.ts +11 -1
- package/widgets/FeatureTable.d.ts +7 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.d.ts +66 -6
- package/widgets/support/SelectionToolbar/types.d.ts +20 -1
- package/assets/esri/core/workers/chunks/03babc21d1781142a974.js +0 -1
- package/assets/esri/core/workers/chunks/0c8e6ccb5a8174718d62.js +0 -640
- package/assets/esri/core/workers/chunks/0e6a388d51d9dbae46ba.js +0 -1
- package/assets/esri/core/workers/chunks/13f0e08de2dfab07d212.js +0 -1
- package/assets/esri/core/workers/chunks/1c0e8808d14d8e6dde2c.js +0 -1
- package/assets/esri/core/workers/chunks/1c8c8050d60205cf2156.js +0 -1
- package/assets/esri/core/workers/chunks/23119a1b1310b7dab2aa.js +0 -1
- package/assets/esri/core/workers/chunks/282f3d364411efac7b80.js +0 -1
- package/assets/esri/core/workers/chunks/2ffffc1931b2e27c6617.js +0 -1
- package/assets/esri/core/workers/chunks/313a89b334e3518d30a4.js +0 -1
- package/assets/esri/core/workers/chunks/340c68d09d2e8bef6727.js +0 -2
- package/assets/esri/core/workers/chunks/389e57aab12d52d72695.js +0 -1
- package/assets/esri/core/workers/chunks/3fed503185ea1913fb84.js +0 -1
- package/assets/esri/core/workers/chunks/4020f95d8131493f799e.js +0 -1
- package/assets/esri/core/workers/chunks/4255ad7601c7a7621b71.js +0 -1
- package/assets/esri/core/workers/chunks/453c3b265481c80fc625.js +0 -1
- package/assets/esri/core/workers/chunks/4a41f98210f1da3b5041.js +0 -1
- package/assets/esri/core/workers/chunks/4afe76de6e82e86fe697.js +0 -1
- package/assets/esri/core/workers/chunks/5a85cbc04c64091d7f46.js +0 -1
- package/assets/esri/core/workers/chunks/5e5c7cc74ff1c9603aff.js +0 -1
- package/assets/esri/core/workers/chunks/601edefd8da4eb2eda28.js +0 -1
- package/assets/esri/core/workers/chunks/6f02681bcaa9bef501fc.js +0 -1
- package/assets/esri/core/workers/chunks/7b66691d133dabd87ce6.js +0 -1
- package/assets/esri/core/workers/chunks/7c077e1a63ab97bf3e87.js +0 -1
- package/assets/esri/core/workers/chunks/7dc9ff66e1eceadbae24.js +0 -1
- package/assets/esri/core/workers/chunks/85a200aecc7a844c9566.js +0 -1
- package/assets/esri/core/workers/chunks/8a1751187a20b6578875.js +0 -1
- package/assets/esri/core/workers/chunks/958617c3a9854ea04e06.js +0 -1
- package/assets/esri/core/workers/chunks/9ebc461529d5286fa2c2.js +0 -2
- package/assets/esri/core/workers/chunks/a5b9ae4c93f9af7589f2.js +0 -1
- package/assets/esri/core/workers/chunks/a93a058678c8c8996d54.js +0 -1
- package/assets/esri/core/workers/chunks/aca9591d3467a24f8329.js +0 -1
- package/assets/esri/core/workers/chunks/acb8cff06142f828fb78.js +0 -1
- package/assets/esri/core/workers/chunks/b02a68bbab07557cf02d.js +0 -1
- package/assets/esri/core/workers/chunks/b891d95b7858665cd6c1.js +0 -1
- package/assets/esri/core/workers/chunks/c91d4f1b42cfe474df52.js +0 -1
- package/assets/esri/core/workers/chunks/d00b9c1fd0865bf8f317.js +0 -1
- package/assets/esri/core/workers/chunks/d02aa7438f46c1c2167a.js +0 -2
- package/assets/esri/core/workers/chunks/d33a08e5f589355c57a3.js +0 -1
- package/assets/esri/core/workers/chunks/dd29fd1b3da90d3ca6b1.js +0 -1
- package/assets/esri/core/workers/chunks/deab352545c34cac148c.js +0 -1
- package/assets/esri/core/workers/chunks/e393fd61deb2e7f22ee6.js +0 -1
- package/assets/esri/core/workers/chunks/e5854a3f69dffaf9464d.js +0 -2
- package/assets/esri/core/workers/chunks/e8518bd3596543b387f8.js +0 -1
- package/assets/esri/core/workers/chunks/ee56290e600cbeb25a00.js +0 -1
- package/assets/esri/core/workers/chunks/f91a2c69a93295cf4de6.js +0 -1
- package/assets/esri/core/workers/chunks/fec3fffcf854a6226df4.js +0 -1
- /package/assets/esri/core/workers/chunks/{e5854a3f69dffaf9464d.js.LICENSE.txt → 32f128a1615d71bbe899.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{340c68d09d2e8bef6727.js.LICENSE.txt → 40df608337d562553ce1.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{481dc7503587972a6bd2.js.LICENSE.txt → 701125f6cdd91ff3655f.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d02aa7438f46c1c2167a.js.LICENSE.txt → a70fa35b2d19460637e9.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{9ebc461529d5286fa2c2.js.LICENSE.txt → fbcf09526dc1bbe94b91.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4807],{79608(t,n,r){r.d(n,{A:()=>f});var e=r(5482),o=r(69540),a=r(91429);let i=class extends o.Pw{constructor(t){super(t),this.type="web-scene"}equals(t){return this.type===t.type}};(0,e.Cg)([(0,a.MZ)()],i.prototype,"type",void 0),i=(0,e.Cg)([(0,a.$K)("esri.analysis.support.AnalysisOriginWebScene")],i);const s=i;var u=r(69622),c=r(4902),h=r(25482);let l=0,f=class extends((0,h.T)((0,o.OU)((0,c.s)(u.A)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${l++}`,this.origin=null}get parent(){return this._get("parent")}set parent(t){const n=this.parent;if(null!=n)switch(n.type){case"line-of-sight":case"dimension":case"viewshed":n.releaseAnalysis(this);break;case"2d":case"3d":n.analyses.includes(this)&&n.analyses.remove(this)}this._set("parent",t)}equals(t){return this.type===t.type}};(0,e.Cg)([(0,a.MZ)({type:String,constructOnly:!0,clonable:!1})],f.prototype,"id",void 0),(0,e.Cg)([(0,a.MZ)({clonable:!1,value:null})],f.prototype,"parent",null),(0,e.Cg)([(0,a.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":s}}})],f.prototype,"origin",void 0),f=(0,e.Cg)([(0,a.$K)("esri.analysis.Analysis")],f)},91715(t,n,r){r.d(n,{xH:()=>a,N1:()=>s}),r(35522);var e=r(51850),o=r(71351);function a(t,n){return i(t)===i(n)}function i(t){if(null==t)return null;const n=null!=t.layer?t.layer.id:"";let r=null;return r=null!=t.objectId?t.objectId:null!=t.layer&&"objectIdField"in t.layer&&null!=t.layer.objectIdField&&null!=t.attributes?t.attributes[t.layer.objectIdField]:t.uid,null==r?null:`o-${n}-${r}`}r(58083),r(70328),r(77548),r(6867),r(49718),(0,e.vt)();const s={json:{write:{writer:function(t,n){null!=t?.layer?.objectIdField&&null!=t.attributes&&(n.feature={layerId:t.layer.id,objectId:t.attributes[t.layer.objectIdField]})},target:{"feature.layerId":{type:[Number,String],isRequired:!0},"feature.objectId":{type:[Number,String],isRequired:!0}}},origins:{"web-scene":{read:function(t){if(null!=t.layerId&&null!=t.objectId)return{uid:null,layer:{id:t.layerId,objectIdField:"ObjectId"},attributes:{ObjectId:t.objectId}}}}}},clonable:"reference"};(0,o.vt)(),(0,e.vt)()},80200(t,n,r){r.d(n,{T:()=>e,d:()=>l});const e={Base64:0,Hex:1,String:2,Raw:3};function o(t,n){const r=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(r>>16)<<16|65535&r}function a(t,n,r,e,a,i){return o(function(t,n){return t<<n|t>>>32-n}(o(o(n,t),o(e,i)),a),r)}function i(t,n,r,e,o,i,s){return a(n&r|~n&e,t,n,o,i,s)}function s(t,n,r,e,o,i,s){return a(n&e|r&~e,t,n,o,i,s)}function u(t,n,r,e,o,i,s){return a(n^r^e,t,n,o,i,s)}function c(t,n,r,e,o,i,s){return a(r^(n|~e),t,n,o,i,s)}function h(t,n){t[n>>5]|=128<<n%32,t[14+(n+64>>>9<<4)]=n;let r=1732584193,e=-271733879,a=-1732584194,h=271733878;for(let n=0;n<t.length;n+=16){const l=r,f=e,M=a,m=h;r=i(r,e,a,h,t[n],7,-680876936),h=i(h,r,e,a,t[n+1],12,-389564586),a=i(a,h,r,e,t[n+2],17,606105819),e=i(e,a,h,r,t[n+3],22,-1044525330),r=i(r,e,a,h,t[n+4],7,-176418897),h=i(h,r,e,a,t[n+5],12,1200080426),a=i(a,h,r,e,t[n+6],17,-1473231341),e=i(e,a,h,r,t[n+7],22,-45705983),r=i(r,e,a,h,t[n+8],7,1770035416),h=i(h,r,e,a,t[n+9],12,-1958414417),a=i(a,h,r,e,t[n+10],17,-42063),e=i(e,a,h,r,t[n+11],22,-1990404162),r=i(r,e,a,h,t[n+12],7,1804603682),h=i(h,r,e,a,t[n+13],12,-40341101),a=i(a,h,r,e,t[n+14],17,-1502002290),e=i(e,a,h,r,t[n+15],22,1236535329),r=s(r,e,a,h,t[n+1],5,-165796510),h=s(h,r,e,a,t[n+6],9,-1069501632),a=s(a,h,r,e,t[n+11],14,643717713),e=s(e,a,h,r,t[n],20,-373897302),r=s(r,e,a,h,t[n+5],5,-701558691),h=s(h,r,e,a,t[n+10],9,38016083),a=s(a,h,r,e,t[n+15],14,-660478335),e=s(e,a,h,r,t[n+4],20,-405537848),r=s(r,e,a,h,t[n+9],5,568446438),h=s(h,r,e,a,t[n+14],9,-1019803690),a=s(a,h,r,e,t[n+3],14,-187363961),e=s(e,a,h,r,t[n+8],20,1163531501),r=s(r,e,a,h,t[n+13],5,-1444681467),h=s(h,r,e,a,t[n+2],9,-51403784),a=s(a,h,r,e,t[n+7],14,1735328473),e=s(e,a,h,r,t[n+12],20,-1926607734),r=u(r,e,a,h,t[n+5],4,-378558),h=u(h,r,e,a,t[n+8],11,-2022574463),a=u(a,h,r,e,t[n+11],16,1839030562),e=u(e,a,h,r,t[n+14],23,-35309556),r=u(r,e,a,h,t[n+1],4,-1530992060),h=u(h,r,e,a,t[n+4],11,1272893353),a=u(a,h,r,e,t[n+7],16,-155497632),e=u(e,a,h,r,t[n+10],23,-1094730640),r=u(r,e,a,h,t[n+13],4,681279174),h=u(h,r,e,a,t[n],11,-358537222),a=u(a,h,r,e,t[n+3],16,-722521979),e=u(e,a,h,r,t[n+6],23,76029189),r=u(r,e,a,h,t[n+9],4,-640364487),h=u(h,r,e,a,t[n+12],11,-421815835),a=u(a,h,r,e,t[n+15],16,530742520),e=u(e,a,h,r,t[n+2],23,-995338651),r=c(r,e,a,h,t[n],6,-198630844),h=c(h,r,e,a,t[n+7],10,1126891415),a=c(a,h,r,e,t[n+14],15,-1416354905),e=c(e,a,h,r,t[n+5],21,-57434055),r=c(r,e,a,h,t[n+12],6,1700485571),h=c(h,r,e,a,t[n+3],10,-1894986606),a=c(a,h,r,e,t[n+10],15,-1051523),e=c(e,a,h,r,t[n+1],21,-2054922799),r=c(r,e,a,h,t[n+8],6,1873313359),h=c(h,r,e,a,t[n+15],10,-30611744),a=c(a,h,r,e,t[n+6],15,-1560198380),e=c(e,a,h,r,t[n+13],21,1309151649),r=c(r,e,a,h,t[n+4],6,-145523070),h=c(h,r,e,a,t[n+11],10,-1120210379),a=c(a,h,r,e,t[n+2],15,718787259),e=c(e,a,h,r,t[n+9],21,-343485551),r=o(r,l),e=o(e,f),a=o(a,M),h=o(h,m)}return[r,e,a,h]}function l(t,n=e.Hex){const r=n||e.Base64,o=h(function(t){const n=[];for(let r=0,e=8*t.length;r<e;r+=8)n[r>>5]|=(255&t.charCodeAt(r/8))<<r%32;return n}(t),8*t.length);switch(r){case e.Raw:return o;case e.Hex:return function(t){const n="0123456789abcdef",r=[];for(let e=0,o=4*t.length;e<o;e++)r.push(n.charAt(t[e>>2]>>e%4*8+4&15)+n.charAt(t[e>>2]>>e%4*8&15));return r.join("")}(o);case e.String:return function(t){const n=[];for(let r=0,e=32*t.length;r<e;r+=8)n.push(String.fromCharCode(t[r>>5]>>>r%32&255));return n.join("")}(o);case e.Base64:return function(t){const n=[];for(let r=0,e=4*t.length;r<e;r+=3){const e=(t[r>>2]>>r%4*8&255)<<16|(t[r+1>>2]>>(r+1)%4*8&255)<<8|t[r+2>>2]>>(r+2)%4*8&255;for(let o=0;o<4;o++)8*r+6*o>32*t.length?n.push("="):n.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>6*(3-o)&63))}return n.join("")}(o)}}},4341(t,n,r){r.d(n,{I:()=>o});var e=r(26390);class o{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*a);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,a));t++)this._items.push(this._allocator())}}const a=1024},87024(t,n,r){r.d(n,{P:()=>M});var e=r(49186),o=r(80200),a=r(76553),i=r(84952),s=r(13069),u=r(96156),c=r(35666),h=r(10107),l=r(85648),f=r(97159);function M(t){const n=t?.origins??[void 0];return(r,e)=>{const o=function(t,n,r){if("resource"===t?.type)return function(t,n,r){const e=(0,u.z4)(n,r);return{type:String,read:(t,n,r)=>{const o=(0,f.r)(t,n,r);return e.type===String?o:"function"==typeof e.type?new e.type({url:o}):void 0},write:{isRequired:e.json?.write?.isRequired,writer(n,o,s,u){if(!u?.resources)return"string"==typeof n?void(o[s]=(0,f.c)(n,u)):void(o[s]=n.write({},u));const h=function(t){return null==t?null:"string"==typeof t?t:t.url}(n),M=(0,f.c)(h,{...u,verifyItemRelativeUrls:u?.verifyItemRelativeUrls?{writtenUrls:u.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},1),g=e.type!==String&&(!(0,a.H)(this)||u?.origin&&this.originIdOf(r)>(0,c.aB)(u.origin)),b={object:this,propertyName:r,value:n,targetUrl:M,dest:o,targetPropertyName:s,context:u,params:t};u?.portalItem&&M&&!(0,i.oP)(M)?g&&t?.contentAddressed?m(b):g?function(t){const{context:n,targetUrl:r,params:e,value:o,dest:a,targetPropertyName:s}=t;if(!n.portalItem)return;const u=n.portalItem.resourceFromPath(r),c=p(o,r,n),h=(0,l.n)(c),f=(0,i.Zo)(u.path),M=e?.compress??!1;h===f?(n.resources&&d({...t,resource:u,content:c,compress:M,updates:n.resources.toUpdate}),a[s]=r):m(t)}(b):function({context:t,targetUrl:n,dest:r,targetPropertyName:e}){t.portalItem&&t.resources&&(t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(n),compress:!1}),r[e]=n)}(b):u?.portalItem&&(null==M||null!=(0,f.i)(M)||(0,i.w8)(M)||g)?m(b):o[s]=M}}}}(t,n,r);switch(t?.type??"other"){case"other":return{read:!0,write:!0};case"url":{const{read:t,write:n}=f.p;return{read:t,write:n}}}}(t,r,e);for(const t of n){const n=(0,h.rM)(r,t,e);for(const t in o)n[t]=o[t]}}}function m(t){const{targetUrl:n,params:r,value:a,context:u,dest:c,targetPropertyName:h}=t;if(!u.portalItem)return;const M=(0,f.b)(n),m=p(a,n,u);if(r?.contentAddressed&&"json"!==m.type)return void u.messages?.push(new e.A("persistable:contentAddressingUnsupported",`Property "${h}" is trying to serializing a resource with content of type ${m.type} with content addressing. Content addressing is only supported for json resources.`,{content:m}));const g=r?.contentAddressed&&"json"===m.type?(0,o.d)(m.jsonString):M?.filename??(0,s.lk)(),b=(0,i.fj)(r?.prefix??M?.prefix,g),y=`${b}.${(0,l.n)(m)}`;if(r?.contentAddressed&&u.resources&&"json"===m.type){const t=u.resources.toKeep.find(({resource:t})=>t.path===y)??u.resources.toAdd.find(({resource:t})=>t.path===y);if(t)return void(c[h]=t.resource.itemRelativeUrl)}const v=u.portalItem.resourceFromPath(y);(0,i.w8)(n)&&u.resources&&u.resources.pendingOperations.push((0,i.tk)(n).then(t=>{v.path=`${b}.${(0,l.n)({type:"blob",blob:t})}`,c[h]=v.itemRelativeUrl}).catch(()=>{}));const I=r?.compress??!1;u.resources&&d({...t,resource:v,content:m,compress:I,updates:u.resources.toAdd}),c[h]=v.itemRelativeUrl}function d({object:t,propertyName:n,updates:r,resource:e,content:o,compress:a}){r.push({resource:e,content:o,compress:a,finish:r=>{!function(t,n,r){"string"==typeof t[n]?t[n]=r.url:t[n].url=r.url}(t,n,r)}})}function p(t,n,r){return"string"==typeof t?{type:"url",url:n}:{type:"json",jsonString:JSON.stringify(t.toJSON(r))}}},62885(t,n,r){r.d(n,{H:()=>a,V:()=>o});var e=r(7762);function o(t,n,r=e.A){return n||(n=new r),n===t||n.destroyed||(n.removeAll(),(o=t)&&(Array.isArray(o)||"items"in o&&Array.isArray(o.items))?n.addMany(t):t&&n.add(t)),n;var o}function a(t){return t}},9093(t,n,r){function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>o,vt:()=>e,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:e,fromValues:function(t,n,r,e,o,a,i,s,u,c,h,l,f,M,m,d){return[t,n,r,e,o,a,i,s,u,c,h,l,f,M,m,d]}},Symbol.toStringTag,{value:"Module"}))},82534(t,n,r){function e(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}r.d(n,{o8:()=>o,vt:()=>e,zK:()=>a});const a=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:e,fromValues:function(t,n,r,e){return[t,n,r,e]}},Symbol.toStringTag,{value:"Module"}))},48163(t,n,r){function e(){return[0,0]}function o(t){return[t[0],t[1]]}function a(t,n){return[t,n]}function i(){return a(1,1)}function s(){return a(-1,-1)}function u(){return a(1,0)}function c(){return a(0,1)}r.d(n,{IA:()=>l,Un:()=>h,fA:()=>a,o8:()=>o,vt:()=>e});const h=i(),l=s(),f=u(),M=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:l,ONES:h,UNIT_X:f,UNIT_Y:M,ZEROS:[0,0],clone:o,create:e,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const r=Math.min(2,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:a,negativeOnes:s,ones:i,unitX:u,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,n,r){function e(){return[0,0,0,0]}function o(t,n,r,e){return[t,n,r,e]}function a(t,n,r,e){return[t,n,r,e]}function i(){return o(1,1,1,1)}function s(){return o(1,0,0,0)}function u(){return o(0,1,0,0)}function c(){return o(0,0,1,0)}function h(){return o(0,0,0,1)}r.d(n,{CN:()=>a,Un:()=>f,fA:()=>o,uY:()=>l,vt:()=>e});const l=[0,0,0,0],f=i(),M=s(),m=u(),d=c(),p=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_W:p,UNIT_X:M,UNIT_Y:m,UNIT_Z:d,ZEROS:l,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:e,freeze:a,fromArray:function(t,n=[0,0,0,0]){const r=Math.min(4,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:o,ones:i,unitW:h,unitX:s,unitY:u,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,n,r){r.d(n,{$0:()=>p,$h:()=>A,B8:()=>c,C:()=>a,D_:()=>s,N9:()=>b,O7:()=>w,Tl:()=>l,X_:()=>_,aI:()=>N,e$:()=>M,eL:()=>m,hM:()=>g,hZ:()=>i,hs:()=>f,kN:()=>d,l:()=>x,lw:()=>h,mg:()=>u,o1:()=>j,sC:()=>I,t2:()=>P,t5:()=>q,tZ:()=>T,ut:()=>C,v3:()=>S});var e=r(51850),o=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function i(t,n,r,e,o,a,i,s,u,c,h,l,f,M,m,d,p){return t[0]=n,t[1]=r,t[2]=e,t[3]=o,t[4]=a,t[5]=i,t[6]=s,t[7]=u,t[8]=c,t[9]=h,t[10]=l,t[11]=f,t[12]=M,t[13]=m,t[14]=d,t[15]=p,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,n){if(t===n){const r=n[1],e=n[2],o=n[3],a=n[6],i=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=r,t[6]=n[9],t[7]=n[13],t[8]=e,t[9]=a,t[11]=n[14],t[12]=o,t[13]=i,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function c(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],s=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],M=n[11],m=n[12],d=n[13],p=n[14],g=n[15],b=r*s-e*i,y=r*u-o*i,v=r*c-a*i,I=e*u-o*s,_=e*c-a*s,x=o*c-a*u,j=h*d-l*m,w=h*p-f*m,A=h*g-M*m,S=l*p-f*d,q=l*g-M*d,O=f*g-M*p;let P=b*O-y*q+v*S+I*A-_*w+x*j;return P?(P=1/P,t[0]=(s*O-u*q+c*S)*P,t[1]=(o*q-e*O-a*S)*P,t[2]=(d*x-p*_+g*I)*P,t[3]=(f*_-l*x-M*I)*P,t[4]=(u*A-i*O-c*w)*P,t[5]=(r*O-o*A+a*w)*P,t[6]=(p*v-m*x-g*y)*P,t[7]=(h*x-f*v+M*y)*P,t[8]=(i*q-s*A+c*j)*P,t[9]=(e*A-r*q-a*j)*P,t[10]=(m*_-d*v+g*b)*P,t[11]=(l*v-h*_-M*b)*P,t[12]=(s*w-i*S-u*j)*P,t[13]=(r*S-e*w+o*j)*P,t[14]=(d*y-m*I-p*b)*P,t[15]=(h*I-l*y+f*b)*P,t):null}function h(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],s=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=n[9],M=n[10],m=n[11],d=n[12],p=n[13],g=n[14],b=n[15];let y=r[0],v=r[1],I=r[2],_=r[3];return t[0]=y*e+v*s+I*l+_*d,t[1]=y*o+v*u+I*f+_*p,t[2]=y*a+v*c+I*M+_*g,t[3]=y*i+v*h+I*m+_*b,y=r[4],v=r[5],I=r[6],_=r[7],t[4]=y*e+v*s+I*l+_*d,t[5]=y*o+v*u+I*f+_*p,t[6]=y*a+v*c+I*M+_*g,t[7]=y*i+v*h+I*m+_*b,y=r[8],v=r[9],I=r[10],_=r[11],t[8]=y*e+v*s+I*l+_*d,t[9]=y*o+v*u+I*f+_*p,t[10]=y*a+v*c+I*M+_*g,t[11]=y*i+v*h+I*m+_*b,y=r[12],v=r[13],I=r[14],_=r[15],t[12]=y*e+v*s+I*l+_*d,t[13]=y*o+v*u+I*f+_*p,t[14]=y*a+v*c+I*M+_*g,t[15]=y*i+v*h+I*m+_*b,t}function l(t,n,r){const e=r[0],o=r[1],a=r[2];if(n===t)t[12]=n[0]*e+n[4]*o+n[8]*a+n[12],t[13]=n[1]*e+n[5]*o+n[9]*a+n[13],t[14]=n[2]*e+n[6]*o+n[10]*a+n[14],t[15]=n[3]*e+n[7]*o+n[11]*a+n[15];else{const r=n[0],i=n[1],s=n[2],u=n[3],c=n[4],h=n[5],l=n[6],f=n[7],M=n[8],m=n[9],d=n[10],p=n[11];t[0]=r,t[1]=i,t[2]=s,t[3]=u,t[4]=c,t[5]=h,t[6]=l,t[7]=f,t[8]=M,t[9]=m,t[10]=d,t[11]=p,t[12]=r*e+c*o+M*a+n[12],t[13]=i*e+h*o+m*a+n[13],t[14]=s*e+l*o+d*a+n[14],t[15]=u*e+f*o+p*a+n[15]}return t}function f(t,n,r){const e=r[0],o=r[1],a=r[2];return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*o,t[5]=n[5]*o,t[6]=n[6]*o,t[7]=n[7]*o,t[8]=n[8]*a,t[9]=n[9]*a,t[10]=n[10]*a,t[11]=n[11]*a,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function M(t,n,r,e){let i=e[0],s=e[1],u=e[2],c=Math.sqrt(i*i+s*s+u*u);if(c<=(0,o.FD)())return void a(t,n);c=1/c,i*=c,s*=c,u*=c;const h=Math.sin(r),l=Math.cos(r),f=1-l,M=n[0],m=n[1],d=n[2],p=n[3],g=n[4],b=n[5],y=n[6],v=n[7],I=n[8],_=n[9],x=n[10],j=n[11],w=i*i*f+l,A=s*i*f+u*h,S=u*i*f-s*h,q=i*s*f-u*h,O=s*s*f+l,P=u*s*f+i*h,N=i*u*f+s*h,C=s*u*f-i*h,T=u*u*f+l;t[0]=M*w+g*A+I*S,t[1]=m*w+b*A+_*S,t[2]=d*w+y*A+x*S,t[3]=p*w+v*A+j*S,t[4]=M*q+g*O+I*P,t[5]=m*q+b*O+_*P,t[6]=d*q+y*O+x*P,t[7]=p*q+v*O+j*P,t[8]=M*N+g*C+I*T,t[9]=m*N+b*C+_*T,t[10]=d*N+y*C+x*T,t[11]=p*N+v*C+j*T,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function m(t,n,r){const e=Math.sin(r),o=Math.cos(r),a=n[4],i=n[5],s=n[6],u=n[7],c=n[8],h=n[9],l=n[10],f=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=a*o+c*e,t[5]=i*o+h*e,t[6]=s*o+l*e,t[7]=u*o+f*e,t[8]=c*o-a*e,t[9]=h*o-i*e,t[10]=l*o-s*e,t[11]=f*o-u*e,t}function d(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function p(t,n,r){if(0===n)return s(t);let e=r[0],a=r[1],i=r[2],u=Math.sqrt(e*e+a*a+i*i);if(u<=(0,o.FD)())return null;u=1/u,e*=u,a*=u,i*=u;const c=Math.sin(n),h=Math.cos(n),l=1-h;return t[0]=e*e*l+h,t[1]=a*e*l+i*c,t[2]=i*e*l-a*c,t[3]=0,t[4]=e*a*l-i*c,t[5]=a*a*l+h,t[6]=i*a*l+e*c,t[7]=0,t[8]=e*i*l+a*c,t[9]=a*i*l-e*c,t[10]=i*i*l+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function b(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=e,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3],s=e+e,u=o+o,c=a+a,h=e*s,l=e*u,f=e*c,M=o*u,m=o*c,d=a*c,p=i*s,g=i*u,b=i*c;return t[0]=1-(M+d),t[1]=l+b,t[2]=f-g,t[3]=0,t[4]=l-b,t[5]=1-(h+d),t[6]=m+p,t[7]=0,t[8]=f+g,t[9]=m-p,t[10]=1-(h+M),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const v=(0,e.vt)();function I(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function _(t,n){const r=n[0],e=n[1],o=n[2],a=n[4],i=n[5],s=n[6],u=n[8],c=n[9],h=n[10];return t[0]=Math.sqrt(r*r+e*e+o*o),t[1]=Math.sqrt(a*a+i*i+s*s),t[2]=Math.sqrt(u*u+c*c+h*h),t}function x(t,n){const r=n[0]+n[5]+n[10];let e=0;return r>0?(e=2*Math.sqrt(r+1),t[3]=.25*e,t[0]=(n[6]-n[9])/e,t[1]=(n[8]-n[2])/e,t[2]=(n[1]-n[4])/e):n[0]>n[5]&&n[0]>n[10]?(e=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/e,t[0]=.25*e,t[1]=(n[1]+n[4])/e,t[2]=(n[8]+n[2])/e):n[5]>n[10]?(e=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/e,t[0]=(n[1]+n[4])/e,t[1]=.25*e,t[2]=(n[6]+n[9])/e):(e=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/e,t[0]=(n[8]+n[2])/e,t[1]=(n[6]+n[9])/e,t[2]=.25*e),t}function j(t,n,r,e){const o=n[0],a=n[1],i=n[2],s=n[3],u=o+o,c=a+a,h=i+i,l=o*u,f=o*c,M=o*h,m=a*c,d=a*h,p=i*h,g=s*u,b=s*c,y=s*h,v=e[0],I=e[1],_=e[2];return t[0]=(1-(m+p))*v,t[1]=(f+y)*v,t[2]=(M-b)*v,t[3]=0,t[4]=(f-y)*I,t[5]=(1-(l+p))*I,t[6]=(d+g)*I,t[7]=0,t[8]=(M+b)*_,t[9]=(d-g)*_,t[10]=(1-(l+m))*_,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function w(t,n,r,e,o){const a=n[0],i=n[1],s=n[2],u=n[3],c=a+a,h=i+i,l=s+s,f=a*c,M=a*h,m=a*l,d=i*h,p=i*l,g=s*l,b=u*c,y=u*h,v=u*l,I=e[0],_=e[1],x=e[2],j=o[0],w=o[1],A=o[2],S=(1-(d+g))*I,q=(M+v)*I,O=(m-y)*I,P=(M-v)*_,N=(1-(f+g))*_,C=(p+b)*_,T=(m+y)*x,R=(p-b)*x,U=(1-(f+d))*x;return t[0]=S,t[1]=q,t[2]=O,t[3]=0,t[4]=P,t[5]=N,t[6]=C,t[7]=0,t[8]=T,t[9]=R,t[10]=U,t[11]=0,t[12]=r[0]+j-(S*j+P*w+T*A),t[13]=r[1]+w-(q*j+N*w+R*A),t[14]=r[2]+A-(O*j+C*w+U*A),t[15]=1,t}function A(t,n,r,e,o,a,i){const s=1/(r-n),u=1/(o-e),c=1/(a-i);return t[0]=2*a*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*a*u,t[6]=0,t[7]=0,t[8]=(r+n)*s,t[9]=(o+e)*u,t[10]=(i+a)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=i*a*2*c,t[15]=0,t}function S(t,n,r,e,o,a,i){const s=1/(n-r),u=1/(e-o),c=1/(a-i);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+r)*s,t[13]=(o+e)*u,t[14]=(i+a)*c,t[15]=1,t}function q(t,n,r,e){const a=n[0],i=n[1],u=n[2];let c=a-r[0],h=i-r[1],l=u-r[2];const f=(0,o.FD)();if(Math.abs(c)<f&&Math.abs(h)<f&&Math.abs(l)<f)return void s(t);let M=1/Math.sqrt(c*c+h*h+l*l);c*=M,h*=M,l*=M;const m=e[0],d=e[1],p=e[2];let g=d*l-p*h,b=p*c-m*l,y=m*h-d*c;M=Math.sqrt(g*g+b*b+y*y),M?(M=1/M,g*=M,b*=M,y*=M):(g=0,b=0,y=0);let v=h*y-l*b,I=l*g-c*y,_=c*b-h*g;M=Math.sqrt(v*v+I*I+_*_),M?(M=1/M,v*=M,I*=M,_*=M):(v=0,I=0,_=0),t[0]=g,t[1]=v,t[2]=c,t[3]=0,t[4]=b,t[5]=I,t[6]=h,t[7]=0,t[8]=y,t[9]=_,t[10]=l,t[11]=0,t[12]=-(g*a+b*i+y*u),t[13]=-(v*a+I*i+_*u),t[14]=-(c*a+h*i+l*u),t[15]=1}function O(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t[9]=n[9]-r[9],t[10]=n[10]-r[10],t[11]=n[11]-r[11],t[12]=n[12]-r[12],t[13]=n[13]-r[13],t[14]=n[14]-r[14],t[15]=n[15]-r[15],t}function P(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function N(t,n){if(t===n)return!0;const r=t[0],e=t[1],a=t[2],i=t[3],s=t[4],u=t[5],c=t[6],h=t[7],l=t[8],f=t[9],M=t[10],m=t[11],d=t[12],p=t[13],g=t[14],b=t[15],y=n[0],v=n[1],I=n[2],_=n[3],x=n[4],j=n[5],w=n[6],A=n[7],S=n[8],q=n[9],O=n[10],P=n[11],N=n[12],C=n[13],T=n[14],R=n[15],U=(0,o.FD)();return Math.abs(r-y)<=U*Math.max(1,Math.abs(r),Math.abs(y))&&Math.abs(e-v)<=U*Math.max(1,Math.abs(e),Math.abs(v))&&Math.abs(a-I)<=U*Math.max(1,Math.abs(a),Math.abs(I))&&Math.abs(i-_)<=U*Math.max(1,Math.abs(i),Math.abs(_))&&Math.abs(s-x)<=U*Math.max(1,Math.abs(s),Math.abs(x))&&Math.abs(u-j)<=U*Math.max(1,Math.abs(u),Math.abs(j))&&Math.abs(c-w)<=U*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(h-A)<=U*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(l-S)<=U*Math.max(1,Math.abs(l),Math.abs(S))&&Math.abs(f-q)<=U*Math.max(1,Math.abs(f),Math.abs(q))&&Math.abs(M-O)<=U*Math.max(1,Math.abs(M),Math.abs(O))&&Math.abs(m-P)<=U*Math.max(1,Math.abs(m),Math.abs(P))&&Math.abs(d-N)<=U*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(p-C)<=U*Math.max(1,Math.abs(p),Math.abs(C))&&Math.abs(g-T)<=U*Math.max(1,Math.abs(g),Math.abs(T))&&Math.abs(b-R)<=U*Math.max(1,Math.abs(b),Math.abs(R))}function C(t){const n=(0,o.FD)(),r=t[0],e=t[1],a=t[2],i=t[4],s=t[5],u=t[6],c=t[8],h=t[9],l=t[10];return Math.abs(1-(r*r+i*i+c*c))<=n&&Math.abs(1-(e*e+s*s+h*h))<=n&&Math.abs(1-(a*a+u*u+l*l))<=n}function T(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const R=h,U=O;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t[9]=n[9]+r[9],t[10]=n[10]+r[10],t[11]=n[11]+r[11],t[12]=n[12]+r[12],t[13]=n[13]+r[13],t[14]=n[14]+r[14],t[15]=n[15]+r[15],t},adjoint:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=n[4],s=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],M=n[11],m=n[12],d=n[13],p=n[14],g=n[15];return t[0]=s*(f*g-M*p)-l*(u*g-c*p)+d*(u*M-c*f),t[1]=-(e*(f*g-M*p)-l*(o*g-a*p)+d*(o*M-a*f)),t[2]=e*(u*g-c*p)-s*(o*g-a*p)+d*(o*c-a*u),t[3]=-(e*(u*M-c*f)-s*(o*M-a*f)+l*(o*c-a*u)),t[4]=-(i*(f*g-M*p)-h*(u*g-c*p)+m*(u*M-c*f)),t[5]=r*(f*g-M*p)-h*(o*g-a*p)+m*(o*M-a*f),t[6]=-(r*(u*g-c*p)-i*(o*g-a*p)+m*(o*c-a*u)),t[7]=r*(u*M-c*f)-i*(o*M-a*f)+h*(o*c-a*u),t[8]=i*(l*g-M*d)-h*(s*g-c*d)+m*(s*M-c*l),t[9]=-(r*(l*g-M*d)-h*(e*g-a*d)+m*(e*M-a*l)),t[10]=r*(s*g-c*d)-i*(e*g-a*d)+m*(e*c-a*s),t[11]=-(r*(s*M-c*l)-i*(e*M-a*l)+h*(e*c-a*s)),t[12]=-(i*(l*p-f*d)-h*(s*p-u*d)+m*(s*f-u*l)),t[13]=r*(l*p-f*d)-h*(e*p-o*d)+m*(e*f-o*l),t[14]=-(r*(s*p-u*d)-i*(e*p-o*d)+m*(e*u-o*s)),t[15]=r*(s*f-u*l)-i*(e*f-o*l)+h*(e*u-o*s),t},copy:a,determinant:function(t){const n=t[0],r=t[1],e=t[2],o=t[3],a=t[4],i=t[5],s=t[6],u=t[7],c=t[8],h=t[9],l=t[10],f=t[11],M=t[12],m=t[13],d=t[14],p=t[15];return(n*i-r*a)*(l*p-f*d)-(n*s-e*a)*(h*p-f*m)+(n*u-o*a)*(h*d-l*m)+(r*s-e*i)*(c*p-f*M)-(r*u-o*i)*(c*d-l*M)+(e*u-o*s)*(c*m-h*M)},equals:N,exactEquals:P,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const r=n[0],e=n[1],o=n[2],a=n[3],i=r+r,s=e+e,u=o+o,c=r*i,h=e*i,l=e*s,f=o*i,M=o*s,m=o*u,d=a*i,p=a*s,g=a*u;return t[0]=1-l-m,t[1]=h+g,t[2]=f-p,t[3]=0,t[4]=h-g,t[5]=1-c-m,t[6]=M+d,t[7]=0,t[8]=f+p,t[9]=M-d,t[10]=1-c-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const r=v,e=-n[0],o=-n[1],a=-n[2],i=n[3],s=n[4],u=n[5],c=n[6],h=n[7],l=e*e+o*o+a*a+i*i;return l>0?(r[0]=2*(s*i+h*e+u*a-c*o)/l,r[1]=2*(u*i+h*o+c*e-s*a)/l,r[2]=2*(c*i+h*a+s*o-u*e)/l):(r[0]=2*(s*i+h*e+u*a-c*o),r[1]=2*(u*i+h*o+c*e-s*a),r[2]=2*(c*i+h*a+s*o-u*e)),y(t,n,r),t},fromRotation:p,fromRotationTranslation:y,fromRotationTranslationScale:j,fromRotationTranslationScaleOrigin:w,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:d,fromXRotation:g,fromYRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:b,frustum:A,getRotation:x,getScale:_,getTranslation:I,hasIdentityRotation:T,identity:s,invert:c,invertOrIdentity:function(t,n){return c(t,n)||s(t),t},isOrthoNormal:C,lookAt:q,mul:R,multiply:h,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t[9]=n[9]*r,t[10]=n[10]*r,t[11]=n[11]*r,t[12]=n[12]*r,t[13]=n[13]*r,t[14]=n[14]*r,t[15]=n[15]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t[9]=n[9]+r[9]*e,t[10]=n[10]+r[10]*e,t[11]=n[11]+r[11]*e,t[12]=n[12]+r[12]*e,t[13]=n[13]+r[13]*e,t[14]=n[14]+r[14]*e,t[15]=n[15]+r[15]*e,t},ortho:S,perspective:function(t,n,r,e,o){const a=1/Math.tan(n/2);let i;return t[0]=a/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=o&&o!==1/0?(i=1/(e-o),t[10]=(o+e)*i,t[14]=2*o*e*i):(t[10]=-1,t[14]=-2*e),t},perspectiveFromFieldOfView:function(t,n,r,e){const o=Math.tan(n.upDegrees*Math.PI/180),a=Math.tan(n.downDegrees*Math.PI/180),i=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),u=2/(i+s),c=2/(o+a);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(i-s)*u*.5,t[9]=(o-a)*c*.5,t[10]=e/(r-e),t[11]=-1,t[12]=0,t[13]=0,t[14]=e*r/(r-e),t[15]=0,t},rotate:M,rotateX:m,rotateY:function(t,n,r){const e=Math.sin(r),o=Math.cos(r),a=n[0],i=n[1],s=n[2],u=n[3],c=n[8],h=n[9],l=n[10],f=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=a*o-c*e,t[1]=i*o-h*e,t[2]=s*o-l*e,t[3]=u*o-f*e,t[8]=a*e+c*o,t[9]=i*e+h*o,t[10]=s*e+l*o,t[11]=u*e+f*o,t},rotateZ:function(t,n,r){const e=Math.sin(r),o=Math.cos(r),a=n[0],i=n[1],s=n[2],u=n[3],c=n[4],h=n[5],l=n[6],f=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=a*o+c*e,t[1]=i*o+h*e,t[2]=s*o+l*e,t[3]=u*o+f*e,t[4]=c*o-a*e,t[5]=h*o-i*e,t[6]=l*o-s*e,t[7]=f*o-u*e,t},scale:f,set:i,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:U,subtract:O,targetTo:function(t,n,r,e){const o=n[0],a=n[1],i=n[2],s=e[0],u=e[1],c=e[2];let h=o-r[0],l=a-r[1],f=i-r[2],M=h*h+l*l+f*f;M>0&&(M=1/Math.sqrt(M),h*=M,l*=M,f*=M);let m=u*f-c*l,d=c*h-s*f,p=s*l-u*h;return M=m*m+d*d+p*p,M>0&&(M=1/Math.sqrt(M),m*=M,d*=M,p*=M),t[0]=m,t[1]=d,t[2]=p,t[3]=0,t[4]=l*p-f*d,t[5]=f*m-h*p,t[6]=h*d-l*m,t[7]=0,t[8]=h,t[9]=l,t[10]=f,t[11]=0,t[12]=o,t[13]=a,t[14]=i,t[15]=1,t},translate:l,transpose:u},Symbol.toStringTag,{value:"Module"}))},35522(t,n,r){r.d(n,{$A:()=>w,Bw:()=>a,C:()=>i,Cc:()=>A,DI:()=>_,Il:()=>$,Io:()=>b,Ln:()=>g,Om:()=>j,Qr:()=>l,Re:()=>c,S8:()=>x,T9:()=>d,WQ:()=>u,Z0:()=>S,_S:()=>M,aI:()=>U,ei:()=>q,fw:()=>P,g7:()=>N,gL:()=>O,hG:()=>y,hZ:()=>s,hs:()=>p,jb:()=>F,jk:()=>m,lo:()=>Z,lw:()=>h,m3:()=>v,oW:()=>z,t2:()=>R,tn:()=>f,uE:()=>Y,xg:()=>E,ze:()=>I});var e=r(51850),o=r(34304);function a(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function h(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function l(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function f(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function M(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function m(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function d(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function p(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function g(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function b(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(r*r+e*e+o*o)}function y(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2];return r*r+e*e+o*o}function v(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function I(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function _(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function x(t,n){const r=n[0],e=n[1],o=n[2];let a=r*r+e*e+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=n[0]*a,t[1]=n[1]*a,t[2]=n[2]*a),t}function j(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function w(t,n,r){const e=n[0],o=n[1],a=n[2],i=r[0],s=r[1],u=r[2];return t[0]=o*u-a*s,t[1]=a*i-e*u,t[2]=e*s-o*i,t}function A(t,n,r,e){const o=n[0],a=n[1],i=n[2];return t[0]=o+e*(r[0]-o),t[1]=a+e*(r[1]-a),t[2]=i+e*(r[2]-i),t}function S(t,n,r){const e=n[0],o=n[1],a=n[2];return t[0]=r[0]*e+r[4]*o+r[8]*a+r[12],t[1]=r[1]*e+r[5]*o+r[9]*a+r[13],t[2]=r[2]*e+r[6]*o+r[10]*a+r[14],t}function q(t,n,r){const e=n[0],o=n[1],a=n[2];return t[0]=e*r[0]+o*r[3]+a*r[6],t[1]=e*r[1]+o*r[4]+a*r[7],t[2]=e*r[2]+o*r[5]+a*r[8],t}function O(t,n,r){return P(t,n,r[0],r[1],r[2],r[3])}function P(t,n,r,e,o,a){const i=n[0],s=n[1],u=n[2],c=e*u-o*s,h=o*i-r*u,l=r*s-e*i,f=e*l-o*h,M=o*c-r*l,m=r*h-e*c,d=2*a;return t[0]=i+c*d+2*f,t[1]=s+h*d+2*M,t[2]=u+l*d+2*m,t}function N(t,n){x(C,t),x(T,n);const r=j(C,T);return r>1?0:r<-1?Math.PI:Math.acos(r)}const C=(0,e.vt)(),T=(0,e.vt)();function R(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function U(t,n){if(t===n)return!0;const r=t[0],e=t[1],a=t[2],i=n[0],s=n[1],u=n[2],c=(0,o.FD)();return Math.abs(r-i)<=c*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(e-s)<=c*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(a-u)<=c*Math.max(1,Math.abs(a),Math.abs(u))}function z(t,n,r){const e=r[0]-n[0],o=r[1]-n[1],a=r[2]-n[2];let i=e*e+o*o+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=e*i,t[1]=o*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const F=c,D=h,V=l,E=b,Z=y,$=a,Y=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:N,bezier:function(t,n,r,e,o,a){const i=1-a,s=i*i,u=a*a,c=s*i,h=3*a*s,l=3*u*i,f=u*a;return t[0]=n[0]*c+r[0]*h+e[0]*l+o[0]*f,t[1]=n[1]*c+r[1]*h+e[1]*l+o[1]*f,t[2]=n[2]*c+r[2]*h+e[2]*l+o[2]*f,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:i,cross:w,crossAndNormalize:function(t,n,r){const e=n[0],o=n[1],a=n[2],i=r[0],s=r[1],u=r[2],c=o*u-a*s,h=a*i-e*u,l=e*s-o*i,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:z,dist:E,distance:b,div:V,divide:l,dot:j,equals:U,exactEquals:R,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,o,a){const i=a*a,s=i*(2*a-3)+1,u=i*(a-2)+a,c=i*(a-1),h=i*(3-2*a);return t[0]=n[0]*s+r[0]*u+e[0]*c+o[0]*h,t[1]=n[1]*s+r[1]*u+e[1]*c+o[1]*h,t[2]=n[2]*s+r[2]*u+e[2]*c+o[2]*h,t},inverse:_,len:$,length:a,lerp:A,max:d,min:m,mul:D,multiply:h,negate:I,normalize:x,random:function(t,n=1){const r=o.Ov,e=2*r()*Math.PI,a=2*r()-1,i=Math.sqrt(1-a*a)*n;return t[0]=Math.cos(e)*i,t[1]=Math.sin(e)*i,t[2]=a*n,t},rotateX:function(t,n,r,e){const o=[],a=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],a[0]=o[0],a[1]=o[1]*Math.cos(e)-o[2]*Math.sin(e),a[2]=o[1]*Math.sin(e)+o[2]*Math.cos(e),t[0]=a[0]+r[0],t[1]=a[1]+r[1],t[2]=a[2]+r[2],t},rotateY:function(t,n,r,e){const o=[],a=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],a[0]=o[2]*Math.sin(e)+o[0]*Math.cos(e),a[1]=o[1],a[2]=o[2]*Math.cos(e)-o[0]*Math.sin(e),t[0]=a[0]+r[0],t[1]=a[1]+r[1],t[2]=a[2]+r[2],t},rotateZ:function(t,n,r,e){const o=[],a=[];return o[0]=n[0]-r[0],o[1]=n[1]-r[1],o[2]=n[2]-r[2],a[0]=o[0]*Math.cos(e)-o[1]*Math.sin(e),a[1]=o[0]*Math.sin(e)+o[1]*Math.cos(e),a[2]=o[2],t[0]=a[0]+r[0],t[1]=a[1]+r[1],t[2]=a[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:p,scaleAndAdd:g,set:s,sign:M,sqrDist:Z,sqrLen:Y,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:F,subtract:c,transformMat3:q,transformMat4:S,transformQuat:O,transformQuatValues:P},Symbol.toStringTag,{value:"Module"}))},78955(t,n,r){r.d(n,{Bw:()=>p,C:()=>o,Cc:()=>v,LI:()=>f,Om:()=>y,S8:()=>b,T9:()=>l,WQ:()=>i,Z0:()=>I,aI:()=>x,hG:()=>d,hZ:()=>a,hs:()=>M,jk:()=>h,m3:()=>g,t2:()=>_});var e=r(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function a(t,n,r,e,o){return t[0]=n,t[1]=r,t[2]=e,t[3]=o,t}function i(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function s(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function u(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function c(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function h(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t}function l(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t}function f(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function m(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2],a=n[3]-t[3];return Math.sqrt(r*r+e*e+o*o+a*a)}function d(t,n){const r=n[0]-t[0],e=n[1]-t[1],o=n[2]-t[2],a=n[3]-t[3];return r*r+e*e+o*o+a*a}function p(t){const n=t[0],r=t[1],e=t[2],o=t[3];return Math.sqrt(n*n+r*r+e*e+o*o)}function g(t){const n=t[0],r=t[1],e=t[2],o=t[3];return n*n+r*r+e*e+o*o}function b(t,n){const r=n[0],e=n[1],o=n[2],a=n[3];let i=r*r+e*e+o*o+a*a;return i>0&&(i=1/Math.sqrt(i),t[0]=r*i,t[1]=e*i,t[2]=o*i,t[3]=a*i),t}function y(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,r,e){const o=n[0],a=n[1],i=n[2],s=n[3];return t[0]=o+e*(r[0]-o),t[1]=a+e*(r[1]-a),t[2]=i+e*(r[2]-i),t[3]=s+e*(r[3]-s),t}function I(t,n,r){const e=n[0],o=n[1],a=n[2],i=n[3];return t[0]=r[0]*e+r[4]*o+r[8]*a+r[12]*i,t[1]=r[1]*e+r[5]*o+r[9]*a+r[13]*i,t[2]=r[2]*e+r[6]*o+r[10]*a+r[14]*i,t[3]=r[3]*e+r[7]*o+r[11]*a+r[15]*i,t}function _(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function x(t,n){const r=t[0],o=t[1],a=t[2],i=t[3],s=n[0],u=n[1],c=n[2],h=n[3],l=(0,e.FD)();return Math.abs(r-s)<=l*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(o-u)<=l*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(a-c)<=l*Math.max(1,Math.abs(a),Math.abs(c))&&Math.abs(i-h)<=l*Math.max(1,Math.abs(i),Math.abs(h))}const j=s,w=u,A=c,S=m,q=d,O=p,P=g;Object.freeze(Object.defineProperty({__proto__:null,add:i,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:o,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:S,distance:m,div:A,divide:c,dot:y,equals:x,exactEquals:_,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:O,length:p,lerp:v,max:l,min:h,mul:w,multiply:u,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:b,random:function(t,n=1){const r=e.Ov;let o,a,i,s,u,c;do{o=2*r()-1,a=2*r()-1,u=o*o+a*a}while(u>=1);do{i=2*r()-1,s=2*r()-1,c=i*i+s*s}while(c>=1);const h=Math.sqrt((1-u)/c);return t[0]=n*o,t[1]=n*a,t[2]=n*i*h,t[3]=n*s*h,t},round:f,scale:M,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t},set:a,sqrDist:q,sqrLen:P,squaredDistance:d,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:j,subtract:s,transformMat4:I,transformQuat:function(t,n,r){const e=n[0],o=n[1],a=n[2],i=r[0],s=r[1],u=r[2],c=r[3],h=c*e+s*a-u*o,l=c*o+u*e-i*a,f=c*a+i*o-s*e,M=-i*e-s*o-u*a;return t[0]=h*c+M*-i+l*-u-f*-s,t[1]=l*c+M*-s+f*-i-h*-u,t[2]=f*c+M*-u+h*-s-l*-i,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},76553(t,n,r){function e(t){return t&&"getAtOrigin"in t&&"originOf"in t}r.d(n,{H:()=>e})},13069(t,n,r){r.d(n,{AG:()=>s,lk:()=>o,vD:()=>i,yS:()=>a});const e="randomUUID"in crypto;function o(){if(e)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const n=n=>t[n].toString(16).padStart(4,"0");return n(0)+n(1)+"-"+n(2)+"-"+n(3)+"-"+n(4)+"-"+n(5)+n(6)+n(7)}function a(){return`{${o().toUpperCase()}}`}function i(){return`{${o()}}`}function s(t){const n=t.toUpperCase();return t.startsWith("{")?n:`{${n}}`}},4197(t,n,r){r.d(n,{Vj:()=>h,cj:()=>c,jh:()=>a,l5:()=>s,yH:()=>u});var e=r(34275),o=r(9093);function a(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,e.iu)(t)?t.byteLength/8:t.length)<=e.y9?Array.from(t):new Float64Array(t)}function s(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function u(t,n){if(0===n.length)return i(t);if(0===t.length)return i(n);const r=a(t.length+n.length);for(let n=0;n<t.length;++n)r[n]=t[n];for(let e=0;e<n.length;++e)r[t.length+e]=n[e];return r}function c(t){return[...t]}function h(t){const n=(0,o.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},70328(t,n,r){r.d(n,{BI:()=>y,DC:()=>l,Ej:()=>M,Ie:()=>g,Jt:()=>b,Ne:()=>m,RF:()=>h,aI:()=>I,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>_,vI:()=>d,vY:()=>s,v_:()=>x,vt:()=>a,w1:()=>c}),r(35522);var e=r(5443),o=(r(19419),r(4197));function a(t=x){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,n,r,e,o,i,s=a()){return s[0]=t,s[1]=n,s[2]=r,s[3]=e,s[4]=o,s[5]=i,s}function s(t,n=a()){return function(t,n,r,e=a()){return p(e,_),function(t,n,r=0,e=n.length/3){let o=t[0],a=t[1],i=t[2],s=t[3],u=t[4],c=t[5];for(let t=0;t<e;t++)o=Math.min(o,n[r+3*t]),a=Math.min(a,n[r+3*t+1]),i=Math.min(i,n[r+3*t+2]),s=Math.max(s,n[r+3*t]),u=Math.max(u,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=o,t[1]=a,t[2]=i,t[3]=s,t[4]=u,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function u(t,n=(0,o.jh)(24)){const[r,e,a,i,s,u]=t;return n[0]=r,n[1]=e,n[2]=a,n[3]=r,n[4]=e,n[5]=u,n[6]=r,n[7]=s,n[8]=a,n[9]=r,n[10]=s,n[11]=u,n[12]=i,n[13]=e,n[14]=a,n[15]=i,n[16]=e,n[17]=u,n[18]=i,n[19]=s,n[20]=a,n[21]=i,n[22]=s,n[23]=u,n}function c(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function M(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function m(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function d(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function p(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function g(t){return t?p(t,_):a(_)}function b(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function y(t,n,r,e,o){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=o,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function I(t,n,r){if(null==t||null==n)return t===n;if(!v(t)||!v(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const _=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];a()},71351(t,n,r){r.d(n,{C:()=>h,Cr:()=>l,LV:()=>c,fA:()=>f,oC:()=>M,vt:()=>s}),r(4576);var e=r(4341),o=(r(77690),r(29242)),a=r(35522),i=r(51850);function s(t){return t?u((0,i.o8)(t.origin),(0,i.o8)(t.direction)):u((0,i.vt)(),(0,i.vt)())}function u(t,n){return{origin:t,direction:n}}function c(t,n){const r=m.get();return r.origin=t,r.direction=n,r}function h(t,n=s()){return f(t.origin,t.direction,n)}function l(t,n,r=s()){return(0,a.C)(r.origin,t),(0,a.Re)(r.direction,n,t),r}function f(t,n,r=s()){return(0,a.C)(r.origin,t),(0,a.C)(r.direction,n),r}function M(t,n,r){const e=(0,a.Om)(t.direction,(0,a.Re)(r,n,t.origin));return(0,a.WQ)(r,t.origin,(0,a.hs)(r,t.direction,e)),r}r(32114);const m=new e.I(()=>s());(0,i.vt)(),(0,i.vt)(),(0,i.vt)(),(0,o.vt)()},32114(t,n,r){r.d(n,{Rc:()=>M,J8:()=>m,rq:()=>l,Km:()=>f}),r(44208);var e=r(26390),o=r(29242),a=r(9093),i=r(82534),s=r(48163),u=r(51850),c=r(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(s.vt)}static createVec3f64(){return new h(u.vt)}static createVec4f64(){return new h(c.vt)}static createMat3f64(){return new h(o.vt)}static createMat4f64(){return new h(a.vt)}static createQuatf64(){return new h(i.vt)}get test(){}}h.createVec2f64();const l=h.createVec3f64(),f=h.createVec4f64(),M=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},85648(t,n,r){r.d(n,{n:()=>o});var e=r(84952);function o(t){return a[function(t){return"json"===t.type?"application/json":"blob"===t.type?t.blob.type:function(t){const n=(0,e.Zo)(t);return u[n]||i}(t.url)}(t)]||s}const a={},i="text/plain",s=a[i],u={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const t in u)a[u[t]]=t},49718(t,n,r){r(51850),r(6867).i},6867(t,n,r){r.d(n,{i:()=>h});var e=r(58083),o=r(9093),a=r(35522),i=r(51850),s=r(78955),u=r(91829),c=r(71351);class h{get ray(){return this._ray}get distanceInRenderSpace(){return null==this.distance?null:((0,a.hs)(f,this.ray.direction,this.distance),(0,a.Bw)(f))}withinDistance(t){return!!l(this)&&this.distanceInRenderSpace<=t}getIntersectionPoint(t){return!!l(this)&&((0,a.hs)(f,this.ray.direction,this.distance),(0,a.WQ)(t,this.ray.origin,f),!0)}getTransformedNormal(t){return(0,a.C)(M,this.normal),M[3]=0,(0,s.Z0)(M,M,this.transformation),(0,a.C)(t,M),(0,a.S8)(t,t)}constructor(t){this.intersector=4,this.normal=(0,i.vt)(),this.transformation=(0,o.vt)(),this._ray=(0,c.vt)(),this.init(t)}init(t){this.distance=this.target=this.drapedLayerOrder=this.renderPriority=null,this.intersector=4,(0,c.C)(t,this._ray)}set(t,n,r,s,u,c,h){this.intersector=t,this.distance=r,(0,a.C)(this.normal,s??i.Cb),(0,e.C)(this.transformation,u??o.zK),this.target=n,this.drapedLayerOrder=c,this.renderPriority=h}copy(t){(0,c.C)(t.ray,this._ray),this.intersector=t.intersector,this.distance=t.distance,this.target=t.target,this.drapedLayerOrder=t.drapedLayerOrder,this.renderPriority=t.renderPriority,(0,a.C)(this.normal,t.normal),(0,e.C)(this.transformation,t.transformation)}}function l(t){return null!=t?.distance}const f=(0,i.vt)(),M=(0,u.vt)()},78553(t,n,r){r.d(n,{D:()=>a,p:()=>o});var e=r(56507);function o(t){const n=(0,e.Vr)(100*(1-t));return Math.max(0,Math.min(n,100))}function a(t){const n=1-t/100;return Math.max(0,Math.min(n,1))}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[218,6160,9397],{9093(t,n,e){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}e.d(n,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(t,n,e,r,i,o,u,s,a,c,h,f,l,m,M,d){return[t,n,e,r,i,o,u,s,a,c,h,f,l,m,M,d]}},Symbol.toStringTag,{value:"Module"}))},51850(t,n,e){function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function o(t,n,e){return[t,n,e]}function u(t,n,e){return[t,n,e]}function s(t,n=[0,0,0]){const e=Math.min(3,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n}function a(){return[0,0,0]}function c(){return o(1,1,1)}function h(){return o(1,0,0)}function f(){return o(0,1,0)}function l(){return o(0,0,1)}e.d(n,{CN:()=>u,Cb:()=>g,Cw:()=>d,JP:()=>x,S:()=>c,Ul:()=>a,Un:()=>M,ci:()=>s,fA:()=>o,o8:()=>i,uY:()=>m,vt:()=>r});const m=[0,0,0],M=c(),d=h(),x=f(),g=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:M,UNIT_X:d,UNIT_Y:x,UNIT_Z:g,ZEROS:m,clone:i,create:r,freeze:u,fromArray:s,fromValues:o,ones:c,unitX:h,unitY:f,unitZ:l,zeros:a},Symbol.toStringTag,{value:"Module"}))},35522(t,n,e){e.d(n,{$A:()=>w,Bw:()=>o,C:()=>u,Cc:()=>A,DI:()=>I,Il:()=>Y,Io:()=>y,Ln:()=>g,Om:()=>N,Qr:()=>f,Re:()=>c,S8:()=>v,T9:()=>d,WQ:()=>a,Z0:()=>S,_S:()=>m,aI:()=>q,ei:()=>T,fw:()=>z,g7:()=>G,gL:()=>E,hG:()=>b,hZ:()=>s,hs:()=>x,jb:()=>P,jk:()=>M,lo:()=>V,lw:()=>h,m3:()=>p,oW:()=>C,t2:()=>j,tn:()=>l,uE:()=>U,xg:()=>Z,ze:()=>_});var r=e(51850),i=e(34304);function o(t){const n=t[0],e=t[1],r=t[2];return Math.sqrt(n*n+e*e+r*r)}function u(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function a(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t}function c(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t}function h(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t}function f(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t}function l(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function m(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function M(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t[2]=Math.min(n[2],e[2]),t}function d(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t[2]=Math.max(n[2],e[2]),t}function x(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t}function g(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t}function y(t,n){const e=n[0]-t[0],r=n[1]-t[1],i=n[2]-t[2];return Math.sqrt(e*e+r*r+i*i)}function b(t,n){const e=n[0]-t[0],r=n[1]-t[1],i=n[2]-t[2];return e*e+r*r+i*i}function p(t){const n=t[0],e=t[1],r=t[2];return n*n+e*e+r*r}function _(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function I(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function v(t,n){const e=n[0],r=n[1],i=n[2];let o=e*e+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=n[0]*o,t[1]=n[1]*o,t[2]=n[2]*o),t}function N(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function w(t,n,e){const r=n[0],i=n[1],o=n[2],u=e[0],s=e[1],a=e[2];return t[0]=i*a-o*s,t[1]=o*u-r*a,t[2]=r*s-i*u,t}function A(t,n,e,r){const i=n[0],o=n[1],u=n[2];return t[0]=i+r*(e[0]-i),t[1]=o+r*(e[1]-o),t[2]=u+r*(e[2]-u),t}function S(t,n,e){const r=n[0],i=n[1],o=n[2];return t[0]=e[0]*r+e[4]*i+e[8]*o+e[12],t[1]=e[1]*r+e[5]*i+e[9]*o+e[13],t[2]=e[2]*r+e[6]*i+e[10]*o+e[14],t}function T(t,n,e){const r=n[0],i=n[1],o=n[2];return t[0]=r*e[0]+i*e[3]+o*e[6],t[1]=r*e[1]+i*e[4]+o*e[7],t[2]=r*e[2]+i*e[5]+o*e[8],t}function E(t,n,e){return z(t,n,e[0],e[1],e[2],e[3])}function z(t,n,e,r,i,o){const u=n[0],s=n[1],a=n[2],c=r*a-i*s,h=i*u-e*a,f=e*s-r*u,l=r*f-i*h,m=i*c-e*f,M=e*h-r*c,d=2*o;return t[0]=u+c*d+2*l,t[1]=s+h*d+2*m,t[2]=a+f*d+2*M,t}function G(t,n){v(O,t),v(R,n);const e=N(O,R);return e>1?0:e<-1?Math.PI:Math.acos(e)}const O=(0,r.vt)(),R=(0,r.vt)();function j(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function q(t,n){if(t===n)return!0;const e=t[0],r=t[1],o=t[2],u=n[0],s=n[1],a=n[2],c=(0,i.FD)();return Math.abs(e-u)<=c*Math.max(1,Math.abs(e),Math.abs(u))&&Math.abs(r-s)<=c*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(o-a)<=c*Math.max(1,Math.abs(o),Math.abs(a))}function C(t,n,e){const r=e[0]-n[0],i=e[1]-n[1],o=e[2]-n[2];let u=r*r+i*i+o*o;return u>0?(u=1/Math.sqrt(u),t[0]=r*u,t[1]=i*u,t[2]=o*u,t):(t[0]=0,t[1]=0,t[2]=0,t)}const P=c,D=h,F=f,Z=y,V=b,Y=o,U=p;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:a,angle:G,bezier:function(t,n,e,r,i,o){const u=1-o,s=u*u,a=o*o,c=s*u,h=3*o*s,f=3*a*u,l=a*o;return t[0]=n[0]*c+e[0]*h+r[0]*f+i[0]*l,t[1]=n[1]*c+e[1]*h+r[1]*f+i[1]*l,t[2]=n[2]*c+e[2]*h+r[2]*f+i[2]*l,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,e=1){return t[0]=Math.min(Math.max(t[0],n),e),t[1]=Math.min(Math.max(t[1],n),e),t[2]=Math.min(Math.max(t[2],n),e),t},copy:u,cross:w,crossAndNormalize:function(t,n,e){const r=n[0],i=n[1],o=n[2],u=e[0],s=e[1],a=e[2],c=i*a-o*s,h=o*u-r*a,f=r*s-i*u,l=Math.sqrt(c*c+h*h+f*f);return t[0]=c/l,t[1]=h/l,t[2]=f/l,t},direction:C,dist:Z,distance:y,div:F,divide:f,dot:N,equals:q,exactEquals:j,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,e,r,i,o){const u=o*o,s=u*(2*o-3)+1,a=u*(o-2)+o,c=u*(o-1),h=u*(3-2*o);return t[0]=n[0]*s+e[0]*a+r[0]*c+i[0]*h,t[1]=n[1]*s+e[1]*a+r[1]*c+i[1]*h,t[2]=n[2]*s+e[2]*a+r[2]*c+i[2]*h,t},inverse:I,len:Y,length:o,lerp:A,max:d,min:M,mul:D,multiply:h,negate:_,normalize:v,random:function(t,n=1){const e=i.Ov,r=2*e()*Math.PI,o=2*e()-1,u=Math.sqrt(1-o*o)*n;return t[0]=Math.cos(r)*u,t[1]=Math.sin(r)*u,t[2]=o*n,t},rotateX:function(t,n,e,r){const i=[],o=[];return i[0]=n[0]-e[0],i[1]=n[1]-e[1],i[2]=n[2]-e[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+e[0],t[1]=o[1]+e[1],t[2]=o[2]+e[2],t},rotateY:function(t,n,e,r){const i=[],o=[];return i[0]=n[0]-e[0],i[1]=n[1]-e[1],i[2]=n[2]-e[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+e[0],t[1]=o[1]+e[1],t[2]=o[2]+e[2],t},rotateZ:function(t,n,e,r){const i=[],o=[];return i[0]=n[0]-e[0],i[1]=n[1]-e[1],i[2]=n[2]-e[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+e[0],t[1]=o[1]+e[1],t[2]=o[2]+e[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:x,scaleAndAdd:g,set:s,sign:m,sqrDist:V,sqrLen:U,squaredDistance:b,squaredLength:p,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:P,subtract:c,transformMat3:T,transformMat4:S,transformQuat:E,transformQuatValues:z},Symbol.toStringTag,{value:"Module"}))},69397(t,n,e){e.d(n,{Qf:()=>a,Qh:()=>u,RS:()=>i,Ul:()=>m,i5:()=>l,lM:()=>o,qK:()=>h});var r=e(34275);const i=16;function o(t){if(!t)return 0;let n=h;for(const e in t)t.hasOwnProperty(e)&&(n+=s(t[e],!1));return n}function u(t){if(!t)return 0;if("number"==typeof t[0])return a(t);if(Array.isArray(t))return function(t){const n=t.length;if(0===n||"number"==typeof t[0])return c(t,8);let e=f;for(let r=0;r<n;r++)e+=s(t[r]);return e}(t);let n=h;for(const e in t)t.hasOwnProperty(e)&&(n+=s(t[e]));return n}function s(t,n=!0){switch(typeof t){case"object":return n?u(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return i;case"boolean":return 4;default:return 8}}function a(...t){return t.reduce((t,n)=>t+(n?(0,r.iu)(n)?n.byteLength+l:Array.isArray(n)?c(n,i):0:0),0)}function c(t,n){return f+t.length*n}const h=32,f=16,l=145,m=64},15227(t,n,e){e.d(n,{fz:()=>m,g7:()=>f,yv:()=>l});var r=e(76061),i=e(61691),o=e(55537),u=e(15756),s=e(79187),a=e(1352);class c extends i.G{constructor(t,n,e,r,i,o,u){super(),this.m_currentUnionEnvelope2D=new s.Envelope2D,this.m_index=-1,this.m_dindex=-1,this.m_progressTracker=u,this.m_bufferer=new a.B(u),this.m_inputGeoms=t,this.m_spatialReference=n,this.m_distances=e,this.m_maxDeviation=r,this.m_maxVerticesInFullCircle=i}tock(){return!0}getRank(){return 1}next(){{let t;for(;t=this.m_inputGeoms.next();)return(0,o.p)(t),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(t,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(t,n){return this.m_bufferer.buffer(t,n,this.m_spatialReference,0,0,4,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}const h=new class{getOperatorType(){return 10004}supportsCurves(){return!0}accelerateGeometry(t,n,e){return!1}canAccelerateGeometry(t){return!1}executeMany(t,n,e,r,i){return this.executeManyEx(t,n,e,Number.NaN,96,r,i)}execute(t,n,e,i){Number.isFinite(e)||(0,o.r)("Invalid distance for buffer operation");const u=new r.S([t]),s=[e],a=this.executeMany(u,n,s,!1,i).next();return a||(0,o.q)("null buffer output"),a}executeManyEx(t,n,e,r,i,s,a){if(void 0!==e.find(t=>!Number.isFinite(t))&&(0,o.r)("Invalid distance for buffer operation"),s){const o=new c(t,n,e,r,i,!1,a);return(new u.h).executeMany(o,n,a,2)}return new c(t,n,e,r,i,!1,a)}};function f(t,n,e){return h.execute(t,n,e,null)}function l(t,n,e,i,o,u){const s=h.executeManyEx(new r.S(t),n,e,i,o,u,null);return Array.from(s)}function m(){return h.supportsCurves()}},46160(t,n,e){e.r(n),e.d(n,{execute:()=>s,executeMany:()=>a});var r=e(4576),i=e(86211),o=e(15227),u=e(83299);function s(t,n,e={}){const{unit:r}=e,s=(0,u.getSpatialReference)(t);r&&s&&(n=(0,i.UW)(n,r,s));const a=(0,u.fromGeometry)(t),c=a.getSpatialReference();return(0,u.toGeometry)((0,o.g7)(a.getGeometry(),c,n),c)}function a(t,n,e={}){let{maxDeviation:s=NaN,maxVerticesInFullCircle:a=96,union:c=!1,unit:h}=e;const f=(0,u.getSpatialReference)(t);h&&f&&(n=n.map(t=>(0,i.UW)(t,h,f)),s&&(s=(0,i.UW)(s,h,f)));const[l,m]=(0,u.fromGeometries)(t);return(0,o.yv)(l,m,n,s,a,c).map(t=>(0,u.toGeometry)(t,m)).filter(r.Ru)}},4197(t,n,e){e.d(n,{Vj:()=>a,cj:()=>s,jh:()=>o,l5:()=>u});var r=e(34275),i=e(9093);function o(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function u(t,n,e){return Array.isArray(t)?t.slice(n,n+e):t.subarray(n,n+e)}function s(t){return[...t]}function a(t){const n=(0,i.vt)();for(let e=0;e<16;++e)n[e]=t[e];return n}},70328(t,n,e){e.d(n,{BI:()=>b,DC:()=>f,Ej:()=>m,Ie:()=>g,Jt:()=>y,Ne:()=>M,RF:()=>h,aI:()=>_,fA:()=>u,gE:()=>a,hZ:()=>x,iT:()=>l,is:()=>p,qv:()=>I,vI:()=>d,vY:()=>s,v_:()=>v,vt:()=>o,w1:()=>c}),e(35522);var r=e(5443),i=(e(19419),e(4197));function o(t=v){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function u(t,n,e,r,i,u,s=o()){return s[0]=t,s[1]=n,s[2]=e,s[3]=r,s[4]=i,s[5]=u,s}function s(t,n=o()){return function(t,n,e,r=o()){return x(r,I),function(t,n,e=0,r=n.length/3){let i=t[0],o=t[1],u=t[2],s=t[3],a=t[4],c=t[5];for(let t=0;t<r;t++)i=Math.min(i,n[e+3*t]),o=Math.min(o,n[e+3*t+1]),u=Math.min(u,n[e+3*t+2]),s=Math.max(s,n[e+3*t]),a=Math.max(a,n[e+3*t+1]),c=Math.max(c,n[e+3*t+2]);t[0]=i,t[1]=o,t[2]=u,t[3]=s,t[4]=a,t[5]=c}(r,t,n,e),r}(t,0,t.length/3,n)}function a(t,n=(0,i.jh)(24)){const[e,r,o,u,s,a]=t;return n[0]=e,n[1]=r,n[2]=o,n[3]=e,n[4]=r,n[5]=a,n[6]=e,n[7]=s,n[8]=o,n[9]=e,n[10]=s,n[11]=a,n[12]=u,n[13]=r,n[14]=o,n[15]=u,n[16]=r,n[17]=a,n[18]=u,n[19]=s,n[20]=o,n[21]=u,n[22]=s,n[23]=a,n}function c(t,n){const e=isFinite(t[2])||isFinite(t[5]);return new r.A(e?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function m(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function M(t,n,e=t){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e!==t&&(e[3]=t[3],e[4]=t[4],e[5]=t[5]),e}function d(t,n,e=t){return e[3]=n[0],e[4]=n[1],e[5]=n[2],e!==t&&(e[0]=t[0],e[1]=t[1],e[2]=t[2]),t}function x(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function g(t){return t?x(t,I):o(I)}function y(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function b(t,n,e,r,i){return t[0]=n,t[1]=e,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function p(t){return 6===t.length}function _(t,n,e){if(null==t||null==n)return t===n;if(!p(t)||!p(n))return!1;if(e){for(let r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1}else for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],v=[0,0,0,0,0,0];o()},92722(t,n,e){e.d(n,{A:()=>i});var r=e(69397);class i{constructor(t=[],n=[],e=!1,r=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=e,this.hasM=r}static fromJSON({lengths:t,coords:n,hasZ:e,hasM:r}){return new i(t,n,e||!1,r||!1)}static fromRect([t,n,e,r]){const o=e-t,u=r-n;return new i([5],[t,n,o,0,0,u,-o,0,0,-u])}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,n)=>t+n,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,n=0;for(const e of this.lengths){if(e<3)continue;const{stride:r}=this;let i=this.coords[r*n],o=this.coords[r*n+1];for(let u=1;u<e;u+=1){const e=r*(n+u),s=this.coords[e],a=this.coords[e+1];t+=-.5*(s-i)*(a+o),i=s,o=a}n+=e}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:e}=this;for(const r of this.lengths){for(let i=0;i<r;i++){const r=e*(n+i);t(this.coords[r],this.coords[r+1])}n+=r}}deltaDecode(){const t=this.clone(),{coords:n,lengths:e}=t;let r=0;const{stride:i}=this;for(const t of e){for(let e=1;e<t;e++){const t=i*(r+e);n[t]+=n[t-i],n[t+1]+=n[t+1-i]}r+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:e,size:r}=this,o=this.coords.slice(0,r*e);return t?(t.set(o),new i(n,t,this.hasZ,this.hasM)):new i(n,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const e=new Array(n*t);for(let n=0,r=0;n<e.length;n+=t)e[r++]=this.coords[n],e[r++]=this.coords[n+1];return new i(this.lengths,e,!1,!1)}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[218,6160,9397],{9093(t,n,e){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}e.d(n,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(t,n,e,r,i,o,u,s,a,c,h,f,l,m,M,d){return[t,n,e,r,i,o,u,s,a,c,h,f,l,m,M,d]}},Symbol.toStringTag,{value:"Module"}))},51850(t,n,e){function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function o(t,n,e){return[t,n,e]}function u(t,n,e){return[t,n,e]}function s(t,n=[0,0,0]){const e=Math.min(3,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n}function a(){return[0,0,0]}function c(){return o(1,1,1)}function h(){return o(1,0,0)}function f(){return o(0,1,0)}function l(){return o(0,0,1)}e.d(n,{CN:()=>u,Cb:()=>x,Cw:()=>d,JP:()=>g,S:()=>c,Ul:()=>a,Un:()=>M,ci:()=>s,fA:()=>o,o8:()=>i,uY:()=>m,vt:()=>r});const m=[0,0,0],M=c(),d=h(),g=f(),x=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:M,UNIT_X:d,UNIT_Y:g,UNIT_Z:x,ZEROS:m,clone:i,create:r,freeze:u,fromArray:s,fromValues:o,ones:c,unitX:h,unitY:f,unitZ:l,zeros:a},Symbol.toStringTag,{value:"Module"}))},35522(t,n,e){e.d(n,{$A:()=>w,Bw:()=>o,C:()=>u,Cc:()=>A,DI:()=>I,Il:()=>Y,Io:()=>y,Ln:()=>x,Om:()=>N,Qr:()=>f,Re:()=>c,S8:()=>v,T9:()=>d,WQ:()=>a,Z0:()=>S,_S:()=>m,aI:()=>q,ei:()=>T,fw:()=>z,g7:()=>G,gL:()=>E,hG:()=>b,hZ:()=>s,hs:()=>g,jb:()=>F,jk:()=>M,lo:()=>V,lw:()=>h,m3:()=>p,oW:()=>C,t2:()=>j,tn:()=>l,uE:()=>U,xg:()=>Z,ze:()=>_});var r=e(51850),i=e(34304);function o(t){const n=t[0],e=t[1],r=t[2];return Math.sqrt(n*n+e*e+r*r)}function u(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function a(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t[2]=n[2]+e[2],t}function c(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t}function h(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t}function f(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t[2]=n[2]/e[2],t}function l(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function m(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function M(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t[2]=Math.min(n[2],e[2]),t}function d(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t[2]=Math.max(n[2],e[2]),t}function g(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t}function x(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t[2]=n[2]+e[2]*r,t}function y(t,n){const e=n[0]-t[0],r=n[1]-t[1],i=n[2]-t[2];return Math.sqrt(e*e+r*r+i*i)}function b(t,n){const e=n[0]-t[0],r=n[1]-t[1],i=n[2]-t[2];return e*e+r*r+i*i}function p(t){const n=t[0],e=t[1],r=t[2];return n*n+e*e+r*r}function _(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function I(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function v(t,n){const e=n[0],r=n[1],i=n[2];let o=e*e+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=n[0]*o,t[1]=n[1]*o,t[2]=n[2]*o),t}function N(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function w(t,n,e){const r=n[0],i=n[1],o=n[2],u=e[0],s=e[1],a=e[2];return t[0]=i*a-o*s,t[1]=o*u-r*a,t[2]=r*s-i*u,t}function A(t,n,e,r){const i=n[0],o=n[1],u=n[2];return t[0]=i+r*(e[0]-i),t[1]=o+r*(e[1]-o),t[2]=u+r*(e[2]-u),t}function S(t,n,e){const r=n[0],i=n[1],o=n[2];return t[0]=e[0]*r+e[4]*i+e[8]*o+e[12],t[1]=e[1]*r+e[5]*i+e[9]*o+e[13],t[2]=e[2]*r+e[6]*i+e[10]*o+e[14],t}function T(t,n,e){const r=n[0],i=n[1],o=n[2];return t[0]=r*e[0]+i*e[3]+o*e[6],t[1]=r*e[1]+i*e[4]+o*e[7],t[2]=r*e[2]+i*e[5]+o*e[8],t}function E(t,n,e){return z(t,n,e[0],e[1],e[2],e[3])}function z(t,n,e,r,i,o){const u=n[0],s=n[1],a=n[2],c=r*a-i*s,h=i*u-e*a,f=e*s-r*u,l=r*f-i*h,m=i*c-e*f,M=e*h-r*c,d=2*o;return t[0]=u+c*d+2*l,t[1]=s+h*d+2*m,t[2]=a+f*d+2*M,t}function G(t,n){v(O,t),v(R,n);const e=N(O,R);return e>1?0:e<-1?Math.PI:Math.acos(e)}const O=(0,r.vt)(),R=(0,r.vt)();function j(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function q(t,n){if(t===n)return!0;const e=t[0],r=t[1],o=t[2],u=n[0],s=n[1],a=n[2],c=(0,i.FD)();return Math.abs(e-u)<=c*Math.max(1,Math.abs(e),Math.abs(u))&&Math.abs(r-s)<=c*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(o-a)<=c*Math.max(1,Math.abs(o),Math.abs(a))}function C(t,n,e){const r=e[0]-n[0],i=e[1]-n[1],o=e[2]-n[2];let u=r*r+i*i+o*o;return u>0?(u=1/Math.sqrt(u),t[0]=r*u,t[1]=i*u,t[2]=o*u,t):(t[0]=0,t[1]=0,t[2]=0,t)}const F=c,P=h,D=f,Z=y,V=b,Y=o,U=p;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:a,angle:G,bezier:function(t,n,e,r,i,o){const u=1-o,s=u*u,a=o*o,c=s*u,h=3*o*s,f=3*a*u,l=a*o;return t[0]=n[0]*c+e[0]*h+r[0]*f+i[0]*l,t[1]=n[1]*c+e[1]*h+r[1]*f+i[1]*l,t[2]=n[2]*c+e[2]*h+r[2]*f+i[2]*l,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,e=1){return t[0]=Math.min(Math.max(t[0],n),e),t[1]=Math.min(Math.max(t[1],n),e),t[2]=Math.min(Math.max(t[2],n),e),t},copy:u,cross:w,crossAndNormalize:function(t,n,e){const r=n[0],i=n[1],o=n[2],u=e[0],s=e[1],a=e[2],c=i*a-o*s,h=o*u-r*a,f=r*s-i*u,l=Math.sqrt(c*c+h*h+f*f);return t[0]=c/l,t[1]=h/l,t[2]=f/l,t},direction:C,dist:Z,distance:y,div:D,divide:f,dot:N,equals:q,exactEquals:j,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,e,r,i,o){const u=o*o,s=u*(2*o-3)+1,a=u*(o-2)+o,c=u*(o-1),h=u*(3-2*o);return t[0]=n[0]*s+e[0]*a+r[0]*c+i[0]*h,t[1]=n[1]*s+e[1]*a+r[1]*c+i[1]*h,t[2]=n[2]*s+e[2]*a+r[2]*c+i[2]*h,t},inverse:I,len:Y,length:o,lerp:A,max:d,min:M,mul:P,multiply:h,negate:_,normalize:v,random:function(t,n=1){const e=i.Ov,r=2*e()*Math.PI,o=2*e()-1,u=Math.sqrt(1-o*o)*n;return t[0]=Math.cos(r)*u,t[1]=Math.sin(r)*u,t[2]=o*n,t},rotateX:function(t,n,e,r){const i=[],o=[];return i[0]=n[0]-e[0],i[1]=n[1]-e[1],i[2]=n[2]-e[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+e[0],t[1]=o[1]+e[1],t[2]=o[2]+e[2],t},rotateY:function(t,n,e,r){const i=[],o=[];return i[0]=n[0]-e[0],i[1]=n[1]-e[1],i[2]=n[2]-e[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+e[0],t[1]=o[1]+e[1],t[2]=o[2]+e[2],t},rotateZ:function(t,n,e,r){const i=[],o=[];return i[0]=n[0]-e[0],i[1]=n[1]-e[1],i[2]=n[2]-e[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+e[0],t[1]=o[1]+e[1],t[2]=o[2]+e[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:g,scaleAndAdd:x,set:s,sign:m,sqrDist:V,sqrLen:U,squaredDistance:b,squaredLength:p,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:F,subtract:c,transformMat3:T,transformMat4:S,transformQuat:E,transformQuatValues:z},Symbol.toStringTag,{value:"Module"}))},69397(t,n,e){e.d(n,{Qf:()=>a,Qh:()=>u,RS:()=>i,Ul:()=>m,i5:()=>l,lM:()=>o,qK:()=>h});var r=e(34275);const i=16;function o(t){if(!t)return 0;let n=h;for(const e in t)t.hasOwnProperty(e)&&(n+=s(t[e],!1));return n}function u(t){if(!t)return 0;if("number"==typeof t[0])return a(t);if(Array.isArray(t))return function(t){const n=t.length;if(0===n||"number"==typeof t[0])return c(t,8);let e=f;for(let r=0;r<n;r++)e+=s(t[r]);return e}(t);let n=h;for(const e in t)t.hasOwnProperty(e)&&(n+=s(t[e]));return n}function s(t,n=!0){switch(typeof t){case"object":return n?u(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return i;case"boolean":return 4;default:return 8}}function a(...t){return t.reduce((t,n)=>t+(n?(0,r.iu)(n)?n.byteLength+l:Array.isArray(n)?c(n,i):0:0),0)}function c(t,n){return f+t.length*n}const h=32,f=16,l=145,m=64},15227(t,n,e){e.d(n,{fz:()=>m,g7:()=>f,yv:()=>l});var r=e(76061),i=e(61691),o=e(55537),u=e(15756),s=e(79187),a=e(1352);class c extends i.G{constructor(t,n,e,r,i,o,u){super(),this.m_currentUnionEnvelope2D=new s.Envelope2D,this.m_index=-1,this.m_dindex=-1,this.m_progressTracker=u,this.m_bufferer=new a.B(u),this.m_inputGeoms=t,this.m_spatialReference=n,this.m_distances=e,this.m_maxDeviation=r,this.m_maxVerticesInFullCircle=i}tock(){return!0}getRank(){return 1}next(){{let t;for(;t=this.m_inputGeoms.next();)return(0,o.p)(t),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(t,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(t,n){return this.m_bufferer.buffer(t,n,this.m_spatialReference,0,0,4,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}const h=new class{getOperatorType(){return 10004}supportsCurves(){return!0}accelerateGeometry(t,n,e){return!1}canAccelerateGeometry(t){return!1}executeMany(t,n,e,r,i){return this.executeManyEx(t,n,e,Number.NaN,96,r,i)}execute(t,n,e,i){Number.isFinite(e)||(0,o.r)("Invalid distance for buffer operation");const u=new r.S([t]),s=[e],a=this.executeMany(u,n,s,!1,i).next();return a||(0,o.q)("null buffer output"),a}executeManyEx(t,n,e,r,i,s,a){if(void 0!==e.find(t=>!Number.isFinite(t))&&(0,o.r)("Invalid distance for buffer operation"),s){const o=new c(t,n,e,r,i,!1,a);return(new u.h).executeMany(o,n,a,2)}return new c(t,n,e,r,i,!1,a)}};function f(t,n,e){return h.execute(t,n,e,null)}function l(t,n,e,i,o,u){const s=h.executeManyEx(new r.S(t),n,e,i,o,u,null);return Array.from(s)}function m(){return h.supportsCurves()}},46160(t,n,e){e.r(n),e.d(n,{execute:()=>s,executeMany:()=>a});var r=e(4576),i=e(86211),o=e(15227),u=e(83299);function s(t,n,e={}){const{unit:r}=e,s=(0,u.getSpatialReference)(t);r&&s&&(n=(0,i.UW)(n,r,s));const a=(0,u.fromGeometry)(t),c=a.getSpatialReference();return(0,u.toGeometry)((0,o.g7)(a.getGeometry(),c,n),c)}function a(t,n,e={}){let{maxDeviation:s=NaN,maxVerticesInFullCircle:a=96,union:c=!1,unit:h}=e;const f=(0,u.getSpatialReference)(t);h&&f&&(n=n.map(t=>(0,i.UW)(t,h,f)),s&&(s=(0,i.UW)(s,h,f)));const[l,m]=(0,u.fromGeometries)(t);return(0,o.yv)(l,m,n,s,a,c).map(t=>(0,u.toGeometry)(t,m)).filter(r.Ru)}},4197(t,n,e){e.d(n,{Vj:()=>h,cj:()=>c,jh:()=>o,l5:()=>s,yH:()=>a});var r=e(34275),i=e(9093);function o(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function u(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function s(t,n,e){return Array.isArray(t)?t.slice(n,n+e):t.subarray(n,n+e)}function a(t,n){if(0===n.length)return u(t);if(0===t.length)return u(n);const e=o(t.length+n.length);for(let n=0;n<t.length;++n)e[n]=t[n];for(let r=0;r<n.length;++r)e[t.length+r]=n[r];return e}function c(t){return[...t]}function h(t){const n=(0,i.vt)();for(let e=0;e<16;++e)n[e]=t[e];return n}},70328(t,n,e){e.d(n,{BI:()=>b,DC:()=>f,Ej:()=>m,Ie:()=>x,Jt:()=>y,Ne:()=>M,RF:()=>h,aI:()=>_,fA:()=>u,gE:()=>a,hZ:()=>g,iT:()=>l,is:()=>p,qv:()=>I,vI:()=>d,vY:()=>s,v_:()=>v,vt:()=>o,w1:()=>c}),e(35522);var r=e(5443),i=(e(19419),e(4197));function o(t=v){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function u(t,n,e,r,i,u,s=o()){return s[0]=t,s[1]=n,s[2]=e,s[3]=r,s[4]=i,s[5]=u,s}function s(t,n=o()){return function(t,n,e,r=o()){return g(r,I),function(t,n,e=0,r=n.length/3){let i=t[0],o=t[1],u=t[2],s=t[3],a=t[4],c=t[5];for(let t=0;t<r;t++)i=Math.min(i,n[e+3*t]),o=Math.min(o,n[e+3*t+1]),u=Math.min(u,n[e+3*t+2]),s=Math.max(s,n[e+3*t]),a=Math.max(a,n[e+3*t+1]),c=Math.max(c,n[e+3*t+2]);t[0]=i,t[1]=o,t[2]=u,t[3]=s,t[4]=a,t[5]=c}(r,t,n,e),r}(t,0,t.length/3,n)}function a(t,n=(0,i.jh)(24)){const[e,r,o,u,s,a]=t;return n[0]=e,n[1]=r,n[2]=o,n[3]=e,n[4]=r,n[5]=a,n[6]=e,n[7]=s,n[8]=o,n[9]=e,n[10]=s,n[11]=a,n[12]=u,n[13]=r,n[14]=o,n[15]=u,n[16]=r,n[17]=a,n[18]=u,n[19]=s,n[20]=o,n[21]=u,n[22]=s,n[23]=a,n}function c(t,n){const e=isFinite(t[2])||isFinite(t[5]);return new r.A(e?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function m(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function M(t,n,e=t){return e[0]=n[0],e[1]=n[1],e[2]=n[2],e!==t&&(e[3]=t[3],e[4]=t[4],e[5]=t[5]),e}function d(t,n,e=t){return e[3]=n[0],e[4]=n[1],e[5]=n[2],e!==t&&(e[0]=t[0],e[1]=t[1],e[2]=t[2]),t}function g(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function x(t){return t?g(t,I):o(I)}function y(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function b(t,n,e,r,i){return t[0]=n,t[1]=e,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function p(t){return 6===t.length}function _(t,n,e){if(null==t||null==n)return t===n;if(!p(t)||!p(n))return!1;if(e){for(let r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1}else for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const I=[1/0,1/0,1/0,-1/0,-1/0,-1/0],v=[0,0,0,0,0,0];o()},92722(t,n,e){e.d(n,{A:()=>i});var r=e(69397);class i{constructor(t=[],n=[],e=!1,r=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=e,this.hasM=r}static fromJSON({lengths:t,coords:n,hasZ:e,hasM:r}){return new i(t,n,e||!1,r||!1)}static fromRect([t,n,e,r]){const o=e-t,u=r-n;return new i([5],[t,n,o,0,0,u,-o,0,0,-u])}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,n)=>t+n,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,n=0;for(const e of this.lengths){if(e<3)continue;const{stride:r}=this;let i=this.coords[r*n],o=this.coords[r*n+1];for(let u=1;u<e;u+=1){const e=r*(n+u),s=this.coords[e],a=this.coords[e+1];t+=-.5*(s-i)*(a+o),i=s,o=a}n+=e}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:e}=this;for(const r of this.lengths){for(let i=0;i<r;i++){const r=e*(n+i);t(this.coords[r],this.coords[r+1])}n+=r}}deltaDecode(){const t=this.clone(),{coords:n,lengths:e}=t;let r=0;const{stride:i}=this;for(const t of e){for(let e=1;e<t;e++){const t=i*(r+e);n[t]+=n[t-i],n[t+1]+=n[t+1-i]}r+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:e,size:r}=this,o=this.coords.slice(0,r*e);return t?(t.set(o),new i(n,t,this.hasZ,this.hasM)):new i(n,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const e=new Array(n*t);for(let n=0,r=0;n<e.length;n+=t)e[r++]=this.coords[n],e[r++]=this.coords[n+1];return new i(this.lengths,e,!1,!1)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1054,1550,1666,1948,3931,5611,6061,6312,7992,8125,9169,9285,9397],{15546(t,e,n){n.d(e,{a:()=>o,c:()=>a});var r=n(55537),s=n(83661);function a(t,e){if(!t.isEmpty())switch(t.getGeometryType()){case r.G.enumPolygon:return i(t);case r.G.enumPolyline:return l(t.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(t){const e=t.calculateLength2D();return 0===e?t.getStartXY():t.calculateWeightedCentroid2D().mul(1/e)}(t);case r.G.enumMultiPoint:return function(t){const e=new s.K(0),n=new s.K(0),r=t.getImpl(),a=r.getAttributeStreamRef(0),o=r.getPointCount(),i=new s.P;for(let t=0;t<o;t++)a.queryPoint2D(2*t,i),e.add(i.x),n.add(i.y);const u=new s.P;return u.setCoords(e.getResult(),n.getResult()),u.divThis(o)}(t);case r.G.enumEnvelope:return t.getCenterXY();case r.G.enumPoint:return t.getXY();default:return s.P.construct(Number.NaN,Number.NaN)}return s.P.construct(Number.NaN,Number.NaN)}function o(t,e){return i(t,e)}function i(t,e=-1){const n=new s.K(0),r=new s.K(0),a=t.getImpl();let o;const i=a.hasNonLinearSegments();let l;const f=a.getXY(0);if(-1===e){if(l=a.calculateArea2D(),0===l)return h(t);i&&(o=a.querySegmentIterator());for(let t=0,e=a.getPathCount();t<e;t++)u(f,a,t,n,r),i&&c(f,o,n,r)}else{if(l=a.calculateRingArea2D(e),0===l)return h(t,e);i&&(o=a.querySegmentIterator(),o.resetToPath(e)),u(f,a,e,n,r),i&&c(f,o,n,r)}const m=new s.P,g=new s.P;return m.setCoords(n.getResult(),r.getResult()),g.assign(m.mul(1/l).add(f)),g}function u(t,e,n,r,a){const o=e.getPathStart(n),i=e.getPathEnd(n);if(i-o<3)return;const u=e.getAttributeStreamRef(0),c=u.readPoint2D(2*o),h=u.readPoint2D(2*(o+1));h.subThis(c);const l=new s.K(0),f=e.hasNonLinearSegments(),m=1/3,g=new s.P;for(let t=o+2;t<i;t++){u.queryPoint2D(2*t,g),g.subThis(c);const e=.5*g.crossProduct(h);f&&l.add(e);const n=m*e;r.add((h.x+g.x)*n),a.add((h.y+g.y)*n),h.setCoordsPoint2D(g)}const d=f?l.getResult():e.calculateRingArea2D(n),x=c.sub(t).mul(d);r.add(x.x),a.add(x.y)}function c(t,e,n,s){let a;for(e.nextPath()||(0,r.q)("centroid");null!==(a=e.nextCurve());){const e=a.calculateWeightedAreaCentroid2D(t);n.add(e.x),s.add(e.y)}}function h(t,e=-1){return l(t.getImpl(),e)}function l(t,e=-1){const n=-1===e?t.calculateLength2D():t.calculatePathLength2D(e);if(0===n)return function(t,e=-1){if(-1!==e)return t.getXY(t.getPathStart(e));const n=new s.K(0),r=new s.K(0);for(let e=0;e<t.getPathCount();++e){const s=t.getXY(t.getPathStart(e));n.add(s.x),r.add(s.y)}return s.P.construct(n.getResult(),r.getResult()).mul(1/t.getPathCount())}(t,e);const r=new s.K(0),a=new s.K(0),o=t.querySegmentIterator();for(-1!==e&&o.resetToPath(e);o.nextPath();){const n=o.getPathIndex(),s=t.getXY(t.getPathStart(n));for(;o.hasNextSegment();){const t=o.nextSegment(),e=t.calculateLength2D();if(0===e)continue;const n=t.calculateWeightedCentroid2D().sub(s.mul(e));r.add(n.x),a.add(n.y)}const i=s.mul(t.calculatePathLength2D(n));if(r.add(i.x),a.add(i.y),-1!==e)break}const i=new s.P;return i.setCoords(r.getResult(),a.getResult()),i.mul(1/n)}},61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,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}}},48265(t,e,n){n.d(e,{c:()=>u,e:()=>o});var r=n(15546),s=n(78125);const a=new class{getOperatorType(){return 10205}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e){return(0,r.c)(t)}};function o(t){const e=a.execute((0,s.fromGeometry)(t),null);return(0,s.toPoint)(e,(0,s.getSpatialReference)(t))}const i=a.supportsCurves(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(t,e,n,r,s,a,o,i,u,c,h,l,f,m,g,d){return[t,e,n,r,s,a,o,i,u,c,h,l,f,m,g,d]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function a(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function i(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function c(){return a(1,1,1)}function h(){return a(1,0,0)}function l(){return a(0,1,0)}function f(){return a(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>p,Cw:()=>d,JP:()=>x,S:()=>c,Ul:()=>u,Un:()=>g,ci:()=>i,fA:()=>a,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=c(),d=h(),x=l(),p=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:d,UNIT_Y:x,UNIT_Z:p,ZEROS:m,clone:s,create:r,freeze:o,fromArray:i,fromValues:a,ones:c,unitX:h,unitY:l,unitZ:f,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>S,Bw:()=>a,C:()=>o,Cc:()=>I,DI:()=>P,Il:()=>D,Io:()=>y,Ln:()=>p,Om:()=>b,Qr:()=>l,Re:()=>c,S8:()=>E,T9:()=>d,WQ:()=>u,Z0:()=>w,_S:()=>m,aI:()=>Y,ei:()=>A,fw:()=>R,g7:()=>O,gL:()=>_,hG:()=>M,hZ:()=>i,hs:()=>x,jb:()=>G,jk:()=>g,lo:()=>L,lw:()=>h,m3:()=>v,oW:()=>T,t2:()=>N,tn:()=>f,uE:()=>k,xg:()=>z,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function h(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function d(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function x(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function P(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function E(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,n){const r=e[0],s=e[1],a=e[2],o=n[0],i=n[1],u=n[2];return t[0]=s*u-a*i,t[1]=a*o-r*u,t[2]=r*i-s*o,t}function I(t,e,n,r){const s=e[0],a=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t}function w(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function A(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function _(t,e,n){return R(t,e,n[0],n[1],n[2],n[3])}function R(t,e,n,r,s,a){const o=e[0],i=e[1],u=e[2],c=r*u-s*i,h=s*o-n*u,l=n*i-r*o,f=r*l-s*h,m=s*c-n*l,g=n*h-r*c,d=2*a;return t[0]=o+c*d+2*f,t[1]=i+h*d+2*m,t[2]=u+l*d+2*g,t}function O(t,e){E(V,t),E(Z,e);const n=b(V,Z);return n>1?0:n<-1?Math.PI:Math.acos(n)}const V=(0,r.vt)(),Z=(0,r.vt)();function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],o=e[0],i=e[1],u=e[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-i)<=c*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(a-u)<=c*Math.max(1,Math.abs(a),Math.abs(u))}function T(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let o=r*r+s*s+a*a;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=a*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const G=c,F=h,X=l,z=y,L=M,D=a,k=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:O,bezier:function(t,e,n,r,s,a){const o=1-a,i=o*o,u=a*a,c=i*o,h=3*a*i,l=3*u*o,f=u*a;return t[0]=e[0]*c+n[0]*h+r[0]*l+s[0]*f,t[1]=e[1]*c+n[1]*h+r[1]*l+s[1]*f,t[2]=e[2]*c+n[2]*h+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:S,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],o=n[0],i=n[1],u=n[2],c=s*u-a*i,h=a*o-r*u,l=r*i-s*o,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:T,dist:z,distance:y,div:X,divide:l,dot:b,equals:Y,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,a){const o=a*a,i=o*(2*a-3)+1,u=o*(a-2)+a,c=o*(a-1),h=o*(3-2*a);return t[0]=e[0]*i+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*i+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*i+n[2]*u+r[2]*c+s[2]*h,t},inverse:P,len:D,length:a,lerp:I,max:d,min:g,mul:F,multiply:h,negate:C,normalize:E,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,o=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:x,scaleAndAdd:p,set:i,sign:m,sqrDist:L,sqrLen:k,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:G,subtract:c,transformMat3:A,transformMat4:w,transformQuat:_,transformQuatValues:R},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>a,qK:()=>h});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=i(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return c(t,8);let n=l;for(let r=0;r<e;r++)n+=i(t[r]);return n}(t);let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=i(t[n]));return e}function i(t,e=!0){switch(typeof t){case"object":return e?o(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return l+t.length*e}const h=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>S,ME:()=>P,MY:()=>I,NO:()=>C,Nh:()=>b,V2:()=>O,_s:()=>V,e6:()=>N,gh:()=>E,tr:()=>T,uX:()=>x});var r=n(5482),s=n(69397),a=n(16930),o=(n(70328),n(19419)),i=n(60408),u=n(21325),c=n(513),h=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),d=n(92722);class x{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:o,partOffsets:i,partFlags:u,segmentFlags:c,segmentIndices:h,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=a,this.partCount=o,this.partOffsets=i,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=h,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:a,segmentCountBezier:o}=this,i=O(t,e,n,r,s,this.hasCurves(),a,o);i.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(i.vertexXY.set(u.subarray(0,2*e),0),i.vertexZ?.set(c.subarray(0,e),0),i.vertexM?.set(h.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;i.partFlags.set(e.subarray(0,n+1)),i.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;i.segmentFlags.set(t.subarray(0,e),0),i.segmentIndices.set(n.subarray(0,e),0),i.segmentParams.set(r.subarray(0,s),0)}return i}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=_(t),this._segments=new M(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 M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=_(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],o=e[n++],i=e[n++],u=e[n++];n++,n++;const c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[c,h]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[i,u],l,f,o,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new w(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:i}=t,u=A(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new w(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[a,i,c,h]=s;e={xmin:a,ymin:i,xmax:c,ymax:h,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,o;t=r=1/0,a=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],i=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,i),o=Math.max(o,i)}e={xmin:t,ymin:r,xmax:a,ymax:o,spatialReference:u}}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function P(t){let e,n,r;if((0,i.fT)(t)){r="point";const{x:s,y:a,z:o,m:i}=t,u=[s,a];null!=o&&u.push(o),null!=i&&u.push(i),n=[[u]],e=1}else(0,i.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,i.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,R(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=O(r,e,r.includes("point")?0:n.length,(0,i.Pv)(t),(0,i.W0)(t),(0,f.Ed)(t)),{hasZ:a,hasM:o,vertexXY:u,vertexZ:c,vertexM:h}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(c[g]=t[2]),o&&(h[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const d="polygon"===r,{partOffsets:x}=s;let p=0;if(!(0,f.Ed)(t)){for(const t of n){if(x[p++]=g,0===t.length)continue;let e=t.length;if(d&&R(t[0],t.at(-1))&&--e,a||o)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return x[p]=g,s}function y(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*G;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const a=g-1;(0,f.wY)(r)?(y(10),++s.segmentCountArc,M=V(n,r,s,a,M),n=r.a[0]):(0,f.DA)(r)?(y(10),++s.segmentCountArc,M=Z(n,r,s,a,M),n=r.a[0]):(0,f.aO)(r)?(y(10),++s.segmentCountArc,M=N(n,r,s,a,M),n=r.c[0]):(0,f.n1)(r)?(y(4),++s.segmentCountBezier,M=T(0,r,s,a,M),n=r.b[0]):n=r}d&&R(e,n)||l(n)}return s.partOffsets[p]=g,s}function E(t){const e=_(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,o=A(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let i=0;if("multipoint"===t.type){const t=[];for(;i<n;)t.push(e(i++));return{points:t,spatialReference:o,hasZ:s,hasM:a}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],a=new Array;for(;i<r;)a.push(e(i++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:o}:{paths:n,hasZ:s,hasM:a,spatialReference:o}}const c=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);c.push(t)}return u?{rings:[],curveRings:c,hasZ:s,hasM:a,spatialReference:o}:{paths:[],curvePaths:c,hasZ:s,hasM:a,spatialReference:o}}function b(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const o=t.includes("point")?0:e.length,i="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(i?o:0);r??=!1,s??=!1;const c=O(t,u,o,r,s,!1,0,0);if(c.spatialReference=a??void 0,!c.isMultipart()){for(let t=0,e=0;t<u;++t)c.vertexXY[2*t]=n[e++],c.vertexXY[2*t+1]=n[e++],r&&(c.vertexZ[t]=n[e++]),s&&(c.vertexM[t]=n[e++]);return c}const h=2+Number(r)+Number(s);let l=0,f=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[f],a=e+t-Number(i);c.partOffsets[++f]=a;for(let t=e;t<a;++t)c.vertexXY[2*t]=n[l++],c.vertexXY[2*t+1]=n[l++],r&&(c.vertexZ[t]=n[l++]),s&&(c.vertexM[t]=n[l++]);i&&(l+=h)}return c}function S({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:o,hasZ:i,hasM:u}){const c=new d.A([],[],i,u);a=Math.max(a,1);const h="polygon"===t;let l=0;for(let t=0;t<a;++t){const a=o?.[t+1]??e,f=c.coords.length;for(let t=l;t<a;++t)c.coords.push(n[2*t],n[2*t+1]),i&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=l;c.coords.push(n[2*t],n[2*t+1]),i&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-f)/c.stride),l=a}return"point"===t&&(c.lengths.length=0),c}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===a)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class w{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function A({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function _({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function R(t,e){return t.every((t,n)=>t===e[n])}function O(t,e,n,r,s,a,o,i){o??=0,i??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:i});let c=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(c+=Float64Array.BYTES_PER_ELEMENT*e),s&&(c+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),a&&(c+=e*Int8Array.BYTES_PER_ELEMENT,c+=e*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const h=new ArrayBuffer(c);let l=0;return u.vertexXY=new Float64Array(h,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,l,e),l+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(h,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,l,e),u.segmentIndices.fill(F),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(h,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function V(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,o){n[a]=4,r[a]=o;const[i,[u,c],h,l,f,m,d]=e.a;let x=4;l||(x|=1),h||(x|=2);const p=(0,g.SW)(t,e),[y,M]=(0,g.Uk)(p,.5);return s[o++]=x,s[o++]=m,s[o++]=d,s[o++]=f,s[o++]=u,s[o++]=c,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=y,s[o++]=M,o}function Z(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,o){n[a]=4,r[a]=o;const i=(0,m.io)(t,e);return Y(i,4,...(0,c.mq)(i,.5),s,o)}function N(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,o){return n[a]=4,r[a]=o,Y((0,h.pM)(t,e),0,...e.c[1],s,o)}function Y(t,e,n,r,s,a){const{cx:o,cy:i,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=h,s[a++]=1,s[a++]=0,s[a++]=o,s[a++]=i,s[a++]=c-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function T(t,{b:[e,[n,r],[s,a]]},{segmentFlags:o,segmentIndices:i,segmentParams:u},c,h){return o[c]=2,i[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=a,h}const G=1.61803,F=-1},17077(t,e,n){n.d(e,{execute:()=>r.e});var r=n(48265);n(78125)},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>x,fromGeometry:()=>d,fromMultipoint:()=>p,fromPoint:()=>y,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>P,getSpatialReference:()=>g,toExtent:()=>b,toGeometry:()=>E,toMultipoint:()=>S,toPoint:()=>I,toPolygon:()=>w,toPolyline:()=>A});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),o=n(88885),i=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function d(t){switch(t.type){case"point":return y(t);case"multipoint":return p(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function p(t){if(!t.getCacheValue(m)){const e=new o.d,n=new a.P,r=t.points,s=t.hasM,i=t.hasZ,u=i?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),i&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function P(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function E(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return b(t,e);case s.G.enumMultiPoint:return S(t,e);case s.G.enumPolyline:return A(t,e);case s.G.enumPolygon:return w(t,e)}return null}function b(t,e){if(t.isEmpty())return null;const n=new i.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function S(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],i=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,i);const n=[i.getX(),i.getY()];s&&n.push(i.getZ()),r&&n.push(i.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:e});return c.setCacheValue(m,t),c}function I(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function w(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>u,cj:()=>i,jh:()=>a,l5:()=>o});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function i(t){return[...t]}function u(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>p,Jt:()=>y,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>x,iT:()=>f,is:()=>v,qv:()=>P,vI:()=>d,vY:()=>i,v_:()=>E,vt:()=>a,w1:()=>c}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=E){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,i=a()){return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i[4]=s,i[5]=o,i}function i(t,e=a()){return function(t,e,n,r=a()){return x(r,P),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],o=t[2],i=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),i=Math.max(i,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=o,t[3]=i,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,a,o,i,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=i,e[8]=a,e[9]=n,e[10]=i,e[11]=u,e[12]=o,e[13]=r,e[14]=a,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=i,e[20]=a,e[21]=o,e[22]=i,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function d(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function p(t){return t?x(t,P):a(P)}function y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const P=[1/0,1/0,1/0,-1/0,-1/0,-1/0],E=[0,0,0,0,0,0];a()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const a=n-t,o=r-e;return new s([5],[t,e,a,0,0,o,-a,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],a=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),i=this.coords[n],u=this.coords[n+1];t+=-.5*(i-s)*(u+a),s=i,a=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1054,1550,1666,1948,3931,5611,6061,6312,7992,8125,9169,9285,9397],{15546(t,e,n){n.d(e,{a:()=>o,c:()=>a});var r=n(55537),s=n(83661);function a(t,e){if(!t.isEmpty())switch(t.getGeometryType()){case r.G.enumPolygon:return i(t);case r.G.enumPolyline:return l(t.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(t){const e=t.calculateLength2D();return 0===e?t.getStartXY():t.calculateWeightedCentroid2D().mul(1/e)}(t);case r.G.enumMultiPoint:return function(t){const e=new s.K(0),n=new s.K(0),r=t.getImpl(),a=r.getAttributeStreamRef(0),o=r.getPointCount(),i=new s.P;for(let t=0;t<o;t++)a.queryPoint2D(2*t,i),e.add(i.x),n.add(i.y);const u=new s.P;return u.setCoords(e.getResult(),n.getResult()),u.divThis(o)}(t);case r.G.enumEnvelope:return t.getCenterXY();case r.G.enumPoint:return t.getXY();default:return s.P.construct(Number.NaN,Number.NaN)}return s.P.construct(Number.NaN,Number.NaN)}function o(t,e){return i(t,e)}function i(t,e=-1){const n=new s.K(0),r=new s.K(0),a=t.getImpl();let o;const i=a.hasNonLinearSegments();let l;const f=a.getXY(0);if(-1===e){if(l=a.calculateArea2D(),0===l)return h(t);i&&(o=a.querySegmentIterator());for(let t=0,e=a.getPathCount();t<e;t++)u(f,a,t,n,r),i&&c(f,o,n,r)}else{if(l=a.calculateRingArea2D(e),0===l)return h(t,e);i&&(o=a.querySegmentIterator(),o.resetToPath(e)),u(f,a,e,n,r),i&&c(f,o,n,r)}const m=new s.P,g=new s.P;return m.setCoords(n.getResult(),r.getResult()),g.assign(m.mul(1/l).add(f)),g}function u(t,e,n,r,a){const o=e.getPathStart(n),i=e.getPathEnd(n);if(i-o<3)return;const u=e.getAttributeStreamRef(0),c=u.readPoint2D(2*o),h=u.readPoint2D(2*(o+1));h.subThis(c);const l=new s.K(0),f=e.hasNonLinearSegments(),m=1/3,g=new s.P;for(let t=o+2;t<i;t++){u.queryPoint2D(2*t,g),g.subThis(c);const e=.5*g.crossProduct(h);f&&l.add(e);const n=m*e;r.add((h.x+g.x)*n),a.add((h.y+g.y)*n),h.setCoordsPoint2D(g)}const d=f?l.getResult():e.calculateRingArea2D(n),x=c.sub(t).mul(d);r.add(x.x),a.add(x.y)}function c(t,e,n,s){let a;for(e.nextPath()||(0,r.q)("centroid");null!==(a=e.nextCurve());){const e=a.calculateWeightedAreaCentroid2D(t);n.add(e.x),s.add(e.y)}}function h(t,e=-1){return l(t.getImpl(),e)}function l(t,e=-1){const n=-1===e?t.calculateLength2D():t.calculatePathLength2D(e);if(0===n)return function(t,e=-1){if(-1!==e)return t.getXY(t.getPathStart(e));const n=new s.K(0),r=new s.K(0);for(let e=0;e<t.getPathCount();++e){const s=t.getXY(t.getPathStart(e));n.add(s.x),r.add(s.y)}return s.P.construct(n.getResult(),r.getResult()).mul(1/t.getPathCount())}(t,e);const r=new s.K(0),a=new s.K(0),o=t.querySegmentIterator();for(-1!==e&&o.resetToPath(e);o.nextPath();){const n=o.getPathIndex(),s=t.getXY(t.getPathStart(n));for(;o.hasNextSegment();){const t=o.nextSegment(),e=t.calculateLength2D();if(0===e)continue;const n=t.calculateWeightedCentroid2D().sub(s.mul(e));r.add(n.x),a.add(n.y)}const i=s.mul(t.calculatePathLength2D(n));if(r.add(i.x),a.add(i.y),-1!==e)break}const i=new s.P;return i.setCoords(r.getResult(),a.getResult()),i.mul(1/n)}},61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,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}}},48265(t,e,n){n.d(e,{c:()=>u,e:()=>o});var r=n(15546),s=n(78125);const a=new class{getOperatorType(){return 10205}accelerateGeometry(t,e,n){return!1}canAccelerateGeometry(t){return!1}supportsCurves(){return!0}execute(t,e){return(0,r.c)(t)}};function o(t){const e=a.execute((0,s.fromGeometry)(t),null);return(0,s.toPoint)(e,(0,s.getSpatialReference)(t))}const i=a.supportsCurves(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(t,e,n,r,s,a,o,i,u,c,h,l,f,m,g,d){return[t,e,n,r,s,a,o,i,u,c,h,l,f,m,g,d]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function a(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function i(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function c(){return a(1,1,1)}function h(){return a(1,0,0)}function l(){return a(0,1,0)}function f(){return a(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>p,Cw:()=>d,JP:()=>x,S:()=>c,Ul:()=>u,Un:()=>g,ci:()=>i,fA:()=>a,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=c(),d=h(),x=l(),p=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:d,UNIT_Y:x,UNIT_Z:p,ZEROS:m,clone:s,create:r,freeze:o,fromArray:i,fromValues:a,ones:c,unitX:h,unitY:l,unitZ:f,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>S,Bw:()=>a,C:()=>o,Cc:()=>w,DI:()=>P,Il:()=>D,Io:()=>y,Ln:()=>p,Om:()=>b,Qr:()=>l,Re:()=>c,S8:()=>E,T9:()=>d,WQ:()=>u,Z0:()=>I,_S:()=>m,aI:()=>Y,ei:()=>A,fw:()=>R,g7:()=>O,gL:()=>_,hG:()=>M,hZ:()=>i,hs:()=>x,jb:()=>G,jk:()=>g,lo:()=>L,lw:()=>h,m3:()=>v,oW:()=>T,t2:()=>N,tn:()=>f,uE:()=>k,xg:()=>z,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function i(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function h(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function d(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function x(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function P(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function E(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,n){const r=e[0],s=e[1],a=e[2],o=n[0],i=n[1],u=n[2];return t[0]=s*u-a*i,t[1]=a*o-r*u,t[2]=r*i-s*o,t}function w(t,e,n,r){const s=e[0],a=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=o+r*(n[2]-o),t}function I(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function A(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function _(t,e,n){return R(t,e,n[0],n[1],n[2],n[3])}function R(t,e,n,r,s,a){const o=e[0],i=e[1],u=e[2],c=r*u-s*i,h=s*o-n*u,l=n*i-r*o,f=r*l-s*h,m=s*c-n*l,g=n*h-r*c,d=2*a;return t[0]=o+c*d+2*f,t[1]=i+h*d+2*m,t[2]=u+l*d+2*g,t}function O(t,e){E(V,t),E(Z,e);const n=b(V,Z);return n>1?0:n<-1?Math.PI:Math.acos(n)}const V=(0,r.vt)(),Z=(0,r.vt)();function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function Y(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],o=e[0],i=e[1],u=e[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-i)<=c*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(a-u)<=c*Math.max(1,Math.abs(a),Math.abs(u))}function T(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let o=r*r+s*s+a*a;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=a*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const G=c,F=h,X=l,z=y,L=M,D=a,k=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:O,bezier:function(t,e,n,r,s,a){const o=1-a,i=o*o,u=a*a,c=i*o,h=3*a*i,l=3*u*o,f=u*a;return t[0]=e[0]*c+n[0]*h+r[0]*l+s[0]*f,t[1]=e[1]*c+n[1]*h+r[1]*l+s[1]*f,t[2]=e[2]*c+n[2]*h+r[2]*l+s[2]*f,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:o,cross:S,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],o=n[0],i=n[1],u=n[2],c=s*u-a*i,h=a*o-r*u,l=r*i-s*o,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:T,dist:z,distance:y,div:X,divide:l,dot:b,equals:Y,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,a){const o=a*a,i=o*(2*a-3)+1,u=o*(a-2)+a,c=o*(a-1),h=o*(3-2*a);return t[0]=e[0]*i+n[0]*u+r[0]*c+s[0]*h,t[1]=e[1]*i+n[1]*u+r[1]*c+s[1]*h,t[2]=e[2]*i+n[2]*u+r[2]*c+s[2]*h,t},inverse:P,len:D,length:a,lerp:w,max:d,min:g,mul:F,multiply:h,negate:C,normalize:E,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,o=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:x,scaleAndAdd:p,set:i,sign:m,sqrDist:L,sqrLen:k,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:G,subtract:c,transformMat3:A,transformMat4:I,transformQuat:_,transformQuatValues:R},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>a,qK:()=>h});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=i(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return c(t,8);let n=l;for(let r=0;r<e;r++)n+=i(t[r]);return n}(t);let e=h;for(const n in t)t.hasOwnProperty(n)&&(e+=i(t[n]));return e}function i(t,e=!0){switch(typeof t){case"object":return e?o(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+f:Array.isArray(e)?c(e,s):0:0),0)}function c(t,e){return l+t.length*e}const h=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>S,ME:()=>P,MY:()=>w,NO:()=>C,Nh:()=>b,V2:()=>O,_s:()=>V,e6:()=>N,gh:()=>E,tr:()=>T,uX:()=>x});var r=n(5482),s=n(69397),a=n(16930),o=(n(70328),n(19419)),i=n(60408),u=n(21325),c=n(513),h=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),d=n(92722);class x{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:o,partOffsets:i,partFlags:u,segmentFlags:c,segmentIndices:h,segmentParams:l,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=a,this.partCount=o,this.partOffsets=i,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=h,this.segmentParams=l,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:a,segmentCountBezier:o}=this,i=O(t,e,n,r,s,this.hasCurves(),a,o);i.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:h}=this;if(i.vertexXY.set(u.subarray(0,2*e),0),i.vertexZ?.set(c.subarray(0,e),0),i.vertexM?.set(h.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;i.partFlags.set(e.subarray(0,n+1)),i.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;i.segmentFlags.set(t.subarray(0,e),0),i.segmentIndices.set(n.subarray(0,e),0),i.segmentParams.set(r.subarray(0,s),0)}return i}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new y(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class y{constructor(t){this.geometry=t,this.index=-1,this._readVertex=_(t),this._segments=new M(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 M{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=_(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],o=e[n++],i=e[n++],u=e[n++];n++,n++;const c=e[n++],h=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[c,h]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[i,u],l,f,o,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new I(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:i}=t,u=A(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new I(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[a,i,c,h]=s;e={xmin:a,ymin:i,xmax:c,ymax:h,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,o;t=r=1/0,a=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],i=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,i),o=Math.max(o,i)}e={xmin:t,ymin:r,xmax:a,ymax:o,spatialReference:u}}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function P(t){let e,n,r;if((0,i.fT)(t)){r="point";const{x:s,y:a,z:o,m:i}=t,u=[s,a];null!=o&&u.push(o),null!=i&&u.push(i),n=[[u]],e=1}else(0,i.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,i.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,R(e[0],(0,f.yP)(e.at(-1)))&&--t),t),0));const s=O(r,e,r.includes("point")?0:n.length,(0,i.Pv)(t),(0,i.W0)(t),(0,f.Ed)(t)),{hasZ:a,hasM:o,vertexXY:u,vertexZ:c,vertexM:h}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(c[g]=t[2]),o&&(h[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])l(t);return s}const d="polygon"===r,{partOffsets:x}=s;let p=0;if(!(0,f.Ed)(t)){for(const t of n){if(x[p++]=g,0===t.length)continue;let e=t.length;if(d&&R(t[0],t.at(-1))&&--e,a||o)for(let n=0;n<e;++n)l(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return x[p]=g,s}function y(t){const e=M+t;if(e<=(s.segmentParams?.length??0))return;let n=e*G;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let M=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const a=g-1;(0,f.wY)(r)?(y(10),++s.segmentCountArc,M=V(n,r,s,a,M),n=r.a[0]):(0,f.DA)(r)?(y(10),++s.segmentCountArc,M=Z(n,r,s,a,M),n=r.a[0]):(0,f.aO)(r)?(y(10),++s.segmentCountArc,M=N(n,r,s,a,M),n=r.c[0]):(0,f.n1)(r)?(y(4),++s.segmentCountBezier,M=T(0,r,s,a,M),n=r.b[0]):n=r}d&&R(e,n)||l(n)}return s.partOffsets[p]=g,s}function E(t){const e=_(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,o=A(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let i=0;if("multipoint"===t.type){const t=[];for(;i<n;)t.push(e(i++));return{points:t,spatialReference:o,hasZ:s,hasM:a}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],a=new Array;for(;i<r;)a.push(e(i++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:o}:{paths:n,hasZ:s,hasM:a,spatialReference:o}}const c=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);c.push(t)}return u?{rings:[],curveRings:c,hasZ:s,hasM:a,spatialReference:o}:{paths:[],curvePaths:c,hasZ:s,hasM:a,spatialReference:o}}function b(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const o=t.includes("point")?0:e.length,i="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(i?o:0);r??=!1,s??=!1;const c=O(t,u,o,r,s,!1,0,0);if(c.spatialReference=a??void 0,!c.isMultipart()){for(let t=0,e=0;t<u;++t)c.vertexXY[2*t]=n[e++],c.vertexXY[2*t+1]=n[e++],r&&(c.vertexZ[t]=n[e++]),s&&(c.vertexM[t]=n[e++]);return c}const h=2+Number(r)+Number(s);let l=0,f=0;c.partOffsets[0]=0;for(const t of e){const e=c.partOffsets[f],a=e+t-Number(i);c.partOffsets[++f]=a;for(let t=e;t<a;++t)c.vertexXY[2*t]=n[l++],c.vertexXY[2*t+1]=n[l++],r&&(c.vertexZ[t]=n[l++]),s&&(c.vertexM[t]=n[l++]);i&&(l+=h)}return c}function S({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:o,hasZ:i,hasM:u}){const c=new d.A([],[],i,u);a=Math.max(a,1);const h="polygon"===t;let l=0;for(let t=0;t<a;++t){const a=o?.[t+1]??e,f=c.coords.length;for(let t=l;t<a;++t)c.coords.push(n[2*t],n[2*t+1]),i&&c.coords.push(r[t]),u&&c.coords.push(s[t]);if(h){const t=l;c.coords.push(n[2*t],n[2*t+1]),i&&c.coords.push(r[t]),u&&c.coords.push(s[t])}c.lengths.push((c.coords.length-f)/c.stride),l=a}return"point"===t&&(c.lengths.length=0),c}function w(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===a)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class I{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function A({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function _({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function R(t,e){return t.every((t,n)=>t===e[n])}function O(t,e,n,r,s,a,o,i){o??=0,i??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:i});let c=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(c+=Float64Array.BYTES_PER_ELEMENT*e),s&&(c+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),a&&(c+=e*Int8Array.BYTES_PER_ELEMENT,c+=e*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const h=new ArrayBuffer(c);let l=0;return u.vertexXY=new Float64Array(h,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(h,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(h,l,e),l+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(h,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(h,l,e),u.segmentIndices.fill(F),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(h,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(h,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(h,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function V(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,o){n[a]=4,r[a]=o;const[i,[u,c],h,l,f,m,d]=e.a;let x=4;l||(x|=1),h||(x|=2);const p=(0,g.SW)(t,e),[y,M]=(0,g.Uk)(p,.5);return s[o++]=x,s[o++]=m,s[o++]=d,s[o++]=f,s[o++]=u,s[o++]=c,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=y,s[o++]=M,o}function Z(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,o){n[a]=4,r[a]=o;const i=(0,m.io)(t,e);return Y(i,4,...(0,c.mq)(i,.5),s,o)}function N(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,o){return n[a]=4,r[a]=o,Y((0,h.pM)(t,e),0,...e.c[1],s,o)}function Y(t,e,n,r,s,a){const{cx:o,cy:i,thetaStart:u,thetaEnd:c,radius:h}=t;return u>c||(e|=1),Math.abs(c-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=h,s[a++]=1,s[a++]=0,s[a++]=o,s[a++]=i,s[a++]=c-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function T(t,{b:[e,[n,r],[s,a]]},{segmentFlags:o,segmentIndices:i,segmentParams:u},c,h){return o[c]=2,i[c]=h,u[h++]=n,u[h++]=r,u[h++]=s,u[h++]=a,h}const G=1.61803,F=-1},17077(t,e,n){n.d(e,{execute:()=>r.e});var r=n(48265);n(78125)},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>x,fromGeometry:()=>d,fromMultipoint:()=>p,fromPoint:()=>y,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>P,getSpatialReference:()=>g,toExtent:()=>b,toGeometry:()=>E,toMultipoint:()=>S,toPoint:()=>w,toPolygon:()=>I,toPolyline:()=>A});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),o=n(88885),i=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function d(t){switch(t.type){case"point":return y(t);case"multipoint":return p(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function p(t){if(!t.getCacheValue(m)){const e=new o.d,n=new a.P,r=t.points,s=t.hasM,i=t.hasZ,u=i?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),i&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function P(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function E(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return w(t,e);case s.G.enumEnvelope:return b(t,e);case s.G.enumMultiPoint:return S(t,e);case s.G.enumPolyline:return A(t,e);case s.G.enumPolygon:return I(t,e)}return null}function b(t,e){if(t.isEmpty())return null;const n=new i.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function S(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],i=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,i);const n=[i.getX(),i.getY()];s&&n.push(i.getZ()),r&&n.push(i.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:e});return c.setCacheValue(m,t),c}function w(t,e){if(t instanceof r.P)return new c.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new c.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function I(t,e){if(t.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function A(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>h,cj:()=>c,jh:()=>a,l5:()=>i,yH:()=>u});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function i(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const n=a(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function c(t){return[...t]}function h(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>p,Jt:()=>y,Ne:()=>g,RF:()=>h,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>x,iT:()=>f,is:()=>v,qv:()=>P,vI:()=>d,vY:()=>i,v_:()=>E,vt:()=>a,w1:()=>c}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=E){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,i=a()){return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i[4]=s,i[5]=o,i}function i(t,e=a()){return function(t,e,n,r=a()){return x(r,P),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],o=t[2],i=t[3],u=t[4],c=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),i=Math.max(i,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=s,t[1]=a,t[2]=o,t[3]=i,t[4]=u,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,a,o,i,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=i,e[8]=a,e[9]=n,e[10]=i,e[11]=u,e[12]=o,e[13]=r,e[14]=a,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=i,e[20]=a,e[21]=o,e[22]=i,e[23]=u,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function h(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function d(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function p(t){return t?x(t,P):a(P)}function y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const P=[1/0,1/0,1/0,-1/0,-1/0,-1/0],E=[0,0,0,0,0,0];a()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const a=n-t,o=r-e;return new s([5],[t,e,a,0,0,o,-a,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],a=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),i=this.coords[n],u=this.coords[n+1];t+=-.5*(i-s)*(u+a),s=i,a=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see a70fa35b2d19460637e9.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5696],{48703(t,e,i){i.d(e,{t:()=>n});var o=i(74826);function a(t){return t[t.openProp||"open"]}async function n(t){await t.updateComplete,a(t)?t.onBeforeOpen():t.onBeforeClose(),await t.updateComplete;const e=function(t){return!!t.transitionRef}(t)?t.transitionRef.value:t.transitionEl;e&&await(0,o.o)(e,t.transitionProp),a(t)?t.onOpen():t.onClose()}},19259(t,e,i){i.d(e,{C:()=>o,I:()=>n,i:()=>c});const o={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",indicatorText:"indicator-text",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible",indicatorWithIcon:"indicator-with-icon",indicatorWithoutIcon:"indicator-without-icon"},a="calcite-action",n={button:t=>`${a}-${t}-button`,indicator:t=>`${a}-${t}-indicator`};function c(t){return"CALCITE-ACTION"===t?.tagName}},41636(t,e,i){i(64935),i(5528);var o=i(34814),a=i(45195),n=i(1715),c=i(19313),r=i(39811),l=i(8049),s=i(83045),d=i(2513),h=i(28454),u=i(58729),p=i(51277),b=i(57895),g=i(19259);const v=a.AH`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-min-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-min-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-min-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;box-sizing:border-box;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height, var(--calcite-internal-action-min-height));max-block-size:var(--calcite-internal-action-height, none);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;class f extends r.WF{constructor(){super(...arguments),this.guid=(0,l.g)(),this.buttonRef=(0,c._)(),this.buttonId=g.I.button(this.guid),this.mutationObserver=(0,s.c)("mutation",()=>this.requestUpdate()),this.messages=(0,h.u)({blocking:!0}),this.focusSetter=(0,u.u)()(this),this.indicatorRef=(0,c._)(),this.interactiveContainer=(0,p.u)(this),this.formTrigger=(0,b.u)()(this),this.active=!1,this.activeDescendant=!1,this.appearance="transparent",this.compact=!1,this.disabled=!1,this.dragHandle=!1,this.iconFlipRtl=!1,this.indicator=!1,this.loading=!1,this.overflowDisabled=!1,this.scale="m",this.width="auto",this.textEnabled=!1,this.type="button"}static{this.properties={aria:[0,{},{attribute:!1}],active:[7,{},{reflect:!0,type:Boolean}],activeDescendant:[7,{},{reflect:!0,type:Boolean}],alignment:[3,{},{reflect:!0}],appearance:[3,{},{reflect:!0}],compact:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],dragHandle:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],icon:[3,{type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],indicator:[7,{},{reflect:!0,type:Boolean}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],overflowDisabled:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}],text:1,textEnabled:[7,{},{reflect:!0,type:Boolean}],type:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.formAssociated=!0}static{this.styles=v}async setFocus(t){return this.focusSetter(()=>this.buttonRef.value,t)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}renderTextContainer(){const{text:t,textEnabled:e}=this,i={[g.C.textContainer]:!0,[g.C.textContainerVisible]:e};return t?(0,n.D)("text-container",a.qy`<div class=${(0,r.CP)(i)}>${t}</div>`):null}renderIndicatorText(){const{indicator:t,messages:e,buttonId:i}=this;return a.qy`<div aria-labelledby=${i??r.s6} aria-live=polite class=${(0,r.CP)(g.C.indicatorText)} role=region ${(0,c.K)(this.indicatorRef)}>${t?e.indicator:null}</div>`}renderIconContainer(){const{loading:t,icon:e,scale:i,el:o,iconFlipRtl:c,indicator:l}=this,s="l"===i?"l":"m",h=t?a.qy`<calcite-loader inline .label=${this.messages.loading} .scale=${s}></calcite-loader>`:null,u=e?a.qy`<calcite-icon class=${(0,r.CP)({[g.C.indicatorWithIcon]:l})} .flipRtl=${c} .icon=${e} .scale=${(0,d.g)(this.scale)}></calcite-icon>`:null,p=h||u,b=p||o.children?.length,v=a.qy`<div class=${(0,r.CP)({[g.C.slotContainer]:!0,[g.C.slotContainerHidden]:t})}><slot></slot></div>`;return b?(0,n.D)("icon-container",a.qy`<div aria-hidden=true class=${(0,r.CP)(g.C.iconContainer)}>${p}${v}</div>`):null}renderButton(){const{compact:t,disabled:e,icon:i,loading:o,textEnabled:l,label:s,text:d,indicator:h,indicatorRef:u,buttonId:p,messages:b}=this,v=s||d||"",f=h?b.indicatorLabel.replace("{label}",v):v,m={[g.C.button]:!0,[g.C.buttonTextVisible]:l,[g.C.buttonCompact]:t},k=a.qy`${this.renderIconContainer()}${this.renderTextContainer()}${!i&&h&&(0,n.D)("indicator-no-icon",a.qy`<div class=${(0,r.CP)(g.C.indicatorWithoutIcon)}></div>`)||""}`,x=h&&u.value?[u.value]:[],y=[...this.aria?.controlsElements??[],...x];return this.dragHandle?a.qy`<span .ariaBusy=${o} .ariaControlsElements=${y} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabel=${f} .ariaLabelledByElements=${this.aria?.labelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(m)} id=${p??r.s6} role=button tabindex=${(this.disabled?void 0:0)??r.s6} ${(0,c.K)(this.buttonRef)}>${k}</span>`:a.qy`<button .ariaBusy=${o} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${y} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabel=${f} .ariaLabelledByElements=${this.aria?.labelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(m)} .disabled=${e} id=${p??r.s6} .role=${this.aria?.role} type=${this.type??r.s6} ${(0,c.K)(this.buttonRef)}>${k}</button>`}render(){return this.interactiveContainer({disabled:this.disabled,children:a.qy`${this.renderButton()}${this.renderIndicatorText()}`})}}(0,o.c)("calcite-action",f)},65696(t,e,i){i.r(e),i.d(e,{Notice:()=>g}),i(41636),i(5528);var o=i(34814),a=i(45195),n=i(19313),c=i(39811),r=i(98020),l=i(74826);const s={danger:"exclamationMarkTriangleF",info:"informationF",success:"checkCircleF",warning:"exclamationMarkTriangleF"};var d=i(48703),h=i(2513),u=i(28454),p=i(58729);const b=a.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-notice-shadow, var(--calcite-shadow-none))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}@starting-style{:host([open]) .container{opacity:0;max-block-size:0}}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-background-color: var(--calcite-notice-close-background-color);--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-hover, var(--calcite-notice-close-background-color-focus) );--calcite-action-background-color-press: var(--calcite-notice-close-background-color-press);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover)}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;class g extends c.WF{constructor(){super(...arguments),this.closeButtonRef=(0,n._)(),this.transitionProp="opacity",this.transitionRef=(0,n._)(),this.messages=(0,u.u)(),this.focusSetter=(0,p.u)()(this),this.hasActionEnd=!1,this.appearance="outline-fill",this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,r.c)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,r.c)({cancelable:!1}),this.calciteNoticeClose=(0,r.c)({cancelable:!1}),this.calciteNoticeOpen=(0,r.c)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:c.pf,type:String},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=b}async setFocus(t){return this.focusSetter(()=>this.el.querySelector("calcite-link")||this.closeButtonRef.value,t)}async load(){this.kindIcons={...s,brand:"lightbulb"},this.requestedIcon=(0,l.b)(this.kindIcons,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.t)(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,l.b)(this.kindIcons,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=(0,l.s)(t)}render(){const t=a.qy`<calcite-action class=${(0,c.CP)("notice-close")} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${(0,n.K)(this.closeButtonRef)}></calcite-action>`;return a.qy`<div class=${(0,c.CP)("container")} ${(0,n.K)(this.transitionRef)}>${this.requestedIcon?a.qy`<div class=${(0,c.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,h.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,c.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,c.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}}(0,o.c)("calcite-notice",g)},1715(t,e,i){i.d(e,{D:()=>c});var o=i(60496),a=i(43356),n=i(38632);const c=(0,a.u$)(class extends a.WL{constructor(){super(...arguments),this.key=o.s6}render(t,e){return this.key=t,e}update(t,[e,i]){return e!==this.key&&((0,n.mY)(t),this.key=e),i}})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3309],{93309(e,t,i){i.r(t),i.d(t,{default:()=>W});var a=i(5482),n=i(79842),o=i(7762),s=i(51447),r=i(49186),l=i(53966),h=i(91869),d=i(25728),p=i(17676),u=i(36708),g=i(91429),y=i(35666),c=i(5443),m=i(86738),f=i(82799),L=i(12359),C=i(4146),M=i(90708),w=i(15375);const b={MULTIPLIER:"multiplier",ABSOLUTE:"absolute-value"};var k=i(24137),T=i(62796),v=i(40736),E=i(69860),N=i(99916),D=i(63074),S=i(34287),x=i(25036),I=i(10873),A=i(8460),_=i(69540),R=i(25482),Z=i(56507),B=i(69647),z=i(93223);let O=class extends((0,_.OU)(R.o)){constructor(e){super(e),this.durationLineWidth=5,this.entityPositionAtDurationRatio=1,this.eventsTicksVisualization="start-and-end",this.lineSeparationMultiplier=1,this.moveFirstBends=!0,this.secondBendRatio=.3,this.separateTimeOverlaps=!0,this.separateTimelineOverlaps=!0,this.separatedLineShapeRatio=0,this.showDurationLineForNonZeroDurationEntityEvents=!1,this.showNonZeroDurationIntervalBounds=!1,this.spaceSeparatedLinesEvenly=!1,this.timeBannerUTCOffsetInMinutes=0,this.timeDirection="right",this.useBezierCurves=!1}};(0,a.Cg)([(0,g.MZ)({type:Z.jz,range:{min:1,max:10},json:{write:!0}})],O.prototype,"durationLineWidth",void 0),(0,a.Cg)([(0,g.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],O.prototype,"entityPositionAtDurationRatio",void 0),(0,a.Cg)([(0,z.e)(B.SJ)],O.prototype,"eventsTicksVisualization",void 0),(0,a.Cg)([(0,g.MZ)({type:Number,range:{min:0},json:{write:!0}})],O.prototype,"lineSeparationMultiplier",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"moveFirstBends",void 0),(0,a.Cg)([(0,g.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],O.prototype,"secondBendRatio",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"separateTimeOverlaps",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"separateTimelineOverlaps",void 0),(0,a.Cg)([(0,g.MZ)({type:Number,range:{min:0,max:1},json:{write:!0}})],O.prototype,"separatedLineShapeRatio",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"showDurationLineForNonZeroDurationEntityEvents",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"showNonZeroDurationIntervalBounds",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"spaceSeparatedLinesEvenly",void 0),(0,a.Cg)([(0,g.MZ)({type:Z.jz,json:{write:!0}})],O.prototype,"timeBannerUTCOffsetInMinutes",void 0),(0,a.Cg)([(0,g.MZ)({type:["bottom","left","right","top"],json:{write:!0}})],O.prototype,"timeDirection",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],O.prototype,"useBezierCurves",void 0),O=(0,a.Cg)([(0,g.$K)("esri.linkChart.ChronologicalLayoutSettings")],O);const P=O;let U=class extends((0,_.OU)(R.o)){constructor(e){super(e),this.absoluteIdealEdgeLength=1,this.autoRepulsionRadius=!0,this.computationBudgetTime=2,this.idealEdgeLengthType="multiplier",this.multiplicativeIdealEdgeLength=1,this.repulsionRadiusMultiplier=1}};(0,a.Cg)([(0,g.MZ)({type:Number,range:{min:0,max:360},json:{write:!0}})],U.prototype,"absoluteIdealEdgeLength",void 0),(0,a.Cg)([(0,g.MZ)({type:Boolean,json:{write:!0}})],U.prototype,"autoRepulsionRadius",void 0),(0,a.Cg)([(0,g.MZ)({type:Number,json:{write:!1}})],U.prototype,"computationBudgetTime",void 0),(0,a.Cg)([(0,z.e)(B.lg)],U.prototype,"idealEdgeLengthType",void 0),(0,a.Cg)([(0,g.MZ)({type:Number,range:{min:0,max:5},json:{write:!0}})],U.prototype,"multiplicativeIdealEdgeLength",void 0),(0,a.Cg)([(0,g.MZ)({type:Number,range:{min:1,max:99},json:{write:!0}})],U.prototype,"repulsionRadiusMultiplier",void 0),U=(0,a.Cg)([(0,g.$K)("esri.linkChart.OrganicLayoutSettings")],U);const j=U;let F=class extends((0,_.OU)(R.o)){constructor(e){super(e),this.rootEntities=[]}};(0,a.Cg)([(0,g.MZ)({type:[Object],json:{write:!0}})],F.prototype,"rootEntities",void 0),F=(0,a.Cg)([(0,g.$K)("esri.linkChart.RootedLayoutSettings")],F);let G=class extends((0,_.OU)(R.o)){constructor(e){super(e),this.chronologicalLayoutSettings=null,this.organicLayoutSettings=null,this.rootedLayoutSettings=null}};(0,a.Cg)([(0,g.MZ)({type:P,json:{write:!0}})],G.prototype,"chronologicalLayoutSettings",void 0),(0,a.Cg)([(0,g.MZ)({type:j,json:{write:!0}})],G.prototype,"organicLayoutSettings",void 0),(0,a.Cg)([(0,g.MZ)({type:F,json:{write:!0}})],G.prototype,"rootedLayoutSettings",void 0),G=(0,a.Cg)([(0,g.$K)("esri.linkChart.LayoutSettings")],G);var H=i(54628),$=i(53902),K=i(56400);let Q=class extends((0,S.q)((0,D.dM)((0,x.j)((0,d.M)(C.A))))){constructor(e){if(super(e),this.url=null,this.dataPreloadedInLocalCache=!1,this.initializationLinkChartConfig=null,this.membershipModified=!0,this._currentLinkChartConfig={layoutMode:"organic-standard"},this._graphTypeLookup=new Map,this.dataManager=null,this.knowledgeGraph=null,this.layers=new(o.A.ofType(T.A)),this.entityLinkChartDiagramLookup=new Map,this.relationshipLinkChartDiagramLookup=new Map,this.linkChartExtent=new c.A({xmin:-1e-7,ymin:-1e-7,xmax:1e-7,ymax:1e-7}),this.memberEntityTypes=null,this.memberRelationshipTypes=null,this.operationalLayerType="LinkChartLayer",this.sublayerIdsCache=new Map,this.tables=new(o.A.ofType(T.A)),this.type="link-chart",this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1,this.chronologicalAuxiliaryGraphics=null,this._originalInclusionList=e?.initializationInclusionModeDefinition,e?.dataPreloadedInLocalCache&&!e?.initializationInclusionModeDefinition)throw new r.A("knowledge-graph:linkchart-layer-constructor","If creating a link chart composite layer and configured that data is already loaded in the cache, you must specify an inclusion list so the Composite Layer knows what records belong to it");this.addHandles((0,u.wB)(()=>this.layers.concat(this.tables),(e,t)=>this._handleSublayersChange(e,t),u.OH))}normalizeCtorArgs(e){if(!e)return{};const{url:t,dataPreloadedInLocalCache:i,initializationLinkChartConfig:a}=e;let{title:n}=e;return!n&&e?.url&&(n=(0,v.$L)(e.url)),{url:t,title:n,dataPreloadedInLocalCache:i,initializationLinkChartConfig:a}}_initializeLayerProperties(e){const t=new Set;let i=[],a=[];if(e.inclusionModeDefinition&&(!e.inclusionModeDefinition.namedTypeDefinitions||e.inclusionModeDefinition.namedTypeDefinitions.size<1))throw new r.A("knowledge-graph:composite-layer-constructor","If an explicit inclusion definition is defined, at least one namedTypeDefinition must also be defined");e.inclusionModeDefinition?.generateAllSublayers?(i=e.knowledgeGraph.dataModel.entityTypes??[],a=e.knowledgeGraph.dataModel.relationshipTypes??[]):e.inclusionModeDefinition?.namedTypeDefinitions&&e.inclusionModeDefinition?.namedTypeDefinitions.size>0?e.inclusionModeDefinition?.namedTypeDefinitions.forEach((n,o)=>{const s=this._graphTypeLookup.get(o);if(!s)return l.A.getLogger(this).warn(`A named type, ${o}, was in the inclusion list that wasn't in the data model and will be removed`),void e.inclusionModeDefinition?.namedTypeDefinitions.delete(o);"relationship"===s.type?t.has(o)||(t.add(o),a.push(s)):"entity"===s.type?t.has(o)||(t.add(o),i.push(s)):(l.A.getLogger(this).warn(`A named type, ${o}, was in the inclusion list that wasn't properly modeled and will be removed`),e.inclusionModeDefinition?.namedTypeDefinitions.delete(o))}):(i=e.knowledgeGraph.dataModel.entityTypes??[],a=e.knowledgeGraph.dataModel.relationshipTypes??[]);const n=new k.P({knowledgeGraph:e.knowledgeGraph,inclusionModeDefinition:e.inclusionModeDefinition});this.knowledgeGraph=e.knowledgeGraph,this.memberEntityTypes=i,this.memberRelationshipTypes=a,this.dataManager=n}load(e){const t=async()=>{const e=[],t=[];this.loadLayerAssumingLocalCache(),this._layersLoadedFromAuthoritativeItem()||await(0,v.qN)(this),this.dataManager.inclusionModeDefinition&&(this.dataManager.inclusionModeDefinition.generateAllSublayers=!1),this.dataManager.inclusionModeDefinition?.namedTypeDefinitions.forEach(e=>{e.useAllData=!1}),await this._initializeDiagram(),this.layers.forEach(i=>{t.push(i.refreshCachedQueryEngine()),e.push(new Promise(e=>{i.on("layerview-create",()=>{e(null)})}))}),this.tables.forEach(e=>{t.push(e.refreshCachedQueryEngine())}),await Promise.all(t)};return this.addResolvingPromise(new Promise(i=>{(0,$.fetchKnowledgeGraph)(this.url).then(async a=>{a.dataModel.entityTypes?.forEach(e=>{e.name&&this._graphTypeLookup.set(e.name,e)}),a.dataModel.relationshipTypes?.forEach(e=>{e.name&&this._graphTypeLookup.set(e.name,e)});const o=this.linkChart?.linkChartProperties;6===o?.originIdOf("entitiesUrl")&&(this.membershipModified=!1,(0,H.lV)([o.entitiesUrl??"",o.relationshipsUrl??""],this.linkChart?.portalItem?.itemUrl??"").then(e=>{this.linkChart?.linkChartProperties.setCreationDatesForResources(e)}),this._originalInclusionList=await n.XW.fetchAndConvertSerializedLinkChart({entitiesUrl:o?.entitiesUrl,relationshipsUrl:o?.relationshipsUrl},{signal:e?.signal}),this._alignLayersDataModelAndInclusionDefinition(a.dataModel),this.initializationLinkChartConfig={layoutSettings:o?.layoutSettings??void 0,layoutMode:(0,N.k5)(o.layoutType)}),this._initializeLayerProperties({knowledgeGraph:a,inclusionModeDefinition:this._originalInclusionList}),this.dataManager.inclusionModeDefinition?.namedTypeDefinitions?.size||(this.dataManager.inclusionModeDefinition={generateAllSublayers:!1,namedTypeDefinitions:new Map},this.dataManager.knowledgeGraph.dataModel.entityTypes?.forEach(e=>{e.name&&this.dataManager.inclusionModeDefinition?.namedTypeDefinitions.set(e.name,{useAllData:!0})}),this.dataManager.knowledgeGraph.dataModel.relationshipTypes?.forEach(e=>{e.name&&this.dataManager.inclusionModeDefinition?.namedTypeDefinitions.set(e.name,{useAllData:!0})}));const{edit:s,fullEdit:r,updateItem:l}=await(0,v.N1)(a.serviceDefinition.serviceItemId,this.url,e);if(this._set("userHasEditingPrivileges",s),this._set("userHasFullEditingPrivileges",r),this._set("userHasUpdateItemPrivileges",l),this.read({dateFieldsTimeReference:a.serviceDefinition.dateFieldsTimeReference},{origin:"service"}),this.dataPreloadedInLocalCache){const e=E.A.getInstance();for(const[t,i]of this.dataManager.inclusionModeDefinition?.namedTypeDefinitions??[])for(const a of i.members?.values()??[]){const i=e.readFromStoreById(`${t}__${a.id}`);i&&(0,h.tE)(this.dataManager.sublayerCaches,t,()=>new Map).set(a.id,i)}await t()}else{const i="geographic-organic-standard"===this.initializationLinkChartConfig?.layoutMode;this.addResolvingPromise(this.dataManager.refreshCacheContent(void 0,!1,i,!0).then(async()=>{(0,p.Te)(e),await t()}))}i(null)})})),Promise.resolve(this)}set initializationInclusionModeDefinition(e){"loaded"!==this.loadStatus&&"failed"!==this.loadStatus?this._set("initializationInclusionModeDefinition",e):l.A.getLogger(this).error("#initializationInclusionModeDefinition","initializationInclusionModeDefinition cannot be changed after the layer is loaded.")}get linkChart(){return this.parent}get sublayerCapabilities(){return(0,v.hZ)(this.knowledgeGraph)}async addRecords(e,t){let i=[];t?.cascadeAddRelationshipEndNodes&&this.dataManager.knowledgeGraph.dataModel&&(i=await(0,N.aq)(e,this.dataManager.knowledgeGraph));const a=e.concat(i).filter(e=>!this.sublayerIdsCache.get(e.typeName)?.has(e.id));a.length>0&&(this.membershipModified=!0),await this._handleNewRecords(a,t)}async createSublayerForNamedType(e){await this.load();const t=this._graphTypeLookup.get(e);if(!t)throw new r.A("knowledge-graph:missing-type","The specified type does not exist in the knowledge graph.");if(this.dataManager.sublayerCaches.has(e))throw new r.A("knowledge-graph:duplicate-type","The specified type already exists as a sublayer.");this.dataManager.sublayerCaches.set(e,new Map),(0,h.tE)(this.sublayerIdsCache,e,()=>new Set);const i=this._createSublayer(t);return"entity"===t.type?this.dataManager.entityTypeNames.add(e):this.dataManager.relationshipTypeNames.add(e),this.dataManager.inclusionModeDefinition?.namedTypeDefinitions?.set(e,{useAllData:!1,members:new Map}),i.geometryType?this.layers.push(i):this.tables.push(i),await(0,v.qN)(this,[e]),this._refreshNamedTypes(),i}async removeRecords(e,{cascadeRemoveRelationships:t=!0,recalculateLayout:i=!1,overrideMembershipCheck:a=!1}={cascadeRemoveRelationships:!0,recalculateLayout:!1,overrideMembershipCheck:!1}){let n=[];for(const t of e)(a||!1===this.dataManager.inclusionModeDefinition?.namedTypeDefinitions?.get(t.typeName)?.useAllData&&this.dataManager.inclusionModeDefinition?.namedTypeDefinitions?.get(t.typeName)?.members?.has(t.id))&&n.push(t);if(t){const e=new Set,t=[];for(const t of n)if(this.dataManager.nodeConnectionsLookup.has(t.id))for(const i of this.dataManager.nodeConnectionsLookup.get(t.id))e.add(i);for(const i of e)if(this.dataManager.memberIdTypeLookup.has(i))for(const e of this.dataManager.memberIdTypeLookup.get(i))this.dataManager.relationshipTypeNames.has(e)&&t.push({id:i,typeName:e});n=n.concat(t)}const o=this._currentLinkChartConfig.layoutSettings?.rootedLayoutSettings?.rootEntities;if(o?.length){const e=new Set(n.map(({id:e})=>e)),t=o.filter(({id:t})=>!e.has(t));if(t.length!==o.length){this._currentLinkChartConfig.layoutSettings.rootedLayoutSettings.rootEntities=t;const e=this.linkChart?.linkChartProperties;e?.layoutSettings?.rootedLayoutSettings&&(e.layoutSettings.rootedLayoutSettings.rootEntities=t)}}this.dataManager.removeFromLayer(n);for(const e of n)this.sublayerIdsCache.get(e.typeName)?.delete(e.id),this.dataManager.relationshipTypeNames.has(e.typeName)?this.relationshipLinkChartDiagramLookup.delete(e.id):this.entityLinkChartDiagramLookup.delete(e.id);const s=i?void 0:this.getCurrentNodeLocations();await this._calculateLayoutWithSublayerTimeInfo(this._currentLinkChartConfig.layoutMode,{layoutSettings:this._currentLinkChartConfig.layoutSettings,lockedEntityLocations:s}),n.length>0&&(this.membershipModified=!0);const r=[];return this.layers.forEach(e=>{r.push(e.refreshCachedQueryEngine())}),await Promise.all(r),this._refreshNamedTypes(),n}async expand(e,t){let i=[];try{const a=await this.dataManager.getConnectedRecordIds(e,t?.relationshipTypeNames,t);i=a.filter(e=>!this.sublayerIdsCache.get(e.typeName)?.has(e.id)),await this._handleNewRecords(i,t),a.length>0&&(this.membershipModified=!0),(0,p.Te)(t?.signal)}catch(e){throw(0,p.zf)(e)&&i.length>0&&await this.removeRecords(i,{overrideMembershipCheck:!0}),e}return{records:i}}loadLayerAssumingLocalCache(){const e=[...this.memberRelationshipTypes,...this.memberEntityTypes];this.layers.length||0===this.originIdOf("tables")?0===this.originIdOf("layers")?this._createSublayers(e,this.layers,e=>!!e.geometryType):this._updateSublayers(e,this.layers):this.layers=new o.A,this.tables.length||0===this.originIdOf("layers")?0===this.originIdOf("tables")?this._createSublayers(e,this.tables,e=>!e.geometryType):this._updateSublayers(e,this.tables):this.tables=new o.A,this.dataManager.inclusionModeDefinition?.namedTypeDefinitions?.forEach((e,t)=>{const i=(0,h.tE)(this.sublayerIdsCache,t,()=>new Set);e.members?.forEach(({id:e,linkChartLocation:a})=>{if(i.add(e),a){const i="coords"in a&&"lengths"in a?a:(0,M.Ux)(a);this.dataManager.relationshipTypeNames.has(t)?this.relationshipLinkChartDiagramLookup.set(e,i):this.entityLinkChartDiagramLookup.set(e,i)}})})}async calculateLinkChartLayout(e="organic-standard",t){const i=[],a=[],n=[];this.dataManager.sublayerCaches.forEach((e,t)=>{this.dataManager.entityTypeNames.has(t)?e.forEach(e=>{i.push({typeName:t,feature:e})}):this.dataManager.relationshipTypeNames.has(t)&&e.forEach(e=>{a.push({typeName:t,feature:e})})}),this.entityLinkChartDiagramLookup=new Map,this.relationshipLinkChartDiagramLookup=new Map;const o=new Map,s=new Map,d=new Map,u=new Map,g=new Uint8Array(i.length),y=new Float64Array(i.length),C=new Float64Array(i.length),b=new Float64Array(i.length),k=new Float64Array(i.length),T=new Uint32Array(a.length),v=new Uint32Array(a.length),E=new Float64Array(a.length),N=new Float64Array(a.length),D=[];let S=!1;const x=new c.A({xmin:-1e-7,ymin:-1e-7,xmax:1e-7,ymax:1e-7});let I,_="organic-standard",R=0,Z=0;const B=A.i6.apply;switch(_="geographic-organic-standard"===e?"organic-standard":e,_){case"organic-standard":I=A.pM.apply;break;case"organic-community":I=A.Tu.apply;break;case"hierarchical-bottom-to-top":I=A.$C.apply;break;case"radial-root-centric":I=A.vJ.apply;break;case"tree-left-to-right":I=A.Xq.apply;break;default:I=A.Wg.apply}let z=!1;const O=new Set(t?.layoutSettings?.rootedLayoutSettings?.rootEntities?.map(({id:e})=>e));i.forEach(({typeName:i,feature:a})=>{if("chronological-mono-timeline"!==e&&"chronological-multi-timeline"!==e&&t?.lockedEntityLocations?.has(a.attributes[w.dr])){"geographic-organic-standard"===e&&this.dataManager.geographicLookup.has(i)?g[R]=2:g[R]=0;const n=t.lockedEntityLocations.get(a.attributes[w.dr]);y[R]=n.x,C[R]=n.y}else if("geographic-organic-standard"===e&&this.dataManager.geographicLookup.has(i)){g[R]=2;let e=null;const t=a.attributes[this.dataManager.geographicLookup.get(i).name],n=this.dataManager.geographicLookup.get(i)?.geometryType;switch(n){case"esriGeometryPoint":y[R]=t?.x,C[R]=t?.y;break;case"esriGeometryPolygon":{const i=t?(0,L.Ve)(t):null;e=i?m.A.fromJSON(i):null,null!=e?.x&&null!=e?.y?(y[R]=e.x,C[R]=e.y):g[R]=1;break}case"esriGeometryPolyline":case"esriGeometryMultipoint":e=t?.extent?.center,null!=e?.x&&null!=e?.y?(y[R]=e.x,C[R]=e.y):g[R]=1;break;default:g[R]=1}(null==y[R]||null==C[R]||Number.isNaN(y[R])||Number.isNaN(C[R]))&&(g[R]=1,y[R]=0,C[R]=0)}else if("chronological-mono-timeline"===e||"chronological-multi-timeline"===e){!z&&t?.lockedEntityLocations?.has(a.attributes[w.dr])&&(z=!0);const e=t?.timeInfoByTypeName?.get(i),n=e?.startField,o=n&&e?.startField?a.attributes[n]:null;b[R]=o?new Date(o).getTime():NaN;const s=e?.endField,r=s&&e?.endField?a.attributes[s]:null;k[R]=r?new Date(r).getTime():NaN,y[R]=0,C[R]=0,g[R]=1}else g[R]=1,y[R]=0,C[R]=0;O.has(a.attributes[w.dr])&&(g[R]|=4),u.set(a.attributes[w.dr],R),D[R]={feature:a,typeName:i},R++}),z&&l.A.getLogger(this).warn("Locked node locations are not supported for chronological layout at this time. Requested node locations were ignored");let P=!1;const U=new Map;a.forEach(i=>{const a=i.feature.attributes[w.Cz],o=i.feature.attributes[w.KQ],s=u.get(a),r=u.get(o),l=t?.timeInfoByTypeName?.get(i.typeName),h=t?.timeInfoByTypeName?l?.startField:null,d=h?i.feature.attributes[h]:null,p=l?.endField,g=p?i.feature.attributes[p]:null;if(void 0!==s&&void 0!==r){let t=a+"-"+o;"chronological-mono-timeline"!==e&&"chronological-multi-timeline"!==e||(t=t+"-"+d+"-"+g);const l=U.get(t),h=l?.has(i.typeName);h||(T[Z]=s,v[Z]=r,"chronological-mono-timeline"!==e&&"chronological-multi-timeline"!==e||(E[Z]=d?new Date(d).getTime():NaN,N[Z]=g?new Date(g).getTime():NaN),void 0===l?U.set(t,new Map([[i.typeName,Z]])):l.set(i.typeName,Z),Z++),n.push(i)}else P=!0,this.relationshipLinkChartDiagramLookup.set(a,null)}),P&&l.A.getLogger(this).warn("A relationship is a member of this layer that has either origin or destination entity nodes that are not members. The diagram geometry will be set to null");const j=this._validateOrganicLayoutSettings(e,t?.layoutSettings?.organicLayoutSettings),F=this._convertValidatedOrganicSettingsToCalculationSettings(j);await(0,A.Hh)();let G=1,H=null;if("chronological-mono-timeline"===e||"chronological-multi-timeline"===e){let i;({status:G,links:H,graphics:i}=B(()=>t?.signal?.aborted??!1,g,y,C,b,k,T.subarray(0,Z),v.subarray(0,Z),E.subarray(0,Z),N.subarray(0,Z),"chronological-multi-timeline"===e,t?.layoutSettings?.chronologicalLayoutSettings)),0===G&&(this.chronologicalAuxiliaryGraphics=i)}else({status:G,links:H}=I(()=>t?.signal?.aborted??!1,g,y,C,T.subarray(0,Z),v.subarray(0,Z),F.computationBudgetTime,F.idealEdgeLengthMultiplier,F.repulsionRadiusMultiplier));if((0,p.Te)(t?.signal),1===G)throw new r.A("knowledge-graph:layout-failed","Attempting to arrange the records in the specified layout failed");if(2===G)throw(0,p.NK)();for(let e=0;e<D.length;e++){if(C[e]>84.9999?C[e]=84.9999:C[e]<-84.9999&&(C[e]=-84.9999),y[e]>179.9999?y[e]=179.9999:y[e]<-179.9999&&(y[e]=-179.9999),D[e].feature.attributes[w.T1]=new m.A(y[e],C[e]),o.has(D[e].typeName)){const t=o.get(D[e].typeName);t?.set(D[e].feature.attributes[w.dr],D[e].feature)}else{const t=new Map;t.set(D[e].feature.attributes[w.dr],D[e].feature),o.set(D[e].typeName,t)}d.set(D[e].feature.attributes[w.dr],D[e].feature);const t=(0,M.Ux)(D[e].feature.attributes[w.T1]);this.entityLinkChartDiagramLookup.set(D[e].feature.attributes[w.dr],D[e].feature.attributes[w.T1]?t:null);const i=(0,h.tE)(this.dataManager.inclusionModeDefinition.namedTypeDefinitions,D[e].typeName,()=>({useAllData:!1,members:new Map}));(0,h.tE)(i.members,D[e].feature.attributes[w.dr],()=>({id:D[e].feature.attributes[w.dr],linkChartLocation:void 0})).linkChartLocation=D[e].feature.attributes[w.T1];const{x:a,y:n}=D[e].feature.attributes[w.T1];if(S)x.xmin=Math.min(x.xmin,a),x.xmax=Math.max(x.xmax,a),x.ymin=Math.min(x.ymin,n),x.ymax=Math.max(x.ymax,n);else{const e=1e-7;x.xmin=a-e,x.xmax=a+e,x.ymin=n-e,x.ymax=n+e,S=!0}}if(this.linkChartExtent.xmin=x.xmin,this.linkChartExtent.xmax=x.xmax,this.linkChartExtent.ymin=x.ymin,this.linkChartExtent.ymax=x.ymax,!H)throw new r.A("knowledge-graph:layout-failed","Attempting to retrieve link geometry from diagram engine failed");const $=new Map,K=new Map,Q=new Map,W=new Set;for(let i=0;i<n.length;i++){const a=[],o=n[i],r=o.feature.attributes[w.Cz],p=o.feature.attributes[w.KQ];let g=r+"-"+p;if("chronological-mono-timeline"===e||"chronological-multi-timeline"===e){const e=t?.timeInfoByTypeName?.get(o.typeName),i=t?.timeInfoByTypeName?e?.startField:null,a=i?o.feature.attributes[i]:null,n=e?.endField;g+="-"+a+"-"+(n?o.feature.attributes[n]:null)}const y=U.get(g).get(o.typeName),c=0===y?0:H?.vertexEndIndex[y-1];if(!W.has(y)){if(W.add(y),2===H.types[y]){const e=[H.vertices[2*c],H.vertices[2*c+1]],t=[H.vertices[2*(c+1)],H.vertices[2*(c+1)+1]],i=[.5*(e[0]+t[0]),.5*(e[1]+t[1])],n=[i[0]-e[0],i[1]-e[1]],o=[i[0]+n[1],i[1]-n[0]],s=[i[0]-n[1],i[1]+n[0]];a.push(e),a.push(o),a.push(t),a.push(s),a.push(e)}else{if(0!==H.types[y]){l.A.getLogger(this).warn("A relationship generated an unsupported link geometry type. It will not be rendered");continue}for(let e=c;e<H.vertexEndIndex[y];e++)a.push([H.vertices[2*e],H.vertices[2*e+1]])}if("chronological-mono-timeline"!==e&&"chronological-multi-timeline"!==e){const e=D[u.get(r)]?.feature.attributes[w.T1],t=D[u.get(p)]?.feature.attributes[w.T1];a[0][0]===e.x&&a[0][1]===e.y||(a[0]=[e.x,e.y]),a[a.length-1][0]===t.x&&a[a.length-1][1]===t.y||(a[a.length-1]=[t.x,t.y])}for(let e=1;e<a.length-1;e++)a[e][1]>85.5?a[e][1]=85.5:a[e][1]<-85.5&&(a[e][1]=-85.5),a[e][0]>179.9999?a[e][0]=179.9999:a[e][0]<-179.9999&&(a[e][0]=-179.9999);$.has(g)?$.get(g).push(a):$.set(g,[a])}const m=$.get(g);K.has(g)||(K.set(g,new Map),Q.set(g,new Map));const L=K.get(g),C=Q.get(g);L.has(o.typeName)||(L.set(o.typeName,m.shift()),C.set(o.typeName,0));const b=L.get(o.typeName);C.set(o.typeName,C.get(o.typeName)+1);const k=new f.A({paths:[b]});if(o.feature.attributes[w.T1]=k,s.has(o.typeName)){const e=s.get(o.typeName);e?.set(o.feature.attributes[w.dr],o.feature)}else{const e=new Map;e.set(o.feature.attributes[w.dr],o.feature),s.set(o.typeName,e)}d.set(o.feature.attributes[w.dr],o.feature);const T=(0,M.Ux)(o.feature.attributes[w.T1]);this.relationshipLinkChartDiagramLookup.set(o.feature.attributes[w.dr],o.feature.attributes[w.T1]?T:null);const v=(0,h.tE)(this.dataManager.inclusionModeDefinition.namedTypeDefinitions,o.typeName,()=>({useAllData:!1,members:new Map}));(0,h.tE)(v.members,o.feature.attributes[w.dr],()=>({id:o.feature.attributes[w.dr],linkChartLocation:void 0})).linkChartLocation=T}for(const e of n)e.feature.attributes[w.M1]=Q.get(e.feature.attributes[w.Cz]+"-"+e.feature.attributes[w.KQ])?.get(e.typeName)??null;return this._currentLinkChartConfig={layoutMode:e,layoutSettings:t?.layoutSettings?.clone()},{nodes:o,links:s,idMap:d}}async applyNewLinkChartLayout(e="organic-standard",t){let{lockedNodeLocations:i,lockedEntityLocations:a,rootEntityIds:n,...o}=t??{};!a&&i?((0,s.io)(l.A.getLogger(this),"lockedNodeLocations is deprecated in 5.0. Use lockedEntityLocations instead.",{replacement:"Use lockedEntityLocations instead.",version:"5.0"}),a=i):a&&i&&(0,s.io)(l.A.getLogger(this),"Both lockedNodeLocations (deprecated in 5.0) and lockedEntityLocations are defined. Use lockedEntityLocations only instead.",{replacement:"Use lockedEntityLocations instead.",version:"5.0"});const r=o.layoutSettings?.rootedLayoutSettings?.rootEntities;if(!r&&n){(0,s.io)(l.A.getLogger(this),"rootEntityIds is deprecated in 5.1. Use layoutSettings.rootedLayoutSettings.rootEntities instead.",{replacement:"Use layoutSettings.rootedLayoutSettings.rootEntities instead.",version:"5.1"});const e=[];for(const t of n){const i=this.dataManager.memberIdTypeLookup.get(t),a=Array.from(i??[]).find(e=>this.dataManager.entityTypeNames.has(e));a&&e.push({id:t,typeName:a})}o.layoutSettings=o.layoutSettings??new G,o.layoutSettings.rootedLayoutSettings=o.layoutSettings.rootedLayoutSettings??new F,o.layoutSettings.rootedLayoutSettings.rootEntities=e}else r&&n&&(0,s.io)(l.A.getLogger(this),"Both rootEntityIds (deprecated in 5.1) and layoutSettings.rootedLayoutSettings.rootEntities are defined. Use layoutSettings.rootedLayoutSettings.rootEntities only instead.",{replacement:"Use layoutSettings.rootedLayoutSettings.rootEntities instead.",version:"5.1"});const h=[];await this._calculateLayoutWithSublayerTimeInfo(e,{...o,lockedEntityLocations:a}),this.layers.forEach(e=>{h.push(e.refreshCachedQueryEngine())}),this.membershipModified=!0,await Promise.all(h),this._refreshNamedTypes()}getCurrentNodeLocations(){const e=new Map;for(const[t,i]of this.dataManager.inclusionModeDefinition?.namedTypeDefinitions.entries()??[])this.dataManager.relationshipTypeNames.has(t)||i?.members?.forEach(t=>{const i=t.linkChartLocation;let a;const n=t.id;i&&(a="x"in i?{x:i.x,y:i.y}:{x:i.coords[0],y:i.coords[1]},e.set(n,new m.A({x:a.x,y:a.y})))});return e}async refreshLinkChartCache(e){await this.dataManager.refreshCacheContent(e);const t=[];this.layers.forEach(e=>{t.push(e.refreshCachedQueryEngine())}),await Promise.all(t),this._refreshNamedTypes()}async connectBetweenEntities(e,t){if(!e.length)return{records:[]};let i=[];try{let a=[];for(const e of this.dataManager.relationshipTypeNames){const t=this.sublayerIdsCache.get(e);t&&(a=a.concat(Array.from(t.keys())))}i=await this.dataManager.getRelationshipsBetweenNodes(e,a,t),await this._handleNewRecords(i,t),(0,p.Te)(t)}catch(e){throw(0,p.zf)(e)&&this.removeRecords(i),e}return{records:i}}async connectFromEntities(e,t){if(!e.length)return{records:[]};let i=[];try{let a=[];for(const e of this.dataManager.relationshipTypeNames){const t=this.sublayerIdsCache.get(e);t&&(a=a.concat(Array.from(t.keys())))}let n=[];for(const e of this.dataManager.entityTypeNames){const t=this.sublayerIdsCache.get(e);t&&(n=n.concat(Array.from(t)))}i=await this.dataManager.getRelationshipsFromNodes(e,n,a,t),await this._handleNewRecords(i,t),i.length>0&&(this.membershipModified=!0),(0,p.Te)(t)}catch(e){throw(0,p.zf)(e)&&this.removeRecords(i),e}return{records:i}}getCurrentLayout(){return this._currentLinkChartConfig.layoutMode}async _calculateLayoutWithSublayerTimeInfo(e="organic-standard",t){const i=new Map;this.layers.forEach(e=>{i.set(e.objectType.name,e.timeInfo)}),await this.calculateLinkChartLayout(e,{timeInfoByTypeName:i,...t}),this.linkChart?.handleChronologicalOverlay()}async _handleNewRecords(e,t){const i=new Set,a=[],n=this.layers.concat(this.tables);for(const t of e)this._graphTypeLookup.has(t.typeName)&&(!1===n.some(e=>e.objectType.name===t.typeName)&&(this.dataManager.sublayerCaches.set(t.typeName,new Map),i.add(t.typeName)),(0,h.tE)(this.sublayerIdsCache,t.typeName,()=>new Set).add(t.id),a.push(t));this.dataManager.addToLayer(a);for(const e of i){const t=this._graphTypeLookup.get(e);if(t){const i=this._createSublayer(t);"entity"===t.type?this.dataManager.entityTypeNames.add(e):this.dataManager.relationshipTypeNames.add(e),i.geometryType?this.layers.push(i):this.tables.push(i)}}await(0,v.qN)(this,Array.from(i),t),await this.dataManager.refreshCacheContent(e.map(e=>e.id),void 0,void 0,void 0,t);const o={layoutSettings:this._currentLinkChartConfig.layoutSettings,lockedEntityLocations:new Map};for(const[e,t]of this.entityLinkChartDiagramLookup.entries())t&&o.lockedEntityLocations.set(e,new m.A(t.coords[0],t.coords[1]));await this.applyNewLinkChartLayout(this._currentLinkChartConfig.layoutMode,o)}_createSublayers(e,t,i){e.forEach(e=>{const a=this._createSublayer(e);i(a)&&t.push(a),this._updateSublayerCaches(e)})}_updateSublayers(e,t){t.forEach(t=>{t.parentCompositeLayer=this;const i=e.find(e=>e.type===t.graphType&&e.name===t.graphTypeName);i&&(t.objectType=i,t.read({title:i.name},{origin:"service"}),this._updateSublayerCaches(i))})}_updateSublayerCaches({name:e}){if(!e)return;const t=this.dataManager.sublayerCaches;t.has(e)||t.set(e,new Map)}_layersLoadedFromAuthoritativeItem(){const e=this.originIdOf("layers");return e>=3&&e<7}async _initializeDiagram(){this.initializationLinkChartConfig?this.initializationLinkChartConfig.doNotRecalculateLayout?(this.dataManager.inclusionModeDefinition?.namedTypeDefinitions?.forEach((e,t)=>{e?.members?.forEach(e=>{const i=e.linkChartLocation;let a;const n=e.id;if(!i)return;a="x"in i?{x:i.x,y:i.y}:{x:i.coords[0],y:i.coords[1]};const o=(0,M.Ux)(a);this.dataManager.relationshipTypeNames.has(t)?this.relationshipLinkChartDiagramLookup.set(n,o):this.entityLinkChartDiagramLookup.set(n,o),this.linkChartExtent.xmin>a.x&&(this.linkChartExtent.xmin=a.x),this.linkChartExtent.xmax<a.x&&(this.linkChartExtent.xmax=a.x),this.linkChartExtent.ymin>a.y&&(this.linkChartExtent.ymin=a.y),this.linkChartExtent.ymax<a.y&&(this.linkChartExtent.ymax=a.y)})}),this.memberRelationshipTypes.forEach(e=>{e.name&&this.dataManager.sublayerCaches.get(e.name)?.forEach(e=>{const t=this.relationshipLinkChartDiagramLookup.get(e.attributes[w.Cz]),i=this.relationshipLinkChartDiagramLookup.get(e.attributes[w.KQ]);if(t&&i){const a=(0,M.Ux)(new f.A({paths:[[[t.coords[0],t.coords[1]],[i.coords[0],i.coords[1]]]]}));this.relationshipLinkChartDiagramLookup.set(e.attributes[w.dr],a)}else this.relationshipLinkChartDiagramLookup.set(e.attributes[w.dr],null)})})):await this._calculateLayoutWithSublayerTimeInfo(this.initializationLinkChartConfig.layoutMode,{lockedEntityLocations:this.getCurrentNodeLocations(),...this.initializationLinkChartConfig}):await this._calculateLayoutWithSublayerTimeInfo("organic-standard",{lockedEntityLocations:this.getCurrentNodeLocations()})}_refreshNamedTypes(){for(const e of this.layers)e.emit("refresh",{dataChanged:!0});for(const e of this.tables)e.emit("refresh",{dataChanged:!0})}_validateOrganicLayoutSettings(e,t){const i=e=>"number"==typeof e&&!isNaN(e),a=e=>i(e)&&e>=0,n={};if(!new Set(["organic-standard","organic-community","geographic-organic-standard","chronological-multi-timeline","chronological-mono-timeline"]).has(e)||!t)return n;const{computationBudgetTime:o,autoRepulsionRadius:s,repulsionRadiusMultiplier:r,absoluteIdealEdgeLength:h,multiplicativeIdealEdgeLength:d,idealEdgeLengthType:p}=t;return(e=>i(e)&&e>=1)(o)?n.computationBudgetTime=o:o&&l.A.getLogger(this).warn("Invalid layout computationBudgetTime setting, will revert to default setting"),n.autoRepulsionRadius=s,!s&&(e=>i(e)&&e>=1)(r)?n.repulsionRadiusMultiplier=r:s||(n.autoRepulsionRadius=!0,l.A.getLogger(this).warn("Invalid layout repulsionRadiusMultiplier setting, will revert to default setting")),"geographic-organic-standard"===e&&((e=>Object.values(b).includes(e))(p)?n.idealEdgeLengthType=p:void 0!==p&&l.A.getLogger(this).warn('Invalid layout idealEdgeLengthType setting, will revert to "multiplier" setting'),"absolute-value"===p&&a(h)?n.absoluteIdealEdgeLength=h:"absolute-value"===p&&void 0!==h?l.A.getLogger(this).warn("Invalid layout idealEdgeLength setting, will revert to default setting"):"multiplier"===p&&a(d)?n.multiplicativeIdealEdgeLength=d:"multiplier"===p&&void 0!==d&&l.A.getLogger(this).warn("Invalid layout idealEdgeLength setting, will revert to default setting")),n}_convertValidatedOrganicSettingsToCalculationSettings(e){let t=e.idealEdgeLengthType===b.ABSOLUTE?e.absoluteIdealEdgeLength:e.multiplicativeIdealEdgeLength;return e.idealEdgeLengthType===b.ABSOLUTE&&(void 0===t?t=-1:t*=-1),{computationBudgetTime:e.computationBudgetTime??void 0,repulsionRadiusMultiplier:e.repulsionRadiusMultiplier&&!e.autoRepulsionRadius?e.repulsionRadiusMultiplier:void 0,idealEdgeLengthMultiplier:t}}_createSublayer(e){return new T.A({objectType:e,parentCompositeLayer:this,graphType:e.type})}_handleSublayersChange(e,t){t&&(t.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner")),e&&(e.forEach(e=>{e.parent=this}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this}),e.on("after-remove",({item:e})=>{e.parent=null})],"sublayers-owner"))}_alignLayersDataModelAndInclusionDefinition(e){const t=new Set((e.entityTypes??[]).map(e=>e.name).concat((e.relationshipTypes??[]).map(e=>e.name))),i=new Set((e.entityTypes??[]).map(e=>e.name)),a=new Set((e.relationshipTypes??[]).map(e=>e.name));if(this.layers){for(const e of this.layers)!e.graphType&&t.has(e.graphTypeName)&&(e.graphType=i.has(e.graphTypeName)?"entity":"relationship");const e=this.layers.filter(e=>t.has(e.graphTypeName)&&("entity"===e.graphType?i.has(e.graphTypeName):a.has(e.graphTypeName)));this.setAtOrigin("layers",e,(0,y.OL)(this.originIdOf("layers")))}else this.layers=new o.A;if(this.layers&&this._originalInclusionList){const e=new Set(this._originalInclusionList.namedTypeDefinitions.keys()),t=this.tables?.map(e=>e.graphTypeName)??[],i=this.layers.map(e=>e.graphTypeName).concat(t);for(const t of i)e.has(t)||this._originalInclusionList.namedTypeDefinitions.set(t,{useAllData:!1,members:new Map});const a=[];for(const e of this._originalInclusionList.namedTypeDefinitions.keys())i.includes(e)||(l.A.getLogger(this).warn(`A named type, ${e}, was in the serialized feature collection but did not have a sublayer config in the item, so will be removed`),a.push(e));for(const e of a)this._originalInclusionList.namedTypeDefinitions.delete(e)}}};(0,a.Cg)([(0,g.MZ)(I.OZ)],Q.prototype,"url",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"dataPreloadedInLocalCache",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"initializationLinkChartConfig",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"membershipModified",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"dataManager",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"initializationInclusionModeDefinition",null),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"knowledgeGraph",void 0),(0,a.Cg)([(0,g.MZ)({type:o.A.ofType(T.A),json:{write:{ignoreOrigin:!0}}})],Q.prototype,"layers",void 0),(0,a.Cg)([(0,g.MZ)({readOnly:!0})],Q.prototype,"linkChart",null),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"entityLinkChartDiagramLookup",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"relationshipLinkChartDiagramLookup",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"linkChartExtent",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"memberEntityTypes",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"memberRelationshipTypes",void 0),(0,a.Cg)([(0,g.MZ)({type:["LinkChartLayer"]})],Q.prototype,"operationalLayerType",void 0),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"sublayerCapabilities",null),(0,a.Cg)([(0,g.MZ)()],Q.prototype,"sublayerIdsCache",void 0),(0,a.Cg)([(0,g.MZ)({type:o.A.ofType(T.A),json:{write:{ignoreOrigin:!0}}})],Q.prototype,"tables",void 0),(0,a.Cg)([(0,g.MZ)({json:{read:!1}})],Q.prototype,"type",void 0),(0,a.Cg)([(0,g.MZ)({readOnly:!0})],Q.prototype,"userHasEditingPrivileges",void 0),(0,a.Cg)([(0,g.MZ)({readOnly:!0})],Q.prototype,"userHasFullEditingPrivileges",void 0),(0,a.Cg)([(0,g.MZ)({readOnly:!0})],Q.prototype,"userHasUpdateItemPrivileges",void 0),(0,a.Cg)([(0,g.MZ)({json:{read:!1}})],Q.prototype,"chronologicalAuxiliaryGraphics",void 0),(0,a.Cg)([(0,g.MZ)((0,K.P6)("dateFieldsTimeReference"))],Q.prototype,"dateFieldsTimeZone",void 0),Q=(0,a.Cg)([(0,g.$K)("esri.layers.LinkChartLayer")],Q);const W=Q}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6475],{36475(e,t,i){i.r(t),i.d(t,{default:()=>Z});var s=i(5482),r=i(11254),a=i(49186),l=i(53966),o=i(25728),n=i(17676),p=i(91429),u=i(5443),h=i(16930),y=i(4146),d=i(52136),c=i(18768),g=i(69208),f=i(34287),C=i(8303),v=i(25036),S=i(10873),m=i(88546),x=i(24212);let w=class extends((0,c.b)((0,f.q)((0,C.A)((0,v.j)((0,o.M)((0,g.d)((0,d.p)(y.A)))))))){constructor(e){super(e),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat",this.opacity=1,this.minScale=0,this.maxScale=0,this.url=null,this.rootTilesetJSON=null,this.fullExtent=m.zq,this.spatialReference=m.Zx,this.esriCrsSpatialReference=null,this.esriCrsFullExtent=null}get supportedSpatialReferences(){return this.initialized&&this.esriCrsSpatialReference?[m.Zx,this.esriCrsSpatialReference]:[m.Zx]}get fullExtents(){return this.initialized&&this.esriCrsFullExtent?[m.zq,this.esriCrsFullExtent]:[m.zq]}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const t=null!=e?e.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("GaussianSplat"))return!0;throw new a.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service"})}},e)}catch(e){(0,n.QP)(e)}if(this.url){const e=(0,r.A)(this.url,{query:{...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{this.rootTilesetJSON=e.data,this.fullExtent=(0,m.uB)(this.rootTilesetJSON,!1),(0,m._8)(this.rootTilesetJSON)&&(this.esriCrsFullExtent=(0,m.uB)(this.rootTilesetJSON,!0),this.esriCrsSpatialReference=this.esriCrsFullExtent.spatialReference,this.spatialReference=this.esriCrsSpatialReference)},e=>{(0,n.QP)(e)});await e}}_validateElevationInfo(e){const t="Gaussian Splat layers";(0,x.XF)(l.A.getLogger(this),(0,x.B)(t,"absolute-height",e)),(0,x.XF)(l.A.getLogger(this),(0,x.tW)(t,e))}};(0,s.Cg)([(0,p.MZ)({type:["GaussianSplatLayer"]})],w.prototype,"operationalLayerType",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"type",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],w.prototype,"opacity",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],w.prototype,"minScale",void 0),(0,s.Cg)([(0,p.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],w.prototype,"maxScale",void 0),(0,s.Cg)([(0,p.MZ)(S.OZ)],w.prototype,"url",void 0),(0,s.Cg)([(0,p.MZ)({type:u.A})],w.prototype,"fullExtent",void 0),(0,s.Cg)([(0,p.MZ)({type:h.A})],w.prototype,"spatialReference",void 0),(0,s.Cg)([(0,p.MZ)({readOnly:!0})],w.prototype,"supportedSpatialReferences",null),(0,s.Cg)([(0,p.MZ)({type:[u.A]})],w.prototype,"fullExtents",null),(0,s.Cg)([(0,p.MZ)({type:["show","hide"]})],w.prototype,"listMode",void 0),(0,s.Cg)([(0,p.MZ)(S.Yj)],w.prototype,"elevationInfo",null),w=(0,s.Cg)([(0,p.$K)("esri.layers.GaussianSplatLayer")],w);const Z=w}}]);
|