@arcgis/core 5.0.0-next.84 → 5.0.0-next.86
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/Basemap.d.ts +2 -2
- package/Camera.d.ts +3 -3
- package/CameraLayout.d.ts +2 -2
- package/Graphic.d.ts +3 -3
- package/Ground.d.ts +2 -2
- package/Map.d.ts +2 -2
- package/PopupTemplate.d.ts +3 -3
- package/Viewpoint.d.ts +2 -2
- package/WebDocument2D.d.ts +3 -3
- package/WebScene.d.ts +3 -3
- package/analysis/Analysis.d.ts +3 -3
- package/analysis/Dimension/types.d.ts +0 -1
- package/analysis/DimensionSimpleStyle.d.ts +3 -3
- package/analysis/ElevationProfile/ElevationProfileDisplayUnits.d.ts +2 -2
- package/analysis/ElevationProfile/ElevationProfileLine.d.ts +2 -2
- package/analysis/ElevationProfile/ElevationProfileLineChartOptions.d.ts +2 -2
- package/analysis/ElevationProfile/ElevationProfileLineViewOptions.d.ts +2 -2
- package/analysis/ElevationProfile/ElevationProfileViewOptions.d.ts +2 -2
- package/analysis/LengthDimension.d.ts +3 -3
- package/analysis/LineOfSightAnalysisObserver.d.ts +3 -3
- package/analysis/LineOfSightAnalysisTarget.d.ts +3 -3
- package/analysis/ShadowCast/DiscreteOptions.d.ts +2 -2
- package/analysis/ShadowCast/MinDurationOptions.d.ts +2 -2
- package/analysis/ShadowCast/TotalDurationOptions.d.ts +2 -2
- package/analysis/ShadowCast/types.d.ts +0 -1
- package/analysis/SlicePlane.d.ts +3 -3
- package/analysis/Viewshed.d.ts +3 -3
- package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +3 -3
- package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +3 -3
- package/analysis/VolumeMeasurement/VolumeMeasurementInputUnits.d.ts +3 -3
- package/analysis/VolumeMeasurement/types.d.ts +0 -1
- package/analysis/support/AnalysisOriginWebScene.d.ts +2 -2
- package/applications/Components/applySetUtils.d.ts +237 -0
- package/applications/Components/applySetUtils.js +5 -0
- package/applications/Components/editUtils.d.ts +92 -0
- package/applications/Components/editUtils.js +5 -0
- package/applications/Components/symbolUtils.d.ts +37 -0
- package/applications/Components/symbolUtils.js +5 -0
- package/applications/Components/templateUtils.d.ts +135 -0
- package/applications/Components/templateUtils.js +5 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/001fd3d30e5bb0d180c6.js +1 -0
- package/assets/esri/core/workers/chunks/008a555ce169640e2a35.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/{9919b3c345785e910c38.js → 03d037f9f04f165aac63.js} +1 -1
- package/assets/esri/core/workers/chunks/0402b7996940ba0f8cc8.js +2 -0
- package/assets/esri/core/workers/chunks/{534ed6574e4a1613ba05.js.LICENSE.txt → 0402b7996940ba0f8cc8.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/0889e3d1a034be031c9e.js +2 -0
- package/assets/esri/core/workers/chunks/{21ac84b5c7dedcfd747d.js.LICENSE.txt → 0889e3d1a034be031c9e.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/09ca0d05b090e9a70e61.js +1 -0
- package/assets/esri/core/workers/chunks/{84a4390b1c277c415d44.js → 0c358199ada2ff71e7d9.js} +1 -1
- package/assets/esri/core/workers/chunks/{bbb409e54db77bfabdee.js → 0dcf1f3b6aa84cbe03a9.js} +1 -1
- package/assets/esri/core/workers/chunks/{59e7a0215791b2b51180.js → 126183819921e6025c90.js} +1 -1
- package/assets/esri/core/workers/chunks/{1a41c9127ca5a260d5ef.js → 15132d36e7ccbb3c009e.js} +1 -1
- package/assets/esri/core/workers/chunks/1919ed99166e70021917.js +1 -0
- package/assets/esri/core/workers/chunks/{9fac9eda0a41f7f4c2c6.js → 198ae9e02366870d3ec8.js} +1 -1
- package/assets/esri/core/workers/chunks/{6de843d1809cba61ded3.js → 1aee859eaffa54ef2515.js} +1 -1
- package/assets/esri/core/workers/chunks/1c68befc39d39799fcb8.js +1 -0
- package/assets/esri/core/workers/chunks/{df40be5a050b8d20617a.js → 1cf27708d17a4de75b68.js} +1 -1
- package/assets/esri/core/workers/chunks/{f3fdf9970b3c7acd071d.js → 21163137e345badb1aaf.js} +1 -1
- package/assets/esri/core/workers/chunks/21739c37160061f229ef.js +1 -0
- package/assets/esri/core/workers/chunks/{5b0ca8d2154ef59da600.js → 32b09ca094377a305881.js} +1 -1
- package/assets/esri/core/workers/chunks/365cb8aab4ca56999b47.js +1 -0
- package/assets/esri/core/workers/chunks/{c825ca22894bdb4d01ba.js → 3b434f318fdbbe4111e3.js} +1 -1
- package/assets/esri/core/workers/chunks/{98e04c2382fa5ba382fc.js → 3dc1ae04cfa2c06daf48.js} +1 -1
- package/assets/esri/core/workers/chunks/{c46a4681cbba638b58c1.js → 3ebd4cdafa7682062447.js} +1 -1
- package/assets/esri/core/workers/chunks/45c1a3376b138eeee329.js +1 -0
- package/assets/esri/core/workers/chunks/{76d6843d56bff0d4c45e.js → 476e51284e6ed7dc5c99.js} +1 -1
- package/assets/esri/core/workers/chunks/{18cdd268fc921ffd92e2.js → 47bea83ae7fe0e1acee0.js} +1 -1
- package/assets/esri/core/workers/chunks/{304ea784c28dc78e5e65.js → 4a857a7f5e00dfab2b44.js} +1 -1
- package/assets/esri/core/workers/chunks/4c07b2d1a14906371fc5.js +2 -0
- package/assets/esri/core/workers/chunks/{e3d3fc87789fd711f161.js.LICENSE.txt → 4c07b2d1a14906371fc5.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{04fddd41a8e6a4c1bc57.js → 5139bbe8f94df01467c7.js} +1 -1
- package/assets/esri/core/workers/chunks/{e881629bf230a148963d.js → 52ae2073604deef63ea2.js} +1 -1
- package/assets/esri/core/workers/chunks/5734aefbce8b6425630c.js +1 -0
- package/assets/esri/core/workers/chunks/{3909217130048b5feeae.js → 5852d291ef41201030d5.js} +12 -12
- package/assets/esri/core/workers/chunks/{348560f083350ad0bf2e.js → 5a0c5271304189a2401d.js} +1 -1
- package/assets/esri/core/workers/chunks/{1fe1a131be1d5e1e23ed.js → 5a1921c177580f17ff96.js} +1 -1
- package/assets/esri/core/workers/chunks/{1a13b472e0cf9f88e8de.js → 5d791bfca20791d8e0af.js} +1 -1
- package/assets/esri/core/workers/chunks/5eee48b02e1683f022df.js +2 -0
- package/assets/esri/core/workers/chunks/{ef519984fa691aad8d87.js.LICENSE.txt → 5eee48b02e1683f022df.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{3b6fc34b6d92eef030e5.js → 6298e71e6c480d6f46e3.js} +1 -1
- package/assets/esri/core/workers/chunks/{854adab6a06af861c104.js → 68d0bae1816061d96307.js} +1 -1
- package/assets/esri/core/workers/chunks/6d9e92d9c2503d5dc8dd.js +1 -0
- package/assets/esri/core/workers/chunks/{156c73a948bde11f0d53.js → 743165f9bc4d85748a0d.js} +1 -1
- package/assets/esri/core/workers/chunks/{9ff1e650ce0912afa780.js → 7449af8f3637c1694660.js} +1 -1
- package/assets/esri/core/workers/chunks/7f15d15c7e2c5d3e70c3.js +1 -0
- package/assets/esri/core/workers/chunks/{5e3dd05f1ecfdb21350e.js → 7f7c4ffbdf7b20dc7a54.js} +1 -1
- package/assets/esri/core/workers/chunks/804c9666d0dc548b9f79.js +1 -0
- package/assets/esri/core/workers/chunks/8258b1c8ba6d44ba19c3.js +1 -0
- package/assets/esri/core/workers/chunks/890833e98e79b8fd3747.js +1 -0
- package/assets/esri/core/workers/chunks/{d6e11f05db698d14f21d.js → 8a7f56139b7de0011a37.js} +1 -1
- package/assets/esri/core/workers/chunks/{dc57400b835724204909.js → 8b1fa59d436e2815b2f1.js} +2 -2
- package/assets/esri/core/workers/chunks/{dc57400b835724204909.js.LICENSE.txt → 8b1fa59d436e2815b2f1.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{ec03d59984782529031a.js → 8b575ac55bc396c0c477.js} +1 -1
- package/assets/esri/core/workers/chunks/{db9a9712038df76e3eda.js → 8ef337e25d65670eb73b.js} +1 -1
- package/assets/esri/core/workers/chunks/8f2fc50eb988c0228b05.js +1 -0
- package/assets/esri/core/workers/chunks/{c500b59cd7da54fe72ec.js → 8f3abaabc61858e929a5.js} +1 -1
- package/assets/esri/core/workers/chunks/9264cce4699284eae97c.js +2 -0
- package/assets/esri/core/workers/chunks/{5aee84e827e6fcc9c4c4.js.LICENSE.txt → 9264cce4699284eae97c.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{e201bfe3158c025edc99.js → 93faad2a759b08dce619.js} +1 -1
- package/assets/esri/core/workers/chunks/{1779e6eabc299831fc9f.js → 94c4ef224ff38eca7b87.js} +1 -1
- package/assets/esri/core/workers/chunks/95e93884b39ca4b312d1.js +2 -0
- package/assets/esri/core/workers/chunks/{90a53bfe95ed687c28c1.js.LICENSE.txt → 95e93884b39ca4b312d1.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{e8f6305744f87bbed961.js → 96616126aaf319cd1c6f.js} +1 -1
- package/assets/esri/core/workers/chunks/{d8c8f54532714d4db2cd.js → 981f05b5ef6f9c3f7e8a.js} +1 -1
- package/assets/esri/core/workers/chunks/{841058de8bc6e328fd68.js → 9d77a7d04872b4535e9e.js} +1 -1
- package/assets/esri/core/workers/chunks/{338768f94cc49559b209.js → 9ebc4303e29ee0fc1716.js} +1 -1
- package/assets/esri/core/workers/chunks/a270e34bb248114ec280.js +1 -0
- package/assets/esri/core/workers/chunks/a6b8ce1c2996ee392bdf.js +1 -0
- package/assets/esri/core/workers/chunks/{6610d23d8539f06e64ca.js → adecd31fd64d6753682d.js} +1 -1
- package/assets/esri/core/workers/chunks/{b91a157fb5f729de6597.js → b5ca894a6cb1a19676d5.js} +1 -1
- package/assets/esri/core/workers/chunks/{a2c0c1bb5e775abefc90.js → b6530c66804bede649d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{3849dc35941e569fae5f.js → c12c095937b21e39ad3c.js} +1 -1
- package/assets/esri/core/workers/chunks/c18a2948ae3cb527d8bb.js +1 -0
- package/assets/esri/core/workers/chunks/{4ff3c03cfbec928c0720.js → c4fb3f0b0cfb21e68413.js} +1 -1
- package/assets/esri/core/workers/chunks/{f5b32bc3f7ee911e3c59.js → c5d56b85d34026507902.js} +1 -1
- package/assets/esri/core/workers/chunks/{181fab86394f1f912490.js → cc464d5a83f8f405e66c.js} +1 -1
- package/assets/esri/core/workers/chunks/cee29c3a94376f6740d7.js +1 -0
- package/assets/esri/core/workers/chunks/d6d9d56b3733622deab6.js +1 -0
- package/assets/esri/core/workers/chunks/{ce9467dc1ff695d795e5.js → d8b72c6f5f9b2d013b7f.js} +1 -1
- package/assets/esri/core/workers/chunks/{f0eb2bfe5a8607b251f5.js → dc2c9b584f8e4627de7f.js} +1 -1
- package/assets/esri/core/workers/chunks/{b586d7e608e8ba8b88fe.js → e067bbf12f711fd5b9a6.js} +1 -1
- package/assets/esri/core/workers/chunks/e271065410ba5c872f53.js +1 -0
- package/assets/esri/core/workers/chunks/{d9d2178d436597b1afaf.js → e7e508258ad27468a6a5.js} +1 -1
- package/assets/esri/core/workers/chunks/e8a0654cebafa22b5b56.js +1 -0
- package/assets/esri/core/workers/chunks/e95f90d59041640727da.js +1 -0
- package/assets/esri/core/workers/chunks/eb063660c37093f85349.js +1 -0
- package/assets/esri/core/workers/chunks/{2a1898c5b8d7757e39e3.js → f1e1666bede364c069fc.js} +1 -1
- package/assets/esri/core/workers/chunks/{ac0949ea3d2cf3eb7383.js → f25eb512592a84a508c1.js} +1 -1
- package/assets/esri/core/workers/chunks/f5ed6953a9255f0bed6a.js.LICENSE.txt +1 -1
- package/assets/esri/core/workers/chunks/f64ec13167eb51da2f9b.js +1 -0
- package/assets/esri/core/workers/chunks/{14f8215ab716c6d9d5f8.js → fbf21fda283836e8633c.js} +1 -1
- package/assets/esri/core/workers/chunks/fc763ce37d631e006199.js +1 -0
- package/assets/esri/core/workers/chunks/ff2a170acd98edfd0e06.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/HUDMaterial.glsl.js +1 -1
- package/config.js +1 -1
- package/copyright.txt +2 -2
- package/core/Clonable.d.ts +0 -2
- package/core/Collection.d.ts +1 -1
- package/core/Error.d.ts +0 -1
- package/core/Evented.d.ts +0 -2
- package/core/Identifiable.d.ts +0 -1
- package/core/JSONSupport.d.ts +0 -2
- package/core/MultiOriginJSONSupport.d.ts +1 -3
- package/core/Promise.d.ts +8 -4
- package/core/ReadOnlyMultiOriginJSONSupport.d.ts +0 -2
- package/core/Version.d.ts +0 -1
- package/core/accessorSupport/types.d.ts +0 -1
- package/core/sql/types.d.ts +0 -1
- package/core/timeUtils.js +1 -1
- package/core/types.d.ts +0 -1
- package/core/units.d.ts +1 -1
- package/editing/sharedTemplates/templateLoader.js +5 -0
- package/editing/sharedTemplates/types.d.ts +0 -1
- package/editing/templateUtils.js +1 -1
- package/effects/FocusArea.d.ts +3 -3
- package/effects/FocusAreaOutline.d.ts +3 -3
- package/effects/FocusAreas.d.ts +3 -3
- package/effects/types.d.ts +0 -1
- package/form/ExpressionInfo.d.ts +2 -2
- package/form/FormTemplate.d.ts +2 -2
- package/form/elements/Element.d.ts +2 -2
- package/form/elements/UtilityNetworkAssociationsElement.d.ts +2 -2
- package/geometry/Geometry.d.ts +2 -2
- package/geometry/HeightModelInfo.d.ts +2 -2
- package/geometry/Mesh.d.ts +3 -3
- package/geometry/SpatialReference.d.ts +2 -2
- package/geometry/geometryEngineTypes.d.ts +0 -1
- package/geometry/support/MeshComponent.d.ts +3 -3
- package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +3 -3
- package/geometry/support/MeshLocalVertexSpace.d.ts +3 -3
- package/geometry/support/MeshMaterial.d.ts +3 -3
- package/geometry/support/MeshTexture.d.ts +3 -3
- package/geometry/support/MeshTextureTransform.d.ts +3 -3
- package/geometry/support/MeshTransform.d.ts +3 -3
- package/geometry/support/MeshVertexAttributes.d.ts +3 -3
- package/graphic/GraphicOrigin.d.ts +0 -1
- package/ground/NavigationConstraint.d.ts +2 -2
- package/identity/Credential.d.ts +2 -2
- package/identity/OAuthInfo.d.ts +2 -2
- package/identity/ServerInfo.d.ts +2 -2
- package/interfaces.d.ts +8 -3
- package/intl/locale.d.ts +0 -1
- package/intl/messages.d.ts +0 -1
- package/intl/number.d.ts +0 -1
- package/intl/substitute.d.ts +0 -1
- package/intl/t9n.d.ts +0 -1
- package/kernel.js +1 -1
- package/layers/BaseElevationLayer.d.ts +3 -4
- package/layers/BingMapsLayer.d.ts +2 -2
- package/layers/BuildingSceneLayer.d.ts +5 -4
- package/layers/CatalogLayer.d.ts +3 -3
- package/layers/DimensionLayer.d.ts +2 -2
- package/layers/ElevationLayer.d.ts +3 -4
- package/layers/ElevationLayer.js +1 -1
- package/layers/FeatureLayer.d.ts +4 -4
- package/layers/GaussianSplatLayer.d.ts +2 -2
- package/layers/GeoJSONLayer.d.ts +2 -2
- package/layers/GeoRSSLayer.d.ts +2 -2
- package/layers/GroupLayer.d.ts +2 -2
- package/layers/ImageryLayer.d.ts +3 -3
- package/layers/ImageryTileLayer.d.ts +3 -3
- package/layers/IntegratedMesh3DTilesLayer.d.ts +2 -2
- package/layers/IntegratedMeshLayer.d.ts +5 -4
- package/layers/KMLLayer.d.ts +2 -2
- package/layers/KnowledgeGraphLayer.d.ts +2 -2
- package/layers/Layer.d.ts +2 -2
- package/layers/LineOfSightLayer.d.ts +2 -2
- package/layers/LinkChartLayer.d.ts +2 -2
- package/layers/MapImageLayer.d.ts +2 -2
- package/layers/MapNotesLayer.d.ts +2 -2
- package/layers/MediaLayer.d.ts +2 -2
- package/layers/OGCFeatureLayer.d.ts +2 -2
- package/layers/ParquetLayer.d.ts +3 -3
- package/layers/PointCloudLayer.d.ts +5 -4
- package/layers/RouteLayer.d.ts +2 -2
- package/layers/SceneLayer.d.ts +6 -5
- package/layers/StreamLayer.d.ts +3 -3
- package/layers/SubtypeGroupLayer.d.ts +4 -4
- package/layers/TileLayer.d.ts +2 -2
- package/layers/UnknownLayer.d.ts +2 -2
- package/layers/UnsupportedLayer.d.ts +2 -2
- package/layers/VectorTileLayer.d.ts +2 -2
- package/layers/VideoLayer.d.ts +2 -2
- package/layers/ViewshedLayer.d.ts +2 -2
- package/layers/VoxelLayer.d.ts +2 -2
- package/layers/WCSLayer.d.ts +3 -3
- package/layers/WFSLayer.d.ts +2 -2
- package/layers/WMSLayer.d.ts +2 -2
- package/layers/WMTSLayer.d.ts +2 -2
- package/layers/WebTileLayer.d.ts +2 -2
- package/layers/buildingSublayers/BuildingComponentSublayer.d.ts +2 -2
- package/layers/buildingSublayers/BuildingGroupSublayer.d.ts +1 -1
- package/layers/buildingSublayers/BuildingSublayer.d.ts +2 -2
- package/layers/catalog/CatalogDynamicGroupLayer.d.ts +2 -2
- package/layers/catalog/CatalogFootprintLayer.d.ts +2 -2
- package/layers/effects/types.d.ts +0 -1
- package/layers/knowledgeGraph/IdTypePair.d.ts +0 -1
- package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +2 -2
- package/layers/mixins/APIKeyMixin.d.ts +0 -1
- package/layers/mixins/CustomParametersMixin.d.ts +0 -1
- package/layers/mixins/EditBusLayer.d.ts +0 -2
- package/layers/mixins/ImageryTileMixin.js +1 -1
- package/layers/mixins/OperationalLayer.d.ts +0 -1
- package/layers/mixins/ScaleRangeLayer.d.ts +0 -1
- package/layers/mixins/SceneService.d.ts +0 -6
- package/layers/pointCloudFilters/PointCloudFilter.d.ts +2 -2
- package/layers/raster/datasets/FunctionRaster.js +1 -1
- package/layers/raster/datasets/pixelReader.d.ts +0 -1
- package/layers/raster/datasets/types.d.ts +0 -1
- package/layers/raster/functions/BaseRasterFunction.js +1 -1
- package/layers/raster/functions/StretchFunction.js +1 -1
- package/layers/raster/functions/changeDetectionUtils.d.ts +0 -1
- package/layers/raster/functions/focalStatUtils.d.ts +0 -1
- package/layers/scene/types.d.ts +11 -0
- package/layers/support/AggregateField.d.ts +2 -2
- package/layers/support/BuildingFilter.d.ts +2 -2
- package/layers/support/BuildingFilterBlock.d.ts +2 -2
- package/layers/support/BuildingSummaryStatistics.d.ts +3 -3
- package/layers/support/CodedValue.d.ts +2 -2
- package/layers/support/ControlPoint.d.ts +2 -2
- package/layers/support/ControlPointsGeoreference.d.ts +2 -2
- package/layers/support/DimensionalDefinition.d.ts +2 -2
- package/layers/support/DisplayFilter.d.ts +3 -3
- package/layers/support/DisplayFilterInfo.d.ts +3 -3
- package/layers/support/Domain.d.ts +2 -2
- package/layers/support/EditFieldsInfo.d.ts +3 -3
- package/layers/support/ElevationQuery.js +1 -1
- package/layers/support/ElevationTileData.js +1 -1
- package/layers/support/ExpressionInfo.d.ts +3 -3
- package/layers/support/FacilityLayerInfo.d.ts +2 -2
- package/layers/support/FeatureEffect.d.ts +2 -2
- package/layers/support/FeatureFilter.d.ts +2 -2
- package/layers/support/FeatureReductionBinning.d.ts +2 -2
- package/layers/support/FeatureReductionCluster.d.ts +2 -2
- package/layers/support/FeatureReductionSelection.d.ts +2 -2
- package/layers/support/FeatureTemplate.d.ts +3 -3
- package/layers/support/FeatureType.d.ts +3 -3
- package/layers/support/Field.d.ts +2 -2
- package/layers/support/FieldConfiguration.d.ts +3 -3
- package/layers/support/GeometryFieldsInfo.d.ts +3 -3
- package/layers/support/KMLSublayer.d.ts +3 -3
- package/layers/support/LOD.d.ts +2 -2
- package/layers/support/LabelClass.d.ts +2 -2
- package/layers/support/LabelExpressionInfo.d.ts +2 -2
- package/layers/support/LayerFloorInfo.d.ts +2 -2
- package/layers/support/LevelLayerInfo.d.ts +2 -2
- package/layers/support/LocalMediaElementSource.d.ts +3 -3
- package/layers/support/MapImage.d.ts +2 -2
- package/layers/support/MediaElementBase.d.ts +2 -2
- package/layers/support/MosaicRule.d.ts +2 -2
- package/layers/support/MultidimensionalSubset.d.ts +13 -4
- package/layers/support/OrderByInfo.d.ts +2 -2
- package/layers/support/ParquetGeometryEncodingLocation.d.ts +3 -3
- package/layers/support/ParquetGeometryEncodingWkb.d.ts +3 -3
- package/layers/support/PixelBlock.d.ts +2 -2
- package/layers/support/PlaybackInfo.d.ts +3 -3
- package/layers/support/PurgeOptions.d.ts +2 -2
- package/layers/support/RasterBandInfo.d.ts +2 -2
- package/layers/support/RasterFunction.d.ts +2 -2
- package/layers/support/RasterInfo.d.ts +2 -2
- package/layers/support/RasterJobHandler.js +1 -1
- package/layers/support/RasterSensorInfo.d.ts +2 -2
- package/layers/support/RasterWorker.js +1 -1
- package/layers/support/Relationship.d.ts +5 -3
- package/layers/support/RouteStopSymbols.d.ts +2 -2
- package/layers/support/RouteSymbols.d.ts +2 -2
- package/layers/support/SceneFilter.d.ts +2 -2
- package/layers/support/SceneLayerViewFilter.js +5 -0
- package/layers/support/SceneModification.d.ts +2 -2
- package/layers/support/SceneModifications.d.ts +1 -1
- package/layers/support/SiteLayerInfo.d.ts +2 -2
- package/layers/support/Sublayer.d.ts +2 -2
- package/layers/support/Subtype.d.ts +3 -3
- package/layers/support/SubtypeSublayer.d.ts +3 -3
- package/layers/support/TelemetryData.d.ts +3 -3
- package/layers/support/TelemetryDisplay.d.ts +3 -3
- package/layers/support/TileInfo.d.ts +2 -2
- package/layers/support/TileMatrixSet.d.ts +2 -2
- package/layers/support/TimeInfo.d.ts +3 -3
- package/layers/support/TrackInfo.d.ts +3 -3
- package/layers/support/TrackPartInfo.d.ts +3 -3
- package/layers/support/VideoTimeExtent.d.ts +3 -3
- package/layers/support/WMSSublayer.d.ts +2 -2
- package/layers/support/WMTSStyle.d.ts +2 -2
- package/layers/support/WMTSSublayer.d.ts +2 -2
- package/layers/support/types.d.ts +32 -0
- package/layers/video/types.d.ts +0 -1
- package/layers/voxel/VoxelColorStop.d.ts +3 -3
- package/layers/voxel/VoxelDynamicSection.d.ts +3 -3
- package/layers/voxel/VoxelIsosurface.d.ts +3 -3
- package/layers/voxel/VoxelOpacityStop.d.ts +3 -3
- package/layers/voxel/VoxelRangeFilter.d.ts +3 -3
- package/layers/voxel/VoxelSlice.d.ts +3 -3
- package/layers/voxel/VoxelTransferFunctionStyle.d.ts +3 -3
- package/layers/voxel/VoxelUniqueValue.d.ts +3 -3
- package/layers/voxel/VoxelVariable.d.ts +2 -2
- package/layers/voxel/VoxelVariableStyle.d.ts +2 -2
- package/layers/voxel/VoxelVolumeStyle.d.ts +2 -2
- package/layers/wms/types.d.ts +0 -1
- package/layers/wmts/types.d.ts +0 -1
- package/linkChart/ChronologicalLayoutSettings.d.ts +3 -3
- package/linkChart/LayoutSettings.d.ts +3 -3
- package/linkChart/LinkChartProperties.d.ts +3 -3
- package/linkChart/NonspatialDataDisplay.d.ts +3 -3
- package/linkChart/OrganicLayoutSettings.d.ts +3 -3
- package/linkChart/types.d.ts +0 -1
- package/networks/CircuitManager.d.ts +3 -3
- package/networks/Network.d.ts +2 -2
- package/networks/UnitIdentifierManager.d.ts +2 -2
- package/networks/support/Circuit.d.ts +2 -2
- package/networks/support/CircuitLocation.d.ts +2 -2
- package/networks/support/CircuitPath.d.ts +2 -2
- package/networks/support/CircuitPathConnectivityElement.d.ts +2 -2
- package/networks/support/CircuitSection.d.ts +2 -2
- package/networks/support/NamedTraceConfiguration.d.ts +2 -2
- package/networks/support/Subcircuit.d.ts +2 -2
- package/networks/support/Terminal.d.ts +2 -2
- package/networks/support/TerminalConfiguration.d.ts +2 -2
- package/networks/support/TraceConfiguration.d.ts +2 -2
- package/networks/support/UNTraceConfiguration.d.ts +2 -2
- package/networks/support/jsonTypes.d.ts +65 -0
- package/networks/support/typeUtils.d.ts +0 -1
- package/package.json +1 -1
- package/popup/ElementExpressionInfo.d.ts +2 -2
- package/popup/ExpressionInfo.d.ts +2 -2
- package/popup/FieldInfo.d.ts +3 -3
- package/popup/LayerOptions.d.ts +2 -2
- package/popup/RelatedRecordsInfo.d.ts +2 -2
- package/popup/content/AttachmentsContent.d.ts +2 -2
- package/popup/content/Content.d.ts +2 -2
- package/popup/content/RelationshipContent.d.ts +2 -2
- package/popup/content/UtilityNetworkAssociationsContent.d.ts +2 -2
- package/popup/content/mixins/MediaInfo.d.ts +2 -2
- package/popup/content/support/ChartMediaInfoValue.d.ts +2 -2
- package/popup/content/support/ImageMediaInfoValue.d.ts +2 -2
- package/popup/support/AttachmentsOrderByInfo.d.ts +3 -3
- package/popup/support/FieldInfoFormat.d.ts +3 -3
- package/popup/support/RelatedRecordsInfoFieldOrder.d.ts +2 -2
- package/popup/support/UtilityNetworkAssociationType.d.ts +3 -3
- package/portal/Portal.d.ts +2 -2
- package/portal/PortalFolder.d.ts +2 -2
- package/portal/PortalGroup.d.ts +2 -2
- package/portal/PortalItem.d.ts +2 -2
- package/portal/PortalUser.d.ts +2 -2
- package/portal/timeUnitKebabDictionary.js +1 -1
- package/renderers/FlowRenderer.d.ts +2 -2
- package/renderers/PieChartRenderer.d.ts +2 -2
- package/renderers/PointCloudRenderer.d.ts +2 -2
- package/renderers/RasterColormapRenderer.d.ts +2 -2
- package/renderers/RasterShadedReliefRenderer.d.ts +2 -2
- package/renderers/RasterStretchRenderer.d.ts +2 -2
- package/renderers/Renderer.d.ts +2 -2
- package/renderers/VectorFieldRenderer.d.ts +2 -2
- package/renderers/support/AttributeColorInfo.d.ts +2 -2
- package/renderers/support/AuthoringInfo.d.ts +2 -2
- package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +2 -2
- package/renderers/support/AuthoringInfoFieldInfo.d.ts +2 -2
- package/renderers/support/AuthoringInfoVisualVariable.d.ts +2 -2
- package/renderers/support/ClassBreakInfo.d.ts +2 -2
- package/renderers/support/ColormapInfo.d.ts +2 -2
- package/renderers/support/DotDensityLegendOptions.d.ts +2 -2
- package/renderers/support/HeatmapColorStop.d.ts +2 -2
- package/renderers/support/HeatmapLegendOptions.d.ts +3 -3
- package/renderers/support/OthersCategory.d.ts +3 -3
- package/renderers/support/RasterPresetRenderer.d.ts +3 -3
- package/renderers/support/RendererLegendOptions.d.ts +3 -3
- package/renderers/support/UniqueValue.d.ts +3 -3
- package/renderers/support/UniqueValueClass.d.ts +3 -3
- package/renderers/support/UniqueValueGroup.d.ts +3 -3
- package/renderers/support/UniqueValueInfo.d.ts +2 -2
- package/renderers/support/pointCloud/ColorClassBreakInfo.d.ts +2 -2
- package/renderers/support/pointCloud/ColorModulation.d.ts +2 -2
- package/renderers/support/pointCloud/ColorUniqueValueInfo.d.ts +2 -2
- package/renderers/visualVariables/VisualVariable.d.ts +2 -2
- package/renderers/visualVariables/support/ColorSizeStop.d.ts +2 -2
- package/renderers/visualVariables/support/ColorStop.d.ts +2 -2
- package/renderers/visualVariables/support/OpacityStop.d.ts +2 -2
- package/renderers/visualVariables/support/SizeStop.d.ts +2 -2
- package/renderers/visualVariables/support/VisualVariableLegendOptions.d.ts +3 -3
- package/rest/featureService/FeatureService.d.ts +2 -2
- package/rest/featureService/types.d.ts +42 -5
- package/rest/geoprocessor/GPOptions.d.ts +2 -2
- package/rest/geoprocessor/utils.js +1 -1
- package/rest/knowledgeGraph/DataModel.d.ts +2 -2
- package/rest/knowledgeGraph/FieldIndex.d.ts +2 -2
- package/rest/knowledgeGraph/GraphObject.d.ts +2 -2
- package/rest/knowledgeGraph/GraphObjectType.d.ts +2 -2
- package/rest/knowledgeGraph/GraphProperty.d.ts +2 -2
- package/rest/knowledgeGraph/KnowledgeGraph.d.ts +2 -2
- package/rest/knowledgeGraph/Path.d.ts +2 -2
- package/rest/knowledgeGraph/ServiceDefinition.d.ts +2 -2
- package/rest/knowledgeGraph/SourceTypeValueBehavior.d.ts +2 -2
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsConfiguration.d.ts +2 -2
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsEntity.d.ts +2 -2
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsPathFilter.d.ts +2 -2
- package/rest/knowledgeGraph/toolService/findPaths/CIMFilteredFindPathsResultJSON.d.ts +0 -1
- package/rest/knowledgeGraph/toolService/findPaths/CIMKGTraversalDirection.d.ts +2 -2
- package/rest/knowledgeGraph/wasmInterface/WasmDataModelWrapperInterfaces.d.ts +0 -1
- package/rest/lastMileDelivery/types.d.ts +0 -1
- package/rest/layerSources/DynamicDataLayer.d.ts +2 -2
- package/rest/layerSources/DynamicMapLayer.d.ts +2 -2
- package/rest/layerSources/JoinTableDataSource.d.ts +2 -2
- package/rest/layerSources/QueryTableDataSource.d.ts +2 -2
- package/rest/layerSources/RasterDataSource.d.ts +2 -2
- package/rest/layerSources/TableDataSource.d.ts +2 -2
- package/rest/networks/circuits/exportCircuits.js +1 -1
- package/rest/networks/circuits/support/CircuitTraceResult.d.ts +2 -2
- package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +11 -3
- package/rest/networks/circuits/support/ExportCircuitsParameters.js +1 -1
- package/rest/networks/circuits/support/QueryCircuitsParameters.d.ts +2 -2
- package/rest/networks/support/AggregatedGeometry.d.ts +2 -2
- package/rest/networks/support/Association.d.ts +2 -2
- package/rest/networks/support/AssociationGeometriesResult.d.ts +2 -2
- package/rest/networks/support/FunctionResult.d.ts +2 -2
- package/rest/networks/support/NetworkElement.d.ts +2 -2
- package/rest/networks/support/QueryAssociationsParameters.d.ts +2 -2
- package/rest/networks/support/QueryAssociationsResult.d.ts +2 -2
- package/rest/networks/support/QueryNamedTraceConfigurationsParameters.d.ts +2 -2
- package/rest/networks/support/SynthesizeAssociationGeometriesParameters.d.ts +2 -2
- package/rest/networks/support/TraceLocation.d.ts +3 -3
- package/rest/networks/support/TraceParameters.d.ts +2 -2
- package/rest/networks/support/TraceResult.d.ts +2 -2
- package/rest/networks/support/ValidateNetworkTopologyParameters.d.ts +2 -2
- package/rest/networks/support/ValidateNetworkTopologyResult.d.ts +2 -2
- package/rest/query/support/AttachmentInfo.d.ts +2 -2
- package/rest/support/AddressCandidate.d.ts +2 -2
- package/rest/support/AddressToLocationsParameters.d.ts +2 -2
- package/rest/support/AddressesToLocationsParameters.d.ts +2 -2
- package/rest/support/ArealUnit.d.ts +2 -2
- package/rest/support/AreasAndLengthsParameters.d.ts +2 -2
- package/rest/support/AttachmentQuery.d.ts +2 -2
- package/rest/support/AttributeBinsFeatureSet.d.ts +2 -2
- package/rest/support/AttributeBinsGrouping.d.ts +3 -3
- package/rest/support/AttributeBinsQuery.d.ts +3 -3
- package/rest/support/BaseImageMeasureParameters.d.ts +2 -2
- package/rest/support/BaseImageMeasureResult.d.ts +2 -2
- package/rest/support/BaseImageMeasureResultValue.d.ts +2 -2
- package/rest/support/BinParametersBase.d.ts +3 -3
- package/rest/support/BufferParameters.d.ts +2 -2
- package/rest/support/CameraInfo.d.ts +2 -2
- package/rest/support/CameraInfoMixin.d.ts +0 -1
- package/rest/support/ClosestFacilityParameters.d.ts +3 -3
- package/rest/support/ClosestFacilitySolveResult.d.ts +2 -2
- package/rest/support/ColorRamp.d.ts +2 -2
- package/rest/support/DataFile.d.ts +2 -2
- package/rest/support/DataLayer.d.ts +3 -3
- package/rest/support/DateBinTimeInterval.d.ts +3 -3
- package/rest/support/DensifyParameters.d.ts +2 -2
- package/rest/support/DirectionLine.d.ts +3 -3
- package/rest/support/DirectionPoint.d.ts +3 -3
- package/rest/support/DirectionsEvent.d.ts +2 -2
- package/rest/support/DirectionsString.d.ts +2 -2
- package/rest/support/FeatureSet.d.ts +2 -2
- package/rest/support/FindImagesParameters.d.ts +3 -3
- package/rest/support/FindImagesResult.d.ts +2 -2
- package/rest/support/FindParameters.d.ts +2 -2
- package/rest/support/FindResult.d.ts +2 -2
- package/rest/support/GPMessage.d.ts +2 -2
- package/rest/support/GeneralizeParameters.d.ts +2 -2
- package/rest/support/IdentifyParameters.d.ts +2 -2
- package/rest/support/IdentifyResult.d.ts +2 -2
- package/rest/support/ImageAngleParameters.d.ts +2 -2
- package/rest/support/ImageAngleResult.d.ts +2 -2
- package/rest/support/ImageBoundaryParameters.d.ts +3 -3
- package/rest/support/ImageBoundaryResult.d.ts +2 -2
- package/rest/support/ImageGPSInfo.d.ts +2 -2
- package/rest/support/ImageGPSInfoParameters.d.ts +3 -3
- package/rest/support/ImageGPSInfoResult.d.ts +2 -2
- package/rest/support/ImageHistogramParameters.d.ts +2 -2
- package/rest/support/ImageIdentifyParameters.d.ts +2 -2
- package/rest/support/ImageIdentifyResult.d.ts +2 -2
- package/rest/support/ImageInspectionInfo.d.ts +2 -2
- package/rest/support/ImagePixelLocationParameters.d.ts +2 -2
- package/rest/support/ImagePixelLocationResult.d.ts +2 -2
- package/rest/support/ImageSample.d.ts +2 -2
- package/rest/support/ImageSampleParameters.d.ts +2 -2
- package/rest/support/ImageSampleResult.d.ts +2 -2
- package/rest/support/ImageToMapMultirayParameters.d.ts +3 -3
- package/rest/support/ImageToMapParameters.d.ts +3 -3
- package/rest/support/ImageUrlParameters.d.ts +3 -3
- package/rest/support/ImageUrlResult.d.ts +2 -2
- package/rest/support/ImageVolume.d.ts +2 -2
- package/rest/support/ImageVolumeParameters.d.ts +3 -3
- package/rest/support/ImageVolumeResult.d.ts +2 -2
- package/rest/support/JobInfo.d.ts +2 -2
- package/rest/support/LastMileDeliveryParameters.d.ts +3 -3
- package/rest/support/LegendLayer.d.ts +2 -2
- package/rest/support/LengthsParameters.d.ts +2 -2
- package/rest/support/LinearUnit.d.ts +2 -2
- package/rest/support/LocateSettingBase.d.ts +3 -3
- package/rest/support/LocateSettingSource.d.ts +3 -3
- package/rest/support/LocateSettings.d.ts +3 -3
- package/rest/support/LocateSettingsOverrides.d.ts +3 -3
- package/rest/support/LocationToAddressParameters.d.ts +2 -2
- package/rest/support/MapToImageParameters.d.ts +3 -3
- package/rest/support/MeasureAreaFromImageResult.d.ts +2 -2
- package/rest/support/MeasureFromImageParameters.d.ts +2 -2
- package/rest/support/MeasureLengthFromImageResult.d.ts +2 -2
- package/rest/support/NetworkUrl.d.ts +3 -3
- package/rest/support/NormalizationBinParametersMixin.d.ts +0 -1
- package/rest/support/OffsetParameters.d.ts +2 -2
- package/rest/support/ParameterValue.d.ts +4 -2
- package/rest/support/PointBarrier.d.ts +3 -3
- package/rest/support/PolygonBarrier.d.ts +3 -3
- package/rest/support/PolylineBarrier.d.ts +3 -3
- package/rest/support/ProjectParameters.d.ts +2 -2
- package/rest/support/QuantizationParameters.d.ts +2 -2
- package/rest/support/Query.d.ts +13 -2
- package/rest/support/RasterData.d.ts +2 -2
- package/rest/support/RelationParameters.d.ts +2 -2
- package/rest/support/RelationshipQuery.d.ts +2 -2
- package/rest/support/RouteInfo.d.ts +3 -3
- package/rest/support/RouteParameters.d.ts +3 -3
- package/rest/support/RouteResult.d.ts +2 -2
- package/rest/support/RouteSolveResult.d.ts +2 -2
- package/rest/support/ServiceAreaParameters.d.ts +3 -3
- package/rest/support/ServiceAreaSolveResult.d.ts +2 -2
- package/rest/support/StatisticDefinition.d.ts +2 -2
- package/rest/support/Stop.d.ts +3 -3
- package/rest/support/SuggestLocationsParameters.d.ts +2 -2
- package/rest/support/TimeUnit.d.ts +42 -0
- package/rest/support/TimeUnit.js +5 -0
- package/rest/support/TopFeaturesQuery.d.ts +2 -2
- package/rest/support/TopFilter.d.ts +2 -2
- package/rest/support/TravelMode.d.ts +3 -3
- package/rest/support/TrimExtendParameters.d.ts +2 -2
- package/rest/support/parameterValueUtils.js +1 -1
- package/rest/types.d.ts +1 -1
- package/rest/versionManagement/gdbVersion/support/AlterVersionParameters.d.ts +2 -2
- package/rest/versionManagement/gdbVersion/support/ReconcileParameters.d.ts +2 -2
- package/rest/versionManagement/support/CreateVersionParameters.d.ts +2 -2
- package/rest/versionManagement/support/GetVersionInfosParameters.d.ts +2 -2
- package/statistics/types.d.ts +0 -1
- package/support/MapFloorInfo.d.ts +2 -2
- package/support/revision.js +1 -1
- package/symbols/Font.d.ts +2 -2
- package/symbols/LineStyleMarker3D.d.ts +3 -3
- package/symbols/LineSymbolMarker.d.ts +2 -2
- package/symbols/Symbol.d.ts +2 -2
- package/symbols/Symbol3DLayer.d.ts +2 -2
- package/symbols/callouts/Callout3D.d.ts +2 -2
- package/symbols/callouts/LineCallout3DBorder.d.ts +2 -2
- package/symbols/edges/Edges3D.d.ts +2 -2
- package/symbols/patterns/LinePattern3D.d.ts +2 -2
- package/symbols/patterns/Pattern3D.d.ts +2 -2
- package/symbols/support/ElevationInfo.d.ts +10 -4
- package/symbols/support/FeatureExpressionInfo.d.ts +2 -2
- package/symbols/support/IconSymbol3DLayerResource.d.ts +2 -2
- package/symbols/support/ObjectSymbol3DLayerResource.d.ts +2 -2
- package/symbols/support/OccludedVisibility.d.ts +3 -3
- package/symbols/support/Symbol3DFillMaterial.js +1 -1
- package/symbols/support/Symbol3DHalo.d.ts +2 -2
- package/symbols/support/Symbol3DIconOutline.d.ts +2 -2
- package/symbols/support/Symbol3DMaterial.d.ts +6 -4
- package/symbols/support/Symbol3DMaterial.js +1 -1
- package/symbols/support/Symbol3DOutline.d.ts +2 -2
- package/symbols/support/Symbol3DTextBackground.d.ts +3 -3
- package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
- package/symbols/support/symbolUtils.js +1 -1
- package/symbols/support/types.d.ts +0 -1
- package/tables/AttributeTableTemplate.d.ts +2 -2
- package/tables/elements/AttributeTableAttachmentElement.d.ts +2 -2
- package/tables/elements/AttributeTableElement.d.ts +2 -2
- package/tables/elements/AttributeTableFieldElement.d.ts +2 -2
- package/tables/elements/AttributeTableGroupElement.d.ts +2 -2
- package/tables/elements/AttributeTableRelationshipElement.d.ts +2 -2
- package/tables/support/FieldOrder.d.ts +3 -3
- package/time/TimeExtent.d.ts +2 -2
- package/time/TimeExtent.js +1 -1
- package/time/TimeInterval.d.ts +3 -3
- package/time/types.d.ts +0 -1
- package/versionManagement/VersionManagementService.d.ts +2 -2
- package/versionManagement/VersioningState.d.ts +2 -2
- package/versionManagement/support/type.d.ts +0 -1
- package/views/2d/ViewState.d.ts +2 -2
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/layers/imagery/ImageryTileView2D.js +1 -1
- package/views/2d/layers/support/MediaLayerInteractionOptions.d.ts +0 -1
- package/views/3d/analysis/Dimension/types.d.ts +0 -1
- package/views/3d/analysis/Slice/types.d.ts +0 -1
- package/views/3d/analysis/Viewshed/types.d.ts +0 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
- package/views/3d/camera/intersectionUtils.js +1 -1
- package/views/3d/constraints/AltitudeConstraint.d.ts +2 -2
- package/views/3d/constraints/ClipDistanceConstraint.d.ts +2 -2
- package/views/3d/constraints/Constraints.d.ts +2 -2
- package/views/3d/constraints/TiltConstraint.d.ts +2 -2
- package/views/3d/environment/CloudyWeather.d.ts +2 -2
- package/views/3d/environment/FoggyWeather.d.ts +2 -2
- package/views/3d/environment/RainyWeather.d.ts +2 -2
- package/views/3d/environment/SnowyWeather.d.ts +2 -2
- package/views/3d/environment/SunLighting.d.ts +2 -2
- package/views/3d/environment/SunnyWeather.d.ts +2 -2
- package/views/3d/environment/VirtualLighting.d.ts +2 -2
- package/views/3d/layers/ElevationLayerView3D.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/pointsOfInterest/StableSurfaceCenter.js +1 -1
- package/views/3d/webgl/ManagedFBO.js +1 -1
- package/views/3d/webgl/ManagedFBOResource.d.ts +0 -1
- package/views/3d/webgl/RenderNode.d.ts +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl/types.d.ts +0 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
- package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
- package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillColor.js +1 -1
- package/views/3d/webgl-engine/lib/CutFillDepth.js +1 -1
- package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/statistics/RendererPerformanceInfo.js +1 -1
- package/views/3d/webgl.d.ts +16 -8
- package/views/3d/webgl.js +1 -1
- package/views/Theme.d.ts +2 -2
- package/views/VideoView.d.ts +4 -4
- package/views/View.d.ts +3 -3
- package/views/View2D.d.ts +2 -2
- package/views/ViewAnimation.d.ts +2 -2
- package/views/Viewport2DMixin.d.ts +0 -2
- package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +2 -2
- package/views/animation/types.d.ts +0 -1
- package/views/draw/CursorUpdateEvent.d.ts +0 -1
- package/views/draw/DrawAction.d.ts +3 -3
- package/views/draw/DrawCompleteEvent.d.ts +0 -1
- package/views/draw/VertexAddEvent.d.ts +0 -1
- package/views/draw/VertexRemoveEvent.d.ts +0 -1
- package/views/draw/support/managers/{DrawTooltipManager.js → TooltipManager.js} +1 -1
- package/views/draw/types.d.ts +0 -1
- package/views/interactive/Tooltip.d.ts +2 -2
- package/views/interactive/snapping/SelfSnappingEngine.js +1 -1
- package/views/interactive/snapping/SnappingContext.js +1 -1
- package/views/interactive/tooltip/types.d.ts +0 -1
- package/views/layers/ImageryTileLayerViewMixin.d.ts +0 -1
- package/views/layers/LayerView.d.ts +3 -3
- package/views/layers/SceneLayerView.js +1 -1
- package/views/layers/types.d.ts +0 -1
- package/views/navigation/types.d.ts +0 -1
- package/views/support/AttributionItem.d.ts +0 -1
- package/views/ui/UI.d.ts +2 -2
- package/webdoc/GeotriggersInfo.d.ts +3 -3
- package/webdoc/IPSInfo.d.ts +3 -3
- package/webdoc/Widgets.d.ts +2 -2
- package/webdoc/applicationProperties/Search.d.ts +2 -2
- package/webdoc/applicationProperties/SearchLayer.d.ts +2 -2
- package/webdoc/applicationProperties/SearchLayerField.d.ts +2 -2
- package/webdoc/applicationProperties/SearchTable.d.ts +2 -2
- package/webdoc/applicationProperties/SearchTableField.d.ts +2 -2
- package/webdoc/applicationProperties/Viewing.d.ts +2 -2
- package/webdoc/geotriggersInfo/DeviceLocationFeed.d.ts +3 -3
- package/webdoc/geotriggersInfo/ExpressionInfo.d.ts +3 -3
- package/webdoc/geotriggersInfo/FeatureFenceParameters.d.ts +3 -3
- package/webdoc/geotriggersInfo/FeatureFilter.d.ts +3 -3
- package/webdoc/geotriggersInfo/FeatureLayerSource.d.ts +3 -3
- package/webdoc/geotriggersInfo/Geotrigger.d.ts +3 -3
- package/webdoc/geotriggersInfo/GeotriggerNotificationOptions.d.ts +3 -3
- package/webdoc/geotriggersInfo/support/typeUtils.d.ts +0 -1
- package/webdoc/ips/AppleIPSProperties.d.ts +3 -3
- package/webdoc/ips/Configuration.d.ts +3 -3
- package/webdoc/ips/GNSSProperties.d.ts +3 -3
- package/webdoc/ips/PathSnappingProperties.d.ts +3 -3
- package/webdoc/ips/PositioningService.d.ts +3 -3
- package/webdoc/ips/SmoothingProperties.d.ts +3 -3
- package/webdoc/support/SlideThumbnail.d.ts +3 -3
- package/webdoc/support/types.d.ts +0 -1
- package/webdoc/widgets/FloorFilter.d.ts +2 -2
- package/webdoc/widgets/TimeSlider.d.ts +2 -2
- package/webmap/ApplicationProperties.d.ts +2 -2
- package/webmap/Bookmark.d.ts +2 -2
- package/webmap/InitialViewProperties.d.ts +2 -2
- package/webmap/background/ColorBackground.d.ts +2 -2
- package/webscene/ApplicationProperties.d.ts +2 -2
- package/webscene/Environment.d.ts +2 -2
- package/webscene/InitialViewProperties.d.ts +3 -3
- package/webscene/Presentation.d.ts +3 -3
- package/webscene/Slide.d.ts +4 -4
- package/webscene/SlideLegendInfo.d.ts +3 -3
- package/webscene/SunLighting.d.ts +2 -2
- package/webscene/VirtualLighting.d.ts +2 -2
- package/webscene/background/Background.d.ts +2 -2
- package/webscene/support/Description.d.ts +3 -3
- package/webscene/support/FeatureReference.d.ts +3 -3
- package/webscene/support/FeatureReferenceId.d.ts +3 -3
- package/webscene/support/LayerReference.d.ts +3 -3
- package/webscene/support/SlideElements.d.ts +3 -3
- package/webscene/support/SlideEnvironment.d.ts +3 -3
- package/webscene/support/SlideGround.d.ts +3 -3
- package/webscene/support/SlidePopupInfo.d.ts +3 -3
- package/webscene/support/SlideVisibleLayer.d.ts +3 -3
- package/webscene/support/Title.d.ts +3 -3
- package/widgets/Attachments/types.d.ts +0 -1
- package/widgets/BasemapGallery/support/PortalBasemapsSource.d.ts +2 -2
- package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +2 -2
- package/widgets/BasemapLayerList/types.d.ts +0 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +20 -2
- package/widgets/BatchAttributeForm.d.ts +2 -0
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Bookmarks/BookmarksViewModel.d.ts +2 -2
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +2 -2
- package/widgets/CatalogLayerList/types.d.ts +0 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +2 -2
- package/widgets/Daylight/DaylightViewModel.d.ts +2 -2
- package/widgets/Daylight/types.d.ts +0 -1
- package/widgets/DirectionalPad/DirectionalPadViewModel.d.ts +2 -2
- package/widgets/DirectionalPad/types.d.ts +0 -1
- package/widgets/Directions/DirectionsViewModel.d.ts +2 -2
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/EditorViewModel.d.ts +2 -2
- package/widgets/Editor/UpdateFeaturesWorkflowData.d.ts +2 -2
- package/widgets/Editor/Workflow.d.ts +2 -2
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/ElevationProfile/ElevationProfileLine.d.ts +2 -2
- package/widgets/Feature/support/featureUtils.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.d.ts +3 -3
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +43 -4
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/GridViewModel.d.ts +2 -2
- package/widgets/FeatureTable/Grid/types.d.ts +7 -1
- package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +3 -3
- package/widgets/FeatureTable/support/EditableColumnTemplateMixin.d.ts +0 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/FeatureTable/support/TableTemplate.d.ts +3 -3
- package/widgets/FeatureTable.d.ts +43 -4
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +2 -2
- package/widgets/Features/FeaturesViewModel.d.ts +2 -2
- package/widgets/Histogram/types.d.ts +0 -1
- package/widgets/HistogramRangeSlider/types.d.ts +0 -1
- package/widgets/Home/HomeViewModel.d.ts +2 -2
- package/widgets/Home.d.ts +1 -2
- package/widgets/LayerList/LayerListViewModel.d.ts +2 -2
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.d.ts +2 -2
- package/widgets/Measurement/types.d.ts +0 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.d.ts +3 -3
- package/widgets/OrientedImageryViewer/types.d.ts +0 -1
- package/widgets/Print/CustomTemplate.d.ts +2 -2
- package/widgets/Print/PrintViewModel.d.ts +3 -3
- package/widgets/ScaleRangeSlider/types.d.ts +0 -1
- package/widgets/Search/SearchSource.d.ts +2 -2
- package/widgets/Search/SearchViewModel.d.ts +8 -4
- package/widgets/Search/SearchViewModel.js +1 -1
- package/widgets/Search/support/layerSearchUtils.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/ShadowCast/types.d.ts +0 -1
- package/widgets/Sketch/SketchViewModel.d.ts +2 -2
- package/widgets/Swipe/types.d.ts +0 -1
- package/widgets/TableList/TableListViewModel.d.ts +2 -2
- package/widgets/TimeSlider/TimeSliderViewModel.d.ts +2 -2
- package/widgets/Track/types.d.ts +0 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +2 -2
- package/widgets/ValuePicker/types.d.ts +0 -1
- package/widgets/Weather/types.d.ts +0 -1
- package/widgets/Widget.d.ts +3 -3
- package/widgets/support/GeolocationPositioning.d.ts +2 -2
- package/widgets/support/GridControls/GridControlsViewModel.d.ts +2 -2
- package/widgets/support/GridControls/types.d.ts +0 -1
- package/widgets/support/forms/types.d.ts +0 -1
- package/widgets/types.d.ts +1 -2
- package/assets/esri/core/workers/chunks/21ac84b5c7dedcfd747d.js +0 -2
- package/assets/esri/core/workers/chunks/22503abc06354741d28a.js +0 -1
- package/assets/esri/core/workers/chunks/3606fc5537c4d11b9554.js +0 -1
- package/assets/esri/core/workers/chunks/3ad7ec46adecf00ae1c2.js +0 -1
- package/assets/esri/core/workers/chunks/3b67aa46a60e35469bf8.js +0 -1
- package/assets/esri/core/workers/chunks/4b09d92c51c4619b548a.js +0 -1
- package/assets/esri/core/workers/chunks/52684c2abc9e8ce793cf.js +0 -1
- package/assets/esri/core/workers/chunks/532935f420ed5f13c011.js +0 -1
- package/assets/esri/core/workers/chunks/5348e4dc55428de9bba7.js +0 -1
- package/assets/esri/core/workers/chunks/534ed6574e4a1613ba05.js +0 -2
- package/assets/esri/core/workers/chunks/53a1c6e008287d1f12f0.js +0 -1
- package/assets/esri/core/workers/chunks/5aee84e827e6fcc9c4c4.js +0 -2
- package/assets/esri/core/workers/chunks/5fc6cada83bf8462d54c.js +0 -1
- package/assets/esri/core/workers/chunks/7b2f848947b296c7c785.js +0 -1
- package/assets/esri/core/workers/chunks/7f76566d9b3801742387.js +0 -1
- package/assets/esri/core/workers/chunks/81e395a93c67749c6487.js +0 -1
- package/assets/esri/core/workers/chunks/8deae3a426eceae73186.js +0 -1
- package/assets/esri/core/workers/chunks/90a53bfe95ed687c28c1.js +0 -2
- package/assets/esri/core/workers/chunks/911912b0ef7ffed875be.js +0 -1
- package/assets/esri/core/workers/chunks/a4ee92867ad5cde25aed.js +0 -1
- package/assets/esri/core/workers/chunks/ab3e457c82fa9bd0203f.js +0 -1
- package/assets/esri/core/workers/chunks/af3d4eba6fe24db3ceba.js +0 -1
- package/assets/esri/core/workers/chunks/b1085fa91724e2d3b24f.js +0 -1
- package/assets/esri/core/workers/chunks/b48b0f512a1cd7226bdc.js +0 -1
- package/assets/esri/core/workers/chunks/c0265669fb616f052b65.js +0 -1
- package/assets/esri/core/workers/chunks/c16115cfbca879dd6717.js +0 -1
- package/assets/esri/core/workers/chunks/d3c69c9cb3d9c3f5c67a.js +0 -1
- package/assets/esri/core/workers/chunks/d477def8bfd8482596d1.js +0 -1
- package/assets/esri/core/workers/chunks/dd30c1f5da0af72becd1.js +0 -1
- package/assets/esri/core/workers/chunks/dfef6e3d7bbf099de498.js +0 -1
- package/assets/esri/core/workers/chunks/e3d3fc87789fd711f161.js +0 -2
- package/assets/esri/core/workers/chunks/ef519984fa691aad8d87.js +0 -2
- package/layers/support/ElevationTileData.d.ts +0 -32
- package/rest/geoprocessor/execute.d.ts +0 -6
- /package/layers/buildingSublayers/{utils.d.ts → types.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1493],{159(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),o=r(69622),s=r(91429),l=r(99157);let a=n=class extends o.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},1626(e,t,r){r.d(t,{A:()=>p});var n,i=r(31635),o=r(4718),s=r(91429),l=r(2485),a=r(72606),u=r(43937),c=r(36005);let p=n=class extends a.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,r,n){const i=e?.map(e=>e.toJSON(n)),{weights:o}=this;if(i&&o?.length&&i.length===o?.length){const e=100/o.reduce((e,t)=>e+t);let t=0;i.forEach((r,n)=>{r.start=t,t+=o[n]*e,r.stop=t})}t.colorRamps=i}readWeights(e,t){const r=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!r?.some(e=>e<0))return r}clone(){return new n({colorRamps:(0,o.o8)(this.colorRamps)})}};(0,i.Cg)([(0,s.MZ)({type:[l.A],json:{write:{isRequired:!0}}})],p.prototype,"colorRamps",void 0),(0,i.Cg)([(0,u.K)("colorRamps")],p.prototype,"writeColorRamps",null),(0,i.Cg)([(0,s.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:[Number]})],p.prototype,"weights",void 0),(0,i.Cg)([(0,c.w)("weights",["colorRamps"])],p.prototype,"readWeights",null),p=n=(0,i.Cg)([(0,s.$K)("esri.rest.support.MultipartColorRamp")],p)},2485(e,t,r){r.d(t,{A:()=>p});var n,i=r(31635),o=r(68197),s=r(4718),l=r(91429),a=r(56507),u=r(72606),c=r(93223);let p=n=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new n({fromColor:(0,s.o8)(this.fromColor),toColor:(0,s.o8)(this.toColor),algorithm:this.algorithm})}};(0,i.Cg)([(0,c.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],p.prototype,"algorithm",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"fromColor",void 0),(0,i.Cg)([(0,l.MZ)({type:o.A,json:{type:[a.jz],write:{isRequired:!0}}})],p.prototype,"toColor",void 0),(0,i.Cg)([(0,l.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),p=n=(0,i.Cg)([(0,l.$K)("esri.rest.support.AlgorithmicColorRamp")],p)},8631(e,t,r){r.d(t,{r:()=>f,g:()=>p});var n,i=r(53177),o=r(76357),s=r(31635),l=r(91429),a=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,s.Cg)([(0,a.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=n=(0,s.Cg)([(0,l.$K)("esri.layers.support.InheritedDomain")],u);var c=r(41628);const p={key:"type",base:o.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function f(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,o,s,l=Math.floor(e.length/3)){const a=(0,n.jd)(t,o);if(null==a)return!1;if(a===n.pO){if(e===i&&r===s)return!0;const t=r+3*l;for(let n=r,o=s;n<t;n++,o++)i[o]=e[n]??0;return!0}const u=r+3*l;for(let t=r,n=s;t<u;t+=3,n+=3)a(e,t,i,n);return!0}},10333(e,t,r){r.d(t,{A:()=>s});var n=r(31635),i=r(25482),o=r(91429);let s=class extends i.o{get affectsPixelSize(){return!1}forwardTransform(e){return e}inverseTransform(e){return e}};(0,n.Cg)([(0,o.MZ)()],s.prototype,"affectsPixelSize",null),(0,n.Cg)([(0,o.MZ)({json:{write:!0}})],s.prototype,"spatialReference",void 0),s=(0,n.Cg)([(0,o.$K)("esri.layers.raster.transforms.BaseRasterTransform")],s)},20437(e,t,r){r.d(t,{A:()=>d});var n,i=r(31635),o=r(66552),s=r(25482),l=r(91429),a=r(56507),u=r(8631),c=r(98453),p=r(36005),f=r(93223);const h=new o.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let d=class extends s.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?h.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,i.Cg)([(0,l.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,i.Cg)([(0,l.MZ)()],d.prototype,"description",void 0),(0,i.Cg)([(0,p.w)("description")],d.prototype,"readDescription",null),(0,i.Cg)([(0,l.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],d.prototype,"domain",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,i.Cg)([(0,l.MZ)({type:a.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,i.Cg)([(0,f.e)(c.m)],d.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)()],d.prototype,"valueType",void 0),(0,i.Cg)([(0,p.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.Field")],d)},21276(e,t,r){r.d(t,{H:()=>o,f:()=>i});var n=r(49186);function i(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(e){e.forEach(i)}},28735(e,t,r){r.d(t,{Cv:()=>m,Gh:()=>v,ci:()=>w,je:()=>y,jg:()=>c,tD:()=>g,y7:()=>d});var n=r(4718),i=r(21276),o=r(16930),s=r(79258),l=r(21325);function a(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return Math.PI/2-2*Math.atan(Math.exp(-e/s.$O.radius))}function p(e){return null!=e.wkid||null!=e.wkt}const f=[0,0];function h(e,t,r,n,i){const o=e,s=i;if(s.spatialReference=r,"x"in o&&"x"in s)[s.x,s.y]=t(o.x,o.y,f,n);else if("xmin"in o&&"xmin"in s)[s.xmin,s.ymin]=t(o.xmin,o.ymin,f,n),[s.xmax,s.ymax]=t(o.xmax,o.ymax,f,n);else if("paths"in o&&"paths"in s||"rings"in o&&"rings"in s){const e="paths"in o?o.paths:o.rings,r=[];let i;for(let o=0;o<e.length;o++){const s=e[o];i=[],r.push(i);for(let e=0;e<s.length;e++)i.push(t(s[e][0],s[e][1],[0,0],n)),s[e].length>2&&i[e].push(s[e][2]),s[e].length>3&&i[e].push(s[e][3])}"paths"in s?s.paths=r:s.rings=r}else if("points"in o&&"points"in s){const e=o.points,r=[];for(let i=0;i<e.length;i++)r[i]=t(e[i][0],e[i][1],[0,0],n),e[i].length>2&&r[i].push(e[i][2]),e[i].length>3&&r[i].push(e[i][3]);s.points=r}return i}function d(e,t){const r=e&&(p(e)?e:e.spatialReference),n=t&&(p(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!n)&&(!!(0,l.aI)(n,r)||(0,l.K8)(n)&&(0,l.oT)(r)||(0,l.K8)(r)&&(0,l.oT)(n))}function m(e,t){if(null==e)return null;const r=e.spatialReference,i=t&&(p(t)?t:t.spatialReference);return d(r,i)?(0,l.aI)(r,i)?(0,n.o8)(e):(0,l.K8)(i)?h(e,y,o.A.WebMercator,!1,(0,n.o8)(e)):(0,l.oT)(i)?h(e,g,o.A.WGS84,!1,(0,n.o8)(e)):null:null}function y(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const n=u(t);return r[0]=u(e)*s.$O.radius,r[1]=s.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function g(e,t,r=[0,0],n=!1){if(e===l.Mc[0])r[0]=-180;else if(e===l.Mc[1])r[0]=180;else{const t=a(e/s.$O.radius);r[0]=n?t:t-360*Math.floor((t+180)/360)}return r[1]=a(Math.PI/2-2*Math.atan(Math.exp(-t/s.$O.radius))),r}function v(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),h(e,y,o.A.WebMercator,t,r)}function w(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),h(e,g,o.A.WGS84,t,r)}},31635(e,t,r){function n(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}function i(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>n,hk:()=>s,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function s(e){function t(t){e.error=e.hasError?new o(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},34304(e,t,r){r.d(t,{DF:()=>a,FD:()=>i,Ov:()=>o,ct:()=>u});let n=1e-6;function i(){return n}const o=Math.random,s=Math.PI/180,l=180/Math.PI;function a(e){return e*s}function u(e){return e*l}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){n=e},toDegree:u,toRadian:a},Symbol.toStringTag,{value:"Module"}))},37539(e,t,r){r.d(t,{pO:()=>m,jd:()=>f,Tp:()=>h,w5:()=>p});var n=r(34727),i=r(86211),o=r(73941),s=r(79258);Math.PI;const l=s.$O.radius,a=s.$O.eccentricitySquared,u={a1:l*a,a2:l*a*l*a,a3:l*a*a/2,a4:l*a*l*a*2.5,a5:l*a+l*a*a/2,a6:1-a};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=r(21325);const p={2:{5:m,7:null,9:null,10:m,1:C,6:null,8:null,0:null,3:g,11:v,2:m,4:k},5:{5:m,7:null,9:null,10:m,1:C,6:null,8:null,0:null,3:g,11:v,2:m,4:k},7:{5:null,7:m,9:null,10:m,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:M,0:null,3:null,11:null,2:null,4:null},3:{5:y,7:null,9:null,10:y,1:function(e,t,r,n){const i=e[t]/Z,o=I-2*Math.atan(Math.exp(-e[t+1]/Z)),s=Z+(e[t+2]??0),l=Math.cos(o)*s;r[n]=Math.cos(i)*l,r[n+1]=Math.sin(i)*l,r[n+2]=Math.sin(o)*s},6:null,8:null,0:null,3:m,11:function(e,t,r,n){y(e,t,r,n),v(r,n,r,n)},2:y,4:function(e,t,r,n){y(e,t,r,n),k(r,n,r,n)}},4:{5:P,7:null,9:null,10:P,1:function(e,t,r,n){P(e,t,r,n),C(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){P(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){P(e,t,r,n),v(r,n,r,n)},2:P,4:m},1:{5:O,7:null,9:null,10:O,1:m,6:null,8:null,0:null,3:function(e,t,r,n){O(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){O(e,t,r,n),v(r,n,r,n)},2:O,4:function(e,t,r,n){O(e,t,r,n),k(r,n,r,n)}},6:{5:null,7:R,9:null,10:R,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:S,10:S,1:null,6:null,8:m,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:C,6:b,8:M,0:null,3:g,11:v,2:m,4:k},11:{5:w,7:null,9:null,10:w,1:function(e,t,r,n){w(e,t,r,n),C(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){w(e,t,r,n),g(r,n,r,n)},11:m,2:w,4:function(e,t,r,n){w(e,t,r,n),k(r,n,r,n)}}};function f(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(j.source.spatialReference===e&&j.dest.spatialReference===t)return j;const r=d(e,j.source),n=d(t,j.dest);return 0===r&&0===n?(0,c.aI)(e,t)?j.projector=m:j.projector=null:j.projector=p[r][n],j}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function y(e,t,r,n){r[n]=T*(e[t]/Z),r[n+1]=T*(I-2*Math.atan(Math.exp(-e[t+1]/Z))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,o){const s=.4999999*Math.PI,l=(0,n.qE)(N*e[t+1],-s,s),a=Math.sin(l);r[i++]=N*e[t]*o.radius,r[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[i]=e[t+2]??0}(e,t,r,i,s.$O)}function v(e,t,r,n){r[n]=e[t]*z,r[n+1]=e[t+1]*z,r[n+2]=e[t+2]??0}function w(e,t,r,n){r[n]=e[t]*B,r[n+1]=e[t+1]*B,r[n+2]=e[t+2]??0}function x(e,t,r,n,i){const o=i+(e[t+2]??0),s=N*e[t],l=N*e[t+1],a=Math.cos(l)*o;r[n]=Math.cos(s)*a,r[n+1]=Math.sin(s)*a,r[n+2]=Math.sin(l)*o}function M(e,t,r,n){x(e,t,r,n,s.Sw.radius)}function b(e,t,r,n){x(e,t,r,n,s.sH.radius)}function C(e,t,r,n){x(e,t,r,n,s.$O.radius)}function A(e,t,r,i,o){const s=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+l*l+a*a),c=(0,n.YN)(a/(0===u?1:u)),p=Math.atan2(l,s);r[i++]=T*p,r[i++]=T*c,r[i]=u-o}function S(e,t,r,n){A(e,t,r,n,s.Sw.radius)}function R(e,t,r,n){A(e,t,r,n,s.sH.radius)}function O(e,t,r,n){A(e,t,r,n,s.$O.radius)}function k(e,t,r,n){!function(e,t,r,n,i){const o=N*e[t],s=N*e[t+1],l=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);r[n++]=(c+l)*u*Math.cos(o),r[n++]=(c+l)*u*Math.sin(o),r[n++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,r,n,s.$O)}function P(e,t,r,n){const i=u,o=e[t],l=e[t+1],a=e[t+2]??0;let c,p,f,h,d,m,y,g,v,w,x,M,b,C,A,S,R,O,k,P,j;c=Math.abs(a),p=o*o+l*l,f=Math.sqrt(p),h=p+a*a,d=Math.sqrt(h),P=Math.atan2(l,o),m=a*a/h,y=p/h,C=i.a2/d,A=i.a3-i.a4/d,y>.3?(g=c/d*(1+y*(i.a1+C+m*A)/d),k=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=f/d*(1-m*(i.a5-C-y*A)/d),k=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),x=1-s.$O.eccentricitySquared*w,M=s.$O.radius/Math.sqrt(x),b=i.a6*M,C=f-M*v,A=c-b*g,R=v*C+g*A,S=v*A-g*C,O=S/(b/x+R),k+=O,j=R+S*O/2,a<0&&(k=-k),r[n++]=T*P,r[n++]=T*k,r[n]=j}const j={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},N=(0,n.kU)(1),T=(0,n.KJ)(1),I=.5*Math.PI,Z=s.$O.radius,z=Z*Math.PI/180,B=180/(Z*Math.PI)},39357(e,t,r){r.d(t,{A:()=>l});var n,i=r(31635),o=r(25482),s=r(91429);let l=n=class extends o.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],l.prototype,"code",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.CodedValue")],l)},40876(e,t,r){r.d(t,{Eq:()=>h,G1:()=>m,TS:()=>o,Tf:()=>v,V6:()=>i,Vm:()=>d,ay:()=>a,c1:()=>y,c4:()=>s,j5:()=>u,lT:()=>p,oW:()=>c,xV:()=>x});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!n[e]||!!n[e.toLowerCase()]}function o(e){return n[e]??n[e.toLowerCase()]}function s(e){return[...o(e)]}function l(e,t,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?e+(t-e)*n:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function a(e,t,r,n=1){const i=(e%360+360)%360/360,o=r<=.5?r*(t+1):r+t-r*t,s=2*r-o;return[Math.round(255*l(s,o,i+1/3)),Math.round(255*l(s,o,i)),Math.round(255*l(s,o,i-1/3)),n]}function u(e){const t=e.length>5,r=t?8:4,n=(1<<r)-1,i=t?1:17,o=t?9===e.length:5===e.length;let s=Number("0x"+e.slice(1));if(isNaN(s))return null;const l=[0,0,0,1];let a;return o&&(a=s&n,s>>=r,l[3]=i*a/255),a=s&n,s>>=r,l[2]=i*a,a=s&n,s>>=r,l[1]=i*a,a=s&n,s>>=r,l[0]=i*a,l}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),n=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function p(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),f(t)}return f(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function f(e){return e[0]=y(e[0]),e[1]=y(e[1]),e[2]=y(e[2]),e[3]=4===e.length?m(e[3]):1,e}function h(e){let t=i(e)?o(e):null;return t??=p(e),t??=c(e),t}function d(e){const t=h(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function m(e){return g(e,0,1)}function y(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const v=2.2,w=1/v;function x(e){return e**w}},41628(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),o=r(91429),s=r(76357),l=r(93223);let a=class extends s.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,o.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],a.prototype,"maxValue",void 0),(0,i.Cg)([(0,o.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],a.prototype,"minValue",void 0),(0,i.Cg)([(0,l.e)({range:"range"})],a.prototype,"type",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.RangeDomain")],a)},43163(e,t,r){r.d(t,{A:()=>d});var n,i=r(31635),o=r(91429),s=r(5443),l=r(86738),a=r(10333),u=r(36005),c=r(43937),p=r(93223);function f(e,t,r){const{x:n,y:i}=t;if(r<2)return{x:e[0]+n*e[2]+i*e[4],y:e[1]+n*e[3]+i*e[5]};if(2===r){const t=n*n,r=i*i,o=n*i;return{x:e[0]+n*e[2]+i*e[4]+t*e[6]+o*e[8]+r*e[10],y:e[1]+n*e[3]+i*e[5]+t*e[7]+o*e[9]+r*e[11]}}const o=n*n,s=i*i,l=n*i,a=o*n,u=o*i,c=n*s,p=i*s;return{x:e[0]+n*e[2]+i*e[4]+o*e[6]+l*e[8]+s*e[10]+a*e[12]+u*e[14]+c*e[16]+p*e[18],y:e[1]+n*e[3]+i*e[5]+o*e[7]+l*e[9]+s*e[11]+a*e[13]+u*e[15]+c*e[17]+p*e[19]}}function h(e,t,r){const{xmin:n,ymin:i,xmax:o,ymax:l,spatialReference:a}=t;let u=[];if(r<2)u.push({x:n,y:l}),u.push({x:o,y:l}),u.push({x:n,y:i}),u.push({x:o,y:i});else{let e=10;for(let t=0;t<e;t++)u.push({x:n,y:i+(l-i)*t/(e-1)}),u.push({x:o,y:i+(l-i)*t/(e-1)});e=8;for(let t=1;t<=e;t++)u.push({x:n+(o-n)*t/e,y:i}),u.push({x:n+(o-n)*t/e,y:l})}u=u.map(t=>f(e,t,r));const c=u.map(e=>e.x),p=u.map(e=>e.y);return new s.A({xmin:Math.min.apply(null,c),xmax:Math.max.apply(null,c),ymin:Math.min.apply(null,p),ymax:Math.max.apply(null,p),spatialReference:a})}let d=n=class extends a.A{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){const{coeffX:r,coeffY:n}=t;if(!r?.length||!n?.length||r.length!==n.length)return null;const i=[];for(let e=0;e<r.length;e++)i.push(r[e]),i.push(n[e]);return i}writeForwardCoefficients(e,t,r){const n=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?n.push(e[t]):i.push(e[t]);t.coeffX=n,t.coeffY=i}get inverseCoefficients(){let e=this._get("inverseCoefficients");const t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){const[t,r,n,i,o,s]=e,l=n*s-o*i,a=o*i-n*s;return[(o*r-t*s)/l,(n*r-t*i)/a,s/l,i/a,-o/l,-n/a]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){const{inverseCoeffX:r,inverseCoeffY:n}=t;if(!r?.length||!n?.length||r.length!==n.length)return null;const i=[];for(let e=0;e<r.length;e++)i.push(r[e]),i.push(n[e]);return i}writeInverseCoefficients(e,t,r){const n=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?n.push(e[t]):i.push(e[t]);t.inverseCoeffX=n,t.inverseCoeffY=i}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){const t=f(this.forwardCoefficients,e,this.polynomialOrder);return new l.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return h(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){const t=f(this.inverseCoefficients,e,this.polynomialOrder);return new l.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return h(this.inverseCoefficients,e,this.polynomialOrder)}clone(){return new n({polynomialOrder:this.polynomialOrder,forwardCoefficients:this.forwardCoefficients?[...this.forwardCoefficients]:null,inverseCoefficients:this.inverseCoefficients?[...this.inverseCoefficients]:null})}};(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"polynomialOrder",void 0),(0,i.Cg)([(0,o.MZ)()],d.prototype,"forwardCoefficients",void 0),(0,i.Cg)([(0,u.w)("forwardCoefficients",["coeffX","coeffY"])],d.prototype,"readForwardCoefficients",null),(0,i.Cg)([(0,c.K)("forwardCoefficients")],d.prototype,"writeForwardCoefficients",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0}})],d.prototype,"inverseCoefficients",null),(0,i.Cg)([(0,u.w)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],d.prototype,"readInverseCoefficients",null),(0,i.Cg)([(0,c.K)("inverseCoefficients")],d.prototype,"writeInverseCoefficients",null),(0,i.Cg)([(0,o.MZ)()],d.prototype,"affectsPixelSize",null),(0,i.Cg)([(0,p.e)({PolynomialXform:"polynomial"})],d.prototype,"type",void 0),d=n=(0,i.Cg)([(0,o.$K)("esri.layers.raster.transforms.PolynomialTransform")],d)},48526(e,t,r){r.d(t,{A:()=>d});var n,i=r(31635),o=r(4718),s=r(91429),l=r(5443),a=r(91075),u=r(86738),c=r(16930),p=r(90634),f=r(56993),h=r(43937);let d=n=class extends a.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:n,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:n??=!0,r??=!0;break;case 3:n??=!0!==r,r??=!n;break;default:n??=!1,r??=!1}return i??=c.A.WGS84,{...e,hasM:r,hasZ:n,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,p.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:i}=this;return new n({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:i})}addPoint(e){return(0,f.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let n=2;return this.hasZ&&(r.z=t[2],n=3),this.hasM&&(r.m=t[n]),new u.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,f.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,s.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],d.prototype,"points",void 0),(0,i.Cg)([(0,h.K)("points")],d.prototype,"writePoints",null),d=n=(0,i.Cg)([(0,s.$K)("esri.geometry.Multipoint")],d),d.prototype.toJSON.isDefaultToJSON=!0},50498(e,t,r){r.d(t,{Ye:()=>p,gy:()=>c,iI:()=>h,yR:()=>f});var n=r(66552),i=r(5443),o=r(91075),s=r(48526),l=r(86738),a=r(39829),u=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),f={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:l.A,polyline:u.A,polygon:a.A}},h=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},51850(e,t,r){function n(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function o(e,t,r){return[e,t,r]}function s(e,t,r){return[e,t,r]}function l(e,t=[0,0,0]){const r=Math.min(3,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function a(){return o(1,1,1)}function u(){return o(1,0,0)}function c(){return o(0,1,0)}function p(){return o(0,0,1)}r.d(t,{CN:()=>s,Cb:()=>y,Cw:()=>d,JP:()=>m,Un:()=>h,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>f,vt:()=>n});const f=[0,0,0],h=a(),d=u(),m=c(),y=p();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:d,UNIT_Y:m,UNIT_Z:y,ZEROS:f,clone:i,create:n,freeze:s,fromArray:l,fromValues:o,ones:a,unitX:u,unitY:c,unitZ:p,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(31635),o=r(4718),s=r(91429),l=r(39357),a=r(76357),u=r(93223);let c=class extends a.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,o.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,s.MZ)({type:[l.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.CodedValueDomain")],c)},60408(e,t,r){function n(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function o(e){return void 0!==e.x&&void 0!==e.y}function s(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?o(e)?"esriGeometryPoint":s(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":n(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function p(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>s,U9:()=>i,W0:()=>p,ZC:()=>n,fT:()=>o,uW:()=>a})},63966(e,t,r){r.r(t),r.d(t,{default:()=>O});var n=r(5443),i=r(86738),o=r(159),s=r(20758),l=r(94778),a=r(47520),u=r(14140);var c,p=r(8144),f=r(37373),h=r(51927),d=r(34251),m=r(75414),y=r(31635),g=r(91429),v=r(10333),w=r(93223);let x=c=class extends v.A{constructor(){super(...arguments),this.type="identity"}clone(){return new c}};(0,y.Cg)([(0,w.e)({IdentityXform:"identity"})],x.prototype,"type",void 0),x=c=(0,y.Cg)([(0,g.$K)("esri.layers.raster.transforms.IdentityTransform")],x);var M=r(43163);const b={GCSShiftXform:m.A,IdentityXform:x,PolynomialXform:M.A};function C(e){const t=e?.type;if(!t)return null;const r=b[e?.type];if(r){const t=new r;return t.read(e),t}return null}var A=r(85676),S=r(58146);function R(e){if(!e)return{result:null,transferList:[]};const{pixelBlock:t,transferList:r}=e.getTransferableObject();return{result:t,transferList:r}}class O{convertVectorFieldData(e){const t=u.A.fromJSON(e.pixelBlock),r=R((0,d.FI)(t,e.type));return Promise.resolve(r)}convertPixelBlockToFeatures(e){const t=(0,a.L)({pixelBlock:u.A.fromJSON(e.pixelBlock),extent:n.A.fromJSON(e.extent),fieldNames:e.fieldNames,skipFactor:e.skipFactor,skipSpatialReference:!0,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize});return Promise.resolve(t)}transformPixels(e){const t=function(e,t,r){const{width:n,height:i,pixels:o}=e;let s=[];s=e.bandMasks?e.bandMasks.map(e=>new Uint8Array(e)):o.map(()=>e.mask?new Uint8Array(e.mask):new Uint8Array(n*i).fill(255));const c="f32",p=o.map((e,n)=>{switch(t){case"log":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n);for(let r=0;r<n;r++)if(t[r]){const n=e[r];n<=0?t[r]=0:i[r]=Math.log(n)}return i}(e,s[n],c);case"sqrt":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n);for(let r=0;r<n;r++)if(t[r]){const n=e[r];n<0?t[r]=0:i[r]=Math.sqrt(n)}return i}(e,s[n],c);case"inverse":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n),[o,s]=(0,l.hP)(r);for(let r=0;r<n;r++)if(!t||t[r]){const t=1/e[r];i[r]=i[r]=Math.max(o,Math.min(t,s))}return i}(e,s[n],c);case"box-cox":return function(e,t,r,n){const i=e.length,o=u.A.createEmptyBand(r,i),[s,a]=(0,l.hP)(r),c=n?.lambda??0,p=n?.shift??0,f=0===c;for(let r=0;r<i;r++)if(t[r]){const n=e[r];if(n<=0)t[r]=0;else if(f)o[r]=Math.log(n+p);else{const e=((n+p)**c-1)/c;o[r]=Math.max(s,Math.min(e,a))}}return o}(e,s[n],c,r);default:return e}}),f="inverse"===t,h=f?e.mask:1===s.length?s[0]:(0,a.YD)(s),d=f?e.bandMasks:1===s.length?void 0:s;return new u.A({width:n,height:i,pixelType:c,bandMasks:d,mask:h,pixels:p})}(u.A.fromJSON(e.pixelBlock),e.transformType,e.transformParameters);return Promise.resolve(R(t))}computeStatisticsHistograms(e){const t=u.A.fromJSON(e.pixelBlock),r=(0,h.eH)(t,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(r)}compositeBands(e){const t=e.pixelBlocks.map(e=>e&&u.A.fromJSON(e)),r=R((0,a.Wy)(t));return Promise.resolve(r)}async decode(e){return R(await(0,s.D)(e.data,e.options))}symbolize(e){const t=e.pixelBlock?u.A.fromJSON(e.pixelBlock):null,r=e.extent?n.A.fromJSON(e.extent):null,i=R(this.symbolizer.symbolize({...e,pixelBlock:t,extent:r}));return Promise.resolve(i)}highlightPixels(e){const t=u.A.fromJSON(e.pixelBlock),r=u.A.fromJSON(e.renderedPixelBlock);return(0,a._F)({pixelBlock:t,renderedPixelBlock:r,highlightOptions:e.highlightOptions}),Promise.resolve(r.toJSON())}async updateSymbolizer(e){this.symbolizer=A.A.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,p.vt)(e.rasterFunctionJSON)}async process(e){return R(this.rasterFunction.process({extent:n.A.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>null!=e?u.A.fromJSON(e):null),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?i.A.fromJSON(e):null),primaryRasterIds:e.primaryRasterIds}))}stretch(e){const t=R(this.symbolizer.simpleStretch(u.A.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(t)}estimateStatisticsHistograms(e){const t=(0,h.f4)(u.A.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){const t=(0,a.lD)(u.A.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),r=[];let n;return t&&(n=new Map,t.forEach((e,t)=>{if(e){const{pixelBlock:i,transferList:o}=e.getTransferableObject();n.set(t,i),o.forEach(e=>{r.includes(e)||r.push(e)})}})),Promise.resolve({result:n,transferList:r})}clipTile(e){const t=u.A.fromJSON(e.pixelBlock),r=R((0,a.J$)({...e,pixelBlock:t}));return Promise.resolve(r)}async mosaicAndTransform(e){const t=e.srcPixelBlocks.map(e=>e?new u.A(e):null),r=(0,a.z7)(t,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let n,i=r;e.coefs&&(i=(0,a.$i)(r,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(n=(0,a.QF)(e.destDimension,e.gcsGrid),i=(0,d.Y2)(i,e.isUV?"vector-uv":"vector-magdir",n));const{result:o,transferList:s}=R(i);return{result:{pixelBlock:o,localNorthDirections:n},transferList:s}}async createFlowMesh(e,t){const r={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:n,indexData:i,pathData:o}=await(0,S.CW)(e.meshType,e.simulationSettings,r,e.startInfo,t.signal);return{result:{vertexBuffer:n.buffer,indexBuffer:i.buffer,pathBuffer:o.buffer},transferList:[n.buffer,i.buffer]}}async getProjectionOffsetGrid(e){const t=n.A.fromJSON(e.projectedExtent),r=n.A.fromJSON(e.srcBufferExtent);let i=null;e.datumTransformationSteps?.length&&(i=new o.A({steps:e.datumTransformationSteps})),await(0,f.Hh)();const s=e.rasterTransform?C(e.rasterTransform):null;return(0,f.l0)({...e,projectedExtent:t,srcBufferExtent:r,datumTransformation:i,rasterTransform:s})}}},65864(e,t,r){r.d(t,{rS:()=>c,xD:()=>f});var n=r(5443),i=r(91075),o=r(48526),s=r(86738),l=r(39829),a=r(82799),u=r(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?s.A.fromJSON(e):(0,u.Rg)(e)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?o.A.fromJSON(e):(0,u.ZC)(e)?n.A.fromJSON(e):null}const p={esriGeometryPoint:s.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:o.A,esriGeometryMultiPatch:l.A};function f(e){return e&&p[e]||null}},68197(e,t,r){r.d(t,{A:()=>u});var n=r(40876),i=r(4576),o=r(34727),s=r(56507);function l(e){return(0,o.qE)((0,s.Vr)(e),0,255)}function a(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,n=new u){return n.r=Math.round(e.r+(t.r-e.r)*r),n.g=Math.round(e.g+(t.g-e.g)*r),n.b=Math.round(e.b+(t.b-e.b)*r),n.a=e.a+(t.a-e.a)*r,n._sanitize()}static fromRgb(e,t){const r=(0,n.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,n.oW)(e);return r?u.fromArray(r,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,n.Eq)(e);return r?u.fromArray(r,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,n=3===r||4===r,i=4===r||8===r,o=`#${a(this.r,n)}${a(this.g,n)}${a(this.b,n)}${i?a(Math.round(255*this.a),n):""}`;return t?o.toUpperCase():o}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=l(this.r),r=l(this.g),n=l(this.b);return 0===e||1!==this.a?[t,r,n,l(255*this.a)]:[t,r,n]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(e,t,r,n){this.r=e,this.g=t,this.b=r,this.a=n}}u.prototype.declaredClass="esri.Color"},72606(e,t,r){r.d(t,{A:()=>s});var n=r(31635),i=r(25482),o=r(91429);let s=class extends i.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1,write:!0}})],s.prototype,"type",void 0),s=(0,n.Cg)([(0,o.$K)("esri.rest.support.ColorRamp")],s)},75414(e,t,r){r.d(t,{A:()=>a});var n,i=r(31635),o=r(91429),s=r(10333),l=r(93223);let a=n=class extends s.A{constructor(){super(...arguments),this.type="gcs-shift",this.tolerance=1e-8}forwardTransform(e){return"point"===(e=e.clone()).type?(e.x>180+this.tolerance&&(e.x-=360),e):(e.xmin>=180-this.tolerance?(e.xmax-=360,e.xmin-=360):e.xmax>180+this.tolerance&&(e.xmin=-180,e.xmax=180),e)}inverseTransform(e){return"point"===(e=e.clone()).type?(e.x<-this.tolerance&&(e.x+=360),e):(e.xmin<-this.tolerance&&(e.xmin+=360,e.xmax+=360),e)}clone(){return new n({tolerance:this.tolerance})}};(0,i.Cg)([(0,l.e)({GCSShiftXform:"gcs-shift"})],a.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"tolerance",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.raster.transforms.GCSShiftTransform")],a)},76357(e,t,r){r.d(t,{A:()=>u});var n=r(31635),i=r(66552),o=r(25482),s=r(91429),l=r(93223);const a=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends o.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,l.e)(a),(0,s.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,n.Cg)([(0,s.$K)("esri.layers.support.Domain")],u)},78955(e,t,r){r.d(t,{Bw:()=>y,C:()=>i,Cc:()=>x,LI:()=>f,Om:()=>w,S8:()=>v,T9:()=>p,WQ:()=>s,Z0:()=>M,aI:()=>C,hG:()=>m,hZ:()=>o,hs:()=>h,jk:()=>c,m3:()=>g,t2:()=>b});var n=r(34304);function i(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function o(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function s(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e[3]=t[3]+r[3],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[3]=t[3]-r[3],e}function a(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],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[3]=t[3]/r[3],e}function c(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[3]=Math.min(t[3],r[3]),e}function p(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[3]=Math.max(t[3],r[3]),e}function f(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function h(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function d(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return Math.sqrt(r*r+n*n+i*i+o*o)}function m(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return r*r+n*n+i*i+o*o}function y(e){const t=e[0],r=e[1],n=e[2],i=e[3];return Math.sqrt(t*t+r*r+n*n+i*i)}function g(e){const t=e[0],r=e[1],n=e[2],i=e[3];return t*t+r*r+n*n+i*i}function v(e,t){const r=t[0],n=t[1],i=t[2],o=t[3];let s=r*r+n*n+i*i+o*o;return s>0&&(s=1/Math.sqrt(s),e[0]=r*s,e[1]=n*s,e[2]=i*s,e[3]=o*s),e}function w(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function x(e,t,r,n){const i=t[0],o=t[1],s=t[2],l=t[3];return e[0]=i+n*(r[0]-i),e[1]=o+n*(r[1]-o),e[2]=s+n*(r[2]-s),e[3]=l+n*(r[3]-l),e}function M(e,t,r){const n=t[0],i=t[1],o=t[2],s=t[3];return e[0]=r[0]*n+r[4]*i+r[8]*o+r[12]*s,e[1]=r[1]*n+r[5]*i+r[9]*o+r[13]*s,e[2]=r[2]*n+r[6]*i+r[10]*o+r[14]*s,e[3]=r[3]*n+r[7]*i+r[11]*o+r[15]*s,e}function b(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function C(e,t){const r=e[0],i=e[1],o=e[2],s=e[3],l=t[0],a=t[1],u=t[2],c=t[3],p=(0,n.FD)();return Math.abs(r-l)<=p*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(i-a)<=p*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(o-u)<=p*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(s-c)<=p*Math.max(1,Math.abs(s),Math.abs(c))}const A=l,S=a,R=u,O=d,k=m,P=y,j=g;Object.freeze(Object.defineProperty({__proto__:null,add:s,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:i,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:O,distance:d,div:R,divide:u,dot:w,equals:C,exactEquals:b,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:P,length:y,lerp:x,max:p,min:c,mul:S,multiply:a,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:v,random:function(e,t=1){const r=n.Ov;let i,o,s,l,a,u;do{i=2*r()-1,o=2*r()-1,a=i*i+o*o}while(a>=1);do{s=2*r()-1,l=2*r()-1,u=s*s+l*l}while(u>=1);const c=Math.sqrt((1-a)/u);return e[0]=t*i,e[1]=t*o,e[2]=t*s*c,e[3]=t*l*c,e},round:f,scale:h,scaleAndAdd:function(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e[3]=t[3]+r[3]*n,e},set:o,sqrDist:k,sqrLen:j,squaredDistance:m,squaredLength:g,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:A,subtract:l,transformMat4:M,transformQuat:function(e,t,r){const n=t[0],i=t[1],o=t[2],s=r[0],l=r[1],a=r[2],u=r[3],c=u*n+l*o-a*i,p=u*i+a*n-s*o,f=u*o+s*i-l*n,h=-s*n-l*i-a*o;return e[0]=c*u+h*-s+p*-a-f*-l,e[1]=p*u+h*-l+f*-s-c*-a,e[2]=f*u+h*-a+c*-l-p*-s,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},86738(e,t,r){r.d(t,{A:()=>w});var n=r(31635),i=r(69622),o=r(53966),s=r(91429),l=r(56507),a=r(91075),u=r(16930),c=r(21325),p=r(28735);function f({x:e,y:t,spatialReference:r},n=[0,0]){if(r){if((0,c.K8)(r))return(0,p.tD)(e,t,n);if((0,c.EA)(r))return n[0]=e,n[1]=t,n}return null}const h=[0,0];var d,m=r(43937),y=r(36005);const g=[0,0];function v(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let w=d=class extends a.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,n,i){let s;if(Array.isArray(e))s=e,i=t,e=s[0],t=s[1],r=s[2],n=s[3];else if(e&&"object"==typeof e){if(s=e,e=null!=s.x?s.x:s.longitude,t=null!=s.y?s.y:s.latitude,r=s.z,n=s.m,(i=s.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=s.longitude||null!=s.latitude)if(null==s.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==s.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!s.declaredClass&&i?.isWebMercator){const r=(0,p.je)(s.longitude,s.latitude,g);e=r[0],t=r[1]}}else v(r)?(i=r,r=null):v(n)&&(i=n,n=null);const l={x:e,y:t};return null==l.x&&null!=l.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==l.y&&null!=l.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(l.spatialReference=i),null!=r&&(l.z=r),null!=n&&(l.m=n),l}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return f(this,h)?.[1]??null}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,p.je)(r,e,g)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return f(this,h)?.[0]??null}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,p.je)(e,t,g)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new d;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return d.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:n,m:i,spatialReference:o}=this,{z:s,m:l}=e;let{x:a,y:u,spatialReference:c}=e;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[a,u]=(0,p.je)(a,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[a,u]=(0,p.tD)(a,u),c=o}return t===a&&r===u&&n===s&&i===l&&o.wkid===c.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,n]=e.valid,i=2*n;let o;return t>n?(o=Math.ceil(Math.abs(t-n)/i),t-=o*i):t<r&&(o=Math.ceil(Math.abs(t-r)/i),t+=o*i),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,n=e.y-t.y,i=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,s.MZ)({readOnly:!0})],w.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasM",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasZ",null),(0,n.Cg)([(0,s.MZ)({type:Number})],w.prototype,"latitude",null),(0,n.Cg)([(0,s.MZ)({type:Number})],w.prototype,"longitude",null),(0,n.Cg)([(0,s.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,s.wg)(e=>isNaN(e)?e:(0,l.GB)(e))],w.prototype,"x",void 0),(0,n.Cg)([(0,m.K)("x")],w.prototype,"writeX",null),(0,n.Cg)([(0,y.w)("x")],w.prototype,"readX",null),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],w.prototype,"y",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],w.prototype,"z",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],w.prototype,"m",void 0),w=d=(0,n.Cg)([(0,s.$K)("esri.geometry.Point")],w),w.prototype.toJSON.isDefaultToJSON=!0},91075(e,t,r){r.d(t,{A:()=>a});var n=r(31635),i=r(25482),o=r(91429),s=r(16930),l=r(36005);let a=class extends i.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=s.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof s.A)return e;if(null!=e){const r=new s.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,n.Cg)([(0,o.MZ)()],a.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],a.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],a.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],a.prototype,"hasM",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],a.prototype,"hasZ",void 0),(0,n.Cg)([(0,o.MZ)({type:s.A,json:{write:!0},value:s.A.WGS84})],a.prototype,"spatialReference",void 0),(0,n.Cg)([(0,l.w)("spatialReference")],a.prototype,"readSpatialReference",null),a=(0,n.Cg)([(0,o.$K)("esri.geometry.Geometry")],a)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>E,initializeProjection:()=>V,isEqualBaseGCS:()=>$,isLoaded:()=>P,isLoadedOrLoad:()=>j,isLoadedOrLoadFor:()=>N,load:()=>I,project:()=>Z,projectAsync:()=>D,projectExtent:()=>te,projectMany:()=>z,projectMultipoint:()=>U,projectOrLoad:()=>_,projectOrLoadMany:()=>q,projectPoint:()=>W,projectPolygon:()=>Q,projectPolyline:()=>Y,projectWithoutEngine:()=>L,requiresLoad:()=>T,test:()=>F,tryProject:()=>B,unload:()=>J});var n=r(49186),i=r(74887),o=r(62788),s=r(95488),l=r(51850),a=r(21276),u=r(73941),c=r(5443),p=r(91075),f=r(48526),h=r(86738),d=r(39829),m=r(82799),y=r(16930),g=r(159),v=r(9762),w=r(37539);function x(e,t,r,n,i,o){return M[0]=e,M[1]=t,M[2]=r,(0,v.projectBuffer)(M,n,0,i,o,0)}const M=(0,l.vt)();var b=r(21325);let C=null,A=null,S=null,R=null,O={};const k=new s.I;function P(){return!!(A?.isLoaded()&&S?.isLoaded()&&R?.isLoaded())}function j(){return!!P()||((0,o.gc)(k),I(),!1)}function N(e,t){return!e||!t||E(e,t)||j()}function T(e,t){return!E(e,t)&&!P()}async function I(e){null==C&&(C=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(A=e,A.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(S=e,S.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(R=e,R.load()))])),await C,(0,i.Te)(e),k.notify()}function Z(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),z(e,e[0].spatialReference,t,r)):((0,a.f)(e),z([e],e.spatialReference,t,r)[0])}function z(e,t,r,n){if(null==t||null==r)return e;if(E(t,r,n))return e.map(e=>L(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return z(e.map(e=>L(e,t,y.A.WGS84)),y.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return z(e,t,y.A.WGS84).map(e=>L(e,y.A.WGS84,r));if(!P())throw new G;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:R.getTransformation(t,r,n.areaOfInterestExtent)||new g.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=O[e];i||(i=R.getTransformation(t,r)||new g.A,O[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?A.executeMany(e,r,n):S.executeMany(e,r,n)}function B(e,t,r){try{return Z(e,t,r)}catch(e){return null}}function _(e,t){const r=q([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function q(e,t,r){if(!P())for(const r of e)if(null!=r&&!(0,b.aI)(r.spatialReference,t)&&(0,b.fn)(r.spatialReference)&&(0,b.fn)(t)&&!E(r.spatialReference,t))return(0,o.gc)(k),{pending:I(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,b.aI)(e.spatialReference,t)?e:(0,b.fn)(e.spatialReference)&&(0,b.fn)(t)?Z(e,t,r):null)}}class G extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function J(){C=null,A=null,S=null,R=null,O={}}const F={get loadPromise(){return C}};async function D(e,t,r){if((0,i.Te)(r),!e)return e;const n=q(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),D(e,t,r);const o=n.geometries??[];return Array.isArray(e)?o:o[0]}function E(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,b.aI)(e,t)||(0,b.fn)(e)&&(0,b.fn)(t)&&!!(0,w.jd)(e,t))}function $(e,t){if((0,b.aI)(e,t))return!0;if(!(0,b.fn)(e)||!(0,b.fn)(t))return!1;const r=(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e),n=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t);return r&&n}async function V(e,t,r,n){if(P())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!E(t,r,i))return I(n)}else if(e&&t&&!E(e,t,r))return I(n);return(0,i.NO)(n)}function L(e,t,r){return e?"x"in e?K(e,t,new h.A,r,0):"xmin"in e?re(e,t,new c.A,r,0):"rings"in e?ee(e,t,new d.A,r,0):"paths"in e?H(e,t,new m.A,r,0):"points"in e?X(e,t,new f.A,r,0):null:null}function W(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,r,n)}function K(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const o=e.z;return ie[2]=void 0!==o?o:i,(0,v.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==o||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function U(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,n)}function X(e,t,r,n,i){const{points:o,hasZ:s,hasM:l}=e,a=[],c=o.length,p=[];for(const e of o)p.push(e[0],e[1],s?e[2]:i);if(!(0,v.projectBuffer)(p,t,0,p,n,0,c))return null;const f=s||(0,u.xP)(n);for(let e=0;e<c;++e){const t=3*e,r=p[t],n=p[t+1];f&&l?a.push([r,n,p[t+2],o[e][3]]):f?a.push([r,n,p[t+2]]):l?a.push([r,n,o[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=s,r.hasM=l,r}function Y(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=H(e,e.spatialReference,t,r,n)}function H(e,t,r,n,i){const{paths:o,hasZ:s,hasM:l}=e,a=[];if(!ne(o,s??!1,l??!1,t,a,n,i))return null;const c=s||(0,u.xP)(n);return r.paths=a,r.spatialReference=n,r.hasZ=c,r.hasM=l,r}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:o,hasZ:s,hasM:l}=e,a=[];if(!ne(o,s??!1,l??!1,t,a,n,i))return null;const c=s||(0,u.xP)(n);return r.rings=a,r.spatialReference=n,r.hasZ=c,r.hasM=l,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:c,hasM:p}=e;if(!x(o,s,c?e.zmin:i,t,ie,n))return null;const f=c||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],f&&(r.zmin=ie[2]),x(l,a,c?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],f&&(r.zmax=ie[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,o,s=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:s);if(!(0,v.projectBuffer)(l,n,0,l,o,0))return!1;let a=0;i.length=0;const c=t||(0,u.xP)(o);for(const t of e){const e=new Array;for(const n of t)c&&r?e.push([l[a++],l[a++],l[a++],n[3]]):c?e.push([l[a++],l[a++],l[a++]]):r?(e.push([l[a++],l[a++],n[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}const ie=(0,l.vt)()},91829(e,t,r){function n(){return[0,0,0,0]}function i(e){return[e[0],e[1],e[2],e[3]]}function o(e,t,r,n){return[e,t,r,n]}function s(e,t,r,n){return[e,t,r,n]}function l(e,t=[0,0,0,0]){const r=Math.min(4,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function a(){return o(1,1,1,1)}function u(){return o(1,0,0,0)}function c(){return o(0,1,0,0)}function p(){return o(0,0,1,0)}function f(){return o(0,0,0,1)}r.d(t,{CN:()=>s,Un:()=>d,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>h,vt:()=>n});const h=[0,0,0,0],d=a(),m=u(),y=c(),g=p(),v=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_W:v,UNIT_X:m,UNIT_Y:y,UNIT_Z:g,ZEROS:h,clone:i,create:n,freeze:s,fromArray:l,fromValues:o,ones:a,unitW:f,unitX:u,unitY:c,unitZ:p,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},95349(e,t,r){r.d(t,{g:()=>s,r:()=>l});var n=r(2485),i=r(72606),o=r(1626);const s={key:"type",base:i.A,typeMap:{algorithmic:n.A,multipart:o.A}};function l(e){return e?.type?"algorithmic"===e.type?n.A.fromJSON(e):"multipart"===e.type?o.A.fromJSON(e):null:null}},95488(e,t,r){r.d(t,{I:()=>i});var n=r(11406);class i extends n.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},98453(e,t,r){r.d(t,{m:()=>n});const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},99157(e,t,r){r.d(t,{A:()=>l});var n,i=r(31635),o=r(69622),s=r(91429);let l=n=class extends o.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkid",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4410],{5808(e,t,r){r.d(t,{O:()=>n});const n={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},21276(e,t,r){r.d(t,{H:()=>o,f:()=>i});var n=r(49186);function i(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(e){e.forEach(i)}},23662(e,t,r){r.r(t),r.d(t,{geodesicArea:()=>h,geodesicLength:()=>f,planarArea:()=>d,planarLength:()=>y});var n=r(86211);function i(e,t){return{type:(0,n.t$)(t),value:e,unit:t}}function o(e,t){return{type:(0,n.t$)(t),value:e,unit:t}}function s(e,t,r="arithmetic"){return{type:(0,n.t$)(t),value:e,unit:t,rotationType:r}}i(0,"meters"),o(0,"square-meters"),s(0,"radians"),s(0,"degrees"),s(0,"degrees","geographic");var a=r(39829),l=r(82799),u=r(49590),c=r(62044);async function h({geometryJSON:e,options:t}){await(0,u.l)();const n=a.A.fromJSON(e),i=t?.unit??"square-meters",{execute:s}=await Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(3299),r.e(9047)]).then(r.bind(r,23914)),l=s(n)??n;return{area:o((0,u.e)(l,{unit:i,...t}),i),centroid:t?.returnCentroid?(await p(l)).toJSON():void 0}}async function p(e){const{execute:t}=await Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(3299),r.e(5578)]).then(r.bind(r,17077));return t(e)}async function f({geometryJSON:e,options:t}){await(0,c.l)();const r=t?.unit??"meters",n={...t,unit:r},o="rings"in e?a.A.fromJSON(e):l.A.fromJSON(e);return i((0,c.e)(o,n),r)}async function d({geometryJSON:e,options:t}){const n=a.A.fromJSON(e),i=t?.unit??"square-meters",[{execute:s},{execute:l}]=await Promise.all([Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(3299),r.e(9047)]).then(r.bind(r,23914)),Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(3299),r.e(1441)]).then(r.bind(r,95624))]),u=s(n)??n;return{area:o(l(u,{unit:i,...t}),i),centroid:t?.returnCentroid?(await p(u)).toJSON():void 0}}async function y({geometryJSON:e,options:t}){const{execute:n}=await Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(3299),r.e(3066)]).then(r.bind(r,965)),o=t?.unit??"meters",s={...t,unit:o};return i(n("rings"in e?a.A.fromJSON(e):l.A.fromJSON(e),s),o)}},28735(e,t,r){r.d(t,{Cv:()=>y,Gh:()=>w,ci:()=>v,je:()=>g,jg:()=>c,tD:()=>m,y7:()=>d});var n=r(4718),i=r(21276),o=r(16930),s=r(79258),a=r(21325);function l(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return Math.PI/2-2*Math.atan(Math.exp(-e/s.$O.radius))}function h(e){return null!=e.wkid||null!=e.wkt}const p=[0,0];function f(e,t,r,n,i){const o=e,s=i;if(s.spatialReference=r,"x"in o&&"x"in s)[s.x,s.y]=t(o.x,o.y,p,n);else if("xmin"in o&&"xmin"in s)[s.xmin,s.ymin]=t(o.xmin,o.ymin,p,n),[s.xmax,s.ymax]=t(o.xmax,o.ymax,p,n);else if("paths"in o&&"paths"in s||"rings"in o&&"rings"in s){const e="paths"in o?o.paths:o.rings,r=[];let i;for(let o=0;o<e.length;o++){const s=e[o];i=[],r.push(i);for(let e=0;e<s.length;e++)i.push(t(s[e][0],s[e][1],[0,0],n)),s[e].length>2&&i[e].push(s[e][2]),s[e].length>3&&i[e].push(s[e][3])}"paths"in s?s.paths=r:s.rings=r}else if("points"in o&&"points"in s){const e=o.points,r=[];for(let i=0;i<e.length;i++)r[i]=t(e[i][0],e[i][1],[0,0],n),e[i].length>2&&r[i].push(e[i][2]),e[i].length>3&&r[i].push(e[i][3]);s.points=r}return i}function d(e,t){const r=e&&(h(e)?e:e.spatialReference),n=t&&(h(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!n)&&(!!(0,a.aI)(n,r)||(0,a.K8)(n)&&(0,a.oT)(r)||(0,a.K8)(r)&&(0,a.oT)(n))}function y(e,t){if(null==e)return null;const r=e.spatialReference,i=t&&(h(t)?t:t.spatialReference);return d(r,i)?(0,a.aI)(r,i)?(0,n.o8)(e):(0,a.K8)(i)?f(e,g,o.A.WebMercator,!1,(0,n.o8)(e)):(0,a.oT)(i)?f(e,m,o.A.WGS84,!1,(0,n.o8)(e)):null:null}function g(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const n=u(t);return r[0]=u(e)*s.$O.radius,r[1]=s.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function m(e,t,r=[0,0],n=!1){if(e===a.Mc[0])r[0]=-180;else if(e===a.Mc[1])r[0]=180;else{const t=l(e/s.$O.radius);r[0]=n?t:t-360*Math.floor((t+180)/360)}return r[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/s.$O.radius))),r}function w(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),f(e,g,o.A.WebMercator,t,r)}function v(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),f(e,m,o.A.WGS84,t,r)}},31635(e,t,r){function n(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}function i(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>n,hk:()=>s,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function s(e){function t(t){e.error=e.hasError?new o(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},34304(e,t,r){r.d(t,{DF:()=>l,FD:()=>i,Ov:()=>o,ct:()=>u});let n=1e-6;function i(){return n}const o=Math.random,s=Math.PI/180,a=180/Math.PI;function l(e){return e*s}function u(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){n=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},35223(e,t,r){r.d(t,{Hh:()=>s,fz:()=>l,g7:()=>a,s1:()=>o});var n=r(83290);let i;function o(){return!!i&&(0,n.i)()}async function s(){if(!o()){const[e,t]=await Promise.all([Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(4167)]).then(r.bind(r,28879)),Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(6061)]).then(r.bind(r,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,n.l)()]);i=new e.OperatorGeodeticLength,t(n.p)}}function a(e,t,r){return i.execute(e,t,r,null)}function l(){return i.supportsCurves()}},49590(e,t,r){r.d(t,{e:()=>p,g:()=>f,l:()=>h});var n=r(86211),i=r(86742),o=r(5808);let s,a,l,u;function c(){return!!s&&(0,i.s1)()}async function h(){if(!c()){const[e]=await Promise.all([Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(3299),r.e(9274)]).then(r.bind(r,78125)),(0,i.Hh)()]);s=e.fromGeometry,a=e.fromSpatialReference,l=e.getSpatialReference,u=(0,i.fz)()}}function p(e,t={}){const{curveType:r="geodesic",unit:u}=t,c=l(e);let h=(0,i.g7)(s(e),a(c),o.O[r]);return h&&u&&(h=(0,n.oU)(h,"square-meters",u)),h}const f=Object.freeze(Object.defineProperty({__proto__:null,execute:p,isLoaded:c,load:h,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}))},62044(e,t,r){r.d(t,{e:()=>p,g:()=>f,l:()=>h});var n=r(86211),i=r(35223),o=r(5808);let s,a,l,u;function c(){return!!s&&(0,i.s1)()}async function h(){if(!c()){const[e]=await Promise.all([Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(3299),r.e(9274)]).then(r.bind(r,78125)),(0,i.Hh)()]);s=e.fromGeometry,a=e.fromSpatialReference,l=e.getSpatialReference,u=(0,i.fz)()}}function p(e,t={}){const{curveType:r="geodesic",unit:u}=t,c=l(e);let h=(0,i.g7)(s(e),a(c),o.O[r]);return h&&u&&(h=(0,n.oU)(h,"meters",u)),h}const f=Object.freeze(Object.defineProperty({__proto__:null,execute:p,isLoaded:c,load:h,get supportsCurves(){return u}},Symbol.toStringTag,{value:"Module"}))},86738(e,t,r){r.d(t,{A:()=>v});var n=r(31635),i=r(69622),o=r(53966),s=r(91429),a=r(56507),l=r(91075),u=r(16930),c=r(21325),h=r(28735);function p({x:e,y:t,spatialReference:r},n=[0,0]){if(r){if((0,c.K8)(r))return(0,h.tD)(e,t,n);if((0,c.EA)(r))return n[0]=e,n[1]=t,n}return null}const f=[0,0];var d,y=r(43937),g=r(36005);const m=[0,0];function w(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let v=d=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,n,i){let s;if(Array.isArray(e))s=e,i=t,e=s[0],t=s[1],r=s[2],n=s[3];else if(e&&"object"==typeof e){if(s=e,e=null!=s.x?s.x:s.longitude,t=null!=s.y?s.y:s.latitude,r=s.z,n=s.m,(i=s.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=s.longitude||null!=s.latitude)if(null==s.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==s.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!s.declaredClass&&i?.isWebMercator){const r=(0,h.je)(s.longitude,s.latitude,m);e=r[0],t=r[1]}}else w(r)?(i=r,r=null):w(n)&&(i=n,n=null);const a={x:e,y:t};return null==a.x&&null!=a.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=r&&(a.z=r),null!=n&&(a.m=n),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return e=this,p(e,f)?.[1]??null;var e}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,h.je)(r,e,m)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return e=this,p(e,f)?.[0]??null;var e}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,h.je)(e,t,m)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new d;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return d.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:n,m:i,spatialReference:o}=this,{z:s,m:a}=e;let{x:l,y:u,spatialReference:c}=e;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[l,u]=(0,h.je)(l,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,h.tD)(l,u),c=o}return t===l&&r===u&&n===s&&i===a&&o.wkid===c.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,n]=e.valid,i=2*n;let o;return t>n?(o=Math.ceil(Math.abs(t-n)/i),t-=o*i):t<r&&(o=Math.ceil(Math.abs(t-r)/i),t+=o*i),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,n=e.y-t.y,i=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,s.MZ)({readOnly:!0})],v.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],v.prototype,"hasM",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],v.prototype,"hasZ",null),(0,n.Cg)([(0,s.MZ)({type:Number})],v.prototype,"latitude",null),(0,n.Cg)([(0,s.MZ)({type:Number})],v.prototype,"longitude",null),(0,n.Cg)([(0,s.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,s.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],v.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],v.prototype,"writeX",null),(0,n.Cg)([(0,g.w)("x")],v.prototype,"readX",null),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],v.prototype,"z",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],v.prototype,"m",void 0),v=d=(0,n.Cg)([(0,s.$K)("esri.geometry.Point")],v),v.prototype.toJSON.isDefaultToJSON=!0},86742(e,t,r){r.d(t,{Hh:()=>s,fz:()=>l,g7:()=>a,s1:()=>o});var n=r(83290);let i;function o(){return!!i&&(0,n.i)()}async function s(){if(!o()){const[e,t]=await Promise.all([Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(6859),r.e(6558)]).then(r.bind(r,6558)),Promise.all([r.e(3661),r.e(1878),r.e(5756),r.e(6061)]).then(r.bind(r,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,n.l)()]);i=new e.OperatorGeodeticArea,t(n.p)}}function a(e,t,r){return i.execute(e,t,r,null)}function l(){return i.supportsCurves()}},91075(e,t,r){r.d(t,{A:()=>l});var n=r(31635),i=r(25482),o=r(91429),s=r(16930),a=r(36005);let l=class extends i.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=s.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof s.A)return e;if(null!=e){const r=new s.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,n.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,n.Cg)([(0,o.MZ)({type:s.A,json:{write:!0},value:s.A.WGS84})],l.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,n.Cg)([(0,o.$K)("esri.geometry.Geometry")],l)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4375],{94375(e,t,n){n.d(t,{createSampler:()=>S,query:()=>L});var i=n(60999),a=n(49186),s=n(97768),l=n(74887),o=n(86211),r=n(91218),c=n(19419),u=n(4576),h=n(72802);class p{constructor(e,t){this.layer=e,this.parameters=t}}class f extends p{constructor(e,t,n){super(e,n),this.outSpatialReference=t,this.type="geometry"}selectTilesAtLOD(e){if(e<0)this.geometry.coordinates.forEach(e=>e.tile=null);else{const{tileInfo:t,tilemapCache:n}=this.layer,i=y(t,n)[e].level;this.geometry.coordinates.forEach(e=>e.tile=t.tileAt(i,e.x,e.y))}}allElevationTilesFetched(){return!this.geometry.coordinates.some(e=>!e.elevationTile)}clearElevationTiles(){for(const e of this.geometry.coordinates)e.elevationTile!==this.outsideExtentTile&&(e.elevationTile=null)}populateElevationTiles(e){for(const t of this.geometry.coordinates)!t.elevationTile&&t.tile?.id&&(t.elevationTile=e[t.tile.id])}remapTiles(e){for(const t of this.geometry.coordinates){const n=t.tile?.id;t.tile=n?e[n]:null}}getTilesToFetch(){return(0,u.Am)(this.geometry.coordinates.filter(({tile:e,elevationTile:t})=>e?.id&&!t),(e,t)=>e.tile?.id===t.tile?.id).map(({tile:e})=>e)}forEachTileToFetch(e){for(const t of this.geometry.coordinates)t.tile&&!t.elevationTile&&e(t.tile,()=>t.tile=null)}}class m extends p{constructor(e,t,n,i){super(e,n),this.maskExtents=i,this.type="extent",this.elevationTiles=[],this._candidateTiles=[],this._fetchedCandidates=new Set,this.extent=t.clone().intersection(e.fullExtent)}selectTilesAtLOD(e,t){const n=this._maximumLodForRequests(t),i=Math.min(n,e);i<0?this._candidateTiles.length=0:this._selectCandidateTilesCoveringExtentAt(i)}_maximumLodForRequests(e){const{tileInfo:t,tilemapCache:n}=this.layer,i=y(t,n);if(!e)return i.length-1;const a=this.extent;if(null==a)return-1;for(let n=i.length-1;n>=0;n--){const s=i[n],l=s.resolution*t.size[0],o=s.resolution*t.size[1];if(Math.ceil(a.width/l)*Math.ceil(a.height/o)<=e)return n}return-1}allElevationTilesFetched(){return this._candidateTiles.length===this.elevationTiles.length}clearElevationTiles(){this.elevationTiles.length=0,this._fetchedCandidates.clear()}populateElevationTiles(e){for(const t of this._candidateTiles){const n=t.id&&e[t.id];n&&(this._fetchedCandidates.add(t),this.elevationTiles.push(n))}}remapTiles(e){this._candidateTiles=x(this._candidateTiles.map(t=>e[t.id]))}getTilesToFetch(){return this._candidateTiles}forEachTileToFetch(e,t){const n=this._candidateTiles;this._candidateTiles=[],n.forEach(n=>{if(this._fetchedCandidates.has(n))return void t?.(n);let i=!1;e(n,()=>i=!0),i?t?.(n):this._candidateTiles.push(n)}),this._candidateTiles=x(this._candidateTiles,t)}_selectCandidateTilesCoveringExtentAt(e){this._candidateTiles.length=0;const t=this.extent;if(null==t)return;const{tileInfo:n,tilemapCache:i}=this.layer,a=y(n,i)[e],s=n.tileAt(a.level,t.xmin,t.ymin),l=s.extent,o=a.resolution*n.size[0],r=a.resolution*n.size[1],c=Math.ceil((t.xmax-l[0])/o),u=Math.ceil((t.ymax-l[1])/r);for(let e=0;e<u;e++)for(let t=0;t<c;t++){const i=new h.U(s.level,s.row-e,s.col+t);n.updateTileInfo(i),this._tileIsMasked(i)||this._candidateTiles.push(i)}}_tileIsMasked(e){return this.maskExtents?.some(t=>(0,c.gR)(t,e.extent))??!1}}function d(e){return null!=e?.tileInfo}function y(e,t){const n=e.lods;if(d(t)){const{effectiveMinLOD:e,effectiveMaxLOD:i}=t;return n.filter(t=>t.level>=e&&t.level<=i)}return n}function x(e,t){const n={},i=[];for(const a of e){const e=a.id;e&&!n[e]?(n[e]=a,i.push(a)):t?.(a)}const a=i.sort((e,t)=>e.level-t.level);return a.filter((e,n)=>{for(let i=0;i<n;i++){const n=a[i].extent;if(n&&(0,c.gR)(n,e.extent))return t?.(e),!1}return!0})}class v{constructor(e,t){this.data=e,this.safeWidth=.99999999*(e.width-1),this.dx=(e.width-1)/(t[2]-t[0]),this.dy=(e.width-1)/(t[3]-t[1]),this.x0=t[0],this.y1=t[3]}}class w{constructor(e,t=null){if(this.key=e,null!=t){const n=e.extent;this._samplerData=new v(t,n)}}get zmin(){return null!=this._samplerData?this._samplerData.data.minValue:0}get zmax(){return null!=this._samplerData?this._samplerData.data.maxValue:0}get hasNoDataValues(){return!!this._samplerData?.data.hasNoDataValues}sample(e,t){if(null==this._samplerData)return;const{safeWidth:n,data:i,dx:a,dy:s,y1:l,x0:o}=this._samplerData,{width:r,values:c,noDataValue:u}=i,h=g(s*(l-t),0,n),p=g(a*(e-o),0,n),f=Math.floor(h),m=Math.floor(p),d=f*r+m,y=d+r,x=c[d],v=c[y],w=c[d+1],T=c[y+1];if(x!==u&&v!==u&&w!==u&&T!==u){const e=p-m,t=x+(w-x)*e;return t+(v+(T-v)*e-t)*(h-f)}}}function g(e,t,n){return e<t?t:e>n?n:e}var T=n(48526),R=n(86738),A=n(82799);class D{constructor(e){this.geometry=e,this.spatialReference=e.spatialReference}export(){return this._exporter(this.coordinates,this.spatialReference)}clone(e){const t=new D(this.geometry);return t.spatialReference=this.spatialReference,t.coordinates=e??this.coordinates.map(e=>e.clone()),t._exporter=this._exporter,t}async project(e,t){if(this.spatialReference.equals(e))return this.clone();await(0,r.initializeProjection)([{source:this.spatialReference,dest:e}],{signal:t});const n=new T.A({spatialReference:this.spatialReference,points:this.coordinates.map(e=>[e.x,e.y])}),i=(0,r.project)(n,e);if(!i)return null;const a=this.coordinates.map((e,t)=>{const n=e.clone(),a=i.points[t];return n.x=a[0],n.y=a[1],n}),s=this.clone(a);return s.spatialReference=e,s}projectSync(e){if(this.spatialReference.equals(e))return this.clone();const t=new T.A({spatialReference:this.spatialReference,points:this.coordinates.map(e=>[e.x,e.y])}),n=(0,r.project)(t,e);if(!n)return null;const i=this.coordinates.map((e,t)=>{const i=e.clone(),a=n.points[t];return i.x=a[0],i.y=a[1],i}),a=this.clone(i);return a.spatialReference=e,a}static fromGeometry(e){const t=new D(e);if(e instanceof D)return t.coordinates=e.coordinates.map(e=>e.clone()),t._exporter=(t,n)=>{const i=e.clone(t);return i.spatialReference=n,i},t;switch(e.type){case"point":{const n=e,{hasZ:i,hasM:a}=n;return t.coordinates=i&&a?[new E(n.x,n.y,n.z,n.m)]:i?[new E(n.x,n.y,n.z)]:a?[new E(n.x,n.y,null,n.m)]:[new E(n.x,n.y)],t._exporter=(t,n)=>e.hasM?new R.A(t[0].x,t[0].y,t[0].z,t[0].m,n):new R.A(t[0].x,t[0].y,t[0].z,n),t}case"multipoint":{const n=e,{hasZ:i,hasM:a}=n;return t.coordinates=i&&a?n.points.map(e=>new E(e[0],e[1],e[2],e[3])):i?n.points.map(e=>new E(e[0],e[1],e[2])):a?n.points.map(e=>new E(e[0],e[1],null,e[2])):n.points.map(e=>new E(e[0],e[1])),t._exporter=(t,n)=>e.hasM?new T.A({points:t.map(e=>[e.x,e.y,e.z??0,e.m??0]),hasZ:!0,hasM:!0,spatialReference:n}):new T.A({points:t.map(e=>[e.x,e.y,e.z??0]),spatialReference:n}),t}case"polyline":{const n=e,i=[],a=[],{hasZ:s,hasM:l}=e;let o=0;for(const e of n.paths)if(a.push([o,o+e.length]),o+=e.length,s&&l)for(const t of e)i.push(new E(t[0],t[1],t[2],t[3]));else if(s)for(const t of e)i.push(new E(t[0],t[1],t[2]));else if(l)for(const t of e)i.push(new E(t[0],t[1],null,t[2]));else for(const t of e)i.push(new E(t[0],t[1]));return t.coordinates=i,t._exporter=(t,n)=>{const i=e.hasM?t.map(e=>[e.x,e.y,e.z??0,e.m??0]):t.map(e=>[e.x,e.y,e.z??0]),s=a.map(e=>i.slice(e[0],e[1]));return new A.A({paths:s,hasM:e.hasM,hasZ:!0,spatialReference:n})},t}}}}class E{constructor(e,t,n=null,i=null,a=null,s=null){this.x=e,this.y=t,this.z=n,this.m=i,this.tile=a,this.elevationTile=s}clone(){return new E(this.x,this.y,this.z,this.m)}}var _=n(31635),I=n(53966),V=n(91429),M=n(16930),C=n(65529),q=n(28735);let z=class extends C.nJ{queryElevation(e){const t=this.projectIfRequired(e,this.spatialReference);if(!t)return null;switch(e.type){case"point":return function(e,t,n){return e.hasZ=!0,e.z=n.elevationAt(t.x,t.y),e}(e,t,this);case"polyline":return function(e,t,n){k.spatialReference=t.spatialReference;const i=e.hasM&&!e.hasZ;for(let a=0;a<e.paths.length;a++){const s=e.paths[a],l=t.paths[a];for(let e=0;e<s.length;e++){const t=s[e],a=l[e];k.x=a[0],k.y=a[1],i&&(t[3]=t[2]),t[2]=n.elevationAt(k.x,k.y)}}return e.hasZ=!0,e}(e,t,this);case"multipoint":return function(e,t,n){k.spatialReference=t.spatialReference;const i=e.hasM&&!e.hasZ;for(let a=0;a<e.points.length;a++){const s=e.points[a],l=t.points[a];k.x=l[0],k.y=l[1],i&&(s[3]=s[2]),s[2]=n.elevationAt(k.x,k.y)}return e.hasZ=!0,e}(e,t,this);default:return null}}projectIfRequired(e,t){if(null==e)return null;const n=e.spatialReference;if(n.equals(t))return e;const i=(0,q.Cv)(e,t);return i||I.A.getLogger(this).error(`Cannot project geometry spatial reference (wkid:${n.wkid}) to elevation sampler spatial reference (wkid:${t.wkid})`),i}};z=(0,_.Cg)([(0,V.$K)("esri.layers.support.ElevationSampler")],z);const k=new R.A;let b=class extends z{get spatialReference(){return this.extent.spatialReference}constructor(e){const t=e.noDataValue,n="tiles"in e?e.tiles.map(n=>new j({tile:n,tileInfo:e.tileInfo,noDataValue:t})):e.samplers;super({noDataValue:t,samplers:n});const i=n[0];if(i){this.extent=i.extent.clone();const{min:e,max:t}=i.demResolution;this.demResolution={min:e,max:t};for(let e=1;e<n.length;e++){const t=n[e];this.extent.union(t.extent),this.demResolution.min=Math.min(this.demResolution.min,t.demResolution.min),this.demResolution.max=Math.max(this.demResolution.max,t.demResolution.max)}}else{const t="tileInfo"in e?e.tileInfo:null;this.extent=(0,c.w1)((0,c.vt)(),t?.spatialReference??M.A.WGS84),this.demResolution={min:0,max:0}}}elevationAt(e,t){let n;for(const i of this.samplers)if(i.containsAt(e,t)&&(n=i.elevationAt(e,t),n!==i.noDataValue))return n;return null!=n?n:(I.A.getLogger(this).warn("#elevationAt()",`Point used to sample elevation (${e}, ${t}) is outside of the sampler`),this.noDataValue)}};(0,_.Cg)([(0,V.MZ)({constructOnly:!0})],b.prototype,"noDataValue",void 0),(0,_.Cg)([(0,V.MZ)({constructOnly:!0})],b.prototype,"samplers",void 0),b=(0,_.Cg)([(0,V.$K)("esri.layers.support.TileElevationSampler")],b);let j=class extends z{get spatialReference(){return this.extent.spatialReference}constructor(e){super(e);const t=e.tile.key.extent;this.extent=(0,c.w1)(t,e.tileInfo.spatialReference),this.extent.zmin=e.tile.zmin,this.extent.zmax=e.tile.zmax;const n=(0,o.GA)(e.tileInfo.spatialReference),i=e.tileInfo.lodAt(e.tile.key.level).resolution*n;this.demResolution={min:i,max:i}}contains(e){const t=this.projectIfRequired(e,this.spatialReference);return null!=t&&this.containsAt(t.x,t.y)}containsAt(e,t){return(0,c.Rj)(this.tile.key.extent,e,t)}elevationAt(e,t){return this.containsAt(e,t)?this.tile.sample(e,t)??this.noDataValue:this.noDataValue}};async function L(e,t,n){if(!e)throw new a.A(K,"Elevation queries require an elevation layer to fetch tiles from");if(!t||!(t instanceof D)&&"point"!==t.type&&"multipoint"!==t.type&&"polyline"!==t.type)throw new a.A("elevation-query:invalid-geometry","Only point, polyline and multipoint geometries can be used to query elevation");const i={...U,...n},l=i.signal;if("integrated-mesh-3dtiles"===e.type){const n=D.fromGeometry(t);if(e.queryElevationCallback&&e.replacesTerrain){const a=await e.queryElevationCallback(n,{signal:l,maxGeometricError:0}),s=n.coordinates.map(()=>({demResolution:1,source:e})),o=await a.project(t.spatialReference,l);if(o){if(void 0!==i.noDataValue&&i.noDataValue!==Number.MAX_VALUE)for(const e of o.coordinates)e.z===Number.MAX_VALUE&&(e.z=i.noDataValue);return{geometry:o.export(),noDataValue:i.noDataValue??Number.MAX_VALUE,sampleInfo:s}}}const a=n.coordinates.map(()=>({demResolution:-1,source:e}));return{geometry:n.export(),noDataValue:Number.MAX_VALUE,sampleInfo:a}}const c=new f(e,t.spatialReference,i);return await e.load({signal:l}),await async function(e,t,n){let i;const s=e.layer.tileInfo.spatialReference;if(t instanceof D?i=await t.project(s,n):(await(0,r.initializeProjection)([{source:t.spatialReference,dest:s}],{signal:n}),i=(0,r.project)(t,s)),!i)throw new a.A("elevation-query:spatial-reference-mismatch",`Cannot query elevation in '${t.spatialReference.wkid}' on an elevation service in '${s.wkid}'`);e.geometry=D.fromGeometry(i)}(c,t,l),await O(c,l),await N(c,l),function(e){e.geometry.coordinates.forEach(t=>{const n=t.elevationTile;let i=e.parameters.noDataValue;if(n){const e=n.sample(t.x,t.y);null==e?t.elevationTile=null:i=e}t.z=i})}(c),async function(e,t){const n=await e.geometry.project(e.outSpatialReference,t);(0,s.Lw)(n);const i={geometry:n.export(),noDataValue:e.parameters.noDataValue};return e.parameters.returnSampleInfo&&(i.sampleInfo=function(e){const t=e.layer.tileInfo,n=(0,o.GA)(t.spatialReference);return e.geometry.coordinates.map(i=>{let a=-1;return i.elevationTile&&i.elevationTile!==e.outsideExtentTile&&(a=t.lodAt(i.elevationTile.key.level).resolution*n),{demResolution:a,source:-1===a?void 0:e.layer}})}(e)),e.geometry.coordinates.forEach(e=>{e.tile=null,e.elevationTile=null}),i}(c,l)}async function S(e,t,n){if(e=Array.isArray(e)?e:[e],0===(e=n?.ignoreInvisibleLayers?e.filter(e=>e.visible):e.slice()).length)throw new a.A(K,"Elevation queries require at least one elevation layer to fetch tiles from");if(!t||"extent"!==t.type)throw new a.A("elevation-query:invalid-extent","Invalid or undefined extent");const i={...U,...n,returnSampleInfo:!0},s=F(e[e.length-1],t,i);return 1===e.length?s:Z(e,t,await s,i)}async function F(e,t,n,i){const a=n.signal;await e.load({signal:a});const s=t.spatialReference,l=e.tileInfo.spatialReference;s.equals(l)||(await(0,r.initializeProjection)([{source:s,dest:l}],{signal:a}),t=(0,r.project)(t,l));const o=new m(e,t,n,i);await O(o,a),await N(o,a);const c=o.elevationTiles,u=o.layer.tileInfo,h=o.parameters.noDataValue;return new b({noDataValue:h,tiles:c,tileInfo:u})}async function Z(e,t,n,i){if(e.pop(),!e.length)return n;const a=n.samplers.filter(e=>!e.tile.hasNoDataValues).map(e=>(0,c.VY)(e.extent)),s=await F(e[e.length-1],t,i,a);if(0===s.samplers.length)return n;const l=n.samplers.concat(s.samplers),o=i.noDataValue;return Z(e,t,new b({samplers:l,noDataValue:o}),i)}async function O(e,t){"geometry"===e.type&&function(e){if(null==e.layer.fullExtent)return;const t=new w(new h.U(-1,-1,-1));t.sample=()=>e.parameters.noDataValue,e.outsideExtentTile=t;const n=e.layer.fullExtent;e.geometry.coordinates.forEach(e=>{const i=e.x,a=e.y;(i<n.xmin||i>n.xmax||a<n.ymin||a>n.ymax)&&(e.elevationTile=t)})}(e);const n=e.parameters.demResolution;if("number"==typeof n)!function(e,t){const n=function(e,t){const{tileInfo:n,tilemapCache:i}=e.layer,a=t/(0,o.GA)(n.spatialReference),s=y(n,i);let l=s[0],r=0;for(let e=1;e<s.length;e++){const t=s[e];Math.abs(t.resolution-a)<Math.abs(l.resolution-a)&&(l=t,r=e)}return r}(e,t);e.selectTilesAtLOD(n)}(e,n);else if("finest-contiguous"===n)await async function(e,t){const{tileInfo:n,tilemapCache:i}=e.layer,a=P(n,i,e.parameters.minDemResolution);await $(e,a,t)}(e,t);else{if("auto"!==n)throw new a.A("elevation-query:invalid-dem-resolution",`Invalid dem resolution value '${n}', expected a number, "finest-contiguous" or "auto"`);await async function(e,t){(function(e){const{tileInfo:t,tilemapCache:n}=e.layer,i=P(t,n,e.parameters.minDemResolution);e.selectTilesAtLOD(i,e.parameters.maximumAutoTileRequests)})(e),function(e){const t=e.layer.tileInfo;let n=0;const i={},a=e=>{null!=e.id&&(e.id in i?i[e.id]++:(i[e.id]=1,n++))},s=e=>{if(null==e.id)return;const t=i[e.id];1===t?(delete i[e.id],n--):i[e.id]=t-1};e.forEachTileToFetch(a,s);let l=!0;for(;l&&(l=!1,e.forEachTileToFetch(i=>{n<=e.parameters.maximumAutoTileRequests||(s(i),t.upsampleTile(i)&&(l=!0),a(i))},s),l););}(e);const n=e.layer.tilemapCache;if(!n||d(n))return G(e,t);const a=e.getTilesToFetch(),s={},o=a.map(async e=>{const a=new h.U(0,0,0),o=await(0,i.Ke)(n.fetchAvailabilityUpsample(e.level,e.row,e.col,a,{signal:t}));!1!==o.ok?null!=e.id&&(s[e.id]=a):(0,l.QP)(o.error)});await(0,l.qr)(Promise.all(o),t),e.remapTiles(s)}(e,t)}}async function $(e,t,n){const i=e.layer;if(e.selectTilesAtLOD(t),t<0)return;const s=i.tilemapCache,o=e.getTilesToFetch();try{if(s&&!d(s))await(0,l.qr)(Promise.all(o.map(e=>s.fetchAvailability(e.level,e.row,e.col,{signal:n}))),n);else if(await N(e,n),!e.allElevationTilesFetched())throw e.clearElevationTiles(),new a.A("elevation-query:has-unavailable-tiles","Some elevation tiles are unavailable")}catch(i){(0,l.QP)(i),await $(e,t-1,n)}}async function G(e,t){const n=e.layer.tileInfo;await N(e,t);let i=!1;e.forEachTileToFetch((e,t)=>{n.upsampleTile(e)?i=!0:t()}),i&&await G(e,t)}function P(e,t,n=0){const i=y(e,t);let a=i.length-1;if(n>0){const t=n/(0,o.GA)(e.spatialReference),s=i.findIndex(e=>e.resolution<t);0===s?a=0:s>0&&(a=s-1)}return a}(0,_.Cg)([(0,V.MZ)({constructOnly:!0})],j.prototype,"tile",void 0),(0,_.Cg)([(0,V.MZ)({constructOnly:!0})],j.prototype,"noDataValue",void 0),(0,_.Cg)([(0,V.MZ)({constructOnly:!0})],j.prototype,"tileInfo",void 0),j=(0,_.Cg)([(0,V.$K)("esri.layers.support.TileElevationSampler.SingleTileElevationSampler")],j);const U={maximumAutoTileRequests:20,noDataValue:0,returnSampleInfo:!1,demResolution:"auto",minDemResolution:0,signal:null};async function N(e,t){const n=e.getTilesToFetch(),i={},a=e.parameters.cache,s=e.parameters.noDataValue,o={noDataValue:s,signal:t},r=n.map(async t=>{if(null==t.id)return;const n=`${e.layer.uid}:${t.id}:${s}`,l=a?.get(n),r=l??await e.layer.fetchTile(t.level,t.row,t.col,o);a?.put(n,r),i[t.id]=new w(t,r)});await(0,l.qr)(Promise.allSettled(r),t),e.populateElevationTiles(i)}const K="elevation-query:invalid-layer"}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2288],{159(e,n,t){t.d(n,{A:()=>s});var r,o=t(31635),i=t(69622),a=t(91429),l=t(99157);let s=r=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let n=this.steps.length-1;n>=0;n--){const t=this.steps[n];e.steps.push(t.getInverse())}return e}};(0,o.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0})],s.prototype,"steps",void 0),s=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},9762(e,n,t){t.r(n),t.d(n,{projectBuffer:()=>o});var r=t(37539);function o(e,n,t,o,i,a,l=Math.floor(e.length/3)){const s=(0,r.jd)(n,i);if(null==s)return!1;if(s===r.pO){if(e===o&&t===a)return!0;const n=t+3*l;for(let r=t,i=a;r<n;r++,i++)o[i]=e[r]??0;return!0}const u=t+3*l;for(let n=t,r=a;n<u;n+=3,r+=3)s(e,n,o,r);return!0}},23150(e,n,t){t.d(n,{A:()=>l});var r=t(31635),o=t(91429),i=t(82799),a=t(54238);let l=class extends a.A{constructor(e){super(e),this.originId=null,this.destinationId=null,this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"originId",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"destinationId",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],l.prototype,"layoutGeometry",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Relationship")],l)},25927(e,n,t){t.d(n,{A:()=>l});var r=t(31635),o=t(91429),i=t(86738),a=t(54238);let l=class extends a.A{constructor(e){super(e),this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],l.prototype,"layoutGeometry",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Entity")],l)},37539(e,n,t){t.d(n,{pO:()=>g,jd:()=>f,Tp:()=>d,w5:()=>p});var r=t(34727),o=t(86211),i=t(73941),a=t(79258);Math.PI;const l=a.$O.radius,s=a.$O.eccentricitySquared,u={a1:l*s,a2:l*s*l*s,a3:l*s*s/2,a4:l*s*l*s*2.5,a5:l*s+l*s*s/2,a6:1-s};a.$O.radius,a.$O.flattening,a.Sw.radius,a.Sw.flattening,a.sH.radius,a.sH.flattening,a.sH.radius;var c=t(21325);const p={2:{5:g,7:null,9:null,10:g,1:x,6:null,8:null,0:null,3:y,11:w,2:g,4:P},5:{5:g,7:null,9:null,10:g,1:x,6:null,8:null,0:null,3:y,11:w,2:g,4:P},7:{5:null,7:g,9:null,10:g,1:null,6:A,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:M,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,n,t,r){const o=e[n]/b,i=Z-2*Math.atan(Math.exp(-e[n+1]/b)),a=b+(e[n+2]??0),l=Math.cos(i)*a;t[r]=Math.cos(o)*l,t[r+1]=Math.sin(o)*l,t[r+2]=Math.sin(i)*a},6:null,8:null,0:null,3:g,11:function(e,n,t,r){m(e,n,t,r),w(t,r,t,r)},2:m,4:function(e,n,t,r){m(e,n,t,r),P(t,r,t,r)}},4:{5:k,7:null,9:null,10:k,1:function(e,n,t,r){k(e,n,t,r),x(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){k(e,n,t,r),y(t,r,t,r)},11:function(e,n,t,r){k(e,n,t,r),w(t,r,t,r)},2:k,4:g},1:{5:C,7:null,9:null,10:C,1:g,6:null,8:null,0:null,3:function(e,n,t,r){C(e,n,t,r),y(t,r,t,r)},11:function(e,n,t,r){C(e,n,t,r),w(t,r,t,r)},2:C,4:function(e,n,t,r){C(e,n,t,r),P(t,r,t,r)}},6:{5:null,7:I,9:null,10:I,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:j,10:j,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:x,6:A,8:M,0:null,3:y,11:w,2:g,4:P},11:{5:R,7:null,9:null,10:R,1:function(e,n,t,r){R(e,n,t,r),x(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){R(e,n,t,r),y(t,r,t,r)},11:g,2:R,4:function(e,n,t,r){R(e,n,t,r),P(t,r,t,r)}}};function f(e,n){return d(e,n)?.projector}function d(e,n){if(null==e||null==n)return null;if(G.source.spatialReference===e&&G.dest.spatialReference===n)return G;const t=h(e,G.source),r=h(n,G.dest);return 0===t&&0===r?(0,c.aI)(e,n)?G.projector=g:G.projector=null:G.projector=p[t][r],G}function h(e,n){return e?n.spatialReference===e?n.spatialReferenceId:(n.spatialReference=e,"metersPerUnit"in n&&(n.metersPerUnit=(0,o.GA)(e,1)),(0,i.jA)(e)?n.spatialReferenceId=1:(0,c.oT)(e)?n.spatialReferenceId=2:(0,c.K8)(e)?n.spatialReferenceId=3:(0,c.r1)(e)?n.spatialReferenceId=11:e.wkt===i.Ro.wkt?n.spatialReferenceId=4:4490===e.wkid?n.spatialReferenceId=5:e.wkt===i.FY.wkt?n.spatialReferenceId=6:e.wkt===i.LJ.wkt?n.spatialReferenceId=8:(0,c.q8)(e)?n.spatialReferenceId=7:(0,c.KQ)(e)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function g(e,n,t,r){e!==t&&(t[r++]=e[n++],t[r++]=e[n++],t[r]=e[n]??0)}function m(e,n,t,r){t[r]=$*(e[n]/b),t[r+1]=$*(Z-2*Math.atan(Math.exp(-e[n+1]/b))),t[r+2]=e[n+2]??0}function y(e,n,t,o){!function(e,n,t,o,i){const a=.4999999*Math.PI,l=(0,r.qE)(O*e[n+1],-a,a),s=Math.sin(l);t[o++]=O*e[n]*i.radius,t[o++]=i.halfSemiMajorAxis*Math.log((1+s)/(1-s)),t[o]=e[n+2]??0}(e,n,t,o,a.$O)}function w(e,n,t,r){t[r]=e[n]*T,t[r+1]=e[n+1]*T,t[r+2]=e[n+2]??0}function R(e,n,t,r){t[r]=e[n]*K,t[r+1]=e[n+1]*K,t[r+2]=e[n+2]??0}function v(e,n,t,r,o){const i=o+(e[n+2]??0),a=O*e[n],l=O*e[n+1],s=Math.cos(l)*i;t[r]=Math.cos(a)*s,t[r+1]=Math.sin(a)*s,t[r+2]=Math.sin(l)*i}function M(e,n,t,r){v(e,n,t,r,a.Sw.radius)}function A(e,n,t,r){v(e,n,t,r,a.sH.radius)}function x(e,n,t,r){v(e,n,t,r,a.$O.radius)}function S(e,n,t,o,i){const a=e[n],l=e[n+1],s=e[n+2]??0,u=Math.sqrt(a*a+l*l+s*s),c=(0,r.YN)(s/(0===u?1:u)),p=Math.atan2(l,a);t[o++]=$*p,t[o++]=$*c,t[o]=u-i}function j(e,n,t,r){S(e,n,t,r,a.Sw.radius)}function I(e,n,t,r){S(e,n,t,r,a.sH.radius)}function C(e,n,t,r){S(e,n,t,r,a.$O.radius)}function P(e,n,t,r){!function(e,n,t,r,o){const i=O*e[n],a=O*e[n+1],l=e[n+2]??0,s=Math.sin(a),u=Math.cos(a),c=o.radius/Math.sqrt(1-o.eccentricitySquared*s*s);t[r++]=(c+l)*u*Math.cos(i),t[r++]=(c+l)*u*Math.sin(i),t[r++]=(c*(1-o.eccentricitySquared)+l)*s}(e,n,t,r,a.$O)}function k(e,n,t,r){const o=u,i=e[n],l=e[n+1],s=e[n+2]??0;let c,p,f,d,h,g,m,y,w,R,v,M,A,x,S,j,I,C,P,k,G;c=Math.abs(s),p=i*i+l*l,f=Math.sqrt(p),d=p+s*s,h=Math.sqrt(d),k=Math.atan2(l,i),g=s*s/d,m=p/d,x=o.a2/h,S=o.a3-o.a4/h,m>.3?(y=c/h*(1+m*(o.a1+x+g*S)/h),P=Math.asin(y),R=y*y,w=Math.sqrt(1-R)):(w=f/h*(1-g*(o.a5-x-m*S)/h),P=Math.acos(w),R=1-w*w,y=Math.sqrt(R)),v=1-a.$O.eccentricitySquared*R,M=a.$O.radius/Math.sqrt(v),A=o.a6*M,x=f-M*w,S=c-A*y,I=w*x+y*S,j=w*S-y*x,C=j/(A/v+I),P+=C,G=I+j*C/2,s<0&&(P=-P),t[r++]=$*k,t[r++]=$*P,t[r]=G}const G={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},O=(0,r.kU)(1),$=(0,r.KJ)(1),Z=.5*Math.PI,b=a.$O.radius,T=b*Math.PI/180,K=180/(b*Math.PI)},40662(e,n,t){t.d(n,{A:()=>a});var r=t(31635),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e)}};a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.ObjectValue")],a)},42095(e,n,t){t.d(n,{A:()=>l});var r=t(31635),o=t(25482),i=t(91429),a=t(77901);let l=class extends o.o{constructor(e){super(e),this.path=[]}};(0,r.Cg)([(0,i.MZ)({type:[a.A],json:{write:!0}})],l.prototype,"path",void 0),l=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.Path")],l)},42538(e,n,t){t.d(n,{A:()=>s});var r=t(31635),o=t(91429),i=t(16930),a=t(69622);let l=class extends a.A{constructor(e){super(e),this.openCypherQuery=""}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"openCypherQuery",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQuery")],l);let s=class extends l{constructor(e){super(e),this.bindParameters=null,this.bindGeometryQuantizationParameters=null,this.outputQuantizationParameters=null,this.outputSpatialReference=null,this.provenanceBehavior=null}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"bindParameters",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"bindGeometryQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"outputQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A})],s.prototype,"outputSpatialReference",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"provenanceBehavior",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQueryStreaming")],s)},54238(e,n,t){t.d(n,{A:()=>a});var r=t(31635),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e),this.typeName=null,this.id=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"typeName",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"id",void 0),a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphNamedObject")],a)},77901(e,n,t){t.d(n,{A:()=>a});var r=t(31635),o=t(25482),i=t(91429);let a=class extends o.o{constructor(e){super(e),this.properties={}}};(0,r.Cg)([(0,i.MZ)({json:{write:!0}})],a.prototype,"properties",void 0),a=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.GraphObject")],a)},80672(e,n,t){t.d(n,{R:()=>o});var r=t(20655);function o(e,n){return null===e?n:new r.A({url:e.field("url")})}},91218(e,n,t){t.r(n),t.d(n,{canProjectWithoutEngine:()=>W,initializeProjection:()=>E,isEqualBaseGCS:()=>L,isLoaded:()=>k,isLoadedOrLoad:()=>G,isLoadedOrLoadFor:()=>O,load:()=>Z,project:()=>b,projectAsync:()=>J,projectExtent:()=>ne,projectMany:()=>T,projectMultipoint:()=>U,projectOrLoad:()=>q,projectOrLoadMany:()=>N,projectPoint:()=>Q,projectPolygon:()=>_,projectPolyline:()=>Y,projectWithoutEngine:()=>F,requiresLoad:()=>$,test:()=>B,tryProject:()=>K,unload:()=>z});var r=t(49186),o=t(74887),i=t(62788),a=t(95488),l=t(51850),s=t(21276),u=t(73941),c=t(5443),p=t(91075),f=t(48526),d=t(86738),h=t(39829),g=t(82799),m=t(16930),y=t(159),w=t(9762),R=t(37539);function v(e,n,t,r,o,i){return M[0]=e,M[1]=n,M[2]=t,(0,w.projectBuffer)(M,r,0,o,i,0)}const M=(0,l.vt)();var A=t(21325);let x=null,S=null,j=null,I=null,C={};const P=new a.I;function k(){return!!(S?.isLoaded()&&j?.isLoaded()&&I?.isLoaded())}function G(){return!!k()||((0,i.gc)(P),Z(),!1)}function O(e,n){return!e||!n||W(e,n)||G()}function $(e,n){return!W(e,n)&&!k()}async function Z(e){null==x&&(x=Promise.all([t.e(3276).then(t.bind(t,83276)).then(e=>(S=e,S.load())),t.e(8377).then(t.bind(t,8377)).then(e=>(j=e,j.load())),t.e(2158).then(t.bind(t,12158)).then(e=>(I=e,I.load()))])),await x,(0,o.Te)(e),P.notify()}function b(e,n,t){return Array.isArray(e)?0===e.length?[]:((0,s.H)(e),T(e,e[0].spatialReference,n,t)):((0,s.f)(e),T([e],e.spatialReference,n,t)[0])}function T(e,n,t,r){if(null==n||null==t)return e;if(W(n,t,r))return e.map(e=>F(e,n,t));if(null==r?.geographicTransformation&&(0,u.jA)(n))return T(e.map(e=>F(e,n,m.A.WGS84)),m.A.WGS84,t,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(t))return T(e,n,m.A.WGS84).map(e=>F(e,m.A.WGS84,t));if(!k())throw new D;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:I.getTransformation(n,t,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const e=function(e,n){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??""].join()}(n,t);let o=C[e];o||(o=I.getTransformation(n,t)||new y.A,C[e]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=n),e[0]instanceof p.A?S.executeMany(e,t,r):j.executeMany(e,t,r)}function K(e,n,t){try{return b(e,n,t)}catch(e){return null}}function q(e,n){const t=N([e],n);return null!=t.pending?{pending:t.pending,geometry:null}:null!=t.geometries?{pending:null,geometry:t.geometries[0]}:{pending:null,geometry:null}}function N(e,n,t){if(!k())for(const t of e)if(null!=t&&!(0,A.aI)(t.spatialReference,n)&&(0,A.fn)(t.spatialReference)&&(0,A.fn)(n)&&!W(t.spatialReference,n))return(0,i.gc)(P),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,A.aI)(e.spatialReference,n)?e:(0,A.fn)(e.spatialReference)&&(0,A.fn)(n)?b(e,n,t):null)}}class D extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){x=null,S=null,j=null,I=null,C={}}const B={get loadPromise(){return x}};async function J(e,n,t){if((0,o.Te)(t),!e)return e;const r=N(Array.isArray(e)?e:[e],n,t);if(r.pending)return await r.pending,(0,o.Te)(t),J(e,n,t);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function W(e,n,t){return!(t?.areaOfInterestExtent||t?.extendedParams||t?.geographicTransformation)&&(!!(0,A.aI)(e,n)||(0,A.fn)(e)&&(0,A.fn)(n)&&!!(0,R.jd)(e,n))}function L(e,n){if((0,A.aI)(e,n))return!0;if(!(0,A.fn)(e)||!(0,A.fn)(n))return!1;const t=(0,A.oT)(e)||(0,A.K8)(e)||(0,A.x1)(e),r=(0,A.oT)(n)||(0,A.K8)(n)||(0,A.x1)(n);return t&&r}async function E(e,n,t,r){if(k())return(0,o.NO)(r);if(Array.isArray(e)){for(const{source:n,dest:t,options:o}of e)if(n&&t&&!W(n,t,o))return Z(r)}else if(e&&n&&!W(e,n,t))return Z(r);return(0,o.NO)(r)}function F(e,n,t){return e?"x"in e?H(e,n,new d.A,t,0):"xmin"in e?te(e,n,new c.A,t,0):"rings"in e?ee(e,n,new h.A,t,0):"paths"in e?X(e,n,new g.A,t,0):"points"in e?V(e,n,new f.A,t,0):null:null}function Q(e,n,t=n.spatialReference,r=0){return null!=t&&null!=e.spatialReference&&null!=H(e,e.spatialReference,n,t,r)}function H(e,n,t,r,o){oe[0]=e.x,oe[1]=e.y;const i=e.z;return oe[2]=void 0!==i?i:o,(0,w.projectBuffer)(oe,n,0,oe,r,0)?(t.x=oe[0],t.y=oe[1],t.spatialReference=r,void 0!==i||(0,u.xP)(r)?(t.z=oe[2],t.hasZ=!0):(t.z=void 0,t.hasZ=!1),void 0===e.m?(t.m=void 0,t.hasM=!1):(t.m=e.m,t.hasM=!0),t):null}function U(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=V(e,e.spatialReference,n,t,r)}function V(e,n,t,r,o){const{points:i,hasZ:a,hasM:l}=e,s=[],c=i.length,p=[];for(const e of i)p.push(e[0],e[1],a?e[2]:o);if(!(0,w.projectBuffer)(p,n,0,p,r,0,c))return null;const f=a||(0,u.xP)(r);for(let e=0;e<c;++e){const n=3*e,t=p[n],r=p[n+1];f&&l?s.push([t,r,p[n+2],i[e][3]]):f?s.push([t,r,p[n+2]]):l?s.push([t,r,i[e][2]]):s.push([t,r])}return t.points=s,t.spatialReference=r,t.hasZ=a,t.hasM=l,t}function Y(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=X(e,e.spatialReference,n,t,r)}function X(e,n,t,r,o){const{paths:i,hasZ:a,hasM:l}=e,s=[];if(!re(i,a??!1,l??!1,n,s,r,o))return null;const c=a||(0,u.xP)(r);return t.paths=s,t.spatialReference=r,t.hasZ=c,t.hasM=l,t}function _(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=ee(e,e.spatialReference,n,t,r)}function ee(e,n,t,r,o){const{rings:i,hasZ:a,hasM:l}=e,s=[];if(!re(i,a??!1,l??!1,n,s,r,o))return null;const c=a||(0,u.xP)(r);return t.rings=s,t.spatialReference=r,t.hasZ=c,t.hasM=l,t}function ne(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=te(e,e.spatialReference,n,t,r)}function te(e,n,t,r,o){const{xmin:i,ymin:a,xmax:l,ymax:s,hasZ:c,hasM:p}=e;if(!v(i,a,c?e.zmin:o,n,oe,r))return null;const f=c||(0,u.xP)(r);return t.xmin=oe[0],t.ymin=oe[1],f&&(t.zmin=oe[2]),v(l,s,c?e.zmax:o,n,oe,r)?(t.xmax=oe[0],t.ymax=oe[1],f&&(t.zmax=oe[2]),p&&(t.mmin=e.mmin,t.mmax=e.mmax),t.spatialReference=r,t):null}function re(e,n,t,r,o,i,a=0){const l=new Array;for(const t of e)for(const e of t)l.push(e[0],e[1],n?e[2]:a);if(!(0,w.projectBuffer)(l,r,0,l,i,0))return!1;let s=0;o.length=0;const c=n||(0,u.xP)(i);for(const n of e){const e=new Array;for(const r of n)c&&t?e.push([l[s++],l[s++],l[s++],r[3]]):c?e.push([l[s++],l[s++],l[s++]]):t?(e.push([l[s++],l[s++],r[2]]),s++):(e.push([l[s++],l[s++]]),s++);o.push(e)}return!0}const oe=(0,l.vt)()},92288(e,n,t){t.r(n),t.d(n,{registerFunctions:()=>q});var r=t(92602),o=t(47609),i=t(66395),a=t(85935),l=t(78878),s=t(80672),u=t(91075),c=t(91218),p=t(16930),f=t(28735),d=t(20655),h=t(80812),g=t(11254),m=t(56507),y=t(60408),w=t(2272),R=t(92300),v=t(31635),M=t(25482),A=t(91429),x=t(21325);let S=class extends M.o{constructor(e){super(e),this.geometries=[],this.outSpatialReference=null,this.transformation=null,this.transformForward=null}toJSON(){const e=this.geometries.map(e=>e.toJSON()),n=this.geometries[0],t={};return t.outSR=(0,x.YX)(this.outSpatialReference),t.inSR=(0,x.YX)(n.spatialReference),t.geometries=JSON.stringify({geometryType:(0,y.$B)(n),geometries:e}),this.transformation&&(t.transformation=this.transformation.wkid||JSON.stringify(this.transformation)),null!=this.transformForward&&(t.transformForward=this.transformForward),t}};(0,v.Cg)([(0,A.MZ)()],S.prototype,"geometries",void 0),(0,v.Cg)([(0,A.MZ)({type:p.A,json:{read:{source:"outSR"}}})],S.prototype,"outSpatialReference",void 0),(0,v.Cg)([(0,A.MZ)()],S.prototype,"transformation",void 0),(0,v.Cg)([(0,A.MZ)()],S.prototype,"transformForward",void 0),S=(0,v.Cg)([(0,A.$K)("esri.rest.support.ProjectParameters")],S);const j=(0,m.dp)(S);var I=t(25927),C=t(42538),P=t(40662),k=t(42095),G=t(23150),O=t(54218);let $=null;async function Z(e,n){const r=new h.default({portal:e,id:n});return await r.load(),null===$&&($=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(8441),t.e(490)]).then(t.bind(t,48441))),await $.fetchKnowledgeGraph(r.url)}function b(e,n,t,r,o){if(null===e)return null;if((0,O.Kg)(e)||(0,O.Et)(e))return e;if((0,l.e)(e))return e.toJSDate();if((0,l.e)(e))return e.toJSDate();if((0,l.f)(e))return e.toStorageFormat();if((0,l.g)(e))return e.toStorageString();if((0,l.n)(e)){const i={};for(const a of e.keys())i[a]=b(e.field(a),n,t,r,o),i[a]instanceof u.A&&o.push({container:i,indexer:a});return i}if((0,O.cy)(e)){const i=e.map(e=>b(e,n,t,r,o));for(let e=0;e<i.length;e++)i[e]instanceof u.A&&o.push({container:i,indexer:e});return i}return(0,l.h)(e)?e.spatialReference.isWGS84?e:e.spatialReference.isWebMercator&&n?(0,f.ci)(e):e:void 0}function T(e,n){if(!e)return null;const t={};for(const r in e)t[r]=K(e[r],n);return t}function K(e,n){return null===e?null:(0,O.cy)(e)?e.map(e=>K(e,n)):e instanceof I.A?{graphTypeName:e.typeName,id:e.id,graphType:"entity",properties:T(e.properties,n)}:e instanceof P.A?{graphType:"object",properties:T(e.properties,n)}:e instanceof G.A?{graphTypeName:e.typeName,id:e.id,graphType:"relationship",originId:e.originId??null,destinationId:e.destinationId??null,properties:T(e.properties,n)}:e instanceof k.A?{graphType:"path",path:e.path?e.path.map(e=>K(e,n)):null}:(0,l.h)(e)?function(e,n){if(!e)return e;if(e.spatialReference.isWGS84&&n.spatialReference.isWebMercator)return(0,f.Gh)(e);if(e.spatialReference.equals(n.spatialReference))return e;throw new a.D$(n,"WrongSpatialReference",null)}(e,n):(0,O.Kg)(e)||(0,O.Et)(e)||(0,O.$P)(e)?e:null}function q(e){"async"===e.mode&&(e.functions.knowledgegraphbyportalitem=function(n,t){return e.standardFunctionAsync(n,t,(e,r,i)=>{if((0,l.B)(i,2,2,n,t),null===i[0])throw new a.D$(n,"PortalRequired",t);if(i[0]instanceof o.A){const e=(0,l.s)(i[1]);let t;return t=n.services?.portal?n.services.portal:d.A.getDefault(),Z((0,s.R)(i[0],t),e)}if(!1===(0,O.Kg)(i[0]))throw new a.D$(n,"InvalidParameter",t);const u=(0,l.s)(i[0]);return Z(n.services?.portal??d.A.getDefault(),u)})},e.signatures.push({name:"knowledgegraphbyportalitem",min:2,max:2}),e.functions.querygraph=function(n,o){return e.standardFunctionAsync(n,o,async(e,s,u)=>{(0,l.B)(u,2,4,n,o);const f=u[0];if(!(0,l.o)(f))throw new a.D$(n,"InvalidParameter",o);const d=u[1];if(!(0,O.Kg)(d))throw new a.D$(n,"InvalidParameter",o);null===$&&($=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(8441),t.e(490)]).then(t.bind(t,48441)));let h=null;const m=(0,l.J)(u[2],null);if(!(m instanceof i.A||null===m))throw new a.D$(n,"InvalidParameter",o);if(m){let e=[];h=b(m,!0,!1,n,e),e=e.filter(e=>!e.container[e.indexer].spatialReference.isWGS84),e.length>0&&await async function(e){const n=r.A.geometryServiceUrl??"";if(!n){(0,c.isLoaded)()||await(0,c.load)();for(const n of e)n.container[n.indexer]=(0,c.project)(n.container[n.indexer],p.A.WGS84);return}const t=e.map(e=>e.container[e.indexer]),o=new S({geometries:t,outSpatialReference:p.A.WGS84}),i=await async function(e,n){n=j(n);const t=(0,w.Dl)(e),r={...t.query,f:"json",...n.toJSON()},o=n.outSpatialReference,i=(0,y.$B)(n.geometries[0]),a=(0,w.jV)(r,void 0);return(0,g.A)(t.path+"/project",a).then(({data:{geometries:e}})=>(0,R.V)(e,i,o))}(n,o);for(let n=0;n<i.length;n++){const t=e[n];t.container[t.indexer]=i[n]}}(e)}const v=(0,l.J)(u[3],!1),M=new C.A({openCypherQuery:d,bindParameters:h,provenanceBehavior:v?"include":"exclude"});(f?.serviceDefinition?.currentVersion??11.3)>11.2&&(M.outputSpatialReference=n.spatialReference);const A=(await $.executeQueryStreaming(f,M)).resultRowsStream.getReader(),x=[];try{for(;;){const{done:e,value:t}=await A.read();if(e)break;if((0,O.cy)(t))for(const e of t)x.push(K(e,n));else{const e=[];for(const r of t)e.push(K(t[r],n));x.push(e)}}}catch(e){throw e}return i.A.convertJsonToArcade(x,(0,l.K)(n),!1,!0)})},e.signatures.push({name:"querygraph",min:2,max:4}))}},92300(e,n,t){t.d(n,{V:()=>a,X:()=>i});var r=t(60408),o=t(65864);function i(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function a(e,n,t){const r=(0,o.xD)(n);return e.map(e=>{const n=r.fromJSON(e);return n.spatialReference=t,n})}},99157(e,n,t){t.d(n,{A:()=>l});var r,o=t(31635),i=t(69622),a=t(91429);let l=r=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,a.MZ)()],l.prototype,"isInverse",void 0),(0,o.Cg)([(0,a.MZ)()],l.prototype,"wkt",void 0),(0,o.Cg)([(0,a.MZ)()],l.prototype,"wkid",void 0),l=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5778,7136],{159(e,t,n){n.d(t,{A:()=>a});var r,i=n(31635),o=n(69622),s=n(91429),l=n(99157);let a=r=class extends o.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,i.Cg)([(0,s.MZ)({type:[l.A],nonNullable:!0})],a.prototype,"steps",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},4197(e,t,n){n.d(t,{Vj:()=>u,cj:()=>a,jh:()=>o,l5:()=>l,xm:()=>s});var r=n(34275),i=n(9093);function o(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function s(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function l(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(e,t,n,r,i,o,s,l,a,u,c,f,p,h,g,m){return[e,t,n,r,i,o,s,l,a,u,c,f,p,h,g,m]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>i});var r=n(37539);function i(e,t,n,i,o,s,l=Math.floor(e.length/3)){const a=(0,r.jd)(t,o);if(null==a)return!1;if(a===r.pO){if(e===i&&n===s)return!0;const t=n+3*l;for(let r=n,o=s;r<t;r++,o++)i[o]=e[r]??0;return!0}const u=n+3*l;for(let t=n,r=s;t<u;t+=3,r+=3)a(e,t,i,r);return!0}},13069(e,t,n){n.d(t,{AG:()=>l,lk:()=>i,vD:()=>s,yS:()=>o});const r="randomUUID"in crypto;function i(){if(r)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},17136(e,t,n){n.d(t,{Y_:()=>j,O7:()=>T,el:()=>I});var r=n(92602),i=n(69052),o=n(49186),s=n(53966),l=n(39829),a=n(82799),u=n(16930),c=n(80754),f=n(21325),p=n(28735),h=n(11254),g=n(60408),m=n(65864),y=n(2272),d=n(84952),M=n(92300);const x=()=>s.A.getLogger("esri.geometry.support.normalizeUtils");function b(e){return"polygon"===e[0].type}function v(e){return"polyline"===e[0].type}function w(e,t,n){if(t){const t=function(e,t){if(!(e instanceof a.A||e instanceof l.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw x().error(e),new o.A("internal:geometry",e)}const n=(0,c.r8)(e),r=[];for(const e of n){const n=[];r.push(n),n.push([e[0][0],e[0][1]]);for(let r=0;r<e.length-1;r++){const i=e[r][0],o=e[r][1],s=e[r+1][0],l=e[r+1][1],a=Math.sqrt((s-i)*(s-i)+(l-o)*(l-o)),u=(l-o)/a,c=(s-i)/a,f=a/t;if(f>1){for(let e=1;e<=f-1;e++){const r=e*t,s=c*r+i,l=u*r+o;n.push([s,l])}const e=(a+Math.floor(f-1)*t)/2,r=c*e+i,s=u*e+o;n.push([r,s])}n.push([s,l])}}return function(e){return"polygon"===e.type}(e)?new l.A({rings:r,spatialReference:e.spatialReference}):new a.A({paths:r,spatialReference:e.spatialReference})}(e,1e6);e=(0,p.ci)(t,!0)}return n&&(e=(0,c.kS)(e,n)),e}function A(e,t,n){if(Array.isArray(e)){const r=e[0];if(r>t){const n=(0,c.kd)(r,t);e[0]=r+n*(-2*t)}else if(r<n){const t=(0,c.kd)(r,n);e[0]=r+t*(-2*n)}}else{const r=e.x;if(r>t){const n=(0,c.kd)(r,t);e=e.clone().offset(n*(-2*t),0)}else if(r<n){const t=(0,c.kd)(r,n);e=e.clone().offset(t*(-2*n),0)}}return e}function R(e,t){let n=-1;for(let r=0;r<t.cutIndexes.length;r++){const i=t.cutIndexes[r],o=t.geometries[r],s=(0,c.r8)(o);for(let e=0;e<s.length;e++){const t=s[e];t.some(n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const r=t[e][0];n=r>n?r:n}n=Number(n.toFixed(9));const r=-360*(0,c.kd)(n,180);for(let n=0;n<t.length;n++){const t=o.getPoint(e,n);o.setPoint(e,n,t.clone().offset(r,0))}return!0}})}if(i===n){if(b(e))for(const t of(0,c.r8)(o))e[i]=e[i].addRing(t);else if(v(e))for(const t of(0,c.r8)(o))e[i]=e[i].addPath(t)}else n=i,e[i]=o}return e}async function I(e,t,n){if(!Array.isArray(e))return I([e],t);t&&"string"!=typeof t&&x().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const i="string"==typeof t?t:t?.url??r.A.geometryServiceUrl;let o,s,u,b,v,T,S,j,O=0;const C=[],_=[];for(const t of e)if(null!=t)if(o||(o=t.spatialReference,s=(0,f.Vp)(o),u=o.isWebMercator,T=u?102100:4326,b=c.j7[T].maxX,v=c.j7[T].minX,S=c.j7[T].plus180Line,j=c.j7[T].minus180Line),s)if("mesh"===t.type)_.push(t);else if("point"===t.type)_.push(A(t.clone(),b,v));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>A(e,b,v)),_.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,s);_.push(e.rings?new l.A(e):e)}else if(t.extent){const e=t.extent,n=(0,c.kd)(e.xmin,v)*(2*b);let r=0===n?t.clone():(0,c.kS)(t.clone(),n);e.offset(n,0);let{xmin:i,xmax:o}=e;i=Number(i.toFixed(9)),o=Number(o.toFixed(9)),e.intersects(S)&&o!==b?(O=o>O?o:O,r=w(r,u),C.push(r),_.push("cut")):e.intersects(j)&&i!==v?(O=o*(2*b)>O?o*(2*b):O,r=w(r,u,360),C.push(r),_.push("cut")):_.push(r)}else _.push(t.clone());else _.push(t);else _.push(t);let N=(0,c.kd)(O,b),P=-90;const G=N,F=new a.A;for(;N>0;){const e=360*N-180;F.addPath([[e,P],[e,-1*P]]),P*=-1,N--}if(C.length>0&&G>0){const t=R(C,await async function(e,t,n,r){const i=(0,y.Dl)(e),o=t[0].spatialReference,s={...r,responseType:"json",query:{...i.query,f:"json",sr:(0,f.YX)(o),target:JSON.stringify({geometryType:(0,g.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},l=await(0,h.A)(i.path+"/cut",s),{cutIndexes:a,geometries:u=[]}=l.data;return{cutIndexes:a,geometries:u.map(e=>{const t=(0,m.rS)(e);return t.spatialReference=o,t})}}(i,C,F,n)),r=[],o=[];for(let n=0;n<_.length;n++){const i=_[n];if("cut"!==i)o.push(i);else{const i=t.shift(),s=e[n];null!=s&&"polygon"===s.type&&s.rings&&s.rings.length>1&&i.rings.length>=s.rings.length?(r.push(i),o.push("simplify")):o.push(u?(0,p.Gh)(i):i)}}if(!r.length)return o;const s=await async function(e,t,n){const r="string"==typeof e?(0,d.An)(e):e,i=t[0].spatialReference,o=(0,g.$B)(t[0]),s={...n,query:{...r.query,f:"json",sr:(0,f.YX)(i),geometries:JSON.stringify((0,M.X)(t))}},{data:l}=await(0,h.A)(r.path+"/simplify",s);return(0,M.V)(l.geometries,o,i)}(i,r,n),l=[];for(let e=0;e<o.length;e++){const t=o[e];"simplify"!==t?l.push(t):l.push(u?(0,p.Gh)(s.shift()):s.shift())}return l}const L=[];for(let e=0;e<_.length;e++){const t=_[e];if("cut"!==t)L.push(t);else{const e=C.shift();L.push(!0===u?(0,p.Gh)(e):e)}}return L}function T(e,t,n){const r=(0,f.Vp)(n);if(null==r)return e;const[i,o]=r.valid,s=2*o;let l=0,a=0;t>o?l=Math.ceil(Math.abs(t-o)/s):t<i&&(l=-Math.ceil(Math.abs(t-i)/s)),e>o?a=Math.ceil(Math.abs(e-o)/s):e<i&&(a=-Math.ceil(Math.abs(e-i)/s));let u=e+(l-a)*s;const c=u-t;return c>o?u-=s:c<i&&(u+=s),u}function S(e){const t=(0,f.Vp)(e);if(null==t)return null;const[n,r]=t.valid;return new i.hr(n,r)}const j=S(u.A.WGS84);S(u.A.WebMercator)},22671(e,t,n){n.d(t,{A:()=>M});var r,i=n(31635),o=n(52106),s=n(66552),l=n(25482),a=n(4718),u=n(91429),c=n(16930),f=n(60408),p=n(65864),h=n(50498),g=n(20437),m=n(36005),y=n(43937);const d=new s.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let M=r=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,n,r){if(e)return void d.write(e,t,n,r);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void d.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,p.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,i]}=e,o=this.features,s=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((i-e)/n));for(let e=0,t=o.length;e<t;e++)s?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,i],scale:[o,s]}=n;let l=null,a=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;l=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;a=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,e=>e*o+r,e=>i-e*s,l,a);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const o=e[t],s=n.fromJSON(o),l=o.geometry?.spatialReference;null==s.geometry||l||(s.geometry.spatialReference=r);const a=o.aggregateGeometries,u=s.aggregateGeometries;if(a&&null!=u)for(const e in u){const t=u[e],n=a[e],i=n?.spatialReference;null==t||i||(t.spatialReference=r)}i.push(s)}return i}_quantizePoints(e,t,n){let r,i;const o=[];for(let s=0,l=e.length;s<l;s++){const l=e[s];if(s>0){const e=t(l[0]),s=n(l[1]);e===r&&s===i||(o.push([e-r,s-i]),r=e,i=s)}else r=t(l[0]),i=n(l[1]),o.push([r,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,f.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=r.length;e<o;e++){const o=r[e],s=this._quantizePoints(o,t,n);s&&i.push(s)}return i.length>0?((0,f.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,i){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,f.Bi)(e)?e.rings:e.paths;let s,l;for(let e=0,r=o.length;e<r;e++){const r=o[e];for(let e=0,i=r.length;e<i;e++){const i=r[e];e>0?(s+=i[0],l+=i[1]):(s=i[0],l=i[1]),i[0]=t(s),i[1]=n(l)}}if(r&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=i(n[3])}}else if(r)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=i(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let s,l;for(let e=0,r=o.length;e<r;e++){const r=o[e];e>0?(s+=r[0],l+=r[1]):(s=r[0],l=r[1]),r[0]=t(s),r[1]=n(l)}if(r&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=r(t[2]),t[3]=i(t[3])}else if(r)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=r(t[2])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}}:null}};(0,i.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],M.prototype,"displayFieldName",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"exceededTransferLimit",void 0),(0,i.Cg)([(0,u.MZ)({type:[o.A],json:{write:!0}})],M.prototype,"features",void 0),(0,i.Cg)([(0,m.w)("features")],M.prototype,"readFeatures",null),(0,i.Cg)([(0,u.MZ)({type:[g.A],json:{write:!0}})],M.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:d.read}}})],M.prototype,"geometryType",void 0),(0,i.Cg)([(0,y.K)("geometryType")],M.prototype,"writeGeometryType",null),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasM",void 0),(0,i.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"hasZ",void 0),(0,i.Cg)([(0,u.MZ)({types:h.yR,json:{write:!0}})],M.prototype,"queryGeometry",void 0),(0,i.Cg)([(0,m.w)("queryGeometry")],M.prototype,"readQueryGeometry",null),(0,i.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],M.prototype,"spatialReference",void 0),(0,i.Cg)([(0,y.K)("spatialReference")],M.prototype,"writeSpatialReference",null),(0,i.Cg)([(0,u.MZ)({json:{write:!0}})],M.prototype,"transform",void 0),M=r=(0,i.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],M),M.prototype.toJSON.isDefaultToJSON=!0},37539(e,t,n){n.d(t,{pO:()=>m,jd:()=>p,Tp:()=>h,w5:()=>f});var r=n(34727),i=n(86211),o=n(73941),s=n(79258);Math.PI;const l=s.$O.radius,a=s.$O.eccentricitySquared,u={a1:l*a,a2:l*a*l*a,a3:l*a*a/2,a4:l*a*l*a*2.5,a5:l*a+l*a*a/2,a6:1-a};s.$O.radius,s.$O.flattening,s.Sw.radius,s.Sw.flattening,s.sH.radius,s.sH.flattening,s.sH.radius;var c=n(21325);const f={2:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:d,11:M,2:m,4:j},5:{5:m,7:null,9:null,10:m,1:A,6:null,8:null,0:null,3:d,11:M,2:m,4:j},7:{5:null,7:m,9:null,10:m,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){const i=e[t]/G,o=P-2*Math.atan(Math.exp(-e[t+1]/G)),s=G+(e[t+2]??0),l=Math.cos(o)*s;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(o)*s},6:null,8:null,0:null,3:m,11:function(e,t,n,r){y(e,t,n,r),M(n,r,n,r)},2:y,4:function(e,t,n,r){y(e,t,n,r),j(n,r,n,r)}},4:{5:O,7:null,9:null,10:O,1:function(e,t,n,r){O(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){O(e,t,n,r),d(n,r,n,r)},11:function(e,t,n,r){O(e,t,n,r),M(n,r,n,r)},2:O,4:m},1:{5:S,7:null,9:null,10:S,1:m,6:null,8:null,0:null,3:function(e,t,n,r){S(e,t,n,r),d(n,r,n,r)},11:function(e,t,n,r){S(e,t,n,r),M(n,r,n,r)},2:S,4:function(e,t,n,r){S(e,t,n,r),j(n,r,n,r)}},6:{5:null,7:T,9:null,10:T,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:I,10:I,1:null,6:null,8:m,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:A,6:w,8:v,0:null,3:d,11:M,2:m,4:j},11:{5:x,7:null,9:null,10:x,1:function(e,t,n,r){x(e,t,n,r),A(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){x(e,t,n,r),d(n,r,n,r)},11:m,2:x,4:function(e,t,n,r){x(e,t,n,r),j(n,r,n,r)}}};function p(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(C.source.spatialReference===e&&C.dest.spatialReference===t)return C;const n=g(e,C.source),r=g(t,C.dest);return 0===n&&0===r?(0,c.aI)(e,t)?C.projector=m:C.projector=null:C.projector=f[n][r],C}function g(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,o.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===o.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===o.FY.wkt?t.spatialReferenceId=6:e.wkt===o.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function y(e,t,n,r){n[r]=N*(e[t]/G),n[r+1]=N*(P-2*Math.atan(Math.exp(-e[t+1]/G))),n[r+2]=e[t+2]??0}function d(e,t,n,i){!function(e,t,n,i,o){const s=.4999999*Math.PI,l=(0,r.qE)(_*e[t+1],-s,s),a=Math.sin(l);n[i++]=_*e[t]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),n[i]=e[t+2]??0}(e,t,n,i,s.$O)}function M(e,t,n,r){n[r]=e[t]*F,n[r+1]=e[t+1]*F,n[r+2]=e[t+2]??0}function x(e,t,n,r){n[r]=e[t]*L,n[r+1]=e[t+1]*L,n[r+2]=e[t+2]??0}function b(e,t,n,r,i){const o=i+(e[t+2]??0),s=_*e[t],l=_*e[t+1],a=Math.cos(l)*o;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(l)*o}function v(e,t,n,r){b(e,t,n,r,s.Sw.radius)}function w(e,t,n,r){b(e,t,n,r,s.sH.radius)}function A(e,t,n,r){b(e,t,n,r,s.$O.radius)}function R(e,t,n,i,o){const s=e[t],l=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+l*l+a*a),c=(0,r.YN)(a/(0===u?1:u)),f=Math.atan2(l,s);n[i++]=N*f,n[i++]=N*c,n[i]=u-o}function I(e,t,n,r){R(e,t,n,r,s.Sw.radius)}function T(e,t,n,r){R(e,t,n,r,s.sH.radius)}function S(e,t,n,r){R(e,t,n,r,s.$O.radius)}function j(e,t,n,r){!function(e,t,n,r,i){const o=_*e[t],s=_*e[t+1],l=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),c=i.radius/Math.sqrt(1-i.eccentricitySquared*a*a);n[r++]=(c+l)*u*Math.cos(o),n[r++]=(c+l)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+l)*a}(e,t,n,r,s.$O)}function O(e,t,n,r){const i=u,o=e[t],l=e[t+1],a=e[t+2]??0;let c,f,p,h,g,m,y,d,M,x,b,v,w,A,R,I,T,S,j,O,C;c=Math.abs(a),f=o*o+l*l,p=Math.sqrt(f),h=f+a*a,g=Math.sqrt(h),O=Math.atan2(l,o),m=a*a/h,y=f/h,A=i.a2/g,R=i.a3-i.a4/g,y>.3?(d=c/g*(1+y*(i.a1+A+m*R)/g),j=Math.asin(d),x=d*d,M=Math.sqrt(1-x)):(M=p/g*(1-m*(i.a5-A-y*R)/g),j=Math.acos(M),x=1-M*M,d=Math.sqrt(x)),b=1-s.$O.eccentricitySquared*x,v=s.$O.radius/Math.sqrt(b),w=i.a6*v,A=p-v*M,R=c-w*d,T=M*A+d*R,I=M*R-d*A,S=I/(w/b+T),j+=S,C=T+I*S/2,a<0&&(j=-j),n[r++]=N*O,n[r++]=N*j,n[r]=C}const C={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},_=(0,r.kU)(1),N=(0,r.KJ)(1),P=.5*Math.PI,G=s.$O.radius,F=G*Math.PI/180,L=180/(G*Math.PI)},52106(e,t,n){n.d(t,{A:()=>v});var r,i=n(31635),o=n(37838),s=n(69540),l=n(51447),a=n(25482),u=n(53966),c=n(36708),f=n(24326),p=n(91429),h=n(12195),g=n(65864),m=n(50498),y=n(55156),d=n(60950),M=n(54339),x=n(33910);function b(e){if(null==e)return null;const t={};for(const n in e){const r=e[n];r&&(t[n]=r.toJSON())}return 0!==Object.keys(t).length?t:null}let v=class extends((0,s.OU)(a.o)){static{r=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,f.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new r({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=(0,d.E_)(this.origin);if(t)return t.popupTemplate??(e?t.defaultPopupTemplate:null)??null;const n=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const t of[n,this.sourceLayer,this.layer])if(t&&"object"==typeof t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&null!=t.defaultPopupTemplate)return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=(0,y.I)(this.origin);if(e)return(0,M.r)(this,e);const t=this.sourceLayer??this.layer;return t?(0,M.r)(this,t):null}getGlobalId(){const e=(0,y.I)(this.origin);if(e?.globalIdField)return this.getAttribute(e.globalIdField);const t=this.sourceLayer??this.layer;return t&&"globalIdField"in t&&t.globalIdField?this.getAttribute(t.globalIdField):null}toJSON(){return{aggregateGeometries:b(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,r){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(i.action=r),"attributes"===e&&(i.attributeName=r),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,p.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const r=(0,g.rS)(e[n]);r&&(t[n]=r)}return 0!==Object.keys(t).length?t:null}}})],v.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,p.MZ)({value:null})],v.prototype,"attributes",null),(0,i.Cg)([(0,p.MZ)({value:null,types:m.yR,json:{read:g.rS}})],v.prototype,"geometry",null),(0,i.Cg)([(0,p.MZ)({type:Boolean})],v.prototype,"isAggregate",void 0),(0,i.Cg)([(0,p.MZ)({clonable:!1})],v.prototype,"layer",void 0),(0,i.Cg)([(0,p.MZ)({clonable:"reference"})],v.prototype,"origin",void 0),(0,i.Cg)([(0,p.MZ)({type:o.A,value:null})],v.prototype,"popupTemplate",null),(0,i.Cg)([(0,p.MZ)({clonable:"reference"})],v.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,p.MZ)({value:null,types:x.Es})],v.prototype,"symbol",null),(0,i.Cg)([(0,p.MZ)({clonable:!1,json:{read:!1,write:!1}})],v.prototype,"_version",void 0),(0,i.Cg)([(0,p.MZ)({type:Boolean,value:!0})],v.prototype,"visible",null),v=r=(0,i.Cg)([(0,p.$K)("esri.Graphic")],v)},54339(e,t,n){function r(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const r of t.fieldNames)n.push(e.attributes[r]??null);return JSON.stringify(n)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>r,r:()=>i})},55156(e,t,n){n.d(t,{I:()=>i,e:()=>r});const r=Symbol("idFieldsProviderSymbol");function i(e){return(t=e)&&r in t?e[r]:void 0;var t}},69052(e,t,n){n.d(t,{hr:()=>i,ie:()=>a,uC:()=>l});var r=n(34727);class i{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return o(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+s(this.range,e-t,n)}minimalMonotonic(e,t,n){return o(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(r)?n:r}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function o(e,t,n,r,i=0,o=!1){return(r-=i)<t?r+=s(e,t-r):r>n&&(r-=s(e,r-n)),o&&r===n&&(r=t),r+i}function s(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const l=new i(0,2*Math.PI),a=(new i(-Math.PI,Math.PI),new i(0,360))},70328(e,t,n){n.d(t,{BI:()=>x,DC:()=>f,Ej:()=>h,Ie:()=>d,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>v,fA:()=>s,gE:()=>a,hZ:()=>y,iT:()=>p,is:()=>b,qv:()=>w,vI:()=>m,vY:()=>l,v_:()=>A,vt:()=>o,w1:()=>u});var r=n(5443),i=(n(19419),n(4197));function o(e=A){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,r,i,s,l=o()){return l[0]=e,l[1]=t,l[2]=n,l[3]=r,l[4]=i,l[5]=s,l}function l(e,t=o()){return function(e,t,n,r=o()){return y(r,w),function(e,t,n=0,r=t.length/3){let i=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function a(e,t=(0,i.jh)(24)){const[n,r,o,s,l,a]=e;return t[0]=n,t[1]=r,t[2]=o,t[3]=n,t[4]=r,t[5]=a,t[6]=n,t[7]=l,t[8]=o,t[9]=n,t[10]=l,t[11]=a,t[12]=s,t[13]=r,t[14]=o,t[15]=s,t[16]=r,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function h(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function g(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function m(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function y(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function d(e){return e?y(e,w):o(w)}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function x(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function b(e){return 6===e.length}function v(e,t,n){if(null==e||null==t)return e===t;if(!b(e)||!b(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const w=[1/0,1/0,1/0,-1/0,-1/0,-1/0],A=[0,0,0,0,0,0];o()},80754(e,t,n){n.d(t,{j7:()=>s,kS:()=>a,kd:()=>l,r8:()=>u});var r=n(82799),i=n(16930),o=n(60408);const s={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:i.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:i.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:i.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function a(e,t){const n=u(e);for(const e of n)for(const n of e)n[0]+=t;return e}function u(e){return(0,o.Bi)(e)?e.rings:e.paths}},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>$,initializeProjection:()=>W,isEqualBaseGCS:()=>B,isLoaded:()=>O,isLoadedOrLoad:()=>C,isLoadedOrLoadFor:()=>_,load:()=>P,project:()=>G,projectAsync:()=>E,projectExtent:()=>te,projectMany:()=>F,projectMultipoint:()=>K,projectOrLoad:()=>z,projectOrLoadMany:()=>k,projectPoint:()=>D,projectPolygon:()=>Q,projectPolyline:()=>X,projectWithoutEngine:()=>U,requiresLoad:()=>N,test:()=>J,tryProject:()=>L,unload:()=>Z});var r=n(49186),i=n(74887),o=n(62788),s=n(95488),l=n(51850),a=n(21276),u=n(73941),c=n(5443),f=n(91075),p=n(48526),h=n(86738),g=n(39829),m=n(82799),y=n(16930),d=n(159),M=n(9762),x=n(37539);function b(e,t,n,r,i,o){return v[0]=e,v[1]=t,v[2]=n,(0,M.projectBuffer)(v,r,0,i,o,0)}const v=(0,l.vt)();var w=n(21325);let A=null,R=null,I=null,T=null,S={};const j=new s.I;function O(){return!!(R?.isLoaded()&&I?.isLoaded()&&T?.isLoaded())}function C(){return!!O()||((0,o.gc)(j),P(),!1)}function _(e,t){return!e||!t||$(e,t)||C()}function N(e,t){return!$(e,t)&&!O()}async function P(e){null==A&&(A=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(R=e,R.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(I=e,I.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(T=e,T.load()))])),await A,(0,i.Te)(e),j.notify()}function G(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),F(e,e[0].spatialReference,t,n)):((0,a.f)(e),F([e],e.spatialReference,t,n)[0])}function F(e,t,n,r){if(null==t||null==n)return e;if($(t,n,r))return e.map(e=>U(e,t,n));if(null==r?.geographicTransformation&&(0,u.jA)(t))return F(e.map(e=>U(e,t,y.A.WGS84)),y.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return F(e,t,y.A.WGS84).map(e=>U(e,y.A.WGS84,n));if(!O())throw new q;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:T.getTransformation(t,n,r.areaOfInterestExtent)||new d.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let i=S[e];i||(i=T.getTransformation(t,n)||new d.A,S[e]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof f.A?R.executeMany(e,n,r):I.executeMany(e,n,r)}function L(e,t,n){try{return G(e,t,n)}catch(e){return null}}function z(e,t){const n=k([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function k(e,t,n){if(!O())for(const n of e)if(null!=n&&!(0,w.aI)(n.spatialReference,t)&&(0,w.fn)(n.spatialReference)&&(0,w.fn)(t)&&!$(n.spatialReference,t))return(0,o.gc)(j),{pending:P(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,w.aI)(e.spatialReference,t)?e:(0,w.fn)(e.spatialReference)&&(0,w.fn)(t)?G(e,t,n):null)}}class q extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Z(){A=null,R=null,I=null,T=null,S={}}const J={get loadPromise(){return A}};async function E(e,t,n){if((0,i.Te)(n),!e)return e;const r=k(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,i.Te)(n),E(e,t,n);const o=r.geometries??[];return Array.isArray(e)?o:o[0]}function $(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,w.aI)(e,t)||(0,w.fn)(e)&&(0,w.fn)(t)&&!!(0,x.jd)(e,t))}function B(e,t){if((0,w.aI)(e,t))return!0;if(!(0,w.fn)(e)||!(0,w.fn)(t))return!1;const n=(0,w.oT)(e)||(0,w.K8)(e)||(0,w.x1)(e),r=(0,w.oT)(t)||(0,w.K8)(t)||(0,w.x1)(t);return n&&r}async function W(e,t,n,r){if(O())return(0,i.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:i}of e)if(t&&n&&!$(t,n,i))return P(r)}else if(e&&t&&!$(e,t,n))return P(r);return(0,i.NO)(r)}function U(e,t,n){return e?"x"in e?V(e,t,new h.A,n,0):"xmin"in e?ne(e,t,new c.A,n,0):"rings"in e?ee(e,t,new g.A,n,0):"paths"in e?H(e,t,new m.A,n,0):"points"in e?Y(e,t,new p.A,n,0):null:null}function D(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=V(e,e.spatialReference,t,n,r)}function V(e,t,n,r,i){ie[0]=e.x,ie[1]=e.y;const o=e.z;return ie[2]=void 0!==o?o:i,(0,M.projectBuffer)(ie,t,0,ie,r,0)?(n.x=ie[0],n.y=ie[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=ie[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function K(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Y(e,e.spatialReference,t,n,r)}function Y(e,t,n,r,i){const{points:o,hasZ:s,hasM:l}=e,a=[],c=o.length,f=[];for(const e of o)f.push(e[0],e[1],s?e[2]:i);if(!(0,M.projectBuffer)(f,t,0,f,r,0,c))return null;const p=s||(0,u.xP)(r);for(let e=0;e<c;++e){const t=3*e,n=f[t],r=f[t+1];p&&l?a.push([n,r,f[t+2],o[e][3]]):p?a.push([n,r,f[t+2]]):l?a.push([n,r,o[e][2]]):a.push([n,r])}return n.points=a,n.spatialReference=r,n.hasZ=s,n.hasM=l,n}function X(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=H(e,e.spatialReference,t,n,r)}function H(e,t,n,r,i){const{paths:o,hasZ:s,hasM:l}=e,a=[];if(!re(o,s??!1,l??!1,t,a,r,i))return null;const c=s||(0,u.xP)(r);return n.paths=a,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function Q(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,r)}function ee(e,t,n,r,i){const{rings:o,hasZ:s,hasM:l}=e,a=[];if(!re(o,s??!1,l??!1,t,a,r,i))return null;const c=s||(0,u.xP)(r);return n.rings=a,n.spatialReference=r,n.hasZ=c,n.hasM=l,n}function te(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,r)}function ne(e,t,n,r,i){const{xmin:o,ymin:s,xmax:l,ymax:a,hasZ:c,hasM:f}=e;if(!b(o,s,c?e.zmin:i,t,ie,r))return null;const p=c||(0,u.xP)(r);return n.xmin=ie[0],n.ymin=ie[1],p&&(n.zmin=ie[2]),b(l,a,c?e.zmax:i,t,ie,r)?(n.xmax=ie[0],n.ymax=ie[1],p&&(n.zmax=ie[2]),f&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function re(e,t,n,r,i,o,s=0){const l=new Array;for(const n of e)for(const e of n)l.push(e[0],e[1],t?e[2]:s);if(!(0,M.projectBuffer)(l,r,0,l,o,0))return!1;let a=0;i.length=0;const c=t||(0,u.xP)(o);for(const t of e){const e=new Array;for(const r of t)c&&n?e.push([l[a++],l[a++],l[a++],r[3]]):c?e.push([l[a++],l[a++],l[a++]]):n?(e.push([l[a++],l[a++],r[2]]),a++):(e.push([l[a++],l[a++]]),a++);i.push(e)}return!0}const ie=(0,l.vt)()},92300(e,t,n){n.d(t,{V:()=>s,X:()=>o});var r=n(60408),i=n(65864);function o(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function s(e,t,n){const r=(0,i.xD)(t);return e.map(e=>{const t=r.fromJSON(e);return t.spatialReference=n,t})}},99157(e,t,n){n.d(t,{A:()=>l});var r,i=n(31635),o=n(69622),s=n(91429);let l=r=class extends o.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,s.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1437,7694],{16494(e,t,r){r.d(t,{Nd:()=>l,W5:()=>n});var i=r(37330);const s=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),o=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],n=new i.I({whiteList:s,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(o.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},17311(e,t,r){r.d(t,{A:()=>c});var i=r(31635),s=r(69622),o=r(4576),n=r(60999),l=r(7762),a=r(16494),p=r(91429),u=r(30524),d=r(43668);const y=/<br\s*\/*>/gi;let c=class extends s.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,n.UT)(()=>(0,d.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??r.e(9926).then(r.bind(r,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of r){const r=t.split("."),i=this.fieldsIndex.get(r.at(-1)??"");i&&e.add(i.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){const i=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(i)??""}async getTitles(e,t,r){const i=new Map,s=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:n,workingTitle:l}=this,p=l&&n;t.forEach(t=>{const u=t.getObjectId()??t.attributes[e.objectIdField];let d=p?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:n,globalAttributes:this._createFormattedAttributes(e,t,s).global,layer:e,text:l}):"";r?.removeHTML&&(d=a.Nd.sanitize(d).replaceAll(y," ")),i.set(u,d)})}catch{}return i}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,u.Kl)(e,this.requiredFields))){const i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;const s=await e.queryFeatures(i);if(s?.features.length===t.length)return s.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),i=e?.name??r.fieldName;r.fieldName=i,t.set(i.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const i=this.effectivePopupTemplate?.fieldInfos??[],s={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const r=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{s[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const o={...t.attributes,...s};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:o,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,u.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"_arcadeTask",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,p.MZ)({readOnly:!0})],c.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"displayField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,p.MZ)()],c.prototype,"fields",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"objectIdField",void 0),(0,i.Cg)([(0,p.MZ)()],c.prototype,"requiredFields",null),c=(0,i.Cg)([(0,p.$K)("esri.layers.support.TitleCreator")],c)},22671(e,t,r){r.d(t,{A:()=>v});var i,s=r(31635),o=r(52106),n=r(66552),l=r(25482),a=r(4718),p=r(91429),u=r(16930),d=r(60408),y=r(65864),c=r(50498),h=r(20437),g=r(36005),f=r(43937);const m=new n.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,o.A)}writeGeometryType(e,t,r,i){if(e)return void m.write(e,t,r,i);const{features:s}=this;if(s)for(const e of s)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,y.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=u.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,a.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,s]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((s-e)/r));for(let e=0,t=o.length;e<t;e++)n?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,s],scale:[o,n]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,e=>e*o+i,e=>s-e*n,l,a);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=u.A.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const o=e[t],n=r.fromJSON(o),l=o.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=i);const a=o.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],s=r?.spatialReference;null==t||s||(t.spatialReference=i)}s.push(n)}return s}_quantizePoints(e,t,r){let i,s;const o=[];for(let n=0,l=e.length;n<l;n++){const l=e[n];if(n>0){const e=t(l[0]),n=r(l[1]);e===i&&n===s||(o.push([e-i,n-s]),i=e,s=n)}else i=t(l[0]),s=r(l[1]),o.push([i,s])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,d.Bi)(e)?e.rings:e.paths,s=[];for(let e=0,o=i.length;e<o;e++){const o=i[e],n=this._quantizePoints(o,t,r);n&&s.push(n)}return s.length>0?((0,d.Bi)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,s){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,d.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];for(let e=0,s=i.length;e<s;e++){const s=i[e];e>0?(n+=s[0],l+=s[1]):(n=s[0],l=s[1]),s[0]=t(n),s[1]=r(l)}}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=s(r[3])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),s&&null!=e.mmax&&null!=e.mmin&&(e.mmax=s(e.mmax),e.mmin=s(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let n,l;for(let e=0,i=o.length;e<i;e++){const i=o[e];e>0?(n+=i[0],l+=i[1]):(n=i[0],l=i[1]),i[0]=t(n),i[1]=r(l)}if(i&&s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2]),t[3]=s(t[3])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2])}}:null}};(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,s.Cg)([(0,p.MZ)({type:[o.A],json:{write:!0}})],v.prototype,"features",void 0),(0,s.Cg)([(0,g.w)("features")],v.prototype,"readFeatures",null),(0,s.Cg)([(0,p.MZ)({type:[h.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,s.Cg)([(0,p.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,s.Cg)([(0,f.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,s.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,s.Cg)([(0,p.MZ)({types:c.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,s.Cg)([(0,g.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,s.Cg)([(0,p.MZ)({type:u.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,s.Cg)([(0,f.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,s.Cg)([(0,p.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,s.Cg)([(0,p.$K)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0},29005(e,t,r){r.d(t,{A:()=>p});var i=r(31635),s=r(69540),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let p=class extends((0,s.OU)(n.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],p.prototype,"drawingTool",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"prototype",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],p.prototype,"thumbnail",void 0),p=(0,i.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],p)},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>p,ne:()=>a});var i=r(31635),s=r(93637),o=r(91429),n=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const s=new n.A;return s.read(i,r),[s]}const a={type:[n.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const o=e.find(e=>!!e.field);o&&(0,s.sM)(r,[o.toJSON()],t)}}}},p=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,o.MZ)(a)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,o.$K)("esri.layers.mixins.OrderedLayer")],r),r}},33143(e,t,r){r.d(t,{A:()=>d});var i=r(31635),s=r(69540),o=r(25482),n=r(91429),l=r(8631),a=r(29005),p=r(36005),u=r(43937);let d=class extends((0,s.OU)(o.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,i.Cg)([(0,p.w)("domains")],d.prototype,"readDomains",null),(0,i.Cg)([(0,u.K)("domains")],d.prototype,"writeDomains",null),(0,i.Cg)([(0,n.MZ)({type:[a.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,i.Cg)([(0,n.$K)("esri.layers.support.FeatureType")],d)},38961(e,t,r){r.d(t,{A:()=>u});var i=r(31635),s=r(7762),o=r(36708),n=r(10107),l=r(64108),a=r(80559);let p=class extends s.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)(()=>this._refresh(),o.OH))}destroy(){this.getCollections=null}_refresh(){const e=this.getCollections?.();if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t)}_createNewInstance(e){return new s.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const i of t)if(i){if(r(i)){const t=this.indexOf(i,e);t>=0?t!==e&&this.reorder(i,e):this.add(i,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(i);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,i.Cg)([(0,n.MZ)()],p.prototype,"getCollections",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"getChildrenFunction",void 0),(0,i.Cg)([(0,n.MZ)()],p.prototype,"itemFilterFunction",void 0),p=(0,i.Cg)([(0,l.$)("esri.core.CollectionFlattener")],p);const u=p},41560(e,t,r){r.d(t,{Ch:()=>n,mW:()=>o});var i=r(34727),s=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function n(e,t,r){const o=function(e){if("manual"===p(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],u(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(o&&((0,i.gg)(t,o[0])||(0,i.ZH)(r,o[1])))return"";const n=Array.from(l(e,t,r)),a=function(e,t,r){if(0===e.length)return!0;const s=u(e.at(0)?.minScale),o=d(e.at(-1)?.maxScale);if((0,i.ZH)(s,t)||(0,i.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],s=e[t+1];if((0,i.ZH)(u(s.minScale),d(r.maxScale)))return!0}return!1}(n,t,r)?"1=1":n.map(e=>e.where||"1=1").reduce((e,t)=>(0,s.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,r){if("manual"===p(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)a(i.minScale,i.maxScale,t,r)&&(yield i)}}function a(e,t,r,s){return e=u(e),r=u(r),t=d(t),!(!(0,i.Sp)(r,e)&&(s??r)>e||(0,i.Hx)(t,r)||void 0!==s&&(0,i.Sp)(s,e))}function p(e){return"mode"in e?e.mode:e.filterMode}function u(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},45067(e,t,r){r.d(t,{A:()=>u});var i=r(31635),s=r(69540),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),p=new o.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let u=class extends((0,s.OU)(n.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,i.Cg)([(0,l.MZ)({json:{read:a.read,write:a.write}})],u.prototype,"cardinality",void 0),(0,i.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],u.prototype,"catalogId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"composite",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],u.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:p.read,write:p.write}})],u.prototype,"role",void 0),u=(0,i.Cg)([(0,l.$K)("esri.layers.support.Relationship")],u)},58501(e,t,r){r.d(t,{q:()=>s});var i=r(62815);function s(e,t,r){if(!r?.features||!r.hasZ)return;const s=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(s)for(const e of r.features)s(e.geometry)}},62815(e,t,r){r.d(t,{N:()=>n});var i=r(86211),s=r(73941),o=r(21325);function n(e,t,r){if(null==t||null==r||r.vcsWkid||(0,o.aI)(t,r)||(0,s.xP)(t)||(0,s.xP)(r))return;const n=(0,i.G9)(t)/(0,i.G9)(r);if(1!==n)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,n);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,n);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,n);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return}}},81583(e,t,r){r.d(t,{L:()=>l,g:()=>n});var i=r(60999),s=r(7762),o=r(92474);async function n(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],n=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?n(...t):s.A.isCollection(t)?t.forEach(e=>n(e)):(0,o.Zm)(t)&&r.push(t))};t(n);let l=null;if(await(0,i.Tj)(r,async e=>{const t=await(0,i.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)}),l)throw l.error;return e}},82411(e,t,r){r.r(t),r.d(t,{default:()=>tt});var i=r(31635),s=r(7762),o=r(38961),n=r(49186),l=r(36563),a=r(4718),p=r(81583),u=r(53966),d=r(25728),y=r(74887),c=r(36708),h=r(84952),g=r(91429),f=r(16930),m=r(4146),v=r(52106),b=r(37838),w=r(11254),C=r(66552),M=r(92474),Z=r(61893),F=r(5443),x=r(55156),T=r(60950),S=r(89808),I=r(99959);const A=Symbol("isBuildingGraphicOrigin");var j;class O extends I.A{get[(j=A,T.ym)](){return this.sublayer}get[x.e](){return this.sublayer}get[S.Q](){return this.sublayer}constructor(e){super(),this[j]=!0,this.type="building",this.sublayer=e}get layer(){return this.sublayer.layer}get id(){return`${this.layer.id}:__${this.sublayer.id}__`}}var _=r(68654),L=r(69622),P=r(4902),R=r(56507),E=r(10873),N=r(36005);let k=class extends((0,P.s)((0,d.M)(L.A))){constructor(e){super(e),this.title="",this.id=-1,this.modelName=null,this.isEmpty=null,this.legendEnabled=!0,this.visible=!0,this.opacity=1}readTitle(e,t){return"string"==typeof t.alias?t.alias:"string"==typeof t.name?t.name:""}readIdOnlyOnce(e){return-1!==this.id?this.id:"number"==typeof e?e:-1}};(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{"web-scene":{write:!0},"portal-item":{write:!0}}}})],k.prototype,"title",void 0),(0,i.Cg)([(0,N.w)("service","title",["alias","name"])],k.prototype,"readTitle",null),(0,i.Cg)([(0,g.MZ)()],k.prototype,"layer",void 0),(0,i.Cg)([(0,g.MZ)({type:R.jz,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],k.prototype,"id",void 0),(0,i.Cg)([(0,N.w)("service","id")],k.prototype,"readIdOnlyOnce",null),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(String))],k.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(Boolean))],k.prototype,"isEmpty",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,nonNullable:!0})],k.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],k.prototype,"visible",void 0),(0,i.Cg)([(0,g.MZ)({type:Number,json:{write:!0}})],k.prototype,"opacity",void 0),k=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingSublayer")],k);var q=r(4071),B=r(15426),$=r(17036),K=r(95466),U=r(30524),G=r(83898),Q=r(50805),z=r(41214),D=r(61956),J=r(54218),V=r(30291),W=r(88625),H=r(5682),Y=r(45671),X=r(93223);const ee=(0,$.p)();let te=class extends((0,M.WV)((0,Z.g)(k))){constructor(e){super(e),this.type="building-component",this.nodePages=null,this.materialDefinitions=[],this.textureSetDefinitions=[],this.geometryDefinitions=[],this.indexInfo=null,this.serviceUpdateTimeStamp=null,this.store=null,this.attributeStorageInfo=[],this.fields=[],this.associatedLayer=null,this.outFields=null,this.listMode="show",this.renderer=null,this.definitionExpression=null,this.popupEnabled=!0,this.popupTemplate=null,this.layerType="3d-object"}initialize(){this._set("graphicOrigin",new O(this))}get parsedUrl(){return this.layer?{path:`${this.layer.parsedUrl?.path}/sublayers/${this.id}`,query:this.layer.parsedUrl?.query}:{path:""}}get fieldsIndex(){return new K.A(this.fields)}readAssociatedLayer(e,t){const r=this.layer.associatedFeatureServiceItem,i=t.associatedLayerID;return null!=r&&"number"==typeof i?new _.default({portalItem:r,customParameters:this.customParameters,layerId:i}):null}get objectIdField(){if(null!=this.fields)for(const e of this.fields)if("oid"===e.type)return e.name;return""}get globalIdField(){if(null!=this.fields)for(const e of this.fields)if("global-id"===e.type)return e.name;return""}get displayField(){return null!=this.associatedLayer?this.associatedLayer.displayField:void 0}get apiKey(){return this.layer.apiKey}get customParameters(){return this.layer.customParameters}get fullExtent(){return this.layer.fullExtent}get spatialReference(){return this.layer.spatialReference}get version(){return this.layer.version}get elevationInfo(){return this.layer.elevationInfo}get minScale(){return this.layer.minScale}get maxScale(){return this.layer.maxScale}get effectiveScaleRange(){return this.layer.effectiveScaleRange}get defaultPopupTemplate(){return this.createPopupTemplate()}load(e){const t=null!=e?e.signal:null,r=this._fetchService(t).then(()=>{this.indexInfo=(0,G.F)(this.parsedUrl.path,this.rootNode,this.nodePages,this.customParameters,this.apiKey,u.A.getLogger(this),t)});return this.addResolvingPromise(r),Promise.resolve(this)}createPopupTemplate(e){return(0,V.tn)(this,e)}async _fetchService(e){const t=(await(0,w.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service",url:this.parsedUrl})}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){const r=this.getField(e)?.domain??null;return this.associatedLayer?(0,B.Vq)(this.associatedLayer,e,t,r):r}getFeatureType(e){return e&&null!=this.associatedLayer?this.associatedLayer.getFeatureType(e):null}get types(){return null!=this.associatedLayer?this.associatedLayer.types??[]:[]}get typeIdField(){return null!=this.associatedLayer?this.associatedLayer.typeIdField:null}get geometryType(){return"3d-object"===this.layerType?"mesh":"point"}get profile(){return"3d-object"===this.layerType?"mesh-pyramids":"points"}get capabilities(){const e=null!=this.associatedLayer&&this.associatedLayer.capabilities?this.associatedLayer.capabilities:q.P,{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}=e;return{query:t,operations:{supportsQuery:r},data:{supportsZ:i,supportsM:s,isVersioned:o}}}createQuery(){const e=new D.A;return"mesh"!==this.geometryType&&(e.returnGeometry=!0,e.returnZ=!0),e.where=this.definitionExpression||"1=1",e.sqlFormat="standard",e}queryExtent(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryExtent(e||this.createQuery(),t))}queryFeatureCount(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatureCount(e||this.createQuery(),t))}queryFeatures(e,t){return this._getAssociatedLayerForQuery().then(r=>r.queryFeatures(e||this.createQuery(),t)).then(e=>{if(e?.features)for(const t of e.features)t.layer=this.layer,t.sourceLayer=this,t.origin=this.graphicOrigin;return e})}async queryObjectIds(e,t){const r=await this._getAssociatedLayerForQuery();return(await r.queryObjectIds(e||this.createQuery(),t)).filter(J.Et)}async queryCachedAttributes(e,t){const r=(0,U.hL)(this.fieldsIndex,await(0,Y.TO)(this,(0,Y.D8)(this)));return(0,H.s1)(this.parsedUrl.path,this.attributeStorageInfo,e,t,r,this.apiKey,this.customParameters)}async queryCachedFeature(e,t){const r=await this.queryCachedAttributes(e,[t]);if(!r||0===r.length)throw new n.A("scenelayer:feature-not-in-cached-data","Feature not found in cached data");return new v.A({attributes:r[0],layer:this,sourceLayer:this})}getFieldUsageInfo(e){return this.fieldsIndex.has(e)?{supportsLabelingInfo:!1,supportsRenderer:!1,supportsPopupTemplate:!1,supportsLayerQuery:!1}:{supportsLabelingInfo:!1,supportsRenderer:!0,supportsPopupTemplate:!0,supportsLayerQuery:null!=this.associatedLayer}}_getAssociatedLayerForQuery(){const e=this.associatedLayer;return null!=e&&e.loaded?Promise.resolve(e):this._loadAssociatedLayerForQuery()}async _loadAssociatedLayerForQuery(){if(await this.load(),null==this.associatedLayer)throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer component layer queries are not available without an associated feature layer",{layer:this});try{await this.associatedLayer.load()}catch(e){throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer associated feature layer could not be loaded",{layer:this,error:e})}return this.associatedLayer}};(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"parsedUrl",null),(0,i.Cg)([(0,g.MZ)({type:Q.W4,readOnly:!0})],te.prototype,"nodePages",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.uV],readOnly:!0})],te.prototype,"materialDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.Ot],readOnly:!0})],te.prototype,"textureSetDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({type:[Q.L0],readOnly:!0})],te.prototype,"geometryDefinitions",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"serviceUpdateTimeStamp",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"store",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],te.prototype,"rootNode",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"attributeStorageInfo",void 0),(0,i.Cg)([(0,g.MZ)(ee.fields)],te.prototype,"fields",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"fieldsIndex",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:_.default})],te.prototype,"associatedLayer",void 0),(0,i.Cg)([(0,N.w)("service","associatedLayer",["associatedLayerID"])],te.prototype,"readAssociatedLayer",null),(0,i.Cg)([(0,g.MZ)(ee.outFields)],te.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"objectIdField",null),(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0})],te.prototype,"globalIdField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{read:!1}})],te.prototype,"displayField",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"apiKey",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String})],te.prototype,"customParameters",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:F.A})],te.prototype,"fullExtent",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:f.A})],te.prototype,"spatialReference",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"version",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:W.A})],te.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"minScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"maxScale",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Number})],te.prototype,"effectiveScaleRange",null),(0,i.Cg)([(0,g.MZ)({type:["hide","show"],json:{write:!0}})],te.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)({types:z.XJ,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:!0},value:null})],te.prototype,"renderer",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{origins:{service:{read:!1,write:!1}},name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],te.prototype,"definitionExpression",void 0),(0,i.Cg)([(0,g.MZ)(E.M6)],te.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:b.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],te.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:String,json:{origins:{service:{read:{source:"store.normalReferenceFrame"}}},read:!1}})],te.prototype,"normalReferenceFrame",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"types",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"typeIdField",null),(0,i.Cg)([(0,g.MZ)({json:{write:!1}}),(0,X.e)(new C.J({"3DObject":"3d-object",Point:"point"}))],te.prototype,"layerType",void 0),(0,i.Cg)([(0,g.MZ)()],te.prototype,"geometryType",null),(0,i.Cg)([(0,g.MZ)()],te.prototype,"profile",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1}})],te.prototype,"capabilities",null),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],te.prototype,"statisticsInfo",void 0),te=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingComponentSublayer")],te);var re=r(67076);function ie(e,t){e.forEach(e=>{t(e),"building-group"===e.type&&ie(e.sublayers,t)})}const se={type:s.A,readOnly:!0,json:{origins:{service:{read:{source:"sublayers",reader:oe}}},read:!1}};function oe(e,t,r){if(e&&Array.isArray(e))return new s.A(e.map(e=>{const t=function(e){return"group"===e.layerType?ne:te}(e);if(t){const i=new t;return i.read(e,r),i}return r?.messages&&e&&r.messages.push(new re.A("building-scene-layer:unsupported-sublayer-type","Building scene sublayer of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:r})),null}))}let ne=class extends k{constructor(e){super(e),this.type="building-group",this.listMode="show",this.sublayers=null}loadAll(){return(0,p.L)(this,e=>ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}))}static{this.sublayersProperty=se}static{this.readSublayers=oe}};(0,i.Cg)([(0,g.MZ)({type:["hide","show","hide-children"],json:{write:!0}})],ne.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)(se)],ne.prototype,"sublayers",void 0),ne=(0,i.Cg)([(0,g.$K)("esri.layers.buildingSublayers.BuildingGroupSublayer")],ne);var le=r(52136),ae=r(18768),pe=r(69208),ue=r(16131),de=r(8303),ye=r(25036),ce=r(58947),he=r(92009),ge=r(25482),fe=r(13069);let me=class extends ge.o{constructor(){super(...arguments),this.type=null}};(0,i.Cg)([(0,g.MZ)({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],me.prototype,"type",void 0),me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfo")],me);const ve=me;var be;let we=be=class extends ge.o{constructor(){super(...arguments),this.filterType=null,this.filterValues=null}clone(){return new be({filterType:this.filterType,filterValues:(0,a.o8)(this.filterValues)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{isRequired:!0}}})],we.prototype,"filterType",void 0),(0,i.Cg)([(0,g.MZ)({type:[String],json:{write:{isRequired:!0}}})],we.prototype,"filterValues",void 0),we=be=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoType")],we);const Ce=we;var Me;const Ze=s.A.ofType(Ce);let Fe=Me=class extends ge.o{clone(){return new Me({filterTypes:(0,a.o8)(this.filterTypes)})}};(0,i.Cg)([(0,g.MZ)({type:Ze,json:{write:{isRequired:!0}}})],Fe.prototype,"filterTypes",void 0),Fe=Me=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoBlock")],Fe);const xe=Fe;var Te;const Se=s.A.ofType(xe);let Ie=Te=class extends ve{constructor(){super(...arguments),this.type="checkbox"}clone(){return new Te({filterBlocks:(0,a.o8)(this.filterBlocks)})}};(0,i.Cg)([(0,g.MZ)({type:["checkbox"]})],Ie.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)({type:Se,json:{write:{isRequired:!0}}})],Ie.prototype,"filterBlocks",void 0),Ie=Te=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterAuthoringInfoCheckbox")],Ie);const Ae=Ie;var je=r(69540);let Oe=class extends((0,je.OU)(ge.o)){};(0,i.Cg)([(0,g.MZ)({readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],Oe.prototype,"type",void 0),Oe=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterMode")],Oe);const _e=Oe;let Le=class extends _e{constructor(){super(...arguments),this.type="solid"}};(0,i.Cg)([(0,g.MZ)({type:["solid"],readOnly:!0,json:{write:{isRequired:!0}}})],Le.prototype,"type",void 0),Le=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeSolid")],Le);const Pe=Le;var Re=r(51734);let Ee=class extends _e{constructor(){super(...arguments),this.type="wire-frame",this.edges=null}};(0,i.Cg)([(0,X.e)({wireFrame:"wire-frame"})],Ee.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)(Re.J)],Ee.prototype,"edges",void 0),Ee=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeWireFrame")],Ee);const Ne=Ee;let ke=class extends _e{constructor(){super(...arguments),this.type="x-ray"}};(0,i.Cg)([(0,g.MZ)({type:["x-ray"],readOnly:!0,json:{write:{isRequired:!0}}})],ke.prototype,"type",void 0),ke=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterModeXRay")],ke);const qe=ke;var Be;let $e=Be=class extends ge.o{constructor(){super(...arguments),this.filterExpression=null,this.filterMode=new Pe,this.title=""}clone(){return new Be({filterExpression:this.filterExpression,filterMode:(0,a.o8)(this.filterMode),title:this.title})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"filterExpression",void 0),(0,i.Cg)([(0,g.MZ)({nonNullable:!0,types:{key:"type",base:_e,typeMap:{solid:Pe,"wire-frame":Ne,"x-ray":qe}},json:{read:e=>{switch(e?.type){case"solid":return Pe.fromJSON(e);case"wireFrame":return Ne.fromJSON(e);case"x-ray":return qe.fromJSON(e);default:return}},write:{enabled:!0,isRequired:!0}}})],$e.prototype,"filterMode",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"title",void 0),$e=Be=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilterBlock")],$e);const Ke=$e;var Ue;const Ge=s.A.ofType(Ke);let Qe=Ue=class extends ge.o{constructor(e){super(e),this.description=null,this.filterBlocks=null,this.id=(0,fe.lk)(),this.name=null}clone(){return new Ue({description:this.description,filterBlocks:(0,a.o8)(this.filterBlocks),id:this.id,name:this.name,filterAuthoringInfo:(0,a.o8)(this.filterAuthoringInfo)})}};(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Qe.prototype,"description",void 0),(0,i.Cg)([(0,g.MZ)({type:Ge,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"filterBlocks",void 0),(0,i.Cg)([(0,g.MZ)({types:{key:"type",base:ve,typeMap:{checkbox:Ae}},json:{read:e=>"checkbox"===e?.type?Ae.fromJSON(e):null,write:!0}})],Qe.prototype,"filterAuthoringInfo",void 0),(0,i.Cg)([(0,g.MZ)({type:String,constructOnly:!0,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"id",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],Qe.prototype,"name",void 0),Qe=Ue=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFilter")],Qe);let ze=class extends ge.o{constructor(){super(...arguments),this.fieldName=null,this.modelName=null,this.label=null,this.min=null,this.max=null,this.mostFrequentValues=null,this.subLayerIds=null}};(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"fieldName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"modelName",void 0),(0,i.Cg)([(0,g.MZ)({type:String})],ze.prototype,"label",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],ze.prototype,"min",void 0),(0,i.Cg)([(0,g.MZ)({type:Number})],ze.prototype,"max",void 0),(0,i.Cg)([(0,g.MZ)({json:{read:e=>Array.isArray(e)&&(e.every(e=>"string"==typeof e)||e.every(e=>"number"==typeof e))?e.slice():null}})],ze.prototype,"mostFrequentValues",void 0),(0,i.Cg)([(0,g.MZ)({type:[Number]})],ze.prototype,"subLayerIds",void 0),ze=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingFieldStatistics")],ze);const De=ze;let Je=class extends((0,M.WV)((0,Z.g)(ge.o))){constructor(e){super(e),this.url=null,this.customParameters=null}get fields(){return this.loaded||"loading"===this.loadStatus?this._get("fields"):(u.A.getLogger(this).error("building summary statistics are not loaded"),null)}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._fetchService(t)),Promise.resolve(this)}async _fetchService(e){const t=(await(0,w.A)(this.url,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service"})}};(0,i.Cg)([(0,g.MZ)({constructOnly:!0,type:String})],Je.prototype,"url",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],Je.prototype,"customParameters",void 0),(0,i.Cg)([(0,g.MZ)({constructOnly:!0})],Je.prototype,"apiKey",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:[De],json:{read:{source:"summary"}}})],Je.prototype,"fields",null),Je=(0,i.Cg)([(0,g.$K)("esri.layers.support.BuildingSummaryStatistics")],Je);var Ve=r(24212);const We=s.A.ofType(Qe),He=(0,a.o8)(ne.sublayersProperty),Ye=He.json?.origins;Ye&&(Ye["web-scene"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}},Ye["portal-item"]={type:[te],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}});let Xe=class extends((0,ce.w6)((0,ae.b)((0,ue.q)((0,de.A)((0,ye.j)((0,d.M)((0,pe.d)((0,le.p)(m.A))))))))){constructor(e){super(e),this.operationalLayerType="BuildingSceneLayer",this.allSublayers=new o.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>"building-group"===e.type?e.sublayers:null}),this.sublayers=null,this._allSublayerOverrides=null,this.filters=new We,this.activeFilterId=null,this.summaryStatistics=null,this.outFields=null,this.legendEnabled=!0,this.type="building-scene"}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e??{}}destroy(){this.allSublayers.destroy()}readSublayers(e,t,r){const i=ne.readSublayers(e,t,r);return ie(i,e=>e.layer=this),this._allSublayerOverrides&&(function(e,t){t.forEach(t=>et(e,t))}(i,this._allSublayerOverrides),this._allSublayerOverrides=null),i}write(e,t){return e=super.write(e,t),!t||"web-scene"!==t.origin&&"portal-item"!==t.origin||(this.sublayers?function(e,t,r){const i=[];ie(e,e=>{const t=e.write({},r);Object.keys(t).length>1&&i.push(t)}),i.length>0&&(t.sublayers=i)}(this.sublayers,e,t):this._allSublayerOverrides&&function(e,t,r){const i=r?.origin&&e.get(r.origin);i&&(t.sublayers=[],i.overrides.forEach(e=>{t.sublayers.push((0,a.o8)(e))}))}(this._allSublayerOverrides,e,t)),e}read(e,t){if(super.read(e,t),("web-scene"===t?.origin||"portal-item"===t?.origin)&&Array.isArray(e?.sublayers)){const r=function(e,t){const r=new Map;for(const i of e)null!=i&&"object"==typeof i&&"number"==typeof i.id?r.set(i.id,i):t.messages?.push(new n.A("building-scene-layer:invalid-sublayer-override","Invalid value for sublayer override. Not an object or no id specified.",{value:i}));return{overrides:r,context:t}}(e.sublayers,t);this.sublayers?et(this.sublayers,r):(this._allSublayerOverrides??=new Map,this._allSublayerOverrides.set(t.origin,r))}}readSummaryStatistics(e,t){if("string"==typeof t.statisticsHRef&&this.parsedUrl){const e=(0,h.fj)(this.parsedUrl.path,t.statisticsHRef);return new Je({url:e,apiKey:this.apiKey,customParameters:this.customParameters})}return null}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(y.QP).then(()=>this._fetchService(t)).then(()=>this._fetchAssociatedFeatureService(t));return this.addResolvingPromise(r),Promise.resolve(this)}loadAll(){return(0,p.g)(this,e=>{ie(this.sublayers,t=>{"building-group"!==t.type&&e(t)}),this.summaryStatistics&&e(this.summaryStatistics)})}async saveAs(e,t){return this._debouncedSaveOperations(1,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"};return this._debouncedSaveOperations(0,e)}validateLayer(e){if(!e.layerType||"Building"!==e.layerType)throw new n.A("buildingscenelayer:layer-type-not-supported","BuildingSceneLayer does not support this layer type",{layerType:e.layerType})}_getTypeKeywords(){return["Building"]}async _fetchAssociatedFeatureService(e){try{const{portalItem:t}=await(0,he.L)(`${this.url}/layers/${this.layerId}`,{sceneLayerItem:this.portalItem,customParameters:this.customParameters,apiKey:this.apiKey,signal:e});this.associatedFeatureServiceItem=t}catch(e){(0,y.QZ)(this._logWarningOnPopupEnabled())}}async _logWarningOnPopupEnabled(){const e=new AbortController;this.addHandles((0,l.rE)(e)),await(0,c.C_)(()=>this.allSublayers.filter(e=>"building-component"===e.type).some(e=>e.popupEnabled&&null!=e.popupTemplate),e.signal);const t=this.allSublayers.filter(e=>"building-component"===e.type).filter(e=>e.popupEnabled&&null!=e.popupTemplate),r=[],i=[];for(const e of t){const t=e.title??`untitled ${e.id}`;e.attributeStorageInfo?r.push(t):i.push(t)}const s="\n ",o=r.length>0?`\nThe following sublayers will fall back to binary attributes for Popups:${s}${r.join(s)}`:"",n=i.length>0?`\nThe following sublayers have no binary attributes and will not work with Popups:${s}${i.join(s)}`:"";u.A.getLogger(this).warn(`Associated FeatureLayer could not be loaded for this BuildingSceneLayer: ${this.title}.`,o,n)}_validateElevationInfo(e){const t="Building scene layers";(0,Ve.XF)(u.A.getLogger(this),(0,Ve.B)(t,"absolute-height",e)),(0,Ve.XF)(u.A.getLogger(this),(0,Ve.tW)(t,e))}};function et(e,t){const{overrides:r,context:i}=t;ie(e,e=>e.read(r.get(e.id),i))}(0,i.Cg)([(0,g.MZ)({type:["BuildingSceneLayer"]})],Xe.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0})],Xe.prototype,"allSublayers",void 0),(0,i.Cg)([(0,g.MZ)(He)],Xe.prototype,"sublayers",void 0),(0,i.Cg)([(0,N.w)("service","sublayers")],Xe.prototype,"readSublayers",null),(0,i.Cg)([(0,g.MZ)({type:We,nonNullable:!0,json:{write:!0}})],Xe.prototype,"filters",void 0),(0,i.Cg)([(0,g.MZ)({type:String,json:{write:!0}})],Xe.prototype,"activeFilterId",void 0),(0,i.Cg)([(0,g.MZ)({readOnly:!0,type:Je})],Xe.prototype,"summaryStatistics",void 0),(0,i.Cg)([(0,N.w)("summaryStatistics",["statisticsHRef"])],Xe.prototype,"readSummaryStatistics",null),(0,i.Cg)([(0,g.MZ)({type:[String],json:{read:!1}})],Xe.prototype,"outFields",void 0),(0,i.Cg)([(0,g.MZ)(E.Fm)],Xe.prototype,"fullExtent",void 0),(0,i.Cg)([(0,g.MZ)(E.fV)],Xe.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,g.MZ)({type:["show","hide","hide-children"]})],Xe.prototype,"listMode",void 0),(0,i.Cg)([(0,g.MZ)((0,E.Qo)(f.A))],Xe.prototype,"spatialReference",void 0),(0,i.Cg)([(0,g.MZ)(E.Yj)],Xe.prototype,"elevationInfo",null),(0,i.Cg)([(0,g.MZ)({json:{read:!1},readOnly:!0})],Xe.prototype,"type",void 0),(0,i.Cg)([(0,g.MZ)()],Xe.prototype,"associatedFeatureServiceItem",void 0),Xe=(0,i.Cg)([(0,g.$K)("esri.layers.BuildingSceneLayer")],Xe);const tt=Xe},91880(e,t,r){r.d(t,{A:()=>p});var i,s=r(31635),o=r(66552),n=r(25482),l=r(91429);const a=new o.J({asc:"ascending",desc:"descending"});let p=class extends n.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],p.prototype,"field",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],p.prototype,"valueExpression",void 0),(0,s.Cg)([(0,l.MZ)({type:a.apiValues,json:{type:a.jsonValues,read:a.read,write:a.write}})],p.prototype,"order",void 0),p=i=(0,s.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],p)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6061,8377],{4144(e,n,t){t.d(n,{Hh:()=>u,fz:()=>a,g7:()=>l,s1:()=>s,zo:()=>c});var o=t(76061),i=t(83290);let r;function s(){return!!r&&(0,i.i)()}async function u(){if(!s()){const[e,n]=await Promise.all([Promise.all([t.e(3661),t.e(1878),t.e(5756),t.e(9192)]).then(t.bind(t,9192)),Promise.all([t.e(3661),t.e(1878),t.e(5756)]).then(t.bind(t,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,i.l)()]);r=new e.OperatorProject,n(i.p)}}function l(e,n){return r.execute(e,n,null)}function c(e,n){const t=r.executeMany(new o.S(e),n,null);return Array.from(t)}function a(){return r.supportsCurves()}},8377(e,n,t){t.r(n),t.d(n,{execute:()=>p,executeMany:()=>h,isLoaded:()=>m,load:()=>d});var o=t(4144),i=t(17499),r=t(60408);let s,u,l,c,a,f;function m(){return!!s&&(0,o.s1)()}async function d(){if(!m()){const[e,n]=await Promise.all([Promise.all([t.e(3661),t.e(1878),t.e(5756),t.e(3299),t.e(189)]).then(t.bind(t,83299)),Promise.all([t.e(3661),t.e(1878),t.e(5756),t.e(6129)]).then(t.bind(t,86129)),(0,o.Hh)()]);s=e.fromGeometries,u=e.fromGeometry,l=e.fromSpatialReference,c=e.toGeometry,a=e.getSpatialReference,f=n.createProjectionTransformation}}function p(e,n,t){const s=u(e),a=l(n),m=f(s.getSpatialReference(),a,t),d=c((0,o.g7)(s.getGeometry(),m),a);return!t?.zConversionDisabled&&d&&!(0,r.uW)(d)&&e.spatialReference&&(0,i.gw)([d],e.spatialReference,n),d}function h(e,n,t){const[r,u]=s(e),m=l(n),d=f(u,m,t),p=(0,o.zo)(r,d).map(e=>c(e,m));if(!t?.zConversionDisabled&&p){const t=a(e);t&&(0,i.gw)(p,t,n)}return p}},17499(e,n,t){t.d(n,{gw:()=>s});var o=t(49186),i=t(60408),r=t(62815);function s(e,n,t){let o;for(const s of e)if(s&&(0,i.Pv)(s)&&!("vertexAttributes"in s)){if(!o){null==n.vcsWkid&&null==t.vcsWkid||l(n,t);const e="type"in s?s.type:(0,i.$B)(s);if(o=(0,r.N)(e,n,t),!o)return}o(s)}}class u extends o.A{constructor(){super("projection:z-unsupported","projection of z values is unsupported between different vertical coordinate systems")}}function l({vcsWkid:e},{vcsWkid:n}){if((e??null)!==(n??null))throw new u}},60408(e,n,t){function o(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function s(e){return void 0!==e.paths||void 0!==e.curvePaths}function u(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function c(e){return e?r(e)?"esriGeometryPoint":s(e)?"esriGeometryPolyline":u(e)?"esriGeometryPolygon":o(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function a(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function f(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}t.d(n,{$B:()=>c,Bi:()=>u,Pv:()=>a,Rg:()=>s,U9:()=>i,W0:()=>f,ZC:()=>o,fT:()=>r,uW:()=>l})},62815(e,n,t){t.d(n,{N:()=>s});var o=t(86211),i=t(73941),r=t(21325);function s(e,n,t){if(null==n||null==t||t.vcsWkid||(0,r.aI)(n,t)||(0,i.xP)(n)||(0,i.xP)(t))return;const s=(0,o.G9)(n)/(0,o.G9)(t);if(1!==s)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,n){null!=e?.z&&(e.z*=n)}(e,s);case"polyline":case"esriGeometryPolyline":return e=>function(e,n){if(e)for(const t of e.paths)for(const e of t)e.length>2&&(e[2]*=n)}(e,s);case"polygon":case"esriGeometryPolygon":return e=>function(e,n){if(e)for(const t of e.rings)for(const e of t)e.length>2&&(e[2]*=n)}(e,s);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,n){if(e)for(const t of e.points)t.length>2&&(t[2]*=n)}(e,s);case"extent":case"esriGeometryEnvelope":return e=>function(e,n){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=n,e.zmax*=n)}(e,s);default:return}}},76061(e,n,t){t.d(n,{G:()=>o,S:()=>i});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class i extends o{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}}}}]);
|