@arcgis/core 5.0.0-next.67 → 5.0.0-next.69
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/Ground.d.ts +3 -4
- package/WebDocument2D.d.ts +1 -1
- package/WebLinkChart.d.ts +2 -0
- package/analysis/ElevationProfile/ElevationProfileLineQuery.d.ts +3 -4
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +9 -6
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.js +1 -1
- package/analysis/types.d.ts +1 -0
- package/applications/Components/analysisUtils.d.ts +1 -3
- package/applications/Components/arcadeFeatureUtils.d.ts +1 -1
- package/applications/ExperienceBuilder/sketchUtils.d.ts +2 -2
- package/applications/KnowledgeStudio/reshape.d.ts +2 -2
- package/applications/SceneViewer/sceneViewerUtils.d.ts +11 -0
- package/applications/SceneViewer/sceneViewerUtils.js +1 -1
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/batchExec.js +1 -1
- package/arcade/compilerUtils.js +1 -1
- package/arcade/featureset/actions/SpatialFilter.js +1 -1
- package/arcade/geometry/unitConversion.js +1 -1
- package/arcade/treeAnalysis.js +1 -1
- package/arcade.js +1 -1
- package/assets/esri/core/libs/libtess/libtess-f32.wasm +0 -0
- package/assets/esri/core/libs/libtess/libtess-f64.wasm +0 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/01d7542d85a453384cf1.js +1 -0
- package/assets/esri/core/workers/chunks/{251eb6e00f99a816d55c.js → 0326314947734b8e640a.js} +1 -1
- package/assets/esri/core/workers/chunks/04176244b0a3539c9681.js +1 -0
- package/assets/esri/core/workers/chunks/{168ec8fca2702617a543.js → 09dfec3e097ebbef6a89.js} +1 -1
- package/assets/esri/core/workers/chunks/{942fad4ec96295672ce8.js → 10e474d664b20adcd917.js} +1 -1
- package/assets/esri/core/workers/chunks/12f9a55253084a910b2e.js +1 -0
- package/assets/esri/core/workers/chunks/{0629087bd5bb8048493e.js → 14dedd80fb797303f91f.js} +1 -1
- package/assets/esri/core/workers/chunks/{81d89107ff82604a3ea0.js → 1b445981fbc8373f4dd8.js} +1 -1
- package/assets/esri/core/workers/chunks/{794960ec36e11f4416c2.js → 1d1e25bb61eeeee8ee94.js} +1 -1
- package/assets/esri/core/workers/chunks/{6ba3c2b9f699d94d62b8.js → 1ec1a1997b5577619040.js} +1 -1
- package/assets/esri/core/workers/chunks/2085084324cd5a81783f.js +1 -0
- package/assets/esri/core/workers/chunks/2c2c0f66cffc521df736.js +1 -0
- package/assets/esri/core/workers/chunks/2dd347aa2a061d536e69.js +1 -0
- package/assets/esri/core/workers/chunks/2dfa7abf2d39fa5a3874.js +1 -0
- package/assets/esri/core/workers/chunks/{6cb44cd319cb6c2539c8.js → 2e2c47f8a80ee9234350.js} +1 -1
- package/assets/esri/core/workers/chunks/322085d63719da6e443c.js +1 -0
- package/assets/esri/core/workers/chunks/{76086517591d0eb35156.js → 34a2e0462eb05986cdd1.js} +1 -1
- package/assets/esri/core/workers/chunks/{a6dcd13c792b6538ac50.js → 35593a9790818b689455.js} +1 -1
- package/assets/esri/core/workers/chunks/3a04153ca9d8e4f01185.js +1 -0
- package/assets/esri/core/workers/chunks/{4e9a8fce55cad841c731.js → 3b25f5d9c8f78bb6e011.js} +1 -1
- package/assets/esri/core/workers/chunks/3e7ea06b342e33bc48a5.js +1 -0
- package/assets/esri/core/workers/chunks/3ed317900f0edf635508.js +1 -0
- package/assets/esri/core/workers/chunks/401ce5cb98fa14c1a725.js +1 -0
- package/assets/esri/core/workers/chunks/4319b89cfa02894a8cae.js +1 -0
- package/assets/esri/core/workers/chunks/{7bed14d9bcd7fc5e2eec.js → 4bcd74951477e8977ba1.js} +1 -1
- package/assets/esri/core/workers/chunks/4c04c54330b693892cfc.js +314 -0
- package/assets/esri/core/workers/chunks/{687d2b761dc5b5cf0c31.js → 4d4d71d24c1a9cb342b8.js} +1 -1
- package/assets/esri/core/workers/chunks/4fa230dc6e5e87b0dec1.js +1 -0
- package/assets/esri/core/workers/chunks/50f03813fba4b752ca9f.js +1 -0
- package/assets/esri/core/workers/chunks/{abc236e99b52be1c83b9.js → 52a14266fe239b95c5ce.js} +1 -1
- package/assets/esri/core/workers/chunks/53b5c77832df7df4d4e3.js +1 -0
- package/assets/esri/core/workers/chunks/{34178ace79e8dea3567d.js → 562cddaf63985e53ee6e.js} +1 -1
- package/assets/esri/core/workers/chunks/563933a84fc9b0e021f6.js +1 -0
- package/assets/esri/core/workers/chunks/58b3a776ef129f7f86dc.js +1 -0
- package/assets/esri/core/workers/chunks/58e8d41dcc450e6427c9.js +1 -0
- package/assets/esri/core/workers/chunks/{6599cc702a46f81a5634.js → 5dd5be91038df8902dc4.js} +1 -1
- package/assets/esri/core/workers/chunks/{49a1b7f700b8a42de817.js → 60c7f896f2246a8aa6d7.js} +19 -19
- package/assets/esri/core/workers/chunks/60f363ee2add089e8f0b.js +1 -0
- package/assets/esri/core/workers/chunks/68074a484d7f9bc713c0.js +1 -0
- package/assets/esri/core/workers/chunks/6acfa51b81e6f4255118.js +1 -0
- package/assets/esri/core/workers/chunks/{3fe7be535affae31de7e.js → 6b85a8776ec2beff63cb.js} +1 -1
- package/assets/esri/core/workers/chunks/{0dc3a04ce717b7ddd957.js → 6c9dac4a869742cc2718.js} +1 -1
- package/assets/esri/core/workers/chunks/6df484faf54e90a6cc77.js +1 -0
- package/assets/esri/core/workers/chunks/6ea6ad894ac634aa4391.js +1 -0
- package/assets/esri/core/workers/chunks/6f8098f9fe233833245a.js +1 -0
- package/assets/esri/core/workers/chunks/75fd2ef1236a9364ca7f.js +1 -0
- package/assets/esri/core/workers/chunks/7be9bbae23895d1cfa92.js +1 -0
- package/assets/esri/core/workers/chunks/7ea48661f1087d06aa41.js +1 -0
- package/assets/esri/core/workers/chunks/{47e5149765beee46f208.js → 7ee68f67f9cc48a328f0.js} +1 -1
- package/assets/esri/core/workers/chunks/{e5aac523c37d906eece6.js → 827277e5da652bcecaf2.js} +1 -1
- package/assets/esri/core/workers/chunks/866477acdf03b8a40bc9.js +1 -0
- package/assets/esri/core/workers/chunks/8e83c133b201b9b61e70.js +1 -0
- package/assets/esri/core/workers/chunks/9086a4933d3d3d9ffa72.js +1 -0
- package/assets/esri/core/workers/chunks/94174d40de39dbe7d0bf.js +1 -0
- package/assets/esri/core/workers/chunks/{dd99b77a7c0a052507bb.js → 9d88b4ba8e511da64583.js} +3 -3
- package/assets/esri/core/workers/chunks/9f34cf024231f574009c.js +1 -0
- package/assets/esri/core/workers/chunks/{e705d041f6c1632bfbcc.js → a10c6dd3bb8b3602de68.js} +1 -1
- package/assets/esri/core/workers/chunks/a64cd02ca959d511101c.js +1 -0
- package/assets/esri/core/workers/chunks/a808be466812db51813d.js +1 -0
- package/assets/esri/core/workers/chunks/{6b4a24248182245167ca.js → a931515a2569713e743b.js} +1 -1
- package/assets/esri/core/workers/chunks/a95e28ade258b144cbb5.js +1 -0
- package/assets/esri/core/workers/chunks/adc68e2c6d2698a52bfe.js +1 -0
- package/assets/esri/core/workers/chunks/{0f8149fdcf0adeca268e.js → b28e0b89603d8b03f9e1.js} +1 -1
- package/assets/esri/core/workers/chunks/b5e4a36784d598ae6679.js +1 -0
- package/assets/esri/core/workers/chunks/{204d738c8b651314ae64.js → b899b4e7979c13b99526.js} +1 -1
- package/assets/esri/core/workers/chunks/bb4574a87ca21e719f0d.js +1 -0
- package/assets/esri/core/workers/chunks/{07639f406b71bb49ffd6.js → bdbb5b33f0f49661bf6d.js} +1 -1
- package/assets/esri/core/workers/chunks/bf05164b7a3e4f31e9db.js +1 -0
- package/assets/esri/core/workers/chunks/c042269586921e337be9.js +1 -0
- package/assets/esri/core/workers/chunks/c7391b0b5a9c916a53f7.js +1 -0
- package/assets/esri/core/workers/chunks/{43d28c6509c21b8917a8.js → ca7523c14d81c470e92e.js} +1 -1
- package/assets/esri/core/workers/chunks/d0ae8752419d5b761190.js +1 -0
- package/assets/esri/core/workers/chunks/d445e9399fe4ca3d2a50.js +1 -0
- package/assets/esri/core/workers/chunks/d7683a95775c9f401a7e.js +1 -0
- package/assets/esri/core/workers/chunks/{9d6945cda99d14af83ac.js → d7d9656b990ce8be2152.js} +1 -1
- package/assets/esri/core/workers/chunks/dbfb00fb28b8b9f687a1.js +1 -0
- package/assets/esri/core/workers/chunks/df4a0af329ce94a47a7b.js +1 -0
- package/assets/esri/core/workers/chunks/e071b912539304564b69.js +1 -0
- package/assets/esri/core/workers/chunks/e10d6e511921394474ca.js +1 -0
- package/assets/esri/core/workers/chunks/e4b6aa8f67c2bd285020.js +1 -0
- package/assets/esri/core/workers/chunks/e6ca02f98f855024f74b.js +1 -0
- package/assets/esri/core/workers/chunks/{892157696e8f9e38c472.js → e6e837e43b9348050832.js} +1 -1
- package/assets/esri/core/workers/chunks/{d3325ed8d224e2350db7.js → e8a3ad00936f2ccaf362.js} +1 -1
- package/assets/esri/core/workers/chunks/ef7063ee790d2d64d4b2.js +1 -0
- package/assets/esri/core/workers/chunks/{b65fcfde62d49de1fa54.js → ef977be20a647aeded0a.js} +1 -1
- package/assets/esri/core/workers/chunks/efb631371b6bb3f043bb.js +1 -0
- package/assets/esri/core/workers/chunks/{0f5693541111fcae0c2f.js → f0914715e90e43466f8c.js} +1 -1
- package/assets/esri/core/workers/chunks/{ab71865b94022e78035c.js → f92845eb7df1804fcd6d.js} +1 -1
- package/assets/esri/core/workers/chunks/{bfc063d4431bfa162160.js → fd09f38fb4d99bf34988.js} +1 -1
- package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +108 -0
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/GaussianSplat.glsl.js +2 -2
- package/chunks/GaussianSplatDepthComposition.glsl.js +4 -5
- package/chunks/HUDMaterial.glsl.js +45 -47
- package/chunks/LineMarker.glsl.js +33 -34
- package/chunks/PointRenderer.glsl.js +6 -6
- package/chunks/RibbonLine.glsl.js +62 -54
- package/chunks/boundedPlane.js +1 -1
- package/chunks/libtess-f32.js +1 -1
- package/chunks/libtess-f64.js +1 -1
- package/config.js +1 -1
- package/core/Collection.d.ts +3 -2
- package/core/Identifiable.d.ts +1 -3
- package/core/accessorSupport/ensureType.js +1 -1
- package/core/accessorSupport/types.d.ts +0 -8
- package/core/compilerUtils.js +1 -1
- package/core/promiseUtils.d.ts +1 -1
- package/core/reactiveUtils.d.ts +2 -2
- package/core/typedArrayUtil.js +1 -1
- package/core/units.d.ts +8 -2
- package/core/units.js +1 -1
- package/core/workers/loaderConfig.js +1 -1
- package/editing/sharedTemplates/SharedTemplate.js +1 -1
- package/geometry/HeightModelInfo.d.ts +3 -3
- package/geometry/SpatialReference.d.ts +2 -2
- package/geometry/libtess.js +1 -1
- package/geometry/support/MeshTexture.js +1 -1
- package/geometry/support/aaBoundingRect.js +1 -1
- package/geometry/support/boundedPlane.js +1 -1
- package/geometry/support/heightModelInfoUtils.js +1 -1
- package/geometry/support/meshUtils/External.js +1 -1
- package/geometry/support/meshUtils/exporters/gltf/imageutils.js +1 -1
- package/geometry/support/meshUtils/loadExternal.js +1 -1
- package/geometry/support/meshUtils/types.d.ts +2 -2
- package/geometry/support/rotate.js +1 -1
- package/geometry/types.d.ts +2 -0
- package/identity/IdentityManagerBase.d.ts +4 -4
- package/interfaces.d.ts +2937 -2955
- package/kernel.js +1 -1
- package/layers/BaseElevationLayer.d.ts +3 -4
- package/layers/BuildingSceneLayer.d.ts +1 -1
- package/layers/ElevationLayer.d.ts +3 -4
- package/layers/FeatureLayer.d.ts +12 -11
- package/layers/FeatureLayer.js +1 -1
- package/layers/GroupLayer.d.ts +3 -3
- package/layers/ImageryLayer.d.ts +3 -3
- package/layers/ImageryTileLayer.d.ts +3 -4
- package/layers/Layer.d.ts +4 -4
- package/layers/LineOfSightLayer.d.ts +1 -1
- package/layers/LinkChartLayer.js +1 -1
- package/layers/MapImageLayer.d.ts +7 -8
- package/layers/MediaLayer.d.ts +3 -3
- package/layers/OrientedImageryLayer.d.ts +3 -3
- package/layers/ParquetLayer.d.ts +1 -1
- package/layers/ParquetLayer.js +1 -1
- package/layers/RouteLayer.d.ts +2 -3
- package/layers/SceneLayer.d.ts +167 -3
- package/layers/SceneLayer.js +1 -1
- package/layers/StreamLayer.d.ts +3 -3
- package/layers/SubtypeGroupLayer.d.ts +3 -3
- package/layers/WCSLayer.d.ts +3 -3
- package/layers/buildingSublayers/BuildingGroupSublayer.d.ts +1 -1
- package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/graphics/dehydratedFeatureComparison.js +1 -1
- package/layers/graphics/dehydratedFeatures.js +1 -1
- package/layers/graphics/hydratedFeatures.js +1 -1
- package/layers/graphics/sources/ParquetSource.d.ts +1 -1
- package/layers/graphics/sources/support/QueryTask.js +1 -1
- package/layers/mixins/SceneService.d.ts +2 -2
- package/layers/orientedImagery/queries.js +1 -1
- package/layers/orientedImagery/transformations/imageToWorld.d.ts +2 -2
- package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
- package/layers/orientedImagery/transformations/types.d.ts +1 -1
- package/layers/raster/datasets/pixelReader.d.ts +1 -7
- package/layers/raster/functions/changeDetectionUtils.js +1 -1
- package/layers/raster/functions/creators/createBandIndexFunctions.d.ts +29 -29
- package/layers/raster/functions/customBandIndexUtils.js +1 -1
- package/layers/raster/functions/focalStatUtils.js +1 -1
- package/layers/raster/functions/pixelTransformUtils.js +1 -1
- package/layers/save/featureLayerUtils.js +1 -1
- package/layers/support/BuildingFilterMode.d.ts +3 -1
- package/layers/support/BuildingFilterMode.js +1 -1
- package/layers/support/BuildingFilterModeSolid.js +1 -1
- package/layers/support/BuildingFilterModeWireFrame.js +1 -1
- package/layers/support/BuildingFilterModeXRay.js +1 -1
- package/layers/support/CodedValue.d.ts +1 -1
- package/layers/support/ControlPoint.d.ts +6 -20
- package/layers/support/ControlPointsGeoreference.d.ts +2 -1
- package/layers/support/ElevationSampler.d.ts +2 -2
- package/layers/support/ElevationSampler.js +1 -1
- package/layers/support/FeatureReductionBinning.d.ts +4 -4
- package/layers/support/FeatureReductionBinning.js +1 -1
- package/layers/support/FeatureReductionSelection.d.ts +3 -3
- package/layers/support/FeatureReductionSelection.js +1 -1
- package/layers/support/Field.d.ts +1 -2
- package/layers/support/ParquetGeometryEncodingLocation.d.ts +6 -4
- package/layers/support/ParquetGeometryEncodingLocation.js +1 -1
- package/layers/support/ParquetGeometryEncodingWkb.d.ts +6 -4
- package/layers/support/ParquetGeometryEncodingWkb.js +1 -1
- package/layers/support/PixelBlock.d.ts +11 -3
- package/layers/support/RangeDomain.d.ts +2 -1
- package/layers/support/SceneServiceTimeInfo.js +5 -0
- package/layers/support/SpriteSource.d.ts +1 -0
- package/layers/support/Sublayer.d.ts +17 -16
- package/layers/support/Sublayer.js +1 -1
- package/layers/support/SubtypeSublayer.js +1 -1
- package/layers/support/domains.js +1 -1
- package/layers/support/featureReductionUtils.js +1 -1
- package/layers/support/rasterFunctionUtils.d.ts +30 -30
- package/layers/support/types.d.ts +101 -1
- package/layers/types.d.ts +12 -1
- package/layers/wms/types.d.ts +0 -4
- package/networks/CircuitManager.d.ts +5 -5
- package/networks/Network.d.ts +5 -5
- package/networks/UtilityNetwork.d.ts +2 -2
- package/networks/support/TopologyValidationJobInfo.js +1 -1
- package/networks/support/TraceJobInfo.js +1 -1
- package/package.json +2 -2
- package/popup/content/types.d.ts +1 -3
- package/portal/PortalItem.d.ts +8 -8
- package/portal/PortalItemResource.d.ts +2 -2
- package/portal/PortalUser.d.ts +3 -3
- package/portal/support/resourceUtils.d.ts +3 -3
- package/portal/types.d.ts +6 -6
- package/renderers/support/RasterSymbolizer.js +1 -1
- package/renderers/support/pointCloud/types.d.ts +1 -0
- package/renderers/support/raster/types.d.ts +1 -0
- package/renderers/support/rendererConversion.js +1 -1
- package/renderers/types.d.ts +2 -0
- package/renderers/visualVariables/support/visualVariableUtils.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +0 -2
- package/rest/layerSources/DynamicDataLayer.d.ts +102 -0
- package/rest/layerSources/DynamicDataLayer.js +5 -0
- package/{layers/support/source/MapLayerSource.d.ts → rest/layerSources/DynamicMapLayer.d.ts} +4 -4
- package/rest/layerSources/DynamicMapLayer.js +5 -0
- package/rest/layerSources/JoinTableDataSource.d.ts +75 -0
- package/rest/layerSources/JoinTableDataSource.js +5 -0
- package/{layers/support/source → rest/layerSources}/QueryTableDataSource.d.ts +8 -7
- package/rest/layerSources/QueryTableDataSource.js +5 -0
- package/{layers/support/source → rest/layerSources}/RasterDataSource.d.ts +2 -2
- package/rest/layerSources/RasterDataSource.js +5 -0
- package/{layers/support/source → rest/layerSources}/TableDataSource.d.ts +2 -2
- package/rest/layerSources/TableDataSource.js +5 -0
- package/rest/layerSources/utils.js +5 -0
- package/rest/print.js +1 -1
- package/rest/query/executeQuery.js +1 -1
- package/rest/query/operations/pbfDehydratedFeatureSet.js +1 -1
- package/rest/support/JobInfo.js +1 -1
- package/rest/support/Query.js +1 -1
- package/rest/support/RelationshipQuery.js +1 -1
- package/rest/support/ServiceAreaParameters.js +1 -1
- package/rest/support/types.d.ts +0 -4
- package/smartMapping/heuristics/binLevel.d.ts +2 -2
- package/smartMapping/heuristics/scaleRange.d.ts +2 -2
- package/smartMapping/heuristics/sizeRange.d.ts +2 -2
- package/smartMapping/heuristics/sizeRange.js +1 -1
- package/smartMapping/heuristics/types.d.ts +3 -3
- package/smartMapping/labels/bins.d.ts +2 -2
- package/smartMapping/labels/clusters.d.ts +2 -2
- package/smartMapping/renderers/color.d.ts +14 -14
- package/smartMapping/renderers/dotDensity.d.ts +2 -2
- package/smartMapping/renderers/heatmap.d.ts +4 -4
- package/smartMapping/renderers/location.d.ts +2 -2
- package/smartMapping/renderers/opacity.d.ts +2 -2
- package/smartMapping/renderers/pieChart.d.ts +4 -4
- package/smartMapping/renderers/predominance.d.ts +2 -2
- package/smartMapping/renderers/relationship.d.ts +4 -4
- package/smartMapping/renderers/size.d.ts +15 -15
- package/smartMapping/renderers/support/rendererUtils.d.ts +2 -2
- package/smartMapping/renderers/support/utils.js +1 -1
- package/smartMapping/renderers/type.d.ts +4 -4
- package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
- package/smartMapping/statistics/classBreaks.d.ts +2 -2
- package/smartMapping/statistics/heatmapStatistics.d.ts +2 -2
- package/smartMapping/statistics/histogram.d.ts +2 -2
- package/smartMapping/statistics/predominantCategories.d.ts +2 -2
- package/smartMapping/statistics/summaryStatistics.d.ts +2 -2
- package/smartMapping/statistics/summaryStatisticsForAge.d.ts +2 -2
- package/smartMapping/statistics/support/ageUtils.d.ts +2 -2
- package/smartMapping/statistics/support/statsWorker.js +1 -1
- package/smartMapping/statistics/support/utils.js +1 -1
- package/smartMapping/statistics/types.d.ts +7 -7
- package/smartMapping/statistics/uniqueValues.d.ts +2 -2
- package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/InMemoryLayerAdapter.js +1 -1
- package/smartMapping/support/adapters/support/histogramUtils.js +1 -1
- package/smartMapping/support/utils.js +1 -1
- package/smartMapping/symbology/color.d.ts +8 -8
- package/smartMapping/symbology/dotDensity.d.ts +6 -6
- package/smartMapping/symbology/flow.d.ts +6 -6
- package/smartMapping/symbology/heatmap.d.ts +6 -6
- package/smartMapping/symbology/location.d.ts +2 -2
- package/smartMapping/symbology/pieChart.d.ts +6 -6
- package/smartMapping/symbology/predominance.d.ts +6 -6
- package/smartMapping/symbology/relationship.d.ts +6 -6
- package/smartMapping/symbology/size.d.ts +2 -2
- package/smartMapping/symbology/support/colorRamps.d.ts +2 -2
- package/smartMapping/symbology/type.d.ts +6 -6
- package/support/popupUtils.d.ts +2 -2
- package/support/revision.js +1 -1
- package/symbols/LineSymbol3D.d.ts +2 -2
- package/symbols/PointSymbol3D.d.ts +2 -2
- package/symbols/PolygonSymbol3D.d.ts +2 -2
- package/symbols/patterns/LinePattern3D.d.ts +8 -0
- package/symbols/patterns/LineStylePattern3D.d.ts +1 -2
- package/symbols/patterns/Pattern3D.d.ts +9 -0
- package/symbols/patterns/StylePattern3D.d.ts +1 -2
- package/symbols/support/ElevationInfo.d.ts +2 -2
- package/symbols/support/IconSymbol3DLayerResource.d.ts +1 -1
- package/symbols/support/defaults.js +1 -1
- package/symbols/support/defaults3D.js +1 -1
- package/symbols/support/previewSymbol3D.js +1 -1
- package/symbols/support/symbolLayerUtils3D.js +1 -1
- package/symbols/support/symbolUtils.js +1 -1
- package/symbols/support/utils.js +1 -1
- package/symbols/types.d.ts +7 -0
- package/unionTypes.d.ts +13 -13
- package/views/2d/analysis/ElevationProfile/ElevationProfileLineVisualization2D.js +1 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +16 -11
- package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
- package/views/2d/analysis/types.d.ts +1 -0
- package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
- package/views/2d/engine/webgl/TextureUploadManager.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/input/handlers/DoubleTapDragZoom.js +1 -1
- package/views/2d/input/handlers/KeyZoom.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +0 -5
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/StreamLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/features/Processor.js +1 -1
- package/views/2d/layers/support/MediaLayerInteractionOptions.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/utils.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
- package/views/3d/analysis/ElevationProfile/ElevationProfileLineVisualization3D.js +1 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +16 -11
- package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
- package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +0 -2
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
- package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
- package/views/3d/analysis/types.d.ts +1 -0
- package/views/3d/camera/constraintUtils/tilt.js +1 -1
- package/views/3d/environment/CloudsParameters.js +1 -1
- package/views/3d/environment/CloudsRenderer.js +1 -1
- package/views/3d/environment/SceneViewEnvironment.js +1 -1
- package/views/3d/environment/SunLighting.d.ts +1 -3
- package/views/3d/glTF/internal/Resource.js +1 -1
- package/views/3d/glTF/internal/fillDefaults.js +1 -1
- package/views/3d/interactive/Manipulator3D.js +1 -1
- package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
- package/views/3d/interactive/editingTools/isSupportedObjectUtils.js +1 -1
- package/views/3d/interactive/editingTools/move/isSupportedObject.js +1 -1
- package/views/3d/interactive/editingTools/transform/isSupportedGraphic.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/LabelInfo.js +1 -1
- package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
- package/views/3d/layers/graphics/lineUtils.js +1 -1
- package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
- package/views/3d/layers/graphics/pipeline/symbolization/primitiveObjectUtils.js +1 -1
- package/views/3d/layers/graphics/primitiveObjectSymbolUtils.js +1 -1
- package/views/3d/layers/i3s/BuildingFilterUtil.js +1 -1
- package/views/3d/layers/i3s/I3SIntersectionHandler.js +1 -1
- package/views/3d/layers/i3s/I3SNode.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/i3s/PointCloudWorkerUtil.js +1 -1
- package/views/3d/layers/i3s/SphereCone.js +5 -0
- package/views/3d/layers/support/FastSymbolUpdates.js +1 -1
- package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +4 -0
- package/views/3d/layers/support/edgeUtils.js +1 -1
- package/views/3d/layers/support/featureReference.js +1 -1
- package/views/3d/layers/support/featureTileQuery3D.js +1 -1
- package/views/3d/layers/support/patternUtils.js +1 -1
- package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/FrustumExtentIntersection.js +1 -1
- package/views/3d/support/QualityProfile.js +1 -1
- package/views/3d/support/QualitySettings.js +1 -1
- package/views/3d/support/buffer/glUtil.js +1 -1
- package/views/3d/support/engineContent/sdfPrimitives.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeTexture.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/isTerrainSurfaceLayer.js +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentData.glsl.js +8 -8
- package/views/3d/webgl-engine/collections/Component/Transform.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js +6 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +5 -5
- package/views/3d/webgl-engine/core/shaderLibrary/shading/PositionOutsideClipSpace.js +5 -0
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileBackground.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/util/BlendModes.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/LocalOriginManager.js +1 -1
- package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/LegacyTransform.js +5 -0
- package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineAmplitude.glsl.js +4 -4
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineOffset.glsl.js +8 -8
- package/views/SceneView.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/View.js +1 -1
- package/views/View2D.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileIndicatorPointVisualization.js +5 -0
- package/views/analysis/ElevationProfile/ElevationProfileLineComputation.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileResult.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileTool.js +1 -1
- package/views/analysis/ElevationProfile/constants.js +1 -1
- package/views/analysis/types.d.ts +4 -0
- package/views/draw/Draw.js +1 -1
- package/views/input/ViewEvents.js +1 -1
- package/views/input/types.d.ts +2 -4
- package/views/interactive/editGeometry/EditGeometry.js +1 -1
- package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
- package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
- package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
- package/views/interactive/snapping/featureSources/symbologySnappingCandidates.js +1 -1
- package/views/layers/CatalogLayerView.d.ts +1 -4
- package/views/layers/DimensionLayerView.d.ts +4 -6
- package/views/layers/DimensionLayerViewMixin.d.ts +0 -97
- package/views/layers/LineOfSightLayerView.d.ts +4 -6
- package/views/layers/LineOfSightLayerViewMixin.d.ts +0 -77
- package/views/layers/StreamLayerView.d.ts +31 -2
- package/views/support/PromiseQueue.js +1 -1
- package/views/support/WebAssemblyRequirements.js +5 -0
- package/views/support/WebGLRequirements.js +1 -1
- package/views/support/screenUtils.js +1 -1
- package/views/support/screenshotUtils.js +1 -1
- package/views/webgl/FramebufferObject.js +1 -1
- package/views/webgl/Uniform.js +1 -1
- package/views/webgl/Util.js +1 -1
- package/webdoc/support/SlideThumbnail.d.ts +6 -3
- package/webdoc/support/SlideThumbnail.js +1 -1
- package/webscene/Slide.d.ts +2 -2
- package/webscene/spec-certification/api.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +2 -2
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +2 -2
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
- package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
- package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +7 -0
- package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +5 -0
- package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +2 -2
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
- package/widgets/Directions/DirectionsViewModel.d.ts +20 -4
- package/widgets/Directions/DirectionsViewModel.js +1 -1
- package/widgets/Directions.d.ts +2 -3
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +2 -2
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
- package/widgets/Editor/EditorViewModel.d.ts +2 -2
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Editor.d.ts +2 -2
- package/widgets/ElevationProfile/support/HoveredPoints.js +1 -1
- package/widgets/ElevationProfile/types.d.ts +3 -4
- package/widgets/Feature/support/arcadeFeatureUtils.js +1 -1
- package/widgets/Feature/types.d.ts +1 -5
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/featureFormUtils.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/Grid/types.d.ts +0 -2
- package/widgets/FeatureTable/support/types.d.ts +8 -8
- package/widgets/Features/FeaturesViewModel.d.ts +3 -3
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/LineOfSight/LineOfSightViewModel.d.ts +2 -2
- package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/navigation/queries.js +1 -1
- package/widgets/Popup/types.d.ts +0 -2
- package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
- package/widgets/ShadowCast/ShadowCastVisibleElements.d.ts +2 -0
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/support/OperationHandle.js +1 -1
- package/widgets/Sketch/types.d.ts +2 -2
- package/widgets/Slice/SliceViewModel.d.ts +2 -2
- package/widgets/Slice/SliceViewModel.js +1 -1
- package/widgets/Spinner/SpinnerViewModel.js +1 -1
- package/widgets/TimeSlider.js +1 -1
- package/widgets/support/AnalysisViewModelMixin.js +5 -0
- package/widgets/support/AnchorElementViewModel.js +1 -1
- package/widgets/support/InteractiveToolViewModelMixin.js +5 -0
- package/widgets/support/SelectionList/GroupLayerItem.js +1 -1
- package/widgets/support/dateUtils.js +1 -1
- package/assets/esri/core/workers/chunks/055fdc5134d54174444d.js +0 -316
- package/assets/esri/core/workers/chunks/058fb2cd6387acfd458c.js +0 -1
- package/assets/esri/core/workers/chunks/08359ae020238a565955.js +0 -1
- package/assets/esri/core/workers/chunks/0ae018098906d6a88904.js +0 -1
- package/assets/esri/core/workers/chunks/0cd3acfbf9ee991bdab4.js +0 -1
- package/assets/esri/core/workers/chunks/0e5cd0cf6ab7cb37d723.js +0 -1
- package/assets/esri/core/workers/chunks/0ee407b8db5c07a00d82.js +0 -1
- package/assets/esri/core/workers/chunks/10373885604655f673df.js +0 -1
- package/assets/esri/core/workers/chunks/119822a646834c1cebc0.js +0 -1
- package/assets/esri/core/workers/chunks/13d61d34e55c80e4ecdf.js +0 -1
- package/assets/esri/core/workers/chunks/17dea03fc4eb414f0022.js +0 -1
- package/assets/esri/core/workers/chunks/1967239713b58dccfd81.js +0 -1
- package/assets/esri/core/workers/chunks/1c350a2c4014146dbcd9.js +0 -1
- package/assets/esri/core/workers/chunks/2266a8f2c2ec37c19bb4.js +0 -1
- package/assets/esri/core/workers/chunks/226acd251ad7d7ee3b57.js +0 -1
- package/assets/esri/core/workers/chunks/22b07c54a5fcc27771b0.js +0 -1
- package/assets/esri/core/workers/chunks/22ca80f491e070b2a5e7.js +0 -1
- package/assets/esri/core/workers/chunks/2402d305a77fef4694a0.js +0 -1
- package/assets/esri/core/workers/chunks/27f096c434f049b8df01.js +0 -1
- package/assets/esri/core/workers/chunks/3371935a4fd6346d3a17.js +0 -1
- package/assets/esri/core/workers/chunks/3c3d311b88f5400951ef.js +0 -1
- package/assets/esri/core/workers/chunks/3c4f8597f602779174f1.js +0 -1
- package/assets/esri/core/workers/chunks/3da53c017f9c5d2d778a.js +0 -1
- package/assets/esri/core/workers/chunks/4773a358832f87963766.js +0 -1
- package/assets/esri/core/workers/chunks/492515860198f38dd698.js +0 -1
- package/assets/esri/core/workers/chunks/4f33a2ecb154a2c2449c.js +0 -1
- package/assets/esri/core/workers/chunks/4f6f181ee83b4d484518.js +0 -1
- package/assets/esri/core/workers/chunks/52726458f590e726d52c.js +0 -1
- package/assets/esri/core/workers/chunks/536c492fdda30f2f1288.js +0 -1
- package/assets/esri/core/workers/chunks/600e2e6b51e2fb9c598c.js +0 -1
- package/assets/esri/core/workers/chunks/62b28f73f814413c10fc.js +0 -1
- package/assets/esri/core/workers/chunks/63b8cd7d5cafbaeed894.js +0 -1
- package/assets/esri/core/workers/chunks/6925f09d44cc38480d53.js +0 -1
- package/assets/esri/core/workers/chunks/7f4fa2f2e85863d3cfb9.js +0 -1
- package/assets/esri/core/workers/chunks/8f4c480c418eba299c2b.js +0 -1
- package/assets/esri/core/workers/chunks/990341f7c47bd656c782.js +0 -1
- package/assets/esri/core/workers/chunks/a3836f6a93924ee4816e.js +0 -1
- package/assets/esri/core/workers/chunks/ab520fd1ae917daf07d8.js +0 -1
- package/assets/esri/core/workers/chunks/acc7ff44bfcb5c195114.js +0 -1
- package/assets/esri/core/workers/chunks/b25a131c04092c3ab75d.js +0 -1
- package/assets/esri/core/workers/chunks/b7960ab9a9da7f88184c.js +0 -1
- package/assets/esri/core/workers/chunks/b9909264cfea68d5f2a1.js +0 -1
- package/assets/esri/core/workers/chunks/ba7f57788847cc0f68df.js +0 -1
- package/assets/esri/core/workers/chunks/bb08359610a41e304b55.js +0 -1
- package/assets/esri/core/workers/chunks/bf06250be7a7a36306b1.js +0 -1
- package/assets/esri/core/workers/chunks/bfbbcaa1fb04f17fc869.js +0 -1
- package/assets/esri/core/workers/chunks/d30cfc5fa302cc08d862.js +0 -1
- package/assets/esri/core/workers/chunks/d75adfd4acb3c92accc9.js +0 -1
- package/assets/esri/core/workers/chunks/da99fd0d3106dd357743.js +0 -1
- package/assets/esri/core/workers/chunks/de71db3b0fb947b13c97.js +0 -1
- package/assets/esri/core/workers/chunks/dfbbead4c24d13682891.js +0 -1
- package/assets/esri/core/workers/chunks/e4ba850e8344ac2c5fc0.js +0 -1
- package/assets/esri/core/workers/chunks/f7d93aae350796b88562.js +0 -1
- package/assets/esri/core/workers/chunks/f9370830051865a3435b.js +0 -1
- package/layers/mixins/TemporalSceneLayer.d.ts +0 -177
- package/layers/mixins/TemporalSceneLayer.js +0 -5
- package/layers/mixins/properties/ILayerWithSave.d.ts +0 -11
- package/layers/support/ContingencyConstraintViolation.d.ts +0 -2
- package/layers/support/ContingentValue.d.ts +0 -2
- package/layers/support/ContingentValuesResult.d.ts +0 -2
- package/layers/support/ElevationQuery.d.ts +0 -35
- package/layers/support/ElevationQueryContext.d.ts +0 -37
- package/layers/support/FeatureReduction.d.ts +0 -3
- package/layers/support/FeatureReduction.js +0 -5
- package/layers/support/FieldGroup.d.ts +0 -2
- package/layers/support/FieldValueType.d.ts +0 -2
- package/layers/support/I3SLayer.d.ts +0 -9
- package/layers/support/ParquetGeometryEncodingBase.d.ts +0 -9
- package/layers/support/ParquetGeometryEncodingBase.js +0 -5
- package/layers/support/SimpleBandStatistics.d.ts +0 -10
- package/layers/support/source/DataLayerSource.d.ts +0 -171
- package/layers/support/source/DataLayerSource.js +0 -5
- package/layers/support/source/MapLayerSource.js +0 -5
- package/layers/support/source/QueryTableDataSource.js +0 -5
- package/layers/support/source/RasterDataSource.js +0 -5
- package/layers/support/source/TableDataSource.js +0 -5
- package/layers/support/source/types.d.ts +0 -4
- package/views/2d/layers/features/FeaturePipelineWorkerProxy.d.ts +0 -32
- package/views/3d/webgl-engine/shaders/GaussianSplatColorTechnique.js +0 -5
- package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +0 -5
- package/views/3d/webgl-engine/shaders/GaussianSplatDepthTechnique.js +0 -5
- package/views/analysis/ElevationProfile/ElevationProfileHoveredPointVisualization.js +0 -5
- package/widgets/support/AnalysisViewModel.d.ts +0 -5
- package/widgets/support/AnalysisViewModel.js +0 -5
- package/widgets/support/AnchorElementViewModel.d.ts +0 -3
- package/widgets/support/InteractiveToolViewModel.d.ts +0 -4
- package/widgets/support/InteractiveToolViewModel.js +0 -5
- /package/webdoc/support/{thumbnailUtils.d.ts → types.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4724,5953],{1873:(e,t,n)=>{n.d(t,{$y:()=>U,Ak:()=>B,FM:()=>v,G_:()=>y,Rw:()=>O,Vb:()=>g,b3:()=>N,gJ:()=>f,jM:()=>P,lv:()=>V,oZ:()=>E,qg:()=>b,sU:()=>G,z9:()=>p,zS:()=>z});var i=n(9760),r=n(84892);const a="<Null>",s="equal-interval",o=1,l=5,c=10,u=/\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*/gi,d=new Set(["esriFieldTypeDate","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeOID","esriFieldTypeBigInteger"]),h=new Set(["esriFieldTypeTimeOnly","esriFieldTypeDateOnly"]),m=["min","max","avg","stddev","count","sum","variance","nullcount","median"];function f(e){return null==e||"string"==typeof e&&!e?a:e}function g(e){const t=null!=e.normalizationField||null!=e.normalizationType,n=null!=e.minValue||null!=e.maxValue,i=!!e.sqlExpression&&e.supportsSQLExpression;return!t&&!n&&!i}function p(e){const{outStatisticTypes:t}=e,n=e.returnDistinct?[...new Set(e.values)]:e.values,i=n.filter(e=>null!=e).sort(),r=i.length,a={count:r,min:i[0],max:i[r-1]};return e.supportsNullCount&&(a.nullcount=n.length-r),!e.percentileParams||t?.include?.length&&!t.include.includes("median")||t?.exclude?.length&&t.exclude.includes("median")||(a.median=b(n,e.percentileParams)),a}function y(e){const{values:t,useSampleStdDev:n,supportsNullCount:i,outStatisticTypes:r}=e;let a=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY,o=null,l=null,c=null,u=null,d=0;const h=null==e.minValue?-1/0:e.minValue,m=null==e.maxValue?1/0:e.maxValue;for(const e of t)Number.isFinite(e)?e>=h&&e<=m&&(o=null===o?e:o+e,a=Math.min(a,e),s=Math.max(s,e),d++):"string"==typeof e&&d++;if(d&&null!=o){l=o/d;let e=0;for(const n of t)Number.isFinite(n)&&n>=h&&n<=m&&(e+=(n-l)**2);u=n?d>1?e/(d-1):0:d>0?e/d:0,c=Math.sqrt(u)}else a=null,s=null;const f={avg:l,count:d,max:s,min:a,stddev:c,sum:o,variance:u};return i&&(f.nullcount=t.length-d),!e.percentileParams||r?.include?.length&&!r.include.includes("median")||r?.exclude?.length&&r.exclude.includes("median")||(f.median=b(t,e.percentileParams)),f}function b(e,t){const{fieldType:n,value:i,orderBy:r,isDiscrete:a}=t,s=v(n,"desc"===r,"case-insensitive");if(0===(e=[...e].filter(e=>null!=e).sort((e,t)=>s(e,t))).length)return null;if(i<=0)return e[0];if(i>=1)return e[e.length-1];const o=(e.length-1)*i,l=Math.floor(o),c=l+1,u=o%1,d=e[l],h=e[c];return c>=e.length||a||"string"==typeof d||"string"==typeof h?d:d*(1-u)+h*u}function v(e,t,n="case-sensitive"){if(e){if(d.has(e))return F(t);if(h.has(e))return C(t,!0);if("esriFieldTypeTimestampOffset"===e)return function(e){return e?w:M}(t);const i=C(t,"case-sensitive"===n);if("esriFieldTypeString"===e)return i;if("esriFieldTypeGUID"===e||"esriFieldTypeGlobalID"===e)return(e,t)=>i(k(e),k(t))}const i=t?1:-1,r=F(t),a=C(t,"case-sensitive"===n),s=_(t);return(e,t)=>"number"==typeof e&&"number"==typeof t?r(e,t):"string"==typeof e&&"string"==typeof t?a(e,t):s(e,t)??i}const T=(e,t)=>null==e?null==t?0:1:null==t?-1:null,S=(e,t)=>null==e?null==t?0:-1:null==t?1:null;function _(e){return e?T:S}const M=(e,t)=>S(e,t)??(e===t?0:new Date(e).getTime()-new Date(t).getTime()),w=(e,t)=>T(e,t)??(e===t?0:new Date(t).getTime()-new Date(e).getTime()),A=(e,t)=>S(e,t)??(e===t?0:e<t?-1:1),x=(e,t)=>T(e,t)??(e===t?0:e<t?1:-1);function C(e,t){if(t)return e?x:A;const n=_(e);return e?(e,t)=>{const i=n(e,t);return null!=i?i:(e=e.toUpperCase())>(t=t.toUpperCase())?-1:e<t?1:0}:(e,t)=>{const i=n(e,t);return null!=i?i:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}}const L=(e,t)=>T(e,t)??t-e,I=(e,t)=>S(e,t)??e-t;function F(e){return e?L:I}function k(e){return e.slice(24,36)+e.slice(19,23)+e.slice(16,18)+e.slice(14,16)+e.slice(11,13)+e.slice(9,11)+e.slice(6,8)+e.slice(4,6)+e.slice(2,4)+e.slice(0,2)}function E(e,t,n){let i;for(i in e)t?.include?.length&&!t.include.includes(i)||t?.exclude?.length&&t.exclude.includes(i)?delete e[i]:m.includes(i)&&(Number.isFinite(e[i])||(e[i]=null));return n?(["avg","stddev","variance"].forEach(t=>{null!=e[t]&&(e[t]=Math.ceil(e[t]??0))}),e):e}function N(e){const t={};for(let n of e)(null==n||"string"==typeof n&&""===n.trim())&&(n=null),null==t[n]?t[n]={count:1,data:n}:t[n].count++;return{count:t}}function D(e){return"coded-value"!==e?.type?[]:e.codedValues.map(e=>e.code)}function V(e,t,n,i){const r=e.count,a=[];if(n&&t){const e=[],n=D(t[0]);for(const r of n)if(t[1]){const n=D(t[1]);for(const a of n)if(t[2]){const n=D(t[2]);for(const t of n)e.push(`${f(r)}${i}${f(a)}${i}${f(t)}`)}else e.push(`${f(r)}${i}${f(a)}`)}else e.push(r);for(const t of e)r.hasOwnProperty(t)||(r[t]={data:t,count:0})}for(const e in r){const t=r[e];a.push({value:t.data,count:t.count,label:t.label})}return{uniqueValueInfos:a}}function z(e,t,n,i){let r=null;switch(t){case"log":0!==e&&(r=Math.log(e)*Math.LOG10E);break;case"percent-of-total":Number.isFinite(i)&&0!==i&&(r=e/i*100);break;case"field":Number.isFinite(n)&&0!==n&&(r=e/n);break;case"natural-log":e>0&&(r=Math.log(e));break;case"square-root":e>0&&(r=e**.5)}return r}function O(e,t,n){const i=Z({field:t.field,normalizationType:t.normalizationType,normalizationField:t.normalizationField,classificationMethod:t.classificationMethod,standardDeviationInterval:t.standardDeviationInterval,definedInterval:t.definedInterval,breakCount:t.numClasses||l});return e=function(e,t,n){const i=t??-1/0,r=n??1/0;return e.filter(e=>Number.isFinite(e)&&e>=i&&e<=r)}(e,t.minValue,t.maxValue),(0,r.t)({definition:i,values:e,normalizationTotal:t.normalizationTotal},n)}function Z(e){const{breakCount:t,field:n,normalizationField:r,normalizationType:a}=e,l=e.classificationMethod||s,c="standard-deviation"===l?e.standardDeviationInterval||o:void 0,u="defined-interval"===l?e.definedInterval:void 0;return new i.A({breakCount:t,classificationField:n,classificationMethod:l,normalizationField:"field"===a?r:void 0,normalizationType:a,standardDeviationInterval:c,definedInterval:u})}function P(e,t){let n=e.classBreaks;const i=n.length,r=n[0]?.minValue,a=n[i-1]?.maxValue,s="standard-deviation"===t,o=u;return n=n.map(e=>{const t=e.label,n={minValue:e.minValue,maxValue:e.maxValue,label:t};if(s&&t){const e=t.match(o),i=e?.map(e=>+e.trim())??[];2===i.length?(n.minStdDev=i[0],n.maxStdDev=i[1],i[0]<0&&i[1]>0&&(n.hasAvg=!0)):1===i.length&&(t.includes("<")?(n.minStdDev=null,n.maxStdDev=i[0]):t.includes(">")&&(n.minStdDev=i[0],n.maxStdDev=null))}return n}),{minValue:r,maxValue:a,classBreakInfos:n,normalizationTotal:e.normalizationTotal}}function U(e,t){const n=G(e,t);if(null==n.min&&null==n.max)return{bins:[],minValue:n.min,maxValue:n.max,normalizationTotal:t.normalizationTotal};const i=n.intervals,r=n.min??0,a=n.max??0,s=i.map((e,t)=>({minValue:i[t][0],maxValue:i[t][1],count:0}));for(const t of e)if(null!=t&&t>=r&&t<=a){const e=B(i,t);e>-1&&s[e].count++}return{bins:s,minValue:r,maxValue:a,normalizationTotal:t.normalizationTotal}}function G(e,t,n=!1){const{field:i,classificationMethod:r,standardDeviationInterval:a,definedInterval:s,normalizationType:o,normalizationField:l,normalizationTotal:u,minValue:d,maxValue:h}=t,m=t.numBins||c;let f=null,p=null,b=null;if(r&&"equal-interval"!==r||o){const{classBreaks:t}=O(e,{field:i,normalizationType:o,normalizationField:l,normalizationTotal:u,classificationMethod:r,standardDeviationInterval:a,definedInterval:s,minValue:d,maxValue:h,numClasses:m},null!=d&&null!=h?[d,h]:void 0);f=t[0]?.minValue,p=t[t.length-1]?.maxValue,b=t.map(e=>[e.minValue,e.maxValue])}else{if(null!=d&&null!=h)f=d,p=h;else{const t=y({values:e,minValue:d,maxValue:h,useSampleStdDev:!o,supportsNullCount:g({normalizationType:o,normalizationField:l,minValue:d,maxValue:h})});f=t.min??null,p=t.max??null}b=function(e,t,n){const i=(t-e)/n,r=[];let a,s=e;for(let e=1;e<=n;e++)a=s+i,a=Number(a.toFixed(16)),r.push([s,e===n?t:a]),s=a;return r}(f??0,p??0,m)}if(n&&b.length){const e=b.at(-1)[1];b.push([e,e])}return{min:f,max:p,intervals:b}}function B(e,t){let n=-1;for(let i=e.length-1;i>=0;i--)if(t>=e[i][0]){n=i;break}return n}},3330:(e,t,n)=>{n.d(t,{GB:()=>r,Qo:()=>s,Y4:()=>a});var i=n(28097);class r{static{this.instance=new i.oh("Etc/UTC")}}function a(e){return e instanceof i.bo?e===r.instance:"unknown"===e?.toString().toLowerCase()}function s(e){return a(e)?r.instance:e}},3483:(e,t,n)=>{function i(e,t){for(const n of e.values())if(t(n))return!0;return!1}function r(e,t){if(!t)return e;for(const n of t)null!=n&&e.add(n);return e}function a(e,t){return null!=t&&e.add(t),e}function s(e,t){const n=new Set;return r(n,e),r(n,t),n}function o(e,t){const n=new Set;for(const i of t)e.has(i)&&n.add(i);return n}function l(e,t){if(!e||!t)return!1;if(e===t)return!0;for(const n of e)if(!t.has(n))return!1;return!0}function c(e,t){if(null==e&&null==t)return!0;if(null==e||null==t||e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function u(e,t){const n=new Set(e);for(const e of t)n.delete(e);return n}n.d(t,{E$:()=>o,FB:()=>r,KC:()=>s,Yy:()=>l,aI:()=>c,bw:()=>i,iv:()=>u,kb:()=>a})},4560:(e,t,n)=>{n.d(t,{i0:()=>u,j4:()=>c,fs:()=>l});var i=n(97770),r=n(30524);n(7762),n(84952),n(27865),n(43281);var a=n(98623),s=n(56400);let o;function l(e){return(0,r.vE)(e)||(0,r.zD)(e)||(0,r.Ah)(e)}async function c(e,t){if(!e)return null;if(!o){const e=await Promise.all([n.e(8368),n.e(4800),n.e(5)]).then(n.bind(n,44123)).then(e=>e.WhereClauseCache);o=new e(50,500)}return o.get(e,t)}function u(e,t){const{format:n,fieldFormat:r,timeZoneOptions:o,fieldType:l}=t??{},c=r?(0,i._m)(r):null;let u,d;if(o&&({timeZone:u,timeZoneName:d}=(0,s.hv)(o.layerTimeZone,o.datesInUnknownTimezone,o.viewTimeZone,c||(0,i.J2)(n||"short-date-short-time"),l)),"string"==typeof e&&isNaN(Date.parse("time-only"===l?`1970-01-01T${e}Z`:e)))return e;switch(l){case"date-only":{const t=c||(0,i.J2)(n||"short-date");return"string"==typeof e?(0,i.iS)(e,{...t}):(0,i.Yq)(e,{...t,timeZone:a.n$})}case"time-only":{const t=c||(0,i.J2)(n||"short-time");return"string"==typeof e?(0,i.F8)(e,t):(0,i.Yq)(e,{...t,timeZone:a.n$})}case"timestamp-offset":{if(!u&&"string"==typeof e&&new Date(e).toISOString()!==e)return e;const t=n||c||o?c||(0,i.J2)(n||"short-date-short-time"):void 0,r=t?{...t,timeZone:u,timeZoneName:d}:void 0;return"string"==typeof e?(0,i.Ey)(e,r):(0,i.Yq)(e,r)}default:{const t=n||c||o?c||(0,i.J2)(n||"short-date-short-time"):void 0;return(0,i.Yq)("string"==typeof e?new Date(e):e,t?{...t,timeZone:u,timeZoneName:d}:void 0)}}}new Set(["integer","small-integer"])},7695:(e,t,n)=>{function i(e){return(t,n)=>{t[n]=e}}n.d(t,{u:()=>i})},7762:(e,t,n)=>{n.d(t,{A:()=>D});var i,r=n(31635),a=n(98291),s=n(4576),o=n(65529),l=n(36563),c=n(4718),u=n(53966),d=n(93687),h=n(76030),m=n(56507),f=n(62788),g=n(10107),p=n(7695),y=n(64108),b=n(95488),v=n(12195);class T{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}}class S{constructor(e,t,n,i,r){this.target=e,this.added=t,this.removed=n,this.start=i,this.deleteCount=r}}const _=new d.A(()=>new T,void 0,e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1});function M(e){e&&"object"==typeof e&&"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}function w(e){return e?e instanceof N?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function A(e){if(e?.length)return e[0]}function x(e,t,n,i){const r=Math.min(e.length-n,t.length-i);let a=0;for(;a<r&&e[n+a]===t[i+a];)a++;return a}function C(e,t,n,i){t&&t.forEach((t,r,a)=>{e.push(t),C(e,n.call(i,t,r,a),n,i)})}const L=new Set,I=new Set,F=new Set,k=new Map;let E=0,N=i=class extends o.nJ{static ofType(e){if(!e)return i;if(k.has(e))return k.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const n in e.typeMap){const i=e.typeMap[n].prototype.declaredClass;t?t+=` | ${i}`:t=i}let n=class extends i{};return(0,r.Cg)([(0,p.u)({Type:e,ensureType:"function"==typeof e?(0,m.dp)(e):(0,m.aq)(e)})],n.prototype,"itemType",void 0),n=(0,r.Cg)([(0,y.$)(`esri.core.Collection<${t}>`)],n),k.set(e,n),n}static isCollection(e){return null!=e&&e instanceof i}constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._updating=!1,this._timer=null,this._observable=new b.I,this._length=0,this._items=[],Object.defineProperty(this,"uid",{value:E++})}normalizeCtorArgs(e){return e?(0,s.yc)(e)||e instanceof i?{items:e}:e:{}}destroy(){this._removeAllRaw(),this._timer&&this._timer.remove(),super.destroy(),this._notifications=null}*[Symbol.iterator](){yield*this.items}get length(){return this._length}set length(e){e>this._length?u.A.getLogger(this).error("#length=","Cannot increase the length of the collection by assigning to the length property."):this.splice(e,Math.max(0,this._length-e))}get items(){return(0,f.gc)(this._observable),this._items}set items(e){this._emitBeforeChanges(1)||(this._splice(0,this.length,w(e)),this._emitAfterChanges(1))}hasEventListener(e){return!this.destroyed&&("change"===e?this._chgListeners.length>0:super.hasEventListener(e))}on(e,t){if(this.destroyed)return(0,l.hA)();if("change"===e){const e=this._chgListeners,n={removed:!1,callback:t};return e.push(n),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),(0,l.hA)(()=>{n.removed=!0,e.splice(e.indexOf(n),1)})}return super.on(e,t)}once(e,t){const n="deref"in t?()=>t.deref():()=>t,i=this.on(e,e=>{n()?.call(null,e),i.remove()});return i}add(e,t){if((0,f.gc)(this._observable),this._emitBeforeChanges(1))return this;const n=this.getNextIndex(t??null);return this._splice(n,0,[e]),this._emitAfterChanges(1),this}addMany(e,t=this._items.length){if((0,f.gc)(this._observable),!e?.length)return this;if(this._emitBeforeChanges(1))return this;const n=this.getNextIndex(t);return this._splice(n,0,w(e)),this._emitAfterChanges(1),this}at(e){if((0,f.gc)(this._observable),(e=Math.trunc(e)||0)<0&&(e+=this.length),!(e<0||e>=this.length))return this._items[e]}removeAll(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return[];const e=this._removeAllRaw();return this._emitAfterChanges(2),e}_removeAllRaw(){return 0===this.length?[]:this._splice(0,this.length)||[]}clone(){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.map(c.o8)})}concat(...e){(0,f.gc)(this._observable);const t=e.map(w);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const n=this._splice(0,this.length),i=n.length;for(let r=0;r<i;r++)e.call(t,n[r],r,n);this._emitAfterChanges(2)}destroyAll(){this.drain(M)}destroyMany(e){const t=this.removeMany(e);return t.forEach(M),t}every(e,t){return(0,f.gc)(this._observable),this._items.every(e,t)}filter(e,t){(0,f.gc)(this._observable);const n=2===arguments.length?this._items.filter(e,t):this._items.filter(e);return this._createNewInstance({items:n})}find(e,t){return(0,f.gc)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,f.gc)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,f.gc)(this._observable);const n=[];return C(n,this,e,t),new i(n)}forEach(e,t){return(0,f.gc)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,f.gc)(this._observable),this._items[e]}getNextIndex(e){(0,f.gc)(this._observable);const t=this.length;return(e=e??t)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,f.gc)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,f.gc)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,f.gc)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,f.gc)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,f.gc)(this._observable);const n=this._items.map(e,t);return new i({items:n})}reorder(e,t=this.length-1){(0,f.gc)(this._observable);const n=this.indexOf(e);if(-1!==n){if(t<0?t=0:t>=this.length&&(t=this.length-1),n!==t){if(this._emitBeforeChanges(4))return e;this._splice(n,1),this._splice(t,0,[e]),this._emitAfterChanges(4)}return e}}pop(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=A(this._splice(this.length-1,1));return this._emitAfterChanges(2),e}push(...e){return(0,f.gc)(this._observable),this._emitBeforeChanges(1)||(this._splice(this.length,0,e),this._emitAfterChanges(1)),this.length}reduce(e,t){(0,f.gc)(this._observable);const n=this._items;return 2===arguments.length?n.reduce(e,t):n.reduce(e)}reduceRight(e,t){(0,f.gc)(this._observable);const n=this._items;return 2===arguments.length?n.reduceRight(e,t):n.reduceRight(e)}remove(e){return(0,f.gc)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,f.gc)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(2))return;const t=A(this._splice(e,1));return this._emitAfterChanges(2),t}removeMany(e){if((0,f.gc)(this._observable),!e?.length||this._emitBeforeChanges(2))return[];const t=e instanceof i?e.toArray():e,n=this._items,r=[],a=t.length;for(let e=0;e<a;e++){const i=t[e],a=n.indexOf(i);if(a>-1){const i=1+x(t,n,e+1,a+1),s=this._splice(a,i);s&&s.length>0&&r.push.apply(r,s),e+=i-1}}return this._emitAfterChanges(2),r}reverse(){if((0,f.gc)(this._observable),this._emitBeforeChanges(4))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(4),this}shift(){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(2))return;const e=A(this._splice(0,1));return this._emitAfterChanges(2),e}slice(e=0,t=this.length){return(0,f.gc)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,f.gc)(this._observable),this._items.some(e,t)}sort(e){if((0,f.gc)(this._observable),!this.length||this._emitBeforeChanges(4)||!this._requiresSort(e))return this;const t=this._splice(0,this.length);return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(4),this}_requiresSort(e=(e,t)=>e===t?0:e<t?-1:1){const t=this.length-1;for(let n=0;n<t;n++)if(e(this.items[n],this.items[n+1])>0)return!0;return!1}splice(e,t,...n){(0,f.gc)(this._observable),1===arguments.length&&(t=this.length),t??=0;const i=(t?2:0)|(n.length?1:0);if(this._emitBeforeChanges(i))return[];const r=this._splice(e,t,n)||[];return this._emitAfterChanges(i),r}toArray(){return(0,f.gc)(this._observable),this._items.slice()}toJSON(e){return(0,f.gc)(this._observable),this.toArray().map(t=>(0,v.W)(t)?t.toJSON(e):t)}toLocaleString(){return(0,f.gc)(this._observable),this._items.toLocaleString()}toString(){return(0,f.gc)(this._observable),this._items.toString()}unshift(...e){return(0,f.gc)(this._observable),!e.length||this._emitBeforeChanges(1)||(this._splice(0,0,e),this._emitAfterChanges(1)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,n){const i=this._items,r=this.itemType;let a,s;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._updating=!0,this._timer=(0,h._)(()=>this._dispatchChange())),e<0&&(e+=this.length),t){if(s=i.splice(e,t),this.hasEventListener("before-remove")){const t=_.acquire();t.target=this,t.cancellable=!0;for(let n=0,r=s.length;n<r;n++)a=s[n],t.reset(a),this.emit("before-remove",t),t.defaultPrevented&&(s.splice(n,1),i.splice(e,0,a),e+=1,n-=1,r-=1);_.release(t)}if(this._length=this._items.length,this.hasEventListener("after-remove")){const e=_.acquire();e.target=this,e.cancellable=!1;const t=s.length;for(let n=0;n<t;n++)e.reset(s[n]),this.emit("after-remove",e);_.release(e)}}if(n?.length){if(r){const e=[];for(const t of n){const n=r.ensureType(t);null==n&&null!=t||e.push(n)}n=e}const t=this.hasEventListener("before-add"),a=this.hasEventListener("after-add"),s=e===this.length;if(t||a){const r=_.acquire();r.target=this,r.cancellable=!0;const o=_.acquire();o.target=this,o.cancellable=!1;for(const l of n)t?(r.reset(l),this.emit("before-add",r),r.defaultPrevented||(s?i.push(l):i.splice(e++,0,l),this._length=i.length,a&&(o.reset(l),this.emit("after-add",o)))):(s?i.push(l):i.splice(e++,0,l),this._length=i.length,o.reset(l),this.emit("after-add",o));_.release(o),_.release(r)}else{if(s)for(const e of n)i.push(e);else i.splice(e,0,...n);this._length=i.length}}if((n?.length||s?.length)&&this._notifyChangeEvent(n,s),this.hasEventListener("after-splice")){const i=new S(this,n,s,e,t);this.emit("after-splice",i)}return s}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const n=_.acquire();n.target=this,n.cancellable=!0,n.type=e,this.emit("before-changes",n),t=n.defaultPrevented,_.release(n)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=_.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),_.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}get updating(){return this._updating}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),this._updating=!1,!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;L.clear(),I.clear(),F.clear();for(const{added:t,removed:n}of e){if(t)if(0===F.size&&0===I.size)for(const e of t)L.add(e);else for(const e of t)I.has(e)?(F.add(e),I.delete(e)):F.has(e)||L.add(e);if(n)if(0===F.size&&0===L.size)for(const e of n)I.add(e);else for(const e of n)L.has(e)?L.delete(e):(F.delete(e),I.add(e))}const n=a.A.acquire();L.forEach(e=>{n.push(e)});const i=a.A.acquire();I.forEach(e=>{i.push(e)});const r=this._items,s=t.items,o=a.A.acquire();if(F.forEach(e=>{s.indexOf(e)!==r.indexOf(e)&&o.push(e)}),t.listeners&&(n.length||i.length||o.length)){const e={target:this,added:n,removed:i,moved:o},r=t.listeners.length;for(let n=0;n<r;n++){const i=t.listeners[n];i.removed||i.callback.call(this,e)}}a.A.release(n),a.A.release(i),a.A.release(o)}L.clear(),I.clear(),F.clear()}};(0,r.Cg)([(0,g.MZ)()],N.prototype,"_updating",void 0),(0,r.Cg)([(0,g.MZ)()],N.prototype,"_length",void 0),(0,r.Cg)([(0,g.MZ)()],N.prototype,"length",null),(0,r.Cg)([(0,g.MZ)()],N.prototype,"items",null),(0,r.Cg)([(0,g.MZ)({readOnly:!0})],N.prototype,"updating",null),N=i=(0,r.Cg)([(0,y.$)("esri.core.Collection")],N);const D=N},9760:(e,t,n)=>{n.d(t,{A:()=>u});var i=n(31635),r=n(66552),a=n(25482),s=n(91429),o=n(93223);const l=new r.J({esriClassifyEqualInterval:"equal-interval",esriClassifyManual:"manual",esriClassifyNaturalBreaks:"natural-breaks",esriClassifyQuantile:"quantile",esriClassifyStandardDeviation:"standard-deviation",esriClassifyDefinedInterval:"defined-interval"}),c=new r.J({esriNormalizeByLog:"log",esriNormalizeByPercentOfTotal:"percent-of-total",esriNormalizeByField:"field"});let u=class extends a.o{constructor(e){super(e),this.type="class-breaks-definition",this.breakCount=null,this.classificationField=null,this.classificationMethod=null,this.normalizationField=null,this.normalizationType=null}set standardDeviationInterval(e){"standard-deviation"===this.classificationMethod&&this._set("standardDeviationInterval",e)}set definedInterval(e){"defined-interval"===this.classificationMethod&&this._set("definedInterval",e)}};(0,i.Cg)([(0,o.e)({classBreaksDef:"class-breaks-definition"})],u.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"breakCount",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"classificationField",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{read:l.read,write:l.write}})],u.prototype,"classificationMethod",void 0),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],u.prototype,"normalizationField",void 0),(0,i.Cg)([(0,s.MZ)({json:{read:c.read,write:c.write}})],u.prototype,"normalizationType",void 0),(0,i.Cg)([(0,s.MZ)({value:null,json:{write:!0}})],u.prototype,"standardDeviationInterval",null),(0,i.Cg)([(0,s.MZ)({value:null,json:{write:!0}})],u.prototype,"definedInterval",null),u=(0,i.Cg)([(0,s.$K)("esri.rest.support.ClassBreaksDefinition")],u)},10838:(e,t,n)=>{n.d(t,{ao:()=>h,ud:()=>m,xO:()=>f});var i=n(49186),r=n(36563),a=n(74887),s=n(73444);const o={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function l(e){if(function(e){return e in o}(e)){const t=o[e];return!0===t?e:t}return null}const c=[],u=new Map;function d(e){for(const t of u.keys())g(e.pattern,t)&&u.delete(t)}function h(e){return c.includes(e)||(d(e),c.unshift(e)),(0,r.hA)(()=>{const t=c.indexOf(e);t>-1&&(c.splice(t,1),d(e))})}async function m(e){const t=(0,s.JK)();u.has(e)||u.set(e,async function(e,t){const n=[];for(const i of c)if(g(i.pattern,e))try{return await i.fetchMessageBundle(e,t)}catch(e){n.push(e)}if(n.length)throw new i.A("intl:message-bundle-error",`Errors occurred while loading "${e}"`,{errors:n});throw new i.A("intl:no-message-bundle-loader",`No loader found for message bundle "${e}"`)}(e,t));const n=u.get(e);return n&&await p.add(n),n}function f(e){const t=(0,s.lR)(e);return t?l(e)??l(t):null}function g(e,t){return"string"==typeof e?t.startsWith(e):e.test(t)}(0,s.Ml)(()=>{u.clear()});const p=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(e){return this._increase(),e.then(()=>this._decrease(),()=>this._decrease()),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,a.Tw)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},21276:(e,t,n)=>{n.d(t,{H:()=>a,f:()=>r});var i=n(49186);function r(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new i.A("internal:mesh","Mesh geometries are not supported for this operation")}function a(e){e.forEach(r)}},27865:(e,t,n)=>{n.d(t,{O9:()=>a,dw:()=>s,mj:()=>r});var i=n(59247);function r(e,t){const n=e.length>t.length?e:t;return(e.length>t.length?t:e).every((e,t)=>e.type===n[t].type)}function a(e,t){const n=e.length>t.length?e:t,r=e.length>t.length?t:e;for(let e=r.length;e<n.length;e++)r.push((0,i.sK)(n[e]))}function s(e){const t=e[0];return!!t&&"type"in t}},28735:(e,t,n)=>{n.d(t,{Cv:()=>y,Gh:()=>T,ci:()=>S,je:()=>b,jg:()=>h,tD:()=>v,y7:()=>p});var i=n(4718),r=n(21276),a=n(16930),s=n(79258),o=n(21325);const l=57.29577951308232,c=.017453292519943;function u(e){return e*l}function d(e){return e*c}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/s.$O.radius))}function m(e){return null!=e.wkid||null!=e.wkt}const f=[0,0];function g(e,t,n,i,r){const a=e,s=r;if(s.spatialReference=n,"x"in a&&"x"in s)[s.x,s.y]=t(a.x,a.y,f,i);else if("xmin"in a&&"xmin"in s)[s.xmin,s.ymin]=t(a.xmin,a.ymin,f,i),[s.xmax,s.ymax]=t(a.xmax,a.ymax,f,i);else if("paths"in a&&"paths"in s||"rings"in a&&"rings"in s){const e="paths"in a?a.paths:a.rings,n=[];let r;for(let a=0;a<e.length;a++){const s=e[a];r=[],n.push(r);for(let e=0;e<s.length;e++)r.push(t(s[e][0],s[e][1],[0,0],i)),s[e].length>2&&r[e].push(s[e][2]),s[e].length>3&&r[e].push(s[e][3])}"paths"in s?s.paths=n:s.rings=n}else if("points"in a&&"points"in s){const e=a.points,n=[];for(let r=0;r<e.length;r++)n[r]=t(e[r][0],e[r][1],[0,0],i),e[r].length>2&&n[r].push(e[r][2]),e[r].length>3&&n[r].push(e[r][3]);s.points=n}return r}function p(e,t){const n=e&&(m(e)?e:e.spatialReference),i=t&&(m(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!n||!i)&&(!!(0,o.aI)(i,n)||(0,o.K8)(i)&&(0,o.oT)(n)||(0,o.K8)(n)&&(0,o.oT)(i))}function y(e,t){if(null==e)return null;const n=e.spatialReference,r=t&&(m(t)?t:t.spatialReference);return p(n,r)?(0,o.aI)(n,r)?(0,i.o8)(e):(0,o.K8)(r)?g(e,b,a.A.WebMercator,!1,(0,i.o8)(e)):(0,o.oT)(r)?g(e,v,a.A.WGS84,!1,(0,i.o8)(e)):null:null}function b(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const i=d(t);return n[0]=d(e)*s.$O.radius,n[1]=s.$O.halfSemiMajorAxis*Math.log((1+Math.sin(i))/(1-Math.sin(i))),n}function v(e,t,n=[0,0],i=!1){if(e===o.Mc[0])n[0]=-180;else if(e===o.Mc[1])n[0]=180;else{const t=u(e/s.$O.radius);n[0]=i?t:t-360*Math.floor((t+180)/360)}return n[1]=u(Math.PI/2-2*Math.atan(Math.exp(-t/s.$O.radius))),n}function T(e,t=!1,n=(0,i.o8)(e)){return(0,r.f)(e),(0,r.f)(n),g(e,b,a.A.WebMercator,t,n)}function S(e,t=!1,n=(0,i.o8)(e)){return(0,r.f)(e),(0,r.f)(n),g(e,v,a.A.WGS84,t,n)}},30524:(e,t,n)=>{n.d(t,{Ah:()=>K,Bz:()=>D,CJ:()=>ne,DB:()=>v,Dx:()=>M,JL:()=>he,Kl:()=>de,OG:()=>ee,OH:()=>H,R$:()=>N,R3:()=>R,WA:()=>q,WX:()=>te,Xz:()=>Q,_b:()=>z,_w:()=>T,eX:()=>C,hL:()=>_,hz:()=>w,lD:()=>V,mB:()=>A,nw:()=>me,rS:()=>h,rq:()=>S,sv:()=>y,te:()=>X,uo:()=>ue,vE:()=>J,yM:()=>W,yp:()=>g,zD:()=>Y});var i=n(49186),r=n(93637),a=n(3483),s=n(39516),o=(n(68463),n(69309)),l=n(54218),c=n(43668);const u=/^([0-9_])/,d=/[^a-z0-9_\u0080-\uffff]+/gi;function h(e){return null==e?null:e.trim().replaceAll(d,"_").replace(u,"F$1")||null}const m=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],f=["field","normalizationField"];function g(e,t){if(null!=e&&null!=t)for(const n of Array.isArray(e)?e:[e])if(p(m,n,t),"visualVariables"in n&&n.visualVariables)for(const e of n.visualVariables)p(f,e,t)}function p(e,t,n){if(e)for(const i of e){const e=(0,r.wc)(i,t),a=e&&"function"!=typeof e&&n.get(e);a&&(0,r.sM)(i,a.name,t)}}function y(e,t){if(null!=e&&t?.fields?.length)if("startField"in e){const n=t.get(e.startField),i=t.get(e.endField);e.startField=n?.name??null,e.endField=i?.name??null}else{const n=t.get(e.startTimeField),i=t.get(e.endTimeField);e.startTimeField=n?.name??null,e.endTimeField=i?.name??null}}const b=new Set;function v(e,t){return e&&t?(b.clear(),T(b,e,t),Array.from(b).sort()):[]}function T(e,t,n){if(n)if(t?.fields?.length)if(n.includes("*"))for(const{name:n}of t.fields)e.add(n);else for(const i of n)S(e,t,i);else{if(n.includes("*"))return e.clear(),void e.add("*");for(const t of n)null!=t&&e.add(t)}}function S(e,t,n){if("string"==typeof n)if(t){const i=t.get(n);i&&e.add(i.name)}else e.add(n)}function _(e,t){return null==t||null==e?[]:t.includes("*")?(e.fields??[]).map(e=>e.name):t}async function M(e,t,n,i){if(!i)return;const r=(0,o.o)(i);if(r)S(e,t,r);else{const{arcadeUtils:r}=await(0,c.l)(),a=r.extractFieldNames(i,n?.partitions??t?.fields?.map(e=>e.name));for(const i of a)S(e,n?.index??t,i)}}async function w(e,t,n){if(n&&"1=1"!==n){const r=await(0,s.GP)(n,t);if(!r.isStandardized)throw new i.A("fieldUtils:collectFilterFields","Where clause is not standardized",{where:n});T(e,t,r.fieldNames)}}function A({displayField:e,fields:t}){return e||(t?.length?function(e){return x(e,"name-or-title")||x(e,"unique-identifier")||x(e,"type-or-category")||function(e){for(const t of e){if(!t?.name)continue;const e=t.name.toLowerCase();if(e.includes("name")||e.includes("title"))return t.name}return null}(e)}(t):null)}function x(e,t){for(const n of e)if(n?.valueType&&n.valueType===t)return n.name;return null}function C(e){return e?v(e.fieldsIndex,k(e)):[]}const L=new Set(["oid","global-id","guid"]),I=new Set(["oid","global-id"]),F=[/^fnode_$/i,/^tnode_$/i,/^lpoly_$/i,/^rpoly_$/i,/^poly_$/i,/^shape$/i,/^shape_$/i,/^subclass$/i,/^subclass_$/i,/^rings_ok$/i,/^rings_nok$/i,/objectid/i,/^perimeter_/i,/_perimeter$/i,/_i$/i];function k(e){if(!e)return[];const t="editFieldsInfo"in e&&e.editFieldsInfo;if(!t)return[];const{creationDateField:n,creatorField:i,editDateField:r,editorField:a}=t;return[n,i,r,a].filter(Boolean)}function E(e){return k(e).map(e=>e.toLowerCase())}function N(e,t){return e.editable&&!L.has(e.type)&&!E(t).includes(e.name?.toLowerCase()??"")}function D(e,t){const n=e.name?.toLowerCase()??"";return!(null!=t?.objectIdField&&n===t.objectIdField.toLowerCase()||null!=t?.globalIdField&&n===t.globalIdField.toLowerCase()||function(e){const t=new Set;E(e).forEach(e=>t.add(e)),function(e){if(!e)return[];const t=e.geometryFieldsInfo;return t?v(e.fieldsIndex,[t.shapeAreaField,t.shapeLengthField]):[]}(e).forEach(e=>t.add(e.toLowerCase()));const n=e&&"infoFor3D"in e?e.infoFor3D:void 0;return n&&(Object.values(n.assetMapFieldRoles).forEach(e=>t.add(e.toLowerCase())),Object.values(n.transformFieldRoles).forEach(e=>t.add(e.toLowerCase()))),Array.from(t)}(t).includes(n)||I.has(e.type)||F.some(e=>e.test(n)))}function V(e){const t=e.defaultValue;return void 0!==t&&G(e,t)?t:e.nullable?null:void 0}function z(e){const t="string"==typeof e?{type:e}:e;return W(t)?255:"esriFieldTypeDate"===t.type||"date"===t.type?8:void 0}function O(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function Z(e){return null===e||O(e)}function P(e){return null===e||Number.isInteger(e)}function U(){return!0}function G(e,t){let n;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"big-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":case"esriFieldTypeBigInteger":n=e.nullable?P:Number.isInteger;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":n=e.nullable?Z:O;break;case"string":case"esriFieldTypeString":n=e.nullable?l.CO:l.Kg;break;default:n=U}return 1===arguments.length?n:n(t)}const B=new Set(["integer","small-integer","big-integer","long","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]),$=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]),j=(0,a.KC)(B,$);function R(e){return null!=e&&B.has(e.type)}function q(e){return null!=e&&j.has(e.type)}function W(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}function J(e){return null!=e&&("date"===e.type||"esriFieldTypeDate"===e.type)}function Y(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function K(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function H(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}function X(e){return null!=e&&("oid"===e.type||"esriFieldTypeOID"===e.type)}function Q(e){return null!=e&&("global-id"===e.type||"esriFieldTypeGlobalID"===e.type)}function ee(e,t){return null===ne(e,t)}function te(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function ne(e,t){return null==e||e.nullable&&null===t?null:G(e,t)?q(e)&&!function(e,t){const n="string"==typeof e?ie(e):e;if(!n)return!1;const i=n.min,r=n.max;return n.isInteger?Number.isInteger(t)&&t>=i&&t<=r:t>=i&&t<=r}(e.type,Number(t))?"numeric-range-validation-error::out-of-range":null:"type-validation-error::invalid-type"}function ie(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return re;case"esriFieldTypeInteger":case"esriFieldTypeLong":case"integer":case"long":return ae;case"esriFieldTypeBigInteger":case"big-integer":return se;case"esriFieldTypeSingle":case"single":return le;case"esriFieldTypeDouble":case"double":return ce}}const re={min:-32768,max:32767,isInteger:!0,rawMin:-32768,rawMax:32767},ae={min:-2147483648,max:2147483647,isInteger:!0,rawMin:-2147483648,rawMax:2147483647},se={min:-Number.MAX_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,isInteger:!0,rawMin:-Number.MAX_SAFE_INTEGER,rawMax:Number.MAX_SAFE_INTEGER},oe=(2-2**-23)*2**127,le={min:-oe,max:oe,isInteger:!1,rawMin:-oe,rawMax:oe},ce={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1,rawMin:-Number.MAX_VALUE,rawMax:Number.MAX_VALUE};function ue(e,t,n){switch(e){case"domain-validation-error::invalid-coded-value":return`Value ${n} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case"domain-validation-error::value-out-of-range":return`Value ${n} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case"type-validation-error::invalid-type":return`Value ${n} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case"numeric-range-validation-error::out-of-range":{const{min:e,max:i}=ie(t.type);return`Value ${n} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${i}`}}}function de(e,t){return!function(e,t){if(!e?.attributes||!t)return!0;const n=new Set(Object.keys(e.attributes));let i=!1;for(const e of t)if(!n.has(e)){i=!0;break}return i}(e,t)}function he(e){return!!e&&["raster.itempixelvalue","raster.servicepixelvalue"].some(t=>e.toLowerCase().startsWith(t))}function me(e){const t=e?.match(/{[^}]+}/g);return t?t.map(e=>e.slice(1,-1).split(":")[0].trim()):[]}},34304:(e,t,n)=>{n.d(t,{DF:()=>l,FD:()=>r,Ov:()=>a,ct:()=>c});let i=1e-6;function r(){return i}const a=Math.random,s=Math.PI/180,o=180/Math.PI;function l(e){return e*s}function c(e){return e*o}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:a,equals:function(e,t){return Math.abs(e-t)<=i*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:r,setEpsilon:function(e){i=e},toDegree:c,toRadian:l},Symbol.toStringTag,{value:"Module"}))},39516:(e,t,n)=>{let i;async function r(){return null==i&&(i=Promise.all([n.e(8368),n.e(4800),n.e(5)]).then(n.bind(n,44123)).then(e=>new e.WhereClauseCache(500,500))),i}async function a(e,t){const n=await r(),i=n.get(e,t);if(null==i)throw n.getError(e,t);return i}function s(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function o(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}n.d(t,{GP:()=>a,IW:()=>o,mA:()=>s})},40876:(e,t,n)=>{n.d(t,{Eq:()=>m,G1:()=>g,TS:()=>a,Tf:()=>b,V6:()=>r,Vm:()=>f,ay:()=>l,c1:()=>p,c4:()=>s,j5:()=>c,lT:()=>d,oW:()=>u,xV:()=>T});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(e){return!!i[e]||!!i[e.toLowerCase()]}function a(e){return i[e]??i[e.toLowerCase()]}function s(e){return[...a(e)]}function o(e,t,n){n<0&&++n,n>1&&--n;const i=6*n;return i<1?e+(t-e)*i:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function l(e,t,n,i=1){const r=(e%360+360)%360/360,a=n<=.5?n*(t+1):n+t-n*t,s=2*n-a;return[Math.round(255*o(s,a,r+1/3)),Math.round(255*o(s,a,r)),Math.round(255*o(s,a,r-1/3)),i]}function c(e){const t=e.length>5,n=t?8:4,i=(1<<n)-1,r=t?1:17,a=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const o=[0,0,0,1];let l;return a&&(l=s&i,s>>=n,o[3]=r*l/255),l=s&i,s>>=n,o[2]=r*l,l=s&i,s>>=n,o[1]=r*l,l=s&i,s>>=n,o[0]=r*l,o}function u(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),n=parseInt(e.slice(2,3),16),i=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,n+16*n,i+16*i,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function d(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),n=t[1];if("rgb"===n&&3===e.length||"rgba"===n&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===n&&3===e.length||"hsla"===n&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function m(e){let t=r(e)?a(e):null;return t??=d(e),t??=u(e),t}function f(e){const t=m(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function p(e){return Math.round(y(e,0,255))}function y(e,t,n){return e=Number(e),isNaN(e)?n:e<t?t:e>n?n:e}const b=2.2,v=1/b;function T(e){return e**v}},43281:(e,t,n)=>{n.d(t,{H:()=>s,q:()=>a});var i=n(2741),r=n(10838);async function a(e){if(!e)return;const t=e.includes("-vector")?e.slice(0,e.indexOf("-vector")):e.includes("-3d")?e.slice(0,e.indexOf("-3d")):e,n=await(0,r.ud)("esri/t9n/basemaps");return n[e]||n[t]}const s={satellite:{id:"satellite",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/satellite.jpg")},baseMapLayers:[{id:"satellite-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1}]},hybrid:{id:"hybrid",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/hybrid.jpg")},baseMapLayers:[{id:"hybrid-base-layer",url:"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Imagery",showLegend:!1,visibility:!0,opacity:1},{id:"hybrid-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json",layerType:"VectorTileLayer",title:"Hybrid Reference Layer",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},terrain:{id:"terrain",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/terrain.jpg")},baseMapLayers:[{id:"terrain-hillshade",url:"https://services.arcgisonline.com/ArcGIS/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1},{id:"terrain-base",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/33064a20de0c48d2bb61efa8faca93a8/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Terrain Base"},{id:"terrain-reference",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/14fbc125ccc9488888b014db09f35f67/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Reference Reference",isReference:!0}]},oceans:{id:"oceans",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/oceans.jpg")},baseMapLayers:[{id:"oceans-base-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Ocean Base",showLegend:!1,visibility:!0,opacity:1},{id:"oceans-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/94329802cbfa44a18f423e6f1a0b875c/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Ocean Reference",isReference:!0,showLegend:!1,visibility:!0,opacity:1}]},osm:{id:"osm",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/osm.jpg")},baseMapLayers:[{id:"osm-base-layer",layerType:"OpenStreetMap",title:"Open Street Map",showLegend:!1,visibility:!0,opacity:1}]},"dark-gray-vector":{id:"dark-gray-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/dark-gray-vector.jpg")},baseMapLayers:[{id:"dark-gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Base",visibility:!0,opacity:1},{id:"dark-gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json",layerType:"VectorTileLayer",title:"Dark Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get"dark-gray"(){return{...this["dark-gray-vector"],id:"dark-gray"}},"gray-vector":{id:"gray-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/gray-vector.jpg")},baseMapLayers:[{id:"gray-base-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Base",visibility:!0,opacity:1},{id:"gray-reference-layer",styleUrl:"https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json",layerType:"VectorTileLayer",title:"Light Gray Reference",isReference:!0,visibility:!0,opacity:1}]},get gray(){return{...this["gray-vector"],id:"gray"}},"streets-vector":{id:"streets-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-vector.jpg")},baseMapLayers:[{id:"streets-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets",visibility:!0,opacity:1}]},get streets(){return{...this["streets-vector"],id:"streets"}},"topo-vector":{id:"topo-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/topo-vector.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"topo-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Topo",visibility:!0,opacity:1}]},get topo(){return{...this["topo-vector"],id:"topo"}},"streets-night-vector":{id:"streets-night-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-night.jpg")},baseMapLayers:[{id:"streets-night-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Night",visibility:!0,opacity:1}]},"streets-relief-vector":{id:"streets-relief-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-relief.jpg")},baseMapLayers:[{id:"world-hillshade-layer",url:"//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",layerType:"ArcGISTiledMapServiceLayer",title:"World Hillshade",showLegend:!1,visibility:!0,opacity:1},{id:"streets-relief-vector-base-layer",styleUrl:"//www.arcgis.com/sharing/rest/content/items/b266e6d17fc345b498345613930fbd76/resources/styles/root.json",title:"World Streets Relief",layerType:"VectorTileLayer",visibility:!0,opacity:1}]},"streets-navigation-vector":{id:"streets-navigation-vector",classic:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-navigation.jpg")},baseMapLayers:[{id:"streets-navigation-vector-base-layer",styleUrl:"//cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json",layerType:"VectorTileLayer",title:"World Streets Navigation",visibility:!0,opacity:1}]},"topo-3d":{id:"topo-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/topo-3d.png")},baseMapLayers:[{id:"topo-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/1e7d1784d1ef4b79ba6764d0bd6c3150/resources/styles/root.json",layerType:"VectorTileLayer",title:"Topographic",visibility:!0,opacity:1},{id:"topo-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Open3D_Trees_v1/SceneServer",itemId:"9d3d89d42cfe4e2c9d108a2f0d518406",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"topo-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"navigation-3d":{id:"navigation-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/navigation-3d.jpg")},baseMapLayers:[{id:"navigation-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/ccc904ff872b4144b94934e55e32784b/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation",visibility:!0,opacity:1},{id:"navigation-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"streets-3d":{id:"streets-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/streets-3d.png")},baseMapLayers:[{id:"streets-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/198298c4c64c4cb19de5b46aa00c198d/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"streets-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"streets-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"osm-3d":{id:"osm-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/osm-3d.png")},baseMapLayers:[{id:"osm-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/8628d259c9d14bdc848771c23c513940/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap",visibility:!0,opacity:1},{id:"osm-3d-trees",title:"Trees",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Open3D_Trees_v1/SceneServer",itemId:"9d3d89d42cfe4e2c9d108a2f0d518406",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"osm-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Open3D_Buildings_v1/SceneServer",itemId:"cd33b09dde0a419c986ca1a78a5fc06d",layerType:"ArcGISSceneServiceLayer"}]},"gray-3d":{id:"gray-3d",is3d:!0,get thumbnailUrl(){return(0,i.s)("esri/images/basemap/gray-3d.png")},baseMapLayers:[{id:"gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/01a14b466345455ba4176d2e6390db92/resources/styles/root.json",layerType:"VectorTileLayer",title:"Streets",visibility:!0,opacity:1},{id:"gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_DarkLabels_v1/SceneServer",itemId:"a84404ad39c64c328d0596e361ec459b",layerType:"ArcGISSceneServiceLayer"},{id:"gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"navigation-dark-3d":{id:"navigation-dark-3d",itemId:"5a1365328b4943f09a54cf5fd1205707",is3d:!0,baseMapLayers:[{id:"navigation-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/451a1777ab3f4bf095fae24a117439d9/resources/styles/root.json",layerType:"VectorTileLayer",title:"Navigation Dark"},{id:"navigation-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"navigation-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"streets-dark-3d":{id:"streets-dark-3d",itemId:"8a4efa2c20484ec9b4557895e65736ff",is3d:!0,baseMapLayers:[{id:"streets-dark-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/bc599b6d741a4ac084b7eea7bf8c5938/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Streets Night (for 3D)"},{id:"streets-dark-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"streets-dark-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]},"dark-gray-3d":{id:"dark-gray-3d",itemId:"a8b7322a5fe94002bb0f5e0eeb0c5c18",is3d:!0,baseMapLayers:[{id:"dark-gray-3d-base-layer",styleUrl:"https://www.arcgis.com/sharing/rest/content/items/4178f71acb934fb89f169e7d667c20c6/resources/styles/root.json",layerType:"VectorTileLayer",title:"OpenStreetMap Dark Gray Canvas (for 3D)"},{id:"dark-gray-3d-places-and-labels",title:"Places and Labels",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/OpenStreetMap3D_LightLabels_v1/SceneServer/layers/0",itemId:"f364b70b012a4da5a4b5921e193eac4a",layerType:"ArcGISSceneServiceLayer"},{id:"dark-gray-3d-buildings",title:"Buildings",url:"https://basemaps3d.arcgis.com/arcgis/rest/services/Esri3D_Buildings_v1/SceneServer",itemId:"b8fec5af7dfe4866b1b8ac2d2800f282",layerType:"ArcGISSceneServiceLayer"}]}}},43668:(e,t,n)=>{let i;function r(){return i||(i=(async()=>{const[e,t,i]=await Promise.all([Promise.all([n.e(708),n.e(8902),n.e(9829),n.e(8368),n.e(4800),n.e(655),n.e(3367),n.e(9221)]).then(n.bind(n,25098)),n.e(8010).then(n.bind(n,8010)),Promise.all([n.e(8902),n.e(9829),n.e(4800),n.e(655),n.e(3367),n.e(6343)]).then(n.bind(n,76343))]);return{arcade:e.arcade,arcadeUtils:e,batchExec:t,aiServices:i,Dictionary:e.Dictionary,Feature:e.arcadeFeature,Voxel:e.Voxel,Pixel:e.Pixel}})()),i}n.d(t,{l:()=>r})},51850:(e,t,n)=>{function i(){return[0,0,0]}function r(e){return[e[0],e[1],e[2]]}function a(e,t,n){return[e,t,n]}function s(e,t,n){return[e,t,n]}function o(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let i=0;i<n;++i)t[i]=e[i];return t}function l(){return a(1,1,1)}function c(){return a(1,0,0)}function u(){return a(0,1,0)}function d(){return a(0,0,1)}n.d(t,{CN:()=>s,Cb:()=>p,Cw:()=>f,JP:()=>g,Un:()=>m,ci:()=>o,fA:()=>a,o8:()=>r,uY:()=>h,vt:()=>i});const h=[0,0,0],m=l(),f=c(),g=u(),p=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:f,UNIT_Y:g,UNIT_Z:p,ZEROS:h,clone:r,create:i,freeze:s,fromArray:o,fromValues:a,ones:l,unitX:c,unitY:u,unitZ:d,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},54218:(e,t,n)=>{function i(e){return"number"==typeof e}function r(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function a(e){return"boolean"==typeof e}function s(e){return"string"==typeof e||e instanceof String}function o(e){return null==e||s(e)}function l(e){return Array.isArray(e)}function c(e){return"esri.Graphic"===e?.declaredClass}function u(e){return e instanceof Date}n.d(t,{$P:()=>u,CO:()=>o,DU:()=>c,Et:()=>i,Fq:()=>r,Kg:()=>s,Lm:()=>a,cy:()=>l})},56400:(e,t,n)=>{n.d(t,{ZS:()=>l,hv:()=>c,wr:()=>u,P6:()=>o});var i=n(98623);const r=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var a=n(28097);const s="shortOffset";function o(e,t=!1){return{json:{read:{source:e,reader:(t,n)=>n[e]?l(n[e]):null},write:!!t&&{allowNull:!0,writer(t,n){n[e]=t?function(e){return{timeZoneIANA:e}}(t):null}}}}}function l(e,t=i.qU){return e?"timeZoneIANA"in e?e.timeZoneIANA:function(e,t=i.qU){if(!e||!r.has(e.timeZone))return t;const n=r.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?n:function(e){const t=a.c9.local().setZone(e),n=Math.min(t.set({month:1,day:1}).offset,t.set({month:5}).offset);return 0===n?"Etc/UTC":`Etc/GMT${a.mQ.instance(-n).formatOffset(0,"narrow")}`}(n)}(e,t):t}function c(e,t,n,r,a){if(t&&"date"===a)return{timeZone:i.n$,timeZoneName:void 0};const o=r.hour,l=n===i.L5;return{timeZone:l?"timestamp-offset"===a?void 0:e??i.n$:n,timeZoneName:l&&o?s:void 0}}function u(e){const t=new Set(["etc/utc","etc/gmt","gmt"]),n=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return e===i.qU||e===i.L5||t.has(e.toLowerCase())||n.has(e.toLowerCase())}},59247:(e,t,n)=>{n.d(t,{bv:()=>l,Fk:()=>c,yG:()=>u,$b:()=>d,Nd:()=>h,jm:()=>m,sK:()=>p});var i=n(40876),r=n(90629);function a(){const e=new Float32Array(16);return e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}const s=a();Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:function(e){const t=new Float32Array(16);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},create:a,fromValues:function(e,t,n,i,r,a,s,o,l,c,u,d,h,m,f,g){const p=new Float32Array(16);return p[0]=e,p[1]=t,p[2]=n,p[3]=i,p[4]=r,p[5]=a,p[6]=s,p[7]=o,p[8]=l,p[9]=c,p[10]=u,p[11]=d,p[12]=h,p[13]=m,p[14]=f,p[15]=g,p}},Symbol.toStringTag,{value:"Module"}));var o=n(58083);class l{constructor(e,t,n){this.strength=e,this.radius=t,this.threshold=n,this.type="bloom"}interpolate(e,t,n){this.strength=f(e.strength,t.strength,n),this.radius=f(e.radius,t.radius,n),this.threshold=f(e.threshold,t.threshold,n)}clone(){return new l(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:g(this.radius),strength:this.strength,threshold:this.threshold}}}class c{constructor(e){this.radius=e,this.type="blur"}interpolate(e,t,n){this.radius=Math.round(f(e.radius,t.radius,n))}clone(){return new c(this.radius)}toJSON(){return{type:"blur",radius:g(this.radius)}}}class u{constructor(e,t){this.type=e,this.amount=t,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,n){this.amount=f(e.amount,t.amount,n),this._updateMatrix()}clone(){return new u(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const e=this._colorMatrix||a();switch(this.type){case"brightness":this._colorMatrix=((e,t)=>{const n=(0,o.hZ)(e,t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1);return(0,o.mg)(n,n)})(e,this.amount);break;case"contrast":this._colorMatrix=((e,t)=>{const n=(0,o.hZ)(e,t,0,0,.5-.5*t,0,t,0,.5-.5*t,0,0,t,.5-.5*t,0,0,0,1);return(0,o.mg)(n,n)})(e,this.amount);break;case"grayscale":this._colorMatrix=(e=>{const t=1-this.amount,n=(0,o.hZ)(e,.2126+.7874*t,.7152-.7152*t,.0722-.0722*t,0,.2126-.2126*t,.7152+.2848*t,.0722-.0722*t,0,.2126-.2126*t,.7152-.7152*t,.0722+.9278*t,0,0,0,0,1);return(0,o.mg)(n,n)})(e);break;case"invert":this._colorMatrix=((e,t)=>{const n=1-2*t,i=(0,o.hZ)(e,n,0,0,t,0,n,0,t,0,0,n,t,0,0,0,1);return(0,o.mg)(i,i)})(e,this.amount);break;case"saturate":this._colorMatrix=((e,t)=>{const n=(0,o.hZ)(e,.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1);return(0,o.mg)(n,n)})(e,this.amount);break;case"sepia":this._colorMatrix=(e=>{const t=1-this.amount,n=(0,o.hZ)(e,.393+.607*t,.769-.769*t,.189-.189*t,0,.349-.349*t,.686+.314*t,.168-.168*t,0,.272-.272*t,.534-.534*t,.131+.869*t,0,0,0,0,1);return(0,o.mg)(n,n)})(e)}}}class d{constructor(e,t,n,i){this.offsetX=e,this.offsetY=t,this.blurRadius=n,this.color=i,this.type="drop-shadow"}interpolate(e,t,n){this.offsetX=f(e.offsetX,t.offsetX,n),this.offsetY=f(e.offsetY,t.offsetY,n),this.blurRadius=f(e.blurRadius,t.blurRadius,n),this.color[0]=Math.round(f(e.color[0],t.color[0],n)),this.color[1]=Math.round(f(e.color[1],t.color[1],n)),this.color[2]=Math.round(f(e.color[2],t.color[2],n)),this.color[3]=f(e.color[3],t.color[3],n)}clone(){return new d(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const e=[...this.color];return e[3]*=255,{type:"drop-shadow",xoffset:g(this.offsetX),yoffset:g(this.offsetY),blurRadius:g(this.blurRadius),color:e}}}class h{constructor(e){this.angle=e,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,n){this.angle=f(e.angle,t.angle,n),this._updateMatrix()}clone(){return new h(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const e=this._colorMatrix||a();this._colorMatrix=((e,t)=>{const n=Math.sin(t*Math.PI/180),i=Math.cos(t*Math.PI/180),r=(0,o.hZ)(e,.213+.787*i-.213*n,.715-.715*i-.715*n,.072-.072*i+.928*n,0,.213-.213*i+.143*n,.715+.285*i+.14*n,.072-.072*i-.283*n,0,.213-.213*i-.787*n,.715-.715*i+.715*n,.072+.928*i+.072*n,0,0,0,0,1);return(0,o.mg)(r,r)})(e,this.angle)}}class m{constructor(e){this.amount=e,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(e,t,n){this.amount=f(e.amount,t.amount,n)}clone(){return new m(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function f(e,t,n){return e+(t-e)*n}function g(e){return Math.round(1e3*(0,r.PN)(e))/1e3}function p(e){switch(e.type){case"grayscale":case"sepia":case"invert":return new u(e.type,0);case"saturate":case"brightness":case"contrast":return new u(e.type,1);case"opacity":return new m(1);case"hue-rotate":return new h(0);case"blur":return new c(0);case"drop-shadow":return new d(0,0,0,[...(0,i.TS)("transparent")]);case"bloom":return new l(0,0,1)}}},61760:(e,t,n)=>{n.d(t,{PU:()=>s,YW:()=>l,ex:()=>r,hv:()=>o,zp:()=>a}),n(34727);var i=n(90629);n(87317),n(91829);const r=2.4;function a(e){return(0,i.PN)(e*r)}function s(e){return(0,i.Lz)(e)/r}function o(e,t,n){const i=Math.sqrt(e**2+t**2)/n;return i>1?0:3/(Math.PI*n**2)*(1-i**2)**2}function l(e){return"function"==typeof e?e:e?t=>+t[e]:()=>1}},62577:(e,t,n)=>{function i(e){return e?{originPosition:"upper-left"===e.originPosition?"upperLeft":"lower-left"===e.originPosition?"lowerLeft":e.originPosition,scale:e.tolerance?[e.tolerance,e.tolerance,1,1]:[1,1,1,1],translate:null!=e.extent?[e.extent.xmin,e.extent.ymax,e.extent.zmin??0,e.extent.mmin??0]:[0,0,0,0]}:null}function r(e){if(function(e){return"lowerLeft"===e.originPosition&&4===e.scale.length&&4===e.translate.length}(e))return e;const{originPosition:t,scale:n,translate:i}=e,r=n[0]??1,a=n[1]??1;return{originPosition:"lowerLeft",scale:[r,"lowerLeft"===t?a:-a,n[2]??1,n[3]??1],translate:[i[0]??0,i[1]??0,i[2]??0,i[3]??0]}}function a({scale:e,translate:t},n){return Math.round((n-t[0])/e[0])}function s({scale:e,translate:t},n){return Math.round((n-t[1])/e[1])}function o({scale:e,translate:t},n){return n*e[0]+t[0]}function l({scale:e,translate:t},n){return n*e[1]+t[1]}function c({scale:e,translate:t},n){return(n??0)*e[2]+t[2]}function u({scale:e,translate:t},n){return n?n*e[3]+t[3]:0}function d(e,t){return e&&t?g:e&&!t?m:!e&&t?f:h}n.d(t,{$X:()=>T,B2:()=>s,Gy:()=>y,IE:()=>a,P5:()=>S,Q1:()=>r,SW:()=>b,Tr:()=>v,VV:()=>i});const h=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),a=l(e,i[1]);n[0]=[r,a];const{scale:s,originPosition:c}=e,u=s[0],d="lowerLeft"===c?s[1]:-s[1];for(let e=1;e<t.length;e++){const[i,s]=t[e];r+=u*i,a+=d*s,n[e]=[r,a]}return n},m=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),a=l(e,i[1]);n[0]=[r,a,c(e,i[2])];const{scale:s,originPosition:u}=e,d=s[0],h="lowerLeft"===u?s[1]:-s[1];for(let i=1;i<t.length;i++){const[s,o,l]=t[i];r+=d*s,a+=h*o,n[i]=[r,a,c(e,l)]}return n},f=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),a=l(e,i[1]);n[0]=[r,a,u(e,i[2])];const{scale:s,originPosition:c}=e,d=s[0],h="lowerLeft"===c?s[1]:-s[1];for(let i=1;i<t.length;i++){const[s,o,l]=t[i];r+=d*s,a+=h*o,n[i]=[r,a,u(e,l)]}return n},g=(e,t)=>{const n=new Array(t.length);if(!t.length)return n;const i=t[0];let r=o(e,i[0]),a=l(e,i[1]);n[0]=[r,a,c(e,i[2]),u(e,i[3])];const{scale:s,originPosition:d}=e,h=s[0],m="lowerLeft"===d?s[1]:-s[1];for(let i=1;i<t.length;i++){const[s,o,l,d]=t[i];r+=h*s,a+=m*o,n[i]=[r,a,c(e,l),u(e,d)]}return n};function p(e,t,n){const i=new Array(n.length);for(let r=0;r<n.length;r++)i[r]=t(e,n[r]);return i}function y(e,t,n){const i=r(e);return t.x=a(i,n.x),t.y=s(i,n.y),null!=n.z&&(t.z=function({scale:e,translate:t},n){return Math.round(((n??0)-t[2])/e[2])}(i,n.z)),null!=n.m&&(t.m=function({scale:e,translate:t},n){return n?Math.round((n-t[3])/e[3]):0}(i,n.m)),t}function b(e,t,n,i=n?.hasZ??!1,a=n?.hasM??!1){if(null!=n){const s=r(e);t.points=d(i,a)(s,n.points),t.hasZ=i,t.hasM=a}return t}function v(e,t,n,i=null!=n?.z,a=null!=n?.m){if(null==n)return t;const s=r(e);return t.x=o(s,n.x),t.y=l(s,n.y),i&&(t.z=c(s,n.z)),a&&(t.m=u(s,n.m)),t}function T(e,t,n,i=n?.hasZ??!1,a=n?.hasM??!1){if(null!=n){const s=r(e);t.rings=p(s,d(i,a),n.rings),t.hasZ=i,t.hasM=a}return t}function S(e,t,n,i=n?.hasZ??!1,a=n?.hasM??!1){if(null!=n){const s=r(e);t.paths=p(s,d(i,a),n.paths),t.hasZ=i,t.hasM=a}return t}},65529:(e,t,n)=>{n.d(t,{Zt:()=>a,a$:()=>s,bk:()=>o,nJ:()=>l});var i=n(69622),r=n(36563);const a=e=>{const t=e;return class extends t{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(e,t){let n=this._listenersMap?.get(e);if(!n)return!1;let i=!1;for(const e of n.slice()){const n="deref"in e?e.deref():e;n?n?.call(this,t):i=!0}return i&&(n=n.filter(e=>!("deref"in e)||null!=e.deref()),this._listenersMap.set(e,n)),n.length>0}on(e,t){if(Array.isArray(e)){const n=e.map(e=>this.on(e,t));return(0,r.vE)(n)}if(e.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const n=this._listenersMap.get(e)||[];return n.push(t),this._listenersMap.set(e,n),(0,r.hA)(()=>{const n=this._listenersMap?.get(e),i=n?.indexOf(t)??-1;i>=0&&n.splice(i,1)})}once(e,t){const n=this.on(e,e=>{n.remove();const i="deref"in t?t.deref():t;i?.call(null,e)});return n}hasEventListener(e){const t=this._listenersMap?.get(e);return null!=t&&t.length>0}}},s=a(class{}),o=s,l=a(i.A)},68463:(e,t,n)=>{n.d(t,{A5:()=>b});var i=n(3483),r=n(97768),a=n(54218),s=n(28097);const o=["HH:mm:ss.SSS","HH:mm:ss","HH:mm","TT"],l="yyyy-MM-dd";function c(e){if(!e||!(0,a.Kg)(e))return null;const t=s.c9.fromFormat(e,l);return t.isValid?t:null}function u(e){return e&&(0,a.Kg)(e)?(0,r.Pb)(o,t=>{const n=s.c9.fromFormat(e,t);return n.isValid?n:null})??null:null}function d(e){if(!e||!(0,a.Kg)(e))return null;const t=s.c9.fromISO(e);return t.isValid?t:null}const h=new Set(["integer","small-integer","long","big-integer","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]);function m(e){return null!=e&&h.has(e.type)}function f(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function g(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function p(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}const y=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]);function b(e,t){const n=t??e?.domain;if(!n||"range"!==n.type)return;const i="range"in n?n.range[0]:n.minValue,r="range"in n?n.range[1]:n.maxValue,a=m(e);return f(e)||p(e)||g(e)?{...v(e,r,i),isInteger:a}:{min:null!=i&&"number"==typeof i?i:null,max:null!=r&&"number"==typeof r?r:null,rawMin:i,rawMax:r,isInteger:a}}function v(e,t,n){return f(e)?{min:c(n)?.toMillis(),max:c(t)?.toMillis(),rawMin:n,rawMax:t}:p(e)?{min:u(n)?.toMillis(),max:u(t)?.toMillis(),rawMin:n,rawMax:t}:g(e)?{min:d(n)?.toMillis(),max:d(t)?.toMillis(),rawMin:n,rawMax:t}:{max:null,min:null}}(0,i.KC)(h,y)},69309:(e,t,n)=>{function i(e){if(!e)return;const t=e.match(r);return t?.groups?t.groups.doubleQuoted??t.groups.singleQuoted??t.groups.dotNotation:void 0}n.d(t,{D:()=>a,o:()=>i});const r=/^(\$feature\[(?:"(?<doubleQuoted>[^"]+)"|'(?<singleQuoted>[^']+)')\]|\$feature\.(?<dotNotation>[a-z_][a-z0-9_]*))$/i;function a(e){return e.match(s)?.[1]?.replaceAll("\\'","'")??null}const s=/^hash\(\$feature\['((\\'|[^'])+)'\]\) \* 8\.381e-8$/},73444:(e,t,n)=>{n.d(t,{JK:()=>l,Ml:()=>p,QC:()=>d,lR:()=>u,oQ:()=>f});var i=n(36563);let r;n(44208);const a=globalThis.esriConfig?.locale,s=globalThis.document?.documentElement;function o(){const e=s?.getAttribute("lang"),t=globalThis.navigator?.language;return a??e??t??"en"}function l(){return void 0===r&&(r=o()),r}const c=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function u(e=l()){return h(e)?.language}function d(e=l()){const t=h(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function h(e=l()){return c.exec(e)?.groups}const m=[];function f(e){return m.push(e),(0,i.hA)(()=>{m.splice(m.indexOf(e),1)})}new Map;const g=[];function p(e){return g.push(e),(0,i.hA)(()=>g.splice(g.indexOf(e),1))}function y(){const e=o();r!==e&&([...g].forEach(t=>t(e)),r=e,[...m].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",y),s&&new MutationObserver(()=>{y()}).observe(s,{attributeFilter:["lang"]})},84892:(e,t,n)=>{n.d(t,{t:()=>s});var i=n(53966);const r=()=>i.A.getLogger("esri.rest.support.generateRendererUtils");function a(e,t){return Number(e.toFixed(t))}function s(e,t){const{normalizationTotal:n}=e;return{classBreaks:o(e,t),normalizationTotal:n}}function o(e,t){const n=e.definition,{classificationMethod:i,normalizationType:r,definedInterval:s}=n,o=n.breakCount??1,u=[];let d=e.values;if(0===d.length)return[];d=d.sort((e,t)=>e-t);const[h,m]=t??[d.at(0),d.at(-1)];if("equal-interval"===i)if(d.length>=o){const e=(m-h)/o;let t=h;for(let n=1;n<o;n++){const i=a(h+n*e,6);u.push({minValue:t,maxValue:i,label:l(t,i,r)}),t=i}u.push({minValue:t,maxValue:m,label:l(t,m,r)})}else d.forEach(e=>{u.push({minValue:e,maxValue:e,label:l(e,e,r)})});else if("natural-breaks"===i){const t=function(e){const t=[],n=[];let i=Number.MIN_VALUE,r=1,a=-1;for(let s=0;s<e.length;s++){const o=e[s];o===i?(r++,n[a]=r):null!==o&&(t.push(o),i=o,r=1,n.push(r),a++)}return{uniqueValues:t,valueFrequency:n}}(d),n=e.valueFrequency||t.valueFrequency,i=c(t.uniqueValues,n,o);let s=h;for(let e=1;e<o;e++)if(t.uniqueValues.length>e){const n=a(t.uniqueValues[i[e]],6);u.push({minValue:s,maxValue:n,label:l(s,n,r)}),s=n}u.push({minValue:s,maxValue:m,label:l(s,m,r)})}else if("quantile"===i)if(d.length>=o&&h!==m){let e=h,t=Math.ceil(d.length/o),n=0;for(let i=1;i<o;i++){let a=t+n-1;a>d.length&&(a=d.length-1),a<0&&(a=0),u.push({minValue:e,maxValue:d[a],label:l(e,d[a],r)}),e=d[a],n+=t,t=Math.ceil((d.length-n)/(o-i))}u.push({minValue:e,maxValue:m,label:l(e,m,r)})}else{let e=-1;for(let t=0;t<d.length;t++){const n=d[t];n!==e&&(e=n,u.push({minValue:e,maxValue:n,label:l(e,n,r)}),e=n)}}else if("standard-deviation"===i){const e=function(e){let t=0;for(let n=0;n<e.length;n++)t+=e[n];return t/=e.length,t}(d),t=function(e,t){let n=0;for(let i=0;i<e.length;i++){const r=e[i];n+=(r-t)*(r-t)}return n/=e.length,Math.sqrt(n)}(d,e);if(0===t)u.push({minValue:d[0],maxValue:d[0],label:l(d[0],d[0],r)});else{const n=function(e,t,n,i,r){let a=Math.max(i-e,t-i)/r/n;return a=a>=1?1:a>=.5?.5:.25,a}(h,m,o,e,t)*t;let i=0,s=h;for(let t=o;t>=1;t--){const o=a(e-(t-.5)*n,6);u.push({minValue:s,maxValue:o,label:l(s,o,r)}),s=o,i++}let c=a(e+.5*n,6);u.push({minValue:s,maxValue:c,label:l(s,c,r)}),s=c,i++;for(let t=1;t<=o;t++)c=i===2*o?m:a(e+(t+.5)*n,6),u.push({minValue:s,maxValue:c,label:l(s,c,r)}),s=c,i++}}else if("defined-interval"===i){if(!s)return u;const[e,n]=t??[d.at(0),d.at(-1)],i=Math.ceil((n-e)/s);let o=e;for(let t=1;t<i;t++){const n=a(e+t*s,6);u.push({minValue:o,maxValue:n,label:l(o,n,r)}),o=n}u.push({minValue:o,maxValue:n,label:l(o,n,r)})}return u}function l(e,t,n){let i=null;return i=e===t?n&&"percent-of-total"===n?e+"%":e.toString():n&&"percent-of-total"===n?e+"% - "+t+"%":e+" - "+t,i}function c(e,t,n){const i=e.length,r=[];n>i&&(n=i);for(let e=0;e<n;e++)r.push(Math.round(e*i/n-1));r.push(i-1);let a=u(r,e,t,n);return function(e,t,n,i,r,a){let s=0,o=0,l=0,c=0,u=!0;for(let h=0;h<2&&u;h++){0===h&&(u=!1);for(let h=0;h<a-1;h++)for(;n[h+1]+1!==n[h+2];){n[h+1]=n[h+1]+1;const a=d(h,n,i,r);l=a.sbMean,s=a.sbSdcm;const m=d(h+1,n,i,r);if(c=m.sbMean,o=m.sbSdcm,!(s+o<t[h]+t[h+1])){n[h+1]=n[h+1]-1;break}t[h]=s,t[h+1]=o,e[h]=l,e[h+1]=c,u=!0}for(let h=a-1;h>0;h--)for(;n[h]!==n[h-1]+1;){n[h]=n[h]-1;const a=d(h-1,n,i,r);l=a.sbMean,s=a.sbSdcm;const m=d(h,n,i,r);if(c=m.sbMean,o=m.sbSdcm,!(s+o<t[h-1]+t[h])){n[h]=n[h]+1;break}t[h-1]=s,t[h]=o,e[h-1]=l,e[h]=c,u=!0}}return u}(a.mean,a.sdcm,r,e,t,n)&&(a=u(r,e,t,n)),r}function u(e,t,n,i){let r=[],a=[],s=[],o=0;const l=[],c=[];for(let r=0;r<i;r++){const i=d(r,e,t,n);l.push(i.sbMean),c.push(i.sbSdcm),o+=c[r]}let u,h=o,m=!0;for(;m||o<h;){m=!1,r=[];for(let t=0;t<i;t++)r.push(e[t]);for(let n=0;n<i;n++)for(let r=e[n]+1;r<=e[n+1];r++)if(u=t[r],n>0&&r!==e[n+1]&&Math.abs(u-l[n])>Math.abs(u-l[n-1]))e[n]=r;else if(n<i-1&&e[n]!==r-1&&Math.abs(u-l[n])>Math.abs(u-l[n+1])){e[n+1]=r-1;break}h=o,o=0,a=[],s=[];for(let r=0;r<i;r++){a.push(l[r]),s.push(c[r]);const i=d(r,e,t,n);l[r]=i.sbMean,c[r]=i.sbSdcm,o+=c[r]}}if(o>h){for(let t=0;t<i;t++)e[t]=r[t],l[t]=a[t],c[t]=s[t];o=h}return{mean:l,sdcm:c}}function d(e,t,n,i){let a=0,s=0;for(let r=t[e]+1;r<=t[e+1];r++){const e=i[r];a+=n[r]*e,s+=e}s<=0&&r().warn("Exception in Natural Breaks calculation");const o=a/s;let l=0;for(let r=t[e]+1;r<=t[e+1];r++)l+=i[r]*(n[r]-o)**2;return{sbMean:o,sbSdcm:l}}},86738:(e,t,n)=>{n.d(t,{A:()=>v});var i=n(31635),r=n(69622),a=n(53966),s=n(91429),o=n(56507),l=n(91075),c=n(16930),u=n(21325),d=n(28735);function h({x:e,y:t,spatialReference:n},i=[0,0]){if(n){if((0,u.K8)(n))return(0,d.tD)(e,t,i);if((0,u.EA)(n))return i[0]=e,i[1]=t,i}return null}const m=[0,0];var f,g=n(43937),p=n(36005);const y=[0,0];function b(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let v=f=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",r.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,i,r){let s;if(Array.isArray(e))s=e,r=t,e=s[0],t=s[1],n=s[2],i=s[3];else if(e&&"object"==typeof e){if(s=e,e=null!=s.x?s.x:s.longitude,t=null!=s.y?s.y:s.latitude,n=s.z,i=s.m,(r=s.spatialReference)&&"esri.geometry.SpatialReference"!==r.declaredClass&&(r=new c.A(r)),null!=s.longitude||null!=s.latitude)if(null==s.longitude)a.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==s.latitude)a.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!s.declaredClass&&r?.isWebMercator){const n=(0,d.je)(s.longitude,s.latitude,y);e=n[0],t=n[1]}}else b(n)?(r=n,n=null):b(i)&&(r=i,i=null);const o={x:e,y:t};return null==o.x&&null!=o.y?a.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==o.y&&null!=o.x&&a.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=r&&(o.spatialReference=r),null!=n&&(o.z=n),null!=i&&(o.m=i),o}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return e=this,h(e,m)?.[1]??null;var e}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,d.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return e=this,h(e,m)?.[0]??null;var e}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,d.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new f;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return f.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:i,m:r,spatialReference:a}=this,{z:s,m:o}=e;let{x:l,y:c,spatialReference:u}=e;if(!a.equals(u))if(a.isWebMercator&&u.isWGS84)[l,c]=(0,d.je)(l,c),u=a;else{if(!a.isWGS84||!u.isWebMercator)return!1;[l,c]=(0,d.tD)(l,c),u=a}return t===l&&n===c&&i===s&&r===o&&a.wkid===u.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,u.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,i]=e.valid,r=2*i;let a;return t>i?(a=Math.ceil(Math.abs(t-i)/r),t-=a*r):t<n&&(a=Math.ceil(Math.abs(t-n)/r),t+=a*r),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,i=e.y-t.y,r=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+i*i+r*r)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,s.MZ)({readOnly:!0})],v.prototype,"cache",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],v.prototype,"hasM",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],v.prototype,"hasZ",null),(0,i.Cg)([(0,s.MZ)({type:Number})],v.prototype,"latitude",null),(0,i.Cg)([(0,s.MZ)({type:Number})],v.prototype,"longitude",null),(0,i.Cg)([(0,s.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,s.wg)(e=>isNaN(e)?e:(0,o.GB)(e))],v.prototype,"x",void 0),(0,i.Cg)([(0,g.K)("x")],v.prototype,"writeX",null),(0,i.Cg)([(0,p.w)("x")],v.prototype,"readX",null),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],v.prototype,"z",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],v.prototype,"m",void 0),v=f=(0,i.Cg)([(0,s.$K)("esri.geometry.Point")],v),v.prototype.toJSON.isDefaultToJSON=!0},87445:(e,t,n)=>{n.d(t,{$r:()=>y,Jc:()=>T,gV:()=>b,rb:()=>v}),n(49186);var i=n(90629),r=n(88930),a=n(86738),s=n(16930),o=n(62577),l=n(21325),c=n(95466),u=n(30524),d=n(61760),h=n(4560),m=n(1873),f=n(43668);let g=null;const p=/^(?<hh>([01][0-9])|(2[0-3])):(?<mm>[0-5][0-9])(:(?<ss>[0-5][0-9]))?(\.(?<ms>\d+))?$/;function y(e,t,n,i){const r=(0,l.d9)(n)?(0,l.Vp)(n):null,s=r?Math.round((r.valid[1]-r.valid[0])/t.scale[0]):null;return e.map(e=>{const n=new a.A(e.geometry);return(0,o.Gy)(t,n,n),e.geometry=r?function(e,t,n){return e.x<0?e.x+=t:e.x>n&&(e.x-=t),e}(n,s??0,i[0]):n,e})}function b(e,t=18,n,r,a){const s=new Float64Array(r*a);t=Math.round((0,i.Lz)(t));let o=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;const c=(0,d.YW)(n);for(const{geometry:n,attributes:i}of e){const{x:e,y:u}=n,h=Math.max(0,e-t),m=Math.max(0,u-t),f=Math.min(a,u+t),g=Math.min(r,e+t),p=+c(i);for(let n=m;n<f;n++)for(let i=h;i<g;i++){const a=n*r+i,c=(0,d.hv)(i-e,n-u,t)*p,h=s[a]+=c;o=Math.min(o,h),l=Math.max(l,h)}}return{min:o,max:l}}function v(e){const t=p.exec(e);if(!t)return null;const{hh:n,mm:i,ss:a,ms:s}=t.groups;return Number(n)*r.vf.hours+Number(i)*r.vf.minutes+Number(a)*r.vf.seconds+Number(s||0)}async function T(e,t,n=!0){if(!t)return[];const{field:i,field2:r,field3:a,fieldDelimiter:o,sqlExpression:l,fieldInfos:d,timeZone:p}=e,y=i&&d?.find(e=>e.name.toLowerCase()===i.toLowerCase()),b=!!y&&(0,u.OH)(y),T=!!y&&(0,h.fs)(y),S=e.valueExpression,_=e.normalizationType,M=e.normalizationField,w=e.normalizationTotal,A=[],x=e.viewInfoParams;let C=null,L=null;if(S){if(!g){const{arcadeUtils:e}=await(0,f.l)();g=e}g.hasGeometryOperations(S)&&await g.enableGeometryOperations(),C=g.createFunction(S),L=x?g.getViewInfo({viewingMode:x.viewingMode,scale:x.scale,spatialReference:new s.A(x.spatialReference)}):null}const I=e.fieldInfos,F=t[0]&&"declaredClass"in t[0]&&"esri.Graphic"===t[0].declaredClass||!I?null:{fields:I};for await(const e of t){const t=e.attributes;let s;if(l){const t=await(0,h.j4)(l,new c.A(I));t&&(s=t.calculateValue(e.attributes))}else if(S){const t=F?Object.assign({},e,{layer:F}):e,n=g.createExecContext(t,L,p);s=g.executeFunction(C,n)}else t&&(s=t[i],r?(s=`${(0,m.gJ)(s)}${o}${(0,m.gJ)(t[r])}`,a&&(s=`${s}${o}${(0,m.gJ)(t[a])}`)):"string"==typeof s&&n&&(T?s=s?new Date(s).getTime():null:b&&(s=s?v(s):null)));if(_&&"number"==typeof s&&isFinite(s)){const e=t&&parseFloat(t[M]);s=(0,m.zS)(s,_,e,w)}A.push(s)}return A}},88930:(e,t,n)=>{n.d(t,{S1:()=>o,lL:()=>c,mi:()=>l,t:()=>u,vf:()=>s});var i=n(97770),r=n(98623),a=n(28097);const s={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function o(e,t,n,s=r.qU){const o=new a.oh((0,i.wj)(s)),l=a.c9.fromJSDate(e,{zone:o}),c="decades"===n||"centuries"===n?"year":d(n);return"decades"===n&&(t*=10),"centuries"===n&&(t*=100),l.plus({[c]:t}).toJSDate()}function l(e,t,n="milliseconds"){const i=e.getTime(),r=u(t,n,"milliseconds");return new Date(i+r)}function c(e,t,n=r.qU){const s=new a.oh((0,i.wj)(n)),o=a.c9.fromJSDate(e,{zone:s});if("decades"===t||"centuries"===t){const e=o.startOf("year"),{year:n}=e,i=n-n%("decades"===t?10:100);return e.set({year:i}).toJSDate()}const l=d(t);return o.startOf(l).toJSDate()}function u(e,t,n){return 0===e?0:e*s[t]/s[n]}function d(e){switch(e){case"milliseconds":return"millisecond";case"seconds":return"second";case"minutes":return"minute";case"hours":return"hour";case"days":return"day";case"weeks":return"week";case"months":return"month";case"years":return"year"}}},90629:(e,t,n)=>{n.d(t,{Lz:()=>s,PN:()=>o,cr:()=>l,gs:()=>u,r_:()=>d,tc:()=>c});const i=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,r="screenUtils.toPt: input not recognized!",a=96;function s(e){return e?e/72*a:0}function o(e){return e?72*e/a:0}function l(e){if("string"==typeof e){const t=e.match(i);if(t){const n=Number(t[1]),i=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),a="px"===i?o(n):n;return r?-a:a}return console.warn(r),null}return e}function c(e=0,t=0){return{x:e,y:t}}function u(e=0,t=0){return[e,t]}function d(e=0,t=0,n=0){return[e,t,n]}},91075:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(31635),r=n(25482),a=n(91429),s=n(16930),o=n(36005);let l=class extends r.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=s.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof s.A)return e;if(null!=e){const n=new s.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,i.Cg)([(0,a.MZ)()],l.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0},value:s.A.WGS84})],l.prototype,"spatialReference",void 0),(0,i.Cg)([(0,o.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,i.Cg)([(0,a.$K)("esri.geometry.Geometry")],l)},95466:(e,t,n)=>{n.d(t,{A:()=>m});var i=n(49186),r=n(53966),a=n(91869),s=n(3330),o=n(12195),l=n(30524),c=n(98623),u=n(56400),d=n(28097);const h=new Map;class m{static fromJSON(e){return new m(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new m(e.fields??[],y(e))}static fromLayerJSON(e){return new m(e.fields??[],y(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const n=[];for(const e of this.fields){const t=e?.name,i=g(t);if(t&&i){const r=f(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(i,e),n.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,l.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,l.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,l.te)(e)||(0,l.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}n.sort(),this.uid=n.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,l.te)(e)||(0,l.Xz)(e)||e.nullable||void 0!==(0,l.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(f(e))??this._normalizedFieldsMap.get(g(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),c.n$):p.has(t.type)?c.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===c.L5?s.GB.instance:t===c.n$?d.mQ.utcInstance:(0,a.tE)(h,t,()=>d.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,l.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,o.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function f(e){return e.trim().toLowerCase()}function g(e){return(0,l.rS)(e)?.toLowerCase()??""}const p=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function y(e){const t=new Map;if(!e.fields)return t;const n=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:r}=e,a=(i?"startField"in i?i.startField:i.startTimeField:"")??"",s=(i?"endField"in i?i.endField:i.endTimeField:"")??"",o=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,u.ZS)(e.dateFieldsTimeReference):null,l=r?function(e){return"timeZone"in e}(r)?r.timeZone??o:r.dateFieldsTimeReference?(0,u.ZS)(r.dateFieldsTimeReference):o??c.n$:null,d=i?function(e){return"timeZone"in e}(i)?i.timeZone??o:i.timeReference?(0,u.ZS)(i.timeReference):o:null,h=new Map([[f(r?.creationDateField??""),l],[f(r?.editDateField??""),l],[f(a),d],[f(s),d]]);for(const{name:i,type:r}of e.fields)if(p.has(r))t.set(i,c.L5);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(i,null);else if(n)t.set(i,c.L5);else{const e=h.get(f(i??""))??o;t.set(i,e)}return t}},95488:(e,t,n)=>{n.d(t,{I:()=>r});var i=n(11406);class r extends i.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},97770:(e,t,n)=>{n.d(t,{Ey:()=>E,F8:()=>k,J2:()=>C,Yq:()=>I,_m:()=>L,_v:()=>T,iS:()=>F,wj:()=>N});var i=n(66552),r=n(73444),a=n(98623),s=(n(56400),n(28097));const o={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},c={timeZone:a.n$},u={year:"numeric",month:"numeric",day:"numeric"},d={year:"numeric",month:"long",day:"numeric"},h={year:"numeric",month:"short",day:"numeric"},m={year:"numeric",month:"long",weekday:"long",day:"numeric"},f={hour:"numeric",minute:"numeric"},g={...f,second:"numeric"},p={hourCycle:"h23"},y={...f,...p},b={...g,...p},v={"short-date":u,"short-date-short-time":{...u,...f},"short-date-short-time-24":{...u,...y},"short-date-long-time":{...u,...g},"short-date-long-time-24":{...u,...b},"short-date-le":u,"short-date-le-short-time":{...u,...f},"short-date-le-short-time-24":{...u,...y},"short-date-le-long-time":{...u,...g},"short-date-le-long-time-24":{...u,...b},"long-month-day-year":d,"long-month-day-year-short-time":{...d,...f},"long-month-day-year-short-time-24":{...d,...y},"long-month-day-year-long-time":{...d,...g},"long-month-day-year-long-time-24":{...d,...b},"day-short-month-year":h,"day-short-month-year-short-time":{...h,...f},"day-short-month-year-short-time-24":{...h,...y},"day-short-month-year-long-time":{...h,...g},"day-short-month-year-long-time-24":{...h,...b},"long-date":m,"long-date-short-time":{...m,...f},"long-date-short-time-24":{...m,...y},"long-date-long-time":{...m,...g},"long-date-long-time-24":{...m,...b},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":f,"long-time":g},T=(0,i.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"}),S={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"},_=new Intl.DateTimeFormat("bs",{month:"long"}).formatToParts(new Date(2025,2)),M=_.find(({type:e})=>"month"===e)?.value.toLowerCase();function w(){const e=(0,r.lR)();return(e&&S[e])??(0,r.QC)()}"mart"!==M&&(S.bs="sr-Latn-CS");let A=new WeakMap;const x=v["short-date-short-time"];function C(e){return v[e]}function L(e){const{dateStyle:t,timeStyle:n,hour12:i,year:r,month:a}=e,s={};return t?s.dateStyle=t:r&&(s.year=r,s.month=a||void 0),n&&!s.year&&(s.timeStyle=n,s.hour12="auto"===i?void 0:"always"===i),s}function I(e,t=x){return function(e){let t=A.get(e);if(!t){const n=w(),i=N(e.timeZone??a.qU),r={...e,timeZone:i};t=new Intl.DateTimeFormat(n,r),A.set(e,t)}return t}(t).format(e)}function F(e,t=x){return I(new Date(e),{...t,...c,...l})}function k(e,t=x){return I(new Date(`1970-01-01T${e}Z`),{...t,...c,...o})}function E(e,t=x){if(t.timeZone)return I(new Date(e),t);const n=s.c9.fromISO(e,{setZone:!0}),i=0===n.offset?a.n$:t.timeZone,r={...t,timeZone:i};return n.toLocaleString(r,{locale:w()})}function N(e){switch(e){case a.qU:return a.N5;case a.L5:return a.n$;default:return e}}v["short-date"],(0,r.Ml)(()=>{A=new WeakMap})},98623:(e,t,n)=>{n.d(t,{L5:()=>r,N5:()=>s,n$:()=>a,qU:()=>i});const i="system",r="unknown",a="UTC",s=Intl.DateTimeFormat().resolvedOptions().timeZone}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[784],{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,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,e,n,r,o,i,s,a,c,u,h,d,l,f,m,p){return[t,e,n,r,o,i,s,a,c,u,h,d,l,f,m,p]}},Symbol.toStringTag,{value:"Module"}))},27921:(t,e,n)=>{n.d(e,{$Q:()=>T,C:()=>u,Cr:()=>f,LV:()=>c,O_:()=>l,Qj:()=>h,T7:()=>x,Tj:()=>O,Ui:()=>y,_I:()=>A,fA:()=>d,gv:()=>w,lU:()=>m,mN:()=>E,mP:()=>v,mR:()=>j,vE:()=>P,vt:()=>a});var r=n(34727),o=n(38954),i=n(51850),s=(n(87317),n(44280),n(32114));function a(t=N){return[t[0],t[1],t[2],t[3]]}function c(t=N[0],e=N[1],n=N[2],r=N[3]){return d(t,e,n,r,s.Km.get())}function u(t,e){return d(e[0],e[1],e[2],e[3],t)}function h(t){return t}function d(t,e,n,r,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o}function l(t,e,n){const r=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],o=Math.abs(r-1)>1e-5&&r>1e-12?1/Math.sqrt(r):1;return n[0]=e[0]*o,n[1]=e[1]*o,n[2]=e[2]*o,n[3]=-(n[0]*t[0]+n[1]*t[1]+n[2]*t[2]),n}function f(t,e,n,r=a()){const o=n[0]-e[0],i=n[1]-e[1],s=n[2]-e[2],c=t[0]-e[0],u=t[1]-e[1],h=t[2]-e[2],d=i*h-s*u,l=s*c-o*h,f=o*u-i*c,m=d*d+l*l+f*f,p=Math.abs(m-1)>1e-5&&m>1e-12?1/Math.sqrt(m):1;return r[0]=d*p,r[1]=l*p,r[2]=f*p,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function m(t,e,n,r=0,i=Math.floor(n*(1/3)),s=Math.floor(n*(2/3))){if(n<3)return!1;e(b,r);let a=i,c=!1;for(;a<n-1&&!c;)e(_,a),a++,c=!(0,o.m)(b,_);if(!c)return!1;for(a=Math.max(a,s),c=!1;a<n&&!c;)e(g,a),a++,(0,o.e)(M,b,_),(0,o.n)(M,M),(0,o.e)(S,_,g),(0,o.n)(S,S),c=!(0,o.m)(b,g)&&!(0,o.m)(_,g)&&Math.abs((0,o.g)(M,S))<p;return c?(f(b,_,g,t),!0):(0!==r||1!==i||2!==s)&&m(t,e,n,0,1,2)}n(32728);const p=.99619469809,b=(0,i.vt)(),_=(0,i.vt)(),g=(0,i.vt)(),M=(0,i.vt)(),S=(0,i.vt)();function v(t,e,n){return e!==t&&u(t,e),t[3]=-(0,o.g)(t,n),t}function j(t,e,n,r){return(0,o.f)(g,e,t),l(n,g,r)}function y(t,e,n){return null!=e&&z(P(t,e.origin,e.direction,C,n))}function x(t,e,n){return z(P(t,e.origin,e.vector,0,n))}function w(t,e,n){return z(P(t,e.origin,e.vector,1,n))}function O(t,e){return E(t,e)>=0}function T(t,e){const n=(0,o.g)(t,e.ray.direction),r=-E(t,e.ray.origin);if(r<0&&n>=0)return!1;if(n>-1e-6&&n<1e-6)return r>0;if((r<0||n<0)&&!(r<0&&n<0))return!0;const i=r/n;return n>0?i<e.c1&&(e.c1=i):i>e.c0&&(e.c0=i),e.c0<=e.c1}function A(t,e,n){const r=(0,o.j)(s.rq.get(),t,-t[3]),i=function(t,e,n){const r=(0,o.j)(s.rq.get(),t,(0,o.g)(t,e));return(0,o.e)(n,e,r),n}(t,(0,o.e)(s.rq.get(),e,r),s.rq.get());return(0,o.i)(n,i,r),n}function E(t,e){return(0,o.g)(t,e)+t[3]}function z(t){return 0===t||1===t}function P(t,e,n,i,s){const a=(0,o.g)(t,n),c=E(t,e);if(0===a)return c>=0?2:3;let u=-c/a;return 1&i&&(u=(0,r.qE)(u,0,1)),!(4&i)&&u<0||!(8&i)&&u>1?c>=0?2:3:((0,o.i)(s,e,(0,o.j)(s,n,u)),c>=0?0:1)}const N=[0,0,1,0],C=8},29242:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,i,s,a,c){return[t,e,n,r,o,i,s,a,c]}n.d(e,{fA:()=>o,vt:()=>r,zK:()=>i});const i=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},31635:(t,e,n)=>{function r(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>s,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function s(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},32114:(t,e,n)=>{n.d(e,{Rc:()=>f,J8:()=>m,rq:()=>d,Km:()=>l}),n(44208);var r=n(26390),o=n(29242),i=n(9093),s=n(82534),a=n(48163),c=n(51850),u=n(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(a.vt)}static createVec3f64(){return new h(c.vt)}static createVec4f64(){return new h(u.vt)}static createMat3f64(){return new h(o.vt)}static createMat4f64(){return new h(i.vt)}static createQuatf64(){return new h(s.vt)}get test(){}}h.createVec2f64();const d=h.createVec3f64(),l=h.createVec4f64(),f=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},32728:(t,e,n)=>{n.d(e,{nu:()=>s,wp:()=>i}),n(34727);var r=n(38954),o=n(51850);function i(t,e){const n=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),o=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,r.h)(t,n,o,i),t}function s(t,e,n,i=(0,o.vt)()){const s=(0,r.b)(t),u=(0,r.b)(e),h=(0,r.g)(t,e)/(s*u);if(h<.9999999999999999){const o=Math.acos(h),d=((1-n)*s+n*u)/Math.sin(o),l=d/s*Math.sin((1-n)*o),f=d/u*Math.sin(n*o);return(0,r.j)(a,t,l),(0,r.j)(c,e,f),(0,r.i)(i,a,c)}return(0,r.l)(i,t,e,n)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const a=(0,o.vt)(),c=(0,o.vt)()},44280:(t,e,n)=>{n.d(e,{EJ:()=>c,g7:()=>a,gr:()=>s});var r=n(34727),o=n(38954),i=n(51850);function s(t,e){return(0,o.g)(t,e)/(0,o.b)(t)}function a(t,e){const n=(0,o.g)(t,e)/((0,o.b)(t)*(0,o.b)(e));return-(0,r.XM)(n)}function c(t,e,n){(0,o.n)(u,t),(0,o.n)(h,e);const i=(0,o.g)(u,h),s=(0,r.XM)(i),a=(0,o.f)(u,u,h);return(0,o.g)(a,n)<0?2*Math.PI-s:s}const u=(0,i.vt)(),h=(0,i.vt)()},70491:(t,e,n)=>{n.r(e),n.d(e,{default:()=>X});var r=n(31635),o=n(74887),i=n(24326),s=n(91429),a=n(38954),c=n(51850),u=n(11964),h=n(94008),d=n(93687),l=n(15142),f=n(82919),m=n(71351),p=n(620);class b{get bounds(){return this._root.bounds}get halfSize(){return this._root.halfSize}get root(){return this._root.node}get maximumObjectsPerNode(){return this._maximumObjectsPerNode}get maximumDepth(){return this._maximumDepth}get objectCount(){return this._objectCount}constructor(t,e){this.objectToBoundingSphere=t,this._maximumObjectsPerNode=10,this._maximumDepth=20,this._degenerateObjects=new Set,this._root=new _,this._objectCount=0,e&&(void 0!==e.maximumObjectsPerNode&&(this._maximumObjectsPerNode=e.maximumObjectsPerNode),void 0!==e.maximumDepth&&(this._maximumDepth=e.maximumDepth))}destroy(){this._degenerateObjects.clear(),_.clearPool(),C[0]=null,F.prune(),J.prune()}add(t){const e=Array.from(t);this._grow(e);const n=_.acquire();for(const t of e)++this._objectCount,this._isDegenerate(t)?this._degenerateObjects.add(t):(n.init(this._root),this._add(t,n));_.release(n)}remove(t,e=null){this._objectCount-=t.length;const n=_.acquire();for(const r of t){const t=e??this.objectToBoundingSphere(r);E(t.radius)?(n.init(this._root),S(r,t,n)):this._degenerateObjects.delete(r)}_.release(n),this._shrink()}update(t,e){if(!E(e.radius)&&this._isDegenerate(t))return;const n=function(t){return C[0]=t,C}(t);this.remove(n,e),this.add(n)}forEachAlongRay(t,e,n){const r=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e){return w(e.bounds.center,2*-e.halfSize,B),w(e.bounds.center,2*e.halfSize,R),(0,p.O_)(t.origin,t.direction,B,R)}(r,t))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),!0})}forEachAlongRayWithVerticalOffset(t,e,n,r){const o=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e,n){return w(e.bounds.center,2*-e.halfSize,B),w(e.bounds.center,2*e.halfSize,R),n.applyToMinMax(B,R),(0,p.O_)(t.origin,t.direction,B,R)}(o,t,r))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObjectWithOffset(o,t,r)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObjectWithOffset(o,t,r)&&n(t)}),!0})}forEach(t){g(this._root,e=>{const n=e.node;return n.terminals.forAll(t),null!==n.residents&&n.residents.forAll(t),!0}),this._degenerateObjects.forEach(t)}forEachDegenerateObject(t){this._degenerateObjects.forEach(t)}findClosest(t,e,n,r=()=>!0,o=1/0){let i=1/0,s=1/0,c=null;const u=T(t,e),h=a=>{if(--o,!r(a))return;const u=this.objectToBoundingSphere(a);if(!(0,f.m7)(n,u))return;const h=A(t,e,u.center),d=h-u.radius,l=h+u.radius;d<i&&(i=d,s=l,c=a)};return M(this._root,r=>{if(o<=0||!(0,f.m7)(n,r.bounds))return!1;if((0,a.j)(q,u,r.halfSize),(0,a.i)(q,q,r.bounds.center),A(t,e,q)>s)return!1;const i=r.node;return i.terminals.forAll(t=>h(t)),null!==i.residents&&i.residents.forAll(t=>h(t)),!0},t,e),c}forEachInDepthRange(t,e,n,r,o,i,s){let c=-1/0,u=1/0;const h={setRange:t=>{1===n?(c=Math.max(c,t.near),u=Math.min(u,t.far)):(c=Math.max(c,-t.far),u=Math.min(u,-t.near))}};h.setRange(r);const d=A(e,n,t),l=T(e,n),m=T(e,-n),p=t=>{if(!s(t))return;const r=this.objectToBoundingSphere(t),a=A(e,n,r.center)-d,l=a-r.radius,m=a+r.radius;l>u||m<c||!(0,f.m7)(i,r)||o(t,h)};M(this._root,t=>{if(!(0,f.m7)(i,t.bounds))return!1;if((0,a.j)(q,l,t.halfSize),(0,a.i)(q,q,t.bounds.center),A(e,n,q)-d>u)return!1;if((0,a.j)(q,m,t.halfSize),(0,a.i)(q,q,t.bounds.center),A(e,n,q)-d<c)return!1;const r=t.node;return r.terminals.forAll(t=>p(t)),null!==r.residents&&r.residents.forAll(t=>p(t)),!0},e,n)}forEachNode(t){g(this._root,e=>t(e.node,e.bounds,e.halfSize,e.depth))}forEachNeighbor(t,e){const n=e.radius,r=e.center,o=e=>{const o=this.objectToBoundingSphere(e),i=o.radius,s=n+i;return!((0,a.s)(o.center,r)-s*s<=0)||t(e)};let i=!0;const s=t=>{i&&(i=o(t))};g(this._root,t=>{const e=t.bounds.radius,o=n+e;if((0,a.s)(t.bounds.center,r)-o*o>0)return!1;const c=t.node;return c.terminals.forAll(s),i&&null!==c.residents&&c.residents.forAll(s),i}),i&&this.forEachDegenerateObject(s)}_intersectsObject(t,e){const n=this.objectToBoundingSphere(e);return!(n.radius>0)||n.intersectRay(t)}_intersectsObjectWithOffset(t,e,n){const r=this.objectToBoundingSphere(e);return!(r.radius>0)||n.applyToBoundingSphere(r).intersectRay(t)}_add(t,e){e.advanceTo(this.objectToBoundingSphere(t))?e.node.terminals.push(t):(e.node.residents.push(t),e.node.residents.length>this._maximumObjectsPerNode&&e.depth<this._maximumDepth&&this._split(e))}_split(t){const e=t.node.residents;t.node.residents=null;for(let n=0;n<e.length;n++){const r=_.acquire().init(t);this._add(e.at(n),r),_.release(r)}}_grow(t){if(O(t,t=>this.objectToBoundingSphere(t),I),E(I.radius)&&!this._fitsInsideTree(I))if(j(this._root.node))this._root.bounds.copyFrom(I),this._root.halfSize=1.25*this._root.bounds.radius,this._root.updateBoundsRadiusFromHalfSize();else{const t=this._rootBoundsForRootAsSubNode(I);this._placingRootViolatesMaxDepth(t)?this._rebuildTree(I,t):this._growRootAsSubNode(t),_.release(t)}}_rebuildTree(t,e){V.center=e.bounds.center,V.radius=e.halfSize,O([t,V],t=>t,L);const n=_.acquire().init(this._root);this._root.initFrom(null,L,L.radius),this._root.increaseHalfSize(1.25),g(n,t=>(this.add(t.node.terminals.data),null!==t.node.residents&&this.add(t.node.residents.data),!0)),_.release(n)}_placingRootViolatesMaxDepth(t){const e=Math.log(t.halfSize/this._root.halfSize)*Math.LOG2E;let n=0;return g(this._root,t=>(n=Math.max(n,t.depth),n+e<=this._maximumDepth)),n+e>this._maximumDepth}_rootBoundsForRootAsSubNode(t){const e=t.radius,n=t.center;let r=-1/0;const o=this._root.bounds.center,i=this._root.halfSize;for(let t=0;t<3;t++){const s=o[t]-i-(n[t]-e),a=n[t]+e-(o[t]+i),c=Math.max(0,Math.ceil(s/(2*i))),u=Math.max(0,Math.ceil(a/(2*i)))+1,h=2**Math.ceil(Math.log(c+u)*Math.LOG2E);r=Math.max(r,h),k[t].min=c,k[t].max=u}for(let t=0;t<3;t++){let e=k[t].min,n=k[t].max;const s=(r-(e+n))/2;e+=Math.ceil(s),n+=Math.floor(s);const a=o[t]-i-e*i*2;D.center[t]=a+(n+e)*i}const s=r*i;return D.radius=s*N,_.acquire().initFrom(null,D,s,0)}_growRootAsSubNode(t){const e=this._root.node;I.center=this._root.bounds.center,I.radius=this._root.halfSize,this._root.init(t),t.advanceTo(I,null,!0),t.node.children=e.children,t.node.residents=e.residents,t.node.terminals=e.terminals}_shrink(){for(;;){const t=this._findShrinkIndex();if(-1===t)break;this._root.advance(t),this._root.depth=0}}_findShrinkIndex(){if(0!==this._root.node.terminals.length||this._root.isLeaf())return-1;let t=null;const e=this._root.node.children;let n=0,r=0;for(;r<e.length&&null==t;)n=r++,t=e[n];for(;r<e.length;)if(e[r++])return-1;return n}_isDegenerate(t){return!E(this.objectToBoundingSphere(t).radius)}_fitsInsideTree(t){const e=this._root.bounds,n=this._root.halfSize;return t.radius<=n&&t.center[0]>=e.center[0]-n&&t.center[0]<=e.center[0]+n&&t.center[1]>=e.center[1]-n&&t.center[1]<=e.center[1]+n&&t.center[2]>=e.center[2]-n&&t.center[2]<=e.center[2]+n}toJSON(){const{maximumDepth:t,maximumObjectsPerNode:e,_objectCount:n}=this,r=this._nodeToJSON(this._root.node);return{maximumDepth:t,maximumObjectsPerNode:e,objectCount:n,root:{bounds:this._root.bounds,halfSize:this._root.halfSize,depth:this._root.depth,node:r}}}_nodeToJSON(t){const e=t.children.map(t=>t?this._nodeToJSON(t):null),n=t.residents?.map(t=>this.objectToBoundingSphere(t)),r=t.terminals?.map(t=>this.objectToBoundingSphere(t));return{children:e,residents:n,terminals:r}}static fromJSON(t){const e=new b(t=>t,{maximumDepth:t.maximumDepth,maximumObjectsPerNode:t.maximumObjectsPerNode});return e._objectCount=t.objectCount,e._root.initFrom(t.root.node,t.root.bounds,t.root.halfSize,t.root.depth),e}}class _{constructor(){this.bounds=new h.iy,this.halfSize=0,this.initFrom(null,null,0,0)}init(t){return this.initFrom(t.node,t.bounds,t.halfSize,t.depth)}initFrom(t,e,n,r=this.depth){return this.node=null!=t?t:_.createEmptyNode(),e&&this.bounds.copyFrom(e),this.halfSize=n,this.depth=r,this}increaseHalfSize(t){this.halfSize*=t,this.updateBoundsRadiusFromHalfSize()}updateBoundsRadiusFromHalfSize(){this.bounds.radius=this.halfSize*N}advance(t){let e=this.node.children[t];e||(e=_.createEmptyNode(),this.node.children[t]=e),this.node=e,this.halfSize/=2,this.depth++;const n=z[t];return this.bounds.center[0]+=n[0]*this.halfSize,this.bounds.center[1]+=n[1]*this.halfSize,this.bounds.center[2]+=n[2]*this.halfSize,this.updateBoundsRadiusFromHalfSize(),this}advanceTo(t,e,n=!1){for(;;){if(this.isTerminalFor(t))return e?.(this,-1),!0;if(this.isLeaf()){if(!n)return e?.(this,-1),!1;this.node.residents=null}const r=this._childIndex(t);e?.(this,r),this.advance(r)}}isLeaf(){return null!=this.node.residents}isTerminalFor(t){return t.radius>this.halfSize/2}_childIndex(t){const e=this.bounds.center;return(e[0]<t.center[0]?1:0)+(e[1]<t.center[1]?2:0)+(e[2]<t.center[2]?4:0)}static createEmptyNode(){return{children:[null,null,null,null,null,null,null,null],terminals:new l.A({shrink:!0}),residents:new l.A({shrink:!0})}}static{this._pool=new d.A(()=>new _)}static acquire(){return _._pool.acquire()}static release(t){_._pool.release(t)}static clearPool(){_._pool.prune()}}function g(t,e){let n=_.acquire().init(t);const r=[n];for(;0!==r.length;){if(n=r.pop(),e(n)&&!n.isLeaf())for(let t=0;t<n.node.children.length;t++)n.node.children[t]&&r.push(_.acquire().init(n).advance(t));_.release(n)}}function M(t,e,n,r=1){let o=_.acquire().init(t);const i=[o];for(function(t,e,n){if(!J.length)for(let t=0;t<8;++t)J.push({index:0,distance:0});for(let n=0;n<8;++n){const r=z[n];J.data[n].index=n,J.data[n].distance=A(t,e,r)}J.sort((t,e)=>t.distance-e.distance);for(let t=0;t<8;++t)n[t]=J.data[t].index}(n,r,H);0!==i.length;){if(o=i.pop(),e(o)&&!o.isLeaf())for(let t=7;t>=0;--t){const e=H[t];o.node.children[e]&&i.push(_.acquire().init(o).advance(e))}_.release(o)}}function S(t,e,n){F.clear();const r=n.advanceTo(e,(t,e)=>{F.push(t.node),F.push(e)})?n.node.terminals:n.node.residents;if(r.removeUnordered(t),0===r.length)for(let t=F.length-2;t>=0&&v(F.data[t],F.data[t+1]);t-=2);}function v(t,e){return e>=0&&(t.children[e]=null),!!j(t)&&(null===t.residents&&(t.residents=new l.A({shrink:!0})),!0)}function j(t){if(0!==t.terminals.length)return!1;if(null!==t.residents)return 0===t.residents.length;for(let e=0;e<t.children.length;e++)if(t.children[e])return!1;return!0}function y(t,e){t[0]=Math.min(t[0],e.center[0]-e.radius),t[1]=Math.min(t[1],e.center[1]-e.radius),t[2]=Math.min(t[2],e.center[2]-e.radius)}function x(t,e){t[0]=Math.max(t[0],e.center[0]+e.radius),t[1]=Math.max(t[1],e.center[1]+e.radius),t[2]=Math.max(t[2],e.center[2]+e.radius)}function w(t,e,n){n[0]=t[0]+e,n[1]=t[1]+e,n[2]=t[2]+e}function O(t,e,n){B[0]=1/0,B[1]=1/0,B[2]=1/0,R[0]=-1/0,R[1]=-1/0,R[2]=-1/0;for(const n of t){const t=e(n);E(t.radius)&&(y(B,t),x(R,t))}(0,a.l)(n.center,B,R,.5),n.radius=Math.max(R[0]-B[0],R[1]-B[1],R[2]-B[2])/2}function T(t,e){let n,r=1/0;for(let o=0;o<8;++o){const i=A(t,e,P[o]);i<r&&(r=i,n=P[o])}return n}function A(t,e,n){return e*(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])}function E(t){return!isNaN(t)&&t!==-1/0&&t!==1/0&&t>0}const z=[(0,c.fA)(-1,-1,-1),(0,c.fA)(1,-1,-1),(0,c.fA)(-1,1,-1),(0,c.fA)(1,1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(1,-1,1),(0,c.fA)(-1,1,1),(0,c.fA)(1,1,1)],P=[(0,c.fA)(-1,-1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(-1,1,-1),(0,c.fA)(-1,1,1),(0,c.fA)(1,-1,-1),(0,c.fA)(1,-1,1),(0,c.fA)(1,1,-1),(0,c.fA)(1,1,1)],N=Math.sqrt(3),C=[null],D=new h.iy,q=(0,c.vt)(),B=(0,c.vt)(),R=(0,c.vt)(),F=new l.A,I=new h.iy,V=new h.iy,L=new h.iy,k=[{min:0,max:0},{min:0,max:0},{min:0,max:0}],J=new l.A,H=[0,0,0,0,0,0,0,0];var K=n(431);function Q(t,e,n){const r=new h.iy;return(0,a.j)(r.center,t,.5),(0,a.c)(r.center,r.center,e,.5),r.radius=(0,a.B)(r.center,t),(0,a.i)(r.center,r.center,n),r}class W{constructor(t,e,n){this.objectId=t,this.target=e,this.distance=n}}class Y extends W{constructor(t,e,n){super(t,e,n),this.type="vertex"}}class G extends W{constructor(t,e,n,r,o){super(t,e,n),this.start=r,this.end=o,this.type="edge"}}let U=class{constructor(){this._idToComponent=new Map,this._components=new b(t=>t.bounds),this._edges=new b(t=>t.bounds),this._tmpLineSegment=(0,u.vt)(),this._tmpP1=(0,c.vt)(),this._tmpP2=(0,c.vt)(),this._tmpP3=(0,c.vt)(),this.remoteClient=null}async fetchCandidates(t,e){await Promise.resolve(),(0,o.Te)(e);const n=t;n.mbs=new h.iy(t.mbsJSON),await this._ensureEdgeLocations(n,e);const r=[];return this._edges.forEachNeighbor(t=>(this._addCandidates(n,t,r),r.length<1e3),n.mbs),{result:{candidates:r}}}async _ensureEdgeLocations(t,e){const n=[];if(this._components.forEachNeighbor(t=>{if(null==t.info){const{id:e,uid:r}=t;n.push({id:e,uid:r})}return!0},t.mbs),!n.length)return;const r={components:n},o=await this.remoteClient.invoke("fetchAllEdgeLocations",r,e??{});for(const t of o.components)this._setFetchEdgeLocations(t)}async add(t){const e=new Z(t.id,new h.iy(t.bounds));return this._idToComponent.set(e.id,e),this._components.add([e]),{result:{}}}async remove(t){const e=this._idToComponent.get(t.id);if(e){const t=[];this._edges.forEachNeighbor(n=>(n.component===e&&t.push(n),!0),e.bounds),this._edges.remove(t),this._components.remove([e]),this._idToComponent.delete(e.id)}return{result:{}}}_setFetchEdgeLocations(t){const e=this._idToComponent.get(t.id);if(null==e||t.uid!==e.uid)return;const n=K.HY.createView(t.locations),r=new Array(n.count),o=(0,c.vt)(),i=(0,c.vt)();for(let s=0;s<n.count;s++){n.position0.getVec(s,o),n.position1.getVec(s,i);const a=Q(o,i,t.origin),c=new tt(e,s,a);r[s]=c}this._edges.add(r);const{objectIds:s,origin:a}=t;e.info={locations:n,objectIds:s,origin:a}}_addCandidates(t,e,n){const{info:r}=e.component,{origin:o,objectIds:i}=r,s=r.locations,c=s.position0.getVec(e.index,this._tmpP1),u=s.position1.getVec(e.index,this._tmpP2);(0,a.i)(c,c,o),(0,a.i)(u,u,o);const h=i[s.componentIndex.get(e.index)];this._addEdgeCandidate(t,h,c,u,n),$(t,h,c,n),$(t,h,u,n)}_addEdgeCandidate(t,e,n,r,o){if(!t.returnEdge)return;const i=t.mbs.center,s=(0,u.Cr)(n,r,this._tmpLineSegment),h=(0,u._I)(s,i,this._tmpP3);t.mbs.contains(h)&&o.push(new G(e,(0,c.o8)(h),(0,a.B)(i,h),(0,c.o8)(n),(0,c.o8)(r)))}};U=(0,r.Cg)([(0,s.$K)("esri.views.interactive.snapping.featureSources.sceneLayerSource.SceneLayerSnappingSourceWorker")],U);const X=U;function $(t,e,n,r){t.returnVertex&&t.mbs.contains(n)&&r.push(new Y(e,(0,c.o8)(n),(0,a.B)(t.mbs.center,n)))}class Z{constructor(t,e){this.id=t,this.bounds=e,this.info=null,this.uid=(0,i.c)()}}class tt{constructor(t,e,n){this.component=t,this.index=e,this.bounds=n}}},77690:(t,e,n)=>{n.d(e,{B8:()=>a,Ge:()=>f,I0:()=>l,KC:()=>c,a4:()=>u,hZ:()=>i,hs:()=>d,lw:()=>h,mg:()=>s,z0:()=>o});var r=n(34304);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function i(t,e,n,r,o,i,s,a,c,u){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=i,t[5]=s,t[6]=a,t[7]=c,t[8]=u,t}function s(t,e){if(t===e){const n=e[1],r=e[2],o=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=o}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function a(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],a=e[5],c=e[6],u=e[7],h=e[8],d=h*s-a*u,l=-h*i+a*c,f=u*i-s*c;let m=n*d+r*l+o*f;return m?(m=1/m,t[0]=d*m,t[1]=(-h*r+o*u)*m,t[2]=(a*r-o*s)*m,t[3]=l*m,t[4]=(h*n-o*c)*m,t[5]=(-a*n+o*i)*m,t[6]=f*m,t[7]=(-u*n+r*c)*m,t[8]=(s*n-r*i)*m,t):null}function c(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],a=e[5],c=e[6],u=e[7],h=e[8];return t[0]=s*h-a*u,t[1]=o*u-r*h,t[2]=r*a-o*s,t[3]=a*c-i*h,t[4]=n*h-o*c,t[5]=o*i-n*a,t[6]=i*u-s*c,t[7]=r*c-n*u,t[8]=n*s-r*i,t}function u(t){const e=t[0],n=t[1],r=t[2],o=t[3],i=t[4],s=t[5],a=t[6],c=t[7],u=t[8];return e*(u*i-s*c)+n*(-u*o+s*a)+r*(c*o-i*a)}function h(t,e,n){const r=e[0],o=e[1],i=e[2],s=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=n[0],f=n[1],m=n[2],p=n[3],b=n[4],_=n[5],g=n[6],M=n[7],S=n[8];return t[0]=l*r+f*s+m*u,t[1]=l*o+f*a+m*h,t[2]=l*i+f*c+m*d,t[3]=p*r+b*s+_*u,t[4]=p*o+b*a+_*h,t[5]=p*i+b*c+_*d,t[6]=g*r+M*s+S*u,t[7]=g*o+M*a+S*h,t[8]=g*i+M*c+S*d,t}function d(t,e,n){const r=n[0],o=n[1],i=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t[6]=i*e[6],t[7]=i*e[7],t[8]=i*e[8],t}function l(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=n+n,a=r+r,c=o+o,u=n*s,h=r*s,d=r*a,l=o*s,f=o*a,m=o*c,p=i*s,b=i*a,_=i*c;return t[0]=1-d-m,t[3]=h-_,t[6]=l+b,t[1]=h+_,t[4]=1-u-m,t[7]=f-p,t[2]=l-b,t[5]=f+p,t[8]=1-u-d,t}function f(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],a=e[5],c=e[6],u=e[7],h=e[8],d=e[9],l=e[10],f=e[11],m=e[12],p=e[13],b=e[14],_=e[15],g=n*a-r*s,M=n*c-o*s,S=n*u-i*s,v=r*c-o*a,j=r*u-i*a,y=o*u-i*c,x=h*p-d*m,w=h*b-l*m,O=h*_-f*m,T=d*b-l*p,A=d*_-f*p,E=l*_-f*b;let z=g*E-M*A+S*T+v*O-j*w+y*x;return z?(z=1/z,t[0]=(a*E-c*A+u*T)*z,t[1]=(c*O-s*E-u*w)*z,t[2]=(s*A-a*O+u*x)*z,t[3]=(o*A-r*E-i*T)*z,t[4]=(n*E-o*O+i*w)*z,t[5]=(r*O-n*A-i*x)*z,t[6]=(p*y-b*j+_*v)*z,t[7]=(b*S-m*y-_*M)*z,t[8]=(m*j-p*S+_*g)*z,t):null}function m(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}const p=h,b=m;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},adjoint:c,copy:function(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},determinant:u,equals:function(t,e){const n=t[0],o=t[1],i=t[2],s=t[3],a=t[4],c=t[5],u=t[6],h=t[7],d=t[8],l=e[0],f=e[1],m=e[2],p=e[3],b=e[4],_=e[5],g=e[6],M=e[7],S=e[8],v=(0,r.FD)();return Math.abs(n-l)<=v*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(o-f)<=v*Math.max(1,Math.abs(o),Math.abs(f))&&Math.abs(i-m)<=v*Math.max(1,Math.abs(i),Math.abs(m))&&Math.abs(s-p)<=v*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(a-b)<=v*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(c-_)<=v*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(u-g)<=v*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(h-M)<=v*Math.max(1,Math.abs(h),Math.abs(M))&&Math.abs(d-S)<=v*Math.max(1,Math.abs(d),Math.abs(S))},exactEquals:function(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]},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)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:o,fromQuat:l,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:a,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],o=t[1],i=t[2],s=t[3],a=t[4],c=t[5],u=t[6],h=t[7],d=t[8];return Math.abs(1-(n*n+s*s+u*u))<=e&&Math.abs(1-(o*o+a*a+h*h))<=e&&Math.abs(1-(i*i+c*c+d*d))<=e},mul:p,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},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},normalFromMat4:f,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[4],s=e[5],a=e[6],c=e[8],u=e[9],h=e[10],d=h*s-a*u,l=-h*i+a*c,f=u*i-s*c,m=n*d+r*l+o*f;if(!m)return null;const p=1/m;return t[0]=d*p,t[1]=(-h*r+o*u)*p,t[2]=(a*r-o*s)*p,t[3]=l*p,t[4]=(h*n-o*c)*p,t[5]=(-a*n+o*i)*p,t[6]=f*p,t[7]=(-u*n+r*c)*p,t[8]=(s*n-r*i)*p,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],o=e[1],i=e[2],s=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=Math.sin(n),f=Math.cos(n);return t[0]=f*r+l*s,t[1]=f*o+l*a,t[2]=f*i+l*c,t[3]=f*s-l*r,t[4]=f*a-l*o,t[5]=f*c-l*i,t[6]=u,t[7]=h,t[8]=d,t},scale:d,scaleByVec2:function(t,e,n){const r=n[0],o=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t},set:i,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:b,subtract:m,translate:function(t,e,n){const r=e[0],o=e[1],i=e[2],s=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=n[0],f=n[1];return t[0]=r,t[1]=o,t[2]=i,t[3]=s,t[4]=a,t[5]=c,t[6]=l*r+f*s+u,t[7]=l*o+f*a+h,t[8]=l*i+f*c+d,t},transpose:s},Symbol.toStringTag,{value:"Module"}))},82534:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>i});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},91869:(t,e,n)=>{function r(t,e){for(const n of t.values())if(e(n))return!0;return!1}function o(t,e,n){const r=t.get(e);if(void 0!==r)return r;const o=n();return t.set(e,o),o}function i(t){const e=new Map;return n=>(e.has(n)||e.set(n,t(n)),e.get(n))}n.d(e,{Bj:()=>i,Bs:()=>r,tE:()=>o})}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[784],{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,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,e,n,r,o,i,s,a,c,u,h,d,l,f,m,p){return[t,e,n,r,o,i,s,a,c,u,h,d,l,f,m,p]}},Symbol.toStringTag,{value:"Module"}))},27921:(t,e,n)=>{n.d(e,{$Q:()=>T,C:()=>u,Cr:()=>f,LV:()=>c,O_:()=>l,Qj:()=>h,T7:()=>x,Tj:()=>O,Ui:()=>y,_I:()=>A,fA:()=>d,gv:()=>w,lU:()=>m,mN:()=>E,mP:()=>v,mR:()=>j,vE:()=>P,vt:()=>a});var r=n(34727),o=n(38954),i=n(51850),s=(n(87317),n(44280),n(32114));function a(t=N){return[t[0],t[1],t[2],t[3]]}function c(t=N[0],e=N[1],n=N[2],r=N[3]){return d(t,e,n,r,s.Km.get())}function u(t,e){return d(e[0],e[1],e[2],e[3],t)}function h(t){return t}function d(t,e,n,r,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o}function l(t,e,n){const r=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],o=Math.abs(r-1)>1e-5&&r>1e-12?1/Math.sqrt(r):1;return n[0]=e[0]*o,n[1]=e[1]*o,n[2]=e[2]*o,n[3]=-(n[0]*t[0]+n[1]*t[1]+n[2]*t[2]),n}function f(t,e,n,r=a()){const o=n[0]-e[0],i=n[1]-e[1],s=n[2]-e[2],c=t[0]-e[0],u=t[1]-e[1],h=t[2]-e[2],d=i*h-s*u,l=s*c-o*h,f=o*u-i*c,m=d*d+l*l+f*f,p=Math.abs(m-1)>1e-5&&m>1e-12?1/Math.sqrt(m):1;return r[0]=d*p,r[1]=l*p,r[2]=f*p,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function m(t,e,n,r=0,i=Math.floor(n*(1/3)),s=Math.floor(n*(2/3))){if(n<3)return!1;e(b,r);let a=i,c=!1;for(;a<n-1&&!c;)e(_,a),a++,c=!(0,o.m)(b,_);if(!c)return!1;for(a=Math.max(a,s),c=!1;a<n&&!c;)e(g,a),a++,(0,o.e)(M,b,_),(0,o.n)(M,M),(0,o.e)(S,_,g),(0,o.n)(S,S),c=!(0,o.m)(b,g)&&!(0,o.m)(_,g)&&Math.abs((0,o.g)(M,S))<p;return c?(f(b,_,g,t),!0):(0!==r||1!==i||2!==s)&&m(t,e,n,0,1,2)}n(32728);const p=.99619469809,b=(0,i.vt)(),_=(0,i.vt)(),g=(0,i.vt)(),M=(0,i.vt)(),S=(0,i.vt)();function v(t,e,n){return e!==t&&u(t,e),t[3]=-(0,o.g)(t,n),t}function j(t,e,n,r){return(0,o.f)(g,e,t),l(n,g,r)}function y(t,e,n){return null!=e&&z(P(t,e.origin,e.direction,C,n))}function x(t,e,n){return z(P(t,e.origin,e.vector,0,n))}function w(t,e,n){return z(P(t,e.origin,e.vector,1,n))}function O(t,e){return E(t,e)>=0}function T(t,e){const n=(0,o.g)(t,e.ray.direction),r=-E(t,e.ray.origin);if(r<0&&n>=0)return!1;if(n>-1e-6&&n<1e-6)return r>0;if((r<0||n<0)&&!(r<0&&n<0))return!0;const i=r/n;return n>0?i<e.c1&&(e.c1=i):i>e.c0&&(e.c0=i),e.c0<=e.c1}function A(t,e,n){const r=(0,o.j)(s.rq.get(),t,-t[3]),i=function(t,e,n){const r=(0,o.j)(s.rq.get(),t,(0,o.g)(t,e));return(0,o.e)(n,e,r),n}(t,(0,o.e)(s.rq.get(),e,r),s.rq.get());return(0,o.i)(n,i,r),n}function E(t,e){return(0,o.g)(t,e)+t[3]}function z(t){return 0===t||1===t}function P(t,e,n,i,s){const a=(0,o.g)(t,n),c=E(t,e);if(0===a)return c>=0?2:3;let u=-c/a;return 1&i&&(u=(0,r.qE)(u,0,1)),!(4&i)&&u<0||!(8&i)&&u>1?c>=0?2:3:((0,o.i)(s,e,(0,o.j)(s,n,u)),c>=0?0:1)}const N=[0,0,1,0],C=8},29242:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,i,s,a,c){return[t,e,n,r,o,i,s,a,c]}n.d(e,{fA:()=>o,vt:()=>r,zK:()=>i});const i=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},31635:(t,e,n)=>{function r(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>s,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function s(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},32114:(t,e,n)=>{n.d(e,{Rc:()=>f,J8:()=>m,rq:()=>d,Km:()=>l}),n(44208);var r=n(26390),o=n(29242),i=n(9093),s=n(82534),a=n(48163),c=n(51850),u=n(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(a.vt)}static createVec3f64(){return new h(c.vt)}static createVec4f64(){return new h(u.vt)}static createMat3f64(){return new h(o.vt)}static createMat4f64(){return new h(i.vt)}static createQuatf64(){return new h(s.vt)}get test(){}}h.createVec2f64();const d=h.createVec3f64(),l=h.createVec4f64(),f=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},32728:(t,e,n)=>{n.d(e,{nu:()=>s,wp:()=>i}),n(34727);var r=n(38954),o=n(51850);function i(t,e){const n=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),o=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),i=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,r.h)(t,n,o,i),t}function s(t,e,n,i=(0,o.vt)()){const s=(0,r.b)(t),u=(0,r.b)(e),h=(0,r.g)(t,e)/(s*u);if(h<.9999999999999999){const o=Math.acos(h),d=((1-n)*s+n*u)/Math.sin(o),l=d/s*Math.sin((1-n)*o),f=d/u*Math.sin(n*o);return(0,r.j)(a,t,l),(0,r.j)(c,e,f),(0,r.i)(i,a,c)}return(0,r.l)(i,t,e,n)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const a=(0,o.vt)(),c=(0,o.vt)()},44280:(t,e,n)=>{n.d(e,{EJ:()=>c,g7:()=>a,gr:()=>s});var r=n(34727),o=n(38954),i=n(51850);function s(t,e){return(0,o.g)(t,e)/(0,o.b)(t)}function a(t,e){const n=(0,o.g)(t,e)/((0,o.b)(t)*(0,o.b)(e));return-(0,r.XM)(n)}function c(t,e,n){(0,o.n)(u,t),(0,o.n)(h,e);const i=(0,o.g)(u,h),s=(0,r.XM)(i),a=(0,o.f)(u,u,h);return(0,o.g)(a,n)<0?2*Math.PI-s:s}const u=(0,i.vt)(),h=(0,i.vt)()},70491:(t,e,n)=>{n.r(e),n.d(e,{default:()=>X});var r=n(31635),o=n(74887),i=n(24326),s=n(91429),a=n(38954),c=n(51850),u=n(11964),h=n(94008),d=n(93687),l=n(15142),f=n(82919),m=n(71351),p=n(620);class b{get bounds(){return this._root.bounds}get halfSize(){return this._root.halfSize}get root(){return this._root.node}get maximumObjectsPerNode(){return this._maximumObjectsPerNode}get maximumDepth(){return this._maximumDepth}get objectCount(){return this._objectCount}constructor(t,e){this.objectToBoundingSphere=t,this._maximumObjectsPerNode=10,this._maximumDepth=20,this._degenerateObjects=new Set,this._root=new _,this._objectCount=0,e&&(void 0!==e.maximumObjectsPerNode&&(this._maximumObjectsPerNode=e.maximumObjectsPerNode),void 0!==e.maximumDepth&&(this._maximumDepth=e.maximumDepth))}destroy(){this._degenerateObjects.clear(),_.clearPool(),C[0]=null,F.prune(),J.prune()}add(t){const e=Array.from(t);this._grow(e);const n=_.acquire();for(const t of e)++this._objectCount,this._isDegenerate(t)?this._degenerateObjects.add(t):(n.init(this._root),this._add(t,n));_.release(n)}remove(t,e=null){this._objectCount-=t.length;const n=_.acquire();for(const r of t){const t=e??this.objectToBoundingSphere(r);E(t.radius)?(n.init(this._root),S(r,t,n)):this._degenerateObjects.delete(r)}_.release(n),this._shrink()}update(t,e){if(!E(e.radius)&&this._isDegenerate(t))return;const n=function(t){return C[0]=t,C}(t);this.remove(n,e),this.add(n)}forEachAlongRay(t,e,n){const r=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e){return w(e.bounds.center,2*-e.halfSize,B),w(e.bounds.center,2*e.halfSize,R),(0,p.O_)(t.origin,t.direction,B,R)}(r,t))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),!0})}forEachAlongRayWithVerticalOffset(t,e,n,r){const o=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e,n){return w(e.bounds.center,2*-e.halfSize,B),w(e.bounds.center,2*e.halfSize,R),n.applyToMinMax(B,R),(0,p.O_)(t.origin,t.direction,B,R)}(o,t,r))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObjectWithOffset(o,t,r)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObjectWithOffset(o,t,r)&&n(t)}),!0})}forEach(t){g(this._root,e=>{const n=e.node;return n.terminals.forAll(t),null!==n.residents&&n.residents.forAll(t),!0}),this._degenerateObjects.forEach(t)}forEachDegenerateObject(t){this._degenerateObjects.forEach(t)}findClosest(t,e,n,r=()=>!0,o=1/0){let i=1/0,s=1/0,c=null;const u=T(t,e),h=a=>{if(--o,!r(a))return;const u=this.objectToBoundingSphere(a);if(!(0,f.m7)(n,u))return;const h=A(t,e,u.center),d=h-u.radius,l=h+u.radius;d<i&&(i=d,s=l,c=a)};return M(this._root,r=>{if(o<=0||!(0,f.m7)(n,r.bounds))return!1;if((0,a.j)(q,u,r.halfSize),(0,a.i)(q,q,r.bounds.center),A(t,e,q)>s)return!1;const i=r.node;return i.terminals.forAll(t=>h(t)),null!==i.residents&&i.residents.forAll(t=>h(t)),!0},t,e),c}forEachInDepthRange(t,e,n,r,o,i,s){let c=-1/0,u=1/0;const h={setRange:t=>{1===n?(c=Math.max(c,t.near),u=Math.min(u,t.far)):(c=Math.max(c,-t.far),u=Math.min(u,-t.near))}};h.setRange(r);const d=A(e,n,t),l=T(e,n),m=T(e,-n),p=t=>{if(!s(t))return;const r=this.objectToBoundingSphere(t),a=A(e,n,r.center)-d,l=a-r.radius,m=a+r.radius;l>u||m<c||!(0,f.m7)(i,r)||o(t,h)};M(this._root,t=>{if(!(0,f.m7)(i,t.bounds))return!1;if((0,a.j)(q,l,t.halfSize),(0,a.i)(q,q,t.bounds.center),A(e,n,q)-d>u)return!1;if((0,a.j)(q,m,t.halfSize),(0,a.i)(q,q,t.bounds.center),A(e,n,q)-d<c)return!1;const r=t.node;return r.terminals.forAll(t=>p(t)),null!==r.residents&&r.residents.forAll(t=>p(t)),!0},e,n)}forEachNode(t){g(this._root,e=>t(e.node,e.bounds,e.halfSize,e.depth))}forEachNeighbor(t,e){const n=e.radius,r=e.center,o=e=>{const o=this.objectToBoundingSphere(e),i=o.radius,s=n+i;return!((0,a.s)(o.center,r)-s*s<=0)||t(e)};let i=!0;const s=t=>{i&&(i=o(t))};g(this._root,t=>{const e=t.bounds.radius,o=n+e;if((0,a.s)(t.bounds.center,r)-o*o>0)return!1;const c=t.node;return c.terminals.forAll(s),i&&null!==c.residents&&c.residents.forAll(s),i}),i&&this.forEachDegenerateObject(s)}_intersectsObject(t,e){const n=this.objectToBoundingSphere(e);return!(n.radius>0)||n.intersectRay(t)}_intersectsObjectWithOffset(t,e,n){const r=this.objectToBoundingSphere(e);return!(r.radius>0)||n.applyToBoundingSphere(r).intersectRay(t)}_add(t,e){e.advanceTo(this.objectToBoundingSphere(t))?e.node.terminals.push(t):(e.node.residents.push(t),e.node.residents.length>this._maximumObjectsPerNode&&e.depth<this._maximumDepth&&this._split(e))}_split(t){const e=t.node.residents;t.node.residents=null;for(let n=0;n<e.length;n++){const r=_.acquire().init(t);this._add(e.at(n),r),_.release(r)}}_grow(t){if(O(t,t=>this.objectToBoundingSphere(t),I),E(I.radius)&&!this._fitsInsideTree(I))if(j(this._root.node))this._root.bounds.copyFrom(I),this._root.halfSize=1.25*this._root.bounds.radius,this._root.updateBoundsRadiusFromHalfSize();else{const t=this._rootBoundsForRootAsSubNode(I);this._placingRootViolatesMaxDepth(t)?this._rebuildTree(I,t):this._growRootAsSubNode(t),_.release(t)}}_rebuildTree(t,e){V.center=e.bounds.center,V.radius=e.halfSize,O([t,V],t=>t,L);const n=_.acquire().init(this._root);this._root.initFrom(null,L,L.radius),this._root.increaseHalfSize(1.25),g(n,t=>(this.add(t.node.terminals.data),null!==t.node.residents&&this.add(t.node.residents.data),!0)),_.release(n)}_placingRootViolatesMaxDepth(t){const e=Math.log(t.halfSize/this._root.halfSize)*Math.LOG2E;let n=0;return g(this._root,t=>(n=Math.max(n,t.depth),n+e<=this._maximumDepth)),n+e>this._maximumDepth}_rootBoundsForRootAsSubNode(t){const e=t.radius,n=t.center;let r=-1/0;const o=this._root.bounds.center,i=this._root.halfSize;for(let t=0;t<3;t++){const s=o[t]-i-(n[t]-e),a=n[t]+e-(o[t]+i),c=Math.max(0,Math.ceil(s/(2*i))),u=Math.max(0,Math.ceil(a/(2*i)))+1,h=2**Math.ceil(Math.log(c+u)*Math.LOG2E);r=Math.max(r,h),k[t].min=c,k[t].max=u}for(let t=0;t<3;t++){let e=k[t].min,n=k[t].max;const s=(r-(e+n))/2;e+=Math.ceil(s),n+=Math.floor(s);const a=o[t]-i-e*i*2;D.center[t]=a+(n+e)*i}const s=r*i;return D.radius=s*N,_.acquire().initFrom(null,D,s,0)}_growRootAsSubNode(t){const e=this._root.node;I.center=this._root.bounds.center,I.radius=this._root.halfSize,this._root.init(t),t.advanceTo(I,null,!0),t.node.children=e.children,t.node.residents=e.residents,t.node.terminals=e.terminals}_shrink(){for(;;){const t=this._findShrinkIndex();if(-1===t)break;this._root.advance(t),this._root.depth=0}}_findShrinkIndex(){if(0!==this._root.node.terminals.length||this._root.isLeaf())return-1;let t=null;const e=this._root.node.children;let n=0,r=0;for(;r<e.length&&null==t;)n=r++,t=e[n];for(;r<e.length;)if(e[r++])return-1;return n}_isDegenerate(t){return!E(this.objectToBoundingSphere(t).radius)}_fitsInsideTree(t){const e=this._root.bounds,n=this._root.halfSize;return t.radius<=n&&t.center[0]>=e.center[0]-n&&t.center[0]<=e.center[0]+n&&t.center[1]>=e.center[1]-n&&t.center[1]<=e.center[1]+n&&t.center[2]>=e.center[2]-n&&t.center[2]<=e.center[2]+n}toJSON(){const{maximumDepth:t,maximumObjectsPerNode:e,_objectCount:n}=this,r=this._nodeToJSON(this._root.node);return{maximumDepth:t,maximumObjectsPerNode:e,objectCount:n,root:{bounds:this._root.bounds,halfSize:this._root.halfSize,depth:this._root.depth,node:r}}}_nodeToJSON(t){const e=t.children.map(t=>t?this._nodeToJSON(t):null),n=t.residents?.map(t=>this.objectToBoundingSphere(t)),r=t.terminals?.map(t=>this.objectToBoundingSphere(t));return{children:e,residents:n,terminals:r}}static fromJSON(t){const e=new b(t=>t,{maximumDepth:t.maximumDepth,maximumObjectsPerNode:t.maximumObjectsPerNode});return e._objectCount=t.objectCount,e._root.initFrom(t.root.node,t.root.bounds,t.root.halfSize,t.root.depth),e}}class _{constructor(){this.bounds=new h.iy,this.halfSize=0,this.initFrom(null,null,0,0)}init(t){return this.initFrom(t.node,t.bounds,t.halfSize,t.depth)}initFrom(t,e,n,r=this.depth){return this.node=null!=t?t:_.createEmptyNode(),e&&this.bounds.copyFrom(e),this.halfSize=n,this.depth=r,this}increaseHalfSize(t){this.halfSize*=t,this.updateBoundsRadiusFromHalfSize()}updateBoundsRadiusFromHalfSize(){this.bounds.radius=this.halfSize*N}advance(t){let e=this.node.children[t];e||(e=_.createEmptyNode(),this.node.children[t]=e),this.node=e,this.halfSize/=2,this.depth++;const n=z[t];return this.bounds.center[0]+=n[0]*this.halfSize,this.bounds.center[1]+=n[1]*this.halfSize,this.bounds.center[2]+=n[2]*this.halfSize,this.updateBoundsRadiusFromHalfSize(),this}advanceTo(t,e,n=!1){for(;;){if(this.isTerminalFor(t))return e?.(this,-1),!0;if(this.isLeaf()){if(!n)return e?.(this,-1),!1;this.node.residents=null}const r=this._childIndex(t);e?.(this,r),this.advance(r)}}isLeaf(){return null!=this.node.residents}isTerminalFor(t){return t.radius>this.halfSize/2}_childIndex(t){const e=this.bounds.center;return(e[0]<t.center[0]?1:0)+(e[1]<t.center[1]?2:0)+(e[2]<t.center[2]?4:0)}static createEmptyNode(){return{children:[null,null,null,null,null,null,null,null],terminals:new l.A({shrink:!0}),residents:new l.A({shrink:!0})}}static{this._pool=new d.A(()=>new _)}static acquire(){return _._pool.acquire()}static release(t){_._pool.release(t)}static clearPool(){_._pool.prune()}}function g(t,e){let n=_.acquire().init(t);const r=[n];for(;0!==r.length;){if(n=r.pop(),e(n)&&!n.isLeaf())for(let t=0;t<n.node.children.length;t++)n.node.children[t]&&r.push(_.acquire().init(n).advance(t));_.release(n)}}function M(t,e,n,r=1){let o=_.acquire().init(t);const i=[o];for(function(t,e,n){if(!J.length)for(let t=0;t<8;++t)J.push({index:0,distance:0});for(let n=0;n<8;++n){const r=z[n];J.data[n].index=n,J.data[n].distance=A(t,e,r)}J.sort((t,e)=>t.distance-e.distance);for(let t=0;t<8;++t)n[t]=J.data[t].index}(n,r,H);0!==i.length;){if(o=i.pop(),e(o)&&!o.isLeaf())for(let t=7;t>=0;--t){const e=H[t];o.node.children[e]&&i.push(_.acquire().init(o).advance(e))}_.release(o)}}function S(t,e,n){F.clear();const r=n.advanceTo(e,(t,e)=>{F.push(t.node),F.push(e)})?n.node.terminals:n.node.residents;if(r.removeUnordered(t),0===r.length)for(let t=F.length-2;t>=0&&v(F.data[t],F.data[t+1]);t-=2);}function v(t,e){return e>=0&&(t.children[e]=null),!!j(t)&&(null===t.residents&&(t.residents=new l.A({shrink:!0})),!0)}function j(t){if(0!==t.terminals.length)return!1;if(null!==t.residents)return 0===t.residents.length;for(let e=0;e<t.children.length;e++)if(t.children[e])return!1;return!0}function y(t,e){t[0]=Math.min(t[0],e.center[0]-e.radius),t[1]=Math.min(t[1],e.center[1]-e.radius),t[2]=Math.min(t[2],e.center[2]-e.radius)}function x(t,e){t[0]=Math.max(t[0],e.center[0]+e.radius),t[1]=Math.max(t[1],e.center[1]+e.radius),t[2]=Math.max(t[2],e.center[2]+e.radius)}function w(t,e,n){n[0]=t[0]+e,n[1]=t[1]+e,n[2]=t[2]+e}function O(t,e,n){B[0]=1/0,B[1]=1/0,B[2]=1/0,R[0]=-1/0,R[1]=-1/0,R[2]=-1/0;for(const n of t){const t=e(n);E(t.radius)&&(y(B,t),x(R,t))}(0,a.l)(n.center,B,R,.5),n.radius=Math.max(R[0]-B[0],R[1]-B[1],R[2]-B[2])/2}function T(t,e){let n,r=1/0;for(let o=0;o<8;++o){const i=A(t,e,P[o]);i<r&&(r=i,n=P[o])}return n}function A(t,e,n){return e*(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])}function E(t){return!isNaN(t)&&t!==-1/0&&t!==1/0&&t>0}const z=[(0,c.fA)(-1,-1,-1),(0,c.fA)(1,-1,-1),(0,c.fA)(-1,1,-1),(0,c.fA)(1,1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(1,-1,1),(0,c.fA)(-1,1,1),(0,c.fA)(1,1,1)],P=[(0,c.fA)(-1,-1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(-1,1,-1),(0,c.fA)(-1,1,1),(0,c.fA)(1,-1,-1),(0,c.fA)(1,-1,1),(0,c.fA)(1,1,-1),(0,c.fA)(1,1,1)],N=Math.sqrt(3),C=[null],D=new h.iy,q=(0,c.vt)(),B=(0,c.vt)(),R=(0,c.vt)(),F=new l.A,I=new h.iy,V=new h.iy,L=new h.iy,k=[{min:0,max:0},{min:0,max:0},{min:0,max:0}],J=new l.A,H=[0,0,0,0,0,0,0,0];var K=n(53099);function Q(t,e,n){const r=new h.iy;return(0,a.j)(r.center,t,.5),(0,a.c)(r.center,r.center,e,.5),r.radius=(0,a.B)(r.center,t),(0,a.i)(r.center,r.center,n),r}class W{constructor(t,e,n){this.objectId=t,this.target=e,this.distance=n}}class Y extends W{constructor(t,e,n){super(t,e,n),this.type="vertex"}}class G extends W{constructor(t,e,n,r,o){super(t,e,n),this.start=r,this.end=o,this.type="edge"}}let U=class{constructor(){this._idToComponent=new Map,this._components=new b(t=>t.bounds),this._edges=new b(t=>t.bounds),this._tmpLineSegment=(0,u.vt)(),this._tmpP1=(0,c.vt)(),this._tmpP2=(0,c.vt)(),this._tmpP3=(0,c.vt)(),this.remoteClient=null}async fetchCandidates(t,e){await Promise.resolve(),(0,o.Te)(e);const n=t;n.mbs=new h.iy(t.mbsJSON),await this._ensureEdgeLocations(n,e);const r=[];return this._edges.forEachNeighbor(t=>(this._addCandidates(n,t,r),r.length<1e3),n.mbs),{result:{candidates:r}}}async _ensureEdgeLocations(t,e){const n=[];if(this._components.forEachNeighbor(t=>{if(null==t.info){const{id:e,uid:r}=t;n.push({id:e,uid:r})}return!0},t.mbs),!n.length)return;const r={components:n},o=await this.remoteClient.invoke("fetchAllEdgeLocations",r,e??{});for(const t of o.components)this._setFetchEdgeLocations(t)}async add(t){const e=new Z(t.id,new h.iy(t.bounds));return this._idToComponent.set(e.id,e),this._components.add([e]),{result:{}}}async remove(t){const e=this._idToComponent.get(t.id);if(e){const t=[];this._edges.forEachNeighbor(n=>(n.component===e&&t.push(n),!0),e.bounds),this._edges.remove(t),this._components.remove([e]),this._idToComponent.delete(e.id)}return{result:{}}}_setFetchEdgeLocations(t){const e=this._idToComponent.get(t.id);if(null==e||t.uid!==e.uid)return;const n=K.HY.createView(t.locations),r=new Array(n.count),o=(0,c.vt)(),i=(0,c.vt)();for(let s=0;s<n.count;s++){n.position0.getVec(s,o),n.position1.getVec(s,i);const a=Q(o,i,t.origin),c=new tt(e,s,a);r[s]=c}this._edges.add(r);const{objectIds:s,origin:a}=t;e.info={locations:n,objectIds:s,origin:a}}_addCandidates(t,e,n){const{info:r}=e.component,{origin:o,objectIds:i}=r,s=r.locations,c=s.position0.getVec(e.index,this._tmpP1),u=s.position1.getVec(e.index,this._tmpP2);(0,a.i)(c,c,o),(0,a.i)(u,u,o);const h=i[s.componentIndex.get(e.index)];this._addEdgeCandidate(t,h,c,u,n),$(t,h,c,n),$(t,h,u,n)}_addEdgeCandidate(t,e,n,r,o){if(!t.returnEdge)return;const i=t.mbs.center,s=(0,u.Cr)(n,r,this._tmpLineSegment),h=(0,u._I)(s,i,this._tmpP3);t.mbs.contains(h)&&o.push(new G(e,(0,c.o8)(h),(0,a.B)(i,h),(0,c.o8)(n),(0,c.o8)(r)))}};U=(0,r.Cg)([(0,s.$K)("esri.views.interactive.snapping.featureSources.sceneLayerSource.SceneLayerSnappingSourceWorker")],U);const X=U;function $(t,e,n,r){t.returnVertex&&t.mbs.contains(n)&&r.push(new Y(e,(0,c.o8)(n),(0,a.B)(t.mbs.center,n)))}class Z{constructor(t,e){this.id=t,this.bounds=e,this.info=null,this.uid=(0,i.c)()}}class tt{constructor(t,e,n){this.component=t,this.index=e,this.bounds=n}}},77690:(t,e,n)=>{n.d(e,{B8:()=>a,Ge:()=>f,I0:()=>l,KC:()=>c,a4:()=>u,hZ:()=>i,hs:()=>d,lw:()=>h,mg:()=>s,z0:()=>o});var r=n(34304);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function i(t,e,n,r,o,i,s,a,c,u){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=i,t[5]=s,t[6]=a,t[7]=c,t[8]=u,t}function s(t,e){if(t===e){const n=e[1],r=e[2],o=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=o}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function a(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],a=e[5],c=e[6],u=e[7],h=e[8],d=h*s-a*u,l=-h*i+a*c,f=u*i-s*c;let m=n*d+r*l+o*f;return m?(m=1/m,t[0]=d*m,t[1]=(-h*r+o*u)*m,t[2]=(a*r-o*s)*m,t[3]=l*m,t[4]=(h*n-o*c)*m,t[5]=(-a*n+o*i)*m,t[6]=f*m,t[7]=(-u*n+r*c)*m,t[8]=(s*n-r*i)*m,t):null}function c(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],a=e[5],c=e[6],u=e[7],h=e[8];return t[0]=s*h-a*u,t[1]=o*u-r*h,t[2]=r*a-o*s,t[3]=a*c-i*h,t[4]=n*h-o*c,t[5]=o*i-n*a,t[6]=i*u-s*c,t[7]=r*c-n*u,t[8]=n*s-r*i,t}function u(t){const e=t[0],n=t[1],r=t[2],o=t[3],i=t[4],s=t[5],a=t[6],c=t[7],u=t[8];return e*(u*i-s*c)+n*(-u*o+s*a)+r*(c*o-i*a)}function h(t,e,n){const r=e[0],o=e[1],i=e[2],s=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=n[0],f=n[1],m=n[2],p=n[3],b=n[4],_=n[5],g=n[6],M=n[7],S=n[8];return t[0]=l*r+f*s+m*u,t[1]=l*o+f*a+m*h,t[2]=l*i+f*c+m*d,t[3]=p*r+b*s+_*u,t[4]=p*o+b*a+_*h,t[5]=p*i+b*c+_*d,t[6]=g*r+M*s+S*u,t[7]=g*o+M*a+S*h,t[8]=g*i+M*c+S*d,t}function d(t,e,n){const r=n[0],o=n[1],i=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t[6]=i*e[6],t[7]=i*e[7],t[8]=i*e[8],t}function l(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=n+n,a=r+r,c=o+o,u=n*s,h=r*s,d=r*a,l=o*s,f=o*a,m=o*c,p=i*s,b=i*a,_=i*c;return t[0]=1-d-m,t[3]=h-_,t[6]=l+b,t[1]=h+_,t[4]=1-u-m,t[7]=f-p,t[2]=l-b,t[5]=f+p,t[8]=1-u-d,t}function f(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],s=e[4],a=e[5],c=e[6],u=e[7],h=e[8],d=e[9],l=e[10],f=e[11],m=e[12],p=e[13],b=e[14],_=e[15],g=n*a-r*s,M=n*c-o*s,S=n*u-i*s,v=r*c-o*a,j=r*u-i*a,y=o*u-i*c,x=h*p-d*m,w=h*b-l*m,O=h*_-f*m,T=d*b-l*p,A=d*_-f*p,E=l*_-f*b;let z=g*E-M*A+S*T+v*O-j*w+y*x;return z?(z=1/z,t[0]=(a*E-c*A+u*T)*z,t[1]=(c*O-s*E-u*w)*z,t[2]=(s*A-a*O+u*x)*z,t[3]=(o*A-r*E-i*T)*z,t[4]=(n*E-o*O+i*w)*z,t[5]=(r*O-n*A-i*x)*z,t[6]=(p*y-b*j+_*v)*z,t[7]=(b*S-m*y-_*M)*z,t[8]=(m*j-p*S+_*g)*z,t):null}function m(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}const p=h,b=m;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},adjoint:c,copy:function(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},determinant:u,equals:function(t,e){const n=t[0],o=t[1],i=t[2],s=t[3],a=t[4],c=t[5],u=t[6],h=t[7],d=t[8],l=e[0],f=e[1],m=e[2],p=e[3],b=e[4],_=e[5],g=e[6],M=e[7],S=e[8],v=(0,r.FD)();return Math.abs(n-l)<=v*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(o-f)<=v*Math.max(1,Math.abs(o),Math.abs(f))&&Math.abs(i-m)<=v*Math.max(1,Math.abs(i),Math.abs(m))&&Math.abs(s-p)<=v*Math.max(1,Math.abs(s),Math.abs(p))&&Math.abs(a-b)<=v*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(c-_)<=v*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(u-g)<=v*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(h-M)<=v*Math.max(1,Math.abs(h),Math.abs(M))&&Math.abs(d-S)<=v*Math.max(1,Math.abs(d),Math.abs(S))},exactEquals:function(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]},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)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:o,fromQuat:l,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:a,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],o=t[1],i=t[2],s=t[3],a=t[4],c=t[5],u=t[6],h=t[7],d=t[8];return Math.abs(1-(n*n+s*s+u*u))<=e&&Math.abs(1-(o*o+a*a+h*h))<=e&&Math.abs(1-(i*i+c*c+d*d))<=e},mul:p,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},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},normalFromMat4:f,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[4],s=e[5],a=e[6],c=e[8],u=e[9],h=e[10],d=h*s-a*u,l=-h*i+a*c,f=u*i-s*c,m=n*d+r*l+o*f;if(!m)return null;const p=1/m;return t[0]=d*p,t[1]=(-h*r+o*u)*p,t[2]=(a*r-o*s)*p,t[3]=l*p,t[4]=(h*n-o*c)*p,t[5]=(-a*n+o*i)*p,t[6]=f*p,t[7]=(-u*n+r*c)*p,t[8]=(s*n-r*i)*p,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],o=e[1],i=e[2],s=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=Math.sin(n),f=Math.cos(n);return t[0]=f*r+l*s,t[1]=f*o+l*a,t[2]=f*i+l*c,t[3]=f*s-l*r,t[4]=f*a-l*o,t[5]=f*c-l*i,t[6]=u,t[7]=h,t[8]=d,t},scale:d,scaleByVec2:function(t,e,n){const r=n[0],o=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t},set:i,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:b,subtract:m,translate:function(t,e,n){const r=e[0],o=e[1],i=e[2],s=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=n[0],f=n[1];return t[0]=r,t[1]=o,t[2]=i,t[3]=s,t[4]=a,t[5]=c,t[6]=l*r+f*s+u,t[7]=l*o+f*a+h,t[8]=l*i+f*c+d,t},transpose:s},Symbol.toStringTag,{value:"Module"}))},82534:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>i});const i=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},91869:(t,e,n)=>{function r(t,e){for(const n of t.values())if(e(n))return!0;return!1}function o(t,e,n){const r=t.get(e);if(void 0!==r)return r;const o=n();return t.set(e,o),o}function i(t){const e=new Map;return n=>(e.has(n)||e.set(n,t(n)),e.get(n))}n.d(e,{Bj:()=>i,Bs:()=>r,tE:()=>o})}}]);
|