@arcgis/core 5.2.0-next.47 → 5.2.0-next.49
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/applications/Components/OrientedImageryViewer/PanoramicViewer/utils.d.ts +33 -0
- package/applications/Components/OrientedImageryViewer/PanoramicViewer/utils.js +2 -0
- package/arcgisGlobal.d.ts +2 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/003a87b16f8a4b476e14.js +1 -0
- package/assets/esri/core/workers/chunks/031ccf2e1583beebdf24.js +1 -0
- package/assets/esri/core/workers/chunks/0474af7687466d8befd2.js +1 -0
- package/assets/esri/core/workers/chunks/{2a4868acd546312aa6d8.js → 05f6887805d92da03122.js} +1 -1
- package/assets/esri/core/workers/chunks/069b6d8bdb34ee88d437.js +1 -0
- package/assets/esri/core/workers/chunks/{f9b2727b41943d83d4ca.js → 0a413d917f3d19440fc1.js} +1 -1
- package/assets/esri/core/workers/chunks/0b2ca406761c63529a6a.js +1 -0
- package/assets/esri/core/workers/chunks/{68f7eaa3122de7c00adb.js → 0ea374f7b16745b9bbc7.js} +1 -1
- package/assets/esri/core/workers/chunks/{c369d4266f38e9ea6592.js → 1119a33245138e7b3914.js} +1 -1
- package/assets/esri/core/workers/chunks/12e0c5b7cc5c3f9e6f0f.js +1 -0
- package/assets/esri/core/workers/chunks/172571397c66f992d08c.js +1 -0
- package/assets/esri/core/workers/chunks/18edf2846d7546285e5e.js +1 -0
- package/assets/esri/core/workers/chunks/1b0557fcb058fc450230.js +1 -0
- package/assets/esri/core/workers/chunks/{98f575c038da74ced2a6.js → 1bc45872d22d61dbd7d1.js} +1 -1
- package/assets/esri/core/workers/chunks/{835643f716f7058a2722.js → 1cf8fb704c48ac3d3b15.js} +1 -1
- package/assets/esri/core/workers/chunks/25cb56c3b538d00e7693.js +1 -0
- package/assets/esri/core/workers/chunks/{4d4710d57c72ec75cccc.js → 26f1fd3f2be5102aae1d.js} +1 -1
- package/assets/esri/core/workers/chunks/285a5bd708f0fe1c620c.js +1 -0
- package/assets/esri/core/workers/chunks/{7777a79f26a06a6c5240.js → 304a22c580ce103480cb.js} +1 -1
- package/assets/esri/core/workers/chunks/{383392c63202ac044b6c.js → 33bd9785bd0b6ccef21b.js} +1 -1
- package/assets/esri/core/workers/chunks/{2c0d92c0e3511775401a.js → 35cbf00f0c37a86517af.js} +1 -1
- package/assets/esri/core/workers/chunks/{0f19bc532be24ca64755.js → 36fe6adf6517d8f80125.js} +1 -1
- package/assets/esri/core/workers/chunks/382d9491c2a56c1925fe.js +1 -0
- package/assets/esri/core/workers/chunks/3af2b9d6d5466cb2b957.js +256 -0
- package/assets/esri/core/workers/chunks/{b3cd17daf5a297b96705.js → 3bc2943035391b44d4cf.js} +1 -1
- package/assets/esri/core/workers/chunks/{d36f17d32c654b1ac7fa.js → 3f1a7f8a9ead64bf0b7b.js} +1 -1
- package/assets/esri/core/workers/chunks/40f7bb0ebd918d76f078.js +1 -0
- package/assets/esri/core/workers/chunks/43b39abd49c4a8ce891f.js +1 -0
- package/assets/esri/core/workers/chunks/{821176ee3be724621bb0.js → 461c2de938bf4c9b1442.js} +1 -1
- package/assets/esri/core/workers/chunks/{cc637aec16918052548e.js → 47af3525396f890f2a6b.js} +1 -1
- package/assets/esri/core/workers/chunks/4ee7232ea41fa41c5ed4.js +29 -0
- package/assets/esri/core/workers/chunks/4ee900e5dbb130fa0c7b.js +1 -0
- package/assets/esri/core/workers/chunks/50674ba5f24129d61d89.js +1 -0
- package/assets/esri/core/workers/chunks/547a2fe53139f705f95e.js +1 -0
- package/assets/esri/core/workers/chunks/5ce09c4d06e98b1e9251.js +1 -0
- package/assets/esri/core/workers/chunks/5dbd28fce73751d2d1aa.js +1 -0
- package/assets/esri/core/workers/chunks/5ec8b02e097cf6718462.js +1 -0
- package/assets/esri/core/workers/chunks/5f54d927dc77e92cf145.js +1 -0
- package/assets/esri/core/workers/chunks/63e3d338751240479335.js +1 -0
- package/assets/esri/core/workers/chunks/69b9a327f23e052fced7.js +1 -0
- package/assets/esri/core/workers/chunks/6c2b5087a9df65267f4e.js +1 -0
- package/assets/esri/core/workers/chunks/6ccd5fa5e35dc70fcd5d.js +1 -0
- package/assets/esri/core/workers/chunks/6e520ef645c5edcd499a.js +1 -0
- package/assets/esri/core/workers/chunks/7659391f952d134164cf.js +1 -0
- package/assets/esri/core/workers/chunks/78add8e6b54b51eaa299.js +1 -0
- package/assets/esri/core/workers/chunks/{2b669473aa2c7cfb63c7.js → 7b0ed52363704cfce129.js} +1 -1
- package/assets/esri/core/workers/chunks/7b61f56d0f766421eaef.js +1 -0
- package/assets/esri/core/workers/chunks/7f2f2a92dce3f68e579b.js +1 -0
- package/assets/esri/core/workers/chunks/801a664f21e0218bc705.js +1 -0
- package/assets/esri/core/workers/chunks/{8f9fb4e8a7d73db41664.js → 851bcc75acac4a2f199b.js} +1 -1
- package/assets/esri/core/workers/chunks/{6010b7be978698a642d0.js → 8977c85aecc7e08ab13c.js} +1 -1
- package/assets/esri/core/workers/chunks/8c5726c7ce40a92901e6.js +1 -0
- package/assets/esri/core/workers/chunks/8d21e2dabc5165f1c8ca.js +1 -0
- package/assets/esri/core/workers/chunks/9008090a5d8431ddfa22.js +1 -0
- package/assets/esri/core/workers/chunks/{f2adf1227a795604d3b8.js → 90ae80b797642bff0efa.js} +1 -1
- package/assets/esri/core/workers/chunks/{71ce1009dadcae8f8094.js → 95b3b8fe45ef4ac6b277.js} +1 -1
- package/assets/esri/core/workers/chunks/96cec8a02ca96175d602.js +1 -0
- package/assets/esri/core/workers/chunks/99eccf9ce53582cfa5b5.js +1 -0
- package/assets/esri/core/workers/chunks/9b7cb96acea388d86fa4.js +1 -0
- package/assets/esri/core/workers/chunks/{dee4019338a79c1ecd26.js → 9d0a9d465ec3a8ba1ed2.js} +1 -1
- package/assets/esri/core/workers/chunks/9e474465d069cb9e94f5.js +1 -0
- package/assets/esri/core/workers/chunks/aa3abc07de2921ef6ca1.js +1 -0
- package/assets/esri/core/workers/chunks/{ae9f9e975d7a9d442fa5.js → ab5aa4280ed0cb7fcbe9.js} +1 -1
- package/assets/esri/core/workers/chunks/b03f09ee2224f0cc526a.js +1 -0
- package/assets/esri/core/workers/chunks/{ee58f4bbc0a1f7d03df0.js → b32ede7805c7c6644e4c.js} +1 -1
- package/assets/esri/core/workers/chunks/b49952541d189b4b9f7e.js +1 -0
- package/assets/esri/core/workers/chunks/b8bdacebd4d24ba90f3f.js +1 -0
- package/assets/esri/core/workers/chunks/{85cd0cd721b27c497b18.js → baac90da0703891d59c4.js} +1 -1
- package/assets/esri/core/workers/chunks/bb552089b34d6811fb03.js +1 -0
- package/assets/esri/core/workers/chunks/cd1f1a72483b7c80bd9a.js +1 -0
- package/assets/esri/core/workers/chunks/{744f34e379484e63277c.js → cdb331b58e22f8c1c988.js} +2 -2
- package/assets/esri/core/workers/chunks/{b23d1e10fc4161d1f3eb.js → d021775cf747556660a5.js} +1 -1
- package/assets/esri/core/workers/chunks/{728ea88e7d4733230e1f.js → d1af0bd611a3dc549858.js} +85 -81
- package/assets/esri/core/workers/chunks/d2cb3d5ef0a9285afb78.js +1 -0
- package/assets/esri/core/workers/chunks/d49e42f36bc3dc256b9f.js +1 -0
- package/assets/esri/core/workers/chunks/d560ed96dde5ca3a5583.js +1 -0
- package/assets/esri/core/workers/chunks/dc1787d88b11ed985159.js +1 -0
- package/assets/esri/core/workers/chunks/{399e23d777a043efa9f1.js → dd95f50dac3f33cdb6d2.js} +1 -1
- package/assets/esri/core/workers/chunks/ddb92c815d17c67a45e6.js +1 -0
- package/assets/esri/core/workers/chunks/{7c2784ebbe17d79f669c.js → de50a19944617cd426b8.js} +1 -1
- package/assets/esri/core/workers/chunks/{52efa4ded11c1e71f04f.js → e2e2162adbfb9b46bede.js} +1 -1
- package/assets/esri/core/workers/chunks/e4353f0792f45aa6a62f.js +1 -0
- package/assets/esri/core/workers/chunks/eac8cae89da9ce2f4946.js +1 -0
- package/assets/esri/core/workers/chunks/edf87407dd20685c82ab.js +1 -0
- package/assets/esri/core/workers/chunks/ee7c8a7f384ea6393487.js +705 -0
- package/assets/esri/core/workers/chunks/f1299b4fc760ccca1518.js +1 -0
- package/assets/esri/core/workers/chunks/f244632f7934a4b72c91.js +1 -0
- package/assets/esri/core/workers/chunks/fc639c730115e07a4a1a.js +1 -0
- package/assets/esri/libs/basisu/basis_encoder.wasm +0 -0
- package/assets/esri/libs/basisu/basis_transcoder.wasm +0 -0
- package/assets/esri/libs/dxtEncoder/dxt_encoder.wasm +0 -0
- package/chunks/Component.glsl.js +104 -67
- package/chunks/DefaultMaterial.glsl.js +1 -1
- package/chunks/LineMarker.glsl.js +31 -31
- package/chunks/RibbonLine.glsl.js +60 -49
- package/chunks/basis_encoder.js +1 -1
- package/chunks/basis_transcoder.js +1 -1
- package/chunks/dxt_encoder.js +1 -1
- package/chunks/vec3.js +1 -1
- package/config.js +1 -1
- package/core/has.js +1 -1
- package/core/libs/gl-matrix-2/math/vec3.js +1 -1
- package/core/promiseUtils.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/geometry/Mesh.d.ts +4 -4
- package/geometry/support/MeshMaterialMetallicRoughness.d.ts +13 -1
- package/geometry/support/MeshMaterialMetallicRoughness.js +1 -1
- package/geometry/support/aaBoundingBox.js +1 -1
- package/geometry/support/buffer/math/vec3.js +1 -1
- package/geometry/support/frustum.js +1 -1
- package/geometry/support/meshUtils/exporters/gltf/gltf.js +1 -1
- package/geometry/support/meshUtils/extent.js +1 -1
- package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
- package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
- package/geometry/support/meshUtils.d.ts +33 -5
- package/geometry/support/plane.js +1 -1
- package/kernel.js +1 -1
- package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
- package/layers/orientedImagery/transformations/utils.js +1 -1
- package/layers/raster/formats/ImageCanvasDecoder.js +1 -1
- package/layers/raster/formats/JpgPlus.js +1 -1
- package/layers/raster/formats/RasterCodec.js +1 -1
- package/layers/raster/formats/TiffDecoder.js +1 -1
- package/layers/raster/formats/Zlib.js +2 -0
- package/package.json +2 -2
- package/rest/featureService/FeatureService.d.ts +74 -1
- package/rest/featureService/FeatureService.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/ObjectSymbol3DLayer.d.ts +10 -8
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/TextRasterizer.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/richTextUtils.js +2 -0
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +9 -4
- package/views/2d/analysis/AreaMeasurement/AreaMeasurementAreaVisualization.js +1 -1
- package/views/2d/analysis/AreaMeasurement/AreaMeasurementTool.js +1 -1
- package/views/2d/analysis/DistanceMeasurement/DistanceMeasurementTool.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/definitions.js +1 -1
- package/views/2d/engine/webgl/mesh/MultiTileMeshData.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
- package/views/2d/engine/webgl/util/DimensionMatcher.js +1 -1
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
- package/views/2d/layers/features/processor/AggregateStrategy.js +2 -0
- package/views/2d/layers/features/processor/bins/BinAdapter.js +2 -0
- package/views/2d/layers/features/processor/bins/BinLevelState.js +2 -0
- package/views/2d/layers/features/processor/bins/BinState.js +2 -0
- package/views/2d/layers/features/processor/bins/createBinningStrategy.js +2 -0
- package/views/2d/layers/features/processor/clusters/ClusterAdapter.js +2 -0
- package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +2 -0
- package/views/2d/layers/features/processor/clusters/ClusterSendState.js +2 -0
- package/views/2d/layers/features/processor/clusters/createClusterStrategy.js +2 -0
- package/views/2d/layers/features/processor/createAggregateStrategy.js +2 -0
- package/views/2d/layers/features/processor/tracks/Track.js +2 -0
- package/views/2d/layers/features/processor/tracks/TrackAdapter.js +2 -0
- package/views/2d/layers/features/processor/tracks/TrackLevelState.js +2 -0
- package/views/2d/layers/features/processor/tracks/TrackSendState.js +2 -0
- package/views/2d/layers/features/processor/tracks/createTrackStrategy.js +2 -0
- package/views/2d/layers/features/schema/processor/symbols/SymbolSchema.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReaderIndirect.js +1 -1
- package/views/2d/layers/support/annodime/DimensionInfo.js +1 -1
- package/views/2d/layers/support/annodime/dimensionUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
- package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
- package/views/3d/focusAreaUtils.js +1 -1
- package/views/3d/glTF/LoaderResult.js +1 -1
- package/views/3d/glTF/internal/Resource.js +1 -1
- package/views/3d/glTF/loader.js +1 -1
- package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/graphics/wosrLoader.js +1 -1
- package/views/3d/layers/i3s/meshUtils.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +36 -25
- package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js +19 -20
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +17 -10
- package/views/3d/webgl-engine/lib/BoundingInfo.js +1 -1
- package/views/3d/webgl-engine/lib/Intersector.js +1 -1
- package/views/3d/webgl-engine/lib/NavigationDepthCache.js +1 -1
- package/views/3d/webgl-engine/lib/NavigationDepthCacheStore.js +2 -0
- package/views/3d/webgl-engine/lib/Object3D.js +1 -1
- package/views/3d/webgl-engine/lib/PolygonIntersections2D.js +1 -1
- package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
- package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
- package/views/3d/webgl-engine/lib/intersectorUtils.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonTriangleIntersections.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.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/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/AnimatedLine.glsl.js +8 -5
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineLayouts.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTextureBuffer.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
- package/views/PopupView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/interactive/snapping/RightAngleTriangleSnapper.js +1 -1
- package/views/interactive/snapping/SnappingAlgorithm.js +1 -1
- package/views/interactive/snapping/featureSources/FeatureServiceSnappingSource.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceSnappingSourceWorkerHandle.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
- package/views/selection/SelectionOperation.js +1 -1
- package/views/support/AnalysisViewManager.js +1 -1
- package/views/support/DefaultsFromMap.js +1 -1
- package/views/support/LayerViewManager.js +1 -1
- package/views/support/TextureCompressionWorker.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicTileNode.d.ts +63 -0
- package/widgets/PanoramicViewer/support/PanoramicTileNode.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicTilePyramid.d.ts +66 -0
- package/widgets/PanoramicViewer/support/PanoramicTilePyramid.js +1 -1
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/Sketch/VisibleElements.d.ts +0 -10
- package/widgets/Sketch.js +1 -1
- package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
- package/widgets/support/SelectionToolbar.js +1 -1
- package/widgets/support/Selector3D/selectorUtils.js +2 -0
- package/assets/esri/core/workers/chunks/0115681a3de6df0aebdf.js +0 -1
- package/assets/esri/core/workers/chunks/025caafc70ac26f0a4ed.js +0 -1
- package/assets/esri/core/workers/chunks/08e18fb12533fc76e49c.js +0 -1
- package/assets/esri/core/workers/chunks/0e64e20fedfe01a1985f.js +0 -1
- package/assets/esri/core/workers/chunks/0f674c625f24ac73e25a.js +0 -1
- package/assets/esri/core/workers/chunks/15351354afcbf840a23d.js +0 -29
- package/assets/esri/core/workers/chunks/176c5eaaa23a479c88e0.js +0 -1
- package/assets/esri/core/workers/chunks/1d1f5578c7d8619f7a46.js +0 -1
- package/assets/esri/core/workers/chunks/1f118d85d8271ad7690b.js +0 -1
- package/assets/esri/core/workers/chunks/2015f4def2ef201bdab8.js +0 -1
- package/assets/esri/core/workers/chunks/268637fd6c50264acfc3.js +0 -1
- package/assets/esri/core/workers/chunks/272c8ab189217240d05f.js +0 -1
- package/assets/esri/core/workers/chunks/296fa9fb80e521c30cb1.js +0 -1
- package/assets/esri/core/workers/chunks/354199a41de44902de84.js +0 -1
- package/assets/esri/core/workers/chunks/384b619854ef8a3f6e94.js +0 -1
- package/assets/esri/core/workers/chunks/3af923abeb6e65c4468f.js +0 -1
- package/assets/esri/core/workers/chunks/46d3ddf62fa7a76dd57d.js +0 -1
- package/assets/esri/core/workers/chunks/4b24f72b56edc28bb15e.js +0 -1
- package/assets/esri/core/workers/chunks/4f09f208ece2ec1db727.js +0 -1
- package/assets/esri/core/workers/chunks/57374213084bef59b776.js +0 -1
- package/assets/esri/core/workers/chunks/5f9c4dad6952c4c58ebf.js +0 -1
- package/assets/esri/core/workers/chunks/706230b70a36d2e038f7.js +0 -1
- package/assets/esri/core/workers/chunks/7cc729b57a6a52c8ac68.js +0 -1
- package/assets/esri/core/workers/chunks/8026cc0065f6520c4161.js +0 -1
- package/assets/esri/core/workers/chunks/804ab5f614efa12a131b.js +0 -1
- package/assets/esri/core/workers/chunks/81d55594cee124040565.js +0 -1
- package/assets/esri/core/workers/chunks/8d21f3d6edbcd7b335d0.js +0 -1
- package/assets/esri/core/workers/chunks/8d90bef1091204fba0f1.js +0 -1
- package/assets/esri/core/workers/chunks/8ec5e470583b75fceae1.js +0 -1
- package/assets/esri/core/workers/chunks/9114a575b78a7ea18d0f.js +0 -1
- package/assets/esri/core/workers/chunks/93e705c1147cc8ceca02.js +0 -1
- package/assets/esri/core/workers/chunks/9a97f6cda2f36941efae.js +0 -1
- package/assets/esri/core/workers/chunks/9ceeae787dc7c194d60e.js +0 -1
- package/assets/esri/core/workers/chunks/a8033e606b2db1ee332d.js +0 -1
- package/assets/esri/core/workers/chunks/a90f7b1c6c69b6033b4c.js +0 -1
- package/assets/esri/core/workers/chunks/a9c641bcdef161c754bf.js +0 -1
- package/assets/esri/core/workers/chunks/ad5c2b0de6713d0a93a4.js +0 -680
- package/assets/esri/core/workers/chunks/ae50b2d5e63f62c088d2.js +0 -1
- package/assets/esri/core/workers/chunks/aea247138617e12b699b.js +0 -1
- package/assets/esri/core/workers/chunks/b03dcf3d55266745f3d1.js +0 -1
- package/assets/esri/core/workers/chunks/b32bdf5730953c2fb16b.js +0 -1
- package/assets/esri/core/workers/chunks/bf287f0e2ecb4532dc00.js +0 -1
- package/assets/esri/core/workers/chunks/c01a121ebe571a848452.js +0 -1
- package/assets/esri/core/workers/chunks/c3cd38ca8690286d40d7.js +0 -1
- package/assets/esri/core/workers/chunks/c4b13124a9cfc78c42a6.js +0 -261
- package/assets/esri/core/workers/chunks/c5e36544b2d1792e4c5f.js +0 -1
- package/assets/esri/core/workers/chunks/c6042825f61cd70d54d8.js +0 -1
- package/assets/esri/core/workers/chunks/cba3316910ff088f4d77.js +0 -1
- package/assets/esri/core/workers/chunks/d8b67ca02cdc1e8191e3.js +0 -1
- package/assets/esri/core/workers/chunks/dadefe369f49e89a2610.js +0 -1
- package/assets/esri/core/workers/chunks/db416ba3132034e20642.js +0 -1
- package/assets/esri/core/workers/chunks/de9573871f64c01e9f01.js +0 -1
- package/assets/esri/core/workers/chunks/dfbdc72c7ea137e3841d.js +0 -1
- package/assets/esri/core/workers/chunks/e3e966777f18164afcd8.js +0 -1
- package/assets/esri/core/workers/chunks/e9c48630757bea465b7e.js +0 -1
- package/assets/esri/core/workers/chunks/f2c8122d31aedc2604ee.js +0 -1
- package/assets/esri/core/workers/chunks/f8f0de841be17cd05c8f.js +0 -1
- package/assets/esri/core/workers/chunks/ff089723a27859fe18d1.js +0 -1
- package/chunks/Zlib.js +0 -2
- package/views/2d/layers/features/processor/AAggregateStrategy.js +0 -2
- package/views/2d/layers/features/processor/BinningStrategy.js +0 -2
- package/views/2d/layers/features/processor/ClusterStrategy.js +0 -2
- package/views/2d/layers/features/processor/TrackStrategy.js +0 -2
- package/views/3d/analysis/Viewshed/ViewshedTool2.js +0 -2
- /package/assets/esri/core/workers/chunks/{744f34e379484e63277c.js.LICENSE.txt → cdb331b58e22f8c1c988.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3586],{73354(t,e,n){n.d(e,{a:()=>s,b:()=>i,c:()=>o,d:()=>a,e:()=>f,f:()=>c,l:()=>u,n:()=>d,t:()=>h}),n(44208);var r=n(72727);function o(t,e,n){s(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function s(t,e,n,o=3,s=o){const a=(0,r.k)(t.length,o,3),i=(0,r.k)(e.length,s,3),l=Math.min(a,i),u=n[0],c=n[1],h=n[2],f=n[4],d=n[5],p=n[6],m=n[8],y=n[9],g=n[10],M=n[12],b=n[13],R=n[14];let _=0,w=0;for(let n=0;n<l;n++){const n=e[_],r=e[_+1],a=e[_+2];t[w]=u*n+f*r+m*a+M,t[w+1]=c*n+d*r+y*a+b,t[w+2]=h*n+p*r+g*a+R,_+=s,w+=o}return t}function a(t,e,n){i(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function i(t,e,n,o=3,s=o){const a=(0,r.k)(t.length,o,3),i=(0,r.k)(e.length,s,3),l=Math.min(a,i),u=n[0],c=n[1],h=n[2],f=n[3],d=n[4],p=n[5],m=n[6],y=n[7],g=n[8];let M=0,b=0;for(let n=0;n<l;n++){const n=e[M],r=e[M+1],a=e[M+2];t[b]=u*n+f*r+m*a,t[b+1]=c*n+d*r+y*a,t[b+2]=h*n+p*r+g*a,M+=s,b+=o}}function l(t,e,n,r=3,o=r){const s=Math.min(t.length/r,e.length/o);let a=0,i=0;for(let l=0;l<s;l++)t[i]=n*e[a],t[i+1]=n*e[a+1],t[i+2]=n*e[a+2],a+=o,i+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,r,o=3,s=o){const a=Math.min(t.length/o,e.length/s);let i=0,l=0;const u=1/2.2;for(let c=0;c<a;c++)t[l]=r*(n*e[i])**u,t[l+1]=r*(n*e[i+1])**u,t[l+2]=r*(n*e[i+2])**u,i+=s,l+=o}function h(t,e,n,o=3,s=o){const a=(0,r.k)(t.length,o,3),i=(0,r.k)(e.length,s,3),l=Math.min(a,i);let u=0,c=0;for(let r=0;r<l;r++)t[c]=e[u]+n[0],t[c+1]=e[u+1]+n[1],t[c+2]=e[u+2]+n[2],u+=s,c+=o;return t}function f(t,e){d(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function d(t,e,n=3,r=n){const o=Math.min(t.length/n,e.length/r);let s=0,a=0;for(let i=0;i<o;i++){const o=e[s],i=e[s+1],l=e[s+2],u=o*o+i*i+l*l;if(u>0){const e=1/Math.sqrt(u);t[a]=e*o,t[a+1]=e*i,t[a+2]=e*l}s+=r,a+=n}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:d,normalizeView:f,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),o=t.typedBuffer,s=t.typedBufferStride,a=e.typedBuffer,i=e.typedBufferStride;let l=0,u=0;for(let t=0;t<r;t++)o[u]=a[l]>>n,o[u+1]=a[l+1]>>n,o[u+2]=a[l+2]>>n,l+=i,u+=s},transformMat3:i,transformMat3View:a,transformMat4:s,transformMat4View:o,translate:h},Symbol.toStringTag,{value:"Module"}))},69540(t,e,n){var r=n(5482),o=n(69622),s=(n(44208),n(4718)),a=(n(53966),n(97768)),i=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let o=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,i.oY)(this);(0,a.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,o={},l=new Map;for(const e in n){const a=n[e],i=r?.originOf(e),u=a.clonable;if(a.readOnly||!1===u||7!==i&&0!==i&&5!==i&&4!==i)continue;const c=this[e];let h=null;if("function"==typeof u)h=u(c,t);else if("reference"===u)h=c;else if(h=(0,s.TU)(c,t),null!=c&&null==h)continue;0===i?l.set(e,h):o[e]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(o);if(l.size){const t=(0,i.oY)(u)?.store;if(t)for(const[e,n]of l)t.set(e,n,0)}return u}};return o=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],o),o},h=c(o.A);n.d(e,["OU",0,c,"Pw",0,h])},95488(t,e,n){n.d(e,{I:()=>o});var r=n(11406);class o extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function 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]]}n.d(e,{o8:()=>o,vt:()=>r});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:r,fromValues:function(t,e,n,r,o,s,a,i,l,u,c,h,f,d,p,m){return[t,e,n,r,o,s,a,i,l,u,c,h,f,d,p,m]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["zK",0,s])},51850(t,e,n){function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function s(t,e,n){return[t,e,n]}function a(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 l(){return[0,0,0]}function u(){return s(1,1,1)}function c(){return s(1,0,0)}function h(){return s(0,1,0)}function f(){return s(0,0,1)}n.d(e,{CN:()=>a,S:()=>u,Ul:()=>l,ci:()=>i,fA:()=>s,o8:()=>o,vt:()=>r});const d=[0,0,0],p=u(),m=c(),y=h(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:m,UNIT_Y:y,UNIT_Z:g,ZEROS:d,clone:o,create:r,freeze:a,fromArray:i,fromValues:s,ones:u,unitX:c,unitY:h,unitZ:f,zeros:l},Symbol.toStringTag,{value:"Module"})),n.d(e,["Cb",0,g,"Cw",0,m,"JP",0,y,"Un",0,p,"uY",0,d])},58083(t,e,n){n.d(e,{$0:()=>g,$h:()=>I,B8:()=>c,C:()=>s,D_:()=>i,N9:()=>b,O7:()=>T,Qw:()=>u,Tl:()=>f,X_:()=>A,e$:()=>p,eL:()=>m,hM:()=>M,hZ:()=>a,hs:()=>d,kN:()=>y,l:()=>v,lw:()=>h,mg:()=>l,o1:()=>S,sC:()=>w,t2:()=>P,t5:()=>O,tZ:()=>x,ut:()=>N,v3:()=>E});var r=n(51850),o=n(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function a(t,e,n,r,o,s,a,i,l,u,c,h,f,d,p,m,y){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=a,t[6]=i,t[7]=l,t[8]=u,t[9]=c,t[10]=h,t[11]=f,t[12]=d,t[13]=p,t[14]=m,t[15]=y,t}function i(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 l(t,e){if(t===e){const n=e[1],r=e[2],o=e[3],s=e[6],a=e[7],i=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=r,t[9]=s,t[11]=e[14],t[12]=o,t[13]=a,t[14]=i}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function u(t,e){return c(t,e)||i(t),t}function c(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],a=e[4],i=e[5],l=e[6],u=e[7],c=e[8],h=e[9],f=e[10],d=e[11],p=e[12],m=e[13],y=e[14],g=e[15],M=n*i-r*a,b=n*l-o*a,R=n*u-s*a,_=r*l-o*i,w=r*u-s*i,A=o*u-s*l,v=c*m-h*p,S=c*y-f*p,T=c*g-d*p,I=h*y-f*m,E=h*g-d*m,O=f*g-d*y;let C=M*O-b*E+R*I+_*T-w*S+A*v;return C?(C=1/C,t[0]=(i*O-l*E+u*I)*C,t[1]=(o*E-r*O-s*I)*C,t[2]=(m*A-y*w+g*_)*C,t[3]=(f*w-h*A-d*_)*C,t[4]=(l*T-a*O-u*S)*C,t[5]=(n*O-o*T+s*S)*C,t[6]=(y*R-p*A-g*b)*C,t[7]=(c*A-f*R+d*b)*C,t[8]=(a*E-i*T+u*v)*C,t[9]=(r*T-n*E-s*v)*C,t[10]=(p*w-m*R+g*M)*C,t[11]=(h*R-c*w-d*M)*C,t[12]=(i*S-a*I-l*v)*C,t[13]=(n*I-r*S+o*v)*C,t[14]=(m*b-p*_-y*M)*C,t[15]=(c*_-h*b+f*M)*C,t):null}function h(t,e,n){const r=e[0],o=e[1],s=e[2],a=e[3],i=e[4],l=e[5],u=e[6],c=e[7],h=e[8],f=e[9],d=e[10],p=e[11],m=e[12],y=e[13],g=e[14],M=e[15];let b=n[0],R=n[1],_=n[2],w=n[3];return t[0]=b*r+R*i+_*h+w*m,t[1]=b*o+R*l+_*f+w*y,t[2]=b*s+R*u+_*d+w*g,t[3]=b*a+R*c+_*p+w*M,b=n[4],R=n[5],_=n[6],w=n[7],t[4]=b*r+R*i+_*h+w*m,t[5]=b*o+R*l+_*f+w*y,t[6]=b*s+R*u+_*d+w*g,t[7]=b*a+R*c+_*p+w*M,b=n[8],R=n[9],_=n[10],w=n[11],t[8]=b*r+R*i+_*h+w*m,t[9]=b*o+R*l+_*f+w*y,t[10]=b*s+R*u+_*d+w*g,t[11]=b*a+R*c+_*p+w*M,b=n[12],R=n[13],_=n[14],w=n[15],t[12]=b*r+R*i+_*h+w*m,t[13]=b*o+R*l+_*f+w*y,t[14]=b*s+R*u+_*d+w*g,t[15]=b*a+R*c+_*p+w*M,t}function f(t,e,n){const r=n[0],o=n[1],s=n[2];if(e===t)t[12]=e[0]*r+e[4]*o+e[8]*s+e[12],t[13]=e[1]*r+e[5]*o+e[9]*s+e[13],t[14]=e[2]*r+e[6]*o+e[10]*s+e[14],t[15]=e[3]*r+e[7]*o+e[11]*s+e[15];else{const n=e[0],a=e[1],i=e[2],l=e[3],u=e[4],c=e[5],h=e[6],f=e[7],d=e[8],p=e[9],m=e[10],y=e[11];t[0]=n,t[1]=a,t[2]=i,t[3]=l,t[4]=u,t[5]=c,t[6]=h,t[7]=f,t[8]=d,t[9]=p,t[10]=m,t[11]=y,t[12]=n*r+u*o+d*s+e[12],t[13]=a*r+c*o+p*s+e[13],t[14]=i*r+h*o+m*s+e[14],t[15]=l*r+f*o+y*s+e[15]}return t}function d(t,e,n){const r=n[0],o=n[1],s=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*o,t[5]=e[5]*o,t[6]=e[6]*o,t[7]=e[7]*o,t[8]=e[8]*s,t[9]=e[9]*s,t[10]=e[10]*s,t[11]=e[11]*s,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function p(t,e,n,r){let a=r[0],i=r[1],l=r[2],u=Math.sqrt(a*a+i*i+l*l);if(u<=(0,o.FD)())return void s(t,e);u=1/u,a*=u,i*=u,l*=u;const c=Math.sin(n),h=Math.cos(n),f=1-h,d=e[0],p=e[1],m=e[2],y=e[3],g=e[4],M=e[5],b=e[6],R=e[7],_=e[8],w=e[9],A=e[10],v=e[11],S=a*a*f+h,T=i*a*f+l*c,I=l*a*f-i*c,E=a*i*f-l*c,O=i*i*f+h,C=l*i*f+a*c,P=a*l*f+i*c,N=i*l*f-a*c,x=l*l*f+h;t[0]=d*S+g*T+_*I,t[1]=p*S+M*T+w*I,t[2]=m*S+b*T+A*I,t[3]=y*S+R*T+v*I,t[4]=d*E+g*O+_*C,t[5]=p*E+M*O+w*C,t[6]=m*E+b*O+A*C,t[7]=y*E+R*O+v*C,t[8]=d*P+g*N+_*x,t[9]=p*P+M*N+w*x,t[10]=m*P+b*N+A*x,t[11]=y*P+R*N+v*x,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function m(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[4],a=e[5],i=e[6],l=e[7],u=e[8],c=e[9],h=e[10],f=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=s*o+u*r,t[5]=a*o+c*r,t[6]=i*o+h*r,t[7]=l*o+f*r,t[8]=u*o-s*r,t[9]=c*o-a*r,t[10]=h*o-i*r,t[11]=f*o-l*r,t}function y(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function g(t,e,n){if(0===e)return i(t);let r=n[0],s=n[1],a=n[2],l=Math.sqrt(r*r+s*s+a*a);if(l<=(0,o.FD)())return null;l=1/l,r*=l,s*=l,a*=l;const u=Math.sin(e),c=Math.cos(e),h=1-c;return t[0]=r*r*h+c,t[1]=s*r*h+a*u,t[2]=a*r*h-s*u,t[3]=0,t[4]=r*s*h-a*u,t[5]=s*s*h+c,t[6]=a*s*h+r*u,t[7]=0,t[8]=r*a*h+s*u,t[9]=s*a*h-r*u,t[10]=a*a*h+c,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function b(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function R(t,e,n){const r=e[0],o=e[1],s=e[2],a=e[3],i=r+r,l=o+o,u=s+s,c=r*i,h=r*l,f=r*u,d=o*l,p=o*u,m=s*u,y=a*i,g=a*l,M=a*u;return t[0]=1-(d+m),t[1]=h+M,t[2]=f-g,t[3]=0,t[4]=h-M,t[5]=1-(c+m),t[6]=p+y,t[7]=0,t[8]=f+g,t[9]=p-y,t[10]=1-(c+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}const _=(0,r.vt)();function w(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function A(t,e){const n=e[0],r=e[1],o=e[2],s=e[4],a=e[5],i=e[6],l=e[8],u=e[9],c=e[10];return t[0]=Math.sqrt(n*n+r*r+o*o),t[1]=Math.sqrt(s*s+a*a+i*i),t[2]=Math.sqrt(l*l+u*u+c*c),t}function v(t,e){const n=e[0]+e[5]+e[10];let r=0;return n>0?(r=2*Math.sqrt(n+1),t[3]=.25*r,t[0]=(e[6]-e[9])/r,t[1]=(e[8]-e[2])/r,t[2]=(e[1]-e[4])/r):e[0]>e[5]&&e[0]>e[10]?(r=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/r,t[0]=.25*r,t[1]=(e[1]+e[4])/r,t[2]=(e[8]+e[2])/r):e[5]>e[10]?(r=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/r,t[0]=(e[1]+e[4])/r,t[1]=.25*r,t[2]=(e[6]+e[9])/r):(r=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/r,t[0]=(e[8]+e[2])/r,t[1]=(e[6]+e[9])/r,t[2]=.25*r),t}function S(t,e,n,r){const o=e[0],s=e[1],a=e[2],i=e[3],l=o+o,u=s+s,c=a+a,h=o*l,f=o*u,d=o*c,p=s*u,m=s*c,y=a*c,g=i*l,M=i*u,b=i*c,R=r[0],_=r[1],w=r[2];return t[0]=(1-(p+y))*R,t[1]=(f+b)*R,t[2]=(d-M)*R,t[3]=0,t[4]=(f-b)*_,t[5]=(1-(h+y))*_,t[6]=(m+g)*_,t[7]=0,t[8]=(d+M)*w,t[9]=(m-g)*w,t[10]=(1-(h+p))*w,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function T(t,e,n,r,o){const s=e[0],a=e[1],i=e[2],l=e[3],u=s+s,c=a+a,h=i+i,f=s*u,d=s*c,p=s*h,m=a*c,y=a*h,g=i*h,M=l*u,b=l*c,R=l*h,_=r[0],w=r[1],A=r[2],v=o[0],S=o[1],T=o[2],I=(1-(m+g))*_,E=(d+R)*_,O=(p-b)*_,C=(d-R)*w,P=(1-(f+g))*w,N=(y+M)*w,x=(p+b)*A,D=(y-M)*A,G=(1-(f+m))*A;return t[0]=I,t[1]=E,t[2]=O,t[3]=0,t[4]=C,t[5]=P,t[6]=N,t[7]=0,t[8]=x,t[9]=D,t[10]=G,t[11]=0,t[12]=n[0]+v-(I*v+C*S+x*T),t[13]=n[1]+S-(E*v+P*S+D*T),t[14]=n[2]+T-(O*v+N*S+G*T),t[15]=1,t}function I(t,e,n,r,o,s,a){const i=1/(n-e),l=1/(o-r),u=1/(s-a);return t[0]=2*s*i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*s*l,t[6]=0,t[7]=0,t[8]=(n+e)*i,t[9]=(o+r)*l,t[10]=(a+s)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*s*2*u,t[15]=0,t}function E(t,e,n,r,o,s,a){const i=1/(e-n),l=1/(r-o),u=1/(s-a);return t[0]=-2*i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*i,t[13]=(o+r)*l,t[14]=(a+s)*u,t[15]=1,t}function O(t,e,n,r){const s=e[0],a=e[1],l=e[2];let u=s-n[0],c=a-n[1],h=l-n[2];const f=(0,o.FD)();if(Math.abs(u)<f&&Math.abs(c)<f&&Math.abs(h)<f)return void i(t);let d=1/Math.sqrt(u*u+c*c+h*h);u*=d,c*=d,h*=d;const p=r[0],m=r[1],y=r[2];let g=m*h-y*c,M=y*u-p*h,b=p*c-m*u;d=Math.sqrt(g*g+M*M+b*b),d?(d=1/d,g*=d,M*=d,b*=d):(g=0,M=0,b=0);let R=c*b-h*M,_=h*g-u*b,w=u*M-c*g;d=Math.sqrt(R*R+_*_+w*w),d?(d=1/d,R*=d,_*=d,w*=d):(R=0,_=0,w=0),t[0]=g,t[1]=R,t[2]=u,t[3]=0,t[4]=M,t[5]=_,t[6]=c,t[7]=0,t[8]=b,t[9]=w,t[10]=h,t[11]=0,t[12]=-(g*s+M*a+b*l),t[13]=-(R*s+_*a+w*l),t[14]=-(u*s+c*a+h*l),t[15]=1}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[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function P(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function N(t){const e=(0,o.FD)(),n=t[0],r=t[1],s=t[2],a=t[4],i=t[5],l=t[6],u=t[8],c=t[9],h=t[10];return Math.abs(1-(n*n+a*a+u*u))<=e&&Math.abs(1-(r*r+i*i+c*c))<=e&&Math.abs(1-(s*s+l*l+h*h))<=e}function x(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 D=h,G=C;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t},adjoint:function(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],a=e[4],i=e[5],l=e[6],u=e[7],c=e[8],h=e[9],f=e[10],d=e[11],p=e[12],m=e[13],y=e[14],g=e[15];return t[0]=i*(f*g-d*y)-h*(l*g-u*y)+m*(l*d-u*f),t[1]=-(r*(f*g-d*y)-h*(o*g-s*y)+m*(o*d-s*f)),t[2]=r*(l*g-u*y)-i*(o*g-s*y)+m*(o*u-s*l),t[3]=-(r*(l*d-u*f)-i*(o*d-s*f)+h*(o*u-s*l)),t[4]=-(a*(f*g-d*y)-c*(l*g-u*y)+p*(l*d-u*f)),t[5]=n*(f*g-d*y)-c*(o*g-s*y)+p*(o*d-s*f),t[6]=-(n*(l*g-u*y)-a*(o*g-s*y)+p*(o*u-s*l)),t[7]=n*(l*d-u*f)-a*(o*d-s*f)+c*(o*u-s*l),t[8]=a*(h*g-d*m)-c*(i*g-u*m)+p*(i*d-u*h),t[9]=-(n*(h*g-d*m)-c*(r*g-s*m)+p*(r*d-s*h)),t[10]=n*(i*g-u*m)-a*(r*g-s*m)+p*(r*u-s*i),t[11]=-(n*(i*d-u*h)-a*(r*d-s*h)+c*(r*u-s*i)),t[12]=-(a*(h*y-f*m)-c*(i*y-l*m)+p*(i*f-l*h)),t[13]=n*(h*y-f*m)-c*(r*y-o*m)+p*(r*f-o*h),t[14]=-(n*(i*y-l*m)-a*(r*y-o*m)+p*(r*l-o*i)),t[15]=n*(i*f-l*h)-a*(r*f-o*h)+c*(r*l-o*i),t},copy:s,determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],s=t[4],a=t[5],i=t[6],l=t[7],u=t[8],c=t[9],h=t[10],f=t[11],d=t[12],p=t[13],m=t[14],y=t[15];return(e*a-n*s)*(h*y-f*m)-(e*i-r*s)*(c*y-f*p)+(e*l-o*s)*(c*m-h*p)+(n*i-r*a)*(u*y-f*d)-(n*l-o*a)*(u*m-h*d)+(r*l-o*i)*(u*p-c*d)},equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],s=t[2],a=t[3],i=t[4],l=t[5],u=t[6],c=t[7],h=t[8],f=t[9],d=t[10],p=t[11],m=t[12],y=t[13],g=t[14],M=t[15],b=e[0],R=e[1],_=e[2],w=e[3],A=e[4],v=e[5],S=e[6],T=e[7],I=e[8],E=e[9],O=e[10],C=e[11],P=e[12],N=e[13],x=e[14],D=e[15],G=(0,o.FD)();return Math.abs(n-b)<=G*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(r-R)<=G*Math.max(1,Math.abs(r),Math.abs(R))&&Math.abs(s-_)<=G*Math.max(1,Math.abs(s),Math.abs(_))&&Math.abs(a-w)<=G*Math.max(1,Math.abs(a),Math.abs(w))&&Math.abs(i-A)<=G*Math.max(1,Math.abs(i),Math.abs(A))&&Math.abs(l-v)<=G*Math.max(1,Math.abs(l),Math.abs(v))&&Math.abs(u-S)<=G*Math.max(1,Math.abs(u),Math.abs(S))&&Math.abs(c-T)<=G*Math.max(1,Math.abs(c),Math.abs(T))&&Math.abs(h-I)<=G*Math.max(1,Math.abs(h),Math.abs(I))&&Math.abs(f-E)<=G*Math.max(1,Math.abs(f),Math.abs(E))&&Math.abs(d-O)<=G*Math.max(1,Math.abs(d),Math.abs(O))&&Math.abs(p-C)<=G*Math.max(1,Math.abs(p),Math.abs(C))&&Math.abs(m-P)<=G*Math.max(1,Math.abs(m),Math.abs(P))&&Math.abs(y-N)<=G*Math.max(1,Math.abs(y),Math.abs(N))&&Math.abs(g-x)<=G*Math.max(1,Math.abs(g),Math.abs(x))&&Math.abs(M-D)<=G*Math.max(1,Math.abs(M),Math.abs(D))},exactEquals:P,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],a=n+n,i=r+r,l=o+o,u=n*a,c=r*a,h=r*i,f=o*a,d=o*i,p=o*l,m=s*a,y=s*i,g=s*l;return t[0]=1-h-p,t[1]=c+g,t[2]=f-y,t[3]=0,t[4]=c-g,t[5]=1-u-p,t[6]=d+m,t[7]=0,t[8]=f+y,t[9]=d-m,t[10]=1-u-h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const n=_,r=-e[0],o=-e[1],s=-e[2],a=e[3],i=e[4],l=e[5],u=e[6],c=e[7],h=r*r+o*o+s*s+a*a;return h>0?(n[0]=2*(i*a+c*r+l*s-u*o)/h,n[1]=2*(l*a+c*o+u*r-i*s)/h,n[2]=2*(u*a+c*s+i*o-l*r)/h):(n[0]=2*(i*a+c*r+l*s-u*o),n[1]=2*(l*a+c*o+u*r-i*s),n[2]=2*(u*a+c*s+i*o-l*r)),R(t,e,n),t},fromRotation:g,fromRotationTranslation:R,fromRotationTranslationScale:S,fromRotationTranslationScaleOrigin:T,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:y,fromXRotation:M,fromYRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:b,frustum:I,getRotation:v,getScale:A,getTranslation:w,hasIdentityRotation:x,identity:i,invert:c,invertOrIdentity:u,isOrthoNormal:N,lookAt:O,mul:D,multiply:h,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t},ortho:E,perspective:function(t,e,n,r,o){const s=1/Math.tan(e/2);let a;return t[0]=s/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=s,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?(a=1/(r-o),t[10]=(o+r)*a,t[14]=2*o*r*a):(t[10]=-1,t[14]=-2*r),t},perspectiveFromFieldOfView:function(t,e,n,r){const o=Math.tan(e.upDegrees*Math.PI/180),s=Math.tan(e.downDegrees*Math.PI/180),a=Math.tan(e.leftDegrees*Math.PI/180),i=Math.tan(e.rightDegrees*Math.PI/180),l=2/(a+i),u=2/(o+s);return t[0]=l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=u,t[6]=0,t[7]=0,t[8]=-(a-i)*l*.5,t[9]=(o-s)*u*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t},rotate:p,rotateX:m,rotateY:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[0],a=e[1],i=e[2],l=e[3],u=e[8],c=e[9],h=e[10],f=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*o-u*r,t[1]=a*o-c*r,t[2]=i*o-h*r,t[3]=l*o-f*r,t[8]=s*r+u*o,t[9]=a*r+c*o,t[10]=i*r+h*o,t[11]=l*r+f*o,t},rotateZ:function(t,e,n){const r=Math.sin(n),o=Math.cos(n),s=e[0],a=e[1],i=e[2],l=e[3],u=e[4],c=e[5],h=e[6],f=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=s*o+u*r,t[1]=a*o+c*r,t[2]=i*o+h*r,t[3]=l*o+f*r,t[4]=u*o-s*r,t[5]=c*o-a*r,t[6]=h*o-i*r,t[7]=f*o-l*r,t},scale:d,set:a,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:G,subtract:C,targetTo:function(t,e,n,r){const o=e[0],s=e[1],a=e[2],i=r[0],l=r[1],u=r[2];let c=o-n[0],h=s-n[1],f=a-n[2],d=c*c+h*h+f*f;d>0&&(d=1/Math.sqrt(d),c*=d,h*=d,f*=d);let p=l*f-u*h,m=u*c-i*f,y=i*h-l*c;return d=p*p+m*m+y*y,d>0&&(d=1/Math.sqrt(d),p*=d,m*=d,y*=d),t[0]=p,t[1]=m,t[2]=y,t[3]=0,t[4]=h*y-f*m,t[5]=f*p-c*y,t[6]=c*m-h*p,t[7]=0,t[8]=c,t[9]=h,t[10]=f,t[11]=0,t[12]=o,t[13]=s,t[14]=a,t[15]=1,t},translate:f,transpose:l},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>S,Bw:()=>s,C:()=>a,Cc:()=>T,DI:()=>w,Io:()=>M,Ln:()=>g,Om:()=>v,Qr:()=>h,Re:()=>u,S8:()=>A,T9:()=>m,WQ:()=>l,Z0:()=>I,_S:()=>d,aI:()=>G,ei:()=>E,fw:()=>C,g7:()=>P,gL:()=>O,hG:()=>b,hZ:()=>i,hs:()=>y,jk:()=>p,lw:()=>c,m3:()=>R,oW:()=>L,t2:()=>D,tn:()=>f,ze:()=>_});var r=n(51850),o=n(34304);function s(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function a(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 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 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 f(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function d(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(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 m(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 y(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function g(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function b(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function R(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function _(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function w(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],o=e[2];let s=n*n+r*r+o*o;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s,t[2]=e[2]*s),t}function v(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function S(t,e,n){const r=e[0],o=e[1],s=e[2],a=n[0],i=n[1],l=n[2];return t[0]=o*l-s*i,t[1]=s*a-r*l,t[2]=r*i-o*a,t}function T(t,e,n,r){const o=e[0],s=e[1],a=e[2];return t[0]=o+r*(n[0]-o),t[1]=s+r*(n[1]-s),t[2]=a+r*(n[2]-a),t}function I(t,e,n){const r=e[0],o=e[1],s=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*s+n[12],t[1]=n[1]*r+n[5]*o+n[9]*s+n[13],t[2]=n[2]*r+n[6]*o+n[10]*s+n[14],t}function E(t,e,n){const r=e[0],o=e[1],s=e[2];return t[0]=r*n[0]+o*n[3]+s*n[6],t[1]=r*n[1]+o*n[4]+s*n[7],t[2]=r*n[2]+o*n[5]+s*n[8],t}function O(t,e,n){return C(t,e,n[0],n[1],n[2],n[3])}function C(t,e,n,r,o,s){const a=e[0],i=e[1],l=e[2],u=r*l-o*i,c=o*a-n*l,h=n*i-r*a,f=r*h-o*c,d=o*u-n*h,p=n*c-r*u,m=2*s;return t[0]=a+u*m+2*f,t[1]=i+c*m+2*d,t[2]=l+h*m+2*p,t}function P(t,e){A(N,t),A(x,e);const n=v(N,x);return n>1?0:n<-1?Math.PI:Math.acos(n)}const N=(0,r.vt)(),x=(0,r.vt)();function D(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function G(t,e){if(t===e)return!0;const n=t[0],r=t[1],s=t[2],a=e[0],i=e[1],l=e[2],u=(0,o.FD)();return Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-i)<=u*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function L(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],s=n[2]-e[2];let a=r*r+o*o+s*s;return a>0?(a=1/Math.sqrt(a),t[0]=r*a,t[1]=o*a,t[2]=s*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const B=u,U=c,j=h,F=M,k=b,Z=s,q=R;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:l,angle:P,bezier:function(t,e,n,r,o,s){const a=1-s,i=a*a,l=s*s,u=i*a,c=3*s*i,h=3*l*a,f=l*s;return t[0]=e[0]*u+n[0]*c+r[0]*h+o[0]*f,t[1]=e[1]*u+n[1]*c+r[1]*h+o[1]*f,t[2]=e[2]*u+n[2]*c+r[2]*h+o[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:a,cross:S,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],s=e[2],a=n[0],i=n[1],l=n[2],u=o*l-s*i,c=s*a-r*l,h=r*i-o*a,f=Math.sqrt(u*u+c*c+h*h);return t[0]=u/f,t[1]=c/f,t[2]=h/f,t},direction:L,dist:F,distance:M,div:j,divide:h,dot:v,equals:G,exactEquals:D,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,o,s){const a=s*s,i=a*(2*s-3)+1,l=a*(s-2)+s,u=a*(s-1),c=a*(3-2*s);return t[0]=e[0]*i+n[0]*l+r[0]*u+o[0]*c,t[1]=e[1]*i+n[1]*l+r[1]*u+o[1]*c,t[2]=e[2]*i+n[2]*l+r[2]*u+o[2]*c,t},inverse:w,len:Z,length:s,lerp:T,max:m,min:p,mul:U,multiply:c,negate:_,normalize:A,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,s=2*n()-1,a=Math.sqrt(1-s*s)*e;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=s*e,t},rotateX:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[0],s[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),s[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),s[1]=o[1],s[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],s=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],s[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),s[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),s[2]=o[2],t[0]=s[0]+n[0],t[1]=s[1]+n[1],t[2]=s[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:y,scaleAndAdd:g,set:i,sign:d,sqrDist:k,sqrLen:q,squaredDistance:b,squaredLength:R,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:B,subtract:u,transformMat3:E,transformMat4:I,transformQuat:O,transformQuatValues:C},Symbol.toStringTag,{value:"Module"})),n.d(e,["Il",0,Z,"jb",0,B,"lo",0,k,"uE",0,q,"xg",0,F])},83027(t,e,n){const r=n(29953).ho;n.d(e,["h",0,r])},35982(t,e,n){n.d(e,{B:()=>c});var r=n(4576),o=n(71511),s=n(36563),a=n(53966),i=n(97768),l=n(17676),u=n(83027);class c{constructor(t,e,n,r,o={}){this._mainMethod=e,this._transferLists=n,this._listeners=[],this._onClientConnectedHandle=null,this._destroyed=!1,this._promise=(0,u.h)(t,{...o,schedule:r}).then(t=>{null!=this._thread||this._destroyed?t.close():(this._thread=t,this._promise=null,this._onClientConnectedHandle=this._thread.onClientConnected(t=>{o.hasInitialize&&t.invoke("initialize",{}).catch(()=>{});for(const e of this._listeners)this._connectListenerToClient(e,t);this._onClientConnected(t)}))}),this._promise.catch(e=>a.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${t} worker: ${e}`))}on(t,e){const n=new h(t,e);return this._listeners.push(n),this._connectListener(n),(0,s.hA)(()=>{(0,r.TF)(this._listeners,n),n.destroy()})}[Symbol.dispose](){this.destroy()}destroy(){this._onClientConnectedHandle=(0,i.xt)(this._onClientConnectedHandle),this._thread&&(this._thread.close(),this._thread=null),this._promise=null;for(const t of this._listeners)t.destroy();this._listeners.length=0,this._transferLists={},this._destroyed=!0}invoke(t,e,n){return this.invokeMethod(this._mainMethod,t,e,n)}invokeMethod(t,e,n,r){if(this._thread){const o=this._transferLists[t],s=o?o(e):[];return this._thread.invoke(t,e,{transferList:s,signal:n,jobPriority:r})}return this._promise?this._promise.then(()=>((0,l.Te)(n),this.invokeMethod(t,e,n))):Promise.reject((0,l.NK)())}broadcast(t,e){return this._thread?Promise.all(this._thread.broadcast(e,t)).then(f):this._promise?this._promise.then(()=>this.broadcast(t,e)):Promise.reject((0,l.NK)())}get promise(){return this._promise}_onClientConnected(t){}_connectListener(t){this._thread&&t.add(this._thread.on(t.eventName,t.callback))}_connectListenerToClient(t,e){t.add(e.on(t.eventName,t.callback))}}class h{constructor(t,e){this.eventName=t,this.callback=e,this._handles=new o.A}add(t){this._handles.add(t)}destroy(){this._handles.destroy()}}function f(){}},48526(t,e,n){n.d(e,{A:()=>y});var r,o=n(5482),s=n(4576),a=n(4718),i=n(91429),l=n(5443),u=n(91075),c=n(86738),h=n(16930),f=n(90634),d=n(47610),p=n(56993),m=n(43937);let y=r=class extends u.A{constructor(t){super(function(t){if(!t)return;let{points:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],e?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=h.A.WGS84,{...t,hasM:n,hasZ:r,points:e,spatialReference:o}}(t)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const t=(0,f.ge)(this);return t?new l.A({...t,spatialReference:this.spatialReference}):null}writePoints(t,e){e.points=(0,a.o8)(this.points)}clone(){const{points:t,spatialReference:e,hasM:n,hasZ:o}=this;return new r({points:(0,a.o8)(t),spatialReference:e.clone(),hasM:n,hasZ:o})}equals(t){if(this===t)return!0;if(null==t)return!1;const e=this.spatialReference,n=t.spatialReference;return null!=e==(null!=n)&&!(null!=e&&null!=n&&!e.equals(n))&&(0,s.aI)(this.points,t.points,d.v6)}addPoint(t){return(0,p.h)(this,t),Array.isArray(t)?this.points.push(t):this.points.push(t.toArray()),this.notifyChange("points"),this}getPoint(t){if(!this._validateInputs(t))return null;const e=this.points[t],n={x:e[0],y:e[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=e[2],r=3),this.hasM&&(n.m=e[r]),new c.A(n)}removePoint(t){if(!this._validateInputs(t))return null;const e=new c.A(this.points.splice(t,1)[0],this.spatialReference);return this.notifyChange("points"),e}setPoint(t,e){return this._validateInputs(t)?((0,p.h)(this,e),Array.isArray(e)||(e=e.toArray()),this.points[t]=e,this.notifyChange("points"),this):this}toJSON(t){return this.write({},t)}_validateInputs(t){return null!=t&&t>=0&&t<this.points.length}};(0,o.Cg)([(0,i.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,o.Cg)([(0,i.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,o.Cg)([(0,i.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,o.Cg)([(0,m.K)("points")],y.prototype,"writePoints",null),y=r=(0,o.Cg)([(0,i.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(t,e,n){n.d(e,{A:()=>p});var r,o=n(5482),s=n(4718),a=n(91429),i=n(5443),l=n(91075),u=n(86738),c=n(16930),h=n(90634),f=n(56993),d=n(43937);let p=r=class extends l.A{constructor(t){super(function(t){if(!t)return;let{paths:e,hasM:n,hasZ:r,spatialReference:o}=t;switch(e??=[],function(t){return"number"==typeof t[0]?.[0]}(e)&&(e=[e]),e[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return o??=c.A.WGS84,{...t,hasM:n,hasZ:r,paths:e,spatialReference:o}}(t)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(t,e){e.curvePaths=(0,s.o8)(t)}get extent(){const t=(0,h.Z3)(this),{spatialReference:e}=this;return t?new i.A({...t,spatialReference:e}):null}writePaths(t,e){e.paths=(0,s.o8)(this.paths)}addPath(t){if(!t)return;const e=this.paths,n=e.length;if(function(t){return!Array.isArray(t[0])}(t)){const r=[];for(let e=0,n=t.length;e<n;e++)r[e]=t[e].toArray();e[n]=r}else e[n]=t.slice();return this.notifyChange("paths"),this}clone(){const t=new r;return t.spatialReference=this.spatialReference,t.paths=(0,s.o8)(this.paths),t.curvePaths=(0,s.o8)(this.curvePaths),t.hasZ=this.hasZ,t.hasM=this.hasM,t}getPoint(t,e){if(!this._validateInputs(t,e))return null;const n=this.paths[t][e],r=this.hasZ,o=this.hasM;return r&&!o?new u.A(n[0],n[1],n[2],void 0,this.spatialReference):o&&!r?new u.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&o?new u.A(n[0],n[1],n[2],n[3],this.spatialReference):new u.A(n[0],n[1],this.spatialReference)}insertPoint(t,e,n){return this._validateInputs(t,e,!0)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t].splice(e,0,n),this.notifyChange("paths"),this):this}removePath(t){if(!this._validateInputs(t,null))return null;const e=this.paths.splice(t,1)[0],n=this.spatialReference,r=e.map(t=>new u.A(t,n));return this.notifyChange("paths"),r}removePoint(t,e){if(!this._validateInputs(t,e))return null;const n=new u.A(this.paths[t].splice(e,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(t,e,n){return this._validateInputs(t,e)?((0,f.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[t][e]=n,this.notifyChange("paths"),this):this}_validateInputs(t,e,n=!1){if(null==t||t<0||t>=this.paths.length)return!1;if(null!=e){const r=this.paths[t];if(n&&(e<0||e>r.length))return!1;if(!n&&(e<0||e>=r.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,o.Cg)([(0,a.MZ)({readOnly:!0})],p.prototype,"cache",null),(0,o.Cg)([(0,a.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],p.prototype,"curvePaths",void 0),(0,o.Cg)([(0,d.K)("curvePaths")],p.prototype,"writeCurvePaths",null),(0,o.Cg)([(0,a.MZ)({readOnly:!0})],p.prototype,"extent",null),(0,o.Cg)([(0,a.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],p.prototype,"paths",void 0),(0,o.Cg)([(0,d.K)("paths")],p.prototype,"writePaths",null),p=r=(0,o.Cg)([(0,a.$K)("esri.geometry.Polyline")],p),p.prototype.toJSON.isDefaultToJSON=!0},159(t,e,n){n.d(e,{A:()=>u});var r,o=n(5482),s=n(69540),a=n(25482),i=n(91429),l=n(99157);let u=r=class extends((0,s.OU)(a.o)){constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,o.Cg)([(0,i.MZ)({type:[l.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=r=(0,o.Cg)([(0,i.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(t,e,n){n.d(e,{A:()=>l});var r,o=n(5482),s=n(69540),a=n(25482),i=n(91429);let l=r=class extends((0,s.OU)(a.o)){constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,i.MZ)({json:{name:"transformForward",read:t=>!t,write:(t,e,n)=>{e[n]=!t}}})],l.prototype,"isInverse",void 0),(0,o.Cg)([(0,i.MZ)({json:{write:!0}})],l.prototype,"wkt",void 0),(0,o.Cg)([(0,i.MZ)({json:{write:!0}})],l.prototype,"wkid",void 0),l=r=(0,o.Cg)([(0,i.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(49208);function o(t,e,n,o,s,a,i=Math.floor(t.length/3)){const l=(0,r.jd)(e,s);if(null==l)return!1;if(l===r.pO){if(t===o&&n===a)return!0;const e=n+3*i;for(let r=n,s=a;r<e;r++,s++)o[s]=t[r]??0;return!0}const u=n+3*i;for(let e=n,r=a;e<u;e+=3,r+=3)l(t,e,o,r);return!0}},65806(t,e,n){n.d(e,{g:()=>a});var r=n(51850),o=n(91218),s=n(9762);function a(t,e,n,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,n))return i[0]=t.x,i[1]=t.y,i[2]=t.z??0,(0,s.projectBuffer)(i,t.spatialReference,0,e,n,0);const a=(0,o.tryProject)(t,n,r);return!!a&&(e[0]=a.x,e[1]=a.y,e[2]=a.z??0,!0)}const i=(0,r.vt)()},27993(t,e,n){n.d(e,{F:()=>i});var r=n(91218),o=n(16930),s=n(9762),a=n(65806);function i(t,e,n,o){return!(null==e||null==o||t.length<2)&&((0,r.canProjectWithoutEngine)(e,o)?(0,s.projectBuffer)(t,e,0,n,o,0,1):(l.x=t[0],l.y=t[1],l.z=t[2],l.spatialReference=e,(0,a.g)(l,n,o)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:o.A.WGS84,type:"point"}},49208(t,e,n){n.d(e,{Tp:()=>h,jd:()=>c,pO:()=>d});var r=n(34727),o=n(86211),s=n(73941),a=n(79258),i=n(34403),l=n(21325);const u={2:{5:d,7:null,9:null,10:d,1:_,6:null,8:null,0:null,3:m,11:y,2:d,4:T},5:{5:d,7:null,9:null,10:d,1:_,6:null,8:null,0:null,3:m,11:y,2:d,4:T},7:{5:null,7:d,9:null,10:d,1:null,6:R,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:b,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(t,e,n,r){const o=t[e]/N,s=P-2*Math.atan(Math.exp(-t[e+1]/N)),a=N+(t[e+2]??0),i=Math.cos(s)*a;n[r]=Math.cos(o)*i,n[r+1]=Math.sin(o)*i,n[r+2]=Math.sin(s)*a},6:null,8:null,0:null,3:d,11:function(t,e,n,r){p(t,e,n,r),y(n,r,n,r)},2:p,4:function(t,e,n,r){p(t,e,n,r),T(n,r,n,r)}},4:{5:I,7:null,9:null,10:I,1:function(t,e,n,r){I(t,e,n,r),_(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){I(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){I(t,e,n,r),y(n,r,n,r)},2:I,4:d},1:{5:S,7:null,9:null,10:S,1:d,6:null,8:null,0:null,3:function(t,e,n,r){S(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){S(t,e,n,r),y(n,r,n,r)},2:S,4:function(t,e,n,r){S(t,e,n,r),T(n,r,n,r)}},6:{5:null,7:v,9:null,10:v,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:_,6:R,8:b,0:null,3:m,11:y,2:d,4:T},11:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){g(t,e,n,r),_(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){g(t,e,n,r),m(n,r,n,r)},11:d,2:g,4:function(t,e,n,r){g(t,e,n,r),T(n,r,n,r)}}};function c(t,e){return h(t,e)?.projector}function h(t,e){if(null==t||null==e)return null;if(E.source.spatialReference===t&&E.dest.spatialReference===e)return E;const n=f(t,E.source),r=f(e,E.dest);return 0===n&&0===r?(0,l.aI)(t,e)?E.projector=d:E.projector=null:E.projector=u[n][r],E}function f(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.GA)(t,1)),(0,s.jA)(t)?e.spatialReferenceId=1:(0,l.oT)(t)?e.spatialReferenceId=2:(0,l.K8)(t)?e.spatialReferenceId=3:(0,l.r1)(t)?e.spatialReferenceId=11:t.wkt===s.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===s.FY.wkt?e.spatialReferenceId=6:t.wkt===s.LJ.wkt?e.spatialReferenceId=8:(0,s.q8)(t)?e.spatialReferenceId=7:(0,s.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function d(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function p(t,e,n,r){n[r]=C*(t[e]/N),n[r+1]=C*(P-2*Math.atan(Math.exp(-t[e+1]/N))),n[r+2]=t[e+2]??0}function m(t,e,n,o){!function(t,e,n,o,s){const a=.4999999*Math.PI,i=(0,r.qE)(O*t[e+1],-a,a),l=Math.sin(i);n[o++]=O*t[e]*s.radius,n[o++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[o]=t[e+2]??0}(t,e,n,o,a.$O)}function y(t,e,n,r){n[r]=t[e]*x,n[r+1]=t[e+1]*x,n[r+2]=t[e+2]??0}function g(t,e,n,r){n[r]=t[e]*D,n[r+1]=t[e+1]*D,n[r+2]=t[e+2]??0}function M(t,e,n,r,o){const s=o+(t[e+2]??0),a=O*t[e],i=O*t[e+1],l=Math.cos(i)*s;n[r]=Math.cos(a)*l,n[r+1]=Math.sin(a)*l,n[r+2]=Math.sin(i)*s}function b(t,e,n,r){M(t,e,n,r,a.Sw.radius)}function R(t,e,n,r){M(t,e,n,r,a.sH.radius)}function _(t,e,n,r){M(t,e,n,r,a.$O.radius)}function w(t,e,n,o,s){const a=t[e],i=t[e+1],l=t[e+2]??0,u=Math.sqrt(a*a+i*i+l*l),c=(0,r.YN)(l/(0===u?1:u)),h=Math.atan2(i,a);n[o++]=C*h,n[o++]=C*c,n[o]=u-s}function A(t,e,n,r){w(t,e,n,r,a.Sw.radius)}function v(t,e,n,r){w(t,e,n,r,a.sH.radius)}function S(t,e,n,r){w(t,e,n,r,a.$O.radius)}function T(t,e,n,r){!function(t,e,n,r,o){const s=O*t[e],a=O*t[e+1],i=t[e+2]??0,l=Math.sin(a),u=Math.cos(a),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+i)*u*Math.cos(s),n[r++]=(c+i)*u*Math.sin(s),n[r++]=(c*(1-o.eccentricitySquared)+i)*l}(t,e,n,r,a.$O)}function I(t,e,n,r){const o=i.TP,s=t[e],l=t[e+1],u=t[e+2]??0;let c,h,f,d,p,m,y,g,M,b,R,_,w,A,v,S,T,I,E,O,P;c=Math.abs(u),h=s*s+l*l,f=Math.sqrt(h),d=h+u*u,p=Math.sqrt(d),O=Math.atan2(l,s),m=u*u/d,y=h/d,A=o.a2/p,v=o.a3-o.a4/p,y>.3?(g=c/p*(1+y*(o.a1+A+m*v)/p),E=Math.asin(g),b=g*g,M=Math.sqrt(1-b)):(M=f/p*(1-m*(o.a5-A-y*v)/p),E=Math.acos(M),b=1-M*M,g=Math.sqrt(b)),R=1-a.$O.eccentricitySquared*b,_=a.$O.radius/Math.sqrt(R),w=o.a6*_,A=f-_*M,v=c-w*g,T=M*A+g*v,S=M*v-g*A,I=S/(w/R+T),E+=I,P=T+S*I/2,u<0&&(E=-E),n[r++]=C*O,n[r++]=C*E,n[r]=P}const E={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},O=(0,r.kU)(1),C=(0,r.KJ)(1),P=.5*Math.PI,N=a.$O.radius,x=N*Math.PI/180,D=180/(N*Math.PI);n.d(e,["w5",0,u])},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>Y,initializeProjection:()=>V,isEqualBaseGCS:()=>$,isLoaded:()=>N,isLoadedOrLoad:()=>x,isLoadedOrLoadFor:()=>D,load:()=>L,project:()=>B,projectAsync:()=>z,projectExtent:()=>ot,projectMany:()=>U,projectMultipoint:()=>X,projectOrLoad:()=>F,projectOrLoadMany:()=>k,projectPoint:()=>K,projectPolygon:()=>nt,projectPolyline:()=>tt,projectWithoutEngine:()=>W,requiresLoad:()=>G,test:()=>H,tryProject:()=>j,unload:()=>q});var r=n(49186),o=n(17676),s=n(62788),a=n(95488),i=n(51850),l=n(21276),u=n(73941),c=n(5443),h=n(91075),f=n(48526),d=n(86738),p=n(39829),m=n(82799),y=n(16930),g=n(98764),M=n(159),b=n(9762),R=n(49208);function _(t,e,n,r,o,s){return w[0]=t,w[1]=e,w[2]=n,(0,b.projectBuffer)(w,r,0,o,s,0)}const w=(0,i.vt)();var A=n(60408),v=n(21325),S=n(52006);let T=null,I=null,E=null,O=null,C={};const P=new a.I;function N(){return!!(I?.isLoaded()&&E?.isLoaded()&&O?.isLoaded())}function x(){return!!N()||((0,s.gc)(P),L(),!1)}function D(t,e){return!t||!e||Y(t,e)||x()}function G(t,e){return!Y(t,e)&&!N()}async function L(t){null==T&&(T=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(I=t,I.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(E=t,E.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(O=t,O.load()))])),await T,(0,o.Te)(t),P.notify()}function B(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,l.H)(t),U(t,t[0].spatialReference,e,n)):((0,l.f)(t),U([t],t.spatialReference,e,n)[0])}function U(t,e,n,r){if(null==e||null==n)return t;if(Y(e,n,r))return t.map(t=>W(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return U(t.map(t=>W(t,e,y.A.WGS84)),y.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return U(t,e,y.A.WGS84).map(t=>W(t,y.A.WGS84,n));if(!N())throw new Z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:O.getTransformation(e,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let o=C[t];o||(o=O.getTransformation(e,n)||new M.A,C[t]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof h.A?I.executeMany(t,n,r):E.executeMany(t,n,r)}function j(t,e,n){try{return B(t,e,n)}catch(t){return null}}function F(t,e){const n=k([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function k(t,e,n){if(!N())for(const n of t)if(null!=n&&!(0,v.aI)(n.spatialReference,e)&&(0,v.fn)(n.spatialReference)&&(0,v.fn)(e)&&!Y(n.spatialReference,e))return(0,s.gc)(P),{pending:L(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,v.aI)(t.spatialReference,e)?t:(0,v.fn)(t.spatialReference)&&(0,v.fn)(e)?B(t,e,n):null)}}class Z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){T=null,I=null,E=null,O=null,C={}}const H={get loadPromise(){return T}};async function z(t,e,n){if((0,o.Te)(n),!t)return t;const r=k(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,o.Te)(n),z(t,e,n);const s=r.geometries??[];return Array.isArray(t)?s:s[0]}function Y(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,v.aI)(t,e)||(0,v.fn)(t)&&(0,v.fn)(e)&&!!(0,R.jd)(t,e))}function $(t,e){if((0,v.aI)(t,e))return!0;if(!(0,v.fn)(t)||!(0,v.fn)(e))return!1;const n=(0,v.oT)(t)||(0,v.K8)(t)||(0,v.x1)(t),r=(0,v.oT)(e)||(0,v.K8)(e)||(0,v.x1)(e);return n&&r}async function V(t,e,n,r){if(N())return(0,o.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:o}of t)if(e&&n&&!Y(e,n,o))return L(r)}else if(t&&e&&!Y(t,e,n))return L(r);return(0,o.NO)(r)}function W(t,e,n){return t?(0,A.fT)(t)?J(t,e,new d.A,n,0):(0,A.ZC)(t)?st(t,e,new c.A,n,0):(0,A.Bi)(t)?rt(t,e,new p.A,n,0):(0,A.Rg)(t)?et(t,e,new m.A,n,0):(0,A.U9)(t)?Q(t,e,new f.A,n,0):null:null}function K(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=J(t,t.spatialReference,e,n,r)}function J(t,e,n,r,o){ut[0]=t.x,ut[1]=t.y;const s=t.z;return ut[2]=void 0!==s?s:o,(0,b.projectBuffer)(ut,e,0,ut,r,0)?(n.x=ut[0],n.y=ut[1],n.spatialReference=r,void 0!==s||(0,u.xP)(r)?(n.z=ut[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function X(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=Q(t,t.spatialReference,e,n,r)}function Q(t,e,n,r,o){const{points:s,hasZ:a,hasM:i}=t,l=[],u=s.length,c=[];for(const t of s)c.push(t[0],t[1],a?t[2]:o);if(!(0,b.projectBuffer)(c,e,0,c,r,0,u))return null;const h=lt(a,r);for(let t=0;t<u;++t){const e=3*t,n=c[e],r=c[e+1];h&&i?l.push([n,r,c[e+2],s[t][3]]):h?l.push([n,r,c[e+2]]):i?l.push([n,r,s[t][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=a,n.hasM=i,n}function tt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=et(t,t.spatialReference,e,n,r)}function et(t,e,n,r,o){const{curvePaths:s,paths:a,hasZ:i,hasM:l}=t;if(!(s?it(s,i??!1,l??!1,e,n.curvePaths=[],r,o):at(a,i??!1,l??!1,e,n.paths,r,o)))return null;const u=lt(i,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function nt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,r)}function rt(t,e,n,r,o){const{curveRings:s,rings:a,hasZ:i,hasM:l}=t;return(s?it(s,i??!1,l??!1,e,n.curveRings=[],r,o):at(a,i??!1,l??!1,e,n.rings,r,o))?(n.spatialReference=r,n.hasZ=lt(i,r),n.hasM=l,n):null}function ot(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=st(t,t.spatialReference,e,n,r)}function st(t,e,n,r,o){const{xmin:s,ymin:a,xmax:i,ymax:l,hasZ:u,hasM:c}=t;if(!_(s,a,u?t.zmin:o,e,ut,r))return null;const h=lt(u,r);return n.xmin=ut[0],n.ymin=ut[1],h&&(n.zmin=ut[2]),_(i,l,u?t.zmax:o,e,ut,r)?(n.xmax=ut[0],n.ymax=ut[1],h&&(n.zmax=ut[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function at(t,e,n,r,o,s,a=0){const i=new Array;for(const n of t)for(const t of n)i.push(t[0],t[1],e?t[2]:a);if(!(0,b.projectBuffer)(i,r,0,i,s,0))return!1;let l=0;o.length=0;const u=e?3:2,c=lt(e,s);for(const e of t){const t=new Array;for(const r of e){const e=i.slice(l,l+=3);c||e.pop(),n&&e.push(r[u]),t.push(e)}o.push(t)}return!0}function it(t,e,n,r,o,s,a=0){const i=new Array;for(const n of t)for(const t of n){if((0,S.FG)(t))return!1;if((0,S.aO)(t)){const[n,r]=t.c;i.push(n[0],n[1],e?n[2]:a,r[0],r[1],a);continue}if((0,S.n1)(t)){const[n,r,o]=t.b;i.push(n[0],n[1],e?n[2]:a,r[0],r[1],a,o[0],o[1],a);continue}const n=t;i.push(n[0],n[1],e?n[2]:a)}if(!(0,b.projectBuffer)(i,r,0,i,s,0))return!1;let l=0;o.length=0;const u=e?3:2,c=lt(e,s);for(const e of t){const t=new Array;for(const r of e){const e=i.slice(l,l+=3);if(c||e.pop(),n&&e.push((0,S.yP)(r)[u]),(0,S.FG)(r))return!1;if((0,S.aO)(r)){const n=i[l++],r=i[l++];++l,t.push({c:[e,[n,r]]});continue}if((0,S.n1)(r)){const n=i[l++],r=i[l++];++l;const o=i[l++],s=i[l++];++l,t.push({b:[e,[n,r],[o,s]]});continue}t.push(e)}o.push(t)}return!0}function lt(t,e){return t||(0,u.xP)(e)||(0,v.aI)(e,g.Y0)}const ut=(0,i.vt)()},98764(t,e,n){n.d(e,{lO:()=>c});var r=n(73941),o=n(16930),s=n(21325);const a=new o.A(r.fv),i=new o.A(r.FY),l=new o.A(r.LJ),u=new o.A(r.Ro);function c(t){const e=h.get(t);if(e)return e;let n=a;if(t)if(t===i)n=i;else if(t===l)n=l;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,s.tl)(e)||(0,s.tl)(r)?n=i:((0,s.ZL)(e)||(0,s.ZL)(r))&&(n=l);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===f?n=i:t===d&&(n=l)}}}return h.set(t,n),n}const h=new Map,f=i.wkt.toUpperCase(),d=l.wkt.toUpperCase();n.d(e,["GD",0,a,"Y0",0,u])},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>u,jh:()=>s,l5:()=>i,yH:()=>l});var r=n(34275),o=n(9093);function s(t){return t<=1024?new Array(t).fill(0):new Float64Array(t)}function a(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=1024?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 l(t,e){if(0===e.length)return a(t);if(0===t.length)return a(e);const n=s(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 u(t){return[...t]}function c(t){const e=(0,o.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},95696(t,e,n){n.d(e,{A:()=>u});var r,o=n(5482),s=n(69540),a=n(25482),i=n(91429),l=n(93223);let u=class extends((0,s.OU)(a.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,o.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,o.Cg)([(0,i.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,o.Cg)([(0,i.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},18251(t,e,n){n.d(e,{A:()=>u});var r=n(5482),o=n(69540),s=n(25482),a=n(91429),i=n(51850),l=n(93223);let u=class extends((0,o.OU)(s.o)){constructor(t){super(t),this.type="local",this.origin=(0,i.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,a.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},72727(t,e,n){function r(t,e,n){if(e<=0)return 0;const r=t-n;return r<0?0:Math.floor(r/e)+1}n.d(e,{k:()=>r}),n(53966)},34403(t,e,n){var r=n(79258);Math.PI;const o=r.$O.radius,s=r.$O.eccentricitySquared,a={a1:o*s,a2:o*s*o*s,a3:o*s*s/2,a4:o*s*o*s*2.5,a5:o*s+o*s*s/2,a6:1-s};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius,n.d(e,["TP",0,a])},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function s(t){return void 0!==t.x&&void 0!==t.y}function a(t){return void 0!==t.paths||void 0!==t.curvePaths}function i(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function u(t){return t?s(t)?"esriGeometryPoint":a(t)?"esriGeometryPolyline":i(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":o(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function h(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>u,Bi:()=>i,Pv:()=>c,Rg:()=>a,U9:()=>o,W0:()=>h,ZC:()=>r,fT:()=>s,uW:()=>l})},97770(t,e,n){n.d(e,{Ey:()=>N,F8:()=>P,J2:()=>I,Yq:()=>O,_m:()=>E,iS:()=>C,wj:()=>x});var r=n(66552),o=n(73444),s=n(98623),a=n(92647);const i={dateStyle:void 0,year:void 0,month:void 0,day:void 0,weekday:void 0},l={timeStyle:void 0,hour12:void 0,hourCycle:void 0,hour:void 0,minute:void 0,second:void 0},u={timeZone:"UTC"},c={year:"numeric",month:"numeric",day:"numeric"},h={year:"numeric",month:"long",day:"numeric"},f={year:"numeric",month:"short",day:"numeric"},d={year:"numeric",month:"long",weekday:"long",day:"numeric"},p={hour:"numeric",minute:"numeric"},m={...p,second:"numeric"},y={hourCycle:"h23"},g={...p,...y},M={...m,...y},b={"short-date":c,"short-date-short-time":{...c,...p},"short-date-short-time-24":{...c,...g},"short-date-long-time":{...c,...m},"short-date-long-time-24":{...c,...M},"short-date-le":c,"short-date-le-short-time":{...c,...p},"short-date-le-short-time-24":{...c,...g},"short-date-le-long-time":{...c,...m},"short-date-le-long-time-24":{...c,...M},"long-month-day-year":h,"long-month-day-year-short-time":{...h,...p},"long-month-day-year-short-time-24":{...h,...g},"long-month-day-year-long-time":{...h,...m},"long-month-day-year-long-time-24":{...h,...M},"day-short-month-year":f,"day-short-month-year-short-time":{...f,...p},"day-short-month-year-short-time-24":{...f,...g},"day-short-month-year-long-time":{...f,...m},"day-short-month-year-long-time-24":{...f,...M},"long-date":d,"long-date-short-time":{...d,...p},"long-date-short-time-24":{...d,...g},"long-date-long-time":{...d,...m},"long-date-long-time-24":{...d,...M},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":p,"long-time":m},R=(0,r.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),_={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},w=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),A=w.find(({type:t})=>"month"===t)?.value.toLowerCase();function v(){const t=(0,o.lR)();return(t&&_[t])??(0,o.QC)()}"mart"!==A&&(_.bs="sr-Latn-CS");let S=new WeakMap;const T=b["short-date-short-time"];function I(t){return b[t]}function E(t){const{dateStyle:e,timeStyle:n,hour12:r,year:o,month:s}=t,a={};return e?a.dateStyle=e:o&&(a.year=o,a.month=s||void 0),n&&!a.year&&(a.timeStyle=n,a.hour12="auto"===r?void 0:"always"===r),a}function O(t,e=T){return function(t){let e=S.get(t);if(!e){const n=v(),r=x(t.timeZone??"system"),o={...t,timeZone:r};e=new Intl.DateTimeFormat(n,o),S.set(t,e)}return e}(e).format(t)}function C(t,e=T){return O(new Date(t),{...e,...u,...l})}function P(t,e=T){return O(new Date(`1970-01-01T${t}Z`),{...e,...u,...i})}function N(t,e=T){const n=a.c9.fromISO(t,{setZone:!0});if(!n.isValid)return t;if(e.timeZone)return O(n.toJSDate(),e);const r=0===n.offset?"UTC":e.timeZone,o={...e,timeZone:r};return n.toLocaleString(o,{locale:v()})}function x(t){switch(t){case"system":return s.N;case s.L:return"UTC";default:return t}}(0,o.Ml)(()=>{S=new WeakMap}),n.d(e,["_v",0,R])},73444(t,e,n){n.d(e,{JK:()=>l,Ml:()=>y,QC:()=>h,lR:()=>c,oQ:()=>p});var r=n(36563);let o;n(44208);const s=globalThis.esriConfig?.locale,a=globalThis.document?.documentElement;function i(){const t=a?.getAttribute("lang"),e=globalThis.navigator?.language;return s??t??e??"en"}function l(){return void 0===o&&(o=i()),o}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(t=l()){return f(t)?.language}function h(t=l()){const e=f(t);return e?.language&&e?.extlang?t.replace(`${e.language}-`,""):t}function f(t=l()){return u.exec(t)?.groups}const d=[];function p(t){return d.push(t),(0,r.hA)(()=>{d.splice(d.indexOf(t),1)})}new Map;const m=[];function y(t){return m.push(t),(0,r.hA)(()=>m.splice(m.indexOf(t),1))}function g(){const t=i();o!==t&&([...m].forEach(e=>e(t)),o=t,[...d].forEach(e=>e(t)))}globalThis.addEventListener?.("languagechange",g),a&&new MutationObserver(()=>{g()}).observe(a,{attributeFilter:["lang"]})},98623(t,e,n){const r=Intl.DateTimeFormat().resolvedOptions().timeZone;n.d(e,["L",0,"unknown","N",0,r])},89606(t,e,n){n.d(e,{GN:()=>h,MU:()=>c,yf:()=>d});var r=n(35522),o=n(51850),s=n(10614),a=n(63907),i=n(74038);class l{constructor(t,e){this.data=t,this.indices=e}}class u{constructor(t,e,n,r,o){this.indices=t,this.packedNormals=e,this.appendedVertexToOriginal=n,this.outputVertexCount=r,this.appendedVertexCount=o}}function c(t,e,n,u,c){return!u||n.some(({name:t})=>"normal"===t||"normalCompressed"===t)?function(t,e,n,a){const i=new l(t.slice().buffer,e);if(!a)return i;const u=n[0].stride,c=i.data.byteLength/u;for(const t of n)if("normalCompressed"===t.name){const{offset:e}=t,n=new Int16Array(i.data),l=(0,o.vt)();for(let t=0;t<c;++t)(0,s.Tz)(l,n,t,u/2,e/2),(0,r.ei)(l,l,a),(0,s.aT)(n,t,l[0],l[1],l[2],u/2,e/2)}else if("normal"===t.name){const{offset:e}=t,n=new Float32Array(i.data),s=(0,o.vt)();for(let t=0;t<c;++t){const o=(t*u+e)/4;s[0]=n[o],s[1]=n[o+1],s[2]=n[o+2],(0,r.ei)(s,s,a),n[o]=s[0],n[o+1]=s[1],n[o+2]=s[2]}}return i}(t,e,n,c):function(t,e,n,r){const o=n[0].stride,s=o/4,l=new Float32Array(t.buffer,t.byteOffset,t.byteLength/4),u=t.byteLength/o,c=o+4;n.forEach(t=>t.stride=c),n.push(new i._("normalCompressed",2,a.pe.SHORT,o,c,!0));const d=h(e,l,s,r);return f(l,u,o,c,d)}(t,e,n,c)}function h(t,e,n,r){const o=t.length/3,s=e.length/n,{faceNormals:a,faceAreas:i,faceEdges:l,edgeFaces:u,vertexFaces:c,vertexFaceCountAndOffset:h}=function(t,e,n,r,o,s){const a=new Float32Array(3*o),i=new Float32Array(o),l=new Uint32Array(3*o),u=new Int32Array(3*o*2),c=3*o,h=new Uint32Array(c),f=new Uint32Array(2*n);for(let t=0;t<o;++t){const e=3*t;for(let t=0;t<3;++t)++f[2*r[e+t]]}{let t=0;for(let e=0;e<n;++e){const n=2*e;f[n+1]=t,t+=f[n]}for(let t=0;t<o;++t){const e=3*t;for(let n=0;n<3;++n)h[f[2*r[e+n]+1]++]=t}for(let t=0;t<n;++t)f[2*t+1]-=f[2*t]}let d=0;const p=new Uint32Array(2*c*2),m=new Uint32Array(2*n);for(let t=0;t<n;++t){const e=2*t,n=4*f[e+1];m[e]=n,m[e+1]=n}function y(t,e,n){const r=Math.min(t,e),o=Math.max(t,e),s=t<e?0:1,a=2*r,i=m[a],l=m[a+1];let c=-1;for(let t=i;t<l;t+=2)if(p[t]===o){c=p[t+1];break}return-1===c&&(c=d++,p[l]=o,p[l+1]=c,m[a+1]=l+2,u[2*c+(1-s)]=-1),u[2*c+s]=n,c}for(let n=0;n<r.length;n+=3){const o=r[n],u=o*e,c=t[u],h=t[u+1],f=t[u+2],d=r[n+1],p=d*e,m=t[p],g=t[p+1],M=t[p+2],b=r[n+2],R=b*e,_=c-m,w=h-g,A=f-M,v=c-t[R],S=h-t[R+1],T=f-t[R+2],I=w*T-A*S,E=A*v-_*T,O=_*S-w*v,C=Math.sqrt(I*I+E*E+O*O)||1,P=n/3;i[P]=.5*C;const N=1/C;if(s){const t=s[0]*I+s[3]*E+s[6]*O,e=s[1]*I+s[4]*E+s[7]*O,n=s[2]*I+s[5]*E+s[8]*O;a[3*P]=t*N,a[3*P+1]=e*N,a[3*P+2]=n*N}else a[3*P]=I*N,a[3*P+1]=E*N,a[3*P+2]=O*N;const x=y(o,d,P),D=y(d,b,P),G=y(b,o,P);l[3*P]=x,l[3*P+1]=D,l[3*P+2]=G}return{faceNormals:a,faceAreas:i,faceEdges:l,vertexFaces:h,vertexFaceCountAndOffset:f,edgeFaces:u}}(e,n,s,t,o,r);return function(t,e,n,r,o,s){const a=new Uint8Array(e),i=new Uint32Array(e),l=new Uint32Array(3*e);let u=0;const c=new Uint32Array(e);let h=0;for(let e=0;e<t.length;e+=3){const t=e/3;if(1===a[t])continue;a[t]=1;const f=n[3*t],d=n[3*t+1],p=n[3*t+2];for(h=0,c[h++]=t,l[0]=o[3*t],l[1]=o[3*t+1],l[2]=o[3*t+2],u=3,i[t]=t+1;u>0;){const e=l[--u];for(let r=0;r<2;++r){const y=s[2*e+r];if(-1===y||i[y]===t+1)continue;i[y]=t+1;const g=n[3*y],M=n[3*y+1],b=n[3*y+2];if(Math.abs(1-(f*g+d*M+p*b))<m){c[h++]=y,a[y]=1;for(let t=0;t<3;++t){const n=o[3*y+t];n!==e&&(l[u++]=n)}}}}if(h>1){let t=0,e=0,o=0,s=0;for(let a=0;a<h;++a){const i=c[a],l=r[i];t+=l,e+=n[3*i]*l,o+=n[3*i+1]*l,s+=n[3*i+2]*l}const a=Math.sqrt(e*e+o*o+s*s)||1;e/=a,o/=a,s/=a;for(let a=0;a<h;++a){const i=c[a];n[3*i]=e,n[3*i+1]=o,n[3*i+2]=s,r[i]=t}}}}(t,o,a,i,l,u),p(o,s,t,a,i,c,h)}function f(t,e,n,r,o){const s=n/4,a=r/4,i=o.outputVertexCount,u=new Float32Array(i*a),c=new Uint32Array(u.buffer),h=s,f=new Uint32Array(t.buffer,t.byteOffset,t.length);return function(t,e,n,r,o,s,a){for(let i=0;i<s;++i){const s=i*o,l=i*e;for(let e=0;e<o;++e)t[l+e]=r[s+e];t[l+n]=a[i]}}(c,a,h,f,s,e,o.packedNormals),d(c,a,h,f,s,e,i,o.appendedVertexToOriginal,o.packedNormals),new l(u.buffer,o.indices)}function d(t,e,n,r,o,s,a,i,l){for(let u=s;u<a;++u){const a=i[u-s]*o,c=u*e;for(let e=0;e<o;++e)t[c+e]=r[a+e];t[c+n]=l[u]}}function p(t,e,n,r,o,s,a){const i=3*t,l=new(i<256?Uint8Array:i<65536?Uint16Array:Uint32Array)(n);let c=e;const h=new(e<256?Uint8Array:e<65536?Uint16Array:Uint32Array)(i-e),f=new ArrayBuffer(4*i),d=new Int16Array(f),p=new Uint32Array(f);let m=0,g=0;const M=new Uint32Array(t);let b=0;const R=1-y;for(let t=0;t<e;++t){m=a[2*t+1],g=m+a[2*t];let n=t;for(;m<g;){{const t=s[--g],e=3*t,a=r[e],i=r[e+1],l=r[e+2];b=0,M[b++]=t;let u=m;for(;u<g;){const t=s[u],e=3*t;if(a*r[e]+i*r[e+1]+l*r[e+2]>R){M[b++]=t;const e=--g;if(u<e){s[u]=s[e];continue}}++u}let c=0,h=0,f=0;if(1===b)c=a,h=i,f=l;else{for(let t=0;t<b;++t){const e=M[t],n=o[e],s=3*e;c+=r[s]*n,h+=r[s+1]*n,f+=r[s+2]*n}const t=Math.sqrt(c*c+h*h+f*f)||1;c/=t,h/=t,f/=t}{const t=1/(Math.abs(c)+Math.abs(h)+Math.abs(f)),e=c*t,r=h*t;let o=e,s=r;f<=0&&(o=(e>=0?1:-1)*(1-Math.abs(r)),s=(r>=0?1:-1)*(1-Math.abs(e)));const a=2*n,i=Math.round(32767*o),l=Math.round(32767*s);d[a]=i<-32767?-32767:i>32767?32767:i,d[a+1]=l<-32767?-32767:l>32767?32767:l}}if(n!==t)for(let e=0;e<b;++e){const r=3*M[e];l[r]===t&&(l[r]=n),l[r+1]===t&&(l[r+1]=n),l[r+2]===t&&(l[r+2]=n)}if(m>=g)break;n=c++,h[n-e]=t}}return new u(l,p,h,c,c-e)}const m=.04,y=.8},94715(t,e,n){n.r(e),n.d(e,{destroyContext:()=>v,dracoDecompressPointCloudData:()=>M,filterObbsForModifications:()=>b,filterObbsForModificationsSync:()=>C,initialize:()=>x,interpretObbModificationResults:()=>O,process:()=>g,project:()=>w,setLegacySchema:()=>_,setModifications:()=>R,setModificationsSync:()=>I,test:()=>G,transformNormals:()=>A});var r=n(34727),o=n(77690),s=n(29242),a=n(58083),i=n(9093),l=n(16930),u=n(4197),c=n(95696),h=n(18251),f=n(73354),d=n(2741);let p;var m=n(89606),y=n(98697);async function g(t){T=await D();const e=[t.geometryBuffer];return{result:E(T,t,e),transferList:e}}async function M(t){T=await D();const e=[t.geometryBuffer],{geometryBuffer:n}=t,r=n.byteLength,o=T._malloc(r),s=new Uint8Array(T.HEAPU8.buffer,o,r);s.set(new Uint8Array(n));const a=T.dracoDecompressPointCloudData(o,s.byteLength);if(T._free(o),a.error.length>0)throw new Error(`i3s.wasm: ${a.error}`);const i=a.featureIds?.length>0?a.featureIds.slice():null,l=a.positions.slice();return i&&e.push(i.buffer),e.push(l.buffer),{result:{positions:l,featureIds:i},transferList:e}}async function b(t){await D(),C(t);const e={buffer:t.buffer};return{result:e,transferList:[e.buffer]}}async function R(t){await D(),I(t)}async function _(t){T=await D(),T.setLegacySchema(t.context,t.jsonSchema)}async function w(t){const{localMatrix:e,origin:r,positions:o,vertexSpace:s}=t,a=l.A.fromJSON(t.inSpatialReference),i=l.A.fromJSON(t.outSpatialReference),f=e?(0,u.Vj)(e):void 0,d=(0,u.cj)(r);let p;const[{projectBuffer:m},{initializeProjection:y}]=await Promise.all([Promise.resolve().then(n.bind(n,9762)),Promise.resolve().then(n.bind(n,91218))]);await y(a,i);const g=[0,0,0];if(!m(d,a,0,g,i,0))throw new Error("Failed to project");if("georeferenced"===s.type&&null==s.origin){if(p=new Float64Array(o.length),!m(o,a,0,p,i,0,p.length/3))throw new Error("Failed to project")}else{const t="georeferenced"===s.type?c.A.fromJSON(s):h.A.fromJSON(s),{projectMeshVertexPositions:e}=await n.e(4594).then(n.bind(n,74594)),r=e({vertexAttributes:{position:o},transform:f?{localMatrix:f}:void 0,vertexSpace:t,spatialReference:a},i);if(!r)throw new Error("Failed to project");p=r}const M=p.length,[b,R,_]=g;for(let t=0;t<M;t+=3)p[t]-=b,p[t+1]-=R,p[t+2]-=_;return{result:{projected:p,original:o,projectedOrigin:g},transferList:[p.buffer,o.buffer]}}async function A({normalMatrix:t,normals:e}){const n=new Float32Array(e.length);return(0,f.b)(n,e,t),(0,r.or)(t)&&(0,f.n)(n,n),{result:{transformed:n,original:e},transferList:[n.buffer,e.buffer]}}function v(t){P(t)}let S,T;function I(t){if(!T)return;const e=t.modifications,n=T._malloc(8*e.length),r=new Float64Array(T.HEAPU8.buffer,n,e.length);for(let t=0;t<e.length;++t)r[t]=e[t];T.setModifications(t.context,n,e.length,t.isGeodetic),T._free(n)}function E(t,e,n){const{context:r,globalTrafo:l,geometryElevationOffset:u,mbs:c,obbData:h,layouts:f,needNormals:d,computeNormals:p,elevationOffset:g,planetRadiusInGlobalMode:M,geometryBuffer:b,geometryDescriptor:R,geometryData:_,indexToVertexProjector:w,vertexToRenderProjector:A,normalReferenceFrame:v}=e,S=t._malloc(b.byteLength),T=t._malloc(33*Float64Array.BYTES_PER_ELEMENT),I=new Uint8Array(t.HEAPU8.buffer,S,b.byteLength);I.set(new Uint8Array(b));const E=new Float64Array(t.HEAPU8.buffer,T,33);N(E,[NaN,NaN,NaN],0);let O=3;N(E,l,O),O+=16,N(E,c.center,O),O+=3,E[O++]=c.radius,h&&N(E,h,O++);const C={isDraco:!1,isLegacy:!1,color:f.some(t=>t.some(t=>"color"===t.name)),normal:d&&f.some(t=>t.some(t=>"normalCompressed"===t.name)),uv0:f.some(t=>t.some(t=>"uv0"===t.name)),uvRegion:f.some(t=>t.some(t=>"uvRegion"===t.name)),featureIndex:R.featureIndex},P=t.process(r,!!h,S,I.byteLength,R,C,T,g,w,A,v);if(t._free(T),t._free(S),P.error.length>0)throw new Error(`i3s.wasm: ${P.error}`);if(P.discarded)return null;const x=P.componentOffsets.length>0?P.componentOffsets.slice():null,D=P.featureIds.length>0?P.featureIds.slice():null,G=P.anchorIds.length>0?Array.from(P.anchorIds):null,L=P.anchors.length>0?Array.from(P.anchors):null,B=1===P.indicesType?new Uint16Array(P.indices.buffer,P.indices.byteOffset,P.indices.byteLength/2).slice():new Uint32Array(P.indices.buffer,P.indices.byteOffset,P.indices.byteLength/4).slice(),U=f[0].slice(),j=(0,o.z0)((0,s.vt)(),l),F=(0,m.MU)(P.interleavedVertedData,B,U,p&&!C.normal,j),k=P.positions.slice(),Z=function(t,e,n,r,o){const s=n?(0,i.o8)(n):(0,i.vt)();(0,a.lw)(s,e,s);const l=s[0],u=s[1],c=s[2],h=s[4],f=s[5],d=s[6],p=s[8],m=s[9],y=s[10],g=s[12],M=s[13],b=s[14];let R=1/0,_=-1/0;for(let e=0;e<t.length;e+=3){const n=t[e],s=t[e+1],a=t[e+2],i=n*c+s*d+a*y+b;let w=0;if(r>0){const t=n*l+s*h+a*p+g,e=n*u+s*f+a*m+M;w=Math.sqrt(t*t+e*e+i*i)-r}else w=i;w-=o,R=Math.min(R,w),_=Math.max(_,w)}return{minElevation:R,maxElevation:_}}(k,l,_?.geometries[0]?.transformation,M,u),{buffer:q,byteOffset:H,byteLength:z}=P.positionIndices,Y=1===P.positionIndicesType?new Uint16Array(q,H,z/2).slice():new Uint32Array(q,H,z/4).slice(),$=new y._b(U,F.data,F.indices,P.hasColors,P.hasModifications,{data:k,indices:Y});return D&&n.push(D.buffer),x&&n.push(x.buffer),n.push(F.data),n.push(F.indices.buffer),n.push(k.buffer),n.push(Y.buffer),new y.sQ(x,D,G,L,$,l,P.obb,Z.minElevation,Z.maxElevation)}function O(t){return 0===t?0:1===t?1:2===t?2:3}function C(t){if(!T)return;const{context:e,buffer:n}=t,r=T._malloc(n.byteLength),o=n.byteLength/Float64Array.BYTES_PER_ELEMENT,s=new Float64Array(T.HEAPU8.buffer,r,o),a=new Float64Array(n);s.set(a),T.filterOBBs(e,r,o),a.set(s),T._free(r)}function P(t){0===T?.destroy(t)&&(T=null,S=null,p=null)}function N(t,e,n){for(let r=0;r<e.length;++r)t[r+n]=e[r]}async function x(){T||await D()}async function D(){return T||(T=await(S??=(p??=(async()=>{const t=await n.e(2980).then(n.bind(n,82980));return await t.default({locateFile:t=>(0,d.s)(`esri/libs/i3s/${t}`)})})(),p))),T}const G={transform:(t,e)=>T&&E(T,t,e),destroy:P}},98697(t,e,n){n.d(e,{H1:()=>p,Ir:()=>d,_b:()=>u,sQ:()=>c});var r=n(53966),o=n(15142),s=n(51850),a=n(35982),i=n(91218),l=n(27993);class u{constructor(t,e,n,r,o,s){this.layout=t,this.interleavedVertexData=e,this.indices=n,this.hasColors=r,this.hasModifications=o,this.positionData=s}}class c{constructor(t,e,n,r,o,s,a,i,l){this.componentOffsets=t,this.featureIds=e,this.anchorIds=n,this.anchors=r,this.transformedGeometry=o,this.globalTrafo=s,this.obb=a,this.geometryMinElevation=i,this.geometryMaxElevation=l}}a.B;const h=new o.A({deallocator:null}),f=(0,s.vt)();function d(t,e,n){h.clear();let o=1/0,s=1/0,a=-1/0,u=-1/0,c=!1;for(const t of e){const e="clip"===t.type?2:"mask"===t.type?1:0,d=t.geometry;let p=t=>t;if(d.spatialReference){if(!(0,i.canProjectWithoutEngine)(d.spatialReference,n)){r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:d});continue}p=t=>((0,l.F)(t,d.spatialReference,f,n),f)}c=c||1===e;const m=d.rings.length,y=d.rings.some(t=>t.length<3);if(0===m||y)r.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (no rings or rings with less than 3 vertices).",{polygon:d});else{h.push(e),h.push(m);for(const t of d.rings){h.push(t.length);for(const e of t){const t=p(e);h.push(t[0]),h.push(t[1]),h.push(t[2]??0),o=Math.min(o,t[0]),s=Math.min(s,t[1]),a=Math.max(a,t[0]),u=Math.max(u,t[1])}}}}if(null!=t)if(c){const e=1e-4;h.push(2),h.push(2),h.push(4),h.push(o-e),h.push(s-e),h.push(0),h.push(a+e),h.push(s-e),h.push(0),h.push(a+e),h.push(u+e),h.push(0),h.push(o-e),h.push(u+e),h.push(0),h.push(4),h.push(t[0]),h.push(t[1]),h.push(0),h.push(t[2]),h.push(t[1]),h.push(0),h.push(t[2]),h.push(t[3]),h.push(0),h.push(t[0]),h.push(t[3]),h.push(0)}else h.push(1),h.push(1),h.push(4),h.push(t[0]),h.push(t[1]),h.push(0),h.push(t[2]),h.push(t[1]),h.push(0),h.push(t[2]),h.push(t[3]),h.push(0),h.push(t[0]),h.push(t[3]),h.push(0);h.push(3);const d=new Float64Array(h.length);for(let t=0;t<h.length;++t)d[t]=h.at(t);return d}function p(t,e){let n=0;for(const r of e){const e=r.geometry,o=e.rings.length,s=e.rings.some(t=>t.length<3);if(0!==o&&!s){n+=1,n+=1;for(let r=0;r<e.rings.length;++r){const o=e.rings[r];n+=1;for(let s=0;s<o.length;++s){const o=[t[n+0],t[n+1],t[n+2]];n+=3,e.setPoint(r,s,o)}}}}}},10614(t,e,n){n.d(e,{Tz:()=>a,aT:()=>s});var r=n(34727),o=n(35522);function s(t,e,n,r,o,s=2,a=0){const l=1/(Math.abs(n)+Math.abs(r)+Math.abs(o)),u=n*l,c=r*l,h=o<=0?(u>=0?1:-1)*(1-Math.abs(c)):u,f=o<=0?(c>=0?1:-1)*(1-Math.abs(u)):c,d=e*s+a;t[d]=i(h),t[d+1]=i(f)}function a(t,e,n,r=2,s=0){const a=n*r+s,i=l(e[a]),u=l(e[a+1]),c=1-Math.abs(i)-Math.abs(u);return t[2]=c,c<0?(t[0]=(i>=0?1:-1)*(1-Math.abs(u)),t[1]=(u>=0?1:-1)*(1-Math.abs(i))):(t[0]=i,t[1]=u),(0,o.S8)(t,t)}function i(t){return(0,r.qE)(Math.round(32767*t),-32767,32767)}function l(t){return(0,r.qE)(t/32767,-1,1)}n(51850)},74038(t,e,n){n.d(e,{_:()=>r});class r{constructor(t,e,n,r,o,s=!1,a=0,i=!1){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=o,this.normalized=s,this.divisor=a,this.integer=i}}},63907(t,e,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},o={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(o),a={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};n.d(e,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,o,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,a,"pe",0,r,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6661],{48163(t,n,e){function r(){return[0,0]}function o(t){return[t[0],t[1]]}function i(t,n){return[t,n]}function a(){return i(1,1)}function u(){return i(-1,-1)}function s(){return i(1,0)}function c(){return i(0,1)}e.d(n,{fA:()=>i,o8:()=>o,vt:()=>r});const f=a(),l=u(),h=s(),m=c();Object.freeze(Object.defineProperty({__proto__:null,NEGATIVE_ONES:l,ONES:f,UNIT_X:h,UNIT_Y:m,ZEROS:[0,0],clone:o,create:r,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const e=Math.min(2,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:i,negativeOnes:u,ones:a,unitX:s,unitY:c,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["IA",0,l,"Un",0,f])},51850(t,n,e){function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function i(t,n,e){return[t,n,e]}function a(t,n,e){return[t,n,e]}function u(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 s(){return[0,0,0]}function c(){return i(1,1,1)}function f(){return i(1,0,0)}function l(){return i(0,1,0)}function h(){return i(0,0,1)}e.d(n,{CN:()=>a,S:()=>c,Ul:()=>s,ci:()=>u,fA:()=>i,o8:()=>o,vt:()=>r});const m=[0,0,0],d=c(),M=f(),g=l(),y=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:M,UNIT_Y:g,UNIT_Z:y,ZEROS:m,clone:o,create:r,freeze:a,fromArray:u,fromValues:i,ones:c,unitX:f,unitY:l,unitZ:h,zeros:s},Symbol.toStringTag,{value:"Module"})),e.d(n,["Cb",0,y,"Cw",0,M,"JP",0,g,"Un",0,d,"uY",0,m])},91829(t,n,e){function r(){return[0,0,0,0]}function o(t,n,e,r){return[t,n,e,r]}function i(t,n,e,r){return[t,n,e,r]}function a(){return o(1,1,1,1)}function u(){return o(1,0,0,0)}function s(){return o(0,1,0,0)}function c(){return o(0,0,1,0)}function f(){return o(0,0,0,1)}e.d(n,{CN:()=>i,_Y:()=>f,fA:()=>o,vt:()=>r});const l=[0,0,0,0],h=a(),m=u(),d=s(),M=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:g,UNIT_X:m,UNIT_Y:d,UNIT_Z:M,ZEROS:l,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:i,fromArray:function(t,n=[0,0,0,0]){const e=Math.min(4,t.length);for(let r=0;r<e;++r)n[r]=t[r];return n},fromValues:o,ones:a,unitW:f,unitX:u,unitY:s,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Un",0,h,"uY",0,l])},34304(t,n,e){e.d(n,{DF:()=>s,FD:()=>o,ct:()=>c});let r=1e-6;function o(){return r}const i=Math.random,a=Math.PI/180,u=180/Math.PI;function s(t){return t*a}function c(t){return t*u}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(t,n){return Math.abs(t-n)<=r*Math.max(1,Math.abs(t),Math.abs(n))},getEpsilon:o,setEpsilon:function(t){r=t},toDegree:c,toRadian:s},Symbol.toStringTag,{value:"Module"})),e.d(n,["Ov",0,i])},37585(t,n,e){e.d(n,{C:()=>i,Cc:()=>S,Io:()=>g,LI:()=>m,Ln:()=>M,Om:()=>A,Re:()=>s,S8:()=>v,T9:()=>l,WQ:()=>u,aI:()=>N,e$:()=>x,hG:()=>y,hZ:()=>a,hs:()=>d,l0:()=>_,qE:()=>h,t2:()=>I,ze:()=>w});var r=e(34727),o=e(34304);function i(t,n){return t[0]=n[0],t[1]=n[1],t}function a(t,n,e){return t[0]=n,t[1]=e,t}function u(t,n,e){return t[0]=n[0]+e[0],t[1]=n[1]+e[1],t}function s(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t}function c(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t}function f(t,n,e){return t[0]=n[0]/e[0],t[1]=n[1]/e[1],t}function l(t,n,e){return t[0]=Math.max(n[0],e[0]),t[1]=Math.max(n[1],e[1]),t}function h(t,n,e,o){return t[0]=(0,r.qE)(n[0],e[0],o[0]),t[1]=(0,r.qE)(n[1],e[1],o[1]),t}function m(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t}function d(t,n,e){return t[0]=n[0]*e,t[1]=n[1]*e,t}function M(t,n,e,r){return t[0]=n[0]+e[0]*r,t[1]=n[1]+e[1]*r,t}function g(t,n){const e=n[0]-t[0],r=n[1]-t[1];return Math.sqrt(e*e+r*r)}function y(t,n){const e=n[0]-t[0],r=n[1]-t[1];return e*e+r*r}function b(t){const n=t[0],e=t[1];return Math.sqrt(n*n+e*e)}function p(t){const n=t[0],e=t[1];return n*n+e*e}function w(t,n){return t[0]=-n[0],t[1]=-n[1],t}function v(t,n){const e=n[0],r=n[1];let o=e*e+r*r;return o>0&&(o=1/Math.sqrt(o),t[0]=n[0]*o,t[1]=n[1]*o),t}function A(t,n){return t[0]*n[0]+t[1]*n[1]}function S(t,n,e,r){const o=n[0],i=n[1];return t[0]=o+r*(e[0]-o),t[1]=i+r*(e[1]-i),t}function _(t,n,e){const r=n[0],o=n[1];return t[0]=e[0]*r+e[2]*o+e[4],t[1]=e[1]*r+e[3]*o+e[5],t}function x(t,n,e,r){const o=n[0]-e[0],i=n[1]-e[1],a=Math.sin(r),u=Math.cos(r);return t[0]=o*u-i*a+e[0],t[1]=o*a+i*u+e[1],t}function I(t,n){return t[0]===n[0]&&t[1]===n[1]}function N(t,n){const e=t[0],r=t[1],i=n[0],a=n[1],u=(0,o.FD)();return Math.abs(e-i)<=u*Math.max(1,Math.abs(e),Math.abs(i))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))}const U=b,E=s,O=c,T=f,q=g,C=y,z=p;Object.freeze(Object.defineProperty({__proto__:null,add:u,angle:function(t,n){const e=t[0],r=t[1],o=n[0],i=n[1];let a=e*e+r*r;a>0&&(a=1/Math.sqrt(a));let u=o*o+i*i;u>0&&(u=1/Math.sqrt(u));const s=(e*o+r*i)*a*u;return s>1?0:s<-1?Math.PI:Math.acos(s)},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t},clamp:h,copy:i,cross:function(t,n,e){const r=n[0]*e[1]-n[1]*e[0];return t[0]=t[1]=0,t[2]=r,t},dist:q,distance:g,div:T,divide:f,dot:A,equals:N,exactEquals:I,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t},len:U,length:b,lerp:S,max:l,min:function(t,n,e){return t[0]=Math.min(n[0],e[0]),t[1]=Math.min(n[1],e[1]),t},mul:O,multiply:c,negate:w,normalize:v,projectAndScale:function(t,n,e,r,o){let i=n[0]-e[0],a=n[1]-e[1];const u=(r[0]*i+r[1]*a)*(o-1);return i=r[0]*u,a=r[1]*u,t[0]=n[0]+i,t[1]=n[1]+a,t},random:function(t,n=1){const e=2*(0,o.Ov)()*Math.PI;return t[0]=Math.cos(e)*n,t[1]=Math.sin(e)*n,t},rotate:x,round:m,scale:d,scaleAndAdd:M,set:a,sqrDist:C,sqrLen:z,squaredDistance:y,squaredLength:p,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:E,subtract:s,transformMat2:function(t,n,e){const r=n[0],o=n[1];return t[0]=e[0]*r+e[2]*o,t[1]=e[1]*r+e[3]*o,t},transformMat2d:_,transformMat3:function(t,n,e){const r=n[0],o=n[1];return t[0]=e[0]*r+e[3]*o+e[6],t[1]=e[1]*r+e[4]*o+e[7],t},transformMat4:function(t,n,e){const r=n[0],o=n[1];return t[0]=e[0]*r+e[4]*o+e[12],t[1]=e[1]*r+e[5]*o+e[13],t}},Symbol.toStringTag,{value:"Module"})),e.d(n,["Il",0,U,"jb",0,E,"xg",0,q])},35522(t,n,e){e.d(n,{$A:()=>x,Bw:()=>i,C:()=>a,Cc:()=>I,DI:()=>A,Io:()=>b,Ln:()=>y,Om:()=>_,Qr:()=>l,Re:()=>c,S8:()=>S,T9:()=>M,WQ:()=>s,Z0:()=>N,_S:()=>m,aI:()=>B,ei:()=>U,fw:()=>O,g7:()=>T,gL:()=>E,hG:()=>p,hZ:()=>u,hs:()=>g,jk:()=>d,lw:()=>f,m3:()=>w,oW:()=>F,t2:()=>z,tn:()=>h,ze:()=>v});var r=e(51850),o=e(34304);function i(t){const n=t[0],e=t[1],r=t[2];return Math.sqrt(n*n+e*e+r*r)}function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function u(t,n,e,r){return t[0]=n,t[1]=e,t[2]=r,t}function s(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 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,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){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 d(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 M(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 y(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 b(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return Math.sqrt(e*e+r*r+o*o)}function p(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2];return e*e+r*r+o*o}function w(t){const n=t[0],e=t[1],r=t[2];return n*n+e*e+r*r}function v(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function A(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function S(t,n){const e=n[0],r=n[1],o=n[2];let i=e*e+r*r+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i,t[2]=n[2]*i),t}function _(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function x(t,n,e){const r=n[0],o=n[1],i=n[2],a=e[0],u=e[1],s=e[2];return t[0]=o*s-i*u,t[1]=i*a-r*s,t[2]=r*u-o*a,t}function I(t,n,e,r){const o=n[0],i=n[1],a=n[2];return t[0]=o+r*(e[0]-o),t[1]=i+r*(e[1]-i),t[2]=a+r*(e[2]-a),t}function N(t,n,e){const r=n[0],o=n[1],i=n[2];return t[0]=e[0]*r+e[4]*o+e[8]*i+e[12],t[1]=e[1]*r+e[5]*o+e[9]*i+e[13],t[2]=e[2]*r+e[6]*o+e[10]*i+e[14],t}function U(t,n,e){const r=n[0],o=n[1],i=n[2];return t[0]=r*e[0]+o*e[3]+i*e[6],t[1]=r*e[1]+o*e[4]+i*e[7],t[2]=r*e[2]+o*e[5]+i*e[8],t}function E(t,n,e){return O(t,n,e[0],e[1],e[2],e[3])}function O(t,n,e,r,o,i){const a=n[0],u=n[1],s=n[2],c=r*s-o*u,f=o*a-e*s,l=e*u-r*a,h=r*l-o*f,m=o*c-e*l,d=e*f-r*c,M=2*i;return t[0]=a+c*M+2*h,t[1]=u+f*M+2*m,t[2]=s+l*M+2*d,t}function T(t,n){S(q,t),S(C,n);const e=_(q,C);return e>1?0:e<-1?Math.PI:Math.acos(e)}const q=(0,r.vt)(),C=(0,r.vt)();function z(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function B(t,n){if(t===n)return!0;const e=t[0],r=t[1],i=t[2],a=n[0],u=n[1],s=n[2],c=(0,o.FD)();return Math.abs(e-a)<=c*Math.max(1,Math.abs(e),Math.abs(a))&&Math.abs(r-u)<=c*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(i-s)<=c*Math.max(1,Math.abs(i),Math.abs(s))}function F(t,n,e){const r=e[0]-n[0],o=e[1]-n[1],i=e[2]-n[2];let a=r*r+o*o+i*i;return a>0?(a=1/Math.sqrt(a),t[0]=r*a,t[1]=o*a,t[2]=i*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const P=c,L=f,V=l,R=b,j=p,D=i,W=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:s,angle:T,bezier:function(t,n,e,r,o,i){const a=1-i,u=a*a,s=i*i,c=u*a,f=3*i*u,l=3*s*a,h=s*i;return t[0]=n[0]*c+e[0]*f+r[0]*l+o[0]*h,t[1]=n[1]*c+e[1]*f+r[1]*l+o[1]*h,t[2]=n[2]*c+e[2]*f+r[2]*l+o[2]*h,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:a,cross:x,crossAndNormalize:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=e[0],u=e[1],s=e[2],c=o*s-i*u,f=i*a-r*s,l=r*u-o*a,h=Math.sqrt(c*c+f*f+l*l);return t[0]=c/h,t[1]=f/h,t[2]=l/h,t},direction:F,dist:R,distance:b,div:V,divide:l,dot:_,equals:B,exactEquals:z,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,o,i){const a=i*i,u=a*(2*i-3)+1,s=a*(i-2)+i,c=a*(i-1),f=a*(3-2*i);return t[0]=n[0]*u+e[0]*s+r[0]*c+o[0]*f,t[1]=n[1]*u+e[1]*s+r[1]*c+o[1]*f,t[2]=n[2]*u+e[2]*s+r[2]*c+o[2]*f,t},inverse:A,len:D,length:i,lerp:I,max:M,min:d,mul:L,multiply:f,negate:v,normalize:S,random:function(t,n=1){const e=o.Ov,r=2*e()*Math.PI,i=2*e()-1,a=Math.sqrt(1-i*i)*n;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=i*n,t},rotateX:function(t,n,e,r){const o=[],i=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},rotateY:function(t,n,e,r){const o=[],i=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[2]+e[2],t},rotateZ:function(t,n,e,r){const o=[],i=[];return o[0]=n[0]-e[0],o[1]=n[1]-e[1],o[2]=n[2]-e[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],t[0]=i[0]+e[0],t[1]=i[1]+e[1],t[2]=i[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:y,set:u,sign:m,sqrDist:j,sqrLen:W,squaredDistance:p,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:P,subtract:c,transformMat3:U,transformMat4:N,transformQuat:E,transformQuatValues:O},Symbol.toStringTag,{value:"Module"})),e.d(n,["Il",0,D,"jb",0,P,"lo",0,j,"uE",0,W,"xg",0,R])},78955(t,n,e){e.d(n,{Bw:()=>g,C:()=>o,Cc:()=>w,LI:()=>h,Om:()=>p,S8:()=>b,T9:()=>l,WQ:()=>a,Z0:()=>v,aI:()=>S,hG:()=>M,hZ:()=>i,hs:()=>m,jk:()=>f,m3:()=>y,t2:()=>A});var r=e(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function i(t,n,e,r,o){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,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[3]=n[3]+e[3],t}function u(t,n,e){return t[0]=n[0]-e[0],t[1]=n[1]-e[1],t[2]=n[2]-e[2],t[3]=n[3]-e[3],t}function s(t,n,e){return t[0]=n[0]*e[0],t[1]=n[1]*e[1],t[2]=n[2]*e[2],t[3]=n[3]*e[3],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[3]=n[3]/e[3],t}function f(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[3]=Math.min(n[3],e[3]),t}function l(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[3]=Math.max(n[3],e[3]),t}function h(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,e){return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t}function d(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2],i=n[3]-t[3];return Math.sqrt(e*e+r*r+o*o+i*i)}function M(t,n){const e=n[0]-t[0],r=n[1]-t[1],o=n[2]-t[2],i=n[3]-t[3];return e*e+r*r+o*o+i*i}function g(t){const n=t[0],e=t[1],r=t[2],o=t[3];return Math.sqrt(n*n+e*e+r*r+o*o)}function y(t){const n=t[0],e=t[1],r=t[2],o=t[3];return n*n+e*e+r*r+o*o}function b(t,n){const e=n[0],r=n[1],o=n[2],i=n[3];let a=e*e+r*r+o*o+i*i;return a>0&&(a=1/Math.sqrt(a),t[0]=e*a,t[1]=r*a,t[2]=o*a,t[3]=i*a),t}function p(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function w(t,n,e,r){const o=n[0],i=n[1],a=n[2],u=n[3];return t[0]=o+r*(e[0]-o),t[1]=i+r*(e[1]-i),t[2]=a+r*(e[2]-a),t[3]=u+r*(e[3]-u),t}function v(t,n,e){const r=n[0],o=n[1],i=n[2],a=n[3];return t[0]=e[0]*r+e[4]*o+e[8]*i+e[12]*a,t[1]=e[1]*r+e[5]*o+e[9]*i+e[13]*a,t[2]=e[2]*r+e[6]*o+e[10]*i+e[14]*a,t[3]=e[3]*r+e[7]*o+e[11]*i+e[15]*a,t}function A(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function S(t,n){const e=t[0],o=t[1],i=t[2],a=t[3],u=n[0],s=n[1],c=n[2],f=n[3],l=(0,r.FD)();return Math.abs(e-u)<=l*Math.max(1,Math.abs(e),Math.abs(u))&&Math.abs(o-s)<=l*Math.max(1,Math.abs(o),Math.abs(s))&&Math.abs(i-c)<=l*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(a-f)<=l*Math.max(1,Math.abs(a),Math.abs(f))}const _=u,x=s,I=c,N=d,U=M,E=g,O=y;Object.freeze(Object.defineProperty({__proto__:null,add:a,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:N,distance:d,div:I,divide:c,dot:p,equals:S,exactEquals:A,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:E,length:g,lerp:w,max:l,min:f,mul:x,multiply:s,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 e=r.Ov;let o,i,a,u,s,c;do{o=2*e()-1,i=2*e()-1,s=o*o+i*i}while(s>=1);do{a=2*e()-1,u=2*e()-1,c=a*a+u*u}while(c>=1);const f=Math.sqrt((1-s)/c);return t[0]=n*o,t[1]=n*i,t[2]=n*a*f,t[3]=n*u*f,t},round:h,scale:m,scaleAndAdd:function(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[3]=n[3]+e[3]*r,t},set:i,sqrDist:U,sqrLen:O,squaredDistance:M,squaredLength:y,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:_,subtract:u,transformMat4:v,transformQuat:function(t,n,e){const r=n[0],o=n[1],i=n[2],a=e[0],u=e[1],s=e[2],c=e[3],f=c*r+u*i-s*o,l=c*o+s*r-a*i,h=c*i+a*o-u*r,m=-a*r-u*o-s*i;return t[0]=f*c+m*-a+l*-s-h*-u,t[1]=l*c+m*-u+h*-a-f*-s,t[2]=h*c+m*-s+f*-u-l*-a,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},34727(t,n,e){e.d(n,{$8:()=>_,Cc:()=>u,Hx:()=>g,Io:()=>A,KJ:()=>f,OS:()=>N,Sp:()=>m,XM:()=>l,YN:()=>h,ZH:()=>M,b6:()=>S,cU:()=>o,gg:()=>d,hs:()=>s,kU:()=>c,mP:()=>a,or:()=>I,pF:()=>E,qE:()=>i});const r=new Float32Array(1);function o(t){--t;for(let n=1;n<32;n<<=1)t|=t>>n;return t+1}function i(t,n,e){return Math.min(Math.max(t,n),e)}function a(t,n){return 0===n?0:Math.ceil(t/n)*n}function u(t,n,e){return t+(n-t)*e}function s(t,n,e,r,o){return u(r,o,(t-n)/(e-n))}function c(t){return t*Math.PI/180}function f(t){return 180*t/Math.PI}function l(t){return Math.acos(i(t,-1,1))}function h(t){return Math.asin(i(t,-1,1))}function m(t,n,e=1e-6){return t===n||!(!Number.isFinite(t)||!Number.isFinite(n))&&(t>n?t-n:n-t)<=e}function d(t,n,e=1e-6){return!m(t,n,e)&&t>n}function M(t,n,e=1e-6){return!m(t,n,e)&&t<n}function g(t,n,e=1e-6){return m(t,n,e)||t>n}const y=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function b(t){return y.setFloat64(0,t),y.getBigInt64(0)}const p=1000000n,w=v(1);function v(t){const n=b(t=Math.abs(t)),e=function(t){return y.setBigInt64(0,t),y.getFloat64(0)}(n<=p?p:n-p);return Math.abs(t-e)}function A(t,n,e=w){if(t===n)return!0;if(!Number.isFinite(t)||!Number.isFinite(n))return!1;if(null!=e&&v(Math.min(Math.abs(t),Math.abs(n)))<e)return Math.abs(t-n)<=e;const r=b(t),o=b(n);return r<0==o<0&&!((r<o?o-r:r-o)>p)}function S(t,n,e=1e-6){if(t===n)return!0;if(!Number.isFinite(t)||!Number.isFinite(n))return!1;const r=Math.abs(t-n),o=Math.abs(t),i=Math.abs(n);if(0===t||0===n||o<1e-12&&i<1e-12){if(r>.01*e)return!1}else if(r/(o+i)>e)return!1;return!0}function _(t){return x(Math.max(-U,Math.min(t,U)))}function x(t){return r[0]=t,r[0]}function I(t){const n=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],e=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],r=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(m(n,1)&&m(e,1)&&m(r,1))}function N(t,n){return(t%n+n)%n}const U=x(34028234663852886e22);function E(t,n,e){if(void 0===e||0===+e)return Math[t](n);if(n=+n,e=+e,isNaN(n)||"number"!=typeof e||e%1!=0)return NaN;let r=n.toString().split("e");return r=(n=Math[t](+(r[0]+"e"+(r[1]?+r[1]-e:-e)))).toString().split("e"),+(r[0]+"e"+(r[1]?+r[1]+e:e))}e.d(n,["pq",0,U])},97146(t,n,e){e.d(n,{Dg:()=>i,lC:()=>u,my:()=>a,tM:()=>l,uW:()=>o});var r=e(34275);function o(t){return i(t,!0)}function i(t,n){if(Array.isArray(t)){if(t.length<1024)return t}else if(t.length<1024)return Array.from(t);let e=!0,o=!0;return t.some((t,n)=>(e=e&&0===t,o=o&&t===n,!e&&!o)),e?function(t){if(1===t)return c;if(t<1024)return new Array(t).fill(0);if(t>m.length){const n=Math.max(2*m.length,t);m=new Uint8Array(n)}return new Uint8Array(m.buffer,0,t)}(t.length):o?l(t.length):(0,r.iu)(t)&&t.BYTES_PER_ELEMENT===Uint16Array.BYTES_PER_ELEMENT?t:function(t,n){for(const e of t){if(e>=65536)return(0,r.iu)(t)?t:new Uint32Array(t);e>=256&&(n=!1)}return n?new Uint8Array(t):new Uint16Array(t)}(t,!n)}function a(t,n=t){return t<=1024?new Array(t):n<=65536?new Uint16Array(t):new Uint32Array(t)}function u(t,n,e){if(0===n.length)return t.slice();if(0===t.length)return n.slice();const r=a(t.length+n.length,e);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}let s=h(131072);const c=[0],f=(()=>{const t=new Uint16Array(65536);for(let n=0;n<t.length;++n)t[n]=n;return t})();function l(t){return 1===t?c:t<1024?Array.from(new Uint16Array(f.buffer,0,t)):t<f.length?new Uint16Array(f.buffer,0,t):(t>s.length&&(s=h(Math.max(2*s.length,t))),new Uint32Array(s.buffer,0,t))}function h(t){const n=new Uint32Array(t);for(let t=0;t<n.length;t++)n[t]=t;return n}let m=new Uint8Array(65536)},10614(t,n,e){e.d(n,{Tz:()=>a,aT:()=>i});var r=e(34727),o=e(35522);function i(t,n,e,r,o,i=2,a=0){const s=1/(Math.abs(e)+Math.abs(r)+Math.abs(o)),c=e*s,f=r*s,l=o<=0?(c>=0?1:-1)*(1-Math.abs(f)):c,h=o<=0?(f>=0?1:-1)*(1-Math.abs(c)):f,m=n*i+a;t[m]=u(l),t[m+1]=u(h)}function a(t,n,e,r=2,i=0){const a=e*r+i,u=s(n[a]),c=s(n[a+1]),f=1-Math.abs(u)-Math.abs(c);return t[2]=f,f<0?(t[0]=(u>=0?1:-1)*(1-Math.abs(c)),t[1]=(c>=0?1:-1)*(1-Math.abs(u))):(t[0]=u,t[1]=c),(0,o.S8)(t,t)}function u(t){return(0,r.qE)(Math.round(32767*t),-32767,32767)}function s(t){return(0,r.qE)(t/32767,-1,1)}e(51850)},52728(t,n,e){e.d(n,{m:()=>g});var r=e(63907);class o{constructor(t){this.internalFormat=t,this.channelByteStride=4,this.dataType=r.ld.UNSIGNED_INT,this.elementArrayConstructor=Uint32Array,this.pixelFormat=a[t],this.channels=i[this.pixelFormat],this.byteStride=this.channelByteStride*this.channels}}const i={36244:1,33320:2,36249:4},a={[r.H0.R32UI]:36244,[r.H0.RG32UI]:33320,[r.H0.RGBA32UI]:36249},u=[new o(r.H0.RGBA32UI),new o(r.H0.RG32UI),new o(r.H0.R32UI)];function s(t){let n=1/0,e=null;for(const r of u){const o=r.byteStride,i=(o-t%o)%o;i<n&&(n=i,e=r)}return e??u[2]}var c=e(20498),f=e(13030),l=e(90239);class h{constructor(t,n,e){this.elementCount=t,this.elementType=n,this.bufferViewConstructor=e,this.byteSize=function(t){return(0,l.GJ)(t.ElementType)*t.ElementCount}(e)}}const m={u8:new h(1,"uint",f.SL),vec4u8:new h(4,"uint",f.XP),unorm8:new h(1,"float",f.dy),vec4unorm8:new h(4,"float",f.td),snorm16:new h(1,"float",f.Qy),vec2snorm16:new h(2,"float",f.ES),f16:new h(1,"float",c.SX?f.XW:f.Y$),vec4f16:new h(4,"float",c.SX?f.jz:f.Eq),f32:new h(1,"float",f.Y$),vec2f32:new h(2,"float",f.gH),vec3f32:new h(3,"float",f.xs),vec4f32:new h(4,"float",f.Eq),mat3f32:new h(9,"float",f.jZ)};class d{constructor(t,n,e,r){this._declaration=t,this._byteOffset=n,this._creationInfo=r,this._startTexel=Math.floor(n/e);const o=r.byteSize;this._numTexels=Math.ceil((n+o)/e)-this._startTexel,this._texelByteStride=e}get name(){return this._declaration.name}get fieldType(){return this._declaration.type}get byteOffset(){return this._byteOffset}get startTexel(){return this._startTexel}get numTexels(){return this._numTexels}get texelByteStride(){return this._texelByteStride}get elementType(){return this._creationInfo.elementType}get elementCount(){return this._creationInfo.elementCount}get byteSize(){return this._creationInfo.byteSize}get bufferViewConstructor(){return this._creationInfo.bufferViewConstructor}}class M{constructor(t,n,e,r=0){this.layout=t,this.byteOffset=r,this._bufferViews=new Map,this.buffer="number"==typeof n?new ArrayBuffer(n*t.byteStride):n,this.texelElementBuffer=new e(this.buffer,r);const o=this._bufferViews;for(const[t,n]of this.layout.fields)o.set(t,new n.bufferViewConstructor(this.buffer,r+n.byteOffset,this.layout.byteStride))}get stride(){return this.layout.byteStride}get count(){return this.byteLength/this.stride}get byteLength(){return this.buffer.byteLength-this.byteOffset}getField(t,n){const e=this._bufferViews.get(t);return null!=e&&e.elementCount===n.ElementCount&&e.elementType===n.ElementType?e:null}copyItem(t,n){const{buffer:e,layout:r,byteOffset:o}=this,i=new Uint8Array(e),a=r.byteStride,u=o+t*a,s=o+n*a;i.copyWithin(s,u,u+a)}get usedMemory(){return this.byteLength}}class g{constructor(t){this._fields=new Map;let n=0;const e=[];for(let r=0;r<t.length;++r){const o=t[r],{type:i}=o,a=m[i];e.push({declaration:o,byteOffset:n,creationInfo:a}),n+=a.byteSize}this.texelFormatInfo=s(n);const{texelByteStride:r}=this;n=Math.ceil(n/r)*r;const o=n,i=this._fields;for(const{declaration:t,byteOffset:n,creationInfo:o}of e)i.set(t.name,new d(t,n,r,o));this.byteStride=o,this.texelStride=Math.ceil(o/r)}get texelByteStride(){return this.texelFormatInfo.byteStride}get texelElementArrayConstructor(){return this.texelFormatInfo.elementArrayConstructor}get stride(){return this.byteStride}get fields(){return this._fields}createBuffer(t){return new M(this,t,this.texelElementArrayConstructor)}createView(t,n){return new M(this,t,this.texelElementArrayConstructor,n)}}},3055(t,n,e){var r=e(4431),o=e(1843),i=e(52728);const a=(0,o.BP)().vec3f("position").u16("componentIndex",{integer:!0}).freeze(),u=(0,o.BP)().vec2u8("sideness").freeze(),s=(0,r.U)(u),c=(0,o.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").u16("componentIndex",{integer:!0}).u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),f=(0,o.BP)().vec3f("position0").vec3f("position1").vec2i16("normalCompressed").vec2i16("normal2Compressed").u16("componentIndex",{integer:!0}).u8("variantOffset",{glNormalized:!0}).u8("variantStroke").u8("variantExtension",{glNormalized:!0}).freeze(),l=(0,r.U)(c,1),h=(0,r.U)(f,1);s.concat(l),s.concat(h),new i.m([{name:"color",type:"vec4unorm8"},{name:"lineWidth",type:"u8"},{name:"extensionLength",type:"u8"},{name:"materialType",type:"u8"},{name:"opacity",type:"unorm8"},{name:"elevationOffset",type:"f32"}]),e.d(n,["I$",0,a,"In",0,f,"gr",0,c])},93406(t,n,e){e.d(n,{K:()=>u});var r=e(34727),o=e(15142),i=e(35522),a=e(51850);function u(t,n,e){const r=t.vertices.position,o=t.vertices.componentIndex,a=d.position0,u=d.position1,f=d.faceNormal0,h=d.faceNormal1,{edges:m,normals:M}=c(t),g=m.length/4,y=n.allocate(g);let b=0;const p=g,A=e?.allocate(p);let _=0,x=0,I=0;l.length=0;for(let t=0;t<g;++t){const n=4*t;r.getVec(m.data[n],a),r.getVec(m.data[n+1],u);const e=l.pushNew();e.index=4*t,e.length=(0,i.Io)(a,u)}l.sort((t,n)=>n.length-t.length);const N=new Array,U=new Array;l.forAll(({length:t,index:c})=>{const l=m.data[c],g=m.data[c+1],p=m.data[c+2],E=m.data[c+3],O=-1===E;if(r.getVec(l,a),r.getVec(g,u),O){const t=3*p;(0,i.hZ)(f,M.data[t],M.data[t+1],M.data[t+2]),(0,i.C)(h,f),d.componentIndex=o.get(l),d.cosAngle=(0,i.Om)(f,h)}else{let t=3*p;if((0,i.hZ)(f,M.data[t],M.data[t+1],M.data[t+2]),t=3*E,(0,i.hZ)(h,M.data[t],M.data[t+1],M.data[t+2]),d.componentIndex=o.get(l),d.cosAngle=(0,i.Om)(f,h),function(t,n){return t.cosAngle>n}(d,v))return;d.cosAngle<-.9999&&(0,i.C)(h,f)}x+=t,I++,O||function(t,n){return t.cosAngle<n}(d,S)?(n.write(y,b++,d),N.push(t)):s(d,w)&&(A&&e&&e.write(A,_++,d),U.push(t))});const E=new Float32Array(N.reverse()),O=new Float32Array(U.reverse()),T=A&&e?{instancesData:A.slice(0,_),lodInfo:{lengths:O}}:void 0;return{regular:{instancesData:y.slice(0,b),lodInfo:{lengths:E}},silhouette:T,averageEdgeLength:x/I}}function s(t,n){const e=(0,r.XM)(t.cosAngle);return(0,i.oW)(g,t.position1,t.position0),e*((0,i.Om)((0,i.$A)(M,t.faceNormal0,t.faceNormal1),g)>0?-1:1)>n}function c(t){const n=t.faces.length/3,e=t.faces,r=t.neighbors,o=t.vertices.position;h.length=m.length=0;for(let t=0;t<n;t++){const n=3*t,a=r[n],u=r[n+1],s=r[n+2],c=e[n],f=e[n+1],l=e[n+2];o.getVec(c,y),o.getVec(f,b),o.getVec(l,p),(0,i.Re)(b,b,y),(0,i.Re)(p,p,y),(0,i.$A)(y,b,p),(0,i.S8)(y,y),m.pushArray(y),(-1===a||c<f)&&(h.push(c),h.push(f),h.push(t),h.push(a)),(-1===u||f<l)&&(h.push(f),h.push(l),h.push(t),h.push(u)),(-1===s||l<c)&&(h.push(l),h.push(c),h.push(t),h.push(s))}return{edges:h,normals:m}}class f{constructor(){this.index=0,this.length=0}}const l=new o.A({allocator:t=>t||new f,deallocator:null}),h=new o.A({deallocator:null}),m=new o.A({deallocator:null}),d=new class{constructor(){this.position0=(0,a.vt)(),this.position1=(0,a.vt)(),this.faceNormal0=(0,a.vt)(),this.faceNormal1=(0,a.vt)(),this.componentIndex=0,this.cosAngle=0}},M=(0,a.vt)(),g=(0,a.vt)(),y=(0,a.vt)(),b=(0,a.vt)(),p=(0,a.vt)(),w=(0,r.kU)(4),v=Math.cos(w),A=(0,r.kU)(35),S=Math.cos(A)},44801(t,n,e){e.d(n,{o6:()=>N,HY:()=>C,hx:()=>U,Jb:()=>q});var r=e(34727),o=e(97146);function i(t,n,e){const i=Array.isArray(t),f=i?t.length/n:t.byteLength/(4*n),l=i?t:new Uint32Array(t,0,f*n),h=e?.minReduction??0,m=e?.originalIndices||null,d=m?m.length:0,M=e?.componentOffsets||null;let g=0;if(M)for(let t=0;t<M.length-1;t++){const n=M[t+1]-M[t];n>g&&(g=n)}else g=f;const y=Math.floor(1.1*g)+1;(null==c||c.length<2*y)&&(c=new Uint32Array((0,r.cU)(2*y)));for(let t=0;t<2*y;t++)c[t]=0;let b=0;const p=!!M&&!!m,w=p?d:f;let v=(0,o.my)(f);const A=new Uint32Array(d),S=1.96;let _=0!==h?Math.ceil(4*S*S/(h*h)*h*(1-h)):w,x=1,I=M?M[1]:w;for(let t=0;t<w;t++){if(t===_){const n=1-b/t;if(n+S*Math.sqrt(n*(1-n)/t)<h)return null;_*=2}if(t===I){for(let t=0;t<2*y;t++)c[t]=0;if(m)for(let t=M[x-1];t<M[x];t++)A[t]=v[m[t]];I=M[++x]}const e=p?m[t]:t,r=e*n,o=s(l,r,n);let i=o%y,u=b;for(;0!==c[2*i+1];){if(c[2*i]===o){const t=c[2*i+1]-1;if(a(l,r,t*n,n)){u=v[t];break}}i++,i>=y&&(i-=y)}u===b&&(c[2*i]=o,c[2*i+1]=e+1,b++),v[e]=u}if(0!==h&&1-b/f<h)return null;if(p){for(let t=M[x-1];t<A.length;t++)A[t]=v[m[t]];v=(0,o.uW)(A)}const N=i?new Array(b):new Uint32Array(b*n);b=0;for(let t=0;t<w;t++)v[t]===b&&(u(l,(p?m[t]:t)*n,N,b*n,n),b++);if(m&&!p){const t=new Uint32Array(d);for(let n=0;n<t.length;n++)t[n]=v[m[n]];v=(0,o.uW)(t)}return{buffer:Array.isArray(N)?N:N.buffer,indices:v,uniqueCount:b}}function a(t,n,e,r){for(let o=0;o<r;o++)if(t[n+o]!==t[e+o])return!1;return!0}function u(t,n,e,r,o){for(let i=0;i<o;i++)e[r+i]=t[n+i]}function s(t,n,e){let r=0;for(let o=0;o<e;o++)r=t[n+o]+r|0,r=r+(r<<11)+(r>>>2)|0;return r>>>0}let c=null;function f(t,n,e){const r=n/3,o=new Uint32Array(e+1),i=new Uint32Array(e+1),a=(t,n)=>{t<n?o[t+1]++:i[n+1]++};for(let n=0;n<r;n++){const e=t[3*n],r=t[3*n+1],o=t[3*n+2];a(e,r),a(r,o),a(o,e)}let u=0,s=0;for(let t=0;t<e;t++){const n=o[t+1],e=i[t+1];o[t+1]=u,i[t+1]=s,u+=n,s+=e}const c=new Uint32Array(6*r),f=o[e],l=(t,n,e)=>{if(t<n){const r=o[t+1]++;c[2*r]=n,c[2*r+1]=e}else{const r=i[n+1]++;c[2*f+2*r]=t,c[2*f+2*r+1]=e}};for(let n=0;n<r;n++){const e=t[3*n],r=t[3*n+1],o=t[3*n+2];l(e,r,n),l(r,o,n),l(o,e,n)}const h=(t,n)=>{const e=2*t,r=n-t;for(let t=1;t<r;t++){const n=c[e+2*t],r=c[e+2*t+1];let o=t-1;for(;o>=0&&c[e+2*o]>n;o--)c[e+2*o+2]=c[e+2*o],c[e+2*o+3]=c[e+2*o+1];c[e+2*o+2]=n,c[e+2*o+3]=r}};for(let t=0;t<e;t++)h(o[t],o[t+1]),h(f+i[t],f+i[t+1]);const m=new Int32Array(3*r),d=(n,e)=>n===t[3*e]?0:n===t[3*e+1]?1:n===t[3*e+2]?2:-1,M=(t,n)=>{const e=d(t,n);m[3*n+e]=-1},g=(t,n,e,r)=>{const o=d(t,n);m[3*n+o]=r;const i=d(e,r);m[3*r+i]=n};for(let t=0;t<e;t++){let n=o[t];const e=o[t+1];let r=i[t];const a=i[t+1];for(;n<e&&r<a;){const e=c[2*n],o=c[2*f+2*r];e===o?(g(t,c[2*n+1],o,c[2*f+2*r+1]),n++,r++):e<o?(M(t,c[2*n+1]),n++):(M(o,c[2*f+2*r+1]),r++)}for(;n<e;)M(t,c[2*n+1]),n++;for(;r<a;)M(c[2*f+2*r],c[2*f+2*r+1]),r++}return m}var l=e(1843),h=e(3055),m=e(87811),d=e(35522),M=e(51850),g=e(10614);class y{updateSettings(t){this.settings=t,this._edgeHashFunction=t.reducedPrecision?A:v}write(t,n,e){x.seed=this._edgeHashFunction(e);const r=x.getIntRange(0,255),o=x.getIntRange(0,this.settings.variants-1),i=x.getFloat(),a=255*(.5*function(t){return Math.abs(t)**1.2*Math.sign(t)}(-(1-Math.min(i/.7,1))+Math.max(0,i-.7)/(1-.7))+.5);t.position0.setVec(n,e.position0),t.position1.setVec(n,e.position1),t.componentIndex.set(n,e.componentIndex),t.variantOffset.set(n,r),t.variantStroke.set(n,o),t.variantExtension.set(n,a)}}const b=new Float32Array(6),p=new Uint32Array(b.buffer),w=new Uint32Array(1);function v(t){return b[0]=t.position0[0],b[1]=t.position0[1],b[2]=t.position0[2],b[3]=t.position1[0],b[4]=t.position1[1],b[5]=t.position1[2],w[0]=31*(31*(31*(31*(31*(166811+p[0])+p[1])+p[2])+p[3])+p[4])+p[5],w[0]}function A(t){const n=b;n[0]=S(t.position0[0]),n[1]=S(t.position0[1]),n[2]=S(t.position0[2]),n[3]=S(t.position1[0]),n[4]=S(t.position1[1]),n[5]=S(t.position1[2]),w[0]=5381;for(let t=0;t<p.length;t++)w[0]=31*w[0]+p[t];return w[0]}function S(t){return Math.round(1e4*t)/1e4}const _=(0,M.vt)(),x=new m.A;var I=e(93406);function N(t){const n=U(t.data,t.skipDeduplicate,t.indices,t.indicesLength);return O.updateSettings(t.writerSettings),T.updateSettings(t.writerSettings),(0,I.K)(n,O,T)}function U(t,n,e,r){if(n){const n=f(e,r,t.count);return new E(e,r,n,t)}const o=i(t.buffer,t.stride/4,{originalIndices:e}),a=f(o.indices,r,o.uniqueCount);return{faces:o.indices,facesLength:o.indices.length,neighbors:a,vertices:h.I$.createView(o.buffer)}}class E{constructor(t,n,e,r){this.faces=t,this.facesLength=n,this.neighbors=e,this.vertices=r}}const O=new class{constructor(){this._commonWriter=new y}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return h.gr.createBuffer(t)}write(t,n,e){this._commonWriter.write(t,n,e),(0,d.WQ)(_,e.faceNormal0,e.faceNormal1),(0,d.S8)(_,_);const{typedBuffer:r,typedBufferStride:o}=t.normalCompressed;(0,g.aT)(r,n,_[0],_[1],_[2],o)}},T=new class{constructor(){this._commonWriter=new y}updateSettings(t){this._commonWriter.updateSettings(t)}allocate(t){return h.In.createBuffer(t)}write(t,n,e){this._commonWriter.write(t,n,e);{const{typedBuffer:r,typedBufferStride:o}=t.normalCompressed;(0,g.aT)(r,n,e.faceNormal0[0],e.faceNormal0[1],e.faceNormal0[2],o)}{const{typedBuffer:r,typedBufferStride:o}=t.normal2Compressed;(0,g.aT)(r,n,e.faceNormal1[0],e.faceNormal1[1],e.faceNormal1[2],o)}}},q=(0,l.BP)().vec3f("position0").vec3f("position1"),C=(0,l.BP)().vec3f("position0").vec3f("position1").u16("componentIndex",{integer:!0})}}]);
|
package/chunks/Zlib.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
var t=function(){function t(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return t.prototype={ensureBuffer:function(t){var e=this.buffer,r=e?e.byteLength:0;if(t<r)return e;for(var i=512;i<t;)i<<=1;for(var s=new Uint8Array(i),f=0;f<r;++f)s[f]=e[f];return this.buffer=s},getByte:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(t){var e=this.pos;if(t){this.ensureBuffer(e+t);for(var r=e+t;!this.eof&&this.bufferLength<r;)this.readBlock();var i=this.bufferLength;r>i&&(r=i)}else{for(;!this.eof;)this.readBlock();r=this.bufferLength}return this.pos=r,this.buffer.subarray(e,r)},lookChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(t,e,r){for(var i=t+e;this.bufferLength<=i&&!this.eof;)this.readBlock();return new Stream(this.buffer,t,e,r)},skip:function(t){t||(t=1),this.pos+=t},reset:function(){this.pos=0}},t}(),e=function(){if(!self||!self.Uint32Array)return null;var e=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),r=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),i=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),s=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],f=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];function n(t){throw new Error(t)}function o(e){var r=0,i=e[r++],s=e[r++];-1!=i&&-1!=s||n("Invalid header in flate stream"),8!=(15&i)&&n("Unknown compression method in flate stream"),((i<<8)+s)%31!=0&&n("Bad FCHECK in flate stream"),32&s&&n("FDICT bit set in flate stream"),this.bytes=e,this.bytesPos=r,this.codeSize=0,this.codeBuf=0,t.call(this)}return o.prototype=Object.create(t.prototype),o.prototype.getBits=function(t){for(var e,r=this.codeSize,i=this.codeBuf,s=this.bytes,f=this.bytesPos;r<t;)void 0===(e=s[f++])&&n("Bad encoding in flate stream"),i|=e<<r,r+=8;return e=i&(1<<t)-1,this.codeBuf=i>>t,this.codeSize=r-=t,this.bytesPos=f,e},o.prototype.getCode=function(t){for(var e=t[0],r=t[1],i=this.codeSize,s=this.codeBuf,f=this.bytes,o=this.bytesPos;i<r;){var h;void 0===(h=f[o++])&&n("Bad encoding in flate stream"),s|=h<<i,i+=8}var a=e[s&(1<<r)-1],u=a>>16,l=65535&a;return(0==i||i<u||0==u)&&n("Bad encoding in flate stream"),this.codeBuf=s>>u,this.codeSize=i-u,this.bytesPos=o,l},o.prototype.generateHuffmanTable=function(t){for(var e=t.length,r=0,i=0;i<e;++i)t[i]>r&&(r=t[i]);for(var s=1<<r,f=new Uint32Array(s),n=1,o=0,h=2;n<=r;++n,o<<=1,h<<=1)for(var a=0;a<e;++a)if(t[a]==n){var u=0,l=o;for(i=0;i<n;++i)u=u<<1|1&l,l>>=1;for(i=u;i<s;i+=h)f[i]=n<<16|a;++o}return[f,r]},o.prototype.readBlock=function(){function t(t,e,r,i,s){for(var f=t.getBits(r)+i;f-- >0;)e[b++]=s}var o=this.getBits(3);if(1&o&&(this.eof=!0),0!=(o>>=1)){var h,a;if(1==o)h=s,a=f;else if(2==o){for(var u=this.getBits(5)+257,l=this.getBits(5)+1,c=this.getBits(4)+4,d=Array(e.length),b=0;b<c;)d[e[b++]]=this.getBits(3);for(var v=this.generateHuffmanTable(d),g=0,B=(b=0,u+l),y=new Array(B);b<B;){var p=this.getCode(v);16==p?t(this,y,2,3,g):17==p?t(this,y,3,3,g=0):18==p?t(this,y,7,11,g=0):y[b++]=g=p}h=this.generateHuffmanTable(y.slice(0,u)),a=this.generateHuffmanTable(y.slice(u,B))}else n("Unknown block type in flate stream");for(var m=(F=this.buffer)?F.length:0,k=this.bufferLength;;){var w=this.getCode(h);if(w<256)k+1>=m&&(m=(F=this.ensureBuffer(k+1)).length),F[k++]=w;else{if(256==w)return void(this.bufferLength=k);var C=(w=r[w-=257])>>16;C>0&&(C=this.getBits(C));g=(65535&w)+C;w=this.getCode(a),(C=(w=i[w])>>16)>0&&(C=this.getBits(C));var L=(65535&w)+C;k+g>=m&&(m=(F=this.ensureBuffer(k+g)).length);for(var S=0;S<g;++S,++k)F[k]=F[k-L]}}}else{var A,U=this.bytes,P=this.bytesPos;void 0===(A=U[P++])&&n("Bad block header in flate stream");var z=A;void 0===(A=U[P++])&&n("Bad block header in flate stream"),z|=A<<8,void 0===(A=U[P++])&&n("Bad block header in flate stream");var H=A;void 0===(A=U[P++])&&n("Bad block header in flate stream"),(H|=A<<8)!=(65535&~z)&&n("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var T=this.bufferLength,F=this.ensureBuffer(T+z),E=T+z;this.bufferLength=E;for(var I=T;I<E;++I){if(void 0===(A=U[P++])){this.eof=!0;break}F[I]=A}this.bytesPos=P}},o}();export{e as F};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{EventEmitter as e}from"../../../../../core/Evented.js";import{create as r}from"../../../../../geometry/support/aaBoundingBox.js";import{getBoundsOptimizedGeometry as t}from"../../../../../layers/graphics/featureConversionUtils.js";import{optimizedFeatureQueryEngineAdapter as a}from"../../../../../layers/graphics/data/optimizedFeatureQueryEngineAdapter.js";import{QueryEngine as s}from"../../../../../layers/graphics/data/QueryEngine.js";import{collectExpressionDependencies as o}from"../../../../../support/ArcadeExpression.js";import{AProcessorStrategy as n}from"./AProcessorStrategy.js";class i extends n{constructor(r,t,s,n,i){super(r,t,i),this.spatialReference=s,this.aggregateFields=n,this._arcadeDependencies=new Set,this.events=new e,this.featureAdapter=a;for(const e of n)o(this._arcadeDependencies,e.computed)}get aggregateQueryEngine(){return this._aggregateQueryEngine||(this._aggregateQueryEngine=new s({featureStore:this,fieldsIndex:this._metadata.fieldsIndex,geometryType:this._metadata.geometryType,featureIdInfo:this._metadata.featureIdInfo,spatialReference:this.spatialReference})),this._aggregateQueryEngine}get isAggregate(){return!0}removeChunks(e){}hasArcadeDependency(e){return this._arcadeDependencies.has(e)}forEach(e){return this.forEachAggregateWorldSpace(e)}forEachInBounds(e,r){}forEachBounds(e,a){const s=r();for(const r of e){const e=t(s,r.geometry);e&&a(e)}}}export{i as AAggregateStrategy};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{equals as e}from"../../../../../core/SetUtils.js";import t from"../../../../../geometry/SpatialReference.js";import{convertToFeature as s,unquantizeOptimizedGeometryInPlace as a}from"../../../../../layers/graphics/featureConversionUtils.js";import{OptimizedFeature as r}from"../../../../../layers/graphics/OptimizedFeature.js";import{checkProjectionSupport as i}from"../../../../../layers/graphics/data/projectionSupport.js";import o from"../../../../../layers/support/FieldsIndex.js";import{ComputedAggregateField as n}from"../aggregation/ComputedAggregateField.js";import{AAggregateStrategy as l}from"./AAggregateStrategy.js";import{UpdateBatch as d,ASendState as c}from"./AProcessorStrategy.js";import{FeatureTileUpdateMessage as u}from"../sources/FeatureSourceMessage.js";import{ComputedAttributeStorage as f}from"../support/ComputedAttributeStorage.js";import p from"../support/FeatureFilterEvaluator.js";import{FeatureMetadata as h}from"../support/FeatureMetadata.js";import{FeatureSetReaderJSON as m}from"../support/FeatureSetReaderJSON.js";import{Hashed as g}from"../support/Hashed.js";class y extends c{constructor(e,t){super(e),this.bins=new Map,this.featureCache=new Map,this.done=!1,this._store=t}take(){const e=this.bins,t=this.featureCache;return this.bins=new Map,this.featureCache=new Map,{bins:e,featureCache:t}}destroy(){const e=this.subscription.tile.key.level;for(const t of this.featureCache.keys())this._store.releaseDisplayIdForObjectId(`${t}.${e}`);this.bins.clear(),this.featureCache.clear(),this.handledChunks.clear()}get tile(){return this.subscription.tile}*featuresWorldSpace(){for(const e of this.featureCache.values()){const t=e.clone();t.geometry&&a(t.geometry,this.subscription.tile.transform),yield t}}}class I extends l{static async create(e,s,a,r,o){const l=s.metadata.outSpatialReference,d=new f({spatialReference:l}),c=await Promise.all(e.fields.map(async e=>n.create(d,e))),u=e.featureFilter?await p.create({geometryType:s.metadata.geometryType,hasM:!1,hasZ:!1,timeInfo:s.metadata.timeInfo,fieldsIndex:s.metadata.fieldsIndex,spatialReference:l,filterJSON:e.featureFilter}):null;return"geohash"===e.index.type&&await i(l,t.WGS84),new I(e,u,r,c,l,s,a,o)}constructor(e,t,s,a,r,i,n,l){super(i,n,r,a,l),this._schema=e,this._featureFilter=t,this._arcadeContextInfo=s,this._handled=new Set,this._invalidated=!1,this._metadata=h.createFeature({geometryType:"esriGeometryPolygon",hasZ:!1,hasM:!1,featureIdInfo:{type:"object-id",fieldName:"aggregateId"},fieldsIndex:new o(e.fields).toJSON(),globalIdField:null,spatialReference:i.metadata.spatialReference,outSpatialReference:i.metadata.outSpatialReference,attributeSpatialReference:null,subtypeField:null,subtypes:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null,types:null}),this._getIndex=this._createGetIndex()}requiresInvalidation(t){for(const e of this._sendStates.values())if(!e.done)return!0;const s=new Set;for(const e of t)s.add(e.chunkId);return!e(s,this._handled)&&(this._handled=s,!0)}invalidate(){this._invalidated=!0}createState(e){return new y(e,this._attributeStore)}async applyOverrideUpdate(e){return null}displayMap(e,t,s){const a=new Map(e.map(e=>[t(e),e])),r=[];for(const i of this._sendStates.values())for(const e of i.featuresWorldSpace()){const{objectId:t,displayId:i}=e,o=a.get(t);if(null!=o){const e=s(i,o,t);r.push(e),a.delete(t)}}return r}getDisplayFeatures(e){const t=new Set(e),a=new Set,r=[];for(const i of this._sendStates.values())for(const e of i.featuresWorldSpace())t.has(e.displayId)&&!a.has(e.objectId)&&(e.geometry&&r.push({...s(e,this._metadata.geometryType,!1,!1),displayId:e.displayId}),a.add(e.objectId));return{features:[],aggregates:r,tracks:[]}}getFeatureObjectIdsForAggregate(e){for(const t of this._sendStates.values())for(const s of t.bins.values())if(s.id===e){const e=[];for(const t of s.containedObjectIds)for(const s of t.values())e.push(s);return e}return[]}async updateChunks(e,t){if(!this._invalidated)return null;this._invalidated=!1;const s=new d;for(const a of this._sendStates.values())s.messages.push(this._update(a,e,t));return s}forEachAggregateWorldSpace(e){const t=new Set;for(const s of this._sendStates.values())for(const a of s.featuresWorldSpace())t.has(a.objectId)||(e(a),t.add(a.objectId))}_createGetIndex(){return(e,t)=>{switch(this._schema.index.type){case"geohash":return e.getGeohashIndex(new g({type:"geohash",fields:this.aggregateFields,featureFilter:this._featureFilter,geohashLevel:this._schema.index.fixBinLevel,spatialReference:this.spatialReference,arcadeContextInfo:this._arcadeContextInfo,scale:t.scale,sqlOptions:this._sqlOptions}));case"grid":{const s=this._schema.index.fixedBinLevel,a=null!=s?t.tileInfoView.getLODInfoAt(s).scale:t.scale;return e.getGridIndex(new g({type:"grid",fields:this.aggregateFields,cellSize:this._schema.index.size,featureFilter:this._featureFilter,spatialReference:this.spatialReference,arcadeContextInfo:this._arcadeContextInfo,scale:a,sqlOptions:this._sqlOptions}))}}}}_update(e,t,s){const{subscription:a}=e,i=e.take(),{bins:o,featureCache:n}=e,l=a.tile,d=new Set;for(const r of t){this._getIndex(r,l).putBounded(o,d,e.tile.extent,e.tile.resolution)}const c=[],f=a.tile.transform,p=a.tile.key.level;for(const u of o.values()){const e=u.getGeometry(this.spatialReference,f),t=new r(e,u.getAttributes(),null,u.id);e||(t.centroid=u.getGeometricCentroid(this.spatialReference,f)),t.displayId=this._attributeStore.createDisplayIdForObjectId(`${t.objectId}.${p}`),n.set(u.id,t),c.push(t)}this.events.emit("changed"),e.done||=!s;const h=m.fromOptimizedFeatures(c,this._metadata,f),g=h.getCursor(),y=e.subscription.tile.createArcadeEvaluationOptions(this._arcadeContextInfo);for(;g.next();)this._attributeStore.setAttributeData(g.getDisplayId(),g,y,this._sqlOptions);const I=new u(e.subscription,h,[],e.done,{});for(const r of i.featureCache.keys())this._attributeStore.releaseDisplayIdForObjectId(`${r}.${p}`);return I}}export{y as BinningState,I as BinningStrategy};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import has from"../../../../../core/has.js";import{convertToFeature as e}from"../../../../../layers/graphics/featureConversionUtils.js";import{OptimizedFeature as t}from"../../../../../layers/graphics/OptimizedFeature.js";import s from"../../../../../layers/graphics/OptimizedGeometry.js";import i from"../../../../../layers/support/FieldsIndex.js";import{tileSize as r}from"../../../engine/webgl/definitions.js";import{ComputedAggregateField as a}from"../aggregation/ComputedAggregateField.js";import{GridCell as n}from"../aggregation/GridCell.js";import{pixelsPerMapUnit as l}from"../aggregation/GridSpatialIndex.js";import{AAggregateStrategy as o}from"./AAggregateStrategy.js";import{LevelReplaceBatch as d,ASendState as u}from"./AProcessorStrategy.js";import{WithDisplayId as c}from"./support/WithDisplayId.js";import{FeatureTileAppendMessage as p}from"../sources/FeatureSourceMessage.js";import{ComputedAttributeStorage as f}from"../support/ComputedAttributeStorage.js";import h from"../support/FeatureFilterEvaluator.js";import{FeatureMetadata as g}from"../support/FeatureMetadata.js";import{FeatureSetReaderJSON as m}from"../support/FeatureSetReaderJSON.js";import{Hashed as _}from"../support/Hashed.js";const y=128;class I extends u{constructor(e){super(e),this.didSend=!1,this.done=!1}}class x{constructor(e,t,s,i,r){this.level=e,this._scale=t,this._indexOptions=s,this._clusterRadius=i,this._store=r,this._statistics=new Map,this._handledChunks=new Set,this._handledIds=new Set,this._cells=new Map,this._clusters=new Map}destroy(){this._clearClusters()}_clearClusters(){for(const e of this._clusters.values())this._store.releaseDisplayIdForObjectId(e.inner.id);this._clusters.clear()}invalidate(){this._cells.clear(),this._handledChunks.clear(),this._handledIds.clear()}*aggregatesWorldSpace(){for(const e of this._clusters.values()){const s=e.inner.getCentroid(null),i=new t(s,e.inner.getAttributes(),null,e.inner.id,e.displayId);yield i}}clusters(){return this._clusters.values()}update(e,t){let s=!1;const i=new _({...this._indexOptions,scale:this._scale});for(const l of e){if(this._handledChunks.has(l.normalizedChunkId))continue;if(this._handledChunks.add(l.normalizedChunkId),null!=l.lodInfo&&l.lodInfo.level!==this.level)continue;l.getGridIndex(i).put(this._cells,this._handledIds),s=!0}const r=l(this._indexOptions.spatialReference,this._scale),a=this._indexOptions.cellSize,n={xMin:1/0,yMin:1/0,xMax:-1/0,yMax:-1/0};for(const{subscription:l}of t){const e=l.tile.bounds,t=Math.floor(e[0]*r/a),s=Math.floor(e[1]*r/a),i=Math.ceil(e[2]*r/a),o=Math.ceil(e[3]*r/a);n.xMin=Math.min(n.xMin,t),n.yMin=Math.min(n.yMin,s),n.xMax=Math.max(n.xMax,i),n.yMax=Math.max(n.yMax,o)}return null!=this._lastCellBounds&&n.xMin===this._lastCellBounds.xMin&&n.xMax===this._lastCellBounds.xMax&&n.yMin===this._lastCellBounds.yMin&&n.yMax===this._lastCellBounds.yMax||(this._lastCellBounds=n,s=!0),s&&this._clusterCells(n),s}_clusterCells(e){const t=this._clusters;this._clusters=new Map;const s=this._clusterRadius*(1/l(this._indexOptions.spatialReference,this._scale));let i=Array.from(this._cells.values());i=i.sort((e,t)=>t.count-e.count);const r=new Set;for(const a of i){if(r.has(a.id))continue;if(a.gridX<e.xMin||a.gridX>e.xMax||a.gridY<e.yMin||a.gridY>e.yMax)continue;const t=1+this._clusterRadius/this._indexOptions.cellSize,i=this._store.createDisplayIdForObjectId(a.id),l=new c(a.clone(),i);r.add(a.id),this._clusters.set(a.id,l);const o=a.centroidXWorld,d=a.centroidYWorld;for(let e=a.gridY-t;e<=a.gridY+t;e++)for(let i=a.gridX-t;i<=a.gridX+t;i++){if(e===a.gridY&&i===a.gridX)continue;const t=this._cells.get(n.createId(i,e));if(!t||r.has(t.id))continue;const u=Math.abs(t.centroidXWorld-o),c=Math.abs(t.centroidYWorld-d);u<s&&c<s&&(l.inner.merge(t),r.add(t.id))}}for(const a of t.values())this._store.releaseDisplayIdForObjectId(a.inner.id)}async updateStatistics(e){let t=!1;for(const s of this._clusters.values())s.inner.count>1&&(t=this._updateAggregateStatistics(this._statistics,s.inner)||t);if(t){const t=Array.from(this._statistics.entries()).map(([e,t])=>({fieldName:e,minValue:t.minValue,maxValue:t.maxValue}));await e.container.updateStatistics(this.level,t)}}createAggregateFeatures(e,i){const a=e.subscription,n=[],l=a.tile.transform,o=Array.from(this._clusters.values()),d=o.length;for(const c of o){const e=c.inner.getCentroidX(l),i=c.inner.getCentroidY(l),a=1===c.inner.count?c.inner.firstObjectId:c.inner.id,o=c.displayId;if(e<r+y&&e>=-y&&i<r+y&&i>=-y){const r=new s([],[e,i]),l=new t(r,c.inner.getAttributes(),null,a,o);n.push(l)}}const u=m.fromOptimizedFeatures(n,i,a.tile.transform);return has("esri-2d-update-debug")&&console.debug(`Tile[${e.subscription.tile.id}] ClusterStrategy.createAggregateFeatures`,{clusters:u,levelClusterCount:d}),u}_updateAggregateStatistics(e,t){let s=!1;for(const i of t.statistics.values()){if("esriFieldTypeString"===i.field.type)continue;const t=i.value,r=i.field,a=e.get(r.name);if(a){const{minValue:e,maxValue:i}=a,r=Math.min(a.minValue,t),n=Math.max(a.maxValue,t);e===r&&i===n||(a.minValue=r,a.maxValue=n,s=!0);continue}e.set(r.name,{minValue:t,maxValue:t}),s=!0}return s}}class S extends o{static async create(e,t,s,i,r,n){const l=s.metadata.outSpatialReference,o=new f({spatialReference:l}),d={type:"grid",fields:await Promise.all(t.fields.map(async e=>a.create(o,e))),spatialReference:l,featureFilter:t.featureFilter?await h.create({geometryType:s.metadata.geometryType,hasM:!1,hasZ:!1,timeInfo:s.metadata.timeInfo,fieldsIndex:s.metadata.fieldsIndex,spatialReference:l,filterJSON:t.featureFilter}):null,cellSize:t.clusterRadius/4,arcadeContextInfo:r,sqlOptions:n};return new S(e,t.clusterRadius,d,t.fields,s,i,n)}constructor(e,t,s,r,a,n,l){super(a,n,s.spatialReference,s.fields,l),this._connection=e,this._clusterRadius=t,this._indexOptions=s,this._cellsPerLevel=new Map,this._metadata=g.createFeature({geometryType:"esriGeometryPoint",hasZ:!1,hasM:!1,featureIdInfo:{type:"object-id",fieldName:"aggregateId"},fieldsIndex:new i([...r,...this._source.metadata.fieldsIndex.fields,{name:"aggregateId",alias:"aggregateId",type:"esriFieldTypeOID"}]).toJSON(),globalIdField:null,spatialReference:a.metadata.spatialReference,outSpatialReference:a.metadata.outSpatialReference,attributeSpatialReference:null,subtypeField:null,subtypes:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null,types:null})}get enablePixelBuffering(){return!0}onSubscribe(e){super.onSubscribe(e);const{scale:t,level:s}=e.tile;this._lastSubscribedLodInfo={level:s,scale:t}}requiresInvalidation(e){return!1}invalidate(){for(const e of this._cellsPerLevel.values())e.invalidate()}createState(e){return new I(e)}async applyOverrideUpdate(e){for(const t of this._cellsPerLevel.values())t.invalidate();return null}displayMap(e,t,s){const i=new Map(e.map(e=>[t(e),e])),r=[],a=this._getActiveClusterState();if(a)for(const n of a.clusters()){const e=i.get(n.inner.id);if(null!=e){const t=s(n.displayId,e,n.inner.id);r.push(t),i.delete(n.inner.id);continue}if(1===n.inner.count){const{firstObjectId:e}=n.inner,t=e?i.get(e):null;if(null!=t){const a=s(n.displayId,t,e);r.push(a),i.delete(e)}}}return r}getDisplayFeatures(t){const s=new Set(t),i=new Set,r=[],a=[],n=this._getActiveClusterState();if(n)for(const l of n.aggregatesWorldSpace())if(s.has(l.displayId)&&!i.has(l.displayId)){const t=e(l,this._metadata.geometryType,!1,!1);if(i.add(l.displayId),1===t.attributes.cluster_count){r.push({...t,displayId:l.displayId});continue}a.push({...t,displayId:l.displayId})}return{features:r,aggregates:a,tracks:[]}}getFeatureObjectIdsForAggregate(e){const t=this._getActiveClusterState();if(t)for(const s of t.clusters())if(s.inner.id===e){const e=[];for(const t of s.inner.containedObjectIds)for(const s of t.values())e.push(s);return e}return[]}async updateChunks(e,t){const s=this._lastSubscribedLodInfo;if(!s)return null;const i=this._getOrCreateClusterState(s),r=Array.from(this._sendStates.values()).filter(e=>e.subscription.tile.level===s.level);i.update(e,r);const a=new d(s.level);for(const n of r)a.messages.push(this._update(n,i,t));return await i.updateStatistics(this._connection),a}forEachAggregateWorldSpace(e){const t=this._getActiveClusterState();if(t)for(const s of t.aggregatesWorldSpace())e(s)}_getActiveClusterState(){return this._lastSubscribedLodInfo?this._cellsPerLevel.get(this._lastSubscribedLodInfo.level):null}_getOrCreateClusterState(e){if(null==e.level)throw new Error("InternalError: Level and scale must be defined");let t=this._cellsPerLevel.get(e.level);return t||(t=new x(e.level,e.scale,this._indexOptions,this._clusterRadius,this._attributeStore),this._cellsPerLevel.set(e.level,t)),t}_update(e,t,s){const i=t.createAggregateFeatures(e,this._metadata);this.events.emit("changed"),e.done=e.done||!s;const r=i.getCursor(),a=e.subscription.tile.createArcadeEvaluationOptions(this._indexOptions.arcadeContextInfo);for(;r.next();)this._attributeStore.setAttributeData(r.getDisplayId(),r,a,this._sqlOptions);return has("esri-2d-update-debug")&&console.debug(`Tile[${e.subscription.tile.id}] ClusterStrategy._update`,{done:e.done}),new p(e.subscription,i,e.done,{})}}export{I as ClusterSendState,S as ClusterStrategy};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{isSome as t}from"../../../../../core/arrayUtils.js";import e from"../../../../../core/Logger.js";import{assertIsSome as s}from"../../../../../core/maybe.js";import{isLoaded as r,load as a,execute as i}from"../../../../../geometry/operators/gx/operatorGeodeticDensify.js";import{geodeticCurveType as o}from"../../../../../geometry/operators/support/geodeticCurveType.js";import{intersectsWithMargin as n,fromValues as l,intersects as c,empty as u,expandPointInPlace as d}from"../../../../../geometry/support/aaBoundingRect.js";import{getClosestDenormalizedXToReference as h}from"../../../../../geometry/support/normalizeUtils.js";import{normalizeCentralMeridianForDisplay as p}from"../../../../../geometry/support/normalizeUtilsSync.js";import{quantizeOptimizedGeometry as m,convertToGeometry as f,convertFromPolyline as _}from"../../../../../layers/graphics/featureConversionUtils.js";import{OptimizedFeature as g}from"../../../../../layers/graphics/OptimizedFeature.js";import b from"../../../../../layers/graphics/OptimizedGeometry.js";import{internalTrackPartField as y,externalTrackLineOidPrefix as I,internalTimeReceivedField as v}from"../../../../../layers/support/streamLayerUtils.js";import{tileSize as k}from"../../../engine/webgl/definitions.js";import{AccumulatedStatistics as F}from"../aggregation/AccumulatedStatistics.js";import{ComputedAggregateField as O}from"../aggregation/ComputedAggregateField.js";import{AAggregateStrategy as j}from"./AAggregateStrategy.js";import{AppendBatch as x,ASendState as S}from"./AProcessorStrategy.js";import{FeatureTileAppendMessage as T}from"../sources/FeatureSourceMessage.js";import{createArcadeEvaluationOptions as R}from"../support/arcadeUtils.js";import{ComputedAttributeStorage as w}from"../support/ComputedAttributeStorage.js";import D from"../support/FeatureFilterEvaluator.js";import{FeatureMetadata as L}from"../support/FeatureMetadata.js";import{FeatureSetReaderIndirect as A}from"../support/FeatureSetReaderIndirect.js";import{FeatureSetReaderJSON as C}from"../support/FeatureSetReaderJSON.js";let G;const P=()=>e.getLogger("esri.views.2d.layers.features.processor.TrackStrategy"),M=32;class W{constructor(t,e,s,r,a){this.chunkIndex=t,this.featureIndex=e,this.objectId=s,this.displayId=r,this.time=a}}class z{static getOid(t){return I+t}constructor(t,e,s,r,a,i,o,n){this._schema=t,this.trackId=e,this.objectId=s,this.displayId=r,this._fields=a,this._spatialReference=i,this._metadata=o,this._isStream=n,this._maxDisplayDuration=this._schema.maxDisplayDuration>0?this._schema.maxDisplayDuration:1/0,this._maxDisplayObservationsPerTrack=this._schema.maxDisplayObservationsPerTrack>=1?this._schema.maxDisplayObservationsPerTrack:1/0,this._observationRecords=[],this._nextObservationRecords=[],this._trackLinePath=[],this._bounds=[],this._trackLineGeometry=new b}get _trackLineAttributes(){const t={...this._latestObservationFeature?.attributes,aggregateId:this.objectId,[y]:0};if(null!=this._statistics)for(const e of this._statistics.values())t[e.field.name]=e.value;return t}get _startTimeField(){return this._metadata.timeInfo?.startTimeField}get length(){return this._observationRecords.length}*observations(){yield*this._observationRecords}*previousObservations(){for(let t=0;t<this._observationRecords.length-1;t++)yield this._observationRecords[t]}get latestObservationFeature(){return this._latestObservationFeature}get latestObservationRecord(){return this._latestObservationRecord}stageObservation(t,e){this._nextObservationRecords.push(new W(t,e.getIndex(),e.getObjectId(),e.getDisplayId(),null!=this._startTimeField?e.readAttributeAsTimestamp(this._startTimeField):null))}commitObservations(t,e,r){const a=new Set(this._nextObservationRecords.map(t=>t.objectId)),i=this._observationRecords.filter(t=>!a.has(t.objectId)).map(t=>t.objectId);let o,n;switch(this._observationRecords=[],this._trackLinePath=[],this._isStream||null==this._startTimeField||this._nextObservationRecords.sort((t,e)=>{const s=t.time,r=e.time;return null!=s&&null!=r?s-r:0}),this._schema.timeField){case"startTimeField":o=this._metadata.timeInfo?.startTimeField;break;case"endTimeField":o=this._metadata.timeInfo?.endTimeField;break;case"timeReceived":o=this._isStream?v:null}n=this._isStream?r?.end??Date.now():r?.end??-1/0;const l=e.map(t=>t.reader.getCursor());let c;for(let u=this._nextObservationRecords.length-1;u>=0&&!(this._observationRecords.length>=this._maxDisplayObservationsPerTrack);u--){const t=this._nextObservationRecords[u],e=l[t.chunkIndex];s(e),e.setIndex(t.featureIndex);const r=null!=o?e.readAttributeAsTimestamp(o):null;(null!=r?n-r:0)>=this._maxDisplayDuration||(this._commitObservation(t,e),c??=t)}if(null!=c){const{chunkIndex:e,featureIndex:r}=c,a=`${c.objectId}.latest`,o=t.createDisplayIdForObjectId(a),n=l[e];s(n),n.setIndex(r);const u=new g(n.readGeometryWorldSpace(),{...n.readAttributes(),[y]:1},null,a,o);this._latestObservationFeature&&i.push(this._latestObservationFeature.objectId),this._latestObservationFeature=u,this._latestObservationRecord=c}else this._latestObservationFeature=null;return this._trackLineGeometry=Z(this._trackLinePath,this._spatialReference),this._bounds=N(this._trackLineGeometry),this._nextObservationRecords=[],i}updateStatistics(t,e){this._statistics=F.create(this._fields);const r=t.map(t=>t.reader.getCursor());for(const{chunkIndex:a,featureIndex:i}of this._observationRecords){const t=r[a];s(t),t.setIndex(i),this._statistics.insert(t,e)}}overlapsTile(t){for(const e of this._bounds)if(n(e,t.bounds,M))return!0;return!1}getLatestObservationFeatureForTile(t){if(null==this._latestObservationFeature)return null;const{objectId:e,displayId:s,geometry:r,attributes:a}=this._latestObservationFeature,i=m(r,this._metadata.geometryType,t.subscription.tile.transform)??new b,o=l(1/0,1/0,-1/0,-1/0);E(i,(t,e)=>d(o,[t,e]));if(!c(o,l(0,0,k,k)))return null;return new g(i,a,null,e,s)}getTrackLineFeatureForTile(t){const e=m(this._trackLineGeometry,"esriGeometryPolyline",t.subscription.tile.transform)??new b;return new g(e,this._trackLineAttributes,null,this.objectId,this.displayId)}getTrackLineOptimizedFeature(){return new g(this._trackLineGeometry,this._trackLineAttributes,null,this.objectId,this.displayId)}getTrackLineDisplayFeature(){const{_trackLineGeometry:t,_trackLineAttributes:e,displayId:s}=this;return{geometry:f(t,"esriGeometryPolyline",!1,!1),attributes:e,displayId:s}}_commitObservation(t,e){const s=e.readCentroidWorldSpace();let r=s?.coords[0],a=s?.coords[1];null==s&&(r=e.readXWorldSpace(),a=e.readYWorldSpace()),null!=r&&null!=a&&(this._observationRecords.unshift(t),this._trackLinePath.unshift([r,a]))}}class U extends S{constructor(t){super(t),this.done=!1}}class q extends j{static async create(t,e,s,i,o){const n=e.metadata.outSpatialReference,l=new w({spatialReference:n}),c=await Promise.all(t.fields.map(async t=>O.create(l,t))),u=t.featureFilter?await D.create({geometryType:e.metadata.geometryType,hasM:!1,hasZ:!1,timeInfo:e.metadata.timeInfo,fieldsIndex:e.metadata.fieldsIndex,spatialReference:n,filterJSON:t.featureFilter}):null;return n.isWrappable||r()||await Promise.all([import("../../../../../geometry/operators/support/apiConverter.js"),import("../../../../../geometry/operators/support/jsonConverter.js"),a()]).then(([t,e,s])=>{G={fromGeometryToGXGeometry:e.fromGeometryToGXGeometry,toGeometry:e.toGeometry,fromSpatialReference:t.fromSpatialReference}}),new q(t,e,s,n,c,u,i,o)}constructor(t,e,s,r,a,i,o,n){super(e,s,r,a,n),this._schema=t,this._featureFilter=i,this._arcadeContextInfo=o,this._tracks=new Map,this._handledChunks=new Set,this._metadata=e.metadata.weakCloneWithAdditionalFields([{name:y,alias:"trackPart",type:"esriFieldTypeSmallInteger"}]),this._trackLineMetadata=L.createFeature({geometryType:"esriGeometryPolyline",featureIdInfo:{type:"object-id",fieldName:"aggregateId"},fieldsIndex:{fields:[...this._source.metadata.fieldsIndex.fields,...this.aggregateFields,{name:y,alias:"trackPart",type:"esriFieldTypeSmallInteger"},{name:"aggregateId",alias:"aggregateId",type:"esriFieldTypeOID"}],timeZoneByFieldName:null},globalIdField:null,spatialReference:e.metadata.spatialReference,outSpatialReference:e.metadata.outSpatialReference,attributeSpatialReference:null,subtypeField:null,subtypes:null,timeInfo:e.metadata.timeInfo,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null,types:null,hasZ:!1,hasM:!1})}destroy(){super.destroy(),this._clear()}get _isStream(){return this._source.isStream}get enablePixelBuffering(){return!0}get isAggregate(){return!1}requiresInvalidation(){return!0}invalidate(){super.invalidate(),this._clear()}createState(t){return new U(t)}async applyOverrideUpdate(t){return P().error("Applying override to tracks is not supported"),null}displayMap(t,e,s){const r=new Map(t.map(t=>[e(t),t])),a=[];for(const i of this._tracks.values()){const t=r.get(i.objectId);if(null!=t){const e=s(i.displayId,t,i.objectId);a.push(e),r.delete(i.objectId);continue}const e=i.latestObservationFeature;if(e?.objectId){const t=r.get(e.objectId);if(null!=t){const i=s(e.displayId,t,e.objectId);a.push(i),r.delete(e.objectId);continue}}for(const o of i.observations()){const t=r.get(o.objectId);if(null!=t){const e=s(o.displayId,t,o.objectId);a.push(e),r.delete(o.objectId)}}}return a}getDisplayFeatures(t){const e=new Set(t),s=[],r=[],a=this._source.chunks().map(t=>t.reader.getCursor());for(const i of this._tracks.values()){if(e.has(i.displayId)&&r.push(i.getTrackLineDisplayFeature()),null!=i.latestObservationFeature&&e.has(i.latestObservationFeature.displayId)){const{displayId:t,chunkIndex:e,featureIndex:r}=i.latestObservationRecord,o=a[e];o.setIndex(r),s.push({displayId:t,...o.readLegacyFeatureWorldSpace()})}for(const{displayId:t,chunkIndex:r,featureIndex:o}of i.observations())if(e.has(t)){const e=a[r];e.setIndex(o),s.push({displayId:t,...e.readLegacyFeatureWorldSpace()})}}return{features:s,aggregates:[],tracks:r}}getFeatureObjectIdsForAggregate(t){for(const e of this._tracks.values())if(e.objectId===t)return Array.from(e.observations(),t=>t.objectId);return[]}async updateChunks(){0===this._handledChunks.size&&this._rebuildTracks();const t=new x;for(const e of this._sendStates.values())this._update(t,e);return t}forEachAggregateWorldSpace(t){for(const e of this._tracks.values())t(e.getTrackLineOptimizedFeature())}_clear(){for(const t of this._source.chunks())if(this._handledChunks.has(t.chunkId)){const e=t.reader.getCursor();for(;e.next();){const t=e.getObjectId();this._attributeStore.releaseDisplayIdForObjectId(t)}}this._handledChunks.clear();for(const t of this._tracks.values())this._removeTrack(t);this._tracks.clear()}_rebuildTracks(){const t=this._source.chunks();if(!t.length)return;const e=this._metadata.timeInfo?.trackIdField;if(null==e)return;const s=new Set;for(let r=0;r<t.length;r++){const a=t[r];if(this._handledChunks.has(a.chunkId))continue;this._handledChunks.add(a.chunkId);const i=a.reader.getCursor();for(;i.next();){const t=i.getObjectId();i.setDisplayId(this._attributeStore.createDisplayIdForObjectId(t));const a=i.readAttribute(e);if(null!=a&&null!=t&&(null===this._featureFilter||this._featureFilter.check(i,this._sqlOptions))){if(!this._tracks.has(a)){const t=z.getOid(a),e=this._attributeStore.createDisplayIdForObjectId(t),s=new z(this._schema,a,t,e,this.aggregateFields,this.spatialReference,this._source.metadata,this._isStream);this._tracks.set(a,s)}this._tracks.get(a).stageObservation(r,i),s.add(a)}}}for(const r of this._tracks.values())if(s.has(r.trackId)){const e=r.commitObservations(this._attributeStore,t,this._featureFilter?.timeExtent);for(const t of e)this._attributeStore.releaseDisplayIdForObjectId(t);r.updateStatistics(t,R(1,this._arcadeContextInfo))}else this._removeTrack(r)}_removeTrack(t){this._tracks.delete(t.trackId),this._attributeStore.releaseDisplayIdForObjectId(t.objectId),null!=t.latestObservationFeature&&this._attributeStore.releaseDisplayIdForObjectId(t.latestObservationFeature.objectId)}_update(e,s){if(s.done)return;s.done=!this._source.updateTracking.updating;const r=[],a=[];for(const t of this._tracks.values())if(t.length>0){if(this._schema.showLatestObservation){const e=t.getLatestObservationFeatureForTile(s);null!=e&&r.push(e)}this._schema.showTrackLine&&t.overlapsTile(s.subscription.tile)&&a.push(t.getTrackLineFeatureForTile(s))}const i=C.fromOptimizedFeatures(r,this._metadata,s.subscription.tile.transform),o=C.fromOptimizedFeatures(a,this._trackLineMetadata,s.subscription.tile.transform);let n=[];if(this._schema.showPreviousObservations){const e=this._source.chunks().map(()=>[]);for(const t of this._tracks.values())for(const{chunkIndex:s,featureIndex:r}of t.previousObservations())e[s].push(r);n=this._source.chunks().map((t,r)=>{const a=t.getTileReader(s.subscription.tile);if(null==a)return null;const i=A.from(a,e[r]);return i.setProcessorAttributes({[y]:2}),"esriGeometryPoint"!==i.geometryType&&null!=i.getInTransform()||i.setTransformForDisplay(s.subscription.tile.transform),i}).filter(t)}this.events.emit("changed");const l=s.subscription.tile.createArcadeEvaluationOptions(this._arcadeContextInfo),c=o.getCursor();for(;c.next();)this._attributeStore.setAttributeData(c.getDisplayId(),c,l,this._sqlOptions);for(const t of n){const e=t.getCursor();for(;e.next();)this._attributeStore.setAttributeData(e.getDisplayId(),e,l,this._sqlOptions)}const u=i.getCursor();for(;u.next();)this._attributeStore.setAttributeData(u.getDisplayId(),u,l,this._sqlOptions);e.messages.push(new T(s.subscription,o,!1,{}));for(const t of n)e.messages.push(new T(s.subscription,t,!1,{}));e.messages.push(new T(s.subscription,i,s.done,{}))}}function Z(t,e){if(t.length<2)return _({paths:[t]},!1,!1);if(e.isWrappable){let s=!1;for(let r=1;r<t.length;r++){const a=t[r][0],i=h(a,t[r-1][0],e);a!==i&&(t[r][0]=i,s=!0)}if(s){const s=p({paths:[t],spatialReference:e});if(null!=s)return _({paths:s.paths},!1,!1)}return _({paths:[t]},!1,!1)}const s=G.fromGeometryToGXGeometry({hasM:!1,hasZ:!1,paths:[t]}),r=G.fromSpatialReference(e);if(null!=r){const t=i(s,1e6,r,o.geodesic);if(null!=t){const e=G.toGeometry(t,r);if(null!=e&&"paths"in e)return _({paths:e.paths},!1,!1)}}return _({paths:[t]},!1,!1)}function E(t,e){const s=2,{coords:r,lengths:a}=t;if(!a.length)return void e(r[0],r[1]);let i=0;for(let o=0;o<a.length;o++){const t=a[o];let n=0,l=0;for(let a=0;a<t;a++)n+=r[s*(a+i)],l+=r[s*(a+i)+1],e(n,l);i+=t}}function N(t){const{lengths:e,coords:s}=t,r=2;if(!e.length)return[u()];const a=[];let i=0;for(let o=0;o<e.length;o++){const t=e[o],n=u();a.push(n);for(let e=0;e<t;e++){const t=s[r*(e+i)],a=s[r*(e+i)+1];d(n,[t,a])}i+=t}return a}export{q as TrackStrategy};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as t}from"tslib";import e from"../../../../core/Accessor.js";import"../../../../core/has.js";import{destroyMaybe as i}from"../../../../core/maybe.js";import{watch as o,syncAndInitial as s}from"../../../../core/reactiveUtils.js";import{property as a,subclass as l}from"../../../../core/accessorSupport/decorators.js";import{detachToolFromView as r}from"./toolLifecycleUtils.js";import{ViewshedEditTool as n}from"./ViewshedEditTool.js";import{ViewshedPlacementController as d}from"./ViewshedPlacementController.js";let c=class extends e{constructor(t){super(t),this._editTool=null}initialize(){const{view:t}=this;this._placementController=new d({analysis:this.analysis,analysisViewData:this.analysisViewData,view:t,callbacks:{cancelTool:()=>{null!=t.activeTool&&(t.activeTool=null)},findViewshedComputedData:t=>this._findViewshedComputedData(t),isToolDestroyed:()=>this.destroyed,setSelectedViewshed:t=>{this.analysisViewData.selectedViewshed=t}}}),this.addHandles([o(()=>({creationState:this._placementController.creationState,interactive:this.analysisViewData.interactive}),({creationState:e,interactive:i})=>{if(!i)return this._placementController.cancelPlaceOperation(),void this._destroyEditTool();null==e?this._editTool||(this._editTool=new n({analysis:this.analysis,analysisViewData:this.analysisViewData,view:t}),t.tools.add(this._editTool)):this._destroyEditTool()},s),o(()=>t.activeTool,t=>{null!=t&&t!==this._editTool&&null==this._placementController.creationState&&(this.analysisViewData.selectedViewshed=null)})])}destroy(){this._destroyEditTool(),i(this._placementController)}get selectedViewshedComputedData(){return this._editTool?.selectedViewshedComputedData}get stagedViewshed(){return this._placementController.stagedViewshed}get active(){return this._placementController.active||(this._editTool?.active??!1)}get updating(){return this._placementController.updating||!!this._editTool?.updating}get creating(){return null!=this._placementController.creationState}async place(t,e){if(this.analysisViewData.interactive=!0,this._destroyEditTool(),await this._placementController.startPlaceOperation(t,e),"single"===t)return{}}_findViewshedComputedData(t){return this.analysisViewData.viewshedComputedDataHandles?.find(e=>e.viewshedComputedData.viewshed===t)?.viewshedComputedData}_destroyEditTool(){const t=this._editTool;this._editTool=null,null!=t&&(r(this.view,t),i(t))}get test(){}};t([a({constructOnly:!0})],c.prototype,"view",void 0),t([a({constructOnly:!0})],c.prototype,"analysis",void 0),t([a({constructOnly:!0})],c.prototype,"analysisViewData",void 0),t([a()],c.prototype,"_placementController",void 0),t([a()],c.prototype,"_editTool",void 0),t([a()],c.prototype,"selectedViewshedComputedData",null),t([a()],c.prototype,"stagedViewshed",null),t([a()],c.prototype,"active",null),t([a()],c.prototype,"updating",null),t([a()],c.prototype,"creating",null),c=t([l("esri.views.3d.analysis.Viewshed.ViewshedTool2")],c);const p=c;export{p as default};
|
|
File without changes
|