@arcgis/core 5.0.0-next.45 → 5.0.0-next.46
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/063045ac5553e91c0c4c.js +1 -0
- package/assets/esri/core/workers/chunks/{20ad34f9d45c64392022.js → 08c1ea29678da27136f3.js} +1 -1
- package/assets/esri/core/workers/chunks/{5dc2f2e28c30386efadf.js → 10094eb2b94e98dd4a8a.js} +1 -1
- package/assets/esri/core/workers/chunks/169be08394c5e7703628.js +1 -0
- package/assets/esri/core/workers/chunks/1a6f3531ef3d671e0289.js +1 -0
- package/assets/esri/core/workers/chunks/{b809d499ff050976d9ed.js → 1c58064ea80e6a4a4a3b.js} +1 -1
- package/assets/esri/core/workers/chunks/1c816aff8613d1e4bf38.js +1 -0
- package/assets/esri/core/workers/chunks/{ee67c8a7c1f8b482cd99.js → 1ced78750c61600b2d4e.js} +1 -1
- package/assets/esri/core/workers/chunks/{98175b454e807b1a3c5f.js → 1e152a34e368bd810a0f.js} +1 -1
- package/assets/esri/core/workers/chunks/1e17ad6cdffa5016a3db.js +1 -0
- package/assets/esri/core/workers/chunks/1e2d42e9984ed3437ba2.js +1 -0
- package/assets/esri/core/workers/chunks/2008b22f76071a2dde4e.js +1 -0
- package/assets/esri/core/workers/chunks/2107c93d1fe87f3b8dfa.js +1 -0
- package/assets/esri/core/workers/chunks/2209550b6510e25da375.js +1 -0
- package/assets/esri/core/workers/chunks/229e1ed4282005aa0b83.js +1 -0
- package/assets/esri/core/workers/chunks/22b8eaa6afab0e5ffc47.js +1 -0
- package/assets/esri/core/workers/chunks/{1c0fb4795a52204882a8.js → 2550d2ba935cfdf30236.js} +1 -1
- package/assets/esri/core/workers/chunks/{49e6219dd08cb6c27023.js → 273ac1066095d63d6a6f.js} +1 -1
- package/assets/esri/core/workers/chunks/2e2867bc66c94aba7dc7.js +1 -0
- package/assets/esri/core/workers/chunks/{cda5c95fd49b8901f7d4.js → 3298e96d3f2e49e338d2.js} +1 -1
- package/assets/esri/core/workers/chunks/34613b288cf174983f8b.js +1 -0
- package/assets/esri/core/workers/chunks/{e5baa30944061418cb13.js → 35f086a2ae0585348ae6.js} +1 -1
- package/assets/esri/core/workers/chunks/{f441fc74451330384fb0.js → 37ea150dec5e491f691e.js} +1 -1
- package/assets/esri/core/workers/chunks/3c94db7ecdcd38eeb1b1.js +1 -0
- package/assets/esri/core/workers/chunks/3f7749f06ae54a4437d9.js +1 -0
- package/assets/esri/core/workers/chunks/40a722933af28823953b.js +1 -0
- package/assets/esri/core/workers/chunks/{7aa730e5ac7b268e3c98.js → 424daef7b5dec1b99aba.js} +1 -1
- package/assets/esri/core/workers/chunks/456684b1c1417ed0e611.js +1 -0
- package/assets/esri/core/workers/chunks/{d14e75b160aa432233c6.js → 461093ce28ceadd7853d.js} +1 -1
- package/assets/esri/core/workers/chunks/4a48b8ec5f3f2fd139b5.js +1 -0
- package/assets/esri/core/workers/chunks/4b084f985bc4100e7aec.js +1 -0
- package/assets/esri/core/workers/chunks/4b1de1fcd13677b615a8.js +1 -0
- package/assets/esri/core/workers/chunks/{31186e83fe009aa0fd36.js → 4d933de84afb2e3b7d18.js} +1 -1
- package/assets/esri/core/workers/chunks/{83aa39fbb1fad3b9d143.js → 4ff771942531fb2755c4.js} +1 -1
- package/assets/esri/core/workers/chunks/{e0017c6739d2532793e6.js → 513a4ef960e27500f986.js} +1 -1
- package/assets/esri/core/workers/chunks/56b693baa376bb990925.js +1 -0
- package/assets/esri/core/workers/chunks/{1d4ea8db272655c0608c.js → 57fd5e1260269002d18a.js} +1 -1
- package/assets/esri/core/workers/chunks/5fe40bb0e9ab333f6854.js +1 -0
- package/assets/esri/core/workers/chunks/{b56c07c0b43cb1999070.js → 60362c5651ef41fa7e5f.js} +1 -1
- package/assets/esri/core/workers/chunks/{e8a9971c8354569cb81d.js → 609919428305d8c8c243.js} +1 -1
- package/assets/esri/core/workers/chunks/{ab88577987cf2fe1cb32.js → 61373d2fa7e7638d3395.js} +1 -1
- package/assets/esri/core/workers/chunks/6202922b1c2637e9aaa5.js +1 -0
- package/assets/esri/core/workers/chunks/633368ae6fbb46373328.js +1 -0
- package/assets/esri/core/workers/chunks/6d702cb26cef46a76963.js +1 -0
- package/assets/esri/core/workers/chunks/{35272810c2ed04eb403d.js → 6f3943bebe2d5f4994f7.js} +1 -1
- package/assets/esri/core/workers/chunks/708aba69a1870ea41a61.js +1 -0
- package/assets/esri/core/workers/chunks/{7ba13b52fce1060fbb2a.js → 7147fc7502b385b302b2.js} +1 -1
- package/assets/esri/core/workers/chunks/{9ba8a2e1c0fb4e1efc7c.js → 7364fb5e99933533890d.js} +1 -1
- package/assets/esri/core/workers/chunks/74b1028e95f7cfff387b.js +1 -0
- package/assets/esri/core/workers/chunks/78fccea3445fb2f9120a.js +1 -0
- package/assets/esri/core/workers/chunks/7ba31425caa404f86424.js +1 -0
- package/assets/esri/core/workers/chunks/{040f3d8e1099c4843390.js → 81a60dfa600b690098f9.js} +1 -1
- package/assets/esri/core/workers/chunks/833fd2bc42c5cb459084.js +1 -0
- package/assets/esri/core/workers/chunks/{75643711d9585ee26a15.js → 83c8e5a92d8d6193cb32.js} +1 -1
- package/assets/esri/core/workers/chunks/{e537e1d37f3fcb14fce2.js → 870022661376442411e4.js} +1 -1
- package/assets/esri/core/workers/chunks/898ab7db220e81e921c6.js +1 -0
- package/assets/esri/core/workers/chunks/{31b074ae2162a3508d2a.js → 8b578ffc3a83089aa782.js} +1 -1
- package/assets/esri/core/workers/chunks/{48c8ef4170e803a564d6.js → 8b75861196d1ce5cba63.js} +1 -1
- package/assets/esri/core/workers/chunks/8be61e13530fd0dc2fd1.js +1 -0
- package/assets/esri/core/workers/chunks/90b8ccee883738917a6d.js +1 -0
- package/assets/esri/core/workers/chunks/90bc9c299ae0e8b8b5e5.js +1 -0
- package/assets/esri/core/workers/chunks/91d9ade78854f40a962d.js +1 -0
- package/assets/esri/core/workers/chunks/{74881340e040bfd0580f.js → 934bc1028b287f8df4aa.js} +1 -1
- package/assets/esri/core/workers/chunks/96055de47831e59a28bf.js +1 -0
- package/assets/esri/core/workers/chunks/963ba863e0f87abfca25.js +1 -0
- package/assets/esri/core/workers/chunks/9aa8d60483ad905fe13b.js +1 -0
- package/assets/esri/core/workers/chunks/9fed9946241bb2a5cfa4.js +1 -0
- package/assets/esri/core/workers/chunks/a2662e98857f0abf8e82.js +1 -0
- package/assets/esri/core/workers/chunks/a5a9b0a35849b9f2e86d.js +1 -0
- package/assets/esri/core/workers/chunks/a60006c9ccf6817fc0d2.js +1 -0
- package/assets/esri/core/workers/chunks/a627b7eb94b7fca33210.js +1 -0
- package/assets/esri/core/workers/chunks/a651dc3b8f1fc1ab34cc.js +1 -0
- package/assets/esri/core/workers/chunks/{bf5f9da0837ed09729c6.js → aab93e885b6c7c6aa76e.js} +1 -1
- package/assets/esri/core/workers/chunks/adfe28c1c1619cdd3ca1.js +1019 -0
- package/assets/esri/core/workers/chunks/b88dc7d8ae105747e6a4.js +1 -0
- package/assets/esri/core/workers/chunks/b90c786dd474ea1a409c.js +1 -0
- package/assets/esri/core/workers/chunks/b92e9e5df8154a128982.js +1 -0
- package/assets/esri/core/workers/chunks/{9a855a10798348a21bab.js → bff814d34b38ec80c44d.js} +1 -1
- package/assets/esri/core/workers/chunks/c36d699a75b6e8fb93eb.js +1 -0
- package/assets/esri/core/workers/chunks/c50fdf723f2d4316862e.js +1 -0
- package/assets/esri/core/workers/chunks/{9461cc37ab3397265270.js → c5e8ff4721b15ac3c6eb.js} +1 -1
- package/assets/esri/core/workers/chunks/{4cda42b94e9cb58dd372.js → ca61077e0a598654f33f.js} +1 -1
- package/assets/esri/core/workers/chunks/{61a9ffd4cf07d8bb7a9b.js → ca81be5bdb88ef557bf3.js} +1 -1
- package/assets/esri/core/workers/chunks/{ca1c65eb7f5900c60170.js → cd8fec3500e6503ae020.js} +1 -1
- package/assets/esri/core/workers/chunks/ce90e8489143228262e7.js +1 -0
- package/assets/esri/core/workers/chunks/d0320ca67abca4f8b0d2.js +1 -0
- package/assets/esri/core/workers/chunks/{4b6a44c6265c8959abd8.js → d3db7244fac7398cc700.js} +1 -1
- package/assets/esri/core/workers/chunks/{19820cddba13a3585c0b.js → d561624ddb9388732b25.js} +1 -1
- package/assets/esri/core/workers/chunks/d65ca3b8fccae8c3c3fa.js +1 -0
- package/assets/esri/core/workers/chunks/{630eba99f48ea79a9560.js → d705410c369bd03b1875.js} +1 -1
- package/assets/esri/core/workers/chunks/{9c7682b300b877f60095.js → d76513a6260d9ec4ea25.js} +1 -1
- package/assets/esri/core/workers/chunks/d82e17522ed946c2d809.js +1 -0
- package/assets/esri/core/workers/chunks/d8dc130ea559be1f68c6.js +1 -0
- package/assets/esri/core/workers/chunks/{768ae52b4e5c3e571ef5.js → dc29cb16704e2e4d0a46.js} +1 -1
- package/assets/esri/core/workers/chunks/e8c2e2fbe9cef4c8a8c6.js +1 -0
- package/assets/esri/core/workers/chunks/{3f33708eb39c7169a226.js → f2ba50eb29f93df885d6.js} +1 -1
- package/assets/esri/core/workers/chunks/{6e5d41f51572e3e7cf92.js → f7163048146ddaedfc36.js} +1 -1
- package/assets/esri/core/workers/chunks/fdaa10a588db394e2f65.js +1 -0
- package/chunks/Laserlines.glsl.js +1 -1
- package/chunks/boundedPlane.js +1 -1
- package/chunks/cameraUtilsSpherical.js +1 -1
- package/chunks/vec32.js +1 -1
- package/config.js +1 -1
- package/core/libs/gl-matrix-2/math/quat.js +1 -1
- package/core/libs/gl-matrix-2/math/vec3.js +1 -1
- package/geometry/FlatGeometry.js +1 -1
- package/geometry/operators/support/apiConverter.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/geometry/support/curves/circleUtils.js +1 -1
- package/geometry/support/lineSegment.js +1 -1
- package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
- package/geometry/support/meshUtils/merge.js +1 -1
- package/geometry/support/sphere.js +1 -1
- package/interfaces.d.ts +122 -14
- package/kernel.js +1 -1
- package/layers/VoxelWasmPerSceneView.js +1 -1
- package/layers/orientedImagery/transformations/worldToImage.js +1 -1
- package/layers/support/tiles3DUtils.js +1 -1
- package/layers/voxel/VoxelVolume.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/effects/EffectSuppress.js +1 -1
- package/views/2d/interactive/SegmentLabels2D.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightIntersectionResult.js +1 -1
- package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedScaleOrientManipulation.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
- package/views/3d/animation/pointToPoint/Camera.js +1 -1
- package/views/3d/camera/constraintUtils/distance.js +1 -1
- package/views/3d/camera/constraintUtils/tilt.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/CloudsParameters.js +1 -1
- package/views/3d/environment/EnvironmentManager.js +1 -1
- package/views/3d/environment/MarsAtmosphere.js +1 -1
- package/views/3d/glTF/internal/Resource.js +1 -1
- package/views/3d/glTF/loader.js +1 -1
- package/views/3d/interactive/SegmentLabels3D.js +1 -1
- package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
- package/views/3d/interactive/editingTools/media/MediaElementManipulator3D.js +1 -1
- package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFrustumVisibility.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/ObjectResourceCache.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
- package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
- package/views/3d/layers/support/FeatureTileMeasurements3D.js +1 -1
- package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
- package/views/3d/state/Frustum.js +1 -1
- package/views/3d/state/controllers/FovController.js +1 -1
- package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
- package/views/3d/state/controllers/momentum/ZoomPlanarMomentumController.js +1 -1
- package/views/3d/support/FrustumExtentIntersection.js +1 -1
- package/views/3d/support/cameraUtils.js +1 -1
- package/views/3d/support/intersectionUtils.js +1 -1
- package/views/3d/support/orientedBoundingBox.js +1 -1
- package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/Focus.js +1 -1
- package/views/3d/support/viewpointUtils.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/terrain/PatchRenderData.js +1 -1
- package/views/3d/terrain/SphericalPatch.js +1 -1
- package/views/3d/terrain/Tile.js +1 -1
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl-engine/core/FBOCache.js +1 -1
- package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Object3D.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/edgePreprocessing.js +1 -1
- package/views/3d/webgl-engine/lib/geometryDataUtils.js +1 -1
- package/views/3d/webgl-engine/lib/triangleIntersectionUtils.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/pbrUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +1 -1
- package/views/draw/support/Reshape.js +1 -1
- package/views/interactive/GraphicManipulator.js +1 -1
- package/views/interactive/coordinateHelper.js +1 -1
- package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
- package/views/interactive/sketch/constraints.js +1 -1
- package/views/interactive/snapping/featureSources/sceneLayerSource/SceneLayerSnappingSourceWorker.js +1 -1
- package/views/interactive/snapping/featureSources/sceneLayerSource/sceneLayerSnappingUtils.js +1 -1
- package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
- package/views/interactive/tooltip/tooltipCommonUtils.js +1 -1
- package/views/navigation/PanSphericalMomentumEstimator.js +1 -1
- package/views/support/euclideanAreaMeasurementUtils.js +1 -1
- package/views/support/euclideanLengthMeasurementUtils.js +1 -1
- package/views/support/geometry3dUtils.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/css.js +1 -1
- package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.d.ts +4 -0
- package/widgets/BatchAttributeForm/inputs/SingleFeatureInput.js +5 -0
- package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +4 -0
- package/widgets/BatchAttributeForm/inputs/TextElementInput.js +5 -0
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
- package/widgets/BatchAttributeForm/templates/GroupElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +5 -0
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/templateUtils.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/FeatureForm/TextElementInput.d.ts +2 -2
- package/widgets/PanoramicViewer/PanoramicVideoViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer/PanoramicZoomManager.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicMedia.js +5 -0
- package/widgets/PanoramicViewer/support/PanoramicMediaCollection.js +5 -0
- package/widgets/PanoramicViewer/support/PanoramicMediaError.js +5 -0
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/PanoramicViewer.js +1 -1
- package/assets/esri/core/workers/chunks/04a0685ee53ef74883aa.js +0 -1
- package/assets/esri/core/workers/chunks/1e0e7cef7ef947894bbe.js +0 -1019
- package/assets/esri/core/workers/chunks/20988e116f3723228f36.js +0 -1
- package/assets/esri/core/workers/chunks/2613e482450b57f2d4f5.js +0 -1
- package/assets/esri/core/workers/chunks/274f2b5e6dbc58505142.js +0 -1
- package/assets/esri/core/workers/chunks/27dfbe3d903b95d4c67a.js +0 -1
- package/assets/esri/core/workers/chunks/28a5a7c6b3d6902146f6.js +0 -1
- package/assets/esri/core/workers/chunks/2c4218306747f5d15575.js +0 -1
- package/assets/esri/core/workers/chunks/2db7a7607657f1d669f7.js +0 -1
- package/assets/esri/core/workers/chunks/3767617c0dfc7d801441.js +0 -1
- package/assets/esri/core/workers/chunks/44b6b7418cbf7f778bef.js +0 -1
- package/assets/esri/core/workers/chunks/4675ed3ca3e0104d00bf.js +0 -1
- package/assets/esri/core/workers/chunks/4df7cc3477bc46fc39af.js +0 -1
- package/assets/esri/core/workers/chunks/538ddb267aa328814865.js +0 -1
- package/assets/esri/core/workers/chunks/555a0ea44ba77819d493.js +0 -1
- package/assets/esri/core/workers/chunks/55818fe7a7aa1e5c8bbd.js +0 -1
- package/assets/esri/core/workers/chunks/5f781ef46ce7c4048c2f.js +0 -1
- package/assets/esri/core/workers/chunks/60f2de8dd8876bfd715a.js +0 -1
- package/assets/esri/core/workers/chunks/679088064420a906aa7f.js +0 -1
- package/assets/esri/core/workers/chunks/706423d801fa9cbf2e90.js +0 -1
- package/assets/esri/core/workers/chunks/71dd80231ea656a6380c.js +0 -1
- package/assets/esri/core/workers/chunks/725819839434c59102f3.js +0 -1
- package/assets/esri/core/workers/chunks/72cebf18da5ec5eeb666.js +0 -1
- package/assets/esri/core/workers/chunks/768d9b6eaba7bfa18dde.js +0 -1
- package/assets/esri/core/workers/chunks/77b45957cfe42523c1c8.js +0 -1
- package/assets/esri/core/workers/chunks/852de585a72d902344a6.js +0 -1
- package/assets/esri/core/workers/chunks/871dd5e1f016a04b8d98.js +0 -1
- package/assets/esri/core/workers/chunks/892c417f5130b003889d.js +0 -1
- package/assets/esri/core/workers/chunks/907083c427d7fb4354e9.js +0 -1
- package/assets/esri/core/workers/chunks/93c5f097bb7b380bb175.js +0 -1
- package/assets/esri/core/workers/chunks/9f0172b83f25ef5f8d40.js +0 -1
- package/assets/esri/core/workers/chunks/ae793d814cf32db9fbde.js +0 -1
- package/assets/esri/core/workers/chunks/b21cf62652ca772108c8.js +0 -1
- package/assets/esri/core/workers/chunks/c5c02ace54fe4ab9214b.js +0 -1
- package/assets/esri/core/workers/chunks/c82a974c8448407885e6.js +0 -1
- package/assets/esri/core/workers/chunks/d08ee45c501102deea20.js +0 -1
- package/assets/esri/core/workers/chunks/d239a4ef60e348cfb05a.js +0 -1
- package/assets/esri/core/workers/chunks/da2ba40bc017bff0fe49.js +0 -1
- package/assets/esri/core/workers/chunks/dc3a4ad62bc041a4f899.js +0 -1
- package/assets/esri/core/workers/chunks/e093e745708f722bc1b9.js +0 -1
- package/assets/esri/core/workers/chunks/e501d68a1464805c4b4e.js +0 -1
- package/assets/esri/core/workers/chunks/f3c232fc56a29d51196a.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2834,3169,8125],{7817:(e,t,n)=>{n.d(t,{e:()=>o,l:()=>a,s:()=>i});var r=n(86211),s=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,s.fromGeometry)(e).calculateLength2D();if(o&&n){const t=(0,s.getSpatialReference)(e);o=(0,r.PQ)(o,t,n)}return o}const i=!0,a=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},23346:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>r.e,supportsCurves:()=>r.s}),n(86211),n(78125);var r=n(7817)},69397:(e,t,n)=>{n.d(t,{$B:()=>s,Qf:()=>c,Qh:()=>a,RS:()=>o,ez:()=>f,lM:()=>i,qK:()=>l});var r=n(34275);function s(e){return 32+e.length}const o=16;function i(e){if(!e)return 0;let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=u(e[n],!1));return t}function a(e){if(!e)return 0;if("number"==typeof e[0])return c(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return h(e,8);let n=f;for(let r=0;r<t;r++)n+=u(e[r]);return n}(e);let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=u(e[n]));return t}function u(e,t=!0){switch(typeof e){case"object":return t?a(e):l;case"string":return s(e);case"number":return o;case"boolean":return 4;default:return 8}}function c(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+m:Array.isArray(t)?h(t,o):0:0),0)}function h(e,t){return f+e.length*t}const l=32,f=16,m=145},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>s});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class s extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>M,fromGeometry:()=>d,fromMultipoint:()=>x,fromPoint:()=>C,fromPolygon:()=>G,fromPolyline:()=>P,fromPolylineUsingImportOperator:()=>V,fromSpatialReference:()=>w,getSpatialReference:()=>p,toExtent:()=>Z,toGeometry:()=>v,toMultipoint:()=>R,toPoint:()=>A,toPolygon:()=>_,toPolyline:()=>b});var r=n(83661),s=(n(79187),n(55537)),o=n(95213),i=n(88885),a=n(5443),u=n(48526),c=n(86738),h=n(39829),l=n(82799),f=(n(90293),n(34772));const m="_gxVersion",g=2,y=1;function p(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function d(e){switch(e.type){case"point":return C(e);case"multipoint":return x(e);case"polyline":return P(e);case"polygon":return G(e);case"extent":return M(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function M(e){if(!e.getCacheValue(m)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(g,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(y,0,e.zmin,e.zmax),e.setCacheValue(m,t)}return e.getCacheValue(m)}function x(e){if(!e.getCacheValue(m)){const t=new i.M,n=new o.P,r=e.points,s=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,o=r.length;e<o;e++){const o=r[e];n.setXYCoords(o[0],o[1]),a&&n.setZ(o[2]??0),s&&n.setM(o[u]??NaN),t.add(n)}e.setCacheValue(m,t)}return e.getCacheValue(m)}function C(e){if(!e.getCacheValue(m)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(m,t)}return e.getCacheValue(m)}function G(e){if(!e.getCacheValue(m)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,o=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function P(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,o=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function V(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,o=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function w(e){return(0,f.fromSpatialReference)(e)}function v(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return A(e,t);case s.G.enumEnvelope:return Z(e,t);case s.G.enumMultiPoint:return R(e,t);case s.G.enumPolyline:return b(e,t);case s.G.enumPolygon:return _(e,t)}return null}function Z(e,t){if(e.isEmpty())return null;const n=new a.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(g,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(y,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(m,e),n}function R(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],a=new o.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const c=new u.A({hasM:r,hasZ:s,points:i,spatialReference:t});return c.setCacheValue(m,e),c}function A(e,t){if(e instanceof r.P)return new c.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new c.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(m,e),n}function _(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}function b(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}},92722:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(69397);class s{constructor(e=[],t=[],n=!1,r=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:e,coords:t,hasZ:n,hasM:r}){return new s(e,t,n||!1,r||!1)}static fromRect([e,t,n,r]){const o=n-e,i=r-t;return new s([5],[e,t,o,0,0,i,-o,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*t],o=this.coords[r*t+1];for(let i=1;i<n;i+=1){const n=r*(t+i),a=this.coords[n],u=this.coords[n+1];e+=-.5*(a-s)*(u+o),s=a,o=u}t+=n}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(t+s);e(this.coords[r],this.coords[r+1])}t+=r}}deltaDecode(){const e=this.clone(),{coords:t,lengths:n}=e;let r=0;const{stride:s}=this;for(const e of n){for(let n=1;n<e;n++){const e=s*(r+n);t[e]+=t[e-s],t[e+1]+=t[e+1-s]}r+=e}return e}clone(e){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:n,size:r}=this,o=this.coords.slice(0,r*n);return e?(e.set(o),new s(t,e)):new s(t,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const n=new Array(t*e);for(let t=0,r=0;t<n.length;t+=e)n[r++]=this.coords[t],n[r++]=this.coords[t+1];return new s(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6730],{8303:(e,t,r)=>{r.d(t,{A:()=>w});var i=r(31635),n=r(92602),s=r(70333),a=r(11254),o=r(60999),l=r(49186),u=r(53966),c=r(97768),h=r(74887),d=r(84952),p=r(91429),f=r(77548),g=r(20655),m=r(80812),y=r(41318),v=r(10407),M=r(36005),S=r(43937);const w=e=>{const t=e;let w=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,h.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,h.zf)(e)||u.A.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,h.QP)(e),!0)))}async setUserPrivileges(e,t){if(!n.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,h.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!s.id?.findCredential(this.url),n=e===r.id;if(n&&r.portal.user)return this._getUserPrivileges(r,i);let a,o;if(n)a=r.portal.url;else try{a=await(0,f.wI)(this.url,t)}catch(e){(0,h.QP)(e)}if(!a||!(0,d.b8)(a,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(s.id?.getCredential(`${a}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,h.QP)(e)}const l=!0,u=!1,c=!1;if(!o)return{features:{edit:l,fullEdit:u},content:{updateItem:c}};try{if(n?await r.reload():(r=new m.default({id:e,portal:{url:a}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,h.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,h.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=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=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,n=g.A.getDefault();if(n&&n.loaded&&(0,d.S8)(n.restUrl)===(0,d.S8)(i))return n.user;const l=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,o.Ke)((0,a.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?y.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&i&&!(0,d.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("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,i.Cg)([(0,p.MZ)({type:m.default})],w.prototype,"portalItem",null),(0,i.Cg)([(0,M.w)("web-document","portalItem",["itemId"])],w.prototype,"readPortalItem",null),(0,i.Cg)([(0,S.K)("web-document","portalItem",{itemId:{type:String}})],w.prototype,"writePortalItem",null),(0,i.Cg)([(0,p.MZ)({clonable:!1})],w.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasUpdateItemPrivileges",void 0),w=(0,i.Cg)([(0,p.$K)("esri.layers.mixins.PortalLayer")],w),w},x={credential:null,user:null}},10407:(e,t,r)=>{r.d(t,{It:()=>p,LG:()=>a,OM:()=>u,Sm:()=>c,Y:()=>o,bK:()=>l,mm:()=>d,sQ:()=>h});var i=r(91218),n=r(16930),s=r(28735);function a(e,t){if(!o(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function o(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return o(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?a(e,t):u(e,t)}async function h(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=n.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function p(e){const{portal:t,isOrgItem:r,itemControl:i}=e,n=t.user?.privileges;let s=!n||n.includes("features:user:edit"),a=!!r&&!!n?.includes("features:user:fullEdit");const o="update"===i||"admin"===i;return o?a=s=!0:a&&(s=!0),{features:{edit:s,fullEdit:a},content:{updateItem:o}}}},18768:(e,t,r)=>{r.d(t,{b:()=>o});var i=r(31635),n=r(53966),s=r(91429),a=r(60694);const o=e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,a.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,a.Jf)(e,n.A.getLogger(this)))}};return(0,i.Cg)([(0,s.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,s.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.ArcGISService")],r),r}},25036:(e,t,r)=>{r.d(t,{j:()=>s});var i=r(31635),n=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&function(e,t){e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale}(e,t.effectiveScaleRange);const r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,i.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,n.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}},36475:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var i=r(31635),n=r(11254),s=r(49186),a=r(53966),o=r(25728),l=r(74887),u=r(91429),c=r(5443),h=r(16930),d=r(4146),p=r(52136),f=r(18768),g=r(69208),m=r(16131),y=r(8303),v=r(25036),M=r(10873),S=r(88546),w=r(56776);let x=class extends((0,f.b)((0,m.q)((0,y.A)((0,v.j)((0,o.P)((0,g.d)((0,p.p)(d.A)))))))){constructor(e){super(e),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat",this.opacity=1,this.minScale=0,this.maxScale=0,this.url=null,this.rootTilesetJSON=null,this.fullExtent=new c.A(-180,-90,180,90,this.spatialReference),this.spatialReference=new h.A({wkid:4326,vcsWkid:115700}),this.esriCrsSpatialReference=null,this.esriCrsFullExtent=null}get supportedSpatialReferences(){return this.initialized&&this.esriCrsSpatialReference?[this.spatialReference,this.esriCrsSpatialReference]:[this.spatialReference]}get fullExtents(){return this.initialized&&this.esriCrsFullExtent?[this.fullExtent,this.esriCrsFullExtent]:[this.fullExtent]}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const t=null!=e?e.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("GaussianSplat"))return!0;throw new s.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service"})}},e)}catch(e){(0,l.QP)(e)}if(this.url){const e=(0,n.A)(this.url,{query:{...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{this.rootTilesetJSON=e.data;const t=(0,S._8)(this.rootTilesetJSON);this.fullExtent=(0,S.uB)(this.rootTilesetJSON,!1),this.spatialReference=this.fullExtent.spatialReference,t&&(this.esriCrsFullExtent=(0,S.uB)(this.rootTilesetJSON,!0),this.esriCrsSpatialReference=this.esriCrsFullExtent.spatialReference)},e=>{(0,l.QP)(e)});await e}}_validateElevationInfo(e){const t="Gaussian Splat layers";(0,w.XF)(a.A.getLogger(this),(0,w.B)(t,"absolute-height",e)),(0,w.XF)(a.A.getLogger(this),(0,w.tW)(t,e))}};(0,i.Cg)([(0,u.MZ)({type:["GaussianSplatLayer"]})],x.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],x.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],x.prototype,"opacity",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],x.prototype,"minScale",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],x.prototype,"maxScale",void 0),(0,i.Cg)([(0,u.MZ)(M.OZ)],x.prototype,"url",void 0),(0,i.Cg)([(0,u.MZ)({type:c.A})],x.prototype,"fullExtent",void 0),(0,i.Cg)([(0,u.MZ)({type:h.A})],x.prototype,"spatialReference",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],x.prototype,"supportedSpatialReferences",null),(0,i.Cg)([(0,u.MZ)({type:[c.A]})],x.prototype,"fullExtents",null),(0,i.Cg)([(0,u.MZ)({type:["show","hide"]})],x.prototype,"listMode",void 0),(0,i.Cg)([(0,u.MZ)(M.Yj)],x.prototype,"elevationInfo",null),x=(0,i.Cg)([(0,u.$K)("esri.layers.GaussianSplatLayer")],x);const b=x},38954:(e,t,r)=>{r.d(t,{A:()=>c,B:()=>h,C:()=>v,D:()=>k,E:()=>S,F:()=>O,G:()=>K,H:()=>G,a:()=>T,b:()=>s,c:()=>y,d:()=>a,e:()=>u,f:()=>C,g:()=>_,h:()=>o,i:()=>l,j:()=>m,l:()=>A,m:()=>L,n:()=>b,o:()=>x,p:()=>E,q:()=>w,r:()=>I,s:()=>M,t:()=>R,u:()=>d,v:()=>j,w:()=>D,x:()=>g,y:()=>f,z:()=>p});var i=r(51850),n=r(34304);function s(e){const t=e[0],r=e[1],i=e[2];return Math.sqrt(t*t+r*r+i*i)}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(e,t,r,i){return e[0]=t,e[1]=r,e[2]=i,e}function l(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function h(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function p(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function g(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function m(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function y(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e[2]=t[2]+r[2]*i,e}function v(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+i*i+n*n)}function M(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return r*r+i*i+n*n}function S(e){const t=e[0],r=e[1],i=e[2];return t*t+r*r+i*i}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function b(e,t){const r=t[0],i=t[1],n=t[2];let s=r*r+i*i+n*n;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function C(e,t,r){const i=t[0],n=t[1],s=t[2],a=r[0],o=r[1],l=r[2];return e[0]=n*l-s*o,e[1]=s*a-i*l,e[2]=i*o-n*a,e}function A(e,t,r,i){const n=t[0],s=t[1],a=t[2];return e[0]=n+i*(r[0]-n),e[1]=s+i*(r[1]-s),e[2]=a+i*(r[2]-a),e}function E(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=r[0]*i+r[4]*n+r[8]*s+r[12],e[1]=r[1]*i+r[5]*n+r[9]*s+r[13],e[2]=r[2]*i+r[6]*n+r[10]*s+r[14],e}function R(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=i*r[0]+n*r[3]+s*r[6],e[1]=i*r[1]+n*r[4]+s*r[7],e[2]=i*r[2]+n*r[5]+s*r[8],e}function I(e,t,r){const i=r[0],n=r[1],s=r[2],a=r[3],o=t[0],l=t[1],u=t[2],c=n*u-s*l,h=s*o-i*u,d=i*l-n*o,p=n*d-s*h,f=s*c-i*d,g=i*h-n*c,m=2*a;return e[0]=o+c*m+2*p,e[1]=l+h*m+2*f,e[2]=u+d*m+2*g,e}const P=(0,i.vt)(),U=(0,i.vt)();function L(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const r=e[0],i=e[1],s=e[2],a=t[0],o=t[1],l=t[2],u=(0,n.FD)();return Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-o)<=u*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function k(e,t,r){const i=r[0]-t[0],n=r[1]-t[1],s=r[2]-t[2];let a=i*i+n*n+s*s;return a>0?(a=1/Math.sqrt(a),e[0]=i*a,e[1]=n*a,e[2]=s*a,e):(e[0]=0,e[1]=0,e[2]=0,e)}const T=u,H=c,Z=h,K=v,j=M,G=s,D=S;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:function(e,t){b(P,e),b(U,t);const r=_(P,U);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(e,t,r,i,n,s){const a=1-s,o=a*a,l=s*s,u=o*a,c=3*s*o,h=3*l*a,d=l*s;return e[0]=t[0]*u+r[0]*c+i[0]*h+n[0]*d,e[1]=t[1]*u+r[1]*c+i[1]*h+n[1]*d,e[2]=t[2]*u+r[2]*c+i[2]*h+n[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:a,cross:C,crossAndNormalize:function(e,t,r){const i=t[0],n=t[1],s=t[2],a=r[0],o=r[1],l=r[2],u=n*l-s*o,c=s*a-i*l,h=i*o-n*a,d=Math.sqrt(u*u+c*c+h*h);return e[0]=u/d,e[1]=c/d,e[2]=h/d,e},direction:k,dist:K,distance:v,div:Z,divide:h,dot:_,equals:O,exactEquals:L,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,i,n,s){const a=s*s,o=a*(2*s-3)+1,l=a*(s-2)+s,u=a*(s-1),c=a*(3-2*s);return e[0]=t[0]*o+r[0]*l+i[0]*u+n[0]*c,e[1]=t[1]*o+r[1]*l+i[1]*u+n[1]*c,e[2]=t[2]*o+r[2]*l+i[2]*u+n[2]*c,e},inverse:x,len:G,length:s,lerp:A,max:g,min:f,mul:H,multiply:c,negate:w,normalize:b,random:function(e,t=1){const r=n.Ov,i=2*r()*Math.PI,s=2*r()-1,a=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(i)*a,e[1]=Math.sin(i)*a,e[2]=s*t,e},rotateX:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0],s[1]=n[1]*Math.cos(i)-n[2]*Math.sin(i),s[2]=n[1]*Math.sin(i)+n[2]*Math.cos(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateY:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[2]*Math.sin(i)+n[0]*Math.cos(i),s[1]=n[1],s[2]=n[2]*Math.cos(i)-n[0]*Math.sin(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateZ:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0]*Math.cos(i)-n[1]*Math.sin(i),s[1]=n[0]*Math.sin(i)+n[1]*Math.cos(i),s[2]=n[2],e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:y,set:o,sign:p,sqrDist:j,sqrLen:D,squaredDistance:M,squaredLength:S,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:T,subtract:u,transformMat3:R,transformMat4:E,transformQuat:I},Symbol.toStringTag,{value:"Module"}))},52136:(e,t,r)=>{r.d(t,{p:()=>s});var i=r(31635),n=r(91429);const s=e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,n.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},54239:(e,t,r)=>{r.d(t,{A:()=>m});var i,n=r(31635),s=r(4576),a=r(66552),o=r(25482),l=r(86211),u=r(67076),c=r(91429),h=r(43937),d=r(36005);const p=(0,a.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),f=p.jsonValues.slice();(0,s.Xy)(f,"orthometric");const g=(0,a.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let m=i=class extends o.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return p.write(e,t,r)}readHeightModel(e,t,r){return p.read(e)||(r?.messages&&r.messages.push(function(e,t){return new u.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return g.read(e)||(r?.messages&&r.messages.push(y(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,l.LA)(e)||g.read(e)||(r?.messages&&r.messages.push(y(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,l.k1)(t);return new i({heightModel:e.heightModel,heightUnit:r??void 0,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function y(e,t){return new u.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,n.Cg)([(0,c.MZ)({type:p.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:f,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,n.Cg)([(0,h.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,n.Cg)([(0,d.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,n.Cg)([(0,c.MZ)({type:g.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g.jsonValues,write:{writer:g.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,n.Cg)([(0,d.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,n.Cg)([(0,d.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,n.Cg)([(0,c.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,n.Cg)([(0,d.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=i=(0,n.Cg)([(0,c.$K)("esri.geometry.HeightModelInfo")],m)},60999:(e,t,r)=>{r.d(t,{DZ:()=>f,Ke:()=>p,Tj:()=>c,UT:()=>g,aD:()=>y,jJ:()=>u});var i=r(31635),n=r(69622),s=r(97768),a=r(74887),o=r(10107),l=r(64108);function u(e,t,r){return(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))}async function c(e,t,r){return(await(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))).map(e=>e.value)}function h(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function p(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return h(await e)}catch(e){return d(e)}}async function f(e){try{return h(await e)}catch(e){return(0,a.QP)(e),d(e)}}function g(e,t){return new m(e,t)}let m=class extends n.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=h(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,a.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,o.MZ)()],m.prototype,"value",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"error",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"finished",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"promise",void 0),(0,i.Cg)([(0,o.MZ)()],m.prototype,"_result",void 0),m=(0,i.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],m);class y{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},69208:(e,t,r)=>{r.d(t,{d:()=>s});var i=r(31635),n=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,n.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},69540:(e,t,r)=>{r.d(t,{OU:()=>c,Pw:()=>h});var i=r(31635),n=r(69622),s=(r(44208),r(4718)),a=(r(53966),r(97768)),o=r(88620),l=r(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const r=e;let n=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,o.oY)(this);(0,a.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,i=t.store,n={},l=new Map;for(const t in r){const a=r[t],o=i?.originOf(t),u=a.clonable;if(a.readOnly||!1===u||7!==o&&0!==o&&5!==o&&4!==o)continue;const c=this[t];let h=null;if("function"==typeof u)h=u(c,e);else if("reference"===u)h=c;else if(h=(0,s.TU)(c,e),null!=c&&null==h)continue;0===o?l.set(t,h):n[t]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(l.size){const e=(0,o.oY)(u)?.store;if(e)for(const[t,r]of l)e.set(t,r,0)}return u}};return n=(0,i.Cg)([(0,l.$)("esri.core.Clonable")],n),n},h=c(n.A)},78553:(e,t,r)=>{r.d(t,{D:()=>s,p:()=>n});var i=r(56507);function n(e){const t=(0,i.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function s(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},88546:(e,t,r)=>{r.d(t,{_8:()=>f,uB:()=>g});var i=r(34727),n=r(38954),s=r(51850),a=r(73941),o=r(5443),l=r(54239),u=r(16930),c=r(9762);function h(e,t){if(!Array.isArray(e)||e.length<t)return!1;for(const t of e)if("number"!=typeof t)return!1;return!0}const d=7645211,p={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850};function f(e){return!(!(e.extensions?.ESRI_crs?.wkid||e.extensions?.ESRI_crs?.latestWkid||e.extensions?.ESRI_crs?.wkt)||!e.root?.extensions?.ESRI_crs?.boundingVolume?.box&&!e.root?.extensions?.ESRI_crs?.boundingVolume?.sphere)}function g(e,t=!1){let r=new u.A({wkid:4326,vcsWkid:115700}),l=e.root?.boundingVolume,f=!1,g=e?.root?.transform;if(t&&(e.extensions?.ESRI_crs?.wkid||e.extensions?.ESRI_crs?.latestWkid||e.extensions?.ESRI_crs?.wkt)&&(e.root?.extensions?.ESRI_crs?.boundingVolume?.box||e.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))r=new u.A(e.extensions?.ESRI_crs),l=e.root?.extensions?.ESRI_crs?.boundingVolume,g=e.root?.transform,f=!0;else if(!l)return new o.A(-180,-90,180,90,r);if(l.box){const e=l?.box;if(e[3]>d&&e[7]>d&&e[11]>d)return new o.A({...p,spatialReference:r})}const m=(0,s.vt)();if(!f&&l.region&&h(l.region,6)){const e=l.region,t=(0,i.KJ)(e[0]),n=(0,i.KJ)(e[1]),s=e[4],a=(0,i.KJ)(e[2]),u=(0,i.KJ)(e[3]),c=e[5];return new o.A({xmin:t,ymin:n,zmin:s,xmax:a,ymax:u,zmax:c,spatialReference:r})}if(l.sphere&&h(l.sphere,4)){const e=l.sphere,t=(0,s.fA)(e[0],e[1],e[2]),i=e[3]/Math.sqrt(3),d=(0,s.vt)();(0,n.e)(d,t,(0,s.fA)(i,i,i));const p=(0,s.vt)();if((0,n.i)(p,t,(0,s.fA)(i,i,i)),g&&h(g,16)){const e=g;(0,n.p)(m,d,e),(0,n.d)(d,m),(0,n.p)(m,p,e),(0,n.d)(p,m)}f||((0,c.projectBuffer)(d,a.Ro,0,d,u.A.WGS84,0),(0,c.projectBuffer)(p,a.Ro,0,p,u.A.WGS84,0));const y=(0,s.vt)(),v=(0,s.vt)();return(0,n.y)(y,d,p),(0,n.x)(v,d,p),new o.A({xmin:y[0],ymin:y[1],zmin:y[2],xmax:v[0],ymax:v[1],zmax:v[2],spatialReference:r})}if(l.box&&h(l.box,12)){const e=l.box,t=(0,s.fA)(e[0],e[1],e[2]),i=(0,s.fA)(e[3],e[4],e[5]),d=(0,s.fA)(e[6],e[7],e[8]),p=(0,s.fA)(e[9],e[10],e[11]),m=[];for(let e=0;e<8;++e)m.push((0,s.vt)());if((0,n.i)(m[0],t,i),(0,n.i)(m[0],m[0],d),(0,n.i)(m[0],m[0],p),(0,n.a)(m[1],t,i),(0,n.i)(m[1],m[1],d),(0,n.i)(m[1],m[1],p),(0,n.i)(m[2],t,i),(0,n.a)(m[2],m[2],d),(0,n.i)(m[2],m[2],p),(0,n.a)(m[3],t,i),(0,n.a)(m[3],m[3],d),(0,n.i)(m[3],m[3],p),(0,n.i)(m[4],t,i),(0,n.i)(m[4],m[4],d),(0,n.a)(m[4],m[4],p),(0,n.a)(m[5],t,i),(0,n.i)(m[5],m[5],d),(0,n.a)(m[5],m[5],p),(0,n.i)(m[6],t,i),(0,n.a)(m[6],m[6],d),(0,n.a)(m[6],m[6],p),(0,n.a)(m[7],t,i),(0,n.a)(m[7],m[7],d),(0,n.a)(m[7],m[7],p),g&&h(g,16)){const e=g;for(let t=0;t<8;++t)(0,n.p)(m[t],m[t],e)}const y=(0,s.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),v=(0,s.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let e=0;e<8;++e)f||(0,c.projectBuffer)(m[e],a.Ro,0,m[e],u.A.WGS84,0),(0,n.y)(v,v,m[e]),(0,n.x)(y,y,m[e]);return new o.A({xmin:v[0],ymin:v[1],zmin:v[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:r})}return new o.A(-180,-90,180,90,r)}new Map([[5773,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM96_Geoid"})],[3855,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM2008_Geoid"})],[115700,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"WGS_1984"})],[115701,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"ETRS_1989"})],[6360,new l.A({heightModel:"gravity-related-height",heightUnit:"us-feet",vertCRS:"NAVD88_height_(ftUS)"})],[7837,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"DHHN2016_(height) "})]])}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6730],{8303:(e,t,r)=>{r.d(t,{A:()=>w});var i=r(31635),n=r(92602),s=r(70333),a=r(11254),o=r(60999),l=r(49186),u=r(53966),c=r(97768),h=r(74887),d=r(84952),p=r(91429),f=r(77548),g=r(20655),m=r(80812),y=r(41318),v=r(10407),M=r(36005),S=r(43937);const w=e=>{const t=e;let w=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new m.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,h.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,h.zf)(e)||u.A.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,h.QP)(e),!0)))}async setUserPrivileges(e,t){if(!n.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,h.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!s.id?.findCredential(this.url),n=e===r.id;if(n&&r.portal.user)return this._getUserPrivileges(r,i);let a,o;if(n)a=r.portal.url;else try{a=await(0,f.wI)(this.url,t)}catch(e){(0,h.QP)(e)}if(!a||!(0,d.b8)(a,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(s.id?.getCredential(`${a}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,h.QP)(e)}const l=!0,u=!1,c=!1;if(!o)return{features:{edit:l,fullEdit:u},content:{updateItem:c}};try{if(n?await r.reload():(r=new m.default({id:e,portal:{url:a}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,h.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,v.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,h.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=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=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,n=g.A.getDefault();if(n&&n.loaded&&(0,d.S8)(n.restUrl)===(0,d.S8)(i))return n.user;const l=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,o.Ke)((0,a.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?y.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&i&&!(0,d.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("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,i.Cg)([(0,p.MZ)({type:m.default})],w.prototype,"portalItem",null),(0,i.Cg)([(0,M.w)("web-document","portalItem",["itemId"])],w.prototype,"readPortalItem",null),(0,i.Cg)([(0,S.K)("web-document","portalItem",{itemId:{type:String}})],w.prototype,"writePortalItem",null),(0,i.Cg)([(0,p.MZ)({clonable:!1})],w.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,readOnly:!0})],w.prototype,"userHasUpdateItemPrivileges",void 0),w=(0,i.Cg)([(0,p.$K)("esri.layers.mixins.PortalLayer")],w),w},x={credential:null,user:null}},10407:(e,t,r)=>{r.d(t,{It:()=>p,LG:()=>a,OM:()=>u,Sm:()=>c,Y:()=>o,bK:()=>l,mm:()=>d,sQ:()=>h});var i=r(91218),n=r(16930),s=r(28735);function a(e,t){if(!o(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function o(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return o(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?a(e,t):u(e,t)}async function h(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=n.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function p(e){const{portal:t,isOrgItem:r,itemControl:i}=e,n=t.user?.privileges;let s=!n||n.includes("features:user:edit"),a=!!r&&!!n?.includes("features:user:fullEdit");const o="update"===i||"admin"===i;return o?a=s=!0:a&&(s=!0),{features:{edit:s,fullEdit:a},content:{updateItem:o}}}},18768:(e,t,r)=>{r.d(t,{b:()=>o});var i=r(31635),n=r(53966),s=r(91429),a=r(60694);const o=e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,a.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,a.Jf)(e,n.A.getLogger(this)))}};return(0,i.Cg)([(0,s.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,s.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.ArcGISService")],r),r}},25036:(e,t,r)=>{r.d(t,{j:()=>s});var i=r(31635),n=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&function(e,t){e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale}(e,t.effectiveScaleRange);const r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,i.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,n.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}},36475:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var i=r(31635),n=r(11254),s=r(49186),a=r(53966),o=r(25728),l=r(74887),u=r(91429),c=r(5443),h=r(16930),d=r(4146),p=r(52136),f=r(18768),g=r(69208),m=r(16131),y=r(8303),v=r(25036),M=r(10873),S=r(88546),w=r(56776);let x=class extends((0,f.b)((0,m.q)((0,y.A)((0,v.j)((0,o.P)((0,g.d)((0,p.p)(d.A)))))))){constructor(e){super(e),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat",this.opacity=1,this.minScale=0,this.maxScale=0,this.url=null,this.rootTilesetJSON=null,this.fullExtent=new c.A(-180,-90,180,90,this.spatialReference),this.spatialReference=new h.A({wkid:4326,vcsWkid:115700}),this.esriCrsSpatialReference=null,this.esriCrsFullExtent=null}get supportedSpatialReferences(){return this.initialized&&this.esriCrsSpatialReference?[this.spatialReference,this.esriCrsSpatialReference]:[this.spatialReference]}get fullExtents(){return this.initialized&&this.esriCrsFullExtent?[this.fullExtent,this.esriCrsFullExtent]:[this.fullExtent]}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const t=null!=e?e.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("GaussianSplat"))return!0;throw new s.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service"})}},e)}catch(e){(0,l.QP)(e)}if(this.url){const e=(0,n.A)(this.url,{query:{...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{this.rootTilesetJSON=e.data;const t=(0,S._8)(this.rootTilesetJSON);this.fullExtent=(0,S.uB)(this.rootTilesetJSON,!1),this.spatialReference=this.fullExtent.spatialReference,t&&(this.esriCrsFullExtent=(0,S.uB)(this.rootTilesetJSON,!0),this.esriCrsSpatialReference=this.esriCrsFullExtent.spatialReference)},e=>{(0,l.QP)(e)});await e}}_validateElevationInfo(e){const t="Gaussian Splat layers";(0,w.XF)(a.A.getLogger(this),(0,w.B)(t,"absolute-height",e)),(0,w.XF)(a.A.getLogger(this),(0,w.tW)(t,e))}};(0,i.Cg)([(0,u.MZ)({type:["GaussianSplatLayer"]})],x.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],x.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],x.prototype,"opacity",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],x.prototype,"minScale",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],x.prototype,"maxScale",void 0),(0,i.Cg)([(0,u.MZ)(M.OZ)],x.prototype,"url",void 0),(0,i.Cg)([(0,u.MZ)({type:c.A})],x.prototype,"fullExtent",void 0),(0,i.Cg)([(0,u.MZ)({type:h.A})],x.prototype,"spatialReference",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],x.prototype,"supportedSpatialReferences",null),(0,i.Cg)([(0,u.MZ)({type:[c.A]})],x.prototype,"fullExtents",null),(0,i.Cg)([(0,u.MZ)({type:["show","hide"]})],x.prototype,"listMode",void 0),(0,i.Cg)([(0,u.MZ)(M.Yj)],x.prototype,"elevationInfo",null),x=(0,i.Cg)([(0,u.$K)("esri.layers.GaussianSplatLayer")],x);const b=x},38954:(e,t,r)=>{r.d(t,{A:()=>p,B:()=>c,C:()=>h,D:()=>v,E:()=>k,F:()=>S,G:()=>O,H:()=>K,a:()=>T,b:()=>s,c:()=>y,d:()=>a,e:()=>u,f:()=>C,g:()=>_,h:()=>o,i:()=>l,j:()=>m,l:()=>A,m:()=>L,n:()=>b,o:()=>x,p:()=>E,q:()=>w,r:()=>I,s:()=>M,t:()=>R,u:()=>G,v:()=>d,w:()=>j,x:()=>D,y:()=>g,z:()=>f});var i=r(51850),n=r(34304);function s(e){const t=e[0],r=e[1],i=e[2];return Math.sqrt(t*t+r*r+i*i)}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(e,t,r,i){return e[0]=t,e[1]=r,e[2]=i,e}function l(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function h(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function p(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function g(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function m(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function y(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e[2]=t[2]+r[2]*i,e}function v(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+i*i+n*n)}function M(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return r*r+i*i+n*n}function S(e){const t=e[0],r=e[1],i=e[2];return t*t+r*r+i*i}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function b(e,t){const r=t[0],i=t[1],n=t[2];let s=r*r+i*i+n*n;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function C(e,t,r){const i=t[0],n=t[1],s=t[2],a=r[0],o=r[1],l=r[2];return e[0]=n*l-s*o,e[1]=s*a-i*l,e[2]=i*o-n*a,e}function A(e,t,r,i){const n=t[0],s=t[1],a=t[2];return e[0]=n+i*(r[0]-n),e[1]=s+i*(r[1]-s),e[2]=a+i*(r[2]-a),e}function E(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=r[0]*i+r[4]*n+r[8]*s+r[12],e[1]=r[1]*i+r[5]*n+r[9]*s+r[13],e[2]=r[2]*i+r[6]*n+r[10]*s+r[14],e}function R(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=i*r[0]+n*r[3]+s*r[6],e[1]=i*r[1]+n*r[4]+s*r[7],e[2]=i*r[2]+n*r[5]+s*r[8],e}function I(e,t,r){const i=r[0],n=r[1],s=r[2],a=r[3],o=t[0],l=t[1],u=t[2],c=n*u-s*l,h=s*o-i*u,d=i*l-n*o,p=n*d-s*h,f=s*c-i*d,g=i*h-n*c,m=2*a;return e[0]=o+c*m+2*p,e[1]=l+h*m+2*f,e[2]=u+d*m+2*g,e}const P=(0,i.vt)(),U=(0,i.vt)();function L(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const r=e[0],i=e[1],s=e[2],a=t[0],o=t[1],l=t[2],u=(0,n.FD)();return Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-o)<=u*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function k(e,t,r){const i=r[0]-t[0],n=r[1]-t[1],s=r[2]-t[2];let a=i*i+n*n+s*s;return a>0?(a=1/Math.sqrt(a),e[0]=i*a,e[1]=n*a,e[2]=s*a,e):(e[0]=0,e[1]=0,e[2]=0,e)}const T=u,H=c,Z=h,K=v,j=M,G=s,D=S;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:function(e,t){b(P,e),b(U,t);const r=_(P,U);return r>1?0:r<-1?Math.PI:Math.acos(r)},bezier:function(e,t,r,i,n,s){const a=1-s,o=a*a,l=s*s,u=o*a,c=3*s*o,h=3*l*a,d=l*s;return e[0]=t[0]*u+r[0]*c+i[0]*h+n[0]*d,e[1]=t[1]*u+r[1]*c+i[1]*h+n[1]*d,e[2]=t[2]*u+r[2]*c+i[2]*h+n[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:a,cross:C,crossAndNormalize:function(e,t,r){const i=t[0],n=t[1],s=t[2],a=r[0],o=r[1],l=r[2],u=n*l-s*o,c=s*a-i*l,h=i*o-n*a,d=Math.sqrt(u*u+c*c+h*h);return e[0]=u/d,e[1]=c/d,e[2]=h/d,e},direction:k,dist:K,distance:v,div:Z,divide:h,dot:_,equals:O,exactEquals:L,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,i,n,s){const a=s*s,o=a*(2*s-3)+1,l=a*(s-2)+s,u=a*(s-1),c=a*(3-2*s);return e[0]=t[0]*o+r[0]*l+i[0]*u+n[0]*c,e[1]=t[1]*o+r[1]*l+i[1]*u+n[1]*c,e[2]=t[2]*o+r[2]*l+i[2]*u+n[2]*c,e},inverse:x,len:G,length:s,lerp:A,max:g,min:f,mul:H,multiply:c,negate:w,normalize:b,random:function(e,t=1){const r=n.Ov,i=2*r()*Math.PI,s=2*r()-1,a=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(i)*a,e[1]=Math.sin(i)*a,e[2]=s*t,e},rotateX:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0],s[1]=n[1]*Math.cos(i)-n[2]*Math.sin(i),s[2]=n[1]*Math.sin(i)+n[2]*Math.cos(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateY:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[2]*Math.sin(i)+n[0]*Math.cos(i),s[1]=n[1],s[2]=n[2]*Math.cos(i)-n[0]*Math.sin(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateZ:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0]*Math.cos(i)-n[1]*Math.sin(i),s[1]=n[0]*Math.sin(i)+n[1]*Math.cos(i),s[2]=n[2],e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:y,set:o,sign:p,sqrDist:j,sqrLen:D,squaredDistance:M,squaredLength:S,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:T,subtract:u,transformMat3:R,transformMat4:E,transformQuat:I},Symbol.toStringTag,{value:"Module"}))},52136:(e,t,r)=>{r.d(t,{p:()=>s});var i=r(31635),n=r(91429);const s=e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,n.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},54239:(e,t,r)=>{r.d(t,{A:()=>m});var i,n=r(31635),s=r(4576),a=r(66552),o=r(25482),l=r(86211),u=r(67076),c=r(91429),h=r(43937),d=r(36005);const p=(0,a.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),f=p.jsonValues.slice();(0,s.Xy)(f,"orthometric");const g=(0,a.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let m=i=class extends o.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return p.write(e,t,r)}readHeightModel(e,t,r){return p.read(e)||(r?.messages&&r.messages.push(function(e,t){return new u.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return g.read(e)||(r?.messages&&r.messages.push(y(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,l.LA)(e)||g.read(e)||(r?.messages&&r.messages.push(y(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,l.k1)(t);return new i({heightModel:e.heightModel,heightUnit:r??void 0,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function y(e,t){return new u.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,n.Cg)([(0,c.MZ)({type:p.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:f,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,n.Cg)([(0,h.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,n.Cg)([(0,d.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,n.Cg)([(0,c.MZ)({type:g.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g.jsonValues,write:{writer:g.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,n.Cg)([(0,d.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,n.Cg)([(0,d.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,n.Cg)([(0,c.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,n.Cg)([(0,d.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=i=(0,n.Cg)([(0,c.$K)("esri.geometry.HeightModelInfo")],m)},60999:(e,t,r)=>{r.d(t,{DZ:()=>f,Ke:()=>p,Tj:()=>c,UT:()=>g,aD:()=>y,jJ:()=>u});var i=r(31635),n=r(69622),s=r(97768),a=r(74887),o=r(10107),l=r(64108);function u(e,t,r){return(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))}async function c(e,t,r){return(await(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))).map(e=>e.value)}function h(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function p(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return h(await e)}catch(e){return d(e)}}async function f(e){try{return h(await e)}catch(e){return(0,a.QP)(e),d(e)}}function g(e,t){return new m(e,t)}let m=class extends n.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=h(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,a.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,o.MZ)()],m.prototype,"value",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"error",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"finished",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"promise",void 0),(0,i.Cg)([(0,o.MZ)()],m.prototype,"_result",void 0),m=(0,i.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],m);class y{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},69208:(e,t,r)=>{r.d(t,{d:()=>s});var i=r(31635),n=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,n.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},69540:(e,t,r)=>{r.d(t,{OU:()=>c,Pw:()=>h});var i=r(31635),n=r(69622),s=(r(44208),r(4718)),a=(r(53966),r(97768)),o=r(88620),l=r(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const r=e;let n=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,o.oY)(this);(0,a.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,i=t.store,n={},l=new Map;for(const t in r){const a=r[t],o=i?.originOf(t),u=a.clonable;if(a.readOnly||!1===u||7!==o&&0!==o&&5!==o&&4!==o)continue;const c=this[t];let h=null;if("function"==typeof u)h=u(c,e);else if("reference"===u)h=c;else if(h=(0,s.TU)(c,e),null!=c&&null==h)continue;0===o?l.set(t,h):n[t]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(n);if(l.size){const e=(0,o.oY)(u)?.store;if(e)for(const[t,r]of l)e.set(t,r,0)}return u}};return n=(0,i.Cg)([(0,l.$)("esri.core.Clonable")],n),n},h=c(n.A)},78553:(e,t,r)=>{r.d(t,{D:()=>s,p:()=>n});var i=r(56507);function n(e){const t=(0,i.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function s(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},88546:(e,t,r)=>{r.d(t,{_8:()=>f,uB:()=>g});var i=r(34727),n=r(38954),s=r(51850),a=r(73941),o=r(5443),l=r(54239),u=r(16930),c=r(9762);function h(e,t){if(!Array.isArray(e)||e.length<t)return!1;for(const t of e)if("number"!=typeof t)return!1;return!0}const d=7645211,p={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850};function f(e){return!(!(e.extensions?.ESRI_crs?.wkid||e.extensions?.ESRI_crs?.latestWkid||e.extensions?.ESRI_crs?.wkt)||!e.root?.extensions?.ESRI_crs?.boundingVolume?.box&&!e.root?.extensions?.ESRI_crs?.boundingVolume?.sphere)}function g(e,t=!1){let r=new u.A({wkid:4326,vcsWkid:115700}),l=e.root?.boundingVolume,f=!1,g=e?.root?.transform;if(t&&(e.extensions?.ESRI_crs?.wkid||e.extensions?.ESRI_crs?.latestWkid||e.extensions?.ESRI_crs?.wkt)&&(e.root?.extensions?.ESRI_crs?.boundingVolume?.box||e.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))r=new u.A(e.extensions?.ESRI_crs),l=e.root?.extensions?.ESRI_crs?.boundingVolume,g=e.root?.transform,f=!0;else if(!l)return new o.A(-180,-90,180,90,r);if(l.box){const e=l?.box;if(e[3]>d&&e[7]>d&&e[11]>d)return new o.A({...p,spatialReference:r})}const m=(0,s.vt)();if(!f&&l.region&&h(l.region,6)){const e=l.region,t=(0,i.KJ)(e[0]),n=(0,i.KJ)(e[1]),s=e[4],a=(0,i.KJ)(e[2]),u=(0,i.KJ)(e[3]),c=e[5];return new o.A({xmin:t,ymin:n,zmin:s,xmax:a,ymax:u,zmax:c,spatialReference:r})}if(l.sphere&&h(l.sphere,4)){const e=l.sphere,t=(0,s.fA)(e[0],e[1],e[2]),i=e[3]/Math.sqrt(3),d=(0,s.vt)();(0,n.e)(d,t,(0,s.fA)(i,i,i));const p=(0,s.vt)();if((0,n.i)(p,t,(0,s.fA)(i,i,i)),g&&h(g,16)){const e=g;(0,n.p)(m,d,e),(0,n.d)(d,m),(0,n.p)(m,p,e),(0,n.d)(p,m)}f||((0,c.projectBuffer)(d,a.Ro,0,d,u.A.WGS84,0),(0,c.projectBuffer)(p,a.Ro,0,p,u.A.WGS84,0));const y=(0,s.vt)(),v=(0,s.vt)();return(0,n.z)(y,d,p),(0,n.y)(v,d,p),new o.A({xmin:y[0],ymin:y[1],zmin:y[2],xmax:v[0],ymax:v[1],zmax:v[2],spatialReference:r})}if(l.box&&h(l.box,12)){const e=l.box,t=(0,s.fA)(e[0],e[1],e[2]),i=(0,s.fA)(e[3],e[4],e[5]),d=(0,s.fA)(e[6],e[7],e[8]),p=(0,s.fA)(e[9],e[10],e[11]),m=[];for(let e=0;e<8;++e)m.push((0,s.vt)());if((0,n.i)(m[0],t,i),(0,n.i)(m[0],m[0],d),(0,n.i)(m[0],m[0],p),(0,n.a)(m[1],t,i),(0,n.i)(m[1],m[1],d),(0,n.i)(m[1],m[1],p),(0,n.i)(m[2],t,i),(0,n.a)(m[2],m[2],d),(0,n.i)(m[2],m[2],p),(0,n.a)(m[3],t,i),(0,n.a)(m[3],m[3],d),(0,n.i)(m[3],m[3],p),(0,n.i)(m[4],t,i),(0,n.i)(m[4],m[4],d),(0,n.a)(m[4],m[4],p),(0,n.a)(m[5],t,i),(0,n.i)(m[5],m[5],d),(0,n.a)(m[5],m[5],p),(0,n.i)(m[6],t,i),(0,n.a)(m[6],m[6],d),(0,n.a)(m[6],m[6],p),(0,n.a)(m[7],t,i),(0,n.a)(m[7],m[7],d),(0,n.a)(m[7],m[7],p),g&&h(g,16)){const e=g;for(let t=0;t<8;++t)(0,n.p)(m[t],m[t],e)}const y=(0,s.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),v=(0,s.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let e=0;e<8;++e)f||(0,c.projectBuffer)(m[e],a.Ro,0,m[e],u.A.WGS84,0),(0,n.z)(v,v,m[e]),(0,n.y)(y,y,m[e]);return new o.A({xmin:v[0],ymin:v[1],zmin:v[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:r})}return new o.A(-180,-90,180,90,r)}new Map([[5773,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM96_Geoid"})],[3855,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM2008_Geoid"})],[115700,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"WGS_1984"})],[115701,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"ETRS_1989"})],[6360,new l.A({heightModel:"gravity-related-height",heightUnit:"us-feet",vertCRS:"NAVD88_height_(ftUS)"})],[7837,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"DHHN2016_(height) "})]])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7528],{64523:(t,e,s)=>{s.d(e,{O:()=>m});var n=s(31635),r=s(76061),i=s(55537),a=s(88885),l=s(95213),h=s(83661),o=s(5247);class m{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,s,n){return new c(t,e,s,n)}execute(t,e,s,n){return t||(0,i.a)("null param is not allowed."),new c(null,e,s,n).generalize(t)}}class c extends r.G{constructor(t,e,s,n){super(),this.m_pline=null,this.m_point=new l.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=n,this.m_geoms=t,this.m_maxDeviation=e,this.m_bRemoveDegenerateParts=s}tock(){return!0}getRank(){return 1}next(){const t=this.m_geoms.next();return null===t?null:((0,i.c)(t),this.generalize(t))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(t){const e=t.getGeometryType();if((0,i.e)(e))return t;if(e===i.G.enumEnvelope){const e=new a.a({vd:t.getDescription()});return e.addEnvelope(t,!1),this.generalize(e)}if((0,i.f)(e)){const e=new a.P({vd:t.getDescription()});return e.addSegment(t,!0),this.generalize(e)}if((0,i.h)(e)||(0,i.t)(""),t.isEmpty()||this.m_maxDeviation<=0)return t;const s=(new o.O).execute(t,0,.05*this.m_maxDeviation,0,this.m_progressTracker);t.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const r=s,l=t.createInstance();l.getGeometryType()===i.G.enumPolygon&&l.setFillRule(t.getFillRule()),this.m_xy=r.getAttributeStreamRef(0);{const t={stack:[],error:void 0,hasError:!1};try{const e=new a.L;this.m_pline=e,(0,n.mS)(t,(0,h.h)(()=>{this.m_pline=null},!1),!1);for(let t=0,e=r.getPathCount();t<e;t++)this.generalizePath(r.getImpl(),t,l.getImpl())}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}return this.m_resultstack.length=0,this.m_stack.length=0,l}generalizePath(t,e,s){if(t.getPathSize(e)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const n=t.getPathStart(e),r=t.getPathEnd(e)-1,i=t.isClosedPath(e),a=t.isClosedPathInXYPlane(e);let l=0,o=-1;this.m_stack.push(i?n:r),this.m_stack.push(n);let m=!1,c=!1;for(!this.m_bRemoveDegenerateParts&&a&&(m=!0,c=!0);this.m_stack.length>1;){const e=this.m_stack.at(-1);this.m_stack.pop();const s=this.m_stack.at(-1);let n=t.getXY(e);this.m_pline.setStartXY(n),n=t.getXY(s),this.m_pline.setEndXY(n);const i=[Number.NaN];let a=this.findGreatestDistance(e,s,r,i);a>=0&&(m?m=!1:(c&&i[0]>l&&(l=i[0],o=a),i[0]<=this.m_maxDeviation&&(a=-1))),a>=0?(this.m_stack.push(a),this.m_stack.push(e)):this.m_resultstack.push(e)}i||this.m_resultstack.push(this.m_stack[0]);const u=this.m_resultstack.length;if(u===t.getPathSize(e)&&u===this.m_stack.length)s.addPath(t,e,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(h.P.distance(t.getXY(this.m_resultstack[0]),t.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(c&&o>=0&&l<=this.m_maxDeviation){const t=this.m_resultstack.at(-1)>o;this.m_resultstack.push(o),t&&(this.m_resultstack[this.m_resultstack.length-2]=(0,h.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let e=0,n=this.m_resultstack.length;e<n;e++)t.getPointByVal(this.m_resultstack[e],this.m_point),0===e?s.startPathPoint(this.m_point):s.lineToPoint(this.m_point);if(i){for(let t=this.m_resultstack.length;t<3;t++)s.lineToPoint(this.m_point);s.closePathWithLine()}}}findGreatestDistance(t,e,s,n){let r=e-1;e<=t&&(r=s);let i=-1,a=0;const l=new h.P;for(let e=t+1;e<=r;e++){this.m_xy.queryPoint2D(2*e,l);const t=l.x,s=l.y,n=this.m_pline.getClosestCoordinate(l,!1);l.assign(this.m_pline.getCoord2D(n)),l.x-=t,l.y-=s;const r=l.length();r>a&&(i=e,a=r),this.m_callCount++}return n[0]=a,i}}},70787:(t,e,s)=>{s.d(e,{fz:()=>l,g7:()=>i,zo:()=>a});var n=s(76061);const r=new(s(64523).O);function i(t,e,s){return r.execute(t,e,s,null)}function a(t,e,s){const i=r.executeMany(new n.S(t),e,s,null);return Array.from(i)}function l(){return r.supportsCurves()}},97528:(t,e,s)=>{s.r(e),s.d(e,{execute:()=>a,executeMany:()=>l});var n=s(86211),r=s(70787),i=s(
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7528],{64523:(t,e,s)=>{s.d(e,{O:()=>m});var n=s(31635),r=s(76061),i=s(55537),a=s(88885),l=s(95213),h=s(83661),o=s(5247);class m{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,s,n){return new c(t,e,s,n)}execute(t,e,s,n){return t||(0,i.a)("null param is not allowed."),new c(null,e,s,n).generalize(t)}}class c extends r.G{constructor(t,e,s,n){super(),this.m_pline=null,this.m_point=new l.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=n,this.m_geoms=t,this.m_maxDeviation=e,this.m_bRemoveDegenerateParts=s}tock(){return!0}getRank(){return 1}next(){const t=this.m_geoms.next();return null===t?null:((0,i.c)(t),this.generalize(t))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(t){const e=t.getGeometryType();if((0,i.e)(e))return t;if(e===i.G.enumEnvelope){const e=new a.a({vd:t.getDescription()});return e.addEnvelope(t,!1),this.generalize(e)}if((0,i.f)(e)){const e=new a.P({vd:t.getDescription()});return e.addSegment(t,!0),this.generalize(e)}if((0,i.h)(e)||(0,i.t)(""),t.isEmpty()||this.m_maxDeviation<=0)return t;const s=(new o.O).execute(t,0,.05*this.m_maxDeviation,0,this.m_progressTracker);t.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const r=s,l=t.createInstance();l.getGeometryType()===i.G.enumPolygon&&l.setFillRule(t.getFillRule()),this.m_xy=r.getAttributeStreamRef(0);{const t={stack:[],error:void 0,hasError:!1};try{const e=new a.L;this.m_pline=e,(0,n.mS)(t,(0,h.h)(()=>{this.m_pline=null},!1),!1);for(let t=0,e=r.getPathCount();t<e;t++)this.generalizePath(r.getImpl(),t,l.getImpl())}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}return this.m_resultstack.length=0,this.m_stack.length=0,l}generalizePath(t,e,s){if(t.getPathSize(e)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const n=t.getPathStart(e),r=t.getPathEnd(e)-1,i=t.isClosedPath(e),a=t.isClosedPathInXYPlane(e);let l=0,o=-1;this.m_stack.push(i?n:r),this.m_stack.push(n);let m=!1,c=!1;for(!this.m_bRemoveDegenerateParts&&a&&(m=!0,c=!0);this.m_stack.length>1;){const e=this.m_stack.at(-1);this.m_stack.pop();const s=this.m_stack.at(-1);let n=t.getXY(e);this.m_pline.setStartXY(n),n=t.getXY(s),this.m_pline.setEndXY(n);const i=[Number.NaN];let a=this.findGreatestDistance(e,s,r,i);a>=0&&(m?m=!1:(c&&i[0]>l&&(l=i[0],o=a),i[0]<=this.m_maxDeviation&&(a=-1))),a>=0?(this.m_stack.push(a),this.m_stack.push(e)):this.m_resultstack.push(e)}i||this.m_resultstack.push(this.m_stack[0]);const u=this.m_resultstack.length;if(u===t.getPathSize(e)&&u===this.m_stack.length)s.addPath(t,e,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(h.P.distance(t.getXY(this.m_resultstack[0]),t.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(c&&o>=0&&l<=this.m_maxDeviation){const t=this.m_resultstack.at(-1)>o;this.m_resultstack.push(o),t&&(this.m_resultstack[this.m_resultstack.length-2]=(0,h.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let e=0,n=this.m_resultstack.length;e<n;e++)t.getPointByVal(this.m_resultstack[e],this.m_point),0===e?s.startPathPoint(this.m_point):s.lineToPoint(this.m_point);if(i){for(let t=this.m_resultstack.length;t<3;t++)s.lineToPoint(this.m_point);s.closePathWithLine()}}}findGreatestDistance(t,e,s,n){let r=e-1;e<=t&&(r=s);let i=-1,a=0;const l=new h.P;for(let e=t+1;e<=r;e++){this.m_xy.queryPoint2D(2*e,l);const t=l.x,s=l.y,n=this.m_pline.getClosestCoordinate(l,!1);l.assign(this.m_pline.getCoord2D(n)),l.x-=t,l.y-=s;const r=l.length();r>a&&(i=e,a=r),this.m_callCount++}return n[0]=a,i}}},70787:(t,e,s)=>{s.d(e,{fz:()=>l,g7:()=>i,zo:()=>a});var n=s(76061);const r=new(s(64523).O);function i(t,e,s){return r.execute(t,e,s,null)}function a(t,e,s){const i=r.executeMany(new n.S(t),e,s,null);return Array.from(i)}function l(){return r.supportsCurves()}},97528:(t,e,s)=>{s.r(e),s.d(e,{execute:()=>a,executeMany:()=>l});var n=s(86211),r=s(70787),i=s(34772);function a(t,e,s={}){const{removeDegenerateParts:a=!1,unit:l}=s,h=(0,i.getSpatialReference)(t);l&&h&&(e=(0,n.UW)(e,l,h));const o=(0,i.fromGeometry)(t),m=(0,r.g7)(o.getGeometry(),e,a);return null==m?null:(0,i.toGeometry)(m,o.getSpatialReference())}function l(t,e,s={}){const{removeDegenerateParts:a=!1,unit:l}=s,h=(0,i.getSpatialReference)(t);l&&h&&(e=(0,n.UW)(e,l,h));const[o,m]=(0,i.fromGeometries)(t);return(0,r.zo)(o,e,a).map(t=>(0,i.toGeometry)(t,m))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,850],{4197:(t,n,r)=>{r.d(n,{Vj:()=>h,cj:()=>c,jh:()=>o,l5:()=>u,xm:()=>s});var e=r(34275),i=r(9093);function o(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function s(t){return((0,e.iu)(t)?t.byteLength/8:t.length)<=e.y9?Array.from(t):new Float64Array(t)}function u(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function c(t){return[...t]}function h(t){const n=(0,i.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},9093:(t,n,r)=>{function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>i,vt:()=>e,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:e,fromValues:function(t,n,r,e,i,o,s,u,c,h,a,f,l,m,d,y){return[t,n,r,e,i,o,s,u,c,h,a,f,l,m,d,y]}},Symbol.toStringTag,{value:"Module"}))},65864:(t,n,r)=>{r.d(n,{$B:()=>y,Bi:()=>m,Pv:()=>A,Rg:()=>l,U9:()=>a,W0:()=>x,ZC:()=>h,fT:()=>f,rS:()=>d,xD:()=>M});var e=r(5443),i=r(91075),o=r(48526),s=r(86738),u=r(39829),c=r(82799);function h(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function a(t){return void 0!==t.points}function f(t){return void 0!==t.x&&void 0!==t.y}function l(t){return void 0!==t.paths||void 0!==t.curvePaths}function m(t){return void 0!==t.rings||void 0!==t.curveRings}function d(t){return null==t?null:t instanceof i.A?t:f(t)?s.A.fromJSON(t):l(t)?c.A.fromJSON(t):m(t)?u.A.fromJSON(t):a(t)?o.A.fromJSON(t):h(t)?e.A.fromJSON(t):null}function y(t){return t?f(t)?"esriGeometryPoint":l(t)?"esriGeometryPolyline":m(t)?"esriGeometryPolygon":h(t)?"esriGeometryEnvelope":a(t)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:s.A,esriGeometryPolyline:c.A,esriGeometryPolygon:u.A,esriGeometryEnvelope:e.A,esriGeometryMultipoint:o.A,esriGeometryMultiPatch:u.A};function M(t){return t&&g[t]||null}function A(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function x(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}},69397:(t,n,r)=>{r.d(n,{$B:()=>i,Qf:()=>h,Qh:()=>u,RS:()=>o,ez:()=>l,lM:()=>s,qK:()=>f});var e=r(34275);function i(t){return 32+t.length}const o=16;function s(t){if(!t)return 0;let n=f;for(const r in t)t.hasOwnProperty(r)&&(n+=c(t[r],!1));return n}function u(t){if(!t)return 0;if("number"==typeof t[0])return h(t);if(Array.isArray(t))return function(t){const n=t.length;if(0===n||"number"==typeof t[0])return a(t,8);let r=l;for(let e=0;e<n;e++)r+=c(t[e]);return r}(t);let n=f;for(const r in t)t.hasOwnProperty(r)&&(n+=c(t[r]));return n}function c(t,n=!0){switch(typeof t){case"object":return n?u(t):f;case"string":return i(t);case"number":return o;case"boolean":return 4;default:return 8}}function h(...t){return t.reduce((t,n)=>t+(n?(0,e.iu)(n)?n.byteLength+m:Array.isArray(n)?a(n,o):0:0),0)}function a(t,n){return l+t.length*n}const f=32,l=16,m=145},70328:(t,n,r)=>{r.d(n,{BI:()=>x,DC:()=>f,Ej:()=>m,Ie:()=>M,Jt:()=>A,Ne:()=>d,RF:()=>a,aI:()=>I,fA:()=>s,gE:()=>c,hZ:()=>g,iT:()=>l,is:()=>v,qv:()=>N,vI:()=>y,vY:()=>u,v_:()=>P,vt:()=>o,w1:()=>h});var e=r(5443),i=(r(19419),r(4197));function o(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function s(t,n,r,e,i,s,u=o()){return u[0]=t,u[1]=n,u[2]=r,u[3]=e,u[4]=i,u[5]=s,u}function u(t,n=o()){return function(t,n,r,e=o()){return g(e,N),function(t,n,r=0,e=n.length/3){let i=t[0],o=t[1],s=t[2],u=t[3],c=t[4],h=t[5];for(let t=0;t<e;t++)i=Math.min(i,n[r+3*t]),o=Math.min(o,n[r+3*t+1]),s=Math.min(s,n[r+3*t+2]),u=Math.max(u,n[r+3*t]),c=Math.max(c,n[r+3*t+1]),h=Math.max(h,n[r+3*t+2]);t[0]=i,t[1]=o,t[2]=s,t[3]=u,t[4]=c,t[5]=h}(e,t,n,r),e}(t,0,t.length/3,n)}function c(t,n=(0,i.jh)(24)){const[r,e,o,s,u,c]=t;return n[0]=r,n[1]=e,n[2]=o,n[3]=r,n[4]=e,n[5]=c,n[6]=r,n[7]=u,n[8]=o,n[9]=r,n[10]=u,n[11]=c,n[12]=s,n[13]=e,n[14]=o,n[15]=s,n[16]=e,n[17]=c,n[18]=s,n[19]=u,n[20]=o,n[21]=s,n[22]=u,n[23]=c,n}function h(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function a(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function m(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function d(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function y(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function g(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function M(t){return t?g(t,N):o(N)}function A(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function x(t,n,r,e,i){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function I(t,n,r){if(null==t||null==n)return t===n;if(!v(t)||!v(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const N=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];o()},92722:(t,n,r)=>{r.d(n,{A:()=>i});var e=r(69397);class i{constructor(t=[],n=[],r=!1,e=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=r,this.hasM=e}static fromJSON({lengths:t,coords:n,hasZ:r,hasM:e}){return new i(t,n,r||!1,e||!1)}static fromRect([t,n,r,e]){const o=r-t,s=e-n;return new i([5],[t,n,o,0,0,s,-o,0,0,-s])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,n)=>t+n,0)}get usedMemory(){return 64+(0,e.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,n=0;for(const r of this.lengths){if(r<3)continue;const{stride:e}=this;let i=this.coords[e*n],o=this.coords[e*n+1];for(let s=1;s<r;s+=1){const r=e*(n+s),u=this.coords[r],c=this.coords[r+1];t+=-.5*(u-i)*(c+o),i=u,o=c}n+=r}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const e of this.lengths){for(let i=0;i<e;i++){const e=r*(n+i);t(this.coords[e],this.coords[e+1])}n+=e}}deltaDecode(){const t=this.clone(),{coords:n,lengths:r}=t;let e=0;const{stride:i}=this;for(const t of r){for(let r=1;r<t;r++){const t=i*(e+r);n[t]+=n[t-i],n[t+1]+=n[t+1-i]}e+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:r,size:e}=this,o=this.coords.slice(0,e*r);return t?(t.set(o),new i(n,t)):new i(n,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const r=new Array(n*t);for(let n=0,e=0;n<r.length;n+=t)r[e++]=this.coords[n],r[e++]=this.coords[n+1];return new i(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189,566,9700],{4197:(t,e,n)=>{n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>s,l5:()=>u,xm:()=>o});var r=n(34275),i=n(9093);function s(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function u(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function h(t){return[...t]}function c(t){const e=(0,i.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>i,vt:()=>r,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:r,fromValues:function(t,e,n,r,i,s,o,u,h,c,a,f,l,m,d,g){return[t,e,n,r,i,s,o,u,h,c,a,f,l,m,d,g]}},Symbol.toStringTag,{value:"Module"}))},29821:(t,e,n)=>{n.d(e,{O:()=>i});var r=n(39117);class i extends r.I{getOperatorType(){return 6}execute(t,e,n,i){return(0,r.J)(t,e,n,16,i)}}},69397:(t,e,n)=>{n.d(e,{$B:()=>i,Qf:()=>c,Qh:()=>u,RS:()=>s,ez:()=>l,lM:()=>o,qK:()=>f});var r=n(34275);function i(t){return 32+t.length}const s=16;function o(t){if(!t)return 0;let e=f;for(const n in t)t.hasOwnProperty(n)&&(e+=h(t[n],!1));return e}function u(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return a(t,8);let n=l;for(let r=0;r<e;r++)n+=h(t[r]);return n}(t);let e=f;for(const n in t)t.hasOwnProperty(n)&&(e+=h(t[n]));return e}function h(t,e=!0){switch(typeof t){case"object":return e?u(t):f;case"string":return i(t);case"number":return s;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+m:Array.isArray(e)?a(e,s):0:0),0)}function a(t,e){return l+t.length*e}const f=32,l=16,m=145},70328:(t,e,n)=>{n.d(e,{BI:()=>I,DC:()=>f,Ej:()=>m,Ie:()=>x,Jt:()=>M,Ne:()=>d,RF:()=>a,aI:()=>b,fA:()=>o,gE:()=>h,hZ:()=>y,iT:()=>l,is:()=>A,qv:()=>w,vI:()=>g,vY:()=>u,v_:()=>G,vt:()=>s,w1:()=>c});var r=n(5443),i=(n(19419),n(4197));function s(t=G){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,i,o,u=s()){return u[0]=t,u[1]=e,u[2]=n,u[3]=r,u[4]=i,u[5]=o,u}function u(t,e=s()){return function(t,e,n,r=s()){return y(r,w),function(t,e,n=0,r=e.length/3){let i=t[0],s=t[1],o=t[2],u=t[3],h=t[4],c=t[5];for(let t=0;t<r;t++)i=Math.min(i,e[n+3*t]),s=Math.min(s,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),u=Math.max(u,e[n+3*t]),h=Math.max(h,e[n+3*t+1]),c=Math.max(c,e[n+3*t+2]);t[0]=i,t[1]=s,t[2]=o,t[3]=u,t[4]=h,t[5]=c}(r,t,e,n),r}(t,0,t.length/3,e)}function h(t,e=(0,i.jh)(24)){const[n,r,s,o,u,h]=t;return e[0]=n,e[1]=r,e[2]=s,e[3]=n,e[4]=r,e[5]=h,e[6]=n,e[7]=u,e[8]=s,e[9]=n,e[10]=u,e[11]=h,e[12]=o,e[13]=r,e[14]=s,e[15]=o,e[16]=r,e[17]=h,e[18]=o,e[19]=u,e[20]=s,e[21]=o,e[22]=u,e[23]=h,e}function c(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function a(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function d(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function g(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function y(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function x(t){return t?y(t,w):s(w)}function M(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function I(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function A(t){return 6===t.length}function b(t,e,n){if(null==t||null==e)return t===e;if(!A(t)||!A(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],G=[0,0,0,0,0,0];s()},76061:(t,e,n)=>{n.d(e,{G:()=>r,S:()=>i});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}class i extends r{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},85672:(t,e,n)=>{n.r(e),n.d(e,{execute:()=>o});var r=n(29821),i=n(34772);const s=new r.O;function o(t,e){const n=(0,i.fromGeometry)(t);return s.execute(n.getGeometry(),(0,i.fromGeometryToGXGeometry)(e),n.getSpatialReference(),null)}},92722:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(69397);class i{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new i(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const s=n-t,o=r-e;return new i([5],[t,e,s,0,0,o,-s,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let i=this.coords[r*e],s=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),u=this.coords[n],h=this.coords[n+1];t+=-.5*(u-i)*(h+s),i=u,s=h}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let i=0;i<r;i++){const r=n*(e+i);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:i}=this;for(const t of n){for(let n=1;n<t;n++){const t=i*(r+n);e[t]+=e[t-i],e[t+1]+=e[t+1-i]}r+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,s=this.coords.slice(0,r*n);return t?(t.set(s),new i(e,t)):new i(e,Array.from(s),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new i(this.lengths,n,!1,!1)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[189],{4197:(t,n,r)=>{r.d(n,{Vj:()=>c,cj:()=>h,jh:()=>s,l5:()=>u,xm:()=>o});var e=r(34275),i=r(9093);function s(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,e.iu)(t)?t.byteLength/8:t.length)<=e.y9?Array.from(t):new Float64Array(t)}function u(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function h(t){return[...t]}function c(t){const n=(0,i.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},9093:(t,n,r)=>{function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>i,vt:()=>e,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:e,fromValues:function(t,n,r,e,i,s,o,u,h,c,a,f,l,m,d,g){return[t,n,r,e,i,s,o,u,h,c,a,f,l,m,d,g]}},Symbol.toStringTag,{value:"Module"}))},69397:(t,n,r)=>{r.d(n,{$B:()=>i,Qf:()=>c,Qh:()=>u,RS:()=>s,ez:()=>l,lM:()=>o,qK:()=>f});var e=r(34275);function i(t){return 32+t.length}const s=16;function o(t){if(!t)return 0;let n=f;for(const r in t)t.hasOwnProperty(r)&&(n+=h(t[r],!1));return n}function u(t){if(!t)return 0;if("number"==typeof t[0])return c(t);if(Array.isArray(t))return function(t){const n=t.length;if(0===n||"number"==typeof t[0])return a(t,8);let r=l;for(let e=0;e<n;e++)r+=h(t[e]);return r}(t);let n=f;for(const r in t)t.hasOwnProperty(r)&&(n+=h(t[r]));return n}function h(t,n=!0){switch(typeof t){case"object":return n?u(t):f;case"string":return i(t);case"number":return s;case"boolean":return 4;default:return 8}}function c(...t){return t.reduce((t,n)=>t+(n?(0,e.iu)(n)?n.byteLength+m:Array.isArray(n)?a(n,s):0:0),0)}function a(t,n){return l+t.length*n}const f=32,l=16,m=145},70328:(t,n,r)=>{r.d(n,{BI:()=>I,DC:()=>f,Ej:()=>m,Ie:()=>M,Jt:()=>x,Ne:()=>d,RF:()=>a,aI:()=>b,fA:()=>o,gE:()=>h,hZ:()=>y,iT:()=>l,is:()=>A,qv:()=>w,vI:()=>g,vY:()=>u,v_:()=>N,vt:()=>s,w1:()=>c});var e=r(5443),i=(r(19419),r(4197));function s(t=N){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,n,r,e,i,o,u=s()){return u[0]=t,u[1]=n,u[2]=r,u[3]=e,u[4]=i,u[5]=o,u}function u(t,n=s()){return function(t,n,r,e=s()){return y(e,w),function(t,n,r=0,e=n.length/3){let i=t[0],s=t[1],o=t[2],u=t[3],h=t[4],c=t[5];for(let t=0;t<e;t++)i=Math.min(i,n[r+3*t]),s=Math.min(s,n[r+3*t+1]),o=Math.min(o,n[r+3*t+2]),u=Math.max(u,n[r+3*t]),h=Math.max(h,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=i,t[1]=s,t[2]=o,t[3]=u,t[4]=h,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function h(t,n=(0,i.jh)(24)){const[r,e,s,o,u,h]=t;return n[0]=r,n[1]=e,n[2]=s,n[3]=r,n[4]=e,n[5]=h,n[6]=r,n[7]=u,n[8]=s,n[9]=r,n[10]=u,n[11]=h,n[12]=o,n[13]=e,n[14]=s,n[15]=o,n[16]=e,n[17]=h,n[18]=o,n[19]=u,n[20]=s,n[21]=o,n[22]=u,n[23]=h,n}function c(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function a(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function m(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function d(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function g(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function y(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function M(t){return t?y(t,w):s(w)}function x(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function I(t,n,r,e,i){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=i,t[5]=Number.POSITIVE_INFINITY,t}function A(t){return 6===t.length}function b(t,n,r){if(null==t||null==n)return t===n;if(!A(t)||!A(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],N=[0,0,0,0,0,0];s()},92722:(t,n,r)=>{r.d(n,{A:()=>i});var e=r(69397);class i{constructor(t=[],n=[],r=!1,e=!1){this.lengths=t??[],this.coords=n??[],this.hasZ=r,this.hasM=e}static fromJSON({lengths:t,coords:n,hasZ:r,hasM:e}){return new i(t,n,r||!1,e||!1)}static fromRect([t,n,r,e]){const s=r-t,o=e-n;return new i([5],[t,n,s,0,0,o,-s,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,n)=>t+n,0)}get usedMemory(){return 64+(0,e.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,n=0;for(const r of this.lengths){if(r<3)continue;const{stride:e}=this;let i=this.coords[e*n],s=this.coords[e*n+1];for(let o=1;o<r;o+=1){const r=e*(n+o),u=this.coords[r],h=this.coords[r+1];t+=-.5*(u-i)*(h+s),i=u,s=h}n+=r}return t}forEachVertex(t){let n=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const e of this.lengths){for(let i=0;i<e;i++){const e=r*(n+i);t(this.coords[e],this.coords[e+1])}n+=e}}deltaDecode(){const t=this.clone(),{coords:n,lengths:r}=t;let e=0;const{stride:i}=this;for(const t of r){for(let r=1;r<t;r++){const t=i*(e+r);n[t]+=n[t-i],n[t+1]+=n[t+1-i]}e+=t}return t}clone(t){if(this.isPoint)return new i([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const n=Array.from(this.lengths),{stride:r,size:e}=this,s=this.coords.slice(0,e*r);return t?(t.set(s),new i(n,t)):new i(n,Array.from(s),this.hasZ,this.hasM)}justXY(){const{stride:t,size:n}=this;if(2===t)return this;const r=new Array(n*t);for(let n=0,e=0;n<r.length;n+=t)r[e++]=this.coords[n],r[e++]=this.coords[n+1];return new i(this.lengths,r,!1,!1)}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[795],{50795:(e,t,i)=>{i.r(t),i.d(t,{executeMany:()=>p});var n=i(4576),r=i(86211),s=i(76061),m=i(55537),u=i(39117),a=i(79187),c=i(1352);class o extends s.G{constructor(e,t,i,n,r,s,m,u,o){super(),this.m_currentUnionEnvelope2D=new a.Envelope2D,this.m_index=-1,this.m_dindex=-1,this.m_progressTracker=o,this.m_bufferer=new c.B(o),this.m_inputGeoms=e,this.m_spatialReference=t,this.m_distances=i,this.m_maxDeviation=m,this.m_maxVerticesInFullCircle=u,this.m_joins=n,this.m_caps=r,this.m_miterLimit=s}tock(){return!0}getRank(){return 1}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,m.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(e,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(e,t){return this.m_bufferer.buffer(e,t,this.m_spatialReference,this.m_joins,this.m_caps,this.m_miterLimit,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}const h=new class{getOperatorType(){return 10111}supportsCurves(){return!0}accelerateGeometry(e,t,i){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,i,n,r,s,m,a,c,h,l){if(c){const c=new o(e,t,i,n,r,s,m,a,l);return(new u.L).executeMany(c,t,l,2)}return new o(e,t,i,n,r,s,m,a,l)}};var l=i(
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[795],{50795:(e,t,i)=>{i.r(t),i.d(t,{executeMany:()=>p});var n=i(4576),r=i(86211),s=i(76061),m=i(55537),u=i(39117),a=i(79187),c=i(1352);class o extends s.G{constructor(e,t,i,n,r,s,m,u,o){super(),this.m_currentUnionEnvelope2D=new a.Envelope2D,this.m_index=-1,this.m_dindex=-1,this.m_progressTracker=o,this.m_bufferer=new c.B(o),this.m_inputGeoms=e,this.m_spatialReference=t,this.m_distances=i,this.m_maxDeviation=m,this.m_maxVerticesInFullCircle=u,this.m_joins=n,this.m_caps=r,this.m_miterLimit=s}tock(){return!0}getRank(){return 1}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,m.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.m_dindex+1<this.m_distances.length&&this.m_dindex++,this.buffer(e,this.m_distances[this.m_dindex]);return null}}getGeometryID(){return this.m_index}buffer(e,t){return this.m_bufferer.buffer(e,t,this.m_spatialReference,this.m_joins,this.m_caps,this.m_miterLimit,this.m_maxDeviation,this.m_maxVerticesInFullCircle)}}const h=new class{getOperatorType(){return 10111}supportsCurves(){return!0}accelerateGeometry(e,t,i){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,i,n,r,s,m,a,c,h,l){if(c){const c=new o(e,t,i,n,r,s,m,a,l);return(new u.L).executeMany(c,t,l,2)}return new o(e,t,i,n,r,s,m,a,l)}};var l=i(34772);const _={round:0,miter:1,bevel:2},f={round:0,butt:1,square:2};function p(e,t,i,m,u={}){let{miterLimit:a=10,maxDeviation:c=NaN,maxVerticesInFullCircle:o=96,union:p=!1,unit:x}=u;const[d,y]=(0,l.fromGeometries)(e);if(x){const i=(0,l.getSpatialReference)(e);i&&(t=t.map(e=>(0,r.UW)(e,x,i)),c&&(c=(0,r.UW)(c,x,i)))}return function(e,t,i,n,r,m,u,a,c){const o=h.executeMany(new s.S(e),t,i,n,r,m,u,a,c,0,null);return Array.from(o)}(d,y,t,_[i],f[m],a,c,o,p).map(e=>(0,l.toGeometry)(e,y)).filter(n.Ru)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,5867,8125],{49074:(e,t,r)=>{r.d(t,{fz:()=>u,g7:()=>i,zo:()=>a});var n=r(76061),s=(r(55537),r(39117));r(83661),r(88885),r(79187),r(95213);const o=new s.K;function i(e,t,r){return o.execute(e,t,r,null)}function a(e,t,r){const s=o.executeMany(new n.S(e),new n.S([t]),r,null);return Array.from(s)}function u(){return o.supportsCurves()}},69397:(e,t,r)=>{r.d(t,{$B:()=>s,Qf:()=>c,Qh:()=>a,RS:()=>o,ez:()=>f,lM:()=>i,qK:()=>l});var n=r(34275);function s(e){return 32+e.length}const o=16;function i(e){if(!e)return 0;let t=l;for(const r in e)e.hasOwnProperty(r)&&(t+=u(e[r],!1));return t}function a(e){if(!e)return 0;if("number"==typeof e[0])return c(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return h(e,8);let r=f;for(let n=0;n<t;n++)r+=u(e[n]);return r}(e);let t=l;for(const r in e)e.hasOwnProperty(r)&&(t+=u(e[r]));return t}function u(e,t=!0){switch(typeof e){case"object":return t?a(e):l;case"string":return s(e);case"number":return o;case"boolean":return 4;default:return 8}}function c(...e){return e.reduce((e,t)=>e+(t?(0,n.iu)(t)?t.byteLength+m:Array.isArray(t)?h(t,o):0:0),0)}function h(e,t){return f+e.length*t}const l=32,f=16,m=145},70722:(e,t,r)=>{r.d(t,{d:()=>a,e:()=>o});var n=r(49074),s=r(78125);function o(e,t){const r=(0,s.getSpatialReference)(e);return(0,s.toGeometry)((0,n.g7)((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(r)),r)}const i=(0,n.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(e,t){const r=e.map(s.fromGeometry),o=(0,s.getSpatialReference)(e);return(0,n.zo)(r,(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(o)).map(e=>(0,s.toGeometry)(e,o))},supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,r)=>{r.d(t,{G:()=>n,S:()=>s});class n{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class s extends n{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,r)=>{r.r(t),r.d(t,{fromExtent:()=>x,fromGeometry:()=>d,fromMultipoint:()=>G,fromPoint:()=>M,fromPolygon:()=>C,fromPolyline:()=>P,fromPolylineUsingImportOperator:()=>w,fromSpatialReference:()=>V,getSpatialReference:()=>p,toExtent:()=>R,toGeometry:()=>v,toMultipoint:()=>Z,toPoint:()=>A,toPolygon:()=>S,toPolyline:()=>z});var n=r(83661),s=(r(79187),r(55537)),o=r(95213),i=r(88885),a=r(5443),u=r(48526),c=r(86738),h=r(39829),l=r(82799),f=(r(90293),r(34772));const m="_gxVersion",g=2,y=1;function p(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function d(e){switch(e.type){case"point":return M(e);case"multipoint":return G(e);case"polyline":return P(e);case"polygon":return C(e);case"extent":return x(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function x(e){if(!e.getCacheValue(m)){const t=new o.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(g,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(y,0,e.zmin,e.zmax),e.setCacheValue(m,t)}return e.getCacheValue(m)}function G(e){if(!e.getCacheValue(m)){const t=new i.M,r=new o.P,n=e.points,s=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,o=n.length;e<o;e++){const o=n[e];r.setXYCoords(o[0],o[1]),a&&r.setZ(o[2]??0),s&&r.setM(o[u]??NaN),t.add(r)}e.setCacheValue(m,t)}return e.getCacheValue(m)}function M(e){if(!e.getCacheValue(m)){const t=new o.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(m,t)}return e.getCacheValue(m)}function C(e){if(!e.getCacheValue(m)){const{curveRings:t,hasM:r,hasZ:n,rings:s}=e,o=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:r,hasZ:n,rings:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function P(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:r,hasZ:n,paths:s}=e,o=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:r,hasZ:n,paths:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function w(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:r,hasZ:n,paths:s}=e,o=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:r,hasZ:n,paths:s});e.setCacheValue(m,o)}return e.getCacheValue(m)}function V(e){return(0,f.fromSpatialReference)(e)}function v(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return A(e,t);case s.G.enumEnvelope:return R(e,t);case s.G.enumMultiPoint:return Z(e,t);case s.G.enumPolyline:return z(e,t);case s.G.enumPolygon:return S(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const r=new a.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),n=e.getDescription();if(n.hasM()){const t=e.queryInterval(g,0);r.mmin=t.vmin,r.mmax=t.vmax}if(n.hasZ()){const t=e.queryInterval(y,0);r.zmin=t.vmin,r.zmax=t.vmax}return r.setCacheValue(m,e),r}function Z(e,t){if(e.isEmpty())return null;const r=e.getDescription(),n=r.hasM(),s=r.hasZ(),i=[],a=new o.P;for(let t=0,r=e.getPointCount();t<r;t++){e.getPointByVal(t,a);const r=[a.getX(),a.getY()];s&&r.push(a.getZ()),n&&r.push(a.getM()),i.push(r)}const c=new u.A({hasM:n,hasZ:s,points:i,spatialReference:t});return c.setCacheValue(m,e),c}function A(e,t){if(e instanceof n.P)return new c.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const r=new c.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(r.m=e.getM()),s.hasZ()&&(r.z=e.getZ()),r.setCacheValue(m,e),r}function S(e,t){if(e.isEmpty())return null;const r=h.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(m,e),r}function z(e,t){if(e.isEmpty())return null;const r=l.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return r.setCacheValue(m,e),r}},92722:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(69397);class s{constructor(e=[],t=[],r=!1,n=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:e,coords:t,hasZ:r,hasM:n}){return new s(e,t,r||!1,n||!1)}static fromRect([e,t,r,n]){const o=r-e,i=n-t;return new s([5],[e,t,o,0,0,i,-o,0,0,-i])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*t],o=this.coords[n*t+1];for(let i=1;i<r;i+=1){const r=n*(t+i),a=this.coords[r],u=this.coords[r+1];e+=-.5*(a-s)*(u+o),s=a,o=u}t+=r}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(t+s);e(this.coords[n],this.coords[n+1])}t+=n}}deltaDecode(){const e=this.clone(),{coords:t,lengths:r}=e;let n=0;const{stride:s}=this;for(const e of r){for(let r=1;r<e;r++){const e=s*(n+r);t[e]+=t[e-s],t[e+1]+=t[e+1-s]}n+=e}return e}clone(e){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:r,size:n}=this,o=this.coords.slice(0,n*r);return e?(e.set(o),new s(t,e)):new s(t,Array.from(o),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const r=new Array(t*e);for(let t=0,n=0;t<r.length;t+=e)r[n++]=this.coords[t],r[n++]=this.coords[t+1];return new s(this.lengths,r,!1,!1)}}},93054:(e,t,r)=>{r.d(t,{execute:()=>n.e}),r(49074),r(78125);var n=r(70722)}}]);
|