@arcgis/core 4.28.0-next.20230921 → 4.28.0-next.20230923
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Graphic.js +1 -1
- package/PopupTemplate.js +1 -1
- package/TimeExtent.js +1 -1
- package/arcade/ArcadeDate.js +1 -1
- package/arcade/Feature.js +1 -1
- package/arcade/featureSetUtils.js +1 -1
- package/arcade/featureset/actions/Adapted.js +1 -1
- package/arcade/featureset/actions/GroupBy.js +1 -1
- package/arcade/featureset/support/FeatureSet.js +1 -1
- package/arcade/featureset/support/FeatureSetIterator.js +1 -1
- package/arcade/featureset/support/StatsField.js +1 -1
- package/arcade/featureset/support/sqlUtils.js +1 -1
- package/arcade/functions/convertdirection.js +1 -1
- package/arcade/functions/date.js +1 -1
- package/arcade/functions/featuresetbase.js +1 -1
- package/arcade/functions/featuresetstats.js +1 -1
- package/arcade/treeAnalysis.js +1 -1
- package/arcade.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/02156fd04279f4d0fd3f.js +1 -0
- package/assets/esri/core/workers/chunks/07f6175b52366b2c28bd.js +1 -0
- package/assets/esri/core/workers/chunks/098073c3b2849f56dad8.js +1 -0
- package/assets/esri/core/workers/chunks/1186ba1947bd0c32f148.js +1 -0
- package/assets/esri/core/workers/chunks/186445b9fbedd261f684.js +1 -0
- package/assets/esri/core/workers/chunks/{580039dd491854ca325c.js → 21fc02f0d5716c4a7acd.js} +1 -1
- package/assets/esri/core/workers/chunks/{dff1c3c38dda2bd1a9d6.js → 246a954347fe9318190e.js} +1 -1
- package/assets/esri/core/workers/chunks/{c9dfb145f0c1d93e0fbd.js → 250bb6ae6f1992b5b4f9.js} +1 -1
- package/assets/esri/core/workers/chunks/{314c307e30f308a40a28.js → 25b09e9c0511c8e1cf8a.js} +1 -1
- package/assets/esri/core/workers/chunks/2a0b3b52ecd787a613bc.js +1 -0
- package/assets/esri/core/workers/chunks/2bc9b55e655968229ef4.js +1 -0
- package/assets/esri/core/workers/chunks/2f0924e7aa89e689da4a.js +1 -0
- package/assets/esri/core/workers/chunks/3f218d65ec451b2a1027.js +1 -0
- package/assets/esri/core/workers/chunks/425b5733bb88e6efe242.js +1 -0
- package/assets/esri/core/workers/chunks/45d6b942cdccca2ce44a.js +1 -0
- package/assets/esri/core/workers/chunks/4bf1a7e82a68ccee0ee1.js +1 -0
- package/assets/esri/core/workers/chunks/4c110c7f4f940ec58010.js +1 -0
- package/assets/esri/core/workers/chunks/{bde89b2684b6185992ef.js → 4ed77097e69fa3096ce4.js} +1 -1
- package/assets/esri/core/workers/chunks/4fe5bac782a742d5b1c0.js +1 -0
- package/assets/esri/core/workers/chunks/{1cbaba30f55f00f7498b.js → 51324d042f469f3b8914.js} +1 -1
- package/assets/esri/core/workers/chunks/{3f4e9b1663ec521bfe00.js → 542ce10e1872399790b4.js} +1 -1
- package/assets/esri/core/workers/chunks/54d2b7e2ac4ba883bee8.js +1 -0
- package/assets/esri/core/workers/chunks/54ecb6cae310818d1aa2.js +1 -0
- package/assets/esri/core/workers/chunks/57c932e289d89d97da4b.js +1 -0
- package/assets/esri/core/workers/chunks/{6403de6fc067cf8f7436.js → 592c1fb531f2be928e8a.js} +1 -1
- package/assets/esri/core/workers/chunks/59a807220d6f0dd18776.js +1 -0
- package/assets/esri/core/workers/chunks/59dff10d7ad2b1bf469e.js +1 -0
- package/assets/esri/core/workers/chunks/609a475ab395f2ce63e2.js +1 -0
- package/assets/esri/core/workers/chunks/612c485c5aad1548d708.js +1 -0
- package/assets/esri/core/workers/chunks/{2bb69d76a13564e8e455.js → 645ba2d5c10184632d23.js} +1 -1
- package/assets/esri/core/workers/chunks/{332689bf60d246485993.js → 65186e168dd112ac6221.js} +1 -1
- package/assets/esri/core/workers/chunks/6b9248fb2d6aadbce7bb.js +1 -0
- package/assets/esri/core/workers/chunks/709465832d306e02df52.js +1 -0
- package/assets/esri/core/workers/chunks/72c5bd6f7b8541b8d69e.js +1 -0
- package/assets/esri/core/workers/chunks/{bbc0dcd316c5598bc9ad.js → 74368a5213def6c200a2.js} +1 -1
- package/assets/esri/core/workers/chunks/{94188fe381239d48a975.js → 76483c9a8848f3106126.js} +1 -1
- package/assets/esri/core/workers/chunks/7aa58c96798447ce5907.js +1 -0
- package/assets/esri/core/workers/chunks/7d078b8b9997b5300c0a.js +1 -0
- package/assets/esri/core/workers/chunks/7fe641cf1467496e670a.js +1 -0
- package/assets/esri/core/workers/chunks/{df8f62beb36fb9d2ac81.js → 810c8d6ff19976fd1366.js} +1 -1
- package/assets/esri/core/workers/chunks/8458ed96f3e72814cef2.js +1 -0
- package/assets/esri/core/workers/chunks/{243a4eed107d363dfad8.js → 887652bbdb3b71d0a089.js} +1 -1
- package/assets/esri/core/workers/chunks/896bfda379cf620b63ec.js +1 -0
- package/assets/esri/core/workers/chunks/91c9f0d59eaed7a735ce.js +1 -0
- package/assets/esri/core/workers/chunks/{1f7e041140088f8ac489.js → 97073a60f0ea2a397165.js} +1 -1
- package/assets/esri/core/workers/chunks/97658ac749664a07c92d.js +1 -0
- package/assets/esri/core/workers/chunks/{1da74a306aa5b4eacaae.js → 9866bbaeaf885c2dcca9.js} +1 -1
- package/assets/esri/core/workers/chunks/a39ae87298ac674f129d.js +1 -0
- package/assets/esri/core/workers/chunks/a7b3048c19348540e004.js +1 -0
- package/assets/esri/core/workers/chunks/a8ca4b116909e47722f9.js +1 -0
- package/assets/esri/core/workers/chunks/{101f776316a85b708927.js → a99070ec4c06c435b744.js} +1 -1
- package/assets/esri/core/workers/chunks/ab145d13932d87dd7bf9.js +1 -0
- package/assets/esri/core/workers/chunks/{77c15b1c2729c780f75a.js → aeeeb386134b341d7ad2.js} +1 -1
- package/assets/esri/core/workers/chunks/{3ca759f72d3bb29e9ea9.js → af54b233f6d6ad70b4a3.js} +2 -2
- package/assets/esri/core/workers/chunks/b9146daae8457224fd08.js +1 -0
- package/assets/esri/core/workers/chunks/bcdd2e8841abcb4df6da.js +1 -0
- package/assets/esri/core/workers/chunks/be05cc0cdabd5e051045.js +1 -0
- package/assets/esri/core/workers/chunks/c5f5f37bef11c6fbdc40.js +1 -0
- package/assets/esri/core/workers/chunks/d414dba3179bcf75bc6b.js +1 -0
- package/assets/esri/core/workers/chunks/{b449d6bd5851187d419f.js → d6e5408f9fa6b4bcd118.js} +1 -1
- package/assets/esri/core/workers/chunks/d9fb500cbd0f04d219a3.js +1 -0
- package/assets/esri/core/workers/chunks/e0dd6789fb797e9b7206.js +1 -0
- package/assets/esri/core/workers/chunks/{6f271249e042086d5a16.js → e4e49deae8da74f629db.js} +1 -1
- package/assets/esri/core/workers/chunks/e5dcff7a4fa84ba09670.js +1 -0
- package/assets/esri/core/workers/chunks/{f508ccfde6425dabe9ac.js → ee0bf611d191103a7046.js} +1 -1
- package/assets/esri/core/workers/chunks/{ed1fbc1bc8d50453e2f5.js → f793cd41fcd022baeea2.js} +1 -1
- package/assets/esri/core/workers/chunks/fad6a7bb82a0a2df726f.js +1 -0
- package/assets/esri/themes/base/widgets/_FeatureForm.scss +2 -84
- package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +2 -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/arcade.js +1 -1
- package/config.js +1 -1
- package/core/Accessor.js +1 -1
- package/core/accessorSupport/diffUtils.js +1 -1
- package/core/has.js +1 -1
- package/core/number.js +1 -1
- package/core/reactiveUtils.js +1 -1
- package/core/sql/DateOnly.js +1 -1
- package/core/sql/WhereClause.js +1 -1
- package/core/sql.js +1 -1
- package/core/timeUtils.js +1 -1
- package/identity/IdentityForm.js +1 -1
- package/identity/IdentityModal.js +1 -1
- package/interfaces.d.ts +48 -203
- package/layers/LinkChartLayer.js +1 -1
- package/layers/OrientedImageryLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/graphics/applyEditsUtils.js +5 -0
- package/layers/graphics/editingSupport.js +1 -1
- package/layers/graphics/sources/FeatureLayerSource.js +1 -1
- package/layers/knowledgeGraph/KnowledgeGraphLayerDataManager.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/EditBusLayer.js +1 -1
- package/layers/orientedImagery/core/CameraOrientationLTP.js +1 -1
- package/layers/orientedImagery/core/ElevationSourceDefinitions.js +5 -0
- package/layers/orientedImagery/core/ExposurePoint.js +1 -1
- package/layers/orientedImagery/core/cameraOrientationFactory.js +1 -1
- package/layers/orientedImagery/core/utils.js +5 -0
- package/layers/orientedImagery/transformations/groundToImageUtils.js +1 -1
- package/layers/support/fieldProperties.js +1 -1
- package/layers/support/fieldUtils.js +1 -1
- package/layers/support/imageryRendererUtils.js +1 -1
- package/layers/support/kmlUtils.js +1 -1
- package/layers/support/rasterFunctions/BaseRasterFunction.js +1 -1
- package/layers/support/rasterFunctions/creators/createDataManagementFunctions.js +1 -1
- package/networks/Network.js +1 -1
- package/package.json +1 -1
- package/request.js +1 -1
- package/rest/featureService/FeatureService.js +1 -1
- package/rest/support/DirectionsFeatureSet.js +1 -1
- package/smartMapping/renderers/pieChart.js +1 -1
- package/smartMapping/renderers/relationship.js +1 -1
- package/smartMapping/renderers/support/utils.js +1 -1
- package/smartMapping/statistics/support/ageUtils.js +1 -1
- package/smartMapping/support/adapters/support/utils.js +1 -1
- package/smartMapping/support/utils.js +1 -1
- package/support/apiKeyUtils.js +1 -1
- package/support/arcadeUtils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/support/svgUtils.js +1 -1
- package/time/TimeReference.js +1 -1
- package/time/timeReferenceUtils.js +1 -1
- package/versionManagement/VersionManagementService.js +1 -1
- package/versionManagement/support/EditMomentStack.js +5 -0
- package/versionManagement/support/versionManagementUtils.js +1 -1
- package/views/2d/engine/Container.js +1 -1
- package/views/2d/engine/DisplayObject.js +1 -1
- package/views/2d/engine/ManagedCanvas.js +5 -0
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/webgl/GroupContainer.js +1 -1
- package/views/2d/engine/webgl/Painter.js +1 -1
- package/views/2d/engine/webgl/WGLContainer.js +1 -1
- package/views/2d/engine/webgl/WorldExtentClipRenderer.js +1 -1
- package/views/2d/engine/webgl/effects/FeatureEffect.js +1 -1
- package/views/2d/engine/webgl/effects/HighlightEffect.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffectVTL.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/layers/GeoRSSLayerView2D.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/WMTSLayerView2D.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/2d/layers/features/tileRenderers/support/WGLFeatureView.js +1 -1
- package/views/2d/layers/graphics/BaseGraphicContainer.js +1 -1
- package/views/2d/layers/graphics/GraphicContainer.js +1 -1
- package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
- package/views/2d/layers/graphics/HighlightGraphicContainer.js +1 -1
- package/views/2d/layers/imagery/VectorFieldView2D.js +1 -1
- package/views/2d/layers/support/DisplayGL.js +1 -1
- package/views/2d/webglDeps.js +1 -1
- package/views/3d/glTF/loader.js +1 -1
- package/views/3d/interactive/editingTools/manipulations/MoveManipulation.js +1 -1
- package/views/3d/interactive/editingTools/transformGraphic/isSupportedGraphic.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/SceneLayerView3D.js +1 -1
- package/views/3d/layers/graphics/ElevationAligners.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/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Labeler.js +1 -1
- package/views/3d/layers/graphics/graphicUtils.js +1 -1
- package/views/3d/layers/i3s/featureEditing.js +1 -1
- package/views/3d/layers/support/StageLayerElevationProvider.js +1 -1
- package/views/3d/state/ViewStateManager.js +1 -1
- package/views/3d/support/buffer/glUtil.js +1 -1
- package/views/3d/support/engineContent/line.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/webgl-engine/Stage.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginInput.js +1 -1
- package/views/3d/webgl-engine/effects/blit/Blit.js +5 -0
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
- package/views/3d/webgl-engine/lib/Geometry.js +1 -1
- package/views/3d/webgl-engine/lib/ModelDirtySet.js +1 -1
- package/views/3d/webgl-engine/lib/Object3D.js +1 -1
- package/views/3d/webgl-engine/lib/RenderSlot.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/lib/TextTextureFactory.js +1 -1
- package/views/3d/webgl-engine/lib/VertexAttribute.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/edgeProcessing.js +1 -1
- package/views/View.js +1 -1
- package/views/interactive/tooltip/TooltipContentWithHelpMessage.js +1 -1
- package/views/interactive/tooltip/TooltipEditableField.js +1 -1
- package/views/interactive/tooltip/constraintUtils.js +1 -1
- package/views/interactive/tooltip/content/Fields.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentDrawCircle.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentDrawMesh.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentDrawPoint.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentDrawPolygon.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentDrawPolyline.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentDrawRectangle.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentExtentRotate.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentExtentScale.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentReshapeEdgeOffset.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTransformAbsolute.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTransformRotate.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTransformScale.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTranslateGraphic.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTranslateGraphicXY.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTranslateGraphicZ.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTranslateVertex.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTranslateVertexXY.js +1 -1
- package/views/interactive/tooltip/content/TooltipContentTranslateVertexZ.js +1 -1
- package/views/support/angularMeasurementUtils.js +1 -1
- package/views/ui/UI.js +1 -1
- package/views/webgl/ShaderTranspiler.js +1 -1
- package/views/webgl/Texture.js +1 -1
- package/views/webgl/contextUtils.js +1 -1
- package/webmap/InitialViewProperties.js +1 -1
- package/widgets/AreaMeasurement2D.js +1 -1
- package/widgets/AreaMeasurement3D.js +1 -1
- package/widgets/Attachments/AttachmentsViewModel.js +1 -1
- package/widgets/Attachments.js +1 -1
- package/widgets/Attribution.js +1 -1
- package/widgets/BasemapGallery.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/BasemapToggle.js +1 -1
- package/widgets/Bookmarks.js +1 -1
- package/widgets/BuildingExplorer/BuildingDisciplinesTree/BuildingDisciplinesNode.js +1 -1
- package/widgets/BuildingExplorer/BuildingDisciplinesTree/BuildingDisciplinesTree.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/BuildingLevelPicker.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/Label.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/LevelItem.js +1 -1
- package/widgets/BuildingExplorer/BuildingPhasePicker/BuildingPhasePicker.js +1 -1
- package/widgets/BuildingExplorer.js +1 -1
- package/widgets/Compass.js +1 -1
- package/widgets/CoordinateConversion.js +1 -1
- package/widgets/Daylight/support/SliderWithDropdown.js +1 -1
- package/widgets/Daylight.js +1 -1
- package/widgets/DirectLineMeasurement3D.js +1 -1
- package/widgets/DirectionalPad.js +1 -1
- package/widgets/Directions/components/SaveLayer.js +1 -1
- package/widgets/Directions.js +1 -1
- package/widgets/DistanceMeasurement2D.js +1 -1
- package/widgets/Editor/components/FooterActions.js +1 -1
- package/widgets/Editor/components/Notices.js +1 -1
- package/widgets/Editor/components/PanelContent.js +1 -1
- package/widgets/Editor/components/PanelToolbar.js +1 -1
- package/widgets/Editor/components/Prompt.js +1 -1
- package/widgets/Editor/components/Settings.js +1 -1
- package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
- package/widgets/Editor/components/UploadDetails.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/ElevationProfile/components/LegendItem.js +1 -1
- package/widgets/ElevationProfile/components/SettingsButton.js +1 -1
- package/widgets/ElevationProfile/components/Statistics.js +1 -1
- package/widgets/ElevationProfile.js +1 -1
- package/widgets/Expand.js +1 -1
- package/widgets/Feature/FeatureContent.js +1 -1
- package/widgets/Feature/FeatureExpression.js +1 -1
- package/widgets/Feature/FeatureFields.js +1 -1
- package/widgets/Feature/FeatureMedia.js +1 -1
- package/widgets/Feature/FeatureRelationship.js +1 -1
- package/widgets/Feature/FeatureViewModel.js +1 -1
- package/widgets/Feature/support/FeatureContentMixin.js +1 -1
- package/widgets/Feature/support/FeatureElementInfo.js +1 -1
- package/widgets/Feature.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/GroupInput.js +1 -1
- package/widgets/FeatureForm/css.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable/Grid/support/ButtonMenu.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates/ItemList.js +1 -1
- package/widgets/FeatureTemplates.js +1 -1
- package/widgets/Features/FeaturesRelatedRecords.js +1 -1
- package/widgets/Features.js +1 -1
- package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
- package/widgets/FloorFilter.js +1 -1
- package/widgets/Fullscreen.js +1 -1
- package/widgets/Histogram.js +1 -1
- package/widgets/HistogramRangeSlider.js +1 -1
- package/widgets/Home.js +1 -1
- package/widgets/LayerList/ListItemPanel.js +1 -1
- package/widgets/LayerList.js +1 -1
- package/widgets/Legend/LegendViewModel.js +1 -1
- package/widgets/Legend/styles/Card.js +1 -1
- package/widgets/Legend/styles/Classic.js +1 -1
- package/widgets/Legend/styles/support/relationshipUtils.js +1 -1
- package/widgets/Legend/styles/support/univariateUtils.js +1 -1
- package/widgets/LineOfSight.js +1 -1
- package/widgets/Locate.js +1 -1
- package/widgets/NavigationToggle.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/Popup.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/ScaleRangeSlider/scalePreviewUtils.js +1 -1
- package/widgets/ScaleRangeSlider.js +1 -1
- package/widgets/Search/SearchResultRenderer.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/ShadowCast/components/DiscreteConfigurator.js +1 -1
- package/widgets/ShadowCast/components/DurationConfigurator.js +1 -1
- package/widgets/ShadowCast/components/ShadowTooltipContent.js +1 -1
- package/widgets/ShadowCast/components/ThresholdConfigurator.js +1 -1
- package/widgets/ShadowCast.js +1 -1
- package/widgets/Sketch.js +1 -1
- package/widgets/Slice.js +1 -1
- package/widgets/Slider.js +1 -1
- package/widgets/Swipe.js +1 -1
- package/widgets/TableList.js +1 -1
- package/widgets/TimeSlider.js +1 -1
- package/widgets/Track.js +1 -1
- package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsLineSymbolPicker.js +1 -1
- package/widgets/UtilityNetworkAssociations.js +1 -1
- package/widgets/UtilityNetworkTrace.js +1 -1
- package/widgets/UtilityNetworkValidateTopology.js +1 -1
- package/widgets/ValuePicker.js +1 -1
- package/widgets/VideoPlayer/components/PlayerControlsGroup.js +1 -1
- package/widgets/VideoPlayer/components/SettingsButton.js +1 -1
- package/widgets/VideoPlayer.js +1 -1
- package/widgets/Weather/LabeledSlider.js +1 -1
- package/widgets/Weather.js +1 -1
- package/widgets/Zoom/IconButton.js +1 -1
- package/widgets/smartMapping/BinaryColorSizeSlider.js +1 -1
- package/widgets/smartMapping/ClassedColorSlider.js +1 -1
- package/widgets/smartMapping/ClassedSizeSlider.js +1 -1
- package/widgets/smartMapping/ColorSizeSlider.js +1 -1
- package/widgets/smartMapping/ColorSlider.js +1 -1
- package/widgets/smartMapping/HeatmapSlider.js +1 -1
- package/widgets/smartMapping/OpacitySlider.js +1 -1
- package/widgets/smartMapping/SizeSlider.js +1 -1
- package/widgets/smartMapping/SmartMappingSliderBase.js +1 -1
- package/widgets/support/ColorPicker.js +1 -1
- package/widgets/support/DatePicker.js +1 -1
- package/widgets/support/Heading.js +1 -1
- package/widgets/support/LabeledSwitch.js +1 -1
- package/widgets/support/MeasurementWidgetContent.js +1 -1
- package/widgets/support/Popover.js +1 -1
- package/widgets/support/SelectionToolbar.js +1 -1
- package/widgets/support/SketchTooltipControls.js +1 -1
- package/widgets/support/SnappingControls.js +1 -1
- package/widgets/support/TimePicker.js +1 -1
- package/widgets/support/TimezonePicker.js +1 -1
- package/widgets/support/UnitSelect.js +1 -1
- package/widgets/support/dateUtils.js +1 -1
- package/assets/esri/core/workers/chunks/072b4e041b8630c513a0.js +0 -1
- package/assets/esri/core/workers/chunks/092920c25cac89c038ee.js +0 -1
- package/assets/esri/core/workers/chunks/114269dda1d296893908.js +0 -1
- package/assets/esri/core/workers/chunks/126df6237fc80608344e.js +0 -1
- package/assets/esri/core/workers/chunks/1b3655f5bf5d90fa8730.js +0 -1
- package/assets/esri/core/workers/chunks/1c83f47d446f2bca1721.js +0 -1
- package/assets/esri/core/workers/chunks/1cf7bb514e7eefc3e9c6.js +0 -1
- package/assets/esri/core/workers/chunks/21a9c8aa2a9e9990df41.js +0 -1
- package/assets/esri/core/workers/chunks/24629402c647ef6b5f6b.js +0 -1
- package/assets/esri/core/workers/chunks/2a1c1be9c202462cf54d.js +0 -1
- package/assets/esri/core/workers/chunks/2cb36f9686693234991a.js +0 -1
- package/assets/esri/core/workers/chunks/2d0d03cbea83c868edba.js +0 -1
- package/assets/esri/core/workers/chunks/2e130cb2f1038055c07b.js +0 -1
- package/assets/esri/core/workers/chunks/3619e04cbb6691549014.js +0 -1
- package/assets/esri/core/workers/chunks/3dbfb4f370a874393822.js +0 -1
- package/assets/esri/core/workers/chunks/406db5c90271a3a203d4.js +0 -1
- package/assets/esri/core/workers/chunks/4369a6c1e0a82ab4db6a.js +0 -1
- package/assets/esri/core/workers/chunks/4f4a424d1747d04501df.js +0 -1
- package/assets/esri/core/workers/chunks/59c00d6fba0fd1c03d01.js +0 -1
- package/assets/esri/core/workers/chunks/5a5720caa64a46daadf9.js +0 -1
- package/assets/esri/core/workers/chunks/5edb99b58549cd66b394.js +0 -1
- package/assets/esri/core/workers/chunks/6203ddf6caad3d356327.js +0 -1
- package/assets/esri/core/workers/chunks/650a317b6dc245a7060f.js +0 -1
- package/assets/esri/core/workers/chunks/7a358b1fd0c0cce59e9b.js +0 -1
- package/assets/esri/core/workers/chunks/83d1a1b3d371c991cc4c.js +0 -1
- package/assets/esri/core/workers/chunks/846b7a81b870c8b238a1.js +0 -1
- package/assets/esri/core/workers/chunks/8ab832468300cc4feb5a.js +0 -1
- package/assets/esri/core/workers/chunks/bc1dc6383e60e7e61d50.js +0 -1
- package/assets/esri/core/workers/chunks/bc6323bdc98013da6fe5.js +0 -1
- package/assets/esri/core/workers/chunks/c4bb67150ccd01ea6014.js +0 -1
- package/assets/esri/core/workers/chunks/c60cf62f374e71e562fc.js +0 -1
- package/assets/esri/core/workers/chunks/c6ea5aac232d1eca04dd.js +0 -1
- package/assets/esri/core/workers/chunks/c8438c2d9ac48afe4033.js +0 -1
- package/assets/esri/core/workers/chunks/c8f239c25fe864f0e47a.js +0 -1
- package/assets/esri/core/workers/chunks/cad260881653567bc8f9.js +0 -1
- package/assets/esri/core/workers/chunks/d824f4b405a72cd2fa74.js +0 -1
- package/assets/esri/core/workers/chunks/dd7508d4016715371e0c.js +0 -1
- package/assets/esri/core/workers/chunks/e55f7fc7eff0074ce0fc.js +0 -1
- package/assets/esri/core/workers/chunks/eef27d305023034084a4.js +0 -1
- package/assets/esri/core/workers/chunks/f38c54ada9e7012a2960.js +0 -1
- package/assets/esri/core/workers/chunks/f5e0ff5292b9fd18fc92.js +0 -1
- package/assets/esri/core/workers/chunks/f5eb8b5021620be7538e.js +0 -1
- package/core/watchUtils.d.ts +0 -4
- package/core/watchUtils.js +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5851,6030,7360],{22303:(t,e,n)=>{n.d(e,{Z:()=>A});var r,o,i=n(35270),a=n(22021),l=n(75215);function u(t){return(0,a.uZ)((0,l.vU)(t),0,255)}function s(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}function c(t,e){const n=t.toString(16).padStart(2,"0");return e?n.substring(0,1):n}class f{static blendColors(t,e,n,r=new f){return r.r=Math.round(t.r+(e.r-t.r)*n),r.g=Math.round(t.g+(e.g-t.g)*n),r.b=Math.round(t.b+(e.b-t.b)*n),r.a=t.a+(e.a-t.a)*n,r._sanitize()}static fromRgb(t,e){const n=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(n){const t=n[2].split(/\s*,\s*/),r=n[1];if("rgb"===r&&3===t.length||"rgba"===r&&4===t.length){const n=t[0];if("%"===n.charAt(n.length-1)){const n=t.map((t=>2.56*parseFloat(t)));return 4===t.length&&(n[3]=parseFloat(t[3])),f.fromArray(n,e)}return f.fromArray(t.map((t=>parseFloat(t))),e)}if("hsl"===r&&3===t.length||"hsla"===r&&4===t.length)return f.fromArray((0,i.B7)(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3])),e)}return null}static fromHex(t,e=new f){if("#"!==t[0]||isNaN(Number(`0x${t.substring(1)}`)))return null;switch(t.length){case 4:case 5:{const n=parseInt(t.substring(1,2),16),r=parseInt(t.substring(2,3),16),o=parseInt(t.substring(3,4),16),i=5===t.length?15:parseInt(t.substring(4),16);return f.fromArray([n+16*n,r+16*r,o+16*o,(i+16*i)/255],e)}case 7:case 9:{const n=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),o=parseInt(t.substring(5,7),16),i=7===t.length?255:parseInt(t.substring(7),16);return f.fromArray([n,r,o,i/255],e)}default:return null}}static fromArray(t,e=new f){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const n=(0,i.St)(t)?(0,i.h$)(t):null;return n&&f.fromArray(n,e)||f.fromRgb(t,e)||f.fromHex(t,e)}static fromJSON(t){return null!=t?new f([t[0],t[1],t[2],(t[3]??255)/255]):void 0}static toUnitRGB(t){return null!=t?[t.r/255,t.g/255,t.b/255]:null}static toUnitRGBA(t){return null!=t?[t.r/255,t.g/255,t.b/255,null!=t.a?t.a:1]:null}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){return"string"==typeof t?f.fromString(t,this):Array.isArray(t)?f.fromArray(t,this):(this._set(t.r??0,t.g??0,t.b??0,t.a??1),t instanceof f||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,n=t?.digits??6,r=3===n||4===n,o=4===n||8===n,i=`#${c(this.r,r)}${c(this.g,r)}${c(this.b,r)}${o?c(Math.round(255*this.a),r):""}`;return e?i.toUpperCase():i}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=f.AlphaMode.ALWAYS){const e=u(this.r),n=u(this.g),r=u(this.b);return t===f.AlphaMode.ALWAYS||1!==this.a?[e,n,r,u(255*this.a)]:[e,n,r]}clone(){return new f(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=Math.round(s(this.r,0,255)),this.g=Math.round(s(this.g,0,255)),this.b=Math.round(s(this.b,0,255)),this.a=s(this.a,0,1),this}_set(t,e,n,r){this.r=t,this.g=e,this.b=n,this.a=r}}f.prototype.declaredClass="esri.Color",(o=(r=f||(f={})).AlphaMode||(r.AlphaMode={}))[o.ALWAYS=0]="ALWAYS",o[o.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const A=f},46521:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,i,a,l,u){return[t,e,n,r,o,i,a,l,u]}function i(t,e){return new Float64Array(t,e,9)}n.d(e,{a:()=>r,c:()=>i,f:()=>o}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,createView:i,fromValues:o},Symbol.toStringTag,{value:"Module"}))},51305:(t,e,n)=>{n.d(e,{a:()=>C,c:()=>S,g:()=>c,j:()=>I,k:()=>E,m:()=>f,s:()=>s});var r=n(46521),o=n(94961),i=n(65617),a=n(46851),l=n(17896),u=n(98766);function s(t,e,n){n*=.5;const r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function c(t,e){const n=2*Math.acos(e[3]),r=Math.sin(n/2);return r>(0,a.g)()?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n}function f(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],l=n[0],u=n[1],s=n[2],c=n[3];return t[0]=r*c+a*l+o*s-i*u,t[1]=o*c+a*u+i*l-r*s,t[2]=i*c+a*s+r*u-o*l,t[3]=a*c-r*l-o*u-i*s,t}function A(t,e,n,r){const o=e[0],i=e[1],l=e[2],u=e[3];let s,c,f,A,C,d=n[0],E=n[1],S=n[2],h=n[3];return c=o*d+i*E+l*S+u*h,c<0&&(c=-c,d=-d,E=-E,S=-S,h=-h),1-c>(0,a.g)()?(s=Math.acos(c),f=Math.sin(s),A=Math.sin((1-r)*s)/f,C=Math.sin(r*s)/f):(A=1-r,C=r),t[0]=A*o+C*d,t[1]=A*i+C*E,t[2]=A*l+C*S,t[3]=A*u+C*h,t}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t}function d(t,e){const n=e[0]+e[4]+e[8];let r;if(n>0)r=Math.sqrt(n+1),t[3]=.5*r,r=.5/r,t[0]=(e[5]-e[7])*r,t[1]=(e[6]-e[2])*r,t[2]=(e[1]-e[3])*r;else{let n=0;e[4]>e[0]&&(n=1),e[8]>e[3*n+n]&&(n=2);const o=(n+1)%3,i=(n+2)%3;r=Math.sqrt(e[3*n+n]-e[3*o+o]-e[3*i+i]+1),t[n]=.5*r,r=.5/r,t[3]=(e[3*o+i]-e[3*i+o])*r,t[o]=(e[3*o+n]+e[3*n+o])*r,t[i]=(e[3*i+n]+e[3*n+i])*r}return t}function E(t,e,n,r){const o=.5*Math.PI/180;e*=o,n*=o,r*=o;const i=Math.sin(e),a=Math.cos(e),l=Math.sin(n),u=Math.cos(n),s=Math.sin(r),c=Math.cos(r);return t[0]=i*u*c-a*l*s,t[1]=a*l*c+i*u*s,t[2]=a*u*s-i*l*c,t[3]=a*u*c+i*l*s,t}const S=u.c,h=u.s,O=u.a,R=f,M=u.b,_=u.d,b=u.l,p=u.f,L=p,N=u.g,g=N,P=u.n,I=u.h,y=u.e,T=(0,i.c)(),m=(0,i.f)(1,0,0),w=(0,i.f)(0,1,0),F=(0,o.a)(),U=(0,o.a)(),G=(0,r.a)();Object.freeze(Object.defineProperty({__proto__:null,add:O,calculateW:function(t,e){const n=e[0],r=e[1],o=e[2];return t[0]=n,t[1]=r,t[2]=o,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-o*o)),t},conjugate:C,copy:S,dot:_,equals:y,exactEquals:I,fromEuler:E,fromMat3:d,getAxisAngle:c,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},invert:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=n*n+r*r+o*o+i*i,l=a?1/a:0;return t[0]=-n*l,t[1]=-r*l,t[2]=-o*l,t[3]=i*l,t},len:L,length:p,lerp:b,mul:R,multiply:f,normalize:P,random:function(t){const e=a.R,n=e(),r=e(),o=e(),i=Math.sqrt(1-n),l=Math.sqrt(n);return t[0]=i*Math.sin(2*Math.PI*r),t[1]=i*Math.cos(2*Math.PI*r),t[2]=l*Math.sin(2*Math.PI*o),t[3]=l*Math.cos(2*Math.PI*o),t},rotateX:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],l=Math.sin(n),u=Math.cos(n);return t[0]=r*u+a*l,t[1]=o*u+i*l,t[2]=i*u-o*l,t[3]=a*u-r*l,t},rotateY:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],l=Math.sin(n),u=Math.cos(n);return t[0]=r*u-i*l,t[1]=o*u+a*l,t[2]=i*u+r*l,t[3]=a*u-o*l,t},rotateZ:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],l=Math.sin(n),u=Math.cos(n);return t[0]=r*u+o*l,t[1]=o*u-r*l,t[2]=i*u+a*l,t[3]=a*u-i*l,t},rotationTo:function(t,e,n){const r=(0,l.j)(e,n);return r<-.999999?((0,l.b)(T,m,e),(0,l.k)(T)<1e-6&&(0,l.b)(T,w,e),(0,l.n)(T,T),s(t,T,Math.PI),t):r>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,l.b)(T,e,n),t[0]=T[0],t[1]=T[1],t[2]=T[2],t[3]=1+r,P(t,t))},scale:M,set:h,setAxes:function(t,e,n,r){const o=G;return o[0]=n[0],o[3]=n[1],o[6]=n[2],o[1]=r[0],o[4]=r[1],o[7]=r[2],o[2]=-e[0],o[5]=-e[1],o[8]=-e[2],P(t,d(t,o))},setAxisAngle:s,slerp:A,sqlerp:function(t,e,n,r,o,i){return A(F,e,o,i),A(U,n,r,i),A(t,F,U,2*i*(1-i)),t},sqrLen:g,squaredLength:N,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}},Symbol.toStringTag,{value:"Module"}))},94961:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}function i(t,e){return new Float64Array(t,e,4)}n.d(e,{I:()=>a,a:()=>r,b:()=>o,c:()=>i});const a=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,createView:i,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},36030:(t,e,n)=>{n.d(e,{J:()=>i});var r=n(35454),o=n(5600);function i(t,e={}){const n=t instanceof r.X?t:new r.X(t,e),i={type:e?.ignoreUnknown??1?n.apiValues:String,json:{type:n.jsonValues,read:!e?.readOnly&&{reader:n.read},write:{writer:n.write}}};return void 0!==e?.readOnly&&(i.readOnly=!!e.readOnly),void 0!==e?.default&&(i.json.default=e.default),void 0!==e?.name&&(i.json.name=e.name),void 0!==e?.nonNullable&&(i.nonNullable=e.nonNullable),(0,o.Cb)(i)}},87360:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(29166);function o(t,e,n,o,i,a,l=1){const u=(0,r.R8)(e,i,r._U);if(null==u)return!1;if(u===r.iq){if(t===o&&n===a)return!0;const e=n+3*l;for(let r=n,i=a;r<e;r++,i++)o[i]=t[r];return!0}const s=n+3*l;for(let e=n,r=a;e<s;e+=3,r+=3)u(t,e,o,r);return!0}},29166:(t,e,n)=>{n.d(e,{Ej:()=>c,eT:()=>S,iq:()=>h,sp:()=>v,R8:()=>E,zl:()=>d,rf:()=>C,_U:()=>W,Jz:()=>G});var r=n(22021),o=n(67900),i=n(2109),a=n(68441);Math.PI;const l=a.sv.radius,u=a.sv.eccentricitySquared,s={a1:l*u,a2:l*u*l*u,a3:l*u*u/2,a4:l*u*l*u*2.5,a5:l*u+l*u*u/2,a6:1-u};a.sv.radius,a.sv.flattening,a.Z1.radius,a.Z1.flattening,a.yr.radius,a.yr.flattening,a.yr.radius;var c,f=n(8744),A=n(56726);!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.SPHERICAL_ECEF=1]="SPHERICAL_ECEF",t[t.WGS84=2]="WGS84",t[t.WEB_MERCATOR=3]="WEB_MERCATOR",t[t.WGS84_ECEF=4]="WGS84_ECEF",t[t.CGCS2000=5]="CGCS2000",t[t.WGS84_COMPARABLE_LON_LAT=6]="WGS84_COMPARABLE_LON_LAT",t[t.SPHERICAL_MARS_PCPF=7]="SPHERICAL_MARS_PCPF",t[t.GCSMARS2000=8]="GCSMARS2000",t[t.SPHERICAL_MOON_PCPF=9]="SPHERICAL_MOON_PCPF",t[t.GCSMOON2000=10]="GCSMOON2000",t[t.LON_LAT=11]="LON_LAT",t[t.PLATE_CARREE=12]="PLATE_CARREE"}(c||(c={}));const C={[c.WGS84]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:R,[c.PLATE_CARREE]:b,[c.WGS84]:h,[c.WGS84_ECEF]:w},[c.CGCS2000]:{[c.CGCS2000]:h,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:b,[c.WGS84]:null,[c.WGS84_ECEF]:w},[c.GCSMARS2000]:{[c.CGCS2000]:null,[c.GCSMARS2000]:h,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:g,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.GCSMOON2000]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:h,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:N,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.WEB_MERCATOR]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:O,[c.WGS84_COMPARABLE_LON_LAT]:O,[c.SPHERICAL_ECEF]:function(t,e,n,r){O(t,e,n,r),P(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:h,[c.PLATE_CARREE]:function(t,e,n,r){O(t,e,n,r),b(n,r,n,r)},[c.WGS84]:O,[c.WGS84_ECEF]:function(t,e,n,r){O(t,e,n,r),w(n,r,n,r)}},[c.WGS84_ECEF]:{[c.CGCS2000]:F,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:F,[c.WGS84_COMPARABLE_LON_LAT]:F,[c.SPHERICAL_ECEF]:function(t,e,n,r){F(t,e,n,r),P(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){F(t,e,n,r),R(n,r,n,r)},[c.PLATE_CARREE]:function(t,e,n,r){F(t,e,n,r),b(n,r,n,r)},[c.WGS84]:F,[c.WGS84_ECEF]:h},[c.SPHERICAL_ECEF]:{[c.CGCS2000]:m,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:m,[c.WGS84_COMPARABLE_LON_LAT]:m,[c.SPHERICAL_ECEF]:h,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){m(t,e,n,r),R(n,r,n,r)},[c.PLATE_CARREE]:function(t,e,n,r){m(t,e,n,r),b(n,r,n,r)},[c.WGS84]:m,[c.WGS84_ECEF]:function(t,e,n,r){m(t,e,n,r),w(n,r,n,r)}},[c.SPHERICAL_MARS_PCPF]:{[c.CGCS2000]:null,[c.GCSMARS2000]:T,[c.GCSMOON2000]:null,[c.LON_LAT]:T,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:h,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.SPHERICAL_MOON_PCPF]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:y,[c.LON_LAT]:y,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:h,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.UNKNOWN]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:null,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:h,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.LON_LAT]:{[c.CGCS2000]:h,[c.GCSMARS2000]:h,[c.GCSMOON2000]:h,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:g,[c.SPHERICAL_MOON_PCPF]:N,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:R,[c.PLATE_CARREE]:b,[c.WGS84]:h,[c.WGS84_ECEF]:w},[c.WGS84_COMPARABLE_LON_LAT]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:b,[c.WGS84]:h,[c.WGS84_ECEF]:w},[c.PLATE_CARREE]:{[c.CGCS2000]:p,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:p,[c.WGS84_COMPARABLE_LON_LAT]:p,[c.SPHERICAL_ECEF]:function(t,e,n,r){p(t,e,n,r),P(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){p(t,e,n,r),R(n,r,n,r)},[c.PLATE_CARREE]:h,[c.WGS84]:p,[c.WGS84_ECEF]:function(t,e,n,r){p(t,e,n,r),w(n,r,n,r)}}};function d(t){const e=S(t,G);return C[e][c.WGS84_COMPARABLE_LON_LAT]}function E(t,e,n=U()){return null==t||null==e?null:function(t,e,n){if(null==t||null==e||n.source.spatialReference===t&&n.dest.spatialReference===e)return n;const r=S(t,n.source),o=S(e,n.dest);return r===c.UNKNOWN&&o===c.UNKNOWN?(0,f.fS)(t,e)?n.projector=h:n.projector=null:n.projector=C[r][o],n}(t,e,n).projector}function S(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.c9)(t,1)),(0,i.fY)(t)?e.spatialReferenceId=c.SPHERICAL_ECEF:(0,f.oR)(t)?e.spatialReferenceId=c.WGS84:(0,f.sS)(t)?e.spatialReferenceId=c.WEB_MERCATOR:(0,f.QM)(t)?e.spatialReferenceId=c.PLATE_CARREE:t.wkt===i.pn.wkt?e.spatialReferenceId=c.WGS84_ECEF:t.wkid===A.W.CGCS2000?e.spatialReferenceId=c.CGCS2000:t.wkt===i.JL.wkt?e.spatialReferenceId=c.SPHERICAL_MARS_PCPF:t.wkt===i.mM.wkt?e.spatialReferenceId=c.SPHERICAL_MOON_PCPF:(0,f.BZ)(t)?e.spatialReferenceId=c.GCSMARS2000:(0,f.V2)(t)?e.spatialReferenceId=c.GCSMOON2000:e.spatialReferenceId=c.UNKNOWN):c.UNKNOWN}function h(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e])}function O(t,e,n,r){n[r++]=H*(t[e++]/a.sv.radius),n[r++]=H*(Math.PI/2-2*Math.atan(Math.exp(-t[e++]/a.sv.radius))),n[r]=t[e]}function R(t,e,n,o){!function(t,e,n,o,i){const a=.4999999*Math.PI,l=(0,r.uZ)(B*t[e+1],-a,a),u=Math.sin(l);n[o++]=B*t[e]*i.radius,n[o++]=i.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[o]=t[e+2]}(t,e,n,o,a.sv)}const M=a.sv.radius*Math.PI/180,_=180/(a.sv.radius*Math.PI);function b(t,e,n,r){n[r]=t[e]*M,n[r+1]=t[e+1]*M,n[r+2]=t[e+2]}function p(t,e,n,r){n[r]=t[e]*_,n[r+1]=t[e+1]*_,n[r+2]=t[e+2]}function L(t,e,n,r,o){const i=o+t[e+2],a=B*t[e+1],l=B*t[e],u=Math.cos(a);n[r++]=Math.cos(l)*u*i,n[r++]=Math.sin(l)*u*i,n[r]=Math.sin(a)*i}function N(t,e,n,r){L(t,e,n,r,a.Z1.radius)}function g(t,e,n,r){L(t,e,n,r,a.yr.radius)}function P(t,e,n,r){L(t,e,n,r,a.sv.radius)}function I(t,e,n,o,i){const a=t[e],l=t[e+1],u=t[e+2],s=Math.sqrt(a*a+l*l+u*u),c=(0,r.Kt)(u/(0===s?1:s)),f=Math.atan2(l,a);n[o++]=H*f,n[o++]=H*c,n[o]=s-i}function y(t,e,n,r){I(t,e,n,r,a.Z1.radius)}function T(t,e,n,r){I(t,e,n,r,a.yr.radius)}function m(t,e,n,r){I(t,e,n,r,a.sv.radius)}function w(t,e,n,r){!function(t,e,n,r,o){const i=B*t[e],a=B*t[e+1],l=t[e+2],u=Math.sin(a),s=Math.cos(a),c=o.radius/Math.sqrt(1-o.eccentricitySquared*u*u);n[r++]=(c+l)*s*Math.cos(i),n[r++]=(c+l)*s*Math.sin(i),n[r++]=(c*(1-o.eccentricitySquared)+l)*u}(t,e,n,r,a.sv)}function F(t,e,n,r){const o=s,i=t[e],l=t[e+1],u=t[e+2];let c,f,A,C,d,E,S,h,O,R,M,_,b,p,L,N,g,P,I,y,T;c=Math.abs(u),f=i*i+l*l,A=Math.sqrt(f),C=f+u*u,d=Math.sqrt(C),y=Math.atan2(l,i),E=u*u/C,S=f/C,p=o.a2/d,L=o.a3-o.a4/d,S>.3?(h=c/d*(1+S*(o.a1+p+E*L)/d),I=Math.asin(h),R=h*h,O=Math.sqrt(1-R)):(O=A/d*(1-E*(o.a5-p-S*L)/d),I=Math.acos(O),R=1-O*O,h=Math.sqrt(R)),M=1-a.sv.eccentricitySquared*R,_=a.sv.radius/Math.sqrt(M),b=o.a6*_,p=A-_*O,L=c-b*h,g=O*p+h*L,N=O*L-h*p,P=N/(b/M+g),I+=P,T=g+N*P/2,u<0&&(I=-I),n[r++]=H*y,n[r++]=H*I,n[r]=T}function U(){return{source:{spatialReference:null,spatialReferenceId:c.UNKNOWN,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:c.UNKNOWN,metersPerUnit:1},projector:h}}const G={spatialReference:null,spatialReferenceId:c.UNKNOWN},v={spatialReference:null,spatialReferenceId:c.UNKNOWN},W=U(),B=(0,r.Vl)(1),H=(0,r.BV)(1)},91700:(t,e,n)=>{n.r(e),n.d(e,{default:()=>F});var r=n(67676),o=n(1533),i=n(51305),a=n(94961),l=n(17896);function u(){return new Float32Array(3)}function s(t,e,n){const r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}function c(){return u()}function f(){return s(1,1,1)}function A(){return s(1,0,0)}function C(){return s(0,1,0)}function d(){return s(0,0,1)}const E=c(),S=f(),h=A(),O=C(),R=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:S,UNIT_X:h,UNIT_Y:O,UNIT_Z:R,ZEROS:E,clone:function(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},create:u,createView:function(t,e){return new Float32Array(t,e,3)},fromValues:s,ones:f,unitX:A,unitY:C,unitZ:d,zeros:c},Symbol.toStringTag,{value:"Module"}));var M=n(82971),_=n(87360),b=(n(80442),n(23030)),p=n(14008),L=n(46329),N=n(91891),g=n(25683);function P(t,e,n){return null!=t&&t.attributeInfo.useElevation?e?function(t,e){const n=new Float64Array(e);for(let r=0;r<e;r++)n[r]=t[3*r+2];return n}(e,n):null:null!=t&&t.attributeInfo.storageInfo?(0,N.qM)(t.attributeInfo.storageInfo,t.buffer,n):null}function I(t,e,n,r,o){const i=t.length/3;let a=0;for(let l=0;l<i;l++){let i=!0;for(let t=0;t<r.length&&i;t++){const{filterJSON:e}=r[t],n=o[t].values[l];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;e.values.includes(n)===t&&(i=!1);break}case"pointCloudBitfieldFilter":{const t=T(e.requiredSetBits),r=T(e.requiredClearBits);(n&t)===t&&0==(n&r)||(i=!1);break}case"pointCloudReturnFilter":{const t=15&n,r=n>>>4&15,o=r>1,a=1===t,l=t===r;let u=!1;for(const t of e.includedReturns)if("last"===t&&l||"firstOfMany"===t&&a&&o||"lastOfMany"===t&&l&&o||"single"===t&&!o){u=!0;break}u||(i=!1);break}}}i&&(n[a]=l,t[3*a]=t[3*l],t[3*a+1]=t[3*l+1],t[3*a+2]=t[3*l+2],e[3*a]=e[3*l],e[3*a+1]=e[3*l+1],e[3*a+2]=e[3*l+2],a++)}return a}function y(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function T(t){let e=0;for(const n of t||[])e|=1<<n;return e}class m{transform(t){const e=this._transform(t),n=[e.points.buffer,e.rgb.buffer];null!=e.pointIdFilterMap&&n.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&(0,o.eP)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&n.push(t.values.buffer);return Promise.resolve({result:e,transferList:n})}_transform(t){const e=function(t,e){if(null==t.encoding||""===t.encoding){const n=(0,N.W7)(e,t);if(null==n.vertexAttributes.position)return;const r=(0,N.I_)(e,n.vertexAttributes.position),o=n.header.fields,i=[o.offsetX,o.offsetY,o.offsetZ],a=[o.scaleX,o.scaleY,o.scaleZ],l=r.length/3,u=new Float64Array(3*l);for(let t=0;t<l;t++)u[3*t]=r[3*t]*a[0]+i[0],u[3*t+1]=r[3*t+1]*a[1]+i[1],u[3*t+2]=r[3*t+2]*a[2]+i[2];return u}if("lepcc-xyz"===t.encoding)return(0,g.Gi)(e).result}(t.schema,t.geometryBuffer);let n=e.length/3,o=null;const i=new Array,a=P(t.primaryAttributeData,e,n);null!=t.primaryAttributeData&&a&&i.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:a});const l=P(t.modulationAttributeData,e,n);null!=t.modulationAttributeData&&l&&i.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:l});let u=function(t,e,n,r){const{rendererJSON:o,isRGBRenderer:i}=t;let a=null,l=null;if(e&&i)a=e;else if(e&&"pointCloudUniqueValueRenderer"===o?.type){l=L.Z.fromJSON(o);const t=l.colorUniqueValueInfos;a=new Uint8Array(3*r);const n=y(l.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.includes(r)){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o?.type){l=p.Z.fromJSON(o);const t=l.stops;a=new Uint8Array(3*r);const n=y(l.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o],i=t.length-1;if(r<t[0].value)a[3*o]=t[0].color.r,a[3*o+1]=t[0].color.g,a[3*o+2]=t[0].color.b;else if(r>=t[i].value)a[3*o]=t[i].color.r,a[3*o+1]=t[i].color.g,a[3*o+2]=t[i].color.b;else for(let e=1;e<t.length;e++)if(r<t[e].value){const n=(r-t[e-1].value)/(t[e].value-t[e-1].value);a[3*o]=t[e].color.r*n+t[e-1].color.r*(1-n),a[3*o+1]=t[e].color.g*n+t[e-1].color.g*(1-n),a[3*o+2]=t[e].color.b*n+t[e-1].color.b*(1-n);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o?.type){l=b.Z.fromJSON(o);const t=l.colorClassBreakInfos;a=new Uint8Array(3*r);const n=y(l.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o];for(let e=0;e<t.length;e++)if(r>=t[e].minValue&&r<=t[e].maxValue){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else a=new Uint8Array(3*r).fill(255);if(n&&l&&l.colorModulation){const t=l.colorModulation.minValue,e=l.colorModulation.maxValue,o=.3;for(let i=0;i<r;i++){const r=n[i],l=r>=e?1:r<=t?o:o+(1-o)*(r-t)/(e-t);a[3*i]=l*a[3*i],a[3*i+1]=l*a[3*i+1],a[3*i+2]=l*a[3*i+2]}}return a}(t.rendererInfo,a,l,n);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const a=t.filterAttributesData.filter(r.pC).map((t=>{const r=P(t,e,n),o={attributeInfo:t.attributeInfo,values:r};return i.push(o),o}));o=new Uint32Array(n),n=I(e,u,o,t.filterInfo,a)}for(const r of t.userAttributesData){const t=P(r,e,n);i.push({attributeInfo:r.attributeInfo,values:t})}3*n<u.length&&(u=new Uint8Array(u.buffer.slice(0,3*n))),this._applyElevationOffsetInPlace(e,n,t.elevationOffset);const s=this._transformCoordinates(e,n,t.obb,M.Z.fromJSON(t.inSR),M.Z.fromJSON(t.outSR));return{obb:t.obb,points:s,rgb:u,attributes:i,pointIdFilterMap:o}}_transformCoordinates(t,e,n,r,o){if(!(0,_.projectBuffer)(t,r,0,t,o,0,e))throw new Error("Can't reproject");const a=s(n.center[0],n.center[1],n.center[2]),c=u(),f=u();(0,i.a)(w,n.quaternion);const A=new Float32Array(3*e);for(let r=0;r<e;r++)c[0]=t[3*r]-a[0],c[1]=t[3*r+1]-a[1],c[2]=t[3*r+2]-a[2],(0,l.v)(f,c,w),n.halfSize[0]=Math.max(n.halfSize[0],Math.abs(f[0])),n.halfSize[1]=Math.max(n.halfSize[1],Math.abs(f[1])),n.halfSize[2]=Math.max(n.halfSize[2],Math.abs(f[2])),A[3*r]=c[0],A[3*r+1]=c[1],A[3*r+2]=c[2];return A}_applyElevationOffsetInPlace(t,e,n){if(0!==n)for(let r=0;r<e;r++)t[3*r+2]+=n}}const w=(0,a.a)();function F(){return new m}},91891:(t,e,n)=>{n.d(e,{I_:()=>A,W7:()=>E,qM:()=>h});var r=n(20102),o=n(22974),i=n(92604),a=n(25683),l=n(35065);const u=i.Z.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function s(t,e,n){let o="",i=0;for(;i<n;){const a=t[e+i];if(a<128)o+=String.fromCharCode(a),i++;else if(a>=192&&a<224){if(i+1>=n)throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const l=(31&a)<<6|63&t[e+i+1];o+=String.fromCharCode(l),i+=2}else if(a>=224&&a<240){if(i+2>=n)throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const l=(15&a)<<12|(63&t[e+i+1])<<6|63&t[e+i+2];o+=String.fromCharCode(l),i+=3}else{if(!(a>=240&&a<248))throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(i+3>=n)throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const l=(7&a)<<18|(63&t[e+i+1])<<12|(63&t[e+i+2])<<6|63&t[e+i+3];if(l>=65536){const t=55296+(l-65536>>10),e=56320+(1023&l);o+=String.fromCharCode(t,e)}else o+=String.fromCharCode(l);i+=4}}}return o}function c(t,e){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<e.length;o++){const i=e[o],a=i.valueType||i.type,l=R[a];n.fields[i.property]=l(t,r),r+=O[a].BYTES_PER_ELEMENT}return n.byteCount=r,n}function f(t,e,n){const o=[];let i,a,l=0;for(a=0;a<t;a+=1){if(i=e[a],i>0){if(o.push(s(n,l,i-1)),0!==n[l+i-1])throw new r.Z("string-array-error","Invalid string array: missing null termination.")}else o.push(null);l+=i}return o}function A(t,e){return new(0,O[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function C(t,e,n){const i=null!=e.header?c(t,e.header):{byteOffset:0,byteCount:0,fields:{count:n}},a={header:i,byteOffset:i.byteCount,byteCount:0,entries:Object.create(null)};let l=i.byteCount;for(let t=0;t<e.ordering.length;t++){const n=e.ordering[t],u=(0,o.d9)(e[n]);if(u.count=i.fields.count??0,"String"===u.valueType){if(u.byteOffset=l,u.byteCount=i.fields[n+"ByteCount"],"UTF-8"!==u.encoding)throw new r.Z("unsupported-encoding","Unsupported String encoding.",{encoding:u.encoding});if(u.timeEncoding&&"ECMA_ISO8601"!==u.timeEncoding)throw new r.Z("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:u.timeEncoding})}else{if(!M(u.valueType))throw new r.Z("unsupported-value-type","Unsupported binary valueType",{valueType:u.valueType});{const t=_(u.valueType);l+=l%t!=0?t-l%t:0,u.byteOffset=l,u.byteCount=t*u.valuesPerElement*u.count}}l+=u.byteCount??0,a.entries[n]=u}return a.byteCount=l-a.byteOffset,a}function d(t,e,n){if(e!==t&&u.error(`Invalid ${n} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new r.Z("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}function E(t,e){const n=c(t,e&&e.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},i=n.fields,a=null!=i.vertexCount?i.vertexCount:i.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const n={...e.vertexAttributes[t],byteOffset:r,count:a},i=S[t]||"_"+t;o.vertexAttributes[i]=n,r+=_(n.valueType)*n.valuesPerElement*a}const l=i.faceCount;if(e.faces&&l){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const n={...e.faces[t],byteOffset:r,count:l};o.faces[t]=n,r+=_(n.valueType)*n.valuesPerElement*l}}const u=i.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&u){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const n={...e.featureAttributes[t],byteOffset:r,count:u};o.featureAttributes[t]=n,r+=("UInt64"===n.valueType?8:_(n.valueType))*n.valuesPerElement*u}}return d(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const S={position:l.T.POSITION,normal:l.T.NORMAL,color:l.T.COLOR,uv0:l.T.UV0,region:l.T.UVREGION};function h(t,e,n){if("lepcc-rgb"===t.encoding)return(0,a.IT)(e);if("lepcc-intensity"===t.encoding)return(0,a.ti)(e);if(null!=t.encoding&&""!==t.encoding)throw new r.Z("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(u.warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(u.warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const o=C(e,t,n);d(o.byteOffset+o.byteCount,e.byteLength,"attribute");const i=o.entries.attributeValues||o.entries.objectIds;if(i){if("String"===i.valueType){const t=o.entries.attributeByteCounts,n=A(e,t),r=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,i);return i.timeEncoding?function(t,e,n){return f(t,e,n).map((t=>{const e=t?Date.parse(t):null;return e&&!Number.isNaN(e)?e:null}))}(t.count,n,r):f(t.count,n,r)}return A(e,i)}throw new r.Z("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const O={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},R={Float32:(t,e)=>new DataView(t,0).getFloat32(e,!0),Float64:(t,e)=>new DataView(t,0).getFloat64(e,!0),UInt8:(t,e)=>new DataView(t,0).getUint8(e),Int8:(t,e)=>new DataView(t,0).getInt8(e),UInt16:(t,e)=>new DataView(t,0).getUint16(e,!0),Int16:(t,e)=>new DataView(t,0).getInt16(e,!0),UInt32:(t,e)=>new DataView(t,0).getUint32(e,!0),Int32:(t,e)=>new DataView(t,0).getInt32(e,!0)};function M(t){return O.hasOwnProperty(t)}function _(t){return M(t)?O[t].BYTES_PER_ELEMENT:0}},25683:(t,e,n)=>{n.d(e,{Gi:()=>s,IT:()=>d,ti:()=>h});var r=n(20102);const o=!0,i={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function a(t,e,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,n+i.identifierOffset,i.identifierLength)),version:e.getUint16(n+i.versionOffset,o),checksum:e.getUint32(n+i.checksumOffset,o)}}const l={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function u(t,e){return{sizeLo:t.getUint32(e+l.sizeLo,o),sizeHi:t.getUint32(e+l.sizeHi,o),minX:t.getFloat64(e+l.minX,o),minY:t.getFloat64(e+l.minY,o),minZ:t.getFloat64(e+l.minZ,o),maxX:t.getFloat64(e+l.maxX,o),maxY:t.getFloat64(e+l.maxY,o),maxZ:t.getFloat64(e+l.maxZ,o),errorX:t.getFloat64(e+l.errorX,o),errorY:t.getFloat64(e+l.errorY,o),errorZ:t.getFloat64(e+l.errorZ,o),count:t.getUint32(e+l.count,o),reserved:t.getUint32(e+l.reserved,o)}}function s(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:s}=a(t,e,n);if(n+=i.byteCount,"LEPCC "!==o)throw new r.Z("lepcc-decode-error","Bad identifier");if(s>1)throw new r.Z("lepcc-decode-error","Unknown version");const f=u(e,n);if(n+=l.byteCount,f.sizeHi*2**32+f.sizeLo!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const A=new Float64Array(3*f.count),C=[],d=[],E=[],S=[];if(n=c(t,n,C),n=c(t,n,d),n=c(t,n,E),n=c(t,n,S),n!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad length");let h=0,O=0;for(let t=0;t<C.length;t++){O+=C[t];let e=0;for(let n=0;n<d[t];n++){e+=E[h];const t=S[h];A[3*h]=Math.min(f.maxX,f.minX+2*f.errorX*e),A[3*h+1]=Math.min(f.maxY,f.minY+2*f.errorY*O),A[3*h+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*t),h++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:A}}function c(t,e,n){const r=[];e=f(t,e,r);const o=[];for(let i=0;i<r.length;i++){o.length=0,e=f(t,e,o);for(let t=0;t<o.length;t++)n.push(o[t]+r[i])}return e}function f(t,e,n){const i=new DataView(t,e),a=i.getUint8(0),l=31&a,u=!!(32&a),s=(192&a)>>6;let c=0;if(0===s)c=i.getUint32(1,o),e+=5;else if(1===s)c=i.getUint16(1,o),e+=3;else{if(2!==s)throw new r.Z("lepcc-decode-error","Bad count type");c=i.getUint8(1),e+=2}if(u)throw new r.Z("lepcc-decode-error","LUT not implemented");const f=Math.ceil(c*l/8),A=new Uint8Array(t,e,f);let C=0,d=0,E=0;const S=-1>>>32-l;for(let t=0;t<c;t++){for(;d<l;)C|=A[E]<<d,d+=8,E+=1;n[t]=C&S,C>>>=l,d-=l,d+l>32&&(C|=A[E-1]>>8-d)}return e+E}const A={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function C(t,e){return{sizeLo:t.getUint32(e+A.sizeLo,o),sizeHi:t.getUint32(e+A.sizeHi,o),count:t.getUint32(e+A.count,o),colorMapCount:t.getUint16(e+A.colorMapCount,o),lookupMethod:t.getUint8(e+A.lookupMethod),compressionMethod:t.getUint8(e+A.compressionMethod)}}function d(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:l}=a(t,e,n);if(n+=i.byteCount,"ClusterRGB"!==o)throw new r.Z("lepcc-decode-error","Bad identifier");if(l>1)throw new r.Z("lepcc-decode-error","Unknown version");const u=C(e,n);if(n+=A.byteCount,u.sizeHi*2**32+u.sizeLo!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");if((2===u.lookupMethod||1===u.lookupMethod)&&0===u.compressionMethod){if(3*u.colorMapCount+u.count+n!==t.byteLength||u.colorMapCount>256)throw new r.Z("lepcc-decode-error","Bad count");const e=new Uint8Array(t,n,3*u.colorMapCount),o=new Uint8Array(t,n+3*u.colorMapCount,u.count),i=new Uint8Array(3*u.count);for(let t=0;t<u.count;t++){const n=o[t];i[3*t]=e[3*n],i[3*t+1]=e[3*n+1],i[3*t+2]=e[3*n+2]}return i}if(0===u.lookupMethod&&0===u.compressionMethod){if(3*u.count+n!==t.byteLength||0!==u.colorMapCount)throw new r.Z("lepcc-decode-error","Bad count");return new Uint8Array(t,n).slice()}if(u.lookupMethod<=2&&1===u.compressionMethod){if(n+3!==t.byteLength||1!==u.colorMapCount)throw new r.Z("lepcc-decode-error","Bad count");const o=e.getUint8(n),i=e.getUint8(n+1),a=e.getUint8(n+2),l=new Uint8Array(3*u.count);for(let t=0;t<u.count;t++)l[3*t]=o,l[3*t+1]=i,l[3*t+2]=a;return l}throw new r.Z("lepcc-decode-error","Bad method "+u.lookupMethod+","+u.compressionMethod)}const E={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function S(t,e){return{sizeLo:t.getUint32(e+E.sizeLo,o),sizeHi:t.getUint32(e+E.sizeHi,o),count:t.getUint32(e+E.count,o),scaleFactor:t.getUint16(e+E.scaleFactor,o),bitsPerPoint:t.getUint8(e+E.bitsPerPoint),reserved:t.getUint8(e+E.reserved)}}function h(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:l}=a(t,e,n);if(n+=i.byteCount,"Intensity "!==o)throw new r.Z("lepcc-decode-error","Bad identifier");if(l>1)throw new r.Z("lepcc-decode-error","Unknown version");const u=S(e,n);if(n+=E.byteCount,u.sizeHi*2**32+u.sizeLo!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const s=new Uint16Array(u.count);if(8===u.bitsPerPoint){if(u.count+n!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const e=new Uint8Array(t,n,u.count);for(let t=0;t<u.count;t++)s[t]=e[t]*u.scaleFactor}else if(16===u.bitsPerPoint){if(2*u.count+n!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const e=new Uint16Array(t,n,u.count);for(let t=0;t<u.count;t++)s[t]=e[t]*u.scaleFactor}else{const e=[];if(f(t,n,e)!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");for(let t=0;t<u.count;t++)s[t]=e[t]*u.scaleFactor}return s}},35065:(t,e,n)=>{var r;n.d(e,{T:()=>r}),function(t){t.POSITION="position",t.NORMAL="normal",t.NORMALCOMPRESSED="normalCompressed",t.UV0="uv0",t.AUXPOS1="auxpos1",t.AUXPOS2="auxpos2",t.COLOR="color",t.SYMBOLCOLOR="symbolColor",t.SIZE="size",t.TANGENT="tangent",t.OFFSET="offset",t.PERSPECTIVEDIVIDE="perspectiveDivide",t.SUBDIVISIONFACTOR="subdivisionFactor",t.COLORFEATUREATTRIBUTE="colorFeatureAttribute",t.SIZEFEATUREATTRIBUTE="sizeFeatureAttribute",t.OPACITYFEATUREATTRIBUTE="opacityFeatureAttribute",t.DISTANCETOSTART="distanceToStart",t.UVMAPSPACE="uvMapSpace",t.BOUNDINGRECT="boundingRect",t.UVREGION="uvRegion",t.PROFILERIGHT="profileRight",t.PROFILEUP="profileUp",t.PROFILEVERTEXANDNORMAL="profileVertexAndNormal",t.FEATUREVALUE="featureValue",t.INSTANCEMODELORIGINHI="instanceModelOriginHi",t.INSTANCEMODELORIGINLO="instanceModelOriginLo",t.INSTANCEMODEL="instanceModel",t.INSTANCEMODELNORMAL="instanceModelNormal",t.INSTANCECOLOR="instanceColor",t.INSTANCEFEATUREATTRIBUTE="instanceFeatureAttribute",t.LOCALTRANSFORM="localTransform",t.GLOBALTRANSFORM="globalTransform",t.BOUNDINGSPHERE="boundingSphere",t.MODELORIGIN="modelOrigin",t.MODELSCALEFACTORS="modelScaleFactors",t.FEATUREATTRIBUTE="featureAttribute",t.STATE="state",t.LODLEVEL="lodLevel",t.POSITION0="position0",t.POSITION1="position1",t.NORMALA="normalA",t.NORMALB="normalB",t.COMPONENTINDEX="componentIndex",t.VARIANTOFFSET="variantOffset",t.VARIANTSTROKE="variantStroke",t.VARIANTEXTENSION="variantExtension",t.U8PADDING="u8padding",t.U16PADDING="u16padding",t.SIDENESS="sideness",t.START="start",t.END="end",t.UP="up",t.EXTRUDE="extrude",t.OBJECTANDLAYERIDCOLOR="objectAndLayerIdColor",t.INSTANCEOBJECTANDLAYERIDCOLOR="instanceObjectAndLayerIdColor"}(r||(r={}))}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5851,6030,7360],{22303:(t,e,n)=>{n.d(e,{Z:()=>C});var r,o,i=n(35270),a=n(22021),l=n(75215);function u(t){return(0,a.uZ)((0,l.vU)(t),0,255)}function s(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}function c(t,e){const n=t.toString(16).padStart(2,"0");return e?n.substring(0,1):n}class f{static blendColors(t,e,n,r=new f){return r.r=Math.round(t.r+(e.r-t.r)*n),r.g=Math.round(t.g+(e.g-t.g)*n),r.b=Math.round(t.b+(e.b-t.b)*n),r.a=t.a+(e.a-t.a)*n,r._sanitize()}static fromRgb(t,e){const n=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(n){const t=n[2].split(/\s*,\s*/),r=n[1];if("rgb"===r&&3===t.length||"rgba"===r&&4===t.length){const n=t[0];if("%"===n.charAt(n.length-1)){const n=t.map((t=>2.56*parseFloat(t)));return 4===t.length&&(n[3]=parseFloat(t[3])),f.fromArray(n,e)}return f.fromArray(t.map((t=>parseFloat(t))),e)}if("hsl"===r&&3===t.length||"hsla"===r&&4===t.length)return f.fromArray((0,i.B7)(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3])),e)}return null}static fromHex(t,e=new f){if("#"!==t[0]||isNaN(Number(`0x${t.substring(1)}`)))return null;switch(t.length){case 4:case 5:{const n=parseInt(t.substring(1,2),16),r=parseInt(t.substring(2,3),16),o=parseInt(t.substring(3,4),16),i=5===t.length?15:parseInt(t.substring(4),16);return f.fromArray([n+16*n,r+16*r,o+16*o,(i+16*i)/255],e)}case 7:case 9:{const n=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),o=parseInt(t.substring(5,7),16),i=7===t.length?255:parseInt(t.substring(7),16);return f.fromArray([n,r,o,i/255],e)}default:return null}}static fromArray(t,e=new f){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const n=(0,i.St)(t)?(0,i.h$)(t):null;return n&&f.fromArray(n,e)||f.fromRgb(t,e)||f.fromHex(t,e)}static fromJSON(t){return null!=t?new f([t[0],t[1],t[2],(t[3]??255)/255]):void 0}static toUnitRGB(t){return null!=t?[t.r/255,t.g/255,t.b/255]:null}static toUnitRGBA(t){return null!=t?[t.r/255,t.g/255,t.b/255,null!=t.a?t.a:1]:null}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){return"string"==typeof t?f.fromString(t,this):Array.isArray(t)?f.fromArray(t,this):(this._set(t.r??0,t.g??0,t.b??0,t.a??1),t instanceof f||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,n=t?.digits??6,r=3===n||4===n,o=4===n||8===n,i=`#${c(this.r,r)}${c(this.g,r)}${c(this.b,r)}${o?c(Math.round(255*this.a),r):""}`;return e?i.toUpperCase():i}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=f.AlphaMode.ALWAYS){const e=u(this.r),n=u(this.g),r=u(this.b);return t===f.AlphaMode.ALWAYS||1!==this.a?[e,n,r,u(255*this.a)]:[e,n,r]}clone(){return new f(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=Math.round(s(this.r,0,255)),this.g=Math.round(s(this.g,0,255)),this.b=Math.round(s(this.b,0,255)),this.a=s(this.a,0,1),this}_set(t,e,n,r){this.r=t,this.g=e,this.b=n,this.a=r}}f.prototype.declaredClass="esri.Color",(o=(r=f||(f={})).AlphaMode||(r.AlphaMode={}))[o.ALWAYS=0]="ALWAYS",o[o.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const C=f},46521:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,i,a,l,u){return[t,e,n,r,o,i,a,l,u]}function i(t,e){return new Float64Array(t,e,9)}n.d(e,{a:()=>r,c:()=>i,f:()=>o}),Object.freeze(Object.defineProperty({__proto__:null,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,createView:i,fromValues:o},Symbol.toStringTag,{value:"Module"}))},51305:(t,e,n)=>{n.d(e,{a:()=>A,c:()=>S,g:()=>c,j:()=>I,k:()=>E,m:()=>f,s:()=>s});var r=n(46521),o=n(94961),i=n(65617),a=n(46851),l=n(17896),u=n(98766);function s(t,e,n){n*=.5;const r=Math.sin(n);return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=Math.cos(n),t}function c(t,e){const n=2*Math.acos(e[3]),r=Math.sin(n/2);return r>(0,a.g)()?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n}function f(t,e,n){const r=e[0],o=e[1],i=e[2],a=e[3],l=n[0],u=n[1],s=n[2],c=n[3];return t[0]=r*c+a*l+o*s-i*u,t[1]=o*c+a*u+i*l-r*s,t[2]=i*c+a*s+r*u-o*l,t[3]=a*c-r*l-o*u-i*s,t}function C(t,e,n,r){const o=e[0],i=e[1],l=e[2],u=e[3];let s,c,f,C,A,d=n[0],E=n[1],S=n[2],h=n[3];return c=o*d+i*E+l*S+u*h,c<0&&(c=-c,d=-d,E=-E,S=-S,h=-h),1-c>(0,a.g)()?(s=Math.acos(c),f=Math.sin(s),C=Math.sin((1-r)*s)/f,A=Math.sin(r*s)/f):(C=1-r,A=r),t[0]=C*o+A*d,t[1]=C*i+A*E,t[2]=C*l+A*S,t[3]=C*u+A*h,t}function A(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t}function d(t,e){const n=e[0]+e[4]+e[8];let r;if(n>0)r=Math.sqrt(n+1),t[3]=.5*r,r=.5/r,t[0]=(e[5]-e[7])*r,t[1]=(e[6]-e[2])*r,t[2]=(e[1]-e[3])*r;else{let n=0;e[4]>e[0]&&(n=1),e[8]>e[3*n+n]&&(n=2);const o=(n+1)%3,i=(n+2)%3;r=Math.sqrt(e[3*n+n]-e[3*o+o]-e[3*i+i]+1),t[n]=.5*r,r=.5/r,t[3]=(e[3*o+i]-e[3*i+o])*r,t[o]=(e[3*o+n]+e[3*n+o])*r,t[i]=(e[3*i+n]+e[3*n+i])*r}return t}function E(t,e,n,r){const o=.5*Math.PI/180;e*=o,n*=o,r*=o;const i=Math.sin(e),a=Math.cos(e),l=Math.sin(n),u=Math.cos(n),s=Math.sin(r),c=Math.cos(r);return t[0]=i*u*c-a*l*s,t[1]=a*l*c+i*u*s,t[2]=a*u*s-i*l*c,t[3]=a*u*c+i*l*s,t}const S=u.c,h=u.s,O=u.a,R=f,M=u.b,_=u.d,b=u.l,L=u.f,p=L,N=u.g,g=N,P=u.n,I=u.h,y=u.e,T=(0,i.c)(),m=(0,i.f)(1,0,0),w=(0,i.f)(0,1,0),F=(0,o.a)(),U=(0,o.a)(),G=(0,r.a)();Object.freeze(Object.defineProperty({__proto__:null,add:O,calculateW:function(t,e){const n=e[0],r=e[1],o=e[2];return t[0]=n,t[1]=r,t[2]=o,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-o*o)),t},conjugate:A,copy:S,dot:_,equals:y,exactEquals:I,fromEuler:E,fromMat3:d,getAxisAngle:c,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},invert:function(t,e){const n=e[0],r=e[1],o=e[2],i=e[3],a=n*n+r*r+o*o+i*i,l=a?1/a:0;return t[0]=-n*l,t[1]=-r*l,t[2]=-o*l,t[3]=i*l,t},len:p,length:L,lerp:b,mul:R,multiply:f,normalize:P,random:function(t){const e=a.R,n=e(),r=e(),o=e(),i=Math.sqrt(1-n),l=Math.sqrt(n);return t[0]=i*Math.sin(2*Math.PI*r),t[1]=i*Math.cos(2*Math.PI*r),t[2]=l*Math.sin(2*Math.PI*o),t[3]=l*Math.cos(2*Math.PI*o),t},rotateX:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],l=Math.sin(n),u=Math.cos(n);return t[0]=r*u+a*l,t[1]=o*u+i*l,t[2]=i*u-o*l,t[3]=a*u-r*l,t},rotateY:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],l=Math.sin(n),u=Math.cos(n);return t[0]=r*u-i*l,t[1]=o*u+a*l,t[2]=i*u+r*l,t[3]=a*u-o*l,t},rotateZ:function(t,e,n){n*=.5;const r=e[0],o=e[1],i=e[2],a=e[3],l=Math.sin(n),u=Math.cos(n);return t[0]=r*u+o*l,t[1]=o*u-r*l,t[2]=i*u+a*l,t[3]=a*u-i*l,t},rotationTo:function(t,e,n){const r=(0,l.j)(e,n);return r<-.999999?((0,l.b)(T,m,e),(0,l.k)(T)<1e-6&&(0,l.b)(T,w,e),(0,l.n)(T,T),s(t,T,Math.PI),t):r>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):((0,l.b)(T,e,n),t[0]=T[0],t[1]=T[1],t[2]=T[2],t[3]=1+r,P(t,t))},scale:M,set:h,setAxes:function(t,e,n,r){const o=G;return o[0]=n[0],o[3]=n[1],o[6]=n[2],o[1]=r[0],o[4]=r[1],o[7]=r[2],o[2]=-e[0],o[5]=-e[1],o[8]=-e[2],P(t,d(t,o))},setAxisAngle:s,slerp:C,sqlerp:function(t,e,n,r,o,i){return C(F,e,o,i),C(U,n,r,i),C(t,F,U,2*i*(1-i)),t},sqrLen:g,squaredLength:N,str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}},Symbol.toStringTag,{value:"Module"}))},94961:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}function i(t,e){return new Float64Array(t,e,4)}n.d(e,{I:()=>a,a:()=>r,b:()=>o,c:()=>i});const a=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,createView:i,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},36030:(t,e,n)=>{n.d(e,{J:()=>i});var r=n(35454),o=n(5600);function i(t,e={}){const n=t instanceof r.X?t:new r.X(t,e),i={type:e?.ignoreUnknown??1?n.apiValues:String,json:{type:n.jsonValues,read:!e?.readOnly&&{reader:n.read},write:{writer:n.write}}};return void 0!==e?.readOnly&&(i.readOnly=!!e.readOnly),void 0!==e?.default&&(i.json.default=e.default),void 0!==e?.name&&(i.json.name=e.name),void 0!==e?.nonNullable&&(i.nonNullable=e.nonNullable),(0,o.Cb)(i)}},87360:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(29166);function o(t,e,n,o,i,a,l=1){const u=(0,r.R8)(e,i,r._U);if(null==u)return!1;if(u===r.iq){if(t===o&&n===a)return!0;const e=n+3*l;for(let r=n,i=a;r<e;r++,i++)o[i]=t[r];return!0}const s=n+3*l;for(let e=n,r=a;e<s;e+=3,r+=3)u(t,e,o,r);return!0}},29166:(t,e,n)=>{n.d(e,{Ej:()=>c,eT:()=>S,iq:()=>h,sp:()=>v,R8:()=>E,zl:()=>d,rf:()=>A,_U:()=>W,Jz:()=>G});var r=n(22021),o=n(67900),i=n(2109),a=n(68441);Math.PI;const l=a.sv.radius,u=a.sv.eccentricitySquared,s={a1:l*u,a2:l*u*l*u,a3:l*u*u/2,a4:l*u*l*u*2.5,a5:l*u+l*u*u/2,a6:1-u};a.sv.radius,a.sv.flattening,a.Z1.radius,a.Z1.flattening,a.yr.radius,a.yr.flattening,a.yr.radius;var c,f=n(8744),C=n(56726);!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.SPHERICAL_ECEF=1]="SPHERICAL_ECEF",t[t.WGS84=2]="WGS84",t[t.WEB_MERCATOR=3]="WEB_MERCATOR",t[t.WGS84_ECEF=4]="WGS84_ECEF",t[t.CGCS2000=5]="CGCS2000",t[t.WGS84_COMPARABLE_LON_LAT=6]="WGS84_COMPARABLE_LON_LAT",t[t.SPHERICAL_MARS_PCPF=7]="SPHERICAL_MARS_PCPF",t[t.GCSMARS2000=8]="GCSMARS2000",t[t.SPHERICAL_MOON_PCPF=9]="SPHERICAL_MOON_PCPF",t[t.GCSMOON2000=10]="GCSMOON2000",t[t.LON_LAT=11]="LON_LAT",t[t.PLATE_CARREE=12]="PLATE_CARREE"}(c||(c={}));const A={[c.WGS84]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:R,[c.PLATE_CARREE]:b,[c.WGS84]:h,[c.WGS84_ECEF]:w},[c.CGCS2000]:{[c.CGCS2000]:h,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:b,[c.WGS84]:null,[c.WGS84_ECEF]:w},[c.GCSMARS2000]:{[c.CGCS2000]:null,[c.GCSMARS2000]:h,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:g,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.GCSMOON2000]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:h,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:N,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.WEB_MERCATOR]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:O,[c.WGS84_COMPARABLE_LON_LAT]:O,[c.SPHERICAL_ECEF]:function(t,e,n,r){O(t,e,n,r),P(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:h,[c.PLATE_CARREE]:function(t,e,n,r){O(t,e,n,r),b(n,r,n,r)},[c.WGS84]:O,[c.WGS84_ECEF]:function(t,e,n,r){O(t,e,n,r),w(n,r,n,r)}},[c.WGS84_ECEF]:{[c.CGCS2000]:F,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:F,[c.WGS84_COMPARABLE_LON_LAT]:F,[c.SPHERICAL_ECEF]:function(t,e,n,r){F(t,e,n,r),P(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){F(t,e,n,r),R(n,r,n,r)},[c.PLATE_CARREE]:function(t,e,n,r){F(t,e,n,r),b(n,r,n,r)},[c.WGS84]:F,[c.WGS84_ECEF]:h},[c.SPHERICAL_ECEF]:{[c.CGCS2000]:m,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:m,[c.WGS84_COMPARABLE_LON_LAT]:m,[c.SPHERICAL_ECEF]:h,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){m(t,e,n,r),R(n,r,n,r)},[c.PLATE_CARREE]:function(t,e,n,r){m(t,e,n,r),b(n,r,n,r)},[c.WGS84]:m,[c.WGS84_ECEF]:function(t,e,n,r){m(t,e,n,r),w(n,r,n,r)}},[c.SPHERICAL_MARS_PCPF]:{[c.CGCS2000]:null,[c.GCSMARS2000]:T,[c.GCSMOON2000]:null,[c.LON_LAT]:T,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:h,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.SPHERICAL_MOON_PCPF]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:y,[c.LON_LAT]:y,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:h,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.UNKNOWN]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:null,[c.WGS84_COMPARABLE_LON_LAT]:null,[c.SPHERICAL_ECEF]:null,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:h,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:null,[c.WGS84]:null,[c.WGS84_ECEF]:null},[c.LON_LAT]:{[c.CGCS2000]:h,[c.GCSMARS2000]:h,[c.GCSMOON2000]:h,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:g,[c.SPHERICAL_MOON_PCPF]:N,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:R,[c.PLATE_CARREE]:b,[c.WGS84]:h,[c.WGS84_ECEF]:w},[c.WGS84_COMPARABLE_LON_LAT]:{[c.CGCS2000]:null,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:h,[c.WGS84_COMPARABLE_LON_LAT]:h,[c.SPHERICAL_ECEF]:P,[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:null,[c.PLATE_CARREE]:b,[c.WGS84]:h,[c.WGS84_ECEF]:w},[c.PLATE_CARREE]:{[c.CGCS2000]:L,[c.GCSMARS2000]:null,[c.GCSMOON2000]:null,[c.LON_LAT]:L,[c.WGS84_COMPARABLE_LON_LAT]:L,[c.SPHERICAL_ECEF]:function(t,e,n,r){L(t,e,n,r),P(n,r,n,r)},[c.SPHERICAL_MARS_PCPF]:null,[c.SPHERICAL_MOON_PCPF]:null,[c.UNKNOWN]:null,[c.WEB_MERCATOR]:function(t,e,n,r){L(t,e,n,r),R(n,r,n,r)},[c.PLATE_CARREE]:h,[c.WGS84]:L,[c.WGS84_ECEF]:function(t,e,n,r){L(t,e,n,r),w(n,r,n,r)}}};function d(t){const e=S(t,G);return A[e][c.WGS84_COMPARABLE_LON_LAT]}function E(t,e,n=U()){return null==t||null==e?null:function(t,e,n){if(null==t||null==e||n.source.spatialReference===t&&n.dest.spatialReference===e)return n;const r=S(t,n.source),o=S(e,n.dest);return r===c.UNKNOWN&&o===c.UNKNOWN?(0,f.fS)(t,e)?n.projector=h:n.projector=null:n.projector=A[r][o],n}(t,e,n).projector}function S(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.c9)(t,1)),(0,i.fY)(t)?e.spatialReferenceId=c.SPHERICAL_ECEF:(0,f.oR)(t)?e.spatialReferenceId=c.WGS84:(0,f.sS)(t)?e.spatialReferenceId=c.WEB_MERCATOR:(0,f.QM)(t)?e.spatialReferenceId=c.PLATE_CARREE:t.wkt===i.pn.wkt?e.spatialReferenceId=c.WGS84_ECEF:t.wkid===C.W.CGCS2000?e.spatialReferenceId=c.CGCS2000:t.wkt===i.JL.wkt?e.spatialReferenceId=c.SPHERICAL_MARS_PCPF:t.wkt===i.mM.wkt?e.spatialReferenceId=c.SPHERICAL_MOON_PCPF:(0,f.BZ)(t)?e.spatialReferenceId=c.GCSMARS2000:(0,f.V2)(t)?e.spatialReferenceId=c.GCSMOON2000:e.spatialReferenceId=c.UNKNOWN):c.UNKNOWN}function h(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e])}function O(t,e,n,r){n[r++]=H*(t[e++]/a.sv.radius),n[r++]=H*(Math.PI/2-2*Math.atan(Math.exp(-t[e++]/a.sv.radius))),n[r]=t[e]}function R(t,e,n,o){!function(t,e,n,o,i){const a=.4999999*Math.PI,l=(0,r.uZ)(B*t[e+1],-a,a),u=Math.sin(l);n[o++]=B*t[e]*i.radius,n[o++]=i.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[o]=t[e+2]}(t,e,n,o,a.sv)}const M=a.sv.radius*Math.PI/180,_=180/(a.sv.radius*Math.PI);function b(t,e,n,r){n[r]=t[e]*M,n[r+1]=t[e+1]*M,n[r+2]=t[e+2]}function L(t,e,n,r){n[r]=t[e]*_,n[r+1]=t[e+1]*_,n[r+2]=t[e+2]}function p(t,e,n,r,o){const i=o+t[e+2],a=B*t[e+1],l=B*t[e],u=Math.cos(a);n[r++]=Math.cos(l)*u*i,n[r++]=Math.sin(l)*u*i,n[r]=Math.sin(a)*i}function N(t,e,n,r){p(t,e,n,r,a.Z1.radius)}function g(t,e,n,r){p(t,e,n,r,a.yr.radius)}function P(t,e,n,r){p(t,e,n,r,a.sv.radius)}function I(t,e,n,o,i){const a=t[e],l=t[e+1],u=t[e+2],s=Math.sqrt(a*a+l*l+u*u),c=(0,r.Kt)(u/(0===s?1:s)),f=Math.atan2(l,a);n[o++]=H*f,n[o++]=H*c,n[o]=s-i}function y(t,e,n,r){I(t,e,n,r,a.Z1.radius)}function T(t,e,n,r){I(t,e,n,r,a.yr.radius)}function m(t,e,n,r){I(t,e,n,r,a.sv.radius)}function w(t,e,n,r){!function(t,e,n,r,o){const i=B*t[e],a=B*t[e+1],l=t[e+2],u=Math.sin(a),s=Math.cos(a),c=o.radius/Math.sqrt(1-o.eccentricitySquared*u*u);n[r++]=(c+l)*s*Math.cos(i),n[r++]=(c+l)*s*Math.sin(i),n[r++]=(c*(1-o.eccentricitySquared)+l)*u}(t,e,n,r,a.sv)}function F(t,e,n,r){const o=s,i=t[e],l=t[e+1],u=t[e+2];let c,f,C,A,d,E,S,h,O,R,M,_,b,L,p,N,g,P,I,y,T;c=Math.abs(u),f=i*i+l*l,C=Math.sqrt(f),A=f+u*u,d=Math.sqrt(A),y=Math.atan2(l,i),E=u*u/A,S=f/A,L=o.a2/d,p=o.a3-o.a4/d,S>.3?(h=c/d*(1+S*(o.a1+L+E*p)/d),I=Math.asin(h),R=h*h,O=Math.sqrt(1-R)):(O=C/d*(1-E*(o.a5-L-S*p)/d),I=Math.acos(O),R=1-O*O,h=Math.sqrt(R)),M=1-a.sv.eccentricitySquared*R,_=a.sv.radius/Math.sqrt(M),b=o.a6*_,L=C-_*O,p=c-b*h,g=O*L+h*p,N=O*p-h*L,P=N/(b/M+g),I+=P,T=g+N*P/2,u<0&&(I=-I),n[r++]=H*y,n[r++]=H*I,n[r]=T}function U(){return{source:{spatialReference:null,spatialReferenceId:c.UNKNOWN,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:c.UNKNOWN,metersPerUnit:1},projector:h}}const G={spatialReference:null,spatialReferenceId:c.UNKNOWN},v={spatialReference:null,spatialReferenceId:c.UNKNOWN},W=U(),B=(0,r.Vl)(1),H=(0,r.BV)(1)},91700:(t,e,n)=>{n.r(e),n.d(e,{default:()=>F});var r=n(67676),o=n(1533),i=n(51305),a=n(94961),l=n(17896);function u(){return new Float32Array(3)}function s(t,e,n){const r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}function c(){return u()}function f(){return s(1,1,1)}function C(){return s(1,0,0)}function A(){return s(0,1,0)}function d(){return s(0,0,1)}const E=c(),S=f(),h=C(),O=A(),R=d();Object.freeze(Object.defineProperty({__proto__:null,ONES:S,UNIT_X:h,UNIT_Y:O,UNIT_Z:R,ZEROS:E,clone:function(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},create:u,createView:function(t,e){return new Float32Array(t,e,3)},fromValues:s,ones:f,unitX:C,unitY:A,unitZ:d,zeros:c},Symbol.toStringTag,{value:"Module"}));var M=n(82971),_=n(87360),b=(n(80442),n(23030)),L=n(14008),p=n(46329),N=n(91891),g=n(25683);function P(t,e,n){return null!=t&&t.attributeInfo.useElevation?e?function(t,e){const n=new Float64Array(e);for(let r=0;r<e;r++)n[r]=t[3*r+2];return n}(e,n):null:null!=t&&t.attributeInfo.storageInfo?(0,N.qM)(t.attributeInfo.storageInfo,t.buffer,n):null}function I(t,e,n,r,o){const i=t.length/3;let a=0;for(let l=0;l<i;l++){let i=!0;for(let t=0;t<r.length&&i;t++){const{filterJSON:e}=r[t],n=o[t].values[l];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;e.values.includes(n)===t&&(i=!1);break}case"pointCloudBitfieldFilter":{const t=T(e.requiredSetBits),r=T(e.requiredClearBits);(n&t)===t&&0==(n&r)||(i=!1);break}case"pointCloudReturnFilter":{const t=15&n,r=n>>>4&15,o=r>1,a=1===t,l=t===r;let u=!1;for(const t of e.includedReturns)if("last"===t&&l||"firstOfMany"===t&&a&&o||"lastOfMany"===t&&l&&o||"single"===t&&!o){u=!0;break}u||(i=!1);break}}}i&&(n[a]=l,t[3*a]=t[3*l],t[3*a+1]=t[3*l+1],t[3*a+2]=t[3*l+2],e[3*a]=e[3*l],e[3*a+1]=e[3*l+1],e[3*a+2]=e[3*l+2],a++)}return a}function y(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function T(t){let e=0;for(const n of t||[])e|=1<<n;return e}class m{transform(t){const e=this._transform(t),n=[e.points.buffer,e.rgb.buffer];null!=e.pointIdFilterMap&&n.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&(0,o.eP)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&n.push(t.values.buffer);return Promise.resolve({result:e,transferList:n})}_transform(t){const e=function(t,e){if(null==t.encoding||""===t.encoding){const n=(0,N.W7)(e,t);if(null==n.vertexAttributes.position)return;const r=(0,N.I_)(e,n.vertexAttributes.position),o=n.header.fields,i=[o.offsetX,o.offsetY,o.offsetZ],a=[o.scaleX,o.scaleY,o.scaleZ],l=r.length/3,u=new Float64Array(3*l);for(let t=0;t<l;t++)u[3*t]=r[3*t]*a[0]+i[0],u[3*t+1]=r[3*t+1]*a[1]+i[1],u[3*t+2]=r[3*t+2]*a[2]+i[2];return u}if("lepcc-xyz"===t.encoding)return(0,g.Gi)(e).result}(t.schema,t.geometryBuffer);let n=e.length/3,o=null;const i=new Array,a=P(t.primaryAttributeData,e,n);null!=t.primaryAttributeData&&a&&i.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:a});const l=P(t.modulationAttributeData,e,n);null!=t.modulationAttributeData&&l&&i.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:l});let u=function(t,e,n,r){const{rendererJSON:o,isRGBRenderer:i}=t;let a=null,l=null;if(e&&i)a=e;else if(e&&"pointCloudUniqueValueRenderer"===o?.type){l=p.Z.fromJSON(o);const t=l.colorUniqueValueInfos;a=new Uint8Array(3*r);const n=y(l.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.includes(r)){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o?.type){l=L.Z.fromJSON(o);const t=l.stops;a=new Uint8Array(3*r);const n=y(l.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o],i=t.length-1;if(r<t[0].value)a[3*o]=t[0].color.r,a[3*o+1]=t[0].color.g,a[3*o+2]=t[0].color.b;else if(r>=t[i].value)a[3*o]=t[i].color.r,a[3*o+1]=t[i].color.g,a[3*o+2]=t[i].color.b;else for(let e=1;e<t.length;e++)if(r<t[e].value){const n=(r-t[e-1].value)/(t[e].value-t[e-1].value);a[3*o]=t[e].color.r*n+t[e-1].color.r*(1-n),a[3*o+1]=t[e].color.g*n+t[e-1].color.g*(1-n),a[3*o+2]=t[e].color.b*n+t[e-1].color.b*(1-n);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o?.type){l=b.Z.fromJSON(o);const t=l.colorClassBreakInfos;a=new Uint8Array(3*r);const n=y(l.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o];for(let e=0;e<t.length;e++)if(r>=t[e].minValue&&r<=t[e].maxValue){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else a=new Uint8Array(3*r).fill(255);if(n&&l&&l.colorModulation){const t=l.colorModulation.minValue,e=l.colorModulation.maxValue,o=.3;for(let i=0;i<r;i++){const r=n[i],l=r>=e?1:r<=t?o:o+(1-o)*(r-t)/(e-t);a[3*i]=l*a[3*i],a[3*i+1]=l*a[3*i+1],a[3*i+2]=l*a[3*i+2]}}return a}(t.rendererInfo,a,l,n);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const a=t.filterAttributesData.filter(r.pC).map((t=>{const r=P(t,e,n),o={attributeInfo:t.attributeInfo,values:r};return i.push(o),o}));o=new Uint32Array(n),n=I(e,u,o,t.filterInfo,a)}for(const r of t.userAttributesData){const t=P(r,e,n);i.push({attributeInfo:r.attributeInfo,values:t})}3*n<u.length&&(u=new Uint8Array(u.buffer.slice(0,3*n))),this._applyElevationOffsetInPlace(e,n,t.elevationOffset);const s=this._transformCoordinates(e,n,t.obb,M.Z.fromJSON(t.inSR),M.Z.fromJSON(t.outSR));return{obb:t.obb,points:s,rgb:u,attributes:i,pointIdFilterMap:o}}_transformCoordinates(t,e,n,r,o){if(!(0,_.projectBuffer)(t,r,0,t,o,0,e))throw new Error("Can't reproject");const a=s(n.center[0],n.center[1],n.center[2]),c=u(),f=u();(0,i.a)(w,n.quaternion);const C=new Float32Array(3*e);for(let r=0;r<e;r++)c[0]=t[3*r]-a[0],c[1]=t[3*r+1]-a[1],c[2]=t[3*r+2]-a[2],(0,l.v)(f,c,w),n.halfSize[0]=Math.max(n.halfSize[0],Math.abs(f[0])),n.halfSize[1]=Math.max(n.halfSize[1],Math.abs(f[1])),n.halfSize[2]=Math.max(n.halfSize[2],Math.abs(f[2])),C[3*r]=c[0],C[3*r+1]=c[1],C[3*r+2]=c[2];return C}_applyElevationOffsetInPlace(t,e,n){if(0!==n)for(let r=0;r<e;r++)t[3*r+2]+=n}}const w=(0,a.a)();function F(){return new m}},91891:(t,e,n)=>{n.d(e,{I_:()=>C,W7:()=>E,qM:()=>h});var r=n(20102),o=n(22974),i=n(92604),a=n(25683),l=n(35065);const u=i.Z.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function s(t,e,n){let o="",i=0;for(;i<n;){const a=t[e+i];if(a<128)o+=String.fromCharCode(a),i++;else if(a>=192&&a<224){if(i+1>=n)throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const l=(31&a)<<6|63&t[e+i+1];o+=String.fromCharCode(l),i+=2}else if(a>=224&&a<240){if(i+2>=n)throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const l=(15&a)<<12|(63&t[e+i+1])<<6|63&t[e+i+2];o+=String.fromCharCode(l),i+=3}else{if(!(a>=240&&a<248))throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(i+3>=n)throw new r.Z("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const l=(7&a)<<18|(63&t[e+i+1])<<12|(63&t[e+i+2])<<6|63&t[e+i+3];if(l>=65536){const t=55296+(l-65536>>10),e=56320+(1023&l);o+=String.fromCharCode(t,e)}else o+=String.fromCharCode(l);i+=4}}}return o}function c(t,e){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<e.length;o++){const i=e[o],a=i.valueType||i.type,l=R[a];n.fields[i.property]=l(t,r),r+=O[a].BYTES_PER_ELEMENT}return n.byteCount=r,n}function f(t,e,n){const o=[];let i,a,l=0;for(a=0;a<t;a+=1){if(i=e[a],i>0){if(o.push(s(n,l,i-1)),0!==n[l+i-1])throw new r.Z("string-array-error","Invalid string array: missing null termination.")}else o.push(null);l+=i}return o}function C(t,e){return new(0,O[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function A(t,e,n){const i=null!=e.header?c(t,e.header):{byteOffset:0,byteCount:0,fields:{count:n}},a={header:i,byteOffset:i.byteCount,byteCount:0,entries:Object.create(null)};let l=i.byteCount;for(let t=0;t<e.ordering.length;t++){const n=e.ordering[t],u=(0,o.d9)(e[n]);if(u.count=i.fields.count??0,"String"===u.valueType){if(u.byteOffset=l,u.byteCount=i.fields[n+"ByteCount"],"UTF-8"!==u.encoding)throw new r.Z("unsupported-encoding","Unsupported String encoding.",{encoding:u.encoding});if(u.timeEncoding&&"ECMA_ISO8601"!==u.timeEncoding)throw new r.Z("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:u.timeEncoding})}else{if(!M(u.valueType))throw new r.Z("unsupported-value-type","Unsupported binary valueType",{valueType:u.valueType});{const t=_(u.valueType);l+=l%t!=0?t-l%t:0,u.byteOffset=l,u.byteCount=t*u.valuesPerElement*u.count}}l+=u.byteCount??0,a.entries[n]=u}return a.byteCount=l-a.byteOffset,a}function d(t,e,n){if(e!==t&&u.error(`Invalid ${n} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new r.Z("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}function E(t,e){const n=c(t,e&&e.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},i=n.fields,a=null!=i.vertexCount?i.vertexCount:i.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const n={...e.vertexAttributes[t],byteOffset:r,count:a},i=S[t]||"_"+t;o.vertexAttributes[i]=n,r+=_(n.valueType)*n.valuesPerElement*a}const l=i.faceCount;if(e.faces&&l){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const n={...e.faces[t],byteOffset:r,count:l};o.faces[t]=n,r+=_(n.valueType)*n.valuesPerElement*l}}const u=i.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&u){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const n={...e.featureAttributes[t],byteOffset:r,count:u};o.featureAttributes[t]=n,r+=("UInt64"===n.valueType?8:_(n.valueType))*n.valuesPerElement*u}}return d(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const S={position:l.T.POSITION,normal:l.T.NORMAL,color:l.T.COLOR,uv0:l.T.UV0,region:l.T.UVREGION};function h(t,e,n){if("lepcc-rgb"===t.encoding)return(0,a.IT)(e);if("lepcc-intensity"===t.encoding)return(0,a.ti)(e);if(null!=t.encoding&&""!==t.encoding)throw new r.Z("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(u.warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(u.warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const o=A(e,t,n);d(o.byteOffset+o.byteCount,e.byteLength,"attribute");const i=o.entries.attributeValues||o.entries.objectIds;if(i){if("String"===i.valueType){const t=o.entries.attributeByteCounts,n=C(e,t),r=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,i);return i.timeEncoding?function(t,e,n){return f(t,e,n).map((t=>{const e=t?Date.parse(t):null;return e&&!Number.isNaN(e)?e:null}))}(t.count,n,r):f(t.count,n,r)}return C(e,i)}throw new r.Z("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const O={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},R={Float32:(t,e)=>new DataView(t,0).getFloat32(e,!0),Float64:(t,e)=>new DataView(t,0).getFloat64(e,!0),UInt8:(t,e)=>new DataView(t,0).getUint8(e),Int8:(t,e)=>new DataView(t,0).getInt8(e),UInt16:(t,e)=>new DataView(t,0).getUint16(e,!0),Int16:(t,e)=>new DataView(t,0).getInt16(e,!0),UInt32:(t,e)=>new DataView(t,0).getUint32(e,!0),Int32:(t,e)=>new DataView(t,0).getInt32(e,!0)};function M(t){return O.hasOwnProperty(t)}function _(t){return M(t)?O[t].BYTES_PER_ELEMENT:0}},25683:(t,e,n)=>{n.d(e,{Gi:()=>s,IT:()=>d,ti:()=>h});var r=n(20102);const o=!0,i={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function a(t,e,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,n+i.identifierOffset,i.identifierLength)),version:e.getUint16(n+i.versionOffset,o),checksum:e.getUint32(n+i.checksumOffset,o)}}const l={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function u(t,e){return{sizeLo:t.getUint32(e+l.sizeLo,o),sizeHi:t.getUint32(e+l.sizeHi,o),minX:t.getFloat64(e+l.minX,o),minY:t.getFloat64(e+l.minY,o),minZ:t.getFloat64(e+l.minZ,o),maxX:t.getFloat64(e+l.maxX,o),maxY:t.getFloat64(e+l.maxY,o),maxZ:t.getFloat64(e+l.maxZ,o),errorX:t.getFloat64(e+l.errorX,o),errorY:t.getFloat64(e+l.errorY,o),errorZ:t.getFloat64(e+l.errorZ,o),count:t.getUint32(e+l.count,o),reserved:t.getUint32(e+l.reserved,o)}}function s(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:s}=a(t,e,n);if(n+=i.byteCount,"LEPCC "!==o)throw new r.Z("lepcc-decode-error","Bad identifier");if(s>1)throw new r.Z("lepcc-decode-error","Unknown version");const f=u(e,n);if(n+=l.byteCount,f.sizeHi*2**32+f.sizeLo!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const C=new Float64Array(3*f.count),A=[],d=[],E=[],S=[];if(n=c(t,n,A),n=c(t,n,d),n=c(t,n,E),n=c(t,n,S),n!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad length");let h=0,O=0;for(let t=0;t<A.length;t++){O+=A[t];let e=0;for(let n=0;n<d[t];n++){e+=E[h];const t=S[h];C[3*h]=Math.min(f.maxX,f.minX+2*f.errorX*e),C[3*h+1]=Math.min(f.maxY,f.minY+2*f.errorY*O),C[3*h+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*t),h++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:C}}function c(t,e,n){const r=[];e=f(t,e,r);const o=[];for(let i=0;i<r.length;i++){o.length=0,e=f(t,e,o);for(let t=0;t<o.length;t++)n.push(o[t]+r[i])}return e}function f(t,e,n){const i=new DataView(t,e),a=i.getUint8(0),l=31&a,u=!!(32&a),s=(192&a)>>6;let c=0;if(0===s)c=i.getUint32(1,o),e+=5;else if(1===s)c=i.getUint16(1,o),e+=3;else{if(2!==s)throw new r.Z("lepcc-decode-error","Bad count type");c=i.getUint8(1),e+=2}if(u)throw new r.Z("lepcc-decode-error","LUT not implemented");const f=Math.ceil(c*l/8),C=new Uint8Array(t,e,f);let A=0,d=0,E=0;const S=-1>>>32-l;for(let t=0;t<c;t++){for(;d<l;)A|=C[E]<<d,d+=8,E+=1;n[t]=A&S,A>>>=l,d-=l,d+l>32&&(A|=C[E-1]>>8-d)}return e+E}const C={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function A(t,e){return{sizeLo:t.getUint32(e+C.sizeLo,o),sizeHi:t.getUint32(e+C.sizeHi,o),count:t.getUint32(e+C.count,o),colorMapCount:t.getUint16(e+C.colorMapCount,o),lookupMethod:t.getUint8(e+C.lookupMethod),compressionMethod:t.getUint8(e+C.compressionMethod)}}function d(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:l}=a(t,e,n);if(n+=i.byteCount,"ClusterRGB"!==o)throw new r.Z("lepcc-decode-error","Bad identifier");if(l>1)throw new r.Z("lepcc-decode-error","Unknown version");const u=A(e,n);if(n+=C.byteCount,u.sizeHi*2**32+u.sizeLo!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");if((2===u.lookupMethod||1===u.lookupMethod)&&0===u.compressionMethod){if(3*u.colorMapCount+u.count+n!==t.byteLength||u.colorMapCount>256)throw new r.Z("lepcc-decode-error","Bad count");const e=new Uint8Array(t,n,3*u.colorMapCount),o=new Uint8Array(t,n+3*u.colorMapCount,u.count),i=new Uint8Array(3*u.count);for(let t=0;t<u.count;t++){const n=o[t];i[3*t]=e[3*n],i[3*t+1]=e[3*n+1],i[3*t+2]=e[3*n+2]}return i}if(0===u.lookupMethod&&0===u.compressionMethod){if(3*u.count+n!==t.byteLength||0!==u.colorMapCount)throw new r.Z("lepcc-decode-error","Bad count");return new Uint8Array(t,n).slice()}if(u.lookupMethod<=2&&1===u.compressionMethod){if(n+3!==t.byteLength||1!==u.colorMapCount)throw new r.Z("lepcc-decode-error","Bad count");const o=e.getUint8(n),i=e.getUint8(n+1),a=e.getUint8(n+2),l=new Uint8Array(3*u.count);for(let t=0;t<u.count;t++)l[3*t]=o,l[3*t+1]=i,l[3*t+2]=a;return l}throw new r.Z("lepcc-decode-error","Bad method "+u.lookupMethod+","+u.compressionMethod)}const E={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function S(t,e){return{sizeLo:t.getUint32(e+E.sizeLo,o),sizeHi:t.getUint32(e+E.sizeHi,o),count:t.getUint32(e+E.count,o),scaleFactor:t.getUint16(e+E.scaleFactor,o),bitsPerPoint:t.getUint8(e+E.bitsPerPoint),reserved:t.getUint8(e+E.reserved)}}function h(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:l}=a(t,e,n);if(n+=i.byteCount,"Intensity "!==o)throw new r.Z("lepcc-decode-error","Bad identifier");if(l>1)throw new r.Z("lepcc-decode-error","Unknown version");const u=S(e,n);if(n+=E.byteCount,u.sizeHi*2**32+u.sizeLo!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const s=new Uint16Array(u.count);if(8===u.bitsPerPoint){if(u.count+n!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const e=new Uint8Array(t,n,u.count);for(let t=0;t<u.count;t++)s[t]=e[t]*u.scaleFactor}else if(16===u.bitsPerPoint){if(2*u.count+n!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");const e=new Uint16Array(t,n,u.count);for(let t=0;t<u.count;t++)s[t]=e[t]*u.scaleFactor}else{const e=[];if(f(t,n,e)!==t.byteLength)throw new r.Z("lepcc-decode-error","Bad size");for(let t=0;t<u.count;t++)s[t]=e[t]*u.scaleFactor}return s}},35065:(t,e,n)=>{var r;n.d(e,{T:()=>r}),function(t){t.POSITION="position",t.NORMAL="normal",t.NORMALCOMPRESSED="normalCompressed",t.UV0="uv0",t.AUXPOS1="auxpos1",t.AUXPOS2="auxpos2",t.COLOR="color",t.SYMBOLCOLOR="symbolColor",t.SIZE="size",t.TANGENT="tangent",t.OFFSET="offset",t.PERSPECTIVEDIVIDE="perspectiveDivide",t.SUBDIVISIONFACTOR="subdivisionFactor",t.COLORFEATUREATTRIBUTE="colorFeatureAttribute",t.SIZEFEATUREATTRIBUTE="sizeFeatureAttribute",t.OPACITYFEATUREATTRIBUTE="opacityFeatureAttribute",t.DISTANCETOSTART="distanceToStart",t.UVMAPSPACE="uvMapSpace",t.BOUNDINGRECT="boundingRect",t.UVREGION="uvRegion",t.PROFILERIGHT="profileRight",t.PROFILEUP="profileUp",t.PROFILEVERTEXANDNORMAL="profileVertexAndNormal",t.FEATUREVALUE="featureValue",t.INSTANCEMODELORIGINHI="instanceModelOriginHi",t.INSTANCEMODELORIGINLO="instanceModelOriginLo",t.INSTANCEMODEL="instanceModel",t.INSTANCEMODELNORMAL="instanceModelNormal",t.INSTANCECOLOR="instanceColor",t.INSTANCEFEATUREATTRIBUTE="instanceFeatureAttribute",t.LOCALTRANSFORM="localTransform",t.GLOBALTRANSFORM="globalTransform",t.BOUNDINGSPHERE="boundingSphere",t.MODELORIGIN="modelOrigin",t.MODELSCALEFACTORS="modelScaleFactors",t.FEATUREATTRIBUTE="featureAttribute",t.STATE="state",t.LODLEVEL="lodLevel",t.POSITION0="position0",t.POSITION1="position1",t.NORMALA="normalA",t.NORMALB="normalB",t.COMPONENTINDEX="componentIndex",t.VARIANTOFFSET="variantOffset",t.VARIANTSTROKE="variantStroke",t.VARIANTEXTENSION="variantExtension",t.SIDENESS="sideness",t.START="start",t.END="end",t.UP="up",t.EXTRUDE="extrude",t.OBJECTANDLAYERIDCOLOR="objectAndLayerIdColor",t.INSTANCEOBJECTANDLAYERIDCOLOR="instanceObjectAndLayerIdColor"}(r||(r={}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9971,5732,2596],{92835:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),l=r(96674),i=r(35463),n=r(5600),a=(r(75215),r(67676),r(80442),r(71715)),u=r(52011),h=r(30556),p=r(15512);let d=o=class extends l.wq{static get allTime(){return c}static get empty(){return y}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(o.allTime)}get isEmpty(){return this.equals(o.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new o({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,o=e.start?.getTime()??e.start,s=e.end?.getTime()??e.end;return t===o&&r===s}expandTo(e,t=p.By){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,i.JE)(r,e,t));let s=this.end;if(s){const r=(0,i.JE)(s,e,t);s=s.getTime()===r.getTime()?r:(0,i.Nm)(r,1,e,t)}return new o({start:r,end:s})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return o.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,s=e.start?.getTime()??-1/0,l=e.end?.getTime()??1/0;let i,n;if(s>=t&&s<=r?i=s:t>=s&&t<=l&&(i=t),r>=s&&r<=l?n=r:l>=t&&l<=r&&(n=l),null!=i&&null!=n&&!isNaN(i)&&!isNaN(n)){const e=new o;return e.start=i===-1/0?null:new Date(i),e.end=n===1/0?null:new Date(n),e}return o.empty}offset(e,t,r=p.By){if(this.isEmpty||this.isAllTime)return this.clone();const s=new o,{start:l,end:n}=this;return null!=l&&(s.start=(0,i.Nm)(l,e,t,r)),null!=n&&(s.end=(0,i.Nm)(n,e,t,r)),s}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return c.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new o({start:t,end:r})}};(0,s._)([(0,n.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,s._)([(0,a.r)("end")],d.prototype,"readEnd",null),(0,s._)([(0,h.c)("end")],d.prototype,"writeEnd",null),(0,s._)([(0,n.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,s._)([(0,n.Cb)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,s._)([(0,n.Cb)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,s._)([(0,a.r)("start")],d.prototype,"readStart",null),(0,s._)([(0,h.c)("start")],d.prototype,"writeStart",null),d=o=(0,s._)([(0,u.j)("esri.TimeExtent")],d);const c=new d,y=new d({start:void 0,end:void 0}),m=d},5732:(e,t,r)=>{r.d(t,{c:()=>o,g:()=>s});var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},10699:(e,t,r)=>{r.d(t,{IG:()=>i,iv:()=>n});var o=r(43697),s=r(52011);let l=0;const i=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+l++})}};return t=(0,o._)([(0,s.j)("esri.core.Identifiable")],t),t},n=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:l++})}};return t=(0,o._)([(0,s.j)("esri.core.NumericIdentifiable")],t),t};let a=class extends(i(class{})){};a=(0,o._)([(0,s.j)("esri.core.Identifiable")],a)},35463:(e,t,r)=>{r.d(t,{JE:()=>a,Nm:()=>n,rJ:()=>u});var o=r(90344),s=r(15512),l=r(17126);const i={milliseconds:1,seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:26784e5,years:31536e6,decades:31536e7,centuries:31536e8};function n(e,t,r,i=s.By){const n=new l.vF((0,o.f1)(i)),a=l.ou.fromJSDate(e,{zone:n}),u="decades"===r||"centuries"===r?"year":h(r);return"decades"===r&&(t*=10),"centuries"===r&&(t*=100),a.plus({[u]:t}).toJSDate()}function a(e,t,r=s.By){const i=new l.vF((0,o.f1)(r)),n=l.ou.fromJSDate(e,{zone:i});if("decades"===t||"centuries"===t){const e=n.startOf("year"),{year:r}=e,o=r-r%("decades"===t?10:100);return e.set({year:o}).toJSDate()}const a=h(t);return n.startOf(a).toJSDate()}function u(e,t,r){return 0===e?0:e*i[t]/i[r]}function h(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"}}},90344:(e,t,r)=>{r.d(t,{Xr:()=>y,Ze:()=>v,f1:()=>b,p6:()=>w});var o=r(35454),s=r(70171),l=r(15512);r(17126);const i=Intl.DateTimeFormat().resolvedOptions().timeZone,n=(l.pt,{year:"numeric",month:"numeric",day:"numeric"}),a={year:"numeric",month:"long",day:"numeric"},u={year:"numeric",month:"short",day:"numeric"},h={year:"numeric",month:"long",weekday:"long",day:"numeric"},p={hour:"numeric",minute:"numeric"},d={...p,second:"numeric"},c={"short-date":n,"short-date-short-time":{...n,...p},"short-date-short-time-24":{...n,...p,hour12:!1},"short-date-long-time":{...n,...d},"short-date-long-time-24":{...n,...d,hour12:!1},"short-date-le":n,"short-date-le-short-time":{...n,...p},"short-date-le-short-time-24":{...n,...p,hour12:!1},"short-date-le-long-time":{...n,...d},"short-date-le-long-time-24":{...n,...d,hour12:!1},"long-month-day-year":a,"long-month-day-year-short-time":{...a,...p},"long-month-day-year-short-time-24":{...a,...p,hour12:!1},"long-month-day-year-long-time":{...a,...d},"long-month-day-year-long-time-24":{...a,...d,hour12:!1},"day-short-month-year":u,"day-short-month-year-short-time":{...u,...p},"day-short-month-year-short-time-24":{...u,...p,hour12:!1},"day-short-month-year-long-time":{...u,...d},"day-short-month-year-long-time-24":{...u,...d,hour12:!1},"long-date":h,"long-date-short-time":{...h,...p},"long-date-short-time-24":{...h,...p,hour12:!1},"long-date-long-time":{...h,...d},"long-date-long-time-24":{...h,...d,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":p,"long-time":d},y=(0,o.w)()({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"}),m={ar:"ar-u-nu-latn-ca-gregory"};let f=new WeakMap;const g=c["short-date-short-time"];function v(e){return c[e]}function w(e,t=g){return function(e){let t=f.get(e);if(!t){const r=(0,s.Kd)(),o=m[r]||r,i=b(e.timeZone??l.By),n={...e,timeZone:i};t=new Intl.DateTimeFormat(o,n),f.set(e,t)}return t}(t).format(e)}function b(e){switch(e){case l.By:return i;case l._4:return l.pt;default:return e}}(0,s.Ze)((()=>{f=new WeakMap}))},87085:(e,t,r)=>{r.d(t,{Z:()=>w});var o=r(43697),s=(r(66577),r(3172)),l=r(20102),i=r(32448),n=r(10699),a=r(83379),u=r(92604),h=r(95330),p=r(17452),d=r(5600),c=(r(75215),r(67676),r(80442),r(52011)),y=r(68773),m=r(6570),f=r(82971);let g=0,v=class extends(i.Z.EventedMixin((0,n.IG)(a.Z))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new m.Z(-180,-90,180,90,f.Z.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=f.Z.WGS84,this.title=null,this.type=null,this.url=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await r.e(3529).then(r.bind(r,63529))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:o}=await r.e(8008).then(r.bind(r,28008));try{return await o(t)}catch(e){const r=t&&t.portalItem,o=r&&r.id||"unset",s=r&&r.portal&&r.portal.url||y.default.portalUrl;throw u.Z.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+o+"')",e),e}}(e)}initialize(){this.when().catch((e=>{(0,h.D_)(e)||u.Z.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})}))}destroy(){const e=this.parent;if(e){const t=this;"layers"in e&&e.layers.includes(t)?e.layers.remove(t):"tables"in e&&e.tables.includes(t)?e.tables.remove(t):"baseLayers"in e&&e.baseLayers.includes(t)?e.baseLayers.remove(t):"referenceLayers"in e&&e.referenceLayers.includes(t)&&e.referenceLayers.remove(t),this._set("parent",null)}}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,p.mN)(this.url)}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,s.Z)(e,{query:{f:"json"},responseType:"json"})).data;throw new l.Z("layer:no-attribution-data","Layer does not have attribution data")}};(0,o._)([(0,d.Cb)({type:String})],v.prototype,"attributionDataUrl",void 0),(0,o._)([(0,d.Cb)({type:m.Z})],v.prototype,"fullExtent",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],v.prototype,"hasAttributionData",null),(0,o._)([(0,d.Cb)({type:String,clonable:!1})],v.prototype,"id",void 0),(0,o._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],v.prototype,"legendEnabled",void 0),(0,o._)([(0,d.Cb)({type:["show","hide","hide-children"]})],v.prototype,"listMode",void 0),(0,o._)([(0,d.Cb)({type:Number,range:{min:0,max:1},nonNullable:!0})],v.prototype,"opacity",void 0),(0,o._)([(0,d.Cb)({clonable:!1})],v.prototype,"parent",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],v.prototype,"parsedUrl",null),(0,o._)([(0,d.Cb)({type:Boolean,readOnly:!0})],v.prototype,"persistenceEnabled",void 0),(0,o._)([(0,d.Cb)({type:Boolean})],v.prototype,"popupEnabled",void 0),(0,o._)([(0,d.Cb)({type:Boolean})],v.prototype,"attributionVisible",void 0),(0,o._)([(0,d.Cb)({type:f.Z})],v.prototype,"spatialReference",void 0),(0,o._)([(0,d.Cb)({type:String})],v.prototype,"title",void 0),(0,o._)([(0,d.Cb)({readOnly:!0,json:{read:!1}})],v.prototype,"type",void 0),(0,o._)([(0,d.Cb)()],v.prototype,"url",void 0),(0,o._)([(0,d.Cb)({type:Boolean,nonNullable:!0})],v.prototype,"visible",void 0),v=(0,o._)([(0,c.j)("esri.layers.Layer")],v);const w=v},16199:(e,t,r)=>{r.r(t),r.d(t,{default:()=>E});var o,s=r(43697),l=(r(66577),r(3172)),i=r(20102),n=r(16453),a=r(19153),u=r(17452),h=r(5600),p=(r(75215),r(67676),r(80442),r(71715)),d=r(52011),c=r(30556),y=r(87085),m=r(71612),f=r(38009),g=r(16859),v=r(34760),w=r(72965),b=r(90082),_=r(39450),T=r(11145),I=r(5833),C=r(6570),Z=r(82971),D=r(94139);let S=o=class extends((0,m.h)((0,v.Q)((0,w.M)((0,f.q)((0,g.I)((0,n.R)(y.Z))))))){constructor(...e){super(...e),this.copyright="",this.fullExtent=new C.Z(-20037508.342787,-20037508.34278,20037508.34278,20037508.342787,Z.Z.WebMercator),this.legendEnabled=!1,this.isReference=null,this.popupEnabled=!1,this.spatialReference=Z.Z.WebMercator,this.subDomains=null,this.tileInfo=new T.Z({size:[256,256],dpi:96,format:"png8",compressionQuality:0,origin:new D.Z({x:-20037508.342787,y:20037508.342787,spatialReference:Z.Z.WebMercator}),spatialReference:Z.Z.WebMercator,lods:[new _.Z({level:0,scale:591657527.591555,resolution:156543.033928}),new _.Z({level:1,scale:295828763.795777,resolution:78271.5169639999}),new _.Z({level:2,scale:147914381.897889,resolution:39135.7584820001}),new _.Z({level:3,scale:73957190.948944,resolution:19567.8792409999}),new _.Z({level:4,scale:36978595.474472,resolution:9783.93962049996}),new _.Z({level:5,scale:18489297.737236,resolution:4891.96981024998}),new _.Z({level:6,scale:9244648.868618,resolution:2445.98490512499}),new _.Z({level:7,scale:4622324.434309,resolution:1222.99245256249}),new _.Z({level:8,scale:2311162.217155,resolution:611.49622628138}),new _.Z({level:9,scale:1155581.108577,resolution:305.748113140558}),new _.Z({level:10,scale:577790.554289,resolution:152.874056570411}),new _.Z({level:11,scale:288895.277144,resolution:76.4370282850732}),new _.Z({level:12,scale:144447.638572,resolution:38.2185141425366}),new _.Z({level:13,scale:72223.819286,resolution:19.1092570712683}),new _.Z({level:14,scale:36111.909643,resolution:9.55462853563415}),new _.Z({level:15,scale:18055.954822,resolution:4.77731426794937}),new _.Z({level:16,scale:9027.977411,resolution:2.38865713397468}),new _.Z({level:17,scale:4513.988705,resolution:1.19432856685505}),new _.Z({level:18,scale:2256.994353,resolution:.597164283559817}),new _.Z({level:19,scale:1128.497176,resolution:.298582141647617}),new _.Z({level:20,scale:564.248588,resolution:.14929107082380833}),new _.Z({level:21,scale:282.124294,resolution:.07464553541190416}),new _.Z({level:22,scale:141.062147,resolution:.03732276770595208}),new _.Z({level:23,scale:70.5310735,resolution:.01866138385297604})]}),this.type="web-tile",this.urlTemplate=null,this.wmtsInfo=null}normalizeCtorArgs(e,t){return"string"==typeof e?{urlTemplate:e,...t}:e}load(e){const t=this.loadFromPortal({supportedTypes:["WMTS"]},e).then((()=>{let e="";if(this.urlTemplate)if(this.spatialReference.equals(this.tileInfo.spatialReference)){const t=new u.R9(this.urlTemplate);!(this.subDomains&&this.subDomains.length>0)&&t.authority?.includes("{subDomain}")&&(e="is missing 'subDomains' property")}else e="spatialReference must match tileInfo.spatialReference";else e="is missing the required 'urlTemplate' property value";if(e)throw new i.Z("web-tile-layer:load",`WebTileLayer (title: '${this.title}', id: '${this.id}') ${e}`)}));return this.addResolvingPromise(t),Promise.resolve(this)}get levelValues(){const e=[];if(!this.tileInfo)return null;for(const t of this.tileInfo.lods)e[t.level]=t.levelValue||t.level;return e}readSpatialReference(e,t){return e||Z.Z.fromJSON(t.fullExtent?.spatialReference)}get tileServers(){if(!this.urlTemplate)return null;const e=[],{urlTemplate:t,subDomains:r}=this,o=new u.R9(t),s=o.scheme?o.scheme+"://":"//",l=s+o.authority+"/",i=o.authority;if(i?.includes("{subDomain}")){if(r&&r.length>0&&i.split(".").length>1)for(const t of r)e.push(s+i.replaceAll(/\{subDomain\}/gi,t)+"/")}else e.push(l);return e.map(u.xs)}get urlPath(){if(!this.urlTemplate)return null;const e=this.urlTemplate,t=new u.R9(e),r=(t.scheme?t.scheme+"://":"//")+t.authority+"/";return e.substring(r.length)}readUrlTemplate(e,t){return e||t.templateUrl}writeUrlTemplate(e,t){(0,u.oC)(e)&&(e="https:"+e),e&&(e=e.replaceAll(/\{z\}/gi,"{level}").replaceAll(/\{x\}/gi,"{col}").replaceAll(/\{y\}/gi,"{row}"),e=(0,u.Fv)(e)),t.templateUrl=e}fetchTile(e,t,r,o={}){const{signal:s}=o,i=this.getTileUrl(e,t,r),n={responseType:"image",signal:s,query:{...this.refreshParameters}};return(0,l.Z)(i,n).then((e=>e.data))}async fetchImageBitmapTile(e,t,r,s={}){const{signal:i}=s;if(this.fetchTile!==o.prototype.fetchTile){const o=await this.fetchTile(e,t,r,s);return(0,b.V)(o,e,t,r,i)}const n=this.getTileUrl(e,t,r),a={responseType:"blob",signal:i,query:{...this.refreshParameters}},{data:u}=await(0,l.Z)(n,a);return(0,b.V)(u,e,t,r,i)}getTileUrl(e,t,r){const{levelValues:o,tileServers:s,urlPath:l}=this;if(!o||!s||!l)return"";const i=o[e];return s[t%s.length]+(0,a.gx)(l,{level:i,z:i,col:r,x:r,row:t,y:t})}};(0,s._)([(0,h.Cb)({type:String,value:"",json:{write:!0}})],S.prototype,"copyright",void 0),(0,s._)([(0,h.Cb)({type:C.Z,json:{write:!0},nonNullable:!0})],S.prototype,"fullExtent",void 0),(0,s._)([(0,h.Cb)({readOnly:!0,json:{read:!1,write:!1}})],S.prototype,"legendEnabled",void 0),(0,s._)([(0,h.Cb)({type:["show","hide"]})],S.prototype,"listMode",void 0),(0,s._)([(0,h.Cb)({json:{read:!0,write:!0}})],S.prototype,"blendMode",void 0),(0,s._)([(0,h.Cb)()],S.prototype,"levelValues",null),(0,s._)([(0,h.Cb)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],S.prototype,"isReference",void 0),(0,s._)([(0,h.Cb)({type:["WebTiledLayer"],value:"WebTiledLayer"})],S.prototype,"operationalLayerType",void 0),(0,s._)([(0,h.Cb)({readOnly:!0,json:{read:!1,write:!1}})],S.prototype,"popupEnabled",void 0),(0,s._)([(0,h.Cb)({type:Z.Z})],S.prototype,"spatialReference",void 0),(0,s._)([(0,p.r)("spatialReference",["spatialReference","fullExtent.spatialReference"])],S.prototype,"readSpatialReference",null),(0,s._)([(0,h.Cb)({type:[String],json:{write:!0}})],S.prototype,"subDomains",void 0),(0,s._)([(0,h.Cb)({type:T.Z,json:{write:!0}})],S.prototype,"tileInfo",void 0),(0,s._)([(0,h.Cb)({readOnly:!0})],S.prototype,"tileServers",null),(0,s._)([(0,h.Cb)({json:{read:!1}})],S.prototype,"type",void 0),(0,s._)([(0,h.Cb)()],S.prototype,"urlPath",null),(0,s._)([(0,h.Cb)({type:String,json:{origins:{"portal-item":{read:{source:"url"}}}}})],S.prototype,"urlTemplate",void 0),(0,s._)([(0,p.r)("urlTemplate",["urlTemplate","templateUrl"])],S.prototype,"readUrlTemplate",null),(0,s._)([(0,c.c)("urlTemplate",{templateUrl:{type:String}})],S.prototype,"writeUrlTemplate",null),(0,s._)([(0,h.Cb)({type:I.B,json:{write:!0}})],S.prototype,"wmtsInfo",void 0),S=o=(0,s._)([(0,d.j)("esri.layers.WebTileLayer")],S);const E=S},16859:(e,t,r)=>{r.d(t,{I:()=>T});var o=r(43697),s=r(68773),l=r(40330),i=r(3172),n=r(66643),a=r(20102),u=r(92604),h=r(70586),p=r(95330),d=r(17452),c=r(5600),y=(r(75215),r(67676),r(80442),r(71715)),m=r(52011),f=r(30556),g=r(84230),v=r(48522),w=r(15235),b=r(86082),_=r(14661);const T=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,h.SC)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new w.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const{load:o}=await r.e(8062).then(r.bind(r,18062));return(0,p.k_)(t),await o({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap},t)}catch(e){throw(0,p.D_)(e)||u.Z.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,p.r9)(e),!0))))}async setUserPrivileges(e,t){if(!s.default.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:o},content:{updateItem:s}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",o),this._set("userHasUpdateItemPrivileges",s)}catch(e){(0,p.r9)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const o=e===r.id;if(o&&r.portal.user)return(0,_.Ss)(r);let s,i;if(o)s=r.portal.url;else try{s=await(0,g.oP)(this.url,t)}catch(e){(0,p.r9)(e)}if(!s||!(0,d.Zo)(s,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;i=await(l.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.r9)(e)}if(!i)return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}};try{if(o?await r.reload():(r=new w.default({id:e,portal:{url:s}}),await r.load(t)),r.portal.user)return(0,_.Ss)(r)}catch(e){(0,p.r9)(e)}return{features:{edit:!0,fullEdit:!1},content:{updateItem:!1}}}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.r9)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?l.id?.findCredential(this.url):null;if(!t)return!0;const r=I.credential===t?I.user:await this._fetchEditingUser(e);return I.credential=t,I.user=r,null==r||null==r.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=l.id.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const o=`${r.owningSystemUrl}/sharing/rest`,s=v.Z.getDefault();if(s&&s.loaded&&(0,d.Fv)(s.restUrl)===(0,d.Fv)(o))return s.user;const a=`${o}/community/self`,u=null!=e?e.signal:null,h=await(0,n.q6)((0,i.Z)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return h.ok?b.Z.fromJSON(h.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,o=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||v.Z.getDefault());return r&&o&&!(0,d.tm)(o.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,o._)([(0,c.Cb)({type:w.default})],t.prototype,"portalItem",null),(0,o._)([(0,y.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,o._)([(0,f.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,o._)([(0,c.Cb)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,o._)([(0,c.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,o._)([(0,c.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,o._)([(0,c.Cb)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,o._)([(0,m.j)("esri.layers.mixins.PortalLayer")],t),t},I={credential:null,user:null}},34760:(e,t,r)=>{r.d(t,{Q:()=>w});var o=r(43697),s=r(92604),l=r(95330),i=r(5600),n=r(90578),a=(r(67676),r(80442),r(52011)),u=r(82960),h=r(46791),p=(r(66643),r(20102),r(26258),r(87538));const d=new h.Z,c=new WeakMap;function y(e){(function(e){return null!=e&&"object"==typeof e&&"refreshInterval"in e&&"refresh"in e})(e)&&d.push(new WeakRef(e))}function m(e,t){return Number.isFinite(e)&&Number.isFinite(t)?t<=0?e:m(t,e%t):0}let f=0,g=0;function v(){const e=Date.now();let t=!1;for(const r of d){const o=r.deref();o?o.refreshInterval&&e-(c.get(o)??0)+5>=6e4*o.refreshInterval&&(c.set(o,e),o.refresh(e)):t=!0}if(t)for(let e=d.length-1;e>=0;e--)d.at(e).deref()||d.removeAt(e)}(0,p.EH)((()=>{const e=Date.now();let t=0;for(const r of d){const o=r.deref();o&&(t=m(Math.round(6e4*o.refreshInterval),t),o.refreshInterval?c.get(o)||c.set(o,e):c.delete(o))}if(t!==g){if(g=t,clearInterval(f),0===g)return void(f=0);f=setInterval(v,g)}}));const w=e=>{let t=class extends e{constructor(...e){super(...e),this.refreshInterval=0,this.refreshTimestamp=0,this._debounceHasDataChanged=(0,l.Ds)((()=>this.hasDataChanged())),this.when().then((()=>{this.destroyed||y(this)}),(()=>{}))}destroy(){!function(e){const t=d.find((t=>t.deref()===e));t&&d.remove(t)}(this)}castRefreshInterval(e){return e>=.1?e:e<=0?0:.1}get refreshParameters(){return{_ts:this.refreshTimestamp||null}}refresh(e=Date.now()){(0,l.R8)(this._debounceHasDataChanged()).then((t=>{t&&this._set("refreshTimestamp",e),this.emit("refresh",{dataChanged:t})}),(e=>{s.Z.getLogger(this).error(e),this.emit("refresh",{dataChanged:!1,error:e})}))}async hasDataChanged(){return!0}get test(){const e=this;return{set refreshInterval(t){e._set("refreshInterval",t)}}}};return(0,o._)([(0,i.Cb)({type:Number,json:{write:!0,origins:{"web-scene":{write:{enabled:!0,layerContainerTypes:u.C}}}}})],t.prototype,"refreshInterval",void 0),(0,o._)([(0,n.p)("refreshInterval")],t.prototype,"castRefreshInterval",null),(0,o._)([(0,i.Cb)({readOnly:!0})],t.prototype,"refreshTimestamp",void 0),(0,o._)([(0,i.Cb)({readOnly:!0})],t.prototype,"refreshParameters",null),t=(0,o._)([(0,a.j)("esri.layers.mixins.RefreshableLayer")],t),t}},39450:(e,t,r)=>{r.d(t,{Z:()=>h});var o,s=r(43697),l=r(96674),i=r(5600),n=r(75215),a=(r(67676),r(80442),r(52011));let u=o=class extends l.wq{constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new o({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,s._)([(0,i.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"cols",void 0),(0,s._)([(0,i.Cb)({type:n.z8,json:{write:!0}})],u.prototype,"level",void 0),(0,s._)([(0,i.Cb)({type:String,json:{write:!0}})],u.prototype,"levelValue",void 0),(0,s._)([(0,i.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"origin",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],u.prototype,"resolution",void 0),(0,s._)([(0,i.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"rows",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],u.prototype,"scale",void 0),u=o=(0,s._)([(0,a.j)("esri.layers.support.LOD")],u);const h=u},11145:(e,t,r)=>{r.d(t,{Z:()=>C});var o,s=r(43697),l=r(35454),i=r(96674),n=r(67900),a=r(5600),u=r(75215),h=(r(67676),r(80442),r(71715)),p=r(52011),d=r(30556),c=r(94139),y=r(82971),m=r(24470),f=r(8744),g=r(40488),v=r(39450),w=r(43077);const b=new l.X({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let _=o=class extends i.wq{static create(e={}){const{resolutionFactor:t=1,scales:r,size:s=256,spatialReference:l=y.Z.WebMercator,numLODs:i=24}=e;if(!(0,f.JY)(l)){const e=[];if(r)for(let t=0;t<r.length;t++){const o=r[t];e.push(new v.Z({level:t,scale:o,resolution:o}))}else{let t=5e-4;for(let r=i-1;r>=0;r--)e.unshift(new v.Z({level:r,scale:t,resolution:t})),t*=2}return new o({dpi:96,lods:e,origin:new c.Z(0,0,l),size:[s,s],spatialReference:l})}const a=(0,f.C5)(l),u=e.origin?new c.Z({x:e.origin.x,y:e.origin.y,spatialReference:l}):new c.Z(a?{x:a.origin[0],y:a.origin[1],spatialReference:l}:{x:0,y:0,spatialReference:l}),h=1/(39.37*(0,n.c9)(l)*96),p=[];if(r)for(let e=0;e<r.length;e++){const t=r[e],o=t*h;p.push(new v.Z({level:e,scale:t,resolution:o}))}else{let e=(0,f.sT)(l)?512/s*591657527.5917094:256/s*591657527.591555;const r=Math.ceil(i/t);p.push(new v.Z({level:0,scale:e,resolution:e*h}));for(let o=1;o<r;o++){const r=e/2**t,s=r*h;p.push(new v.Z({level:o,scale:r,resolution:s})),e=r}}return new o({dpi:96,lods:p,origin:u,size:[s,s],spatialReference:l})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const r=(0,f.C5)(e);return e.isWrappable&&!!r&&Math.abs(r.origin[0]-t.x)<=r.dx}return!1}readOrigin(e,t){return c.Z.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,r=0;const o=[],s=this._levelToLOD={};e&&(t=-1/0,r=1/0,e.forEach((e=>{o.push(e.scale),t=e.scale>t?e.scale:t,r=e.scale<r?e.scale:r,s[e.level]=e}))),this._set("scales",o),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const r=Math.floor(e),o=r+1;return t[r]/(t[r]/t[o])**(e-r)}scaleToZoom(e){const t=this.scales,r=t.length-1;let o=0;for(;o<r;o++){const r=t[o],s=t[o+1];if(r<=e)return o;if(s===e)return o+1;if(r>e&&s<e)return o+Math.log(r/e)/Math.log(r/s)}return o}snapScale(e,t=.95){const r=this.scaleToZoom(e);return r%Math.floor(r)>=t?this.zoomToScale(Math.ceil(r)):this.zoomToScale(Math.floor(r))}tileAt(e,t,r,o){const s=this.lodAt(e);if(!s)return null;let l,i;if("number"==typeof t)l=t,i=r;else if((0,f.fS)(t.spatialReference,this.spatialReference))l=t.x,i=t.y,o=r;else{const e=(0,g.iV)(t,this.spatialReference);if(null==e)return null;l=e.x,i=e.y,o=r}const n=s.resolution*this.size[0],a=s.resolution*this.size[1];return o||(o=new w.f(null,0,0,0,(0,m.Ue)())),o.level=e,o.row=Math.floor((this.origin.y-i)/a+.001),o.col=Math.floor((l-this.origin.x)/n+.001),this.updateTileInfo(o),o}updateTileInfo(e,t=o.ExtrapolateOptions.NONE){let r=this.lodAt(e.level);if(!r&&t===o.ExtrapolateOptions.POWER_OF_TWO){const t=this.lods[this.lods.length-1];t.level<e.level&&(r=t)}if(!r)return;const s=e.level-r.level,l=r.resolution*this.size[0]/2**s,i=r.resolution*this.size[1]/2**s;e.id=`${e.level}/${e.row}/${e.col}`,e.extent||(e.extent=(0,m.Ue)()),e.extent[0]=this.origin.x+e.col*l,e.extent[1]=this.origin.y-(e.row+1)*i,e.extent[2]=e.extent[0]+l,e.extent[3]=e.extent[1]+i}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const r=this.lodAt(t.level);if(null==r)return null;const{resolution:o}=r,s=o*this.size[0],l=o*this.size[1];return e[0]=this.origin.x+t.col*s,e[1]=this.origin.y-(t.row+1)*l,e[2]=e[0]+s,e[3]=e[1]+l,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return o.fromJSON(this.write({}))}getOrCreateCompatible(e,t){if(256===this.size[0]&&256===this.size[1])return 256===e?this:null;const r=[],s=this.lods.length;for(let e=0;e<s;e++){const o=this.lods[e],s=o.resolution*t;r.push(new v.Z({level:o.level,scale:o.scale,resolution:s}))}return new o({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:r})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let r=0;r<e.length;r++){const o=e[r];this._upsampleLevels[o.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/o.resolution:0},t=o}}};var T,I;(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],_.prototype,"compressionQuality",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],_.prototype,"dpi",void 0),(0,s._)([(0,a.Cb)({type:String,json:{read:b.read,write:b.write,origins:{"web-scene":{read:!1,write:!1}}}})],_.prototype,"format",void 0),(0,s._)([(0,a.Cb)({readOnly:!0})],_.prototype,"isWrappable",null),(0,s._)([(0,a.Cb)({type:c.Z,json:{write:!0}})],_.prototype,"origin",void 0),(0,s._)([(0,h.r)("origin")],_.prototype,"readOrigin",null),(0,s._)([(0,a.Cb)({type:[v.Z],value:null,json:{write:!0}})],_.prototype,"lods",null),(0,s._)([(0,a.Cb)({readOnly:!0})],_.prototype,"scales",void 0),(0,s._)([(0,a.Cb)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],_.prototype,"size",void 0),(0,s._)([(0,h.r)("size",["rows","cols"])],_.prototype,"readSize",null),(0,s._)([(0,d.c)("size",{cols:{type:u.z8},rows:{type:u.z8}})],_.prototype,"writeSize",null),(0,s._)([(0,a.Cb)({type:y.Z,json:{write:!0}})],_.prototype,"spatialReference",void 0),_=o=(0,s._)([(0,p.j)("esri.layers.support.TileInfo")],_),T=_||(_={}),(I=T.ExtrapolateOptions||(T.ExtrapolateOptions={}))[I.NONE=0]="NONE",I[I.POWER_OF_TWO=1]="POWER_OF_TWO";const C=_},43077:(e,t,r)=>{r.d(t,{f:()=>o});class o{constructor(e,t,r,o,s=void 0){this.id=e,this.level=t,this.row=r,this.col=o,this.extent=s}}},5833:(e,t,r)=>{r.d(t,{B:()=>u});var o,s=r(43697),l=r(96674),i=r(22974),n=r(5600),a=(r(75215),r(52011));let u=o=class extends l.wq{constructor(e){super(e)}clone(){return new o({customLayerParameters:(0,i.d9)(this.customLayerParameters),customParameters:(0,i.d9)(this.customParameters),layerIdentifier:this.layerIdentifier,tileMatrixSet:this.tileMatrixSet,url:this.url})}};(0,s._)([(0,n.Cb)({json:{type:Object,write:!0}})],u.prototype,"customLayerParameters",void 0),(0,s._)([(0,n.Cb)({json:{type:Object,write:!0}})],u.prototype,"customParameters",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"layerIdentifier",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"tileMatrixSet",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"url",void 0),u=o=(0,s._)([(0,a.j)("esri.layer.support.WMTSLayerInfo")],u)},90082:(e,t,r)=>{r.d(t,{V:()=>i,g:()=>l});var o=r(20102),s=r(95330);async function l(e,t,r){let l;try{l=await createImageBitmap(e)}catch(e){throw new o.Z("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,s.k_)(r),l}async function i(e,t,r,l,i){let n;try{n=await createImageBitmap(e)}catch(e){throw new o.Z("request:server",`Unable to load tile ${t}/${r}/${l}`,{error:e,level:t,row:r,col:l})}return(0,s.k_)(i),n}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6319],{7301:(t,e,n)=>{n.r(e),n.d(e,{registerFunctions:()=>c});var r=n(27535),o=n(77286),a=n(61363),i=n(53073),s=n(75148),h=n(9361),l=n(8667);function u(t){return t instanceof h.Z}function m(t,e,n,m){return m(t,e,(async(m,c,d)=>{if(d.length<2)throw new r.aV(t,r.rH.WrongNumberOfParameters,e);if(null===(d=(0,a.F)(d))[0]&&null===d[1])return!1;if((0,a.u)(d[0])){if(d[1]instanceof h.Z)return new i.Z({parentfeatureset:d[0],relation:n,relationGeom:d[1]});if(null===d[1])return new s.Z({parentfeatureset:d[0]});throw new r.aV(t,r.rH.InvalidParameter,e)}if(u(d[0])){if(u(d[1])){switch(n){case"esriSpatialRelEnvelopeIntersects":return(0,l.kK)((0,o.SV)(d[0]),(0,o.SV)(d[1]));case"esriSpatialRelIntersects":return(0,l.kK)(d[0],d[1]);case"esriSpatialRelContains":return(0,l.r3)(d[0],d[1]);case"esriSpatialRelOverlaps":return(0,l.Nm)(d[0],d[1]);case"esriSpatialRelWithin":return(0,l.uh)(d[0],d[1]);case"esriSpatialRelTouches":return(0,l.W4)(d[0],d[1]);case"esriSpatialRelCrosses":return(0,l.jU)(d[0],d[1])}throw new r.aV(t,r.rH.InvalidParameter,e)}if((0,a.u)(d[1]))return new i.Z({parentfeatureset:d[1],relation:n,relationGeom:d[0]});if(null===d[1])return!1;throw new r.aV(t,r.rH.InvalidParameter,e)}if(null!==d[0])throw new r.aV(t,r.rH.InvalidParameter,e);return(0,a.u)(d[1])?new s.Z({parentfeatureset:d[1]}):!(d[1]instanceof h.Z||null===d[1])&&void 0}))}function c(t){"async"===t.mode&&(t.functions.intersects=function(e,n){return m(e,n,"esriSpatialRelIntersects",t.standardFunctionAsync)},t.functions.envelopeintersects=function(e,n){return m(e,n,"esriSpatialRelEnvelopeIntersects",t.standardFunctionAsync)},t.signatures.push({name:"envelopeintersects",min:2,max:2}),t.functions.contains=function(e,n){return m(e,n,"esriSpatialRelContains",t.standardFunctionAsync)},t.functions.overlaps=function(e,n){return m(e,n,"esriSpatialRelOverlaps",t.standardFunctionAsync)},t.functions.within=function(e,n){return m(e,n,"esriSpatialRelWithin",t.standardFunctionAsync)},t.functions.touches=function(e,n){return m(e,n,"esriSpatialRelTouches",t.standardFunctionAsync)},t.functions.crosses=function(e,n){return m(e,n,"esriSpatialRelCrosses",t.standardFunctionAsync)},t.functions.relate=function(e,n){return t.standardFunctionAsync(e,n,((t,o,i)=>{if(i=(0,a.F)(i),(0,a.E)(i,3,3,e,n),u(i[0])&&u(i[1]))return(0,l.LV)(i[0],i[1],(0,a.j)(i[2]));if(i[0]instanceof h.Z&&null===i[1])return!1;if(i[1]instanceof h.Z&&null===i[0])return!1;if((0,a.u)(i[0])&&null===i[1])return new s.Z({parentfeatureset:i[0]});if((0,a.u)(i[1])&&null===i[0])return new s.Z({parentfeatureset:i[1]});if((0,a.u)(i[0])&&i[1]instanceof h.Z)return i[0].relate(i[1],(0,a.j)(i[2]));if((0,a.u)(i[1])&&i[0]instanceof h.Z)return i[1].relate(i[0],(0,a.j)(i[2]));if(null===i[0]&&null===i[1])return!1;throw new r.aV(e,r.rH.InvalidParameter,n)}))})}},90344:(t,e,n)=>{n.d(e,{Xr:()=>y,Ze:()=>S,f1:()=>T,p6:()=>w});var r=n(35454),o=n(70171),a=n(15512);n(17126);const i=Intl.DateTimeFormat().resolvedOptions().timeZone,s=(a.pt,{year:"numeric",month:"numeric",day:"numeric"}),h={year:"numeric",month:"long",day:"numeric"},l={year:"numeric",month:"short",day:"numeric"},u={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},c={...m,second:"numeric"},d={"short-date":s,"short-date-short-time":{...s,...m},"short-date-short-time-24":{...s,...m,hour12:!1},"short-date-long-time":{...s,...c},"short-date-long-time-24":{...s,...c,hour12:!1},"short-date-le":s,"short-date-le-short-time":{...s,...m},"short-date-le-short-time-24":{...s,...m,hour12:!1},"short-date-le-long-time":{...s,...c},"short-date-le-long-time-24":{...s,...c,hour12:!1},"long-month-day-year":h,"long-month-day-year-short-time":{...h,...m},"long-month-day-year-short-time-24":{...h,...m,hour12:!1},"long-month-day-year-long-time":{...h,...c},"long-month-day-year-long-time-24":{...h,...c,hour12:!1},"day-short-month-year":l,"day-short-month-year-short-time":{...l,...m},"day-short-month-year-short-time-24":{...l,...m,hour12:!1},"day-short-month-year-long-time":{...l,...c},"day-short-month-year-long-time-24":{...l,...c,hour12:!1},"long-date":u,"long-date-short-time":{...u,...m},"long-date-short-time-24":{...u,...m,hour12:!1},"long-date-long-time":{...u,...c},"long-date-long-time-24":{...u,...c,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":c},y=(0,r.w)()({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"}),g={ar:"ar-u-nu-latn-ca-gregory"};let f=new WeakMap;const p=d["short-date-short-time"];function S(t){return d[t]}function w(t,e=p){return function(t){let e=f.get(t);if(!e){const n=(0,o.Kd)(),r=g[n]||n,i=T(t.timeZone??a.By),s={...t,timeZone:i};e=new Intl.DateTimeFormat(r,s),f.set(t,e)}return e}(e).format(t)}function T(t){switch(t){case a.By:return i;case a._4:return a.pt;default:return t}}(0,o.Ze)((()=>{f=new WeakMap}))}
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6319],{7301:(t,e,n)=>{n.r(e),n.d(e,{registerFunctions:()=>c});var r=n(27535),o=n(77286),a=n(61363),i=n(53073),s=n(75148),h=n(9361),l=n(8667);function u(t){return t instanceof h.Z}function m(t,e,n,m){return m(t,e,(async(m,c,d)=>{if(d.length<2)throw new r.aV(t,r.rH.WrongNumberOfParameters,e);if(null===(d=(0,a.F)(d))[0]&&null===d[1])return!1;if((0,a.u)(d[0])){if(d[1]instanceof h.Z)return new i.Z({parentfeatureset:d[0],relation:n,relationGeom:d[1]});if(null===d[1])return new s.Z({parentfeatureset:d[0]});throw new r.aV(t,r.rH.InvalidParameter,e)}if(u(d[0])){if(u(d[1])){switch(n){case"esriSpatialRelEnvelopeIntersects":return(0,l.kK)((0,o.SV)(d[0]),(0,o.SV)(d[1]));case"esriSpatialRelIntersects":return(0,l.kK)(d[0],d[1]);case"esriSpatialRelContains":return(0,l.r3)(d[0],d[1]);case"esriSpatialRelOverlaps":return(0,l.Nm)(d[0],d[1]);case"esriSpatialRelWithin":return(0,l.uh)(d[0],d[1]);case"esriSpatialRelTouches":return(0,l.W4)(d[0],d[1]);case"esriSpatialRelCrosses":return(0,l.jU)(d[0],d[1])}throw new r.aV(t,r.rH.InvalidParameter,e)}if((0,a.u)(d[1]))return new i.Z({parentfeatureset:d[1],relation:n,relationGeom:d[0]});if(null===d[1])return!1;throw new r.aV(t,r.rH.InvalidParameter,e)}if(null!==d[0])throw new r.aV(t,r.rH.InvalidParameter,e);return(0,a.u)(d[1])?new s.Z({parentfeatureset:d[1]}):!(d[1]instanceof h.Z||null===d[1])&&void 0}))}function c(t){"async"===t.mode&&(t.functions.intersects=function(e,n){return m(e,n,"esriSpatialRelIntersects",t.standardFunctionAsync)},t.functions.envelopeintersects=function(e,n){return m(e,n,"esriSpatialRelEnvelopeIntersects",t.standardFunctionAsync)},t.signatures.push({name:"envelopeintersects",min:2,max:2}),t.functions.contains=function(e,n){return m(e,n,"esriSpatialRelContains",t.standardFunctionAsync)},t.functions.overlaps=function(e,n){return m(e,n,"esriSpatialRelOverlaps",t.standardFunctionAsync)},t.functions.within=function(e,n){return m(e,n,"esriSpatialRelWithin",t.standardFunctionAsync)},t.functions.touches=function(e,n){return m(e,n,"esriSpatialRelTouches",t.standardFunctionAsync)},t.functions.crosses=function(e,n){return m(e,n,"esriSpatialRelCrosses",t.standardFunctionAsync)},t.functions.relate=function(e,n){return t.standardFunctionAsync(e,n,((t,o,i)=>{if(i=(0,a.F)(i),(0,a.E)(i,3,3,e,n),u(i[0])&&u(i[1]))return(0,l.LV)(i[0],i[1],(0,a.j)(i[2]));if(i[0]instanceof h.Z&&null===i[1])return!1;if(i[1]instanceof h.Z&&null===i[0])return!1;if((0,a.u)(i[0])&&null===i[1])return new s.Z({parentfeatureset:i[0]});if((0,a.u)(i[1])&&null===i[0])return new s.Z({parentfeatureset:i[1]});if((0,a.u)(i[0])&&i[1]instanceof h.Z)return i[0].relate(i[1],(0,a.j)(i[2]));if((0,a.u)(i[1])&&i[0]instanceof h.Z)return i[1].relate(i[0],(0,a.j)(i[2]));if(null===i[0]&&null===i[1])return!1;throw new r.aV(e,r.rH.InvalidParameter,n)}))})}},90344:(t,e,n)=>{n.d(e,{Xr:()=>y,Ze:()=>S,f1:()=>T,p6:()=>w});var r=n(35454),o=n(70171),a=n(15512);n(17126);const i=Intl.DateTimeFormat().resolvedOptions().timeZone,s=(a.pt,{year:"numeric",month:"numeric",day:"numeric"}),h={year:"numeric",month:"long",day:"numeric"},l={year:"numeric",month:"short",day:"numeric"},u={year:"numeric",month:"long",weekday:"long",day:"numeric"},m={hour:"numeric",minute:"numeric"},c={...m,second:"numeric"},d={"short-date":s,"short-date-short-time":{...s,...m},"short-date-short-time-24":{...s,...m,hour12:!1},"short-date-long-time":{...s,...c},"short-date-long-time-24":{...s,...c,hour12:!1},"short-date-le":s,"short-date-le-short-time":{...s,...m},"short-date-le-short-time-24":{...s,...m,hour12:!1},"short-date-le-long-time":{...s,...c},"short-date-le-long-time-24":{...s,...c,hour12:!1},"long-month-day-year":h,"long-month-day-year-short-time":{...h,...m},"long-month-day-year-short-time-24":{...h,...m,hour12:!1},"long-month-day-year-long-time":{...h,...c},"long-month-day-year-long-time-24":{...h,...c,hour12:!1},"day-short-month-year":l,"day-short-month-year-short-time":{...l,...m},"day-short-month-year-short-time-24":{...l,...m,hour12:!1},"day-short-month-year-long-time":{...l,...c},"day-short-month-year-long-time-24":{...l,...c,hour12:!1},"long-date":u,"long-date-short-time":{...u,...m},"long-date-short-time-24":{...u,...m,hour12:!1},"long-date-long-time":{...u,...c},"long-date-long-time-24":{...u,...c,hour12:!1},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":m,"long-time":c},y=(0,r.w)()({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"}),g={ar:"ar-u-nu-latn-ca-gregory"};let f=new WeakMap;const p=d["short-date-short-time"];function S(t){return d[t]}function w(t,e=p){return function(t){let e=f.get(t);if(!e){const n=(0,o.Kd)(),r=g[n]||n,i=T(t.timeZone??a.By),s={...t,timeZone:i};e=new Intl.DateTimeFormat(r,s),f.set(t,e)}return e}(e).format(t)}function T(t){switch(t){case a.By:return i;case a._4:return a.pt;default:return t}}(0,o.Ze)((()=>{f=new WeakMap}))}}]);
|