@arcgis/core 4.23.0-next.20220123 → 4.23.0-next.20220128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Graphic.js +1 -1
- package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/02fbc76dfdc20e628c61.js +1 -0
- package/assets/esri/core/workers/chunks/0453fad5cb819797b4f6.js +1 -0
- package/assets/esri/core/workers/chunks/0463ba46df855a92b9c0.js +1 -0
- package/assets/esri/core/workers/chunks/0cd0a6eef51fc5b9ea61.js +1 -0
- package/assets/esri/core/workers/chunks/{d1454155ee1b8a421cbb.js → 0d02c6ad1f4688bfa374.js} +1 -1
- package/assets/esri/core/workers/chunks/0d684f16f37d5dc385dd.js +1 -0
- package/assets/esri/core/workers/chunks/0e17691520d890d34efb.js +1 -0
- package/assets/esri/core/workers/chunks/16b6d0f8378582c051c3.js +1 -0
- package/assets/esri/core/workers/chunks/{0ce1dc14280d6f188468.js → 17de7a324dfa7f57ad5d.js} +1 -1
- package/assets/esri/core/workers/chunks/{b313ab14a643273e7d09.js → 1877ab1b6a115dbba1c5.js} +1 -1
- package/assets/esri/core/workers/chunks/{c36f84daa7736878418d.js → 197ec52641aed20029c6.js} +1 -1
- package/assets/esri/core/workers/chunks/1b2a961f776a0b57e57a.js +1 -0
- package/assets/esri/core/workers/chunks/1b3fd66577b19aa5f2b6.js +1 -0
- package/assets/esri/core/workers/chunks/1c733b7db092a2a88ef3.js +1 -0
- package/assets/esri/core/workers/chunks/1f8c6a179e39fd4c5e6f.js +1 -0
- package/assets/esri/core/workers/chunks/2076fcbae63f1bfb7143.js +1 -0
- package/assets/esri/core/workers/chunks/{9387db408f496e7dd003.js → 214910032945dd2d86b0.js} +1 -1
- package/assets/esri/core/workers/chunks/{b2ae5fc4f787ea568b88.js → 2460f3b6ada6ae900dec.js} +1 -1
- package/assets/esri/core/workers/chunks/27474b007988855bea9d.js +1 -0
- package/assets/esri/core/workers/chunks/281b89dbf5574fc642ae.js +1 -0
- package/assets/esri/core/workers/chunks/{4d539878bfbd7c549e60.js → 2c8fe9bc988c3c5760a5.js} +1 -1
- package/assets/esri/core/workers/chunks/2e899ef5881b4ec6fa55.js +1 -0
- package/assets/esri/core/workers/chunks/34b59d7099904dcb28b5.js +1 -0
- package/assets/esri/core/workers/chunks/357033117dfe61eb81ea.js +1 -0
- package/assets/esri/core/workers/chunks/37c03cfc19086ce631c6.js +1 -0
- package/assets/esri/core/workers/chunks/391e96192d1ec4e55ce2.js +1 -0
- package/assets/esri/core/workers/chunks/3c673495e5f507c4a9e5.js +1 -0
- package/assets/esri/core/workers/chunks/422537fc3df707bb62c9.js +1 -0
- package/assets/esri/core/workers/chunks/44f0c3663b293afbd172.js +1 -0
- package/assets/esri/core/workers/chunks/483d5d8593d96d0f0b15.js +1 -0
- package/assets/esri/core/workers/chunks/{c959e0d1cf7dce0421b9.js → 48fa8aed6c24877b44c4.js} +1 -1
- package/assets/esri/core/workers/chunks/{44b01d42d4ec72913229.js → 4954fd86b48cc68b737c.js} +1 -1
- package/assets/esri/core/workers/chunks/49a1a633bb0d93764aae.js +1 -0
- package/assets/esri/core/workers/chunks/4ba6de8aa7e2960bad49.js +1 -0
- package/assets/esri/core/workers/chunks/4be35af7d6babbfe9d84.js +1 -0
- package/assets/esri/core/workers/chunks/5457962a70bd3c557a75.js +1 -0
- package/assets/esri/core/workers/chunks/57856b4a9b8784a69844.js +1 -0
- package/assets/esri/core/workers/chunks/{b9c177524b3e7de1ffd1.js → 5790d171072b3c7d108f.js} +1 -1
- package/assets/esri/core/workers/chunks/57b349d1dbc0bed75b79.js +1 -0
- package/assets/esri/core/workers/chunks/5bcb3240b3c005e5fe72.js +1 -0
- package/assets/esri/core/workers/chunks/5d11b97b667921d67ae7.js +1 -0
- package/assets/esri/core/workers/chunks/5dbe555a5a662ff3d9ce.js +1 -0
- package/assets/esri/core/workers/chunks/5ec98f4ddac707d0fbd1.js +1 -0
- package/assets/esri/core/workers/chunks/64b7e8d812ea8fcf269e.js +1 -0
- package/assets/esri/core/workers/chunks/{4c9084a04948b6924749.js → 655b55ac0cd533d7e9d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{b0b036ad3ad3cd956747.js → 69fd99b7c76e9992ccf3.js} +1 -1
- package/assets/esri/core/workers/chunks/{9cdaba126ac7fa5f33f0.js → 6cd5e4380d29b9a3c344.js} +1 -1
- package/assets/esri/core/workers/chunks/75d812955a473d0e8960.js +1 -0
- package/assets/esri/core/workers/chunks/7903a3e2e0faff0f86c0.js +1 -0
- package/assets/esri/core/workers/chunks/{cc146c57bbdac8029fd8.js → 7a5f5acfbd4ca1a5c1f3.js} +1 -1
- package/assets/esri/core/workers/chunks/{64276aacaafa4c8a15bd.js → 7dcf52d3db3903c8eb9f.js} +1 -1
- package/assets/esri/core/workers/chunks/83d00afae4406ec78bc9.js +1 -0
- package/assets/esri/core/workers/chunks/{625d2663daa8e0cf64b0.js → 85b1f36790df95b17659.js} +1 -1
- package/assets/esri/core/workers/chunks/89820b200ee44e678af5.js +1 -0
- package/assets/esri/core/workers/chunks/918bb7a7d901544a7367.js +1 -0
- package/assets/esri/core/workers/chunks/{94b8dbf859df71858d1c.js → 929c9b7cdab7c4ca3d87.js} +1 -1
- package/assets/esri/core/workers/chunks/94515fb3ef38067eeadd.js +1 -0
- package/assets/esri/core/workers/chunks/949b2269457302ffc64b.js +1 -0
- package/assets/esri/core/workers/chunks/952980635afc7ec81804.js +1 -0
- package/assets/esri/core/workers/chunks/9876a1bae350795fab36.js +1 -0
- package/assets/esri/core/workers/chunks/99619fcb772807c74f3b.js +1 -0
- package/assets/esri/core/workers/chunks/{010a71c2aa1b7681e191.js → 9d11f84e6c893b9d0019.js} +1 -1
- package/assets/esri/core/workers/chunks/a1930e4f035bc9aa1ae5.js +1 -0
- package/assets/esri/core/workers/chunks/a8692bffb76444c34760.js +1 -0
- package/assets/esri/core/workers/chunks/aa04b90b82bf70caaae4.js +1 -0
- package/assets/esri/core/workers/chunks/aeaa1667c2d9f1b3366b.js +1 -0
- package/assets/esri/core/workers/chunks/b2d2de935487257c568b.js +1 -0
- package/assets/esri/core/workers/chunks/b3f5e91116112b0b612a.js +1 -0
- package/assets/esri/core/workers/chunks/b97953694f42bfec1b3c.js +1 -0
- package/assets/esri/core/workers/chunks/b9e9cb354822c6d995a4.js +1 -0
- package/assets/esri/core/workers/chunks/ba762bcfd74af0bb8218.js +1 -0
- package/assets/esri/core/workers/chunks/bac9fc90e6756e211160.js +1 -0
- package/assets/esri/core/workers/chunks/be588873c16770ceb9ef.js +1 -0
- package/assets/esri/core/workers/chunks/bf97a933ea3b220115e1.js +1 -0
- package/assets/esri/core/workers/chunks/bfedd6ebff817c9b31c0.js +1 -0
- package/assets/esri/core/workers/chunks/c093dff4592832ac0973.js +1 -0
- package/assets/esri/core/workers/chunks/c1135cb02ec46c491459.js +1 -0
- package/assets/esri/core/workers/chunks/c2253a9f29c1aabb2b75.js +1 -0
- package/assets/esri/core/workers/chunks/{d39b7983b68d6e5b404d.js → cdbc005eebec1503b99d.js} +1 -1
- package/assets/esri/core/workers/chunks/d04fca5d46cca02500b7.js +1 -0
- package/assets/esri/core/workers/chunks/d08efbc349dd9f999497.js +1 -0
- package/assets/esri/core/workers/chunks/d1fe53b597351dc58305.js +1 -0
- package/assets/esri/core/workers/chunks/{a8b13fb804bb775e4967.js → db3c729ce0c0b2690dc9.js} +1 -1
- package/assets/esri/core/workers/chunks/dd13772a5e2eccc6a2bc.js +1 -0
- package/assets/esri/core/workers/chunks/dedc333a61081772ca7b.js +1 -0
- package/assets/esri/core/workers/chunks/{a7b1b75643ed31489495.js → e0c8d61c7a85ce15499a.js} +1 -1
- package/assets/esri/core/workers/chunks/{199670a3a564ebe3bd79.js → e218bde41ffbcc5194f5.js} +1 -1
- package/assets/esri/core/workers/chunks/e21b211913aefde47e30.js +1 -0
- package/assets/esri/core/workers/chunks/e287f49184d076af17e2.js +1 -0
- package/assets/esri/core/workers/chunks/{bde1d5b0a7717350986e.js → e4019b63a1fe74e2c842.js} +1 -1
- package/assets/esri/core/workers/chunks/e8e775758b79c5a084c8.js +1 -0
- package/assets/esri/core/workers/chunks/e93dfdede0532a89ffa5.js +1 -0
- package/assets/esri/core/workers/chunks/e9e5196b44b6923be1a3.js +1 -0
- package/assets/esri/core/workers/chunks/ea595b0df5050eda2a13.js +1 -0
- package/assets/esri/core/workers/chunks/eb82ff10cef2bde6e57f.js +1 -0
- package/assets/esri/core/workers/chunks/ebc6f4764b82d4104c65.js +1 -0
- package/assets/esri/core/workers/chunks/{1305ef8717da6e902a55.js → ec10151a2a95e95a0bb5.js} +1 -1
- package/assets/esri/core/workers/chunks/eccba071ced2d922bb85.js +1 -0
- package/assets/esri/core/workers/chunks/ee6e0db58dc64410e687.js +1 -0
- package/assets/esri/core/workers/chunks/f0a9f161805fc7a30fc5.js +1 -0
- package/assets/esri/core/workers/chunks/f2124f4d0f2b8a91f0ea.js +1 -0
- package/assets/esri/core/workers/chunks/ff6abdc72076f3994659.js +981 -0
- package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
- package/assets/esri/themes/base/_mixins.scss +4 -1
- package/assets/esri/themes/base/icons/style.scss +11 -2
- package/assets/esri/themes/base/widgets/_BasemapLayerList.scss +13 -10
- package/assets/esri/themes/base/widgets/_CoordinateConversion.scss +4 -2
- package/assets/esri/themes/base/widgets/_Directions.scss +5 -3
- package/assets/esri/themes/base/widgets/_Editor.scss +5 -2
- package/assets/esri/themes/base/widgets/_ElevationProfile.scss +6 -4
- package/assets/esri/themes/base/widgets/_FeatureTable.scss +6 -0
- package/assets/esri/themes/base/widgets/_ItemList.scss +1 -1
- package/assets/esri/themes/base/widgets/_LayerList.scss +13 -9
- package/assets/esri/themes/base/widgets/_Popup.scss +4 -2
- package/assets/esri/themes/base/widgets/_Print.scss +24 -11
- package/assets/esri/themes/base/widgets/_Search.scss +4 -2
- package/assets/esri/themes/base/widgets/_TableList.scss +9 -7
- package/assets/esri/themes/base/widgets/_Weather.scss +12 -0
- package/assets/esri/themes/base/widgets/_Widget.scss +18 -9
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/dark-blue/main.css +1 -1
- package/assets/esri/themes/dark-green/main.css +1 -1
- package/assets/esri/themes/dark-purple/main.css +1 -1
- package/assets/esri/themes/dark-red/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/assets/esri/themes/light-blue/main.css +1 -1
- package/assets/esri/themes/light-green/main.css +1 -1
- package/assets/esri/themes/light-purple/main.css +1 -1
- package/assets/esri/themes/light-red/main.css +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ar.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_bg.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_bs.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ca.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_cs.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_da.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_de.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_el.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_en.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_es.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_et.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_fi.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_fr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_he.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_hr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_hu.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_id.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_it.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ja.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ko.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_lt.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_lv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_nb.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_nl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pt-BR.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_pt-PT.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ro.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_ru.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sk.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sl.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_sv.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_th.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_tr.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_uk.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_vi.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-CN.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-HK.json +1 -1
- package/assets/esri/widgets/Weather/t9n/Weather_zh-TW.json +1 -1
- package/chunks/BlendLayers.glsl.js +2 -2
- package/chunks/ChapmanAtmosphere.glsl.js +17 -17
- package/chunks/CheckerBoard.glsl.js +3 -3
- package/chunks/Clouds.glsl.js +2 -2
- package/chunks/CloudsComposition.glsl.js +1 -1
- package/chunks/ColorMaterial.glsl.js +12 -12
- package/chunks/ComponentShader.glsl.js +21 -21
- package/chunks/Compositing.glsl.js +1 -1
- package/chunks/DefaultMaterial.glsl.js +33 -33
- package/chunks/EdgeShaderProgram.glsl.js +7 -7
- package/chunks/Fog.glsl.js +10 -12
- package/chunks/HUDMaterial.glsl.js +2 -2
- package/chunks/HighlightComposition.glsl.js +5 -5
- package/chunks/ImageMaterial.glsl.js +6 -6
- package/chunks/LaserlinePath.glsl.js +8 -8
- package/chunks/LineCallout.glsl.js +6 -6
- package/chunks/MeasurementArrow.glsl.js +1 -1
- package/chunks/NativeLine.glsl.js +1 -1
- package/chunks/Path.glsl.js +5 -5
- package/chunks/Pattern.glsl.js +9 -9
- package/chunks/PointRenderer.glsl.js +14 -14
- package/chunks/Precipitation.glsl.js +91 -0
- package/chunks/RealisticTree.glsl.js +21 -21
- package/chunks/RibbonLine.glsl.js +11 -11
- package/chunks/SMAA.glsl.js +40 -40
- package/chunks/ShadedColorMaterial.glsl.js +12 -12
- package/chunks/ShadowCast.glsl.js +6 -6
- package/chunks/ShadowHighlight.glsl.js +4 -4
- package/chunks/SimpleAtmosphere.glsl.js +3 -3
- package/chunks/SlicePlaneMaterial.glsl.js +3 -3
- package/chunks/Stars.glsl.js +3 -3
- package/chunks/Terrain.glsl.js +3 -3
- package/chunks/TextureOnly.glsl.js +2 -2
- package/chunks/WaterSurface.glsl.js +22 -22
- package/chunks/boundedPlane.js +1 -1
- package/chunks/pe.js +1 -1
- package/chunks/vec3.js +1 -1
- package/chunks/vxlLayer.js +1 -1
- package/core/accessorSupport/ensureType.js +1 -1
- package/core/accessorSupport/get.js +1 -1
- package/core/accessorSupport/read.js +1 -1
- package/core/accessorSupport/set.js +1 -1
- package/core/accessorSupport/watch.js +1 -1
- package/core/accessorSupport/write.js +1 -1
- package/core/clock.js +1 -1
- package/core/jsonMap.js +1 -1
- package/core/libs/gl-matrix-2/math/vec3.js +1 -1
- package/core/loadAll.js +1 -1
- package/core/promiseUtils.js +1 -1
- package/core/reactiveUtils.js +1 -1
- package/form/ExpressionInfo.js +1 -1
- package/geometry/pe.js +1 -1
- package/geometry/support/axisAngleDegrees.js +1 -1
- package/geometry/support/frustum.js +1 -1
- package/geometry/support/plane.js +1 -1
- package/interfaces.d.ts +263 -35
- package/layers/VectorTileLayer.js +1 -1
- package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
- package/layers/graphics/featureConversionUtils.js +1 -1
- package/layers/support/LayerContingentValuesCache.js +1 -1
- package/layers/support/TileInfo.js +1 -1
- package/layers/support/rasterDatasets/BaseRaster.js +1 -1
- package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
- package/package.json +2 -2
- package/popup/content/AttachmentsContent.js +1 -1
- package/popup/content/support/mediaInfoTypes.js +1 -1
- package/rest/print.js +1 -1
- package/smartMapping/statistics/support/predominanceUtils.d.ts +4 -0
- package/support/arcadeOnDemand.js +1 -1
- package/support/featureFlags.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/FillSymbol3DLayer.js +1 -1
- package/symbols/IconSymbol3DLayer.js +1 -1
- package/symbols/LabelSymbol3D.js +1 -1
- package/symbols/ObjectSymbol3DLayer.js +1 -1
- package/symbols/PointSymbol3D.js +1 -1
- package/symbols/Symbol3D.js +1 -1
- package/symbols/WebStyleSymbol.js +1 -1
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/CIMSymbolRasterizer.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/support/IconSymbol3DLayerResource.js +1 -1
- package/symbols/support/ObjectSymbol3DLayerResource.js +1 -1
- package/symbols/support/Symbol3DAnchorPosition2D.js +1 -1
- package/symbols/support/Symbol3DAnchorPosition3D.js +1 -1
- package/symbols/support/Symbol3DFillMaterial.js +1 -1
- package/symbols/support/Symbol3DIconOutline.js +1 -1
- package/symbols/support/Symbol3DOutline.js +1 -1
- package/symbols/support/Symbol3DVerticalOffset.js +1 -1
- package/symbols/support/Thumbnail.js +1 -1
- package/symbols/support/previewCIMSymbol.js +1 -1
- package/symbols/support/previewSymbol2D.js +1 -1
- package/symbols/support/previewSymbol3D.js +1 -1
- package/symbols/support/previewWebStyleSymbol.js +1 -1
- package/symbols/support/svgUtils.js +1 -1
- package/symbols/support/webStyleSymbolUtils.js +1 -1
- package/symbols.js +1 -1
- package/views/2d/MapViewConstraints.js +1 -1
- package/views/2d/engine/vectorTiles/SchemaHelper.js +1 -1
- package/views/2d/engine/webgl/brushes/raster/BrushRasterBitmap.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/imagery/BaseImageryTileSubView2D.js +1 -1
- package/views/2d/viewpointUtils.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.glsl.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/CloudsComposition.glsl.js +1 -1
- package/views/3d/environment/CloudsComposition.js +1 -1
- package/views/3d/environment/CloudsGenerator.js +1 -1
- package/views/3d/environment/CloudsPresets.js +1 -1
- package/views/3d/environment/EnvironmentRenderer.js +1 -1
- package/views/3d/environment/Fog.glsl.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/environment/PanoramicAtmosphere.js +1 -1
- package/views/3d/environment/Precipitation.glsl.js +5 -0
- package/views/3d/environment/Precipitation.js +5 -0
- package/views/3d/environment/PrecipitationTechnique.js +5 -0
- package/views/3d/environment/RainyWeather.js +1 -1
- package/views/3d/environment/SceneViewEnvironmentManager.js +1 -1
- package/views/3d/environment/SimpleAtmosphere.glsl.js +1 -1
- package/views/3d/environment/SimpleAtmosphere.js +1 -1
- package/views/3d/environment/SnowyWeather.js +5 -0
- package/views/3d/environment/Stars.glsl.js +1 -1
- package/views/3d/environment/Stars.js +1 -1
- package/views/3d/environment/weather.js +1 -1
- package/views/3d/interactive/analysisTools/slice/SliceTool.js +1 -1
- package/views/3d/interactive/analysisTools/slice/sliceToolUtils.js +1 -1
- package/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
- package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
- package/views/3d/layers/GraphicsLayerView3D.js +1 -1
- package/views/3d/layers/GraphicsView3D.js +1 -1
- package/views/3d/layers/I3SMeshView3D.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/VectorTileLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/ElevationAligners.js +1 -1
- package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
- package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
- package/views/3d/layers/graphics/graphicUtils.js +1 -1
- package/views/3d/layers/graphics/lineUtils.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/graphics/polygonUtils.js +1 -1
- package/views/3d/layers/graphics/symbolComplexity.js +1 -1
- package/views/3d/layers/i3s/I3SBinaryReader.js +1 -1
- package/views/3d/layers/i3s/PointRenderer.js +1 -1
- package/views/3d/layers/support/HeatmapFeatureProcessor.js +5 -0
- package/views/3d/layers/support/overlayImageUtils.js +1 -1
- package/views/3d/layers/support/patternUtils.js +1 -1
- package/views/3d/state/controllers/local/PinchAndPanController.js +1 -1
- package/views/3d/support/FrustumExtentIntersection.js +1 -1
- package/views/3d/support/LaserLineRenderer.js +1 -1
- package/views/3d/support/LaserlinePathData.js +1 -1
- package/views/3d/support/pointsOfInterest/Focus.js +1 -1
- package/views/3d/support/sunUtils.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/PatchGeometryFactory.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/Tile.js +1 -1
- package/views/3d/terrain/terrainUtils.js +1 -1
- package/views/3d/terrain/tileUtils.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentData.glsl.js +10 -10
- package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/AllRenderPasses.js +1 -1
- package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/ScreenSizeScaling.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PositionAttribute.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/SymbolColor.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +6 -6
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +12 -12
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexTextureCoordinates.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/VerticalOffset.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +16 -16
- package/views/3d/webgl-engine/core/shaderLibrary/default/RealisticTree.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +5 -5
- package/views/3d/webgl-engine/core/shaderLibrary/hud/HUDOcclusionPass.glsl.js +3 -3
- package/views/3d/webgl-engine/core/shaderLibrary/raster/BasicGrid.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeMaterialColor.glsl.js +6 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeShadingNormal.glsl.js +10 -11
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassGeometryTest.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/MultipassTerrainTest.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +6 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadShadowMap.glsl.js +6 -6
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Reprojection.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ScreenSpaceReflections.glsl.js +5 -5
- package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/Water.glsl.js +22 -14
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/terrain/Terrain.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +4 -4
- package/views/3d/webgl-engine/core/shaderLibrary/util/View.glsl.js +1 -1
- package/views/3d/webgl-engine/lib/Camera.js +1 -1
- package/views/3d/webgl-engine/lib/DefaultVertexAttributeLocations.js +1 -1
- package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
- package/views/3d/webgl-engine/lib/Geometry.js +1 -1
- package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
- package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
- package/views/3d/webgl-engine/lib/MagnifierHelper.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/RenderGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/RenderPluginManager.js +1 -1
- package/views/3d/webgl-engine/lib/Renderer.js +1 -1
- package/views/3d/webgl-engine/lib/SSAOHelper.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
- package/views/3d/webgl-engine/lib/SmaaRenderPass.js +1 -1
- package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
- package/views/3d/webgl-engine/lib/Texture.js +1 -1
- package/views/3d/{layers/graphics/IGraphics3DFeatureProcessor.js → webgl-engine/lib/TextureUniformName.js} +0 -0
- package/views/3d/webgl-engine/lib/UniformName.js +4 -0
- package/views/3d/webgl-engine/lib/VertexAttribute.js +5 -0
- package/views/3d/webgl-engine/lib/basicInterfaces.js +1 -1
- package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/lodRendering/RenderInstanceData.js +1 -1
- package/views/3d/webgl-engine/lib/pathGeometryUtils.js +1 -1
- package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/VisualVariableMaterialParameters.js +1 -1
- package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
- package/views/3d/webgl-engine/materials/internal/DefaultBufferWriter.js +1 -1
- package/views/3d/webgl-engine/materials/internal/MaterialUtil.js +1 -1
- package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
- package/views/3d/webgl-engine/materials/internal/waterMaterialUtils.js +1 -1
- package/views/3d/webgl-engine/parts/Model.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoard.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/HighlightComposition.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HighlightTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LaserlinePath.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/LaserlinePathTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCallout.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/Magnifier.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/MeasurementArrow.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/NativeLine.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTreeTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/SMAA.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowCastTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/ShadowHighlightTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/AdjustProjectedPosition.glsl.js +10 -10
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/DiscardShortEdges.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeShaderProgram.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeUtil.glsl.js +21 -21
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineAmplitude.glsl.js +6 -6
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineOffset.glsl.js +13 -13
- package/views/3d/webgl-engine/shaders/sources/edgeRenderer/UnpackAttributes.glsl.js +6 -6
- package/views/MapView.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/View.js +1 -1
- package/views/input/recognizers/DoubleTapDrag.js +1 -1
- package/views/input/recognizers/ImmediateDoubleClick.js +1 -1
- package/views/input/recognizers/PointerClickHoldAndDrag.js +1 -1
- package/views/input/recognizers/SingleAndDoubleClick.js +1 -1
- package/views/interactive/dragEventPipeline.js +1 -1
- package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
- package/views/support/DefaultsFromMap.js +1 -1
- package/views/support/WatchUpdatingTracking.js +1 -1
- package/views/support/projectionUtils.js +5 -0
- package/views/webgl/BufferObject.js +1 -1
- package/views/webgl/InstanceCounter.js +1 -1
- package/views/webgl/Program.js +1 -1
- package/views/webgl/rasterUtils.js +1 -1
- package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
- package/widgets/Attachments.js +1 -1
- package/widgets/BasemapGallery/BasemapGalleryViewModel.js +1 -1
- package/widgets/BasemapGallery/support/BasemapGalleryItem.js +1 -1
- package/widgets/BasemapGallery/support/basemapCompatibilityUtils.js +1 -1
- package/widgets/BasemapGallery.js +1 -1
- package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
- package/widgets/FeatureForm/InputField.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable.js +1 -1
- package/widgets/FeatureTemplates/FeatureTemplatesViewModel.js +1 -1
- package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
- package/widgets/Popup/PopupViewModel.js +1 -1
- package/widgets/Popup/actionUtils.js +1 -1
- package/widgets/Search/support/locatorUtils.js +1 -1
- package/widgets/Search.js +1 -1
- package/widgets/Slice/SliceViewModel.js +1 -1
- package/widgets/Slider/SliderViewModel.js +1 -1
- package/widgets/Slider.js +1 -1
- package/widgets/Weather/WeatherViewModel.js +1 -1
- package/widgets/Weather/css.js +1 -1
- package/widgets/Weather/enums.js +5 -0
- package/widgets/Weather.js +1 -1
- package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
- package/widgets/support/InteractiveToolViewModel.js +1 -1
- package/assets/components/assets/calcite-icon/checkSquareF16.json +0 -1
- package/assets/components/assets/calcite-icon/checkSquareF24.json +0 -1
- package/assets/components/assets/calcite-icon/checkSquareF32.json +0 -1
- package/assets/components/assets/calcite-icon/lineSolid4.json +0 -1
- package/assets/components/assets/calcite-icon/squareF16.json +0 -1
- package/assets/components/assets/calcite-icon/squareF24.json +0 -1
- package/assets/components/assets/calcite-icon/squareF32.json +0 -1
- package/assets/components/assets/calcite-icon/xHexagon16.json +0 -1
- package/assets/components/assets/calcite-icon/xHexagon24.json +0 -1
- package/assets/components/assets/calcite-icon/xHexagon32.json +0 -1
- package/assets/components/assets/calcite-icon/xHexagonF16.json +0 -1
- package/assets/components/assets/calcite-icon/xHexagonF24.json +0 -1
- package/assets/components/assets/calcite-icon/xHexagonF32.json +0 -1
- package/assets/components/assets/calcite-icon/xOctagonF16.json +0 -1
- package/assets/components/assets/calcite-icon/xOctagonF24.json +0 -1
- package/assets/components/assets/calcite-icon/xOctagonF32.json +0 -1
- package/assets/esri/core/workers/chunks/09da224052976e290828.js +0 -1
- package/assets/esri/core/workers/chunks/0bf079e752ab79468478.js +0 -1
- package/assets/esri/core/workers/chunks/0c3e3a5baf54bd5e210c.js +0 -1
- package/assets/esri/core/workers/chunks/14bef72154b3a19561a7.js +0 -1
- package/assets/esri/core/workers/chunks/18668dc45eb9e35530df.js +0 -1
- package/assets/esri/core/workers/chunks/1e4d37c2b9dc83d20a11.js +0 -1
- package/assets/esri/core/workers/chunks/20411bb8e04703962ce6.js +0 -1
- package/assets/esri/core/workers/chunks/208a7e24e19fc5633dd7.js +0 -1
- package/assets/esri/core/workers/chunks/22b09e276c9b9f22f0f8.js +0 -1
- package/assets/esri/core/workers/chunks/23745a5ab47c840dc452.js +0 -1
- package/assets/esri/core/workers/chunks/2416f8bf8bbd2ec786ab.js +0 -1
- package/assets/esri/core/workers/chunks/25a3e9bc0b4c7e0d3165.js +0 -1
- package/assets/esri/core/workers/chunks/2e445a8735ea2adb641a.js +0 -1
- package/assets/esri/core/workers/chunks/32f8c4af7e70ebdcb19e.js +0 -1
- package/assets/esri/core/workers/chunks/36a3f6fb4d1d18fcb642.js +0 -1
- package/assets/esri/core/workers/chunks/390d9021169e65c10eb8.js +0 -1
- package/assets/esri/core/workers/chunks/3a9740dccda6a733313c.js +0 -1
- package/assets/esri/core/workers/chunks/3aa4194dc5497c57647f.js +0 -1
- package/assets/esri/core/workers/chunks/40a1e713f63ec77110c0.js +0 -1
- package/assets/esri/core/workers/chunks/43cdff2418325e163420.js +0 -1
- package/assets/esri/core/workers/chunks/4bfbf5a34c9207fdcf44.js +0 -1
- package/assets/esri/core/workers/chunks/5383a8f3e4ec1a8a4fcd.js +0 -1
- package/assets/esri/core/workers/chunks/5538639a49c7cc2eca63.js +0 -1
- package/assets/esri/core/workers/chunks/5a4a5585ec8027079f32.js +0 -1
- package/assets/esri/core/workers/chunks/5d4863a92b03bebc1b54.js +0 -1
- package/assets/esri/core/workers/chunks/60371c0f750cde87656d.js +0 -1
- package/assets/esri/core/workers/chunks/634b5ccd7a3ac67f855d.js +0 -1
- package/assets/esri/core/workers/chunks/662d13f68cf3ec92439b.js +0 -1
- package/assets/esri/core/workers/chunks/663ad15b86936eb06b69.js +0 -1
- package/assets/esri/core/workers/chunks/67162b3e2cc1b5dc6818.js +0 -1
- package/assets/esri/core/workers/chunks/739e579150bf466d43ae.js +0 -1
- package/assets/esri/core/workers/chunks/74df1f3e1e2e524a89d2.js +0 -1
- package/assets/esri/core/workers/chunks/76eef4799f6c5fff7e2d.js +0 -1
- package/assets/esri/core/workers/chunks/7baf6b1f3f050aa67ae4.js +0 -1
- package/assets/esri/core/workers/chunks/7bc5cc5dbf1b7b70ddac.js +0 -1
- package/assets/esri/core/workers/chunks/85e27fd949475f9a6bbc.js +0 -1
- package/assets/esri/core/workers/chunks/8967288145f8fbd20e7d.js +0 -1
- package/assets/esri/core/workers/chunks/8b6ab6202a40fe622833.js +0 -1
- package/assets/esri/core/workers/chunks/96ab518eb6ba11333dee.js +0 -1
- package/assets/esri/core/workers/chunks/9796d54ff12b6429164a.js +0 -1
- package/assets/esri/core/workers/chunks/99a777693e4539f0b03b.js +0 -1
- package/assets/esri/core/workers/chunks/9cb2ae42a8e328b1d98d.js +0 -1
- package/assets/esri/core/workers/chunks/9d3c58a0ef634d95b7bd.js +0 -1
- package/assets/esri/core/workers/chunks/a6ff3db3493543df81bc.js +0 -1
- package/assets/esri/core/workers/chunks/a8c13529367c037cdd94.js +0 -1
- package/assets/esri/core/workers/chunks/a96afc176041f698c7a1.js +0 -1
- package/assets/esri/core/workers/chunks/aa861b8eae6c85f3dad4.js +0 -1
- package/assets/esri/core/workers/chunks/ac8dca61ade28c542ae2.js +0 -1
- package/assets/esri/core/workers/chunks/ad081d8e49e7f90c3c26.js +0 -1
- package/assets/esri/core/workers/chunks/afa6912454f2a5ffadce.js +0 -1
- package/assets/esri/core/workers/chunks/b2beb6e1fd2ee6503830.js +0 -1
- package/assets/esri/core/workers/chunks/ba615f118a3a8970ef25.js +0 -1
- package/assets/esri/core/workers/chunks/ba6654a885be4b7a43f0.js +0 -1
- package/assets/esri/core/workers/chunks/bab1cfd0a901181622af.js +0 -1
- package/assets/esri/core/workers/chunks/be2b7cce79fd41627931.js +0 -1
- package/assets/esri/core/workers/chunks/c080114a69fa95b88d22.js +0 -1
- package/assets/esri/core/workers/chunks/c11474b702dfb94e8e87.js +0 -1
- package/assets/esri/core/workers/chunks/c13dfdd548dcb1bdb294.js +0 -1
- package/assets/esri/core/workers/chunks/c6bd943fe8fd13bb4806.js +0 -1
- package/assets/esri/core/workers/chunks/c6f94b92e866b881d9b9.js +0 -1
- package/assets/esri/core/workers/chunks/ca2f5faa01d99c21ec14.js +0 -1
- package/assets/esri/core/workers/chunks/cd7d83d127e085d52584.js +0 -1
- package/assets/esri/core/workers/chunks/cef4af64860ebbfc1c47.js +0 -1
- package/assets/esri/core/workers/chunks/cfbffa429d88e7709c3f.js +0 -1
- package/assets/esri/core/workers/chunks/d24c4fbc567486b1188f.js +0 -1
- package/assets/esri/core/workers/chunks/d52108864136c5a8a618.js +0 -1
- package/assets/esri/core/workers/chunks/da1c2873bdbc0956dca0.js +0 -1
- package/assets/esri/core/workers/chunks/de03439ca2c9782bf325.js +0 -1
- package/assets/esri/core/workers/chunks/de6cff7b6cbbf99b20d1.js +0 -981
- package/assets/esri/core/workers/chunks/e079cb1d53aca15b7df2.js +0 -1
- package/assets/esri/core/workers/chunks/e59764ee8cf25d4f74e2.js +0 -1
- package/assets/esri/core/workers/chunks/e6df9839b551569fbc62.js +0 -1
- package/assets/esri/core/workers/chunks/e97e986120aaadad7d4c.js +0 -1
- package/assets/esri/core/workers/chunks/f467c8f1fce22f6f599c.js +0 -1
- package/assets/esri/core/workers/chunks/f678293de9a6d8f5b5db.js +0 -1
- package/assets/esri/core/workers/chunks/f8e7755240a94b499e1f.js +0 -1
- package/assets/esri/core/workers/chunks/fd3e5d823dc7917f4b8f.js +0 -1
- package/assets/esri/core/workers/chunks/ffaf091c6023225cf5aa.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7616,3172,6006],{1692:(e,t,r)=>{r.d(t,{Z:()=>w});var n=r(43697),s=r(66577),i=r(51773),o=r(78223),a=r(15923),l=(r(80442),r(22974)),u=r(92604),c=r(70586),h=r(31263),d=r(1153),p=r(52011);u.Z.getLogger("esri.core.Clonable");const f=e=>{let t=class extends e{clone(){const e=(0,c.s3)((0,d.vw)(this),"unable to clone instance of non-accessor class"),t=e.metadatas,r=e.store,n={},s=new Map;for(const e in t){const i=t[e],o=null==r?void 0:r.originOf(e);if(i.readOnly||!1===i.clonable||o!==h.s3.USER&&o!==h.s3.DEFAULTS)continue;const a=this[e];let u=null;const c=i.clonable;u="function"==typeof c?c(a):"reference"===c?a:(0,l.Vo)(a),null!=a&&null==u||(o===h.s3.DEFAULTS?s.set(e,u):n[e]=u)}const i=new(0,Object.getPrototypeOf(this).constructor)(n);if(s.size){var o;const e=null==(o=(0,d.vw)(i))?void 0:o.store;if(e)for(const[t,r]of s)e.set(t,r,h.s3.DEFAULTS)}return i}};return t=(0,n._)([(0,p.j)("esri.core.Clonable")],t),t};let m=class extends(f(a.Z)){};m=(0,n._)([(0,p.j)("esri.core.Clonable")],m);var y=r(96674),g=r(99001),b=r(5600),v=(r(67676),r(75215),r(33955));let _=class extends(f(y.wq)){constructor(...e){super(...e),this.isAggregate=!1,this.layer=null,this.popupTemplate=null,this.sourceLayer=null,Object.defineProperty(this,"uid",{value:(0,g.D)(),configurable:!0})}normalizeCtorArgs(e,t,r,n){return e&&!e.declaredClass?e:{geometry:e,symbol:t,attributes:r,popupTemplate:n}}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),this._notifyLayer("geometry",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;for(const t of[this.sourceLayer,this.layer])if(t){if("popupTemplate"in t&&t.popupTemplate)return t.popupTemplate;if(e&&"defaultPopupTemplate"in t&&(0,c.pC)(t.defaultPopupTemplate))return t.defaultPopupTemplate}return null}getAttribute(e){return this.attributes&&this.attributes[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t},this._notifyLayer("attributes",void 0,t,e)}getObjectId(){return this.sourceLayer&&"objectIdField"in this.sourceLayer&&this.sourceLayer.objectIdField?this.getAttribute(this.sourceLayer.objectIdField):null}toJSON(){return{geometry:(0,c.pC)(this.geometry)?this.geometry.toJSON():null,symbol:(0,c.pC)(this.symbol)?this.symbol.toJSON():null,attributes:{...this.attributes},popupTemplate:this.popupTemplate&&this.popupTemplate.toJSON()}}notifyGeometryChanged(){this._notifyLayer("geometry",this.geometry,this.geometry)}_notifyLayer(e,t,r,n){if(!this.layer||!("graphicChanged"in this.layer))return;const s={graphic:this,property:e,oldValue:t,newValue:r};"attributes"===e&&(s.attributeName=n),this.layer.graphicChanged(s)}};(0,n._)([(0,b.Cb)({value:null})],_.prototype,"attributes",null),(0,n._)([(0,b.Cb)({value:null,types:s.qM,json:{read:v.im}})],_.prototype,"geometry",null),(0,n._)([(0,b.Cb)({type:Boolean})],_.prototype,"isAggregate",void 0),(0,n._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"layer",void 0),(0,n._)([(0,b.Cb)({type:i.Z})],_.prototype,"popupTemplate",void 0),(0,n._)([(0,b.Cb)({clonable:"reference"})],_.prototype,"sourceLayer",void 0),(0,n._)([(0,b.Cb)({value:null,types:o.LB})],_.prototype,"symbol",null),(0,n._)([(0,b.Cb)({type:Boolean,value:!0})],_.prototype,"visible",null),_=(0,n._)([(0,p.j)("esri.Graphic")],_),(_||(_={})).generateUID=g.D;const w=_},80539:(e,t,r)=>{r.d(t,{Z:()=>P});var n,s=r(43697),i=r(3894),o=r(32448),a=r(22974),l=r(70586),u=r(71143);!function(e){e[e.ADD=1]="ADD",e[e.REMOVE=2]="REMOVE",e[e.MOVE=4]="MOVE"}(n||(n={}));var c,h=r(1654),d=r(5600),p=r(75215),f=r(52421),m=r(52011),y=r(58971),g=r(39020);class b{constructor(){this._observers=[]}observe(e){return this._observers.includes(e)||this._observers.push(e),new g.X(this._observers,e)}notify(){const e=this._observers.slice();for(let t=0;t<e.length;++t){const r=e[t];r.onInvalidated(),r.onCommitted()}}}const v=new u.Z(class{constructor(){this.target=null,this.cancellable=!1,this.defaultPrevented=!1,this.item=void 0,this.type=void 0}preventDefault(){this.cancellable&&(this.defaultPrevented=!0)}reset(e){this.defaultPrevented=!1,this.item=e}},void 0,(e=>{e.item=null,e.target=null,e.defaultPrevented=!1,e.cancellable=!1})),_=()=>{};function w(e){return e?e instanceof q?e.toArray():e.length?Array.prototype.slice.apply(e):[]:[]}function x(e){if(e&&e.length)return e[0]}function C(e,t,r,n){const s=Math.min(e.length-r,t.length-n);let i=0;for(;i<s&&e[r+i]===t[n+i];)i++;return i}function E(e,t,r,n){t&&t.forEach(((t,s,i)=>{e.push(t),E(e,r.call(n,t,s,i),r,n)}))}const T=new Set,S=new Set,O=new Set,I=new Map;let F=0,q=c=class extends o.Z.EventedAccessor{constructor(e){super(e),this._chgListeners=[],this._notifications=null,this._timer=null,this._observable=new b,this.length=0,this._items=[],Object.defineProperty(this,"uid",{value:F++})}static isCollection(e){return null!=e&&e instanceof c}normalizeCtorArgs(e){return e?Array.isArray(e)||e instanceof c?{items:e}:e:{}}destroy(){this.removeAll()}*[Symbol.iterator](){yield*this.items}get items(){return(0,y.it)(this._observable),this._items}set items(e){this._emitBeforeChanges(n.ADD)||(this._splice(0,this.length,w(e)),this._emitAfterChanges(n.ADD))}hasEventListener(e){return"change"===e?this._chgListeners.length>0:this._emitter.hasEventListener(e)}on(e,t){if("change"===e){const e=this._chgListeners,r={removed:!1,callback:t};return e.push(r),this._notifications&&this._notifications.push({listeners:e.slice(),items:this._items.slice(),changes:[]}),{remove(){this.remove=_,r.removed=!0,e.splice(e.indexOf(r),1)}}}return this._emitter.on(e,t)}once(e,t){const r=this.on(e,t);return{remove(){r.remove()}}}add(e,t){if((0,y.it)(this._observable),this._emitBeforeChanges(n.ADD))return this;const r=this.getNextIndex(null!=t?t:null);return this._splice(r,0,[e]),this._emitAfterChanges(n.ADD),this}addMany(e,t=this._items.length){if((0,y.it)(this._observable),!e||!e.length)return this;if(this._emitBeforeChanges(n.ADD))return this;const r=this.getNextIndex(t);return this._splice(r,0,w(e)),this._emitAfterChanges(n.ADD),this}removeAll(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return[];const e=this._splice(0,this.length)||[];return this._emitAfterChanges(n.REMOVE),e}clone(){return(0,y.it)(this._observable),this._createNewInstance({items:this._items.map(a.d9)})}concat(...e){(0,y.it)(this._observable);const t=e.map(w);return this._createNewInstance({items:this._items.concat(...t)})}drain(e,t){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return;const r=(0,l.j0)(this._splice(0,this.length)),s=r.length;for(let n=0;n<s;n++)e.call(t,r[n],n,r);this._emitAfterChanges(n.REMOVE)}every(e,t){return(0,y.it)(this._observable),this._items.every(e,t)}filter(e,t){let r;return(0,y.it)(this._observable),r=2===arguments.length?this._items.filter(e,t):this._items.filter(e),this._createNewInstance({items:r})}find(e,t){return(0,y.it)(this._observable),this._items.find(e,t)}findIndex(e,t){return(0,y.it)(this._observable),this._items.findIndex(e,t)}flatten(e,t){(0,y.it)(this._observable);const r=[];return E(r,this,e,t),new c(r)}forEach(e,t){return(0,y.it)(this._observable),this._items.forEach(e,t)}getItemAt(e){return(0,y.it)(this._observable),this._items[e]}getNextIndex(e){(0,y.it)(this._observable);const t=this.length;return(e=null==e?t:e)<0?e=0:e>t&&(e=t),e}includes(e,t=0){return(0,y.it)(this._observable),this._items.includes(e,t)}indexOf(e,t=0){return(0,y.it)(this._observable),this._items.indexOf(e,t)}join(e=","){return(0,y.it)(this._observable),this._items.join(e)}lastIndexOf(e,t=this.length-1){return(0,y.it)(this._observable),this._items.lastIndexOf(e,t)}map(e,t){(0,y.it)(this._observable);const r=this._items.map(e,t);return new c({items:r})}reorder(e,t=this.length-1){(0,y.it)(this._observable);const r=this.indexOf(e);if(-1!==r){if(t<0?t=0:t>=this.length&&(t=this.length-1),r!==t){if(this._emitBeforeChanges(n.MOVE))return e;this._splice(r,1),this._splice(t,0,[e]),this._emitAfterChanges(n.MOVE)}return e}}pop(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return;const e=x(this._splice(this.length-1,1));return this._emitAfterChanges(n.REMOVE),e}push(...e){return(0,y.it)(this._observable),this._emitBeforeChanges(n.ADD)||(this._splice(this.length,0,e),this._emitAfterChanges(n.ADD)),this.length}reduce(e,t){(0,y.it)(this._observable);const r=this._items;return 2===arguments.length?r.reduce(e,t):r.reduce(e)}reduceRight(e,t){(0,y.it)(this._observable);const r=this._items;return 2===arguments.length?r.reduceRight(e,t):r.reduceRight(e)}remove(e){return(0,y.it)(this._observable),this.removeAt(this.indexOf(e))}removeAt(e){if((0,y.it)(this._observable),e<0||e>=this.length||this._emitBeforeChanges(n.REMOVE))return;const t=x(this._splice(e,1));return this._emitAfterChanges(n.REMOVE),t}removeMany(e){if((0,y.it)(this._observable),!e||!e.length||this._emitBeforeChanges(n.REMOVE))return[];const t=e instanceof c?e.toArray():e,r=this._items,s=[],i=t.length;for(let e=0;e<i;e++){const n=t[e],i=r.indexOf(n);if(i>-1){const n=1+C(t,r,e+1,i+1),o=this._splice(i,n);o&&o.length>0&&s.push.apply(s,o),e+=n-1}}return this._emitAfterChanges(n.REMOVE),s}reverse(){if((0,y.it)(this._observable),this._emitBeforeChanges(n.MOVE))return this;const e=this._splice(0,this.length);return e&&(e.reverse(),this._splice(0,0,e)),this._emitAfterChanges(n.MOVE),this}shift(){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.REMOVE))return;const e=x(this._splice(0,1));return this._emitAfterChanges(n.REMOVE),e}slice(e=0,t=this.length){return(0,y.it)(this._observable),this._createNewInstance({items:this._items.slice(e,t)})}some(e,t){return(0,y.it)(this._observable),this._items.some(e,t)}sort(e){if((0,y.it)(this._observable),!this.length||this._emitBeforeChanges(n.MOVE))return this;const t=(0,l.j0)(this._splice(0,this.length));return arguments.length?t.sort(e):t.sort(),this._splice(0,0,t),this._emitAfterChanges(n.MOVE),this}splice(e,t,...r){(0,y.it)(this._observable);const s=(t?n.REMOVE:0)|(r.length?n.ADD:0);if(this._emitBeforeChanges(s))return[];const i=this._splice(e,t,r)||[];return this._emitAfterChanges(s),i}toArray(){return(0,y.it)(this._observable),this._items.slice()}toJSON(){return(0,y.it)(this._observable),this.toArray()}toLocaleString(){return(0,y.it)(this._observable),this._items.toLocaleString()}toString(){return(0,y.it)(this._observable),this._items.toString()}unshift(...e){return(0,y.it)(this._observable),!e.length||this._emitBeforeChanges(n.ADD)||(this._splice(0,0,e),this._emitAfterChanges(n.ADD)),this.length}_createNewInstance(e){return new this.constructor(e)}_splice(e,t,r){const n=this._items,s=this.itemType;let i,o;if(!this._notifications&&this.hasEventListener("change")&&(this._notifications=[{listeners:this._chgListeners.slice(),items:this._items.slice(),changes:[]}],this._timer&&this._timer.remove(),this._timer=(0,h.Os)((()=>this._dispatchChange()))),t){if(o=n.splice(e,t),this.hasEventListener("before-remove")){const t=v.acquire();t.target=this,t.cancellable=!0;for(let r=0,s=o.length;r<s;r++)i=o[r],t.reset(i),this.emit("before-remove",t),t.defaultPrevented&&(o.splice(r,1),n.splice(e,0,i),e+=1,r-=1,s-=1);v.release(t)}if(this.length=this._items.length,this.hasEventListener("after-remove")){const e=v.acquire();e.target=this,e.cancellable=!1;const t=o.length;for(let r=0;r<t;r++)e.reset(o[r]),this.emit("after-remove",e);v.release(e)}}if(r&&r.length){if(s){const e=[];for(const t of r){const r=s.ensureType(t);null==r&&null!=t||e.push(r)}r=e}const t=this.hasEventListener("before-add"),i=this.hasEventListener("after-add"),o=e===this.length;if(t||i){const s=v.acquire();s.target=this,s.cancellable=!0;const a=v.acquire();a.target=this,a.cancellable=!1;for(const l of r)t?(s.reset(l),this.emit("before-add",s),s.defaultPrevented||(o?n.push(l):n.splice(e++,0,l),this._set("length",n.length),i&&(a.reset(l),this.emit("after-add",a)))):(o?n.push(l):n.splice(e++,0,l),this._set("length",n.length),a.reset(l),this.emit("after-add",a));v.release(a),v.release(s)}else{if(o)for(const e of r)n.push(e);else n.splice(e,0,...r);this._set("length",n.length)}}return(r&&r.length||o&&o.length)&&this._notifyChangeEvent(r,o),o}_emitBeforeChanges(e){let t=!1;if(this.hasEventListener("before-changes")){const r=v.acquire();r.target=this,r.cancellable=!0,r.type=e,this.emit("before-changes",r),t=r.defaultPrevented,v.release(r)}return t}_emitAfterChanges(e){if(this.hasEventListener("after-changes")){const t=v.acquire();t.target=this,t.cancellable=!1,t.type=e,this.emit("after-changes",t),v.release(t)}this._observable.notify()}_notifyChangeEvent(e,t){this.hasEventListener("change")&&this._notifications&&this._notifications[this._notifications.length-1].changes.push({added:e,removed:t})}_dispatchChange(){if(this._timer&&(this._timer.remove(),this._timer=null),!this._notifications)return;const e=this._notifications;this._notifications=null;for(const t of e){const e=t.changes;T.clear(),S.clear(),O.clear();for(const{added:t,removed:r}of e){if(t)if(0===O.size&&0===S.size)for(const e of t)T.add(e);else for(const e of t)S.has(e)?(O.add(e),S.delete(e)):O.has(e)||T.add(e);if(r)if(0===O.size&&0===T.size)for(const e of r)S.add(e);else for(const e of r)T.has(e)?T.delete(e):(O.delete(e),S.add(e))}const r=i.Z.acquire();T.forEach((e=>{r.push(e)}));const n=i.Z.acquire();S.forEach((e=>{n.push(e)}));const s=this._items,o=t.items,a=i.Z.acquire();if(O.forEach((e=>{o.indexOf(e)!==s.indexOf(e)&&a.push(e)})),t.listeners&&(r.length||n.length||a.length)){const e={target:this,added:r,removed:n,moved:a},s=t.listeners.length;for(let r=0;r<s;r++){const n=t.listeners[r];n.removed||n.callback.call(this,e)}}i.Z.release(r),i.Z.release(n),i.Z.release(a)}T.clear(),S.clear(),O.clear()}};q.ofType=e=>{if(!e)return c;if(I.has(e))return I.get(e);let t=null;if("function"==typeof e)t=e.prototype.declaredClass;else if(e.base)t=e.base.prototype.declaredClass;else for(const r in e.typeMap){const n=e.typeMap[r].prototype.declaredClass;t?t+=` | ${n}`:t=n}let r=class extends c{};return(0,s._)([(0,f.c)({Type:e,ensureType:"function"==typeof e?(0,p.se)(e):(0,p.N7)(e)})],r.prototype,"itemType",void 0),r=(0,s._)([(0,m.j)(`esri.core.Collection<${t}>`)],r),I.set(e,r),r},(0,s._)([(0,d.Cb)()],q.prototype,"length",void 0),(0,s._)([(0,d.Cb)()],q.prototype,"items",null),q=c=(0,s._)([(0,m.j)("esri.core.Collection")],q);const P=q},32448:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(43697),s=r(15923),i=r(50758),o=r(52011);class a{constructor(){this._emitter=new a.EventEmitter(this)}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}}!function(e){class t{constructor(e=null){this.target=e,this._listenersMap=null}clear(){this._listenersMap&&this._listenersMap.clear(),this._listenersMap=null}emit(e,t){const r=this._listenersMap&&this._listenersMap.get(e);if(!r)return!1;const n=this.target||this;return[...r].forEach((e=>{e.call(n,t)})),r.length>0}on(e,t){if(Array.isArray(e)){const r=e.map((e=>this.on(e,t)));return(0,i.AL)(r)}if(e.indexOf(",")>-1)throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap||(this._listenersMap=new Map);const r=this._listenersMap.get(e)||[];return r.push(t),this._listenersMap.set(e,r),{remove:()=>{const r=this._listenersMap&&this._listenersMap.get(e)||[],n=r.indexOf(t);n>=0&&r.splice(n,1)}}}once(e,t){const r=this.on(e,(e=>{r.remove(),t.call(null,e)}));return r}hasEventListener(e){const t=this._listenersMap&&this._listenersMap.get(e);return null!=t&&t.length>0}}e.EventEmitter=t,e.EventedMixin=e=>{let r=class extends e{constructor(){super(...arguments),this._emitter=new t}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};return r=(0,n._)([(0,o.j)("esri.core.Evented")],r),r};let r=class extends s.Z{constructor(){super(...arguments),this._emitter=new a.EventEmitter(this)}destroy(){this._emitter.clear()}emit(e,t){return this._emitter.emit(e,t)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}hasEventListener(e){return this._emitter.hasEventListener(e)}};r=(0,n._)([(0,o.j)("esri.core.Evented")],r),e.EventedAccessor=r}(a||(a={}));const l=a},36030:(e,t,r)=>{r.d(t,{J:()=>i});var n=r(35454),s=r(5600);function i(e,t={}){var r;const i=e instanceof n.Xn?e:new n.Xn(e,t),o={type:null==(r=null==t?void 0:t.ignoreUnknown)||r?i.apiValues:String,json:{type:i.jsonValues,read:(null==t||!t.readOnly)&&{reader:i.read},write:{writer:i.write}}};return void 0!==(null==t?void 0:t.readOnly)&&(o.readOnly=!!t.readOnly),void 0!==(null==t?void 0:t.default)&&(o.json.default=t.default),void 0!==(null==t?void 0:t.name)&&(o.json.name=t.name),(0,s.Cb)(o)}},52421:(e,t,r)=>{function n(e){return(t,r)=>{t[r]=e}}r.d(t,{c:()=>n})},74085:(e,t,r)=>{function n(e){}r.d(t,{Bg:()=>n}),r(80442)},91460:(e,t,r)=>{function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function s(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,r);if(Array.isArray(t)){const n=t.slice();for(const t of n)e.addEventListener(t,r);return{remove(){for(const t of n)e.removeEventListener(t,r)}}}return e.addEventListener(t,r),{remove(){e.removeEventListener(t,r)}}}function i(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const i=s(e,t,(t=>{i.remove(),r.call(e,t)}));return{remove(){i.remove()}}}r.d(t,{vT:()=>n,on:()=>s,IH:()=>i})},95330:(e,t,r)=>{r.d(t,{e4:()=>S,$6:()=>l,Ue:()=>u,zE:()=>c,dD:()=>w,hh:()=>q,vr:()=>P,Ds:()=>F,as:()=>x,WW:()=>C,R8:()=>_,D_:()=>v,Hc:()=>p,y8:()=>O,fu:()=>y,$F:()=>g,d1:()=>E,DB:()=>T,r9:()=>f,k_:()=>h,H9:()=>m,Yn:()=>R,gx:()=>I,Hl:()=>b});const n=(s=globalThis,{setTimeout:(e,t)=>{const r=s.setTimeout(e,t);return{remove:()=>s.clearTimeout(r)}}});var s,i=r(20102),o=r(91460),a=(r(92604),r(70586));function l(e){return Promise.all(e)}function u(e){return new Promise(((t,r)=>{try{e(t,r)}catch(e){Promise.resolve().then((()=>r(e)))}}))}function c(e="Aborted"){return new i.Z("AbortError",e)}function h(e,t="Aborted"){if(p(e))throw c(t)}function d(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function p(e){const t=d(e);return(0,a.pC)(t)&&t.aborted}function f(e){if(v(e))throw e}function m(e){if(!v(e))throw e}function y(e,t){const r=d(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,o.IH)(r,"abort",(()=>t()));t()}}function g(e,t){const r=d(e);if(!(0,a.Wi)(r))return h(r),(0,o.IH)(r,"abort",(()=>t(c())))}function b(e,t){const r=d(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let s=y(t,(()=>n(c())));const i=()=>s=(0,a.hw)(s);e.then(i,i),e.then(r,n)}))}function v(e){return e&&"AbortError"===e.name}function _(e){return e.catch((e=>{if(!v(e))throw e}))}function w(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}function x(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return x(t.map((t=>e[t]))).then((e=>{const r={};return t.forEach(((t,n)=>r[t]=e[n])),r}))}const t=e;return u((e=>{const r=[];let n=t.length;0===n&&e(r),t.forEach((t=>{const s={promise:t||Promise.resolve(t)};r.push(s),s.promise.then((e=>{s.value=e})).catch((e=>{s.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}function C(e){return x(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function E(e){return Promise.reject(e)}function T(e){return Promise.resolve(e)}function S(e,t,r){const n=new AbortController;return y(r,(()=>n.abort())),new Promise(((r,s)=>{let i=setTimeout((()=>{i=0,r(t)}),e);y(n,(()=>{i&&(clearTimeout(i),s(c()))}))}))}function O(e){return e&&"function"==typeof e.then}function I(e){return O(e)?e:Promise.resolve(e)}function F(e,t=-1){let r,n,s,i,o=null;const l=(...u)=>{if(r){n=u,i&&i.reject(c()),i=w();const e=(0,a.j0)(i.promise);if(o){const e=o;o=null,e.abort()}return e}if(s=i||w(),i=null,t>0){const n=new AbortController;r=I(e(...u,n.signal));const s=r;S(t).then((()=>{r===s&&(i?n.abort():o=n)}))}else r=1,r=I(e(...u));const h=()=>{const e=n;n=s=r=o=null,null!=e&&l(...e)},d=r,p=s;return d.then(h,h),d.then(p.resolve,p.reject),(0,a.j0)(p.promise)};return l}function q(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),s=t=>{e(t)};return s.resolve=t=>e(t),s.reject=e=>t(e),s.timeout=(e,t)=>n.setTimeout((()=>s.reject(t)),e),s.promise=r,s}function P(e,t){let r,n=new AbortController;const s=e(n.signal);let i={promise:s,finished:!1,abort:()=>{n&&(n.abort(),n=null)}};const o=()=>{i&&(i.finished=!0,i=null),(0,a.pC)(r)&&(r.remove(),r=null),n=null};return s.then(o,o),r=y(t,(()=>{(0,a.pC)(i)&&i.abort()})),i}function R(e){return Promise.resolve().then((()=>{h(e)}))}},67900:(e,t,r)=>{r.d(t,{gV:()=>Z,En:()=>C,Z7:()=>F,c9:()=>I,_R:()=>S,qE:()=>R,cM:()=>O,hd:()=>c,ty:()=>E,Jo:()=>D,$C:()=>T}),r(80442);var n=r(35454),s=r(70586),i=r(24678),o=r(82971),a=r(68441),l=r(8744),u=r(58116);const c=39.37,h=a.sv.radius*Math.PI/200,d=/UNIT\[([^\]]+)\]\]$/i,p=u.Z,f=/UNIT\[([^\]]+)\]/i,m=new Set([4261,4305,4807,4810,4811,4812,4816,4819,4821,4901,4902,37225,104139,104140]),y=(0,n.wY)()({meter:"meters",foot:"feet",foot_us:"us-feet",foot_clarke:"clarke-feet",yard_clarke:"clarke-yards",link_clarke:"clarke-links",yard_sears:"sears-yards",foot_sears:"sears-feet",chain_sears:"sears-chains",chain_benoit_1895_b:"benoit-1895-b-chains",yard_indian:"indian-yards",yard_indian_1937:"indian-1937-yards",foot_gold_coast:"gold-coast-feet",chain_sears_1922_truncated:"sears-1922-truncated-chains","50_kilometers":"50-kilometers","150_kilometers":"150-kilometers"}),g=e=>e*e,b=e=>e*e*e,v={length:{baseUnit:"meters",units:{millimeters:{inBaseUnits:.001},centimeters:{inBaseUnits:.01},decimeters:{inBaseUnits:.1},meters:{inBaseUnits:1},kilometers:{inBaseUnits:1e3},inches:{inBaseUnits:.0254},feet:{inBaseUnits:.3048},yards:{inBaseUnits:.9144},miles:{inBaseUnits:1609.344},"nautical-miles":{inBaseUnits:1852},"us-feet":{inBaseUnits:1200/3937}}},area:{baseUnit:"square-meters",units:{"square-millimeters":{inBaseUnits:g(.001)},"square-centimeters":{inBaseUnits:g(.01)},"square-decimeters":{inBaseUnits:g(.1)},"square-meters":{inBaseUnits:1},"square-kilometers":{inBaseUnits:g(1e3)},"square-inches":{inBaseUnits:g(.0254)},"square-feet":{inBaseUnits:g(.3048)},"square-yards":{inBaseUnits:g(.9144)},"square-miles":{inBaseUnits:g(1609.344)},"square-us-feet":{inBaseUnits:g(1200/3937)},acres:{inBaseUnits:.0015625*g(1609.344)},ares:{inBaseUnits:100},hectares:{inBaseUnits:1e4}}},volume:{baseUnit:"liters",units:{liters:{inBaseUnits:1},"cubic-millimeters":{inBaseUnits:1e3*b(.001)},"cubic-centimeters":{inBaseUnits:1e3*b(.01)},"cubic-decimeters":{inBaseUnits:1e3*b(.1)},"cubic-meters":{inBaseUnits:1e3},"cubic-kilometers":{inBaseUnits:1e3*b(1e3)},"cubic-inches":{inBaseUnits:1e3*b(.0254)},"cubic-feet":{inBaseUnits:1e3*b(.3048)},"cubic-yards":{inBaseUnits:1e3*b(.9144)},"cubic-miles":{inBaseUnits:1e3*b(1609.344)}}},angle:{baseUnit:"radians",units:{radians:{inBaseUnits:1},degrees:{inBaseUnits:Math.PI/180}}}},_=function(){const e={};for(const t in v)for(const r in v[t].units)e[r]=t;return e}();function w(e){const t=_[e];if(t)return t;throw new Error("unknown measure")}function x(e,t=null){return t=t||w(e),v[t].baseUnit===e}function C(e,t,r){if(t===r)return e;const n=w(t);if(n!==w(r))throw new Error("incompatible units");const s=x(t,n)?e:function(e,t,r){return e*v[r].units[t].inBaseUnits}(e,t,n);return x(r,n)?s:function(e,t,r){return e/v[r].units[t].inBaseUnits}(s,r,n)}function E(e,t,r){return C(e,t,"meters")/(r*Math.PI/180)}function T(e){return y.fromJSON(e.toLowerCase())||null}function S(e){if(e&&"object"==typeof e&&!(0,l.N$)(e))return 1;const t=I(e);return t>1e5?1:t}function O(e){return I(e)>=(e instanceof o.Z?(0,i.Iu)(e).metersPerDegree:1e5)?"meters":R(e)}function I(e,t=a.sv.metersPerDegree){return F(e,!0)||t}function F(e,t=!1){let r,n,s=null;if(null!=e&&("object"==typeof e?(r=e.wkid,n=e.wkt):"number"==typeof e?r=e:"string"==typeof e&&(n=e)),r){if((0,l.o$)(r))return a.yr.metersPerDegree;if((0,l.ME)(r))return a.Z1.metersPerDegree;s=p.values[p[r]],!s&&t&&m.has(r)&&(s=h)}else n&&(M(n)?s=q(d.exec(n),s):U(n)&&(s=q(f.exec(n),s)));return s}function q(e,t){return e&&e[1]?P(e[1]):t}function P(e){return parseFloat(e.split(",")[1])}function R(e){let t,r,n=null;if(null!=e&&("object"==typeof e?(t=e.wkid,r=e.wkt):"number"==typeof e?t=e:"string"==typeof e&&(r=e)),t)n=p.units[p[t]];else if(r){const e=M(r)?d:U(r)?f:null;if(e){const t=e.exec(r);t&&t[1]&&(n=function(e){const t=/[\\"\\']{1}([^\\"\\']+)/.exec(e);let r=t&&t[1];if(!r||-1===p.units.indexOf(r)){const t=P(e);r=null;const n=p.values;for(let e=0;e<n.length;++e)if(Math.abs(t-n[e])<1e-7){r=p.units[e];break}}return r}(t[1]))}}return(0,s.pC)(n)?T(n):null}function U(e){return/^GEOCCS/i.test(e)}function M(e){return/^PROJCS/i.test(e)}const L={esriAcres:"acres",esriAres:"ares",esriHectares:"hectares",esriSquareCentimeters:"square-centimeters",esriSquareDecimeters:"square-decimeters",esriSquareFeet:"square-feet",esriSquareInches:"square-inches",esriSquareKilometers:"square-kilometers",esriSquareMeters:"square-meters",esriSquareMiles:"square-miles",esriSquareMillimeters:"square-millimeters",esriSquareUsFeet:"square-us-feet",esriSquareYards:"square-yards"},A={esriCentimeters:"centimeters",esriDecimeters:"decimeters",esriFeet:"feet",esriInches:"inches",esriKilometers:"kilometers",esriMeters:"meters",esriMiles:"miles",esriMillimeters:"millimeters",esriNauticalMiles:"nautical-miles",esriYards:"yards"},Z=(0,n.wY)()(L),D=(0,n.wY)()(A);(0,n.wY)()({...L,...A})},17452:(e,t,r)=>{r.d(t,{R9:()=>b,qg:()=>F,tD:()=>U,ZN:()=>de,fl:()=>pe,Ie:()=>ue,sJ:()=>Q,AH:()=>J,io:()=>X,L:()=>C,TI:()=>x,vt:()=>ae,oh:()=>Z,P$:()=>B,Ml:()=>fe,ed:()=>M,b7:()=>I,D6:()=>D,tm:()=>L,YP:()=>z,jc:()=>H,HK:()=>W,$U:()=>re,oC:()=>ee,kl:()=>N,v_:()=>$,hF:()=>k,_l:()=>K,PF:()=>V,Fv:()=>G,B7:()=>O,u0:()=>T,Yd:()=>oe,Hu:()=>he,Qj:()=>le,hO:()=>ne,mN:()=>E});var n=r(68773),s=r(20102),i=r(92604),o=r(70586);const a=i.Z.getLogger("esri.core.urlUtils"),l=n.Z.request,u="esri/config: esriConfig.request.proxyUrl is not set.",c=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,h=/^\s*http:/i,d=/^\s*https:/i,p=/^\s*file:/i,f=/:\d+$/,m=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,y=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),g=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class b{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=(0,o.j0)(this.uri.match(y));this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=(0,o.j0)(this.authority.match(g)),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const v={};let _=new b(n.Z.applicationUrl);let w=function(){const e=(0,o.j0)(_.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${_.scheme}://${_.host}${null!=_.port?`:${_.port}`:""}${t}`}();const x=()=>_,C=()=>w;function E(e){const t={path:null,query:null},r=new b(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.substring(0,n),t.query=T(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.substring(0,t.path.length-(r.fragment.length+1)))),t}function T(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,s;t<0?(n=decodeURIComponent(e),s=""):(n=decodeURIComponent(e.slice(0,t)),s=decodeURIComponent(e.slice(t+1)));let i=r[n];"string"==typeof i&&(i=r[n]=[i]),Array.isArray(i)?i.push(s):r[n]=s}return r}function S(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function O(e,t){return e?t&&"function"==typeof t?Object.keys(e).map((r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r])))).join("&"):Object.keys(e).map((r=>{const n=e[r];if(null==n)return"";const s=encodeURIComponent(r)+"=",i=t&&t[r];return i?s+encodeURIComponent(i(n)):Array.isArray(n)?n.map((e=>S(e)?s+encodeURIComponent(JSON.stringify(e)):s+encodeURIComponent(e))).join("&"):S(n)?s+encodeURIComponent(JSON.stringify(n)):s+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function I(e=!1){let t,r=l.proxyUrl;if("string"==typeof e){t=re(e);const n=M(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw a.warn(u),new s.Z("urlutils:proxy-not-set",u);return t&&se()&&(r=ne(r)),E(r)}function F(e){const t=M(e);let r,n;if(t){const e=P(t.proxyUrl);r=e.path,n=e.query?T(e.query):null}if(r){const t=E(e);e=r+"?"+t.path;const s=O({...n,...t.query});s&&(e=`${e}?${s}`)}return e}const q={path:"",query:""};function P(e){const t=e.indexOf("?");return-1!==t?(q.path=e.slice(0,t),q.query=e.slice(t+1)):(q.path=e,q.query=null),q}function R(e){return(e=ie(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=P(e).path),!0)).toLowerCase()}function U(e){const t={proxyUrl:e.proxyUrl,urlPrefix:R(e.urlPrefix)},r=l.proxyRules,n=t.urlPrefix;let s=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(0===n.indexOf(t)){if(n.length===t.length)return-1;s=e;break}0===t.indexOf(n)&&(s=e+1)}return r.splice(s,0,t),s}function M(e){const t=l.proxyRules,r=R(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function L(e,t){return e=A(e),t=A(t),ie(e)===ie(t)}function A(e){const t=(e=G(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function Z(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),r=l.interceptors;if(r)for(const e of r)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function D(e,t,r=!1){const n=ce(e),s=ce(t);return!(!r&&n.scheme!==s.scheme)&&null!=n.host&&null!=s.host&&n.host.toLowerCase()===s.host.toLowerCase()&&n.port===s.port}function N(e){if("string"==typeof e){if(!z(e))return!0;e=ce(e)}if(D(e,_))return!0;const t=l.trustedServers||[];for(let r=0;r<t.length;r++){const n=j(t[r]);for(let t=0;t<n.length;t++)if(D(e,n[t]))return!0}return!1}function j(e){return v[e]||(te(e)||ee(e)?v[e]=[new b(k(e))]:v[e]=[new b(`http://${e}`),new b(`https://${e}`)]),v[e]}function k(e,t=w,r){return ee(e)?r&&r.preserveProtocolRelative?e:"http"===_.scheme&&_.authority===B(e).slice(2)?`http:${e}`:`https:${e}`:te(e)?e:(0,o.j0)($("/"===e[0]?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e))}function V(e,t=w,r){if(!z(e))return e;const n=G(e),s=n.toLowerCase(),i=G(t).toLowerCase().replace(/\/+$/,""),o=r?G(r).toLowerCase().replace(/\/+$/,""):null;if(o&&0!==i.indexOf(o))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let l=a(s,"/",s.indexOf("//")+2),u=-1;for(;s.slice(0,l+1)===i.slice(0,l)+"/"&&(u=l+1,l!==s.length);)l=a(s,"/",l+1);if(-1===u)return e;if(o&&u<o.length)return e;e=n.slice(u);const c=i.slice(u-1).replace(/[^/]+/g,"").length;if(c>0)for(let t=0;t<c;t++)e=`../${e}`;else e=`./${e}`;return e}function G(e){return function(e){const t=l.httpsDomains;if(!function(e){return h.test(e)||"http"===_.scheme&&ee(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),f.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===_.scheme&&n===_.authority&&!m.test(e)||(se()&&n===_.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||se()&&!M(e))&&(e=ne(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=P(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=k(e=e.trim()))))}function $(...e){const t=e.filter(o.pC);if(!t||!t.length)return;const r=[];if(z(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return p.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else"/"===t[0][0]&&r.push("");const n=t.reduce(((e,t)=>t?e.concat(t.split("/")):e),[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function B(e,t=!1){if(H(e)||W(e))return null;let r=e.indexOf("://");if(-1===r&&ee(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=ie(e,!0)),e}function z(e){return ee(e)||te(e)}function H(e){return null!=e&&"blob:"===e.slice(0,5)}function W(e){return"data:"===e.slice(0,5)}function J(e){const t=Q(e);if(!t||!t.isBase64)return null;const r=atob(t.data),n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n.buffer}const Y=/^data:(.*?)(;base64)?,(.*)$/;function Q(e){const t=e.match(Y);if(!t)return null;const[,r,n,s]=t;return{mediaType:r,isBase64:!!n,data:s}}function K(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function X(e,t){(function(e,t){if(!e)return!1;const r=document.createElement("a");if(!("download"in r))return!1;const n=URL.createObjectURL(e);return r.download=t,r.href=n,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n),!0})(e,t)||function(e,t){!!window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(e,t)}(e,t)}function ee(e){return null!=e&&void 0!==e&&"/"===e[0]&&"/"===e[1]}function te(e){return c.test(e)}function re(e){return d.test(e)||"https"===_.scheme&&ee(e)}function ne(e){return ee(e)?`https:${e}`:e.replace(h,"https:")}function se(){return"https"===_.scheme}function ie(e,t=!1){return ee(e)?e.slice(2):(e=e.replace(c,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function oe(e){let t=0;if(z(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function ae(e,t){if(!e)return"";const r=E(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(null==t||!t.length)return n;const s=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(s,"")}function le(e){return e.replace(/\/+$/,"")}function ue(e,t,r){if(!(t&&r&&e&&z(e)))return e;const n=e.indexOf("//"),s=e.indexOf("/",n+2),i=e.indexOf(":",n+2),o=Math.min(s<0?e.length:s,i<0?e.length:i);return e.slice(n+2,o).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(o)}`}function ce(e){return"string"==typeof e?new b(k(e)):(e.scheme||(e.scheme=_.scheme),e)}function he(e,t){const r=E(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function de(e,t,r){const n=E(e),s=n.query||{};return s[t]=String(r),`${n.path}?${O(s)}`}function pe(e,t){const r=E(e),n=r.query||{};for(const e in t)n[e]=t[e];const s=O(n);return s?`${r.path}?${s}`:r.path}function fe(e){if((0,o.Wi)(e))return null;const t=e.match(me);return t?t[1]:null}const me=/.*?\.([^\/]*)$/},66577:(e,t,r)=>{r.d(t,{qM:()=>c});var n=r(75215),s=r(6570),i=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);r(82971),r(86973),r(33955);const c={base:i.Z,key:"type",typeMap:{extent:s.Z,multipoint:o.Z,point:a.Z,polyline:u.Z,polygon:l.Z}};(0,n.N7)(c)},24678:(e,t,r)=>{r.d(t,{GG:()=>a,HQ:()=>l,VY:()=>u,wY:()=>c,Iu:()=>d,e8:()=>p,rS:()=>h});var n=r(82971),s=r(68441),i=r(8744);function o(e){return new n.Z({wkt:`GEOCCS["Spherical geocentric",\n DATUM["Not specified",\n SPHEROID["Sphere",${e.radius},0]],\n PRIMEM["Greenwich",0.0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",EAST],\n AXIS["Geocentric Z",NORTH]\n ]`})}const a=o(s.sv),l=o(s.yr),u=o(s.Z1),c=new n.Z({wkt:`GEOCCS["WGS 84",\n DATUM["WGS_1984",\n SPHEROID["WGS 84",${s.sv.radius},298.257223563,\n AUTHORITY["EPSG","7030"]],\n AUTHORITY["EPSG","6326"]],\n PRIMEM["Greenwich",0,\n AUTHORITY["EPSG","8901"]],\n UNIT["m",1.0,\n AUTHORITY["EPSG","9001"]],\n AXIS["Geocentric X",OTHER],\n AXIS["Geocentric Y",OTHER],\n AXIS["Geocentric Z",NORTH],\n AUTHORITY["EPSG","4978"]\n]`});function h(e){return e&&((0,i.BZ)(e)||e===l)?l:e&&((0,i.V2)(e)||e===u)?u:a}function d(e){return e&&((0,i.BZ)(e)||e===l)?s.yr:e&&((0,i.V2)(e)||e===u)?s.Z1:s.sv}function p(e){return(0,i.o$)(e)?s.yr:(0,i.ME)(e)?s.Z1:s.sv}},33955:(e,t,r)=>{r.d(t,{im:()=>m,q9:()=>b,Ji:()=>y,YX:()=>c,aW:()=>h,wp:()=>d,oU:()=>f,l9:()=>p});var n=r(70586),s=r(6570),i=r(9361),o=r(65091),a=r(13473),l=r(17332),u=r(58901);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function h(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function p(e){return void 0!==e.paths}function f(e){return void 0!==e.rings}function m(e){return(0,n.Wi)(e)?null:e instanceof i.Z?e:d(e)?a.Z.fromJSON(e):p(e)?u.Z.fromJSON(e):f(e)?l.Z.fromJSON(e):h(e)?o.Z.fromJSON(e):c(e)?s.Z.fromJSON(e):null}function y(e){return e?d(e)?"esriGeometryPoint":p(e)?"esriGeometryPolyline":f(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":h(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:a.Z,esriGeometryPolyline:u.Z,esriGeometryPolygon:l.Z,esriGeometryEnvelope:s.Z,esriGeometryMultipoint:o.Z};function b(e){return e&&g[e]||null}},86973:(e,t,r)=>{r.d(t,{Mk:()=>s,P$:()=>i});var n=r(35454);const s=(0,n.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),i=(0,n.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},40330:(e,t,r)=>{r.d(t,{Dp:()=>u,id:()=>a,qh:()=>l,i8:()=>i,Nv:()=>o});var n=r(80442),s=r(17452);const i="4.23",o={async request(e,t){var n;const{default:i}=await r.e(3172).then(r.bind(r,3172)),o=e.options,a=o.responseType;o.signal=null==t?void 0:t.signal,o.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(n=(0,s.oh)(e.url))&&n.after?a:"array-buffer";const l=await i(e.url,o),u={data:l.data,ssl:l.ssl};switch(l.requestOptions.responseType){case"native-request-init":return delete u.data.signal,u;case"blob":u.data=await u.data.arrayBuffer();break;case"json":u.data=(new TextEncoder).encode(JSON.stringify(u.data)).buffer;break;case"text":u.data=(new TextEncoder).encode(u.data).buffer}return{result:u,transferList:[u.data]}}};let a;function l(e){a=e}function u(e){const t=a&&a.findCredential(e);return t&&t.token?(0,s.ZN)(e,"token",t.token):e}(0,n.Z)("host-webworker")||((0,n.Z)("edge")||(0,n.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},88068:(e,t,r)=>{r.r(t),r.d(t,{default:()=>V});var n=r(43697),s=(r(66577),r(51773)),i=(r(16050),r(12501),r(95088),r(79056),r(5499),r(84382),r(30687),r(91423),r(32400)),o=r(16453),a=r(5600),l=(r(67676),r(80442),r(75215),r(52011)),u=r(86973),c=r(29600),h=r(20102),d=r(83379),p=r(70586),f=r(16467),m=r(74889),y=r(82971);let g=class extends d.Z{constructor(){super(...arguments),this.featureDefinition=null,this.type="ogc-feature"}load(e){return this.addResolvingPromise(this._loadOGCServices(this.layer,e)),this.when()}getFeatureDefinition(){const{featureDefinition:{collection:e,layerDefinition:t,spatialReference:r,supportedCrs:n},layer:{apiKey:s,capabilities:i,customParameters:o}}=this;return{capabilities:i,collection:e,layerDefinition:t,queryParameters:{apiKey:s,customParameters:o},spatialReference:r,supportedCrs:n}}queryExtent(e,t={}){return null}queryFeatureCount(e,t={}){return null}queryFeatures(e,t={}){return this.queryFeaturesJSON(e,t).then((e=>m.default.fromJSON(e)))}queryFeaturesJSON(e,t={}){const r=this.getFeatureDefinition();return this.load(t).then((()=>(0,f.yN)(r,e,t)))}queryObjectIds(e,t={}){return null}supportsSpatialReference(e){return!(!e.isWGS84&&!e.isWebMercator&&!this.featureDefinition.supportedCrs[e.wkid])}_conformsToType(e,t){var r;const n=new RegExp(`^${t}$`,"i");return null!=(r=e.conformsTo.some((e=>n.test(e))))&&r}_getCapabilities(e,t){var r,n,s,i,o,a,l;const u=(0,p.pC)(t)?null==(r=t.components)?void 0:r.parameters:null;return{attachment:null,data:{isVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAttachments:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1},query:{maxRecordCount:null!=(n=null!=(s=null==u||null==(i=u.limit)||null==(o=i.schema)?void 0:o.maximum)?s:null==u||null==(a=u.limitFeatures)||null==(l=a.schema)?void 0:l.maximum)?n:5e3,maxRecordCountFactor:void 0,standardMaxRecordCount:void 0,supportsCacheHint:!1,supportsCentroid:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsStatistics:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsSqlExpression:!1,tileMaxRecordCount:void 0},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUploadWithItemId:!1,supportsUpdateWithoutM:!1}}}_getExtent(e){var t;const r=null==(t=e.extent)?void 0:t.spatial;if(!r)return null;const n=r.bbox[0],s=4===n.length,i=n[0],o=n[1],a=s?void 0:n[2];return{xmin:i,ymin:o,xmax:s?n[2]:n[3],ymax:s?n[3]:n[4],zmin:a,zmax:s?void 0:n[5],spatialReference:y.Z.WGS84.toJSON()}}_getStorageSpatialReference(e){var t;const r=null!=(t=e.storageCrs)?t:f.$9,n=(0,f.d)(r);return(0,p.Wi)(n)?y.Z.WGS84:new y.Z({wkid:n})}_getSupportedSpatialReferences(e,t){var r;const n="#/crs",s=null!=(r=e.crs)?r:[f.$9],i=s.includes(n)?s.filter((e=>e!==n)).concat(t.crs):s,o=/^http:\/\/www\.opengis.net\/def\/crs\/epsg\/.*\/3785$/i;return i.filter((e=>!o.test(e)))}async _loadOGCServices(e,t){const r=(0,p.pC)(t)?t.signal:null,{apiKey:n,collectionId:s,customParameters:i,fields:o,geometryType:a,hasZ:l,objectIdField:c,timeInfo:d,url:m}=e,y={fields:null==o?void 0:o.map((e=>e.toJSON())),geometryType:u.P$.toJSON(a),hasZ:l,objectIdField:c,timeInfo:null==d?void 0:d.toJSON()},g={apiKey:n,customParameters:i,signal:r},b=await(0,f.gp)(m,g),[v,_]=await Promise.all([(0,f.G4)(b,g),(0,f.j)(b,g)]);if(!this._conformsToType(v,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson"))throw new h.Z("ogc-feature-layer:no-geojson-support","Server does not support geojson");const w=_.collections.find((e=>e.id===s));if(!w)throw new h.Z("ogc-feature-layer:collection-not-found","Server does not contain the named collection");const x=this._conformsToType(v,"http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30")?await(0,f.eS)(b,g):null,C=await(0,f.w9)(w,y,g),E=this._getCapabilities(C.hasZ,x),T=this._getExtent(w),S=this._getStorageSpatialReference(w).toJSON(),O=this._getSupportedSpatialReferences(w,_),I=new RegExp(`^${f.Lu}`,"i"),F={};for(const e of O){const t=(0,f.d)(e);(0,p.pC)(t)&&(F[t]||(F[t]=e.replace(I,"")))}C.extent=T,this.featureDefinition={capabilities:E,collection:w,layerDefinition:C,queryParameters:{},spatialReference:S,supportedCrs:F}}};(0,n._)([(0,a.Cb)()],g.prototype,"featureDefinition",void 0),(0,n._)([(0,a.Cb)({constructOnly:!0})],g.prototype,"layer",void 0),(0,n._)([(0,a.Cb)()],g.prototype,"type",void 0),g=(0,n._)([(0,l.j)("esri.layers.graphics.sources.OGCFeatureSource")],g);const b=g;var v=r(54295),_=r(71612),w=r(17017),x=r(69637),C=r(38009),E=r(68825),T=r(16859),S=r(34760),O=r(72965),I=r(28294),F=r(21506),q=r(55785),P=r(16451),R=r(1231),U=r(53518),M=r(35671),L=r(2319),A=r(30707),Z=r(57444),D=r(32163),N=r(6570);const j=(0,U.v)();let k=class extends((0,v.V)((0,w.N)((0,x.b)((0,_.h)((0,E.c)((0,I.n)((0,O.M)((0,C.q)((0,T.I)((0,S.Q)((0,o.R)(c.Z)))))))))))){constructor(e){super(e),this.collectionId=null,this.copyright=null,this.definitionExpression=null,this.description=null,this.displayField=null,this.elevationInfo=null,this.featureReduction=null,this.fields=null,this.fieldsIndex=null,this.fullExtent=null,this.geometryType=null,this.hasZ=void 0,this.labelingInfo=null,this.labelsVisible=!0,this.legendEnabled=!0,this.objectIdField=null,this.operationalLayerType="OGCFeatureLayer",this.popupEnabled=!0,this.popupTemplate=null,this.screenSizePerspectiveEnabled=!0,this.source=new b({layer:this}),this.spatialReference=null,this.title=null,this.type="ogc-feature",this.typeIdField=null,this.types=null,this.url=null}destroy(){var e;null==(e=this.source)||e.destroy()}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["OGCFeatureServer"]},e).then((()=>this._fetchService(e)))),this.when()}get defaultPopupTemplate(){return this.createPopupTemplate()}get isTable(){return this.loaded&&null==this.geometryType}set renderer(e){(0,M.YN)(e,this.fieldsIndex),this._set("renderer",e)}on(e,t){return super.on(e,t)}createPopupTemplate(e){return(0,D.eZ)(this,e)}createQuery(){return new Z.Z}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){var r;let n,s=!1;const i=null==t||null==(r=t.feature)?void 0:r.attributes,o=this.typeIdField&&(null==i?void 0:i[this.typeIdField]);return null!=o&&this.types&&(s=this.types.some((t=>{var r,s;return t.id==o&&(n=null==(r=t.domains)?void 0:r[e],"inherited"===(null==(s=n)?void 0:s.type)&&(n=this._getLayerDomain(e)),!0)}))),s||n||(n=this._getLayerDomain(e)),n}queryFeatures(e,t){return this.load().then((()=>this.source.queryFeatures(Z.Z.from(e)||this.createQuery(),t))).then((e=>{var t;return null==e||null==(t=e.features)||t.forEach((e=>{e.layer=e.sourceLayer=this})),e}))}async _fetchService(e){await this.source.load(e),this.read(this.source.featureDefinition,{origin:"service"}),(0,M.YN)(this.renderer,this.fieldsIndex),(0,M.UF)(this.timeInfo,this.fieldsIndex)}_getLayerDomain(e){if(!this.fields)return null;for(const t of this.fields)if(t.name===e&&t.domain)return t.domain;return null}};(0,n._)([(0,a.Cb)({readOnly:!0,json:{origins:{service:{read:!0}}}})],k.prototype,"capabilities",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:!0}})],k.prototype,"collectionId",void 0),(0,n._)([(0,a.Cb)({type:String})],k.prototype,"copyright",void 0),(0,n._)([(0,a.Cb)({readOnly:!0})],k.prototype,"defaultPopupTemplate",null),(0,n._)([(0,a.Cb)({type:String})],k.prototype,"definitionExpression",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,type:String,json:{origins:{service:{name:"collection.description"}}}})],k.prototype,"description",void 0),(0,n._)([(0,a.Cb)({type:String})],k.prototype,"displayField",void 0),(0,n._)([(0,a.Cb)(F.PV)],k.prototype,"elevationInfo",void 0),(0,n._)([(0,a.Cb)(q.d)],k.prototype,"featureReduction",void 0),(0,n._)([(0,a.Cb)({type:[R.Z],json:{origins:{service:{name:"layerDefinition.fields"}}}})],k.prototype,"fields",void 0),(0,n._)([(0,a.Cb)(j.fieldsIndex)],k.prototype,"fieldsIndex",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,type:N.Z,json:{origins:{service:{name:"layerDefinition.extent"}}}})],k.prototype,"fullExtent",void 0),(0,n._)([(0,a.Cb)({type:u.Mk.apiValues,json:{origins:{service:{name:"layerDefinition.geometryType",read:{reader:u.Mk.read}}}}})],k.prototype,"geometryType",void 0),(0,n._)([(0,a.Cb)({type:Boolean,json:{origins:{service:{name:"layerDefinition.hasZ"}}}})],k.prototype,"hasZ",void 0),(0,n._)([(0,a.Cb)({type:Boolean,readOnly:!0})],k.prototype,"isTable",null),(0,n._)([(0,a.Cb)({type:[L.Z],json:{origins:{"web-document":{name:"layerDefinition.drawingInfo.labelingInfo",read:{reader:A.r},write:!0}}}})],k.prototype,"labelingInfo",void 0),(0,n._)([(0,a.Cb)(F.iR)],k.prototype,"labelsVisible",void 0),(0,n._)([(0,a.Cb)(F.rn)],k.prototype,"legendEnabled",void 0),(0,n._)([(0,a.Cb)({type:String,json:{origins:{service:{name:"layerDefinition.objectIdField"}}}})],k.prototype,"objectIdField",void 0),(0,n._)([(0,a.Cb)({type:["OGCFeatureLayer"]})],k.prototype,"operationalLayerType",void 0),(0,n._)([(0,a.Cb)(F.C_)],k.prototype,"popupEnabled",void 0),(0,n._)([(0,a.Cb)({type:s.Z,json:{name:"popupInfo",write:!0}})],k.prototype,"popupTemplate",void 0),(0,n._)([(0,a.Cb)({types:i.A,json:{origins:{service:{name:"layerDefinition.drawingInfo.renderer",write:!1},"web-scene":{types:i.o,name:"layerDefinition.drawingInfo.renderer",write:!0}},name:"layerDefinition.drawingInfo.renderer",write:!0}})],k.prototype,"renderer",null),(0,n._)([(0,a.Cb)(F.YI)],k.prototype,"screenSizePerspectiveEnabled",void 0),(0,n._)([(0,a.Cb)({readOnly:!0})],k.prototype,"source",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,type:y.Z,json:{origins:{service:{read:!0}}}})],k.prototype,"spatialReference",void 0),(0,n._)([(0,a.Cb)({type:String,json:{write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{service:{name:"collection.title"}}}})],k.prototype,"title",void 0),(0,n._)([(0,a.Cb)({readOnly:!0,json:{read:!1}})],k.prototype,"type",void 0),(0,n._)([(0,a.Cb)({type:String,readOnly:!0})],k.prototype,"typeIdField",void 0),(0,n._)([(0,a.Cb)({type:[P.Z]})],k.prototype,"types",void 0),(0,n._)([(0,a.Cb)(F.HQ)],k.prototype,"url",void 0),k=(0,n._)([(0,l.j)("esri.layers.OGCFeatureLayer")],k);const V=k},70272:(e,t,r)=>{r.d(t,{nd:()=>o,ZP:()=>s,S6:()=>i});var n=r(70586);class s{constructor(e=null,t={},r,n){this.geometry=e,this.attributes=t,this.centroid=r,this.objectId=n,this.displayId=0,this.geohashX=0,this.geohashY=0}weakClone(){const e=new s(this.geometry,this.attributes,this.centroid,this.objectId);return e.displayId=this.displayId,e.geohashX=this.geohashX,e.geohashY=this.geohashY,e}}function i(e){return!((0,n.Wi)(e.geometry)||!e.geometry.coords||!e.geometry.coords.length)}class o extends s{}},44876:(e,t,r)=>{r.d(t,{Z:()=>n});class n{constructor(){this.objectIdFieldName=null,this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const e=new n;return e.objectIdFieldName=this.objectIdFieldName,e.globalIdFieldName=this.globalIdFieldName,e.geohashFieldName=this.geohashFieldName,e.geometryProperties=this.geometryProperties,e.geometryType=this.geometryType,e.spatialReference=this.spatialReference,e.hasZ=this.hasZ,e.hasM=this.hasM,e.features=this.features,e.fields=this.fields,e.transform=this.transform,e.exceededTransferLimit=this.exceededTransferLimit,e.uniqueIdField=this.uniqueIdField,e.queryGeometry=this.queryGeometry,e.queryGeometryType=this.queryGeometryType,e}}},5428:(e,t,r)=>{r.d(t,{Z:()=>n});class n{constructor(e=[],t=[],r=!1){this.lengths=null!=e?e:[],this.coords=null!=t?t:[],this.hasIndeterminateRingOrder=r}get isPoint(){return 0===this.lengths.length}get maxLength(){return Math.max(...this.lengths)}get size(){return this.lengths.reduce(((e,t)=>e+t))}forEachVertex(e){let t=0;this.lengths.length||e(this.coords[0],this.coords[1]);for(let r=0;r<this.lengths.length;r++){const n=this.lengths[r];for(let r=0;r<n;r++)e(this.coords[2*(r+t)],this.coords[2*(r+t)+1]);t+=n}}clone(e){return e?(e.set(this.coords),new n(this.lengths.slice(),e,this.hasIndeterminateRingOrder)):new n(this.lengths.slice(),this.coords.slice(),this.hasIndeterminateRingOrder)}}},61159:(e,t,r)=>{r.d(t,{g:()=>n});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCacheHint:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,maxRecordCountFactor:void 0,maxRecordCount:void 0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0}},98732:(e,t,r)=>{r.d(t,{XA:()=>j,h_:()=>H,Yn:()=>k,GH:()=>G,Uy:()=>Z,EI:()=>V,cn:()=>z,di:()=>$,Iv:()=>R,fQ:()=>x,eG:()=>A,J6:()=>M,oB:()=>ie,zj:()=>Q,$:()=>ee,lz:()=>se,RZ:()=>J,Nh:()=>Y,Jd:()=>b,IN:()=>v,hY:()=>re,lM:()=>W,$g:()=>te});var n=r(20102),s=r(92604),i=r(70586),o=r(33955),a=r(70272),l=r(44876),u=r(5428);function c(e,t){return e?t?4:3:t?3:2}const h=s.Z.getLogger("esri.tasks.support.optimizedFeatureSet"),d={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0},p=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i},f=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i,e[r+2]=t[n+2]},m=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i,e[r+2]=t[n+3]},y=(e,t,r,n,s,i)=>{e[r]=s,e[r+1]=i,e[r+2]=t[n+2],e[r+3]=t[n+3]};function g(e,t,r,n){if(e){if(r)return t&&n?y:f;if(t&&n)return m}else if(t&&n)return f;return p}function b({scale:e,translate:t},r){return Math.round((r-t[0])/e[0])}function v({scale:e,translate:t},r){return Math.round((t[1]-r)/e[1])}function _({scale:e,translate:t},r){return r*e[0]+t[0]}function w({scale:e,translate:t},r){return t[1]-r*e[1]}function x(e,t,r){return e?t?r?F(e):T(e):r?O(e):C(e):null}function C(e){const t=e.coords;return{x:t[0],y:t[1]}}function E(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e}function T(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2]}}function S(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e}function O(e){const t=e.coords;return{x:t[0],y:t[1],m:t[2]}}function I(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.m,e}function F(e){const t=e.coords;return{x:t[0],y:t[1],z:t[2],m:t[3]}}function q(e,t){return e.coords[0]=t.x,e.coords[1]=t.y,e.coords[2]=t.z,e.coords[3]=t.m,e}function P(e,t){return e&&t?q:e?S:t?I:E}function R(e,t,r){if((0,i.Wi)(e))return null;const n=c(t,r),s=[];for(let t=0;t<e.coords.length;t+=n){const r=[];for(let s=0;s<n;s++)r.push(e.coords[t+s]);s.push(r)}return t?r?{points:s,hasZ:t,hasM:r}:{points:s,hasZ:t}:r?{points:s,hasM:r}:{points:s}}function U(e,t,r=c(t.hasZ,t.hasM)){e.lengths[0]=t.points.length;const n=e.coords;let s=0;for(const e of t.points)for(let t=0;t<r;t++)n[s++]=e[t];return e}function M(e,t,r){if(!e)return null;const n=c(t,r),{coords:s,lengths:i}=e,o=[];let a=0;for(const e of i){const t=[];for(let r=0;r<e;r++){const e=[];for(let t=0;t<n;t++)e.push(s[a++]);t.push(e)}o.push(t)}return t?r?{paths:o,hasZ:t,hasM:r}:{paths:o,hasZ:t}:r?{paths:o,hasM:r}:{paths:o}}function L(e,t,r=c(t.hasZ,t.hasM)){const{lengths:n,coords:s}=e;let i=0;for(const e of t.paths){for(const t of e)for(let e=0;e<r;e++)s[i++]=t[e];n.push(e.length)}return e}function A(e,t,r){if(!e)return null;const n=c(t,r),{coords:s,lengths:i}=e,o=[];let a=0;for(const e of i){const t=[];for(let r=0;r<e;r++){const e=[];for(let t=0;t<n;t++)e.push(s[a++]);t.push(e)}o.push(t)}return t?r?{rings:o,hasZ:t,hasM:r}:{rings:o,hasZ:t}:r?{rings:o,hasM:r}:{rings:o}}function Z(e,t,r=t.hasZ,n=t.hasM){return function(e,t,r,n){const s=c(r,n),{lengths:i,coords:o}=e;let a=0;i.length=o.length=0;for(const e of t){for(const t of e)for(let e=0;e<s;e++)o[a++]=t[e];i.push(e.length)}}(e,t.rings,r,n),e}const D=[],N=[];function j(e,t,r,n,s){D[0]=e;const[i]=k(N,D,t,r,n,s);return D.length=N.length=0,i}function k(e,t,r,s,o,l){if(e.length=0,!r){for(const r of t){const t=r.attributes[l];e.push(new a.ZP(null,r.attributes,null,t))}return e}switch(r){case"esriGeometryPoint":return function(e,t,r,n,s){const i=P(r,n);for(const r of t){const{geometry:t,attributes:n}=r;let o;t&&(o=i(new u.Z,t)),e.push(new a.ZP(o,n,null,n[s]))}return e}(e,t,s,o,l);case"esriGeometryMultipoint":return function(e,t,r,n,s){const i=c(r,n);for(const r of t){const t=r.geometry,n=r.attributes;let o;t&&(o=U(new u.Z,t,i)),e.push(new a.ZP(o,n,null,n[s]))}return e}(e,t,s,o,l);case"esriGeometryPolyline":return function(e,t,r,n,s){const i=c(r,n);for(const r of t){const t=r.geometry,n=r.attributes;let o;t&&(o=L(new u.Z,t,i)),e.push(new a.ZP(o,n,null,n[s]))}return e}(e,t,s,o,l);case"esriGeometryPolygon":return function(e,t,r,n,s){for(const o of t){const t=o.geometry,l=o.centroid,c=o.attributes;let h;t&&(h=Z(new u.Z,t,r,n)),(0,i.pC)(l)?e.push(new a.ZP(h,c,E(new u.Z,l),c[s])):e.push(new a.ZP(h,c,null,c[s]))}return e}(e,t,s,o,l);default:h.error("convertToFeatureSet:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${r}'`)),e.length=0}return e}function V(e,t,r,n){N[0]=e,B(D,N,t,r,n);const s=D[0];return D.length=N.length=0,s}function G(e,t,r){if((0,i.Wi)(e))return null;const s=new u.Z;return"hasZ"in e&&null==t&&(t=e.hasZ),"hasM"in e&&null==r&&(r=e.hasM),(0,o.wp)(e)?P(null!=t?t:null!=e.z,null!=r?r:null!=e.m)(s,e):(0,o.oU)(e)?Z(s,e,t,r):(0,o.l9)(e)?L(s,e,c(t,r)):(0,o.aW)(e)?U(s,e,c(t,r)):void h.error("convertFromGeometry:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${e}'`))}function $(e,t,r,s){const o=e&&("coords"in e?e:e.geometry);if((0,i.Wi)(o))return null;switch(t){case"esriGeometryPoint":{let e=C;return r&&s?e=F:r?e=T:s&&(e=O),e(o)}case"esriGeometryMultipoint":return R(o,r,s);case"esriGeometryPolyline":return M(o,r,s);case"esriGeometryPolygon":return A(o,r,s);default:return void h.error("convertToGeometry:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${t}'`))}}function B(e,t,r,s,o){if(e.length=0,(0,i.Wi)(r))return function(e,t){for(const r of t)e.push({attributes:r.attributes});return e}(e,t);switch(r){case"esriGeometryPoint":return function(e,t,r,n){let s=C;r&&n?s=F:r?s=T:n&&(s=O);for(const r of t){const{geometry:t,attributes:n}=r,o=(0,i.pC)(t)?s(t):null;e.push({attributes:n,geometry:o})}return e}(e,t,s,o);case"esriGeometryMultipoint":return function(e,t,r,n){for(const s of t){const{geometry:t,attributes:i}=s;let o;t&&(o=R(t,r,n)),e.push({attributes:i,geometry:o})}return e}(e,t,s,o);case"esriGeometryPolyline":return function(e,t,r,n){for(const s of t){const{geometry:t,attributes:o}=s;let a;(0,i.pC)(t)&&(a=M(t,r,n)),e.push({attributes:o,geometry:a})}return e}(e,t,s,o);case"esriGeometryPolygon":return function(e,t,r,n){for(const s of t){const{geometry:t,attributes:o,centroid:a}=s;let l;if((0,i.pC)(t)&&(l=A(t,r,n)),a){const t=C(a);e.push({attributes:o,centroid:t,geometry:l})}else e.push({attributes:o,geometry:l})}return e}(e,t,s,o);default:h.error("convertToFeatureSet:unknown-geometry",new n.Z(`Unable to parse unknown geometry type '${r}'`))}return e}function z(e){const{objectIdFieldName:t,spatialReference:r,transform:n,fields:s,hasM:i,hasZ:o,features:a,geometryType:l,exceededTransferLimit:u,uniqueIdField:c,queryGeometry:h,queryGeometryType:d}=e,p={features:B([],a,l,o,i),fields:s,geometryType:l,objectIdFieldName:t,spatialReference:r,uniqueIdField:c,queryGeometry:$(h,d,!1,!1)};return n&&(p.transform=n),u&&(p.exceededTransferLimit=u),i&&(p.hasM=i),o&&(p.hasZ=o),p}function H(e,t){const r=new l.Z,{hasM:s,hasZ:i,features:o,objectIdFieldName:a,spatialReference:u,geometryType:c,exceededTransferLimit:d,transform:p,fields:f}=e;return f&&(r.fields=f),r.geometryType=c,r.objectIdFieldName=a||t,r.spatialReference=u,r.objectIdFieldName?(o&&k(r.features,o,c,i,s,r.objectIdFieldName),d&&(r.exceededTransferLimit=d),s&&(r.hasM=s),i&&(r.hasZ=i),p&&(r.transform=p),r):(h.error(new n.Z("optimized-features:invalid-objectIdFieldName","objectIdFieldName is missing")),r)}function W(e){const{transform:t,features:r,hasM:n,hasZ:s}=e;if(!t)return e;for(const e of r)(0,i.pC)(e.geometry)&&te(e.geometry,e.geometry,n,s,t),e.centroid&&te(e.centroid,e.centroid,n,s,t);return e.transform=null,e}function J(e,t){const{geometryType:r,features:n,hasM:s,hasZ:i}=t;if(!e)return t;for(let t=0;t<n.length;t++){const o=n[t],a=o.weakClone();a.geometry=new u.Z,Y(a.geometry,o.geometry,s,i,r,e),o.centroid&&(a.centroid=new u.Z,Y(a.centroid,o.centroid,s,i,"esriGeometryPoint",e)),n[t]=a}return t.transform=e,t}function Y(e,t,r,n,s,o,a=r,l=n){if(e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0),(0,i.Wi)(t)||!t.coords.length)return null;const u=d[s],{coords:h,lengths:p}=t,f=c(r,n),m=c(r&&a,n&&l),y=g(r,n,a,l);if(!p.length)return y(e.coords,h,0,0,b(o,h[0]),v(o,h[1])),e.lengths.length&&(e.lengths.length=0),e.coords.length=f,e;let _,w,x,C,E=0,T=0,S=T;for(const t of p){if(t<u)continue;let r=0;T=S,x=_=b(o,h[E]),C=w=v(o,h[E+1]),y(e.coords,h,T,E,x,C),r++,E+=f,T+=m;for(let n=1;n<t;n++,E+=f)x=b(o,h[E]),C=v(o,h[E+1]),x===_&&C===w||(y(e.coords,h,T,E,x-_,C-w),T+=m,r++,_=x,w=C);r>=u&&(e.lengths.push(r),S=T)}return e.coords.length=S,e.coords.length?e:null}function Q(e,t,r,n,s,i,o=r,a=n){if(e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0),!t||!t.coords.length)return null;const l=d[s],{coords:u,lengths:h}=t,p=c(r,n),f=c(r&&o,n&&a),m=g(r,n,o,a);if(!h.length)return m(e.coords,u,0,0,u[0],u[1]),e.lengths.length&&(e.lengths.length=0),e.coords.length=p,e;let y=0;const b=i*i;for(const t of h){if(t<l){y+=t*p;continue}const r=e.coords.length/f,n=y,s=y+(t-1)*p;m(e.coords,u,e.coords.length,n,u[n],u[n+1]),X(e.coords,u,p,b,m,n,s),m(e.coords,u,e.coords.length,s,u[s],u[s+1]);const i=e.coords.length/f-r;i>=l?e.lengths.push(i):e.coords.length=r*f,y+=t*p}return e.coords.length?e:null}function K(e,t,r,n){const s=e[t],i=e[t+1],o=e[r],a=e[r+1],l=e[n],u=e[n+1];let c=o,h=a,d=l-c,p=u-h;if(0!==d||0!==p){const e=((s-c)*d+(i-h)*p)/(d*d+p*p);e>1?(c=l,h=u):e>0&&(c+=d*e,h+=p*e)}return d=s-c,p=i-h,d*d+p*p}function X(e,t,r,n,s,i,o){let a,l=n,u=0;for(let e=i+r;e<o;e+=r)a=K(t,e,i,o),a>l&&(u=e,l=a);l>n&&(u-i>r&&X(e,t,r,n,s,i,u),s(e,t,e.length,u,t[u],t[u+1]),o-u>r&&X(e,t,r,n,s,u,o))}function ee(e,t,r,n){if((0,i.Wi)(t)||!t.coords||!t.coords.length)return null;const s=c(r,n);let o=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(t&&t.coords){const e=t.coords;for(let t=0;t<e.length;t+=s){const r=e[t],n=e[t+1];o=Math.min(o,r),l=Math.max(l,r),a=Math.min(a,n),u=Math.max(u,n)}}return e[0]=o,e[1]=a,e[2]=l,e[3]=u,e}function te(e,t,r,n,s){const{coords:i,lengths:o}=t,a=r?n?y:f:n?f:p,l=c(r,n);if(!i.length)return e!==t&&(e.lengths.length=0,e.coords.length=0),e;if(!o.length)return a(e.coords,i,0,0,_(s,i[0]),w(s,i[1])),e!==t&&(e.lengths.length=0,e.coords.length=l),e;const[u,h]=s.scale;let d=0;for(let t=0;t<o.length;t++){const r=o[t];e.lengths[t]=r;let n=_(s,i[d]),c=w(s,i[d+1]);a(e.coords,i,d,d,n,c),d+=l;for(let t=1;t<r;t++,d+=l)n+=i[d]*u,c-=i[d+1]*h,a(e.coords,i,d,d,n,c)}return e!==t&&(e.lengths.length=o.length,e.coords.length=i.length),e}function re(e,t,r,n,s,i){const o=c(r,n),a=g(r,n,s,i),l=t.coords;e.coords.length=0,e.lengths.length=0,e.lengths.push(...t.lengths);for(let t=0;t<l.length;t+=o)a(e.coords,l,e.coords.length,t,l[t],l[t+1]);return e}function ne(e,t,r,n){let s=0,i=e[n*t],o=e[n*(t+1)];for(let a=1;a<r;a++){const r=i+e[n*(t+a)],l=o+e[n*(t+a)+1],u=(r-i)*(l+o);i=r,o=l,s+=u}return.5*s}function se(e,t){const{coords:r,lengths:n}=e;let s=0,i=0;for(let e=0;e<n.length;e++)i+=ne(r,s,n[e],t),s+=e;return Math.abs(i)}function ie(e,t){if((0,i.Wi)(e))return null;const r=e.clone(),n=e.coords,s=e.lengths;let o=0;for(let e=0;e<s.length;e++){const i=s[e];let a=n[t*o],l=n[t*o+1];for(let e=1;e<i;e++){const s=a+n[t*(o+e)],i=l+n[t*(o+e)+1];r.coords[t*(o+e)]=s,r.coords[t*(o+e)+1]=i,a=s,l=i}o+=i}return r}},54295:(e,t,r)=>{r.d(t,{V:()=>o});var n=r(43697),s=r(5600),i=(r(67676),r(80442),r(75215),r(52011));const o=e=>{let t=class extends e{get apiKey(){var e;return this._isOverridden("apiKey")?this._get("apiKey"):function(e){return"portalItem"in e}(this)?null==(e=this.portalItem)?void 0:e.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,n._)([(0,s.Cb)({type:String})],t.prototype,"apiKey",null),t=(0,n._)([(0,i.j)("esri.layers.mixins.APIKeyMixin")],t),t}},68825:(e,t,r)=>{r.d(t,{c:()=>m});var n,s=r(43697),i=r(78286),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),l=r(35454),u=r(96674);const c=new l.Xn({asc:"ascending",desc:"descending"});let h=n=class extends u.wq{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new n({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,s._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"field",void 0),(0,s._)([(0,o.Cb)({type:String,json:{write:!0}})],h.prototype,"valueExpression",void 0),(0,s._)([(0,o.Cb)({type:c.apiValues,json:{read:c.read,write:c.write}})],h.prototype,"order",void 0),h=n=(0,s._)([(0,a.j)("esri.layers.support.OrderByInfo")],h);const d=h;function p(e,t,r){if(!e)return null;const n=e.find((e=>!!e.field));if(!n)return null;const s=new d;return s.read(n,r),[s]}function f(e,t,r,n){const s=e.find((e=>!!e.field));s&&(0,i.RB)(r,[s.toJSON()],t)}const m=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,s._)([(0,o.Cb)({type:[d],json:{origins:{"web-scene":{write:!1,read:!1}},read:{source:"layerDefinition.orderBy",reader:p},write:{target:"layerDefinition.orderBy",writer:f}}})],t.prototype,"orderBy",void 0),t=(0,s._)([(0,a.j)("esri.layers.mixins.OrderedLayer")],t),t}},16859:(e,t,r)=>{r.d(t,{I:()=>_});var n=r(43697),s=r(40330),i=r(3172),o=r(66643),a=r(20102),l=r(92604),u=r(70586),c=r(95330),h=r(17452),d=r(5600),p=(r(67676),r(80442),r(75215),r(71715)),f=r(52011),m=r(30556),y=r(65587),g=r(15235),b=r(86082);const v=l.Z.getLogger("esri.layers.mixins.PortalLayer"),_=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0}destroy(){var e;null==(e=this.portalItem)||e.destroy(),this.portalItem=null}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.default({id:t.itemId,portal:r&&r.portal})}writePortalItem(e,t){e&&e.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem&&this.portalItem.id)try{const n=await r.e(8062).then(r.bind(r,18062));return(0,c.k_)(t),await n.load({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData},t)}catch(e){throw(0,c.D_)(e)||v.warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch((e=>((0,c.r9)(e),!0))))}async _fetchUserHasEditingPrivileges(e){const t=this.url?null==s.id?void 0:s.id.findCredential(this.url):null;if(!t)return!0;const r=w.credential===t?w.user:await this._fetchEditingUser(e);return w.credential=t,w.user=r,(0,u.Wi)(r)||null==r.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){var t,r;const n=null==(t=this.portalItem)||null==(r=t.portal)?void 0:r.user;if(n)return n;const a=s.id.findServerInfo(this.url);if(null==a||!a.owningSystemUrl)return null;const l=`${a.owningSystemUrl}/sharing/rest`,c=y.Z.getDefault();if(c&&c.loaded&&(0,h.Fv)(c.restUrl)===(0,h.Fv)(l))return c.user;const d=`${l}/community/self`,p=(0,u.pC)(e)?e.signal:null,f=await(0,o.q6)((0,i.default)(d,{authMode:"no-prompt",query:{f:"json"},signal:p}));return f.ok?b.default.fromJSON(f.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t&&t.portal,n=this.portalItem&&this.portalItem.id&&(this.portalItem.portal||y.Z.getDefault());return r&&n&&!(0,h.tm)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.Z("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save the scene, set the layer.portalItem to null or save the scene to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n._)([(0,d.Cb)({type:g.default})],t.prototype,"portalItem",null),(0,n._)([(0,p.r)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,n._)([(0,m.c)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,n._)([(0,d.Cb)()],t.prototype,"resourceReferences",void 0),(0,n._)([(0,d.Cb)({readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),t=(0,n._)([(0,f.j)("esri.layers.mixins.PortalLayer")],t),t},w={credential:null,user:null}},70082:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(43697),s=r(35454),i=r(96674),o=r(5600),a=(r(67676),r(80442),r(75215),r(52011));const l=new s.Xn({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 u=class extends i.wq{constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"name",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"description",void 0),(0,n._)([(0,o.Cb)({json:{read:l.read,write:l.write}})],u.prototype,"drawingTool",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,n._)([(0,o.Cb)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,n._)([(0,a.j)("esri.layers.support.FeatureTemplate")],u);const c=u},16451:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(43697),s=r(96674),i=r(5600),o=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),l=r(30556),u=r(72729),c=r(70082);let h=class extends s.wq{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,u.im)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e)){var n;e[t]&&(r[t]=null==(n=e[t])?void 0:n.toJSON())}t.domains=r}};(0,n._)([(0,i.Cb)({json:{write:!0}})],h.prototype,"id",void 0),(0,n._)([(0,i.Cb)({json:{write:!0}})],h.prototype,"name",void 0),(0,n._)([(0,i.Cb)({json:{write:!0}})],h.prototype,"domains",void 0),(0,n._)([(0,o.r)("domains")],h.prototype,"readDomains",null),(0,n._)([(0,l.c)("domains")],h.prototype,"writeDomains",null),(0,n._)([(0,i.Cb)({type:[c.Z],json:{write:!0}})],h.prototype,"templates",void 0),h=(0,n._)([(0,a.j)("esri.layers.support.FeatureType")],h);const d=h},35671:(e,t,r)=>{r.d(t,{io:()=>g,AB:()=>y,gd:()=>m,Mu:()=>_,Q0:()=>f,YN:()=>c,UF:()=>d,O5:()=>b,os:()=>w,H7:()=>P,qN:()=>R,Pz:()=>L,Qc:()=>A,vP:()=>V});var n,s,i=r(20102),o=r(78286);(s=n||(n={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",s.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";var a=r(59266);const l=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],u=["field","normalizationField"];function c(e,t){if(null!=e&&null!=t)for(const r of Array.isArray(e)?e:[e])if(h(l,r,t),"visualVariables"in r&&r.visualVariables)for(const e of r.visualVariables)h(u,e,t)}function h(e,t,r){if(e)for(const n of e){const e=(0,o.hS)(n,t),s=e&&"function"!=typeof e&&r.get(e);s&&(0,o.RB)(n,s.name,t)}}function d(e,t){if(null!=e&&null!=t&&t.fields.length)if("startField"in e){const r=t.get(e.startField),n=t.get(e.endField);e.startField=r&&r.name||null,e.endField=n&&n.name||null}else{const r=t.get(e.startTimeField),n=t.get(e.endTimeField);e.startTimeField=r&&r.name||null,e.endTimeField=n&&n.name||null}}const p=new Set;function f(e,t){return e&&t?(p.clear(),m(p,e,t),Array.from(p).sort()):[]}function m(e,t,r){var n;if(r)if(null!=t&&null!=(n=t.fields)&&n.length)if(r.includes("*"))for(const{name:r}of t.fields)e.add(r);else for(const n of r)y(e,t,n);else{if(r.includes("*"))return e.clear(),void e.add("*");for(const t of r)e.add(t)}}function y(e,t,r){if("string"==typeof r)if(t){const n=t.get(r);n&&e.add(n.name)}else e.add(r)}async function g(e,t,r){var n;if(!r)return;const{arcadeUtils:s}=await(0,a.LC)(),i=s.extractFieldNames(r,null==t||null==(n=t.fields)?void 0:n.map((e=>e.name)));for(const r of i)y(e,t,r)}function b({displayField:e,fields:t}){return e||(t&&t.length?v(t,"name-or-title")||v(t,"unique-identifier")||v(t,"type-or-category")||function(e){for(const t of e){if(!t||!t.name)continue;const e=t.name.toLowerCase();if(e.indexOf("name")>-1||e.indexOf("title")>-1)return t.name}return null}(t):null)}function v(e,t){for(const r of e)if(r&&r.valueType&&r.valueType===t)return r.name;return null}async function _(e,t){const{labelingInfo:n,fieldsIndex:s}=t;n&&n.length&&await Promise.all(n.map((t=>async function(e,t,n){if(!n)return;const s=n.getLabelExpression(),o=n.where;if("arcade"===s.type)await g(e,t,s.expression);else{const r=s.expression.match(/{[^}]*}/g);r&&r.forEach((r=>{y(e,t,r.slice(1,-1))}))}await async function(e,t,n){if(n&&"1=1"!==n){const s=(await Promise.all([r.e(1534),r.e(5732)]).then(r.bind(r,41534))).WhereClause.create(n,t);if(!s.isStandardized)throw new i.Z("fieldUtils:collectFilterFields","Where clause is not standardized");m(e,t,s.fieldNames)}}(e,t,o)}(e,s,t))))}function w(e){const t=e.defaultValue;return void 0!==t&&F(e,t)?t:e.nullable?null:void 0}function x(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function C(e){return null===e||x(e)}const E="isInteger"in Number?Number.isInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e;function T(e){return null===e||E(e)}function S(e){return null!=e&&"string"==typeof e}function O(e){return null===e||S(e)}function I(){return!0}function F(e,t){let r;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":r=e.nullable?T:E;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":r=e.nullable?C:x;break;case"string":case"esriFieldTypeString":r=e.nullable?O:S;break;default:r=I}return 1===arguments.length?r:r(t)}const q=new Set(["integer","small-integer","single","double","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]);function P(e){return null!=e&&q.has(e.type)}function R(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}var U,M;function L(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function A(e,t){return e.nullable&&null===t?null:P(e)&&!function(e,t){const r="string"==typeof e?Z(e):e;return!!r&&(r.isInteger?E(t)&&t>=r.min&&t<=r.max:t>=r.min&&t<=r.max)}(e.type,Number(t))?U.OUT_OF_RANGE:F(e,t)?e.domain?function(e,t){switch(e.type){case"range":{const r="range"in e?e.range[0]:e.minValue,s="range"in e?e.range[1]:e.maxValue;if(+t<r||+t>s)return n.VALUE_OUT_OF_RANGE;break}case"coded-value":case"codedValue":if(null==e.codedValues||e.codedValues.every((e=>null==e||e.code!==t)))return n.INVALID_CODED_VALUE}return null}(e.domain,t):null:M.INVALID_TYPE}function Z(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return D;case"esriFieldTypeInteger":case"integer":return N;case"esriFieldTypeSingle":case"single":return j;case"esriFieldTypeDouble":case"double":return k}}!function(e){e.OUT_OF_RANGE="numeric-range-validation-error::out-of-range"}(U||(U={})),function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(M||(M={}));const D={min:-32768,max:32767,isInteger:!0},N={min:-2147483648,max:2147483647,isInteger:!0},j={min:-34e37,max:12e37,isInteger:!1},k={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1};function V(e,t,r){switch(e){case n.INVALID_CODED_VALUE:return`Value ${r} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case n.VALUE_OUT_OF_RANGE:return`Value ${r} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case M.INVALID_TYPE:return`Value ${r} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case U.OUT_OF_RANGE:{const{min:e,max:n}=Z(t.type);return`Value ${r} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${n}`}}}},99282:(e,t,r)=>{r.d(t,{a:()=>i});var n=r(67900),s=r(68441);const i={inches:(0,n.En)(1,"meters","inches"),feet:(0,n.En)(1,"meters","feet"),"us-feet":(0,n.En)(1,"meters","us-feet"),yards:(0,n.En)(1,"meters","yards"),miles:(0,n.En)(1,"meters","miles"),"nautical-miles":(0,n.En)(1,"meters","nautical-miles"),millimeters:(0,n.En)(1,"meters","millimeters"),centimeters:(0,n.En)(1,"meters","centimeters"),decimeters:(0,n.En)(1,"meters","decimeters"),meters:(0,n.En)(1,"meters","meters"),kilometers:(0,n.En)(1,"meters","kilometers"),"decimal-degrees":1/(0,n.ty)(1,"meters",s.sv.radius)}},51706:(e,t,r)=>{var n,s;function i(e){return e&&"esri.renderers.visualVariables.SizeVariable"===e.declaredClass}function o(e){return null!=e&&!isNaN(e)&&isFinite(e)}function a(e){return e.valueExpression?n.Expression:e.field&&"string"==typeof e.field?n.Field:n.Unknown}function l(e,t){const r=t||a(e),i=e.valueUnit||"unknown";return r===n.Unknown?s.Constant:e.stops?s.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?s.ClampedLinear:"unknown"===i?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?s.Proportional:s.Additive:s.Identity:s.RealWorldSize}r.d(t,{RY:()=>n,hL:()=>s,PS:()=>a,QW:()=>l,iY:()=>i,qh:()=>o}),function(e){e.Unknown="unknown",e.Expression="expression",e.Field="field"}(n||(n={})),function(e){e.Unknown="unknown",e.Stops="stops",e.ClampedLinear="clamped-linear",e.Proportional="proportional",e.Additive="additive",e.Constant="constant",e.Identity="identity",e.RealWorldSize="real-world-size"}(s||(s={}))},28101:(e,t,r)=>{r.d(t,{PR:()=>x,Lq:()=>f,Km:()=>m,cM:()=>y,ap:()=>g,V3:()=>_,B3:()=>p});var n=r(22303),s=r(1692),i=r(74085),o=r(92604),a=r(70586),l=r(99282),u=r(51706);const c=o.Z.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),h=new s.Z,d=Math.PI,p=/^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i;function f(e,t,r){const s="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"color"===e.type))[0]:e;if(!s)return;if("esri.renderers.visualVariables.ColorVariable"!==s.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");const i="number"==typeof t,o=i?null:t,l=o&&o.attributes;let u=i?t:null;const h=s.field,{ipData:d,hasExpression:p}=s.cache;let f=s.cache.compiledFunc;if(!h&&!p){const e=s.stops;return e&&e[0]&&e[0].color}if("number"!=typeof u)if(p){if(!(0,a.pC)(r)||!(0,a.pC)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,n=t.getViewInfo(e),i=t.createExecContext(o,n);if(!f){const e=t.createSyntaxTree(s.valueExpression);f=t.createFunction(e),s.cache.compiledFunc=f}u=t.executeFunction(f,i)}else l&&(u=l[h]);const m=s.normalizationField,y=l?parseFloat(l[m]):void 0;if(null!=u&&(!m||i||!isNaN(y)&&0!==y)){isNaN(y)||i||(u/=y);const e=w(u,d);if(e){const t=e[0],i=e[1],o=t===i?s.stops[t].color:n.Z.blendColors(s.stops[t].color,s.stops[i].color,e[2],(0,a.pC)(r)?r.color:void 0);return new n.Z(o)}}}function m(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"opacity"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.OpacityVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");const s="number"==typeof t,i=s?null:t,o=i&&i.attributes;let l=s?t:null;const u=n.field,{ipData:h,hasExpression:d}=n.cache;let p=n.cache.compiledFunc;if(!u&&!d){const e=n.stops;return e&&e[0]&&e[0].opacity}if("number"!=typeof l)if(d){if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,s=t.getViewInfo(e),o=t.createExecContext(i,s);if(!p){const e=t.createSyntaxTree(n.valueExpression);p=t.createFunction(e),n.cache.compiledFunc=p}l=t.executeFunction(p,o)}else o&&(l=o[u]);const f=n.normalizationField,m=o?parseFloat(o[f]):void 0;if(null!=l&&(!f||s||!isNaN(m)&&0!==m)){isNaN(m)||s||(l/=m);const e=w(l,h);if(e){const t=e[0],r=e[1];if(t===r)return n.stops[t].opacity;{const s=n.stops[t].opacity;return s+(n.stops[r].opacity-s)*e[2]}}}}function y(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"rotation"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.RotationVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");const s=n.axis||"heading",i="heading"===s&&"arithmetic"===n.rotationType?90:0,o="heading"===s&&"arithmetic"===n.rotationType?-1:1,l="number"==typeof t?null:t,u=l&&l.attributes,h=n.field,{hasExpression:d}=n.cache;let p=n.cache.compiledFunc,f=0;if(!h&&!d)return f;if(d){if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const e={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},t=r.arcade.arcadeUtils,s=t.getViewInfo(e),i=t.createExecContext(l,s);if(!p){const e=t.createSyntaxTree(n.valueExpression);p=t.createFunction(e),n.cache.compiledFunc=p}f=t.executeFunction(p,i)}else u&&(f=u[h]||0);return f="number"!=typeof f||isNaN(f)?null:i+o*f,f}function g(e,t,r){const n="visualVariables"in e&&e.visualVariables?e.visualVariables.filter((e=>"size"===e.type))[0]:e;if(!n)return;if("esri.renderers.visualVariables.SizeVariable"!==n.declaredClass)return void c.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");const s=function(e,t,r,n,s){switch(t.transformationType){case u.hL.Additive:return function(e,t,r,n){return e+(b(t.minSize,r,n)||t.minDataValue)}(e,t,r,n);case u.hL.Constant:return function(e,t,r){const n=e.stops;let s=n&&n.length&&n[0].size;return null==s&&(s=e.minSize),b(s,t,r)}(t,r,n);case u.hL.ClampedLinear:return function(e,t,r,n){const s=(e-t.minDataValue)/(t.maxDataValue-t.minDataValue),i=b(t.minSize,r,n),o=b(t.maxSize,r,n),l=(0,a.pC)(n)?n.shape:void 0;if(e<=t.minDataValue)return i;if(e>=t.maxDataValue)return o;if("area"===t.scaleBy&&l){const e="circle"===l,t=e?d*(i/2)**2:i*i,r=t+s*((e?d*(o/2)**2:o*o)-t);return e?2*Math.sqrt(r/d):Math.sqrt(r)}return i+s*(o-i)}(e,t,r,n);case u.hL.Proportional:return function(e,t,r,n){const s=(0,a.pC)(n)?n.shape:void 0,i=e/t.minDataValue,o=b(t.minSize,r,n),l=b(t.maxSize,r,n);let u=null;return u="circle"===s?2*Math.sqrt(i*(o/2)**2):"square"===s||"diamond"===s||"image"===s?Math.sqrt(i*o**2):i*o,v(u,o,l)}(e,t,r,n);case u.hL.Stops:return function(e,t,r,n,s){const[i,o,a]=w(e,s);if(i===o)return b(t.stops[i].size,r,n);{const e=b(t.stops[i].size,r,n);return e+(b(t.stops[o].size,r,n)-e)*a}}(e,t,r,n,s);case u.hL.RealWorldSize:return function(e,t,r,n){const s=((0,a.pC)(n)&&n.resolution?n.resolution:1)*l.a[t.valueUnit],i=b(t.minSize,r,n),o=b(t.maxSize,r,n),{valueRepresentation:u}=t;let c=null;return c="area"===u?2*Math.sqrt(e/d)/s:"radius"===u||"distance"===u?2*e/s:e/s,v(c,i,o)}(e,t,r,n);case u.hL.Identity:return e;case u.hL.Unknown:return null}}(function(e,t,r){const n="number"==typeof t,s=n?null:t,i=s&&s.attributes;let o=n?t:null;const{isScaleDriven:l}=e.cache;let h=e.cache.compiledFunc;if(l){const t=(0,a.pC)(r)?r.scale:void 0,n=(0,a.pC)(r)?r.view:void 0;o=null==t||"3d"===n?function(e){let t=null,r=null;const n=e.stops;return n?(t=n[0].value,r=n[n.length-1].value):(t=e.minDataValue||0,r=e.maxDataValue||0),(t+r)/2}(e):t}else if(!n)switch(e.inputValueType){case u.RY.Expression:{if((0,a.Wi)(r)||(0,a.Wi)(r.arcade))return void c.error("Use of arcade expressions requires an arcade context");const t={viewingMode:r.viewingMode,scale:r.scale,spatialReference:r.spatialReference},n=r.arcade.arcadeUtils,i=n.getViewInfo(t),l=n.createExecContext(s,i);if(!h){const t=n.createSyntaxTree(e.valueExpression);h=n.createFunction(t),e.cache.compiledFunc=h}o=n.executeFunction(h,l);break}case u.RY.Field:i&&(o=i[e.field]);break;case u.RY.Unknown:o=null}if(!(0,u.qh)(o))return null;if(n||!e.normalizationField)return o;const d=i?parseFloat(i[e.normalizationField]):null;return(0,u.qh)(d)&&0!==d?o/d:null}(n,t,r),n,t,r,n.cache.ipData);return null==s||isNaN(s)?0:s}function b(e,t,r){return null==e?null:(0,u.iY)(e)?g(e,t,r):(0,u.qh)(e)?e:null}function v(e,t,r){return(0,u.qh)(r)&&e>r?r:(0,u.qh)(t)&&e<t?t:e}function _(e,t,r){const{isScaleDriven:n}=e.cache;if(!(n&&"3d"===r||t))return null;const s={scale:t,view:r};let i=b(e.minSize,h,s),o=b(e.maxSize,h,s);if(null!=i||null!=o){if(i>o){const e=o;o=i,i=e}return{minSize:i,maxSize:o}}}function w(e,t){if(!t)return;let r=0,n=t.length-1;return t.some(((t,s)=>e<t?(n=s,!0):(r=s,!1))),[r,n,(e-t[r])/(t[n]-t[r])]}function x(e,t,r){const n=["proportional","proportional","proportional"];for(const s of e){const e=s.useSymbolValue?"symbol-value":g(s,t,r);switch(s.axis){case"width":n[0]=e;break;case"depth":n[1]=e;break;case"height":n[2]=e;break;case"width-and-depth":n[0]=e,n[1]=e;break;case"all":case void 0:case null:n[0]=e,n[1]=e,n[2]=e;break;default:(0,i.Bg)(s.axis)}}return n}},3172:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(68773),s=r(40330),i=r(20102),o=r(80442),a=r(22974),l=r(70586),u=r(95330),c=r(17452),h=r(71058),d=r(85958);async function p(e,t){var a;const d=(0,c.HK)(e),g=(0,c.jc)(e);g||d||(e=(0,c.Fv)(e));const b={url:e,requestOptions:{...(0,l.Wg)(t)}};let v=(0,c.oh)(e);if(v){const e=await async function(e,t){if(null!=e.responseData)return e.responseData;if(e.headers&&(t.requestOptions.headers={...t.requestOptions.headers,...e.headers}),e.query&&(t.requestOptions.query={...t.requestOptions.query,...e.query}),e.before){let r,n;try{n=await e.before(t)}catch(e){r=C("request:interceptor",e,t)}if((n instanceof Error||n instanceof i.Z)&&(r=C("request:interceptor",n,t)),r)throw e.error&&e.error(r),r;return n}}(v,b);if(null!=e)return{data:e,getHeader:_,requestOptions:b.requestOptions,url:b.url};v.after||v.error||(v=null)}if(e=b.url,"image"===(t=b.requestOptions).responseType){if((0,o.Z)("host-webworker")||(0,o.Z)("host-node"))throw C("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),b)}else if(d)throw C("request:invalid-parameters",new Error("Data URLs are not supported for responseType = "+t.responseType),b);if("head"===t.method){if(t.body)throw C("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),b);if(d||g)throw C("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),b)}if(await async function(){(0,o.Z)("host-webworker")?f||(f=await Promise.all([r.e(102),r.e(9884)]).then(r.bind(r,29884))):p._abortableFetch||(p._abortableFetch=globalThis.fetch.bind(globalThis))}(),f)return f.execute(e,t);const w=new AbortController;(0,u.fu)(t,(()=>w.abort()));const x={controller:w,credential:null,credentialToken:null,fetchOptions:null,hasToken:!1,interceptor:v,params:b,redoRequest:!1,useIdentity:m.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},O=await async function(e){var t,r;let i,o;await async function(e){const t=e.params.url,r=e.params.requestOptions,i=e.controller.signal,o=r.body;let a=null,l=null,c=null;if(y&&"HTMLFormElement"in globalThis&&(o instanceof FormData?a=o:o instanceof HTMLFormElement&&(l=o,a=new FormData(l))),"string"==typeof o&&(c=o),e.fetchOptions={cache:r.cacheBust&&!p._abortableFetch.polyfill?"no-cache":"default",credentials:"same-origin",headers:r.headers||{},method:"head"===r.method?"HEAD":"GET",mode:"cors",redirect:"follow",signal:i},(a||c)&&(e.fetchOptions.body=a||c),"anonymous"===r.authMode&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(t)||r.query&&r.query.token||a&&a.get&&a.get("token")||l&&l.elements.token),!e.hasToken&&n.Z.apiKey&&(0,h.r)(t)&&(r.query||(r.query={}),r.query.token=n.Z.apiKey,e.hasToken=!0),e.useIdentity&&!e.hasToken&&!e.credentialToken&&!T(t)&&!(0,u.Hc)(i)){let n;"immediate"===r.authMode?(await E(),n=await s.id.getCredential(t,{signal:i}),e.credential=n):"no-prompt"===r.authMode?(await E(),n=await s.id.getCredential(t,{prompt:!1,signal:i}).catch((()=>{})),e.credential=n):s.id&&(n=s.id.findCredential(t)),n&&(e.credentialToken=n.token,e.useSSL=!!n.ssl)}}(e);try{do{[i,o]=await S(e)}while(!await I(e,i,o))}catch(t){const r=C("request:server",t,e.params,i);throw r.details.ssl=e.useSSL,e.interceptor&&e.interceptor.error&&e.interceptor.error(r),r}const a=e.params.url;if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(a)&&!e.hasToken&&!e.credentialToken&&null!=(t=o)&&null!=(r=t.user)&&r.username&&!(0,c.kl)(a)){const e=(0,c.P$)(a,!0);e&&m.trustedServers.push(e)}const l=e.credential;if(l&&s.id){const e=s.id.findServerInfo(l.server);let t=e&&e.owningSystemUrl;if(t){t=t.replace(/\/?$/,"/sharing");const e=s.id.findCredential(t,l.userId);e&&-1===s.id._getIdenticalSvcIdx(t,e)&&e.resources.unshift(t)}}return{data:o,getHeader:i?e=>i.headers.get(e):_,requestOptions:e.params.requestOptions,ssl:e.useSSL,url:e.params.url}}(x);return null==(a=v)||null==a.after||a.after(O),O}let f;const m=n.Z.request,y="FormData"in globalThis,g=[499,498,403,401],b=["COM_0056","COM_0057","SB_0008"],v=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i],_=()=>null,w=Symbol();function x(e){const t=(0,c.P$)(e);return!t||t.endsWith(".arcgis.com")||p._corsServers.includes(t)||(0,c.kl)(t)}function C(e,t,r,n){let s="Error";const o={url:r.url,requestOptions:r.requestOptions,getHeader:_,ssl:!1};if(t instanceof i.Z)return t.details?(t.details=(0,a.d9)(t.details),t.details.url=r.url,t.details.requestOptions=r.requestOptions):t.details=o,t;if(t){const e=n&&(e=>n.headers.get(e)),r=n&&n.status,i=t.message;i&&(s=i),e&&(o.getHeader=e),o.httpStatus=(null!=t.httpCode?t.httpCode:t.code)||r||0,o.subCode=t.subcode,o.messageCode=t.messageCode,"string"==typeof t.details?o.messages=[t.details]:o.messages=t.details,o.raw=w in t?t[w]:t}return(0,u.D_)(t)?(0,u.zE)():new i.Z(e,s,o)}async function E(){s.id||await Promise.all([r.e(280),r.e(2785),r.e(102),r.e(8536)]).then(r.bind(r,85976))}function T(e){return v.some((t=>t.test(e)))}async function S(e){let t=e.params.url;const r=e.params.requestOptions,n=e.fetchOptions,i=(0,c.jc)(t)||(0,c.HK)(t),a=r.responseType||"json",l=i?0:null!=r.timeout?r.timeout:m.timeout;let h=!1;if(!i){e.useSSL&&(t=(0,c.hO)(t)),r.cacheBust&&"default"===n.cache&&(t=(0,c.ZN)(t,"request.preventCache",Date.now()));let i={...r.query};e.credentialToken&&(i.token=e.credentialToken);let a=(0,c.B7)(i);(0,o.Z)("esri-url-encodes-apostrophe")&&(a=a.replace(/'/g,"%27"));const l=t.length+1+a.length;let u;h="delete"===r.method||"post"===r.method||"put"===r.method||!!r.body||l>m.maxUrlLength;const d=r.useProxy||!!(0,c.ed)(t);if(d){const e=(0,c.b7)(t);u=e.path,!h&&u.length+1+l>m.maxUrlLength&&(h=!0),e.query&&(i={...e.query,...i})}if("HEAD"===n.method&&(h||d)){if(h){if(l>m.maxUrlLength)throw C("request:invalid-parameters",new Error("URL exceeds maximum length"),e.params);throw C("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.params)}if(d)throw C("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.params)}if(h?(n.method="delete"===r.method?"DELETE":"put"===r.method?"PUT":"POST",r.body?t=(0,c.fl)(t,i):(n.body=(0,c.B7)(i),n.headers["Content-Type"]="application/x-www-form-urlencoded")):t=(0,c.fl)(t,i),d&&(e.useProxy=!0,t=`${u}?${t}`),i.token&&y&&n.body instanceof FormData){const e=n.body;e.set?e.set("token",i.token):e.append("token",i.token)}if(r.hasOwnProperty("withCredentials"))e.withCredentials=r.withCredentials;else if(!(0,c.D6)(t,(0,c.TI)()))if((0,c.kl)(t))e.withCredentials=!0;else if(s.id){const r=s.id.findServerInfo(t);r&&r.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(n.credentials="include")}let d,f,g=0,b=!1;l>0&&(g=setTimeout((()=>{b=!0,e.controller.abort()}),l));try{if("native-request-init"===r.responseType)f=n,f.url=t;else if("image"!==r.responseType||"default"!==n.cache||"GET"!==n.method||h||function(e){if(e)for(const t of Object.getOwnPropertyNames(e))if(e[t])return!0;return!1}(r.headers)||!i&&!e.useProxy&&m.proxyUrl&&!x(t)){if(d=await p._abortableFetch(t,n),e.useProxy||function(e){const t=(0,c.P$)(e);t&&!p._corsServers.includes(t)&&p._corsServers.push(t)}(t),"native"===r.responseType)f=d;else if("HEAD"!==n.method)if(d.ok){switch(a){case"array-buffer":f=await d.arrayBuffer();break;case"blob":case"image":f=await d.blob();break;default:f=await d.text()}if(g&&(clearTimeout(g),g=0),"json"===a||"xml"===a||"document"===a)if(f)switch(a){case"json":f=JSON.parse(f);break;case"xml":f=O(f,"application/xml");break;case"document":f=O(f,"text/html")}else f=null;if(f){if("array-buffer"===a||"blob"===a){const e=d.headers.get("Content-Type");if(/application\/json|text\/plain/i.test(e)&&f["blob"===a?"size":"byteLength"]<=750)try{const e=await new Response(f).json();e.error&&(f=e)}catch{}}"image"===a&&f instanceof Blob&&(f=await F(URL.createObjectURL(f),e,!0))}}else f=await d.text()}else f=await F(t,e)}catch(n){if("AbortError"===n.name){if(b)throw new Error("Timeout exceeded");throw(0,u.zE)("Request canceled")}if(!(!d&&n instanceof TypeError&&m.proxyUrl)||r.body||"delete"===r.method||"head"===r.method||"post"===r.method||"put"===r.method||e.useProxy||x(t))throw n;e.redoRequest=!0,(0,c.tD)({proxyUrl:m.proxyUrl,urlPrefix:(0,c.P$)(t)})}finally{g&&clearTimeout(g)}return[d,f]}function O(e,t){let r;try{r=(new DOMParser).parseFromString(e,t)}catch{}if(!r||r.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return r}async function I(e,t,r){if(e.redoRequest)return e.redoRequest=!1,!1;const n=e.params.requestOptions;if(!t||"native"===n.responseType||"native-request-init"===n.responseType)return!0;let i,o,a,l;if(!t.ok)throw i=new Error(`Unable to load ${t.url} status: ${t.status}`),i[w]=r,i;null!=r&&r.error&&(i=r.error),i&&(o=Number(i.code),a=i.hasOwnProperty("subcode")?Number(i.subcode):null,l=i.messageCode,l=l&&l.toUpperCase());const u=n.authMode;if(403===o&&(4===a||i.message&&i.message.toLowerCase().indexOf("ssl")>-1&&-1===i.message.toLowerCase().indexOf("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===o)&&-1!==g.indexOf(o)&&!T(e.params.url)&&(403!==o||-1===b.indexOf(l)&&(null==a||2===a&&e.credentialToken))){await E();try{const t=await s.id.getCredential(e.params.url,{error:C("request:server",i,e.params),prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=t,e.credentialToken=t.token,e.useSSL=e.useSSL||t.ssl,!1}catch(t){if("no-prompt"===u)return e.credential=null,e.credentialToken=null,!1;i=t}}if(i)throw i;return!0}function F(e,t,r=!1){const n=t.controller.signal,s=new Image;return t.withCredentials?s.crossOrigin="use-credentials":s.crossOrigin="anonymous",s.alt="",s.src=e,(0,d.f)(s,e,r,n)}p._abortableFetch=null,p._corsServers=["https://server.arcgisonline.com","https://services.arcgisonline.com"]},74889:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_});var n,s=r(43697),i=r(66577),o=r(1692),a=r(35454),l=r(96674),u=r(22974),c=r(70586),h=r(5600),d=(r(75215),r(71715)),p=r(52011),f=r(30556),m=r(82971),y=r(33955),g=r(1231);const b=new a.Xn({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=n=class extends l.wq{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){const r=m.Z.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const s=e[t],i=o.Z.fromJSON(s),a=s.geometry&&s.geometry.spatialReference;(0,c.pC)(i.geometry)&&!a&&(i.geometry.spatialReference=r),n.push(i)}return n}writeGeometryType(e,t,r,n){if(e)return void b.write(e,t,r,n);const{features:s}=this;if(s)for(const e of s)if(e&&(0,c.pC)(e.geometry))return void b.write(e.geometry.type,t,r,n)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,n=(0,y.im)(e);return!r&&t.spatialReference&&(n.spatialReference=m.Z.fromJSON(t.spatialReference)),n}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&(0,c.pC)(e.geometry)&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new n(this.cloneProperties())}cloneProperties(){return(0,u.d9)({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 n=t.features[r];if(n.geometry){const t=e&&e[r];n.geometry=t&&t.toJSON()||n.geometry}}return t}quantize(e){const{scale:[t,r],translate:[n,s]}=e,i=this.features,o=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-n)/t)),(e=>Math.round((s-e)/r)));for(let e=0,t=i.length;e<t;e++)o((0,c.Wg)(i[e].geometry))||(i.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:[n,s],scale:[i,o]}=r,a=this._getHydrationFunction(e,(e=>e*i+n),(e=>s-e*o));for(const{geometry:e}of t)(0,c.pC)(e)&&a(e);return this.transform=null,this}_quantizePoints(e,t,r){let n,s;const i=[];for(let o=0,a=e.length;o<a;o++){const a=e[o];if(o>0){const e=t(a[0]),o=r(a[1]);e===n&&o===s||(i.push([e-n,o-s]),n=e,s=o)}else n=t(a[0]),s=r(a[1]),i.push([n,s])}return i.length>0?i: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 n=(0,y.oU)(e)?e.rings:e.paths,s=[];for(let e=0,i=n.length;e<i;e++){const i=n[e],o=this._quantizePoints(i,t,r);o&&s.push(o)}return s.length>0?((0,y.oU)(e)?e.rings=s:e.paths=s,e):null}:"multipoint"===e?e=>{const n=this._quantizePoints(e.points,t,r);return n.length>0?(e.points=n,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y)}:"polyline"===e||"polygon"===e?e=>{const n=(0,y.oU)(e)?e.rings:e.paths;let s,i;for(let e=0,o=n.length;e<o;e++){const o=n[e];for(let e=0,n=o.length;e<n;e++){const n=o[e];e>0?(s+=n[0],i+=n[1]):(s=n[0],i=n[1]),n[0]=t(s),n[1]=r(i)}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax)}:"multipoint"===e?e=>{const n=e.points;let s,i;for(let e=0,o=n.length;e<o;e++){const o=n[e];e>0?(s+=o[0],i+=o[1]):(s=o[0],i=o[1]),o[0]=t(s),o[1]=r(i)}}:void 0}};(0,s._)([(0,h.Cb)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,s._)([(0,h.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,s._)([(0,h.Cb)({type:[o.Z],json:{write:!0}})],v.prototype,"features",void 0),(0,s._)([(0,d.r)("features")],v.prototype,"readFeatures",null),(0,s._)([(0,h.Cb)({type:[g.Z],json:{write:!0}})],v.prototype,"fields",void 0),(0,s._)([(0,h.Cb)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:b.read}}})],v.prototype,"geometryType",void 0),(0,s._)([(0,f.c)("geometryType")],v.prototype,"writeGeometryType",null),(0,s._)([(0,h.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,s._)([(0,h.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,s._)([(0,h.Cb)({types:i.qM,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,s._)([(0,d.r)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,s._)([(0,h.Cb)({type:m.Z,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,s._)([(0,f.c)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,s._)([(0,h.Cb)({json:{write:!0}})],v.prototype,"transform",void 0),v=n=(0,s._)([(0,p.j)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const _=v},71058:(e,t,r)=>{r.d(t,{r:()=>i});var n=r(17452);const s=["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"];function i(e){const t=(0,n.P$)(e,!0);return t&&t.endsWith(".arcgis.com")&&!s.includes(t)&&!e.endsWith("/sharing/rest/generateToken")}},59266:(e,t,r)=>{r.d(t,{mz:()=>c,pp:()=>u,WW:()=>a,Yi:()=>l,LC:()=>o}),r(66577);var n=r(70586),s=r(82971);let i;function o(){return i||(i=(async()=>{const e=await Promise.all([r.e(9490),r.e(6690)]).then(r.bind(r,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),i}const a=(e,t,r)=>c.create(e,t,r,null,["$feature"]),l=(e,t,r)=>c.create(e,t,r,null,["$feature","$view"]),u=(e,t,r,n)=>c.create(e,t,r,n,["$feature","$view"]);class c{constructor(e,t,r,n,s,i,o,a){this.script=e,this.evaluate=s;const l=Array.isArray(o)?o:o.fields;this.fields=l,this._syntaxTree=n,this._arcade=t,this._arcadeDictionary=r,this._arcadeFeature=i,this._spatialReference=a,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,r,i,a,l){const{arcade:u,Feature:h,Dictionary:d}=await o(),p=s.Z.fromJSON(t),f=u.parseScript(e,l),m=a.reduce(((e,t)=>({...e,[t]:null})),{});let y=null;(0,n.pC)(i)&&(y=new d(i),y.immutable=!0,m.$config=null);const g=u.scriptUsesGeometryEngine(f)&&u.enableGeometrySupport(),b=u.scriptUsesFeatureSet(f)&&u.enableFeatureSetSupport(),v=u.scriptIsAsync(f)&&u.enableAsyncSupport(),_={vars:m,spatialReference:p,useAsync:!!v},w=new d;w.immutable=!1,w.setField("scale",0);const x=u.compileScript(f,_);return await Promise.all([g,b,v]),new c(e,u,d,f,(e=>("$view"in e&&e.$view&&(w.setField("scale",e.$view.scale),e.$view=w),y&&(e.$config=y),x({vars:e,spatialReference:p}))),new h,r,p)}repurposeFeature(e){return e.geometry&&!e.geometry.spatialReference&&(e.geometry.spatialReference=this._spatialReference),this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry,e.attributes,{fields:this.fields}),this._arcadeFeature}repurposeAdapter(e){return this._arcadeFeature.repurposeFromAdapter(e,{fields:this.fields}),this._arcadeFeature}createDictionary(){return new this._arcadeDictionary}referencesMember(e){return this._arcade.referencesMember(this._syntaxTree,e)}referencesFunction(e){return this._arcade.referencesFunction(this._syntaxTree,e)}referencesGeometry(){return this._referencesGeometry}referencesScale(){return this._referencesScale}extractFieldLiterals(){return this._arcade.extractExpectedFieldLiterals(this._syntaxTree)}}},85958:(e,t,r)=>{r.d(t,{f:()=>o});var n=r(80442),s=r(70586),i=r(95330);function o(e,t,r=!1,o){return new Promise(((l,u)=>{if((0,i.Hc)(o))return void u(a());let c=()=>{p(),u(new Error(`Unable to load ${t}`))},h=()=>{const t=e;p(),l(t)},d=()=>{if(!e)return;const t=e;p(),t.src="",u(a())};const p=()=>{(0,n.Z)("esri-image-decode")||(e.removeEventListener("error",c),e.removeEventListener("load",h)),c=null,h=null,e=null,(0,s.pC)(o)&&o.removeEventListener("abort",d),d=null,r&&URL.revokeObjectURL(t)};(0,s.pC)(o)&&o.addEventListener("abort",d),(0,n.Z)("esri-image-decode")?e.decode().then(h,c):(e.addEventListener("error",c),e.addEventListener("load",h))}))}function a(){try{return new DOMException("Aborted","AbortError")}catch{const e=new Error;return e.name="AbortError",e}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9164],{91460:(e,t,n)=>{function r(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function o(e,t,n){if(!r(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,n);if(Array.isArray(t)){const r=t.slice();for(const t of r)e.addEventListener(t,n);return{remove(){for(const t of r)e.removeEventListener(t,n)}}}return e.addEventListener(t,n),{remove(){e.removeEventListener(t,n)}}}function i(e,t,n){if(!r(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,n);const i=o(e,t,(t=>{i.remove(),n.call(e,t)}));return{remove(){i.remove()}}}n.d(t,{vT:()=>r,on:()=>o,IH:()=>i})},95330:(e,t,n)=>{n.d(t,{e4:()=>v,$6:()=>u,Ue:()=>a,zE:()=>c,dD:()=>S,hh:()=>J,vr:()=>C,Ds:()=>A,as:()=>T,WW:()=>I,R8:()=>_,D_:()=>O,Hc:()=>m,y8:()=>w,fu:()=>d,$F:()=>g,d1:()=>R,DB:()=>U,r9:()=>y,k_:()=>f,H9:()=>h,Yn:()=>b,gx:()=>E,Hl:()=>N});const r=(o=globalThis,{setTimeout:(e,t)=>{const n=o.setTimeout(e,t);return{remove:()=>o.clearTimeout(n)}}});var o,i=n(20102),s=n(91460),l=(n(92604),n(70586));function u(e){return Promise.all(e)}function a(e){return new Promise(((t,n)=>{try{e(t,n)}catch(e){Promise.resolve().then((()=>n(e)))}}))}function c(e="Aborted"){return new i.Z("AbortError",e)}function f(e,t="Aborted"){if(m(e))throw c(t)}function p(e){return(0,l.pC)(e)?"aborted"in e?e:e.signal:e}function m(e){const t=p(e);return(0,l.pC)(t)&&t.aborted}function y(e){if(O(e))throw e}function h(e){if(!O(e))throw e}function d(e,t){const n=p(e);if(!(0,l.Wi)(n)){if(!n.aborted)return(0,s.IH)(n,"abort",(()=>t()));t()}}function g(e,t){const n=p(e);if(!(0,l.Wi)(n))return f(n),(0,s.IH)(n,"abort",(()=>t(c())))}function N(e,t){const n=p(t);return(0,l.Wi)(n)?e:new Promise(((n,r)=>{let o=d(t,(()=>r(c())));const i=()=>o=(0,l.hw)(o);e.then(i,i),e.then(n,r)}))}function O(e){return e&&"AbortError"===e.name}function _(e){return e.catch((e=>{if(!O(e))throw e}))}function S(){let e=null;const t=new Promise(((t,n)=>{e={promise:void 0,resolve:t,reject:n}}));return e.promise=t,e}function T(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return T(t.map((t=>e[t]))).then((e=>{const n={};return t.forEach(((t,r)=>n[t]=e[r])),n}))}const t=e;return a((e=>{const n=[];let r=t.length;0===r&&e(n),t.forEach((t=>{const o={promise:t||Promise.resolve(t)};n.push(o),o.promise.then((e=>{o.value=e})).catch((e=>{o.error=e})).then((()=>{--r,0===r&&e(n)}))}))}))}function I(e){return T(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function R(e){return Promise.reject(e)}function U(e){return Promise.resolve(e)}function v(e,t,n){const r=new AbortController;return d(n,(()=>r.abort())),new Promise(((n,o)=>{let i=setTimeout((()=>{i=0,n(t)}),e);d(r,(()=>{i&&(clearTimeout(i),o(c()))}))}))}function w(e){return e&&"function"==typeof e.then}function E(e){return w(e)?e:Promise.resolve(e)}function A(e,t=-1){let n,r,o,i,s=null;const u=(...a)=>{if(n){r=a,i&&i.reject(c()),i=S();const e=(0,l.j0)(i.promise);if(s){const e=s;s=null,e.abort()}return e}if(o=i||S(),i=null,t>0){const r=new AbortController;n=E(e(...a,r.signal));const o=n;v(t).then((()=>{n===o&&(i?r.abort():s=r)}))}else n=1,n=E(e(...a));const f=()=>{const e=r;r=o=n=s=null,null!=e&&u(...e)},p=n,m=o;return p.then(f,f),p.then(m.resolve,m.reject),(0,l.j0)(m.promise)};return u}function J(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r})),o=t=>{e(t)};return o.resolve=t=>e(t),o.reject=e=>t(e),o.timeout=(e,t)=>r.setTimeout((()=>o.reject(t)),e),o.promise=n,o}function C(e,t){let n,r=new AbortController;const o=e(r.signal);let i={promise:o,finished:!1,abort:()=>{r&&(r.abort(),r=null)}};const s=()=>{i&&(i.finished=!0,i=null),(0,l.pC)(n)&&(n.remove(),n=null),r=null};return o.then(s,s),n=d(t,(()=>{(0,l.pC)(i)&&i.abort()})),i}function b(e){return Promise.resolve().then((()=>{f(e)}))}},17452:(e,t,n)=>{n.d(t,{R9:()=>N,qg:()=>A,tD:()=>j,ZN:()=>pe,fl:()=>me,Ie:()=>ae,sJ:()=>X,AH:()=>W,io:()=>V,L:()=>I,TI:()=>T,vt:()=>le,oh:()=>D,P$:()=>F,Ml:()=>ye,ed:()=>x,b7:()=>E,D6:()=>G,tm:()=>q,YP:()=>Y,jc:()=>B,HK:()=>K,$U:()=>ne,oC:()=>ee,kl:()=>M,v_:()=>Z,hF:()=>$,_l:()=>z,PF:()=>k,Fv:()=>H,B7:()=>w,u0:()=>U,Yd:()=>se,Hu:()=>fe,Qj:()=>ue,hO:()=>re,mN:()=>R});var r=n(68773),o=n(20102),i=n(92604),s=n(70586);const l=i.Z.getLogger("esri.core.urlUtils"),u=r.Z.request,a="esri/config: esriConfig.request.proxyUrl is not set.",c=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,f=/^\s*http:/i,p=/^\s*https:/i,m=/^\s*file:/i,y=/:\d+$/,h=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,d=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),g=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class N{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=(0,s.j0)(this.uri.match(d));this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=(0,s.j0)(this.authority.match(g)),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const O={};let _=new N(r.Z.applicationUrl);let S=function(){const e=(0,s.j0)(_.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${_.scheme}://${_.host}${null!=_.port?`:${_.port}`:""}${t}`}();const T=()=>_,I=()=>S;function R(e){const t={path:null,query:null},n=new N(e),r=e.indexOf("?");return null===n.query?t.path=e:(t.path=e.substring(0,r),t.query=U(n.query)),n.fragment&&(t.hash=n.fragment,null===n.query&&(t.path=t.path.substring(0,t.path.length-(n.fragment.length+1)))),t}function U(e){const t=e.split("&"),n={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let r,o;t<0?(r=decodeURIComponent(e),o=""):(r=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let i=n[r];"string"==typeof i&&(i=n[r]=[i]),Array.isArray(i)?i.push(o):n[r]=o}return n}function v(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function w(e,t){return e?t&&"function"==typeof t?Object.keys(e).map((n=>encodeURIComponent(n)+"="+encodeURIComponent(t(n,e[n])))).join("&"):Object.keys(e).map((n=>{const r=e[n];if(null==r)return"";const o=encodeURIComponent(n)+"=",i=t&&t[n];return i?o+encodeURIComponent(i(r)):Array.isArray(r)?r.map((e=>v(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e))).join("&"):v(r)?o+encodeURIComponent(JSON.stringify(r)):o+encodeURIComponent(r)})).filter((e=>e)).join("&"):""}function E(e=!1){let t,n=u.proxyUrl;if("string"==typeof e){t=ne(e);const r=x(e);r&&(n=r.proxyUrl)}else t=!!e;if(!n)throw l.warn(a),new o.Z("urlutils:proxy-not-set",a);return t&&oe()&&(n=re(n)),R(n)}function A(e){const t=x(e);let n,r;if(t){const e=C(t.proxyUrl);n=e.path,r=e.query?U(e.query):null}if(n){const t=R(e);e=n+"?"+t.path;const o=w({...r,...t.query});o&&(e=`${e}?${o}`)}return e}const J={path:"",query:""};function C(e){const t=e.indexOf("?");return-1!==t?(J.path=e.slice(0,t),J.query=e.slice(t+1)):(J.path=e,J.query=null),J}function b(e){return(e=ie(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=C(e).path),!0)).toLowerCase()}function j(e){const t={proxyUrl:e.proxyUrl,urlPrefix:b(e.urlPrefix)},n=u.proxyRules,r=t.urlPrefix;let o=n.length;for(let e=0;e<n.length;e++){const t=n[e].urlPrefix;if(0===r.indexOf(t)){if(r.length===t.length)return-1;o=e;break}0===t.indexOf(r)&&(o=e+1)}return n.splice(o,0,t),o}function x(e){const t=u.proxyRules,n=b(e);for(let e=0;e<t.length;e++)if(0===n.indexOf(t[e].urlPrefix))return t[e]}function q(e,t){return e=L(e),t=L(t),ie(e)===ie(t)}function L(e){const t=(e=H(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function D(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),n=u.interceptors;if(n)for(const e of n)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function G(e,t,n=!1){const r=ce(e),o=ce(t);return!(!n&&r.scheme!==o.scheme)&&null!=r.host&&null!=o.host&&r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function M(e){if("string"==typeof e){if(!Y(e))return!0;e=ce(e)}if(G(e,_))return!0;const t=u.trustedServers||[];for(let n=0;n<t.length;n++){const r=P(t[n]);for(let t=0;t<r.length;t++)if(G(e,r[t]))return!0}return!1}function P(e){return O[e]||(te(e)||ee(e)?O[e]=[new N($(e))]:O[e]=[new N(`http://${e}`),new N(`https://${e}`)]),O[e]}function $(e,t=S,n){return ee(e)?n&&n.preserveProtocolRelative?e:"http"===_.scheme&&_.authority===F(e).slice(2)?`http:${e}`:`https:${e}`:te(e)?e:(0,s.j0)(Z("/"===e[0]?function(e){const t=e.indexOf("//"),n=e.indexOf("/",t+2);return-1===n?e:e.slice(0,n)}(t):t,e))}function k(e,t=S,n){if(!Y(e))return e;const r=H(e),o=r.toLowerCase(),i=H(t).toLowerCase().replace(/\/+$/,""),s=n?H(n).toLowerCase().replace(/\/+$/,""):null;if(s&&0!==i.indexOf(s))return e;const l=(e,t,n)=>-1===(n=e.indexOf(t,n))?e.length:n;let u=l(o,"/",o.indexOf("//")+2),a=-1;for(;o.slice(0,u+1)===i.slice(0,u)+"/"&&(a=u+1,u!==o.length);)u=l(o,"/",u+1);if(-1===a)return e;if(s&&a<s.length)return e;e=r.slice(a);const c=i.slice(a-1).replace(/[^/]+/g,"").length;if(c>0)for(let t=0;t<c;t++)e=`../${e}`;else e=`./${e}`;return e}function H(e){return function(e){const t=u.httpsDomains;if(!function(e){return f.test(e)||"http"===_.scheme&&ee(e)}(e))return e;const n=e.indexOf("/",7);let r;if(r=-1===n?e:e.slice(0,n),r=r.toLowerCase().slice(7),y.test(r)){if(!r.endsWith(":80"))return e;r=r.slice(0,-3),e=e.replace(":80","")}return"http"===_.scheme&&r===_.authority&&!h.test(e)||(oe()&&r===_.authority||t&&t.some((e=>r===e||r.endsWith(`.${e}`)))||oe()&&!x(e))&&(e=re(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=C(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=$(e=e.trim()))))}function Z(...e){const t=e.filter(s.pC);if(!t||!t.length)return;const n=[];if(Y(t[0])){const e=t[0],r=e.indexOf("//");-1!==r&&(n.push(e.slice(0,r+1)),function(e){return m.test(e)}(t[0])&&(n[0]+="/"),t[0]=e.slice(r+2))}else"/"===t[0][0]&&n.push("");const r=t.reduce(((e,t)=>t?e.concat(t.split("/")):e),[]);for(let e=0;e<r.length;e++){const t=r[e];".."===t&&n.length>0&&".."!==n[n.length-1]?n.pop():(!t&&e===r.length-1||t&&("."!==t||0===n.length))&&n.push(t)}return n.join("/")}function F(e,t=!1){if(B(e)||K(e))return null;let n=e.indexOf("://");if(-1===n&&ee(e))n=2;else{if(-1===n)return null;n+=3}const r=e.indexOf("/",n);return-1!==r&&(e=e.slice(0,r)),t&&(e=ie(e,!0)),e}function Y(e){return ee(e)||te(e)}function B(e){return null!=e&&"blob:"===e.slice(0,5)}function K(e){return"data:"===e.slice(0,5)}function W(e){const t=X(e);if(!t||!t.isBase64)return null;const n=atob(t.data),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r.buffer}const Q=/^data:(.*?)(;base64)?,(.*)$/;function X(e){const t=e.match(Q);if(!t)return null;const[,n,r,o]=t;return{mediaType:n,isBase64:!!r,data:o}}function z(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function V(e,t){(function(e,t){if(!e)return!1;const n=document.createElement("a");if(!("download"in n))return!1;const r=URL.createObjectURL(e);return n.download=t,n.href=r,n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(r),!0})(e,t)||function(e,t){!!window.navigator.msSaveOrOpenBlob&&window.navigator.msSaveOrOpenBlob(e,t)}(e,t)}function ee(e){return null!=e&&void 0!==e&&"/"===e[0]&&"/"===e[1]}function te(e){return c.test(e)}function ne(e){return p.test(e)||"https"===_.scheme&&ee(e)}function re(e){return ee(e)?`https:${e}`:e.replace(f,"https:")}function oe(){return"https"===_.scheme}function ie(e,t=!1){return ee(e)?e.slice(2):(e=e.replace(c,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function se(e){let t=0;if(Y(e)){const n=e.indexOf("//");-1!==n&&(t=n+2)}const n=e.lastIndexOf("/");return n<t?e:e.slice(0,n+1)}function le(e,t){if(!e)return"";const n=R(e).path.replace(/\/+$/,""),r=n.substring(n.lastIndexOf("/")+1);if(null==t||!t.length)return r;const o=new RegExp(`.(${t.join("|")})$`,"ig");return r.replace(o,"")}function ue(e){return e.replace(/\/+$/,"")}function ae(e,t,n){if(!(t&&n&&e&&Y(e)))return e;const r=e.indexOf("//"),o=e.indexOf("/",r+2),i=e.indexOf(":",r+2),s=Math.min(o<0?e.length:o,i<0?e.length:i);return e.slice(r+2,s).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,r+2)}${n}${e.slice(s)}`}function ce(e){return"string"==typeof e?new N($(e)):(e.scheme||(e.scheme=_.scheme),e)}function fe(e,t){const n=R(e),r=Object.keys(n.query||{});return r.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${r.join(", ")}.`),n.path}function pe(e,t,n){const r=R(e),o=r.query||{};return o[t]=String(n),`${r.path}?${w(o)}`}function me(e,t){const n=R(e),r=n.query||{};for(const e in t)r[e]=t[e];const o=w(r);return o?`${n.path}?${o}`:n.path}function ye(e){if((0,s.Wi)(e))return null;const t=e.match(he);return t?t[1]:null}const he=/.*?\.([^\/]*)$/},66577:(e,t,n)=>{n.d(t,{qM:()=>c});var r=n(75215),o=n(6570),i=n(9361),s=n(65091),l=n(13473),u=n(17332),a=n(58901);n(82971),n(86973),n(33955);const c={base:i.Z,key:"type",typeMap:{extent:o.Z,multipoint:s.Z,point:l.Z,polyline:a.Z,polygon:u.Z}};(0,r.N7)(c)},33955:(e,t,n)=>{n.d(t,{im:()=>h,q9:()=>N,Ji:()=>d,YX:()=>c,aW:()=>f,wp:()=>p,oU:()=>y,l9:()=>m});var r=n(70586),o=n(6570),i=n(9361),s=n(65091),l=n(13473),u=n(17332),a=n(58901);function c(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function f(e){return void 0!==e.points}function p(e){return void 0!==e.x&&void 0!==e.y}function m(e){return void 0!==e.paths}function y(e){return void 0!==e.rings}function h(e){return(0,r.Wi)(e)?null:e instanceof i.Z?e:p(e)?l.Z.fromJSON(e):m(e)?a.Z.fromJSON(e):y(e)?u.Z.fromJSON(e):f(e)?s.Z.fromJSON(e):c(e)?o.Z.fromJSON(e):null}function d(e){return e?p(e)?"esriGeometryPoint":m(e)?"esriGeometryPolyline":y(e)?"esriGeometryPolygon":c(e)?"esriGeometryEnvelope":f(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:l.Z,esriGeometryPolyline:a.Z,esriGeometryPolygon:u.Z,esriGeometryEnvelope:o.Z,esriGeometryMultipoint:s.Z};function N(e){return e&&g[e]||null}},91040:(e,t,n)=>{n.d(t,{yZ:()=>o});var r=n(67900);function o(e,t){const n=t||e.extent,o=e.width,i=(0,r.c9)(n&&n.spatialReference);return n&&o?n.width/o*i*r.hd*96:0}},86973:(e,t,n)=>{n.d(t,{Mk:()=>o,P$:()=>i});var r=n(35454);const o=(0,r.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),i=(0,r.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},11282:(e,t,n)=>{n.d(t,{lA:()=>o,cv:()=>s,en:()=>i});var r=n(17452);function o(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function i(e){return"string"==typeof e?(0,r.mN)(e):e}function s(e,t,n){const r={};for(const o in e){if("declaredClass"===o)continue;const i=e[o];if(null!=i&&"function"!=typeof i)if(Array.isArray(i)){r[o]=[];for(let e=0;e<i.length;e++)r[o][e]=s(i[e])}else if("object"==typeof i)if(i.toJSON){const e=i.toJSON(n&&n[o]);r[o]=t?e:JSON.stringify(e)}else r[o]=t?i:JSON.stringify(i);else r[o]=i}return r}n(91040)},85313:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Y});var r=n(43697),o=n(5600),i=(n(67676),n(80442),n(75215)),s=n(52011),l=n(3172),u=n(11282);n(66577);var a=n(33955);function c(e){return{geometryType:(0,a.Ji)(e[0]),geometries:e.map((e=>e.toJSON()))}}function f(e,t,n){const r=(0,a.q9)(t);return e.map((e=>{const t=r.fromJSON(e);return t.spatialReference=n,t}))}var p=n(17332);async function m(e,t,n,r){const o=t[0].spatialReference,i=(0,u.en)(e),s={...i.query,f:"json",sr:JSON.stringify(o.toJSON()),polygons:JSON.stringify(c(t).geometries),polylines:JSON.stringify(c(n).geometries)},a=(0,u.lA)(s,r);return(0,l.default)(i.path+"/autoComplete",a).then((({data:e})=>(e.geometries||[]).map((({rings:e})=>new p.Z({spatialReference:o,rings:e})))))}async function y(e,t,n){const r=t[0].spatialReference,o=(0,u.en)(e),i={...o.query,f:"json",sr:JSON.stringify(r.toJSON()),geometries:JSON.stringify(c(t))},s=(0,u.lA)(i,n);return(0,l.default)(o.path+"/convexHull",s).then((({data:e})=>(0,a.im)(e.geometry).set({spatialReference:r})))}async function h(e,t,n,r){const o=t[0].spatialReference,i=(0,u.en)(e);let s={query:{...i.query,f:"json",sr:JSON.stringify(o.toJSON()),geometries:JSON.stringify(c(t)),geometry:JSON.stringify({geometryType:(0,a.Ji)(n),geometry:n.toJSON()})}};return r&&(s={...r,...s}),(0,l.default)(i.path+"/difference",s).then((({data:e})=>(e.geometries||[]).map((e=>(0,a.im)(e).set({spatialReference:o})))))}var d=n(35454);const g=new d.Xn({MGRS:"mgrs",USNG:"usng",UTM:"utm",GeoRef:"geo-ref",GARS:"gars",DMS:"dms",DDM:"ddm",DD:"dd"}),N=new d.Xn({109006:"centimeters",9102:"decimal-degrees",109005:"decimeters",9002:"feet",109009:"inches",9036:"kilometers",9001:"meters",9035:"miles",109007:"millimeters",109012:"nautical-miles",9096:"yards"});var O=n(96674);let _=class extends O.wq{constructor(e){super(e),this.deviationUnit=null,this.geometries=null,this.maxDeviation=null}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],_.prototype,"deviationUnit",void 0),(0,r._)([(0,o.Cb)({json:{read:{reader:e=>e?e.map((e=>(0,a.im)(e))):null},write:{writer:(e,t)=>{t.geometries=e.map((e=>e.toJSON()))}}}})],_.prototype,"geometries",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{write:!0}})],_.prototype,"maxDeviation",void 0),_=(0,r._)([(0,s.j)("esri.rest.support.GeneralizeParameters")],_),_.from=(0,i.se)(_);const S=_;async function T(e,t,n,r){const o=t[0].spatialReference,i=(0,u.en)(e),s={...i.query,f:"json",sr:JSON.stringify(o.toJSON()),geometries:JSON.stringify(c(t)),geometry:JSON.stringify({geometryType:(0,a.Ji)(n),geometry:n.toJSON()})},f=(0,u.lA)(s,r);return(0,l.default)(i.path+"/intersect",f).then((({data:e})=>(e.geometries||[]).map((e=>(0,a.im)(e).set({spatialReference:o})))))}const I=new d.Xn({preserveShape:"preserve-shape"});function R(e){const{polylines:t,lengthUnit:n,geodesic:r,calculationType:o}=e.toJSON(),i={};i.polylines=JSON.stringify(t);const s=e.polylines[0].spatialReference;return i.sr=s.wkid?s.wkid:JSON.stringify(s.toJSON()),n&&(i.lengthUnit=n),r&&(i.geodesic=r),o&&(i.calculationType=I.toJSON(o)),i}var U=n(58901);let v=class extends O.wq{constructor(e){super(e),this.calculationType=null,this.geodesic=null,this.lengthUnit=null,this.polylines=null}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],v.prototype,"calculationType",void 0),(0,r._)([(0,o.Cb)({type:Boolean,json:{write:!0}})],v.prototype,"geodesic",void 0),(0,r._)([(0,o.Cb)({json:{write:!0}})],v.prototype,"lengthUnit",void 0),(0,r._)([(0,o.Cb)({type:[U.Z],json:{read:{reader:e=>e?e.map((e=>(0,a.im)(e))):null},write:{writer:(e,t)=>{t.polylines=e.map((e=>e.toJSON()))}}}})],v.prototype,"polylines",void 0),v=(0,r._)([(0,s.j)("esri.rest.support.LengthsParameters")],v),v.from=(0,i.se)(v);const w=v,E=new d.Xn({esriGeometryOffsetBevelled:"bevelled",esriGeometryOffsetMitered:"mitered",esriGeometryOffsetRounded:"rounded"}),A=new d.Xn({9001:"meters",9002:"feet",9036:"kilometers",9093:"miles",109012:"nautical-miles",109001:"yards"});let J=class extends O.wq{constructor(e){super(e),this.bevelRatio=null,this.geometries=null,this.offsetDistance=null,this.offsetHow=null,this.offsetUnit=null}};(0,r._)([(0,o.Cb)({type:Number,json:{write:!0}})],J.prototype,"bevelRatio",void 0),(0,r._)([(0,o.Cb)({json:{read:{reader:e=>e?e.map((e=>(0,a.im)(e))):null},write:{writer:(e,t)=>{t.geometries=e.map((e=>e.toJSON()))}}}})],J.prototype,"geometries",void 0),(0,r._)([(0,o.Cb)({type:Number,json:{write:!0}})],J.prototype,"offsetDistance",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],J.prototype,"offsetHow",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],J.prototype,"offsetUnit",void 0),J=(0,r._)([(0,s.j)("esri.rest.support.OffsetParameters")],J),J.from=(0,i.se)(J);const C=J;let b=class extends O.wq{constructor(e){super(e),this.geometries=null,this.outSpatialReference=null,this.transformation=null,this.transformForward=null}toJSON(){const e=this.geometries.map((function(e){return e.toJSON()})),t=this.geometries[0],n={};return n.outSR=this.outSpatialReference.wkid||JSON.stringify(this.outSpatialReference.toJSON()),n.inSR=t.spatialReference.wkid||JSON.stringify(t.spatialReference.toJSON()),n.geometries=JSON.stringify({geometryType:(0,a.Ji)(t),geometries:e}),this.transformation&&(n.transformation=this.transformation.wkid||JSON.stringify(this.transformation)),null!=this.transformForward&&(n.transformForward=this.transformForward),n}};(0,r._)([(0,o.Cb)()],b.prototype,"geometries",void 0),(0,r._)([(0,o.Cb)({json:{read:{source:"outSR"}}})],b.prototype,"outSpatialReference",void 0),(0,r._)([(0,o.Cb)()],b.prototype,"transformation",void 0),(0,r._)([(0,o.Cb)()],b.prototype,"transformForward",void 0),b=(0,r._)([(0,s.j)("esri.rest.support.ProjectParameters")],b);const j=b,x=(0,i.se)(j),q=new d.Xn({esriGeometryRelationCross:"cross",esriGeometryRelationDisjoint:"disjoint",esriGeometryRelationIn:"in",esriGeometryRelationInteriorIntersection:"interior-intersection",esriGeometryRelationIntersection:"intersection",esriGeometryRelationLineCoincidence:"line-coincidence",esriGeometryRelationLineTouch:"line-touch",esriGeometryRelationOverlap:"overlap",esriGeometryRelationPointTouch:"point-touch",esriGeometryRelationTouch:"touch",esriGeometryRelationWithin:"within",esriGeometryRelationRelation:"relation"});let L=class extends O.wq{constructor(e){super(e),this.geometries1=null,this.geometries2=null,this.relation=null,this.relationParameter=null}};(0,r._)([(0,o.Cb)({json:{read:{reader:e=>e?e.map((e=>(0,a.im)(e))):null},write:{writer:(e,t)=>{t.geometries1=e.map((e=>e.toJSON()))}}}})],L.prototype,"geometries1",void 0),(0,r._)([(0,o.Cb)({json:{read:{reader:e=>e?e.map((e=>(0,a.im)(e))):null},write:{writer:(e,t)=>{t.geometries2=e.map((e=>e.toJSON()))}}}})],L.prototype,"geometries2",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],L.prototype,"relation",void 0),(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],L.prototype,"relationParameter",void 0),L=(0,r._)([(0,s.j)("esri.rest.support.RelationParameters")],L),L.from=(0,i.se)(L);const D=L;var G=n(17452);async function M(e,t,n){const r="string"==typeof e?(0,G.mN)(e):e,o=t[0].spatialReference,i=(0,a.Ji)(t[0]),s={...n,query:{...r.query,f:"json",sr:o.wkid?o.wkid:JSON.stringify(o),geometries:JSON.stringify(c(t))}},{data:u}=await(0,l.default)(r.path+"/simplify",s);return f(u.geometries,i,o)}const P=new d.Xn({0:"default-curve-extension",1:"relocate-ends",2:"keep-end-attributes",4:"no-end-attributes",8:"no-extend-at-from",16:"no-extend-at-to"});let $=class extends O.wq{constructor(e){super(e),this.extendHow="default-curve-extension",this.polylines=null,this.trimExtendTo=null}};(0,r._)([(0,o.Cb)({type:String,json:{write:!0}})],$.prototype,"extendHow",void 0),(0,r._)([(0,o.Cb)({type:[U.Z],json:{read:{reader:e=>e?e.map((e=>(0,a.im)(e))):null},write:{writer:(e,t)=>{t.polylines=e.map((e=>e.toJSON()))}}}})],$.prototype,"polylines",void 0),(0,r._)([(0,o.Cb)({json:{read:{reader:e=>e?(0,a.im)(e):null},write:{writer:(e,t)=>{t.trimExtendTo=e.toJSON()}}}})],$.prototype,"trimExtendTo",void 0),$=(0,r._)([(0,s.j)("esri.rest.support.TrimExtendParameters")],$),$.from=(0,i.se)($);const k=$;async function H(e,t,n){const r=t[0].spatialReference,o=(0,u.en)(e),i={...o.query,f:"json",sr:JSON.stringify(r.toJSON()),geometries:JSON.stringify(c(t))},s=(0,u.lA)(i,n);return(0,l.default)(o.path+"/union",s).then((({data:e})=>(0,a.im)(e.geometry).set({spatialReference:r})))}var Z=n(59633);let F=class extends Z.Z{constructor(e){super(e),this.url=null}areasAndLengths(e,t){return async function(e,t,n){const r=(0,u.en)(e),o={...r.query,f:"json",...t.toJSON()},i=(0,u.lA)(o,n);return(0,l.default)(r.path+"/areasAndLengths",i).then((e=>e.data))}(this.url,e,t)}autoComplete(e,t,n){return m(this.url,e,t,n)}buffer(e,t){return async function(e,t,n){const r=(0,u.en)(e),o={...r.query,f:"json",...t.toJSON()},i=t.outSpatialReference||t.geometries[0].spatialReference,s=(0,u.lA)(o,n);return(0,l.default)(r.path+"/buffer",s).then((e=>(e.data.geometries||[]).map((({rings:e})=>new p.Z({spatialReference:i,rings:e})))))}(this.url,e,t)}convexHull(e,t){return y(this.url,e,t)}cut(e,t,n){return async function(e,t,n,r){const o=(0,u.en)(e),i=t[0].spatialReference,s={...r,query:{...o.query,f:"json",sr:JSON.stringify(i),target:JSON.stringify({geometryType:(0,a.Ji)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},c=await(0,l.default)(o.path+"/cut",s),{cutIndexes:f,geometries:p=[]}=c.data;return{cutIndexes:f,geometries:p.map((e=>{const t=(0,a.im)(e);return t.spatialReference=i,t}))}}(this.url,e,t,n)}densify(e,t){return async function(e,t,n){const r=t.geometries[0].spatialReference,o=(0,u.en)(e),i={...o.query,f:"json",...t.toJSON()},s=(0,u.lA)(i,n);return(0,l.default)(o.path+"/densify",s).then((({data:e})=>(e.geometries||[]).map((e=>(0,a.im)(e).set({spatialReference:r})))))}(this.url,e,t)}difference(e,t,n){return h(this.url,e,t,n)}distance(e,t){return async function(e,t,n){const r=(0,u.en)(e),o={...r.query,f:"json",...t.toJSON()},i=(0,u.lA)(o,n);return(0,l.default)(r.path+"/distance",i).then((({data:e})=>e&&e.distance))}(this.url,e,t)}fromGeoCoordinateString(e,t){return async function(e,t,n){const r={};null!=t.sr&&"object"==typeof t.sr?r.sr=t.sr.wkid||JSON.stringify(t.sr):r.sr=t.sr,r.strings=JSON.stringify(t.strings);const o=t.conversionType||"mgrs";r.conversionType=g.toJSON(o),r.conversionMode=t.conversionMode;const i=(0,u.en)(e),s={...i.query,f:"json",...r},a=(0,u.lA)(s,n);return(0,l.default)(i.path+"/fromGeoCoordinateString",a).then((({data:e})=>e.coordinates))}(this.url,e,t)}generalize(e,t){return async function(e,t,n){const r=(t=S.from(t)).toJSON(),o=function(e){const{geometries:t,deviationUnit:n,maxDeviation:r}=e.toJSON(),o={maxDeviation:r};return t&&t.length&&(o.geometries=JSON.stringify({geometryType:(0,a.Ji)(t[0]),geometries:t}),o.sr=JSON.stringify(t[0].spatialReference)),N.write(n,o,"deviationUnit"),o}(t),i=(0,u.en)(e),s={...i.query,f:"json",...o},c=r.geometries[0].spatialReference,f=(0,u.lA)(s,n);return(0,l.default)(i.path+"/generalize",f).then((({data:e})=>(e.geometries||[]).map((e=>(0,a.im)(e).set({spatialReference:c})))))}(this.url,e,t)}intersect(e,t,n){return T(this.url,e,t,n)}labelPoints(e,t){return function(e,t,n){const r=t.map((e=>e.toJSON())),o=t[0].spatialReference,i=(0,u.en)(e),s={...i.query,f:"json",sr:o.wkid?o.wkid:JSON.stringify(o.toJSON()),polygons:JSON.stringify(r)},c=(0,u.lA)(s,n);return(0,l.default)(i.path+"/labelPoints",c).then((({data:e})=>(e.labelPoints||[]).map((e=>(0,a.im)(e).set({spatialReference:o})))))}(this.url,e,t)}lengths(e,t){return async function(e,t,n){const r=R(t=w.from(t)),o=(0,u.en)(e),i={...o.query,f:"json",...r},s=(0,u.lA)(i,n);return(0,l.default)(o.path+"/lengths",s).then((({data:e})=>e))}(this.url,e,t)}offset(e,t){return async function(e,t,n){const r=function(e){const{geometries:t,bevelRatio:n,offsetDistance:r,offsetHow:o,offsetUnit:i}=e.toJSON(),s={bevelRatio:n,offsetDistance:r};return t&&t.length&&(s.geometries=JSON.stringify({geometryType:(0,a.Ji)(t[0]),geometries:t}),s.sr=JSON.stringify(t[0].spatialReference)),o&&(s.offsetHow=E.toJSON(o)),i&&(s.offsetUnit=A.toJSON(i)),s}(t=C.from(t)),o=(0,u.en)(e),i={...o.query,f:"json",...r},s=t.geometries[0].spatialReference,c=(0,u.lA)(i,n);return(0,l.default)(o.path+"/offset",c).then((({data:e})=>(e.geometries||[]).map((e=>(0,a.im)(e).set({spatialReference:s})))))}(this.url,e,t)}project(e,t){return async function(e,t,n){t=x(t);const r=(0,u.en)(e),o={...r.query,f:"json",...t.toJSON()},i=t.outSpatialReference,s=(0,a.Ji)(t.geometries[0]),c=(0,u.lA)(o,n);return(0,l.default)(r.path+"/project",c).then((({data:{geometries:e}})=>f(e,s,i)))}(this.url,e,t)}relation(e,t){return async function(e,t,n){const r=function(e){const{geometries1:t,geometries2:n,relation:r,relationParameter:o}=e.toJSON(),i={};if(t&&t.length){i.geometries1=JSON.stringify({geometryType:(0,a.Ji)(t[0]),geometries:t});const e=t[0].spatialReference;i.sr=e.wkid?e.wkid:JSON.stringify(e)}return n&&n.length>0&&(i.geometries2=JSON.stringify({geometryType:(0,a.Ji)(n[0]),geometries:n})),r&&(i.relation=q.toJSON(r)),o&&(i.relationParam=o),i}(t=D.from(t)),o=(0,u.en)(e),i={...o.query,f:"json",...r},s=(0,u.lA)(i,n);return(0,l.default)(o.path+"/relation",s).then((({data:e})=>e.relations))}(this.url,e,t)}reshape(e,t,n){return async function(e,t,n,r){const o=t.spatialReference,i=(0,u.en)(e),s={...i.query,f:"json",sr:JSON.stringify(o.toJSON()),target:JSON.stringify({geometryType:(0,a.Ji)(t),geometry:t.toJSON()}),reshaper:JSON.stringify(n.toJSON())},c=(0,u.lA)(s,r);return(0,l.default)(i.path+"/reshape",c).then((({data:e})=>(0,a.im)(e.geometry).set({spatialReference:o})))}(this.url,e,t,n)}simplify(e,t){return M(this.url,e,t)}toGeoCoordinateString(e,t){return async function(e,t,n){const r={};null!=t.sr&&"object"==typeof t.sr?r.sr=t.sr.wkid||JSON.stringify(t.sr):r.sr=t.sr,r.coordinates=JSON.stringify(t.coordinates);const o=t.conversionType||"mgrs";r.conversionType=g.toJSON(o),r.conversionMode=t.conversionMode,r.numOfDigits=t.numOfDigits,r.rounding=t.rounding,r.addSpaces=t.addSpaces;const i=(0,u.en)(e),s={...i.query,f:"json",...r},a=(0,u.lA)(s,n);return(0,l.default)(i.path+"/toGeoCoordinateString",a).then((({data:e})=>e.strings))}(this.url,e,t)}trimExtend(e,t){return async function(e,t,n){const r=function(e){const{extendHow:t,polylines:n,trimExtendTo:r}=e.toJSON(),o={};return o.extendHow=P.toJSON(t),n&&n.length&&(o.polylines=JSON.stringify(n),o.sr=JSON.stringify(n[0].spatialReference)),r&&(o.trimExtendTo=JSON.stringify(r)),o}(t=k.from(t)),o=(0,u.en)(e),i={...o.query,f:"json",...r},s=t.sr,a=(0,u.lA)(i,n);return(0,l.default)(o.path+"/trimExtend",a).then((({data:e})=>(e.geometries||[]).map((({paths:e})=>new U.Z({spatialReference:s,paths:e})))))}(this.url,e,t)}union(e,t){return H(this.url,e,t)}};F.UNIT_METER=9001,F.UNIT_GERMAN_METER=9031,F.UNIT_FOOT=9002,F.UNIT_SURVEY_FOOT=9003,F.UNIT_CLARKE_FOOT=9005,F.UNIT_FATHOM=9014,F.UNIT_NAUTICAL_MILE=9030,F.UNIT_SURVEY_CHAIN=9033,F.UNIT_SURVEY_LINK=9034,F.UNIT_SURVEY_MILE=9035,F.UNIT_KILOMETER=9036,F.UNIT_CLARKE_YARD=9037,F.UNIT_CLARKE_CHAIN=9038,F.UNIT_CLARKE_LINK=9039,F.UNIT_SEARS_YARD=9040,F.UNIT_SEARS_FOOT=9041,F.UNIT_SEARS_CHAIN=9042,F.UNIT_SEARS_LINK=9043,F.UNIT_BENOIT_1895A_YARD=9050,F.UNIT_BENOIT_1895A_FOOT=9051,F.UNIT_BENOIT_1895A_CHAIN=9052,F.UNIT_BENOIT_1895A_LINK=9053,F.UNIT_BENOIT_1895B_YARD=9060,F.UNIT_BENOIT_1895B_FOOT=9061,F.UNIT_BENOIT_1895B_CHAIN=9062,F.UNIT_BENOIT_1895B_LINK=9063,F.UNIT_INDIAN_FOOT=9080,F.UNIT_INDIAN_1937_FOOT=9081,F.UNIT_INDIAN_1962_FOOT=9082,F.UNIT_INDIAN_1975_FOOT=9083,F.UNIT_INDIAN_YARD=9084,F.UNIT_INDIAN_1937_YARD=9085,F.UNIT_INDIAN_1962_YARD=9086,F.UNIT_INDIAN_1975_YARD=9087,F.UNIT_FOOT_1865=9070,F.UNIT_RADIAN=9101,F.UNIT_DEGREE=9102,F.UNIT_ARCMINUTE=9103,F.UNIT_ARCSECOND=9104,F.UNIT_GRAD=9105,F.UNIT_GON=9106,F.UNIT_MICRORADIAN=9109,F.UNIT_ARCMINUTE_CENTESIMAL=9112,F.UNIT_ARCSECOND_CENTESIMAL=9113,F.UNIT_MIL6400=9114,F.UNIT_BRITISH_1936_FOOT=9095,F.UNIT_GOLDCOAST_FOOT=9094,F.UNIT_INTERNATIONAL_CHAIN=109003,F.UNIT_INTERNATIONAL_LINK=109004,F.UNIT_INTERNATIONAL_YARD=109001,F.UNIT_STATUTE_MILE=9093,F.UNIT_SURVEY_YARD=109002,F.UNIT_50KILOMETER_LENGTH=109030,F.UNIT_150KILOMETER_LENGTH=109031,F.UNIT_DECIMETER=109005,F.UNIT_CENTIMETER=109006,F.UNIT_MILLIMETER=109007,F.UNIT_INTERNATIONAL_INCH=109008,F.UNIT_US_SURVEY_INCH=109009,F.UNIT_INTERNATIONAL_ROD=109010,F.UNIT_US_SURVEY_ROD=109011,F.UNIT_US_NAUTICAL_MILE=109012,F.UNIT_UK_NAUTICAL_MILE=109013,F.UNIT_SQUARE_INCHES="esriSquareInches",F.UNIT_SQUARE_FEET="esriSquareFeet",F.UNIT_SQUARE_YARDS="esriSquareYards",F.UNIT_ACRES="esriAcres",F.UNIT_SQUARE_MILES="esriSquareMiles",F.UNIT_SQUARE_MILLIMETERS="esriSquareMillimeters",F.UNIT_SQUARE_CENTIMETERS="esriSquareCentimeters",F.UNIT_SQUARE_DECIMETERS="esriSquareDecimeters",F.UNIT_SQUARE_METERS="esriSquareMeters",F.UNIT_ARES="esriAres",F.UNIT_HECTARES="esriHectares",F.UNIT_SQUARE_KILOMETERS="esriSquareKilometers",(0,r._)([(0,o.Cb)()],F.prototype,"url",void 0),F=(0,r._)([(0,s.j)("esri.tasks.GeometryService")],F);const Y=F},59633:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(43697),o=n(15923),i=n(17452),s=n(5600),l=(n(67676),n(80442),n(75215),n(52011));let u=class extends o.Z{constructor(...e){super(...e),this.requestOptions=null,this.url=null}normalizeCtorArgs(e,t){return"string"!=typeof e?e:{url:e,...t}}get parsedUrl(){return this._parseUrl(this.url)}_parseUrl(e){return e?(0,i.mN)(e):null}_encode(e,t,n){const r={};for(const o in e){if("declaredClass"===o)continue;const i=e[o];if(null!=i&&"function"!=typeof i)if(Array.isArray(i)){r[o]=[];for(let e=0;e<i.length;e++)r[o][e]=this._encode(i[e])}else if("object"==typeof i)if(i.toJSON){const e=i.toJSON(n&&n[o]);r[o]=t?e:JSON.stringify(e)}else r[o]=t?i:JSON.stringify(i);else r[o]=i}return r}};(0,r._)([(0,s.Cb)({readOnly:!0})],u.prototype,"parsedUrl",null),(0,r._)([(0,s.Cb)()],u.prototype,"requestOptions",void 0),(0,r._)([(0,s.Cb)({type:String})],u.prototype,"url",void 0),u=(0,r._)([(0,l.j)("esri.tasks.Task")],u);const a=u}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3485],{66577:(e,t,i)=>{i.d(t,{qM:()=>u});var r=i(75215),n=i(6570),l=i(9361),o=i(65091),s=i(13473),a=i(17332),c=i(58901);i(82971),i(86973),i(33955);const u={base:l.Z,key:"type",typeMap:{extent:n.Z,multipoint:o.Z,point:s.Z,polyline:c.Z,polygon:a.Z}};(0,r.N7)(u)},33955:(e,t,i)=>{i.d(t,{im:()=>m,q9:()=>v,Ji:()=>h,YX:()=>u,aW:()=>p,wp:()=>d,oU:()=>y,l9:()=>f});var r=i(70586),n=i(6570),l=i(9361),o=i(65091),s=i(13473),a=i(17332),c=i(58901);function u(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function p(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function f(e){return void 0!==e.paths}function y(e){return void 0!==e.rings}function m(e){return(0,r.Wi)(e)?null:e instanceof l.Z?e:d(e)?s.Z.fromJSON(e):f(e)?c.Z.fromJSON(e):y(e)?a.Z.fromJSON(e):p(e)?o.Z.fromJSON(e):u(e)?n.Z.fromJSON(e):null}function h(e){return e?d(e)?"esriGeometryPoint":f(e)?"esriGeometryPolyline":y(e)?"esriGeometryPolygon":u(e)?"esriGeometryEnvelope":p(e)?"esriGeometryMultipoint":null:null}const g={esriGeometryPoint:s.Z,esriGeometryPolyline:c.Z,esriGeometryPolygon:a.Z,esriGeometryEnvelope:n.Z,esriGeometryMultipoint:o.Z};function v(e){return e&&g[e]||null}},86973:(e,t,i)=>{i.d(t,{Mk:()=>n,P$:()=>l});var r=i(35454);const n=(0,r.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),l=(0,r.wY)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"})},39450:(e,t,i)=>{i.d(t,{Z:()=>u});var r,n=i(43697),l=i(96674),o=i(5600),s=(i(67676),i(80442),i(75215)),a=i(52011);let c=r=class extends l.wq{constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,n._)([(0,o.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"cols",void 0),(0,n._)([(0,o.Cb)({type:s.z8,json:{write:!0}})],c.prototype,"level",void 0),(0,n._)([(0,o.Cb)({type:String,json:{write:!0}})],c.prototype,"levelValue",void 0),(0,n._)([(0,o.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"origin",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{write:!0}})],c.prototype,"resolution",void 0),(0,n._)([(0,o.Cb)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],c.prototype,"rows",void 0),(0,n._)([(0,o.Cb)({type:Number,json:{write:!0}})],c.prototype,"scale",void 0),c=r=(0,n._)([(0,a.j)("esri.layers.support.LOD")],c);const u=c},11145:(e,t,i)=>{i.d(t,{Z:()=>T});var r,n=i(43697),l=i(35454),o=i(96674),s=i(70586),a=i(67900),c=i(5600),u=(i(67676),i(80442),i(75215)),p=i(71715),d=i(52011),f=i(30556),y=i(13473),m=i(82971),h=i(24470),g=i(8744),v=i(40488),_=i(39450);const w=new l.Xn({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let b=r=class extends o.wq{constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.minScale=0,this.maxScale=0,this.size=null,this.spatialReference=null}static create(e={}){const{resolutionFactor:t=1,scales:i,size:n=256,spatialReference:l=m.Z.WebMercator,numLODs:o=24}=e;if(!(0,g.JY)(l)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push({level:t,scale:r,resolution:r})}else{let t=5e-4;for(let i=o-1;i>=0;i--)e.unshift({level:i,scale:t,resolution:t}),t*=2}return new r({dpi:96,lods:e,origin:new y.Z(0,0,l),size:[n,n],spatialReference:l})}const s=(0,g.C5)(l),c=e.origin?new y.Z({x:e.origin.x,y:e.origin.y,spatialReference:l}):new y.Z(s?{x:s.origin[0],y:s.origin[1],spatialReference:l}:{x:0,y:0,spatialReference:l}),u=1/(39.37*(0,a.c9)(l)*96),p=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*u;p.push({level:e,scale:t,resolution:r})}else{let e=(0,g.sT)(l)?512/n*591657527.5917094:256/n*591657527.591555;const i=Math.ceil(o/t);p.push({level:0,scale:e,resolution:e*u});for(let r=1;r<i;r++){const i=e/2**t,n=i*u;p.push({level:r,scale:i,resolution:n}),e=i}}return new r({dpi:96,lods:p,origin:c,size:[n,n],spatialReference:l})}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const i=(0,g.C5)(e);return e.isWrappable&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return y.Z.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[];this._levelToLOD={},e&&(t=-1/0,i=1/0,e.forEach((e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,this._levelToLOD[e.level]=e}))),this._set("scales",r),this._set("minScale",t),this._set("maxScale",i),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];{const i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],n=t[r+1];if(i<=e)return r;if(n===e)return r+1;if(i>e&&n<e)return r+Math.log(i/e)/Math.log(i/n)}return r}snapScale(e,t=.95){const i=this.scaleToZoom(e);return i%Math.floor(i)>=t?this.zoomToScale(Math.ceil(i)):this.zoomToScale(Math.floor(i))}tileAt(e,t,i,r){const n=this.lodAt(e);if(!n)return null;let l,o;if("number"==typeof t)l=t,o=i;else if((0,g.fS)(t.spatialReference,this.spatialReference))l=t.x,o=t.y,r=i;else{const e=(0,v.iV)(t,this.spatialReference);if((0,s.Wi)(e))return null;l=e.x,o=e.y,r=i}const a=n.resolution*this.size[0],c=n.resolution*this.size[1];return r||(r={id:null,level:0,row:0,col:0,extent:(0,h.Ue)()}),r.level=e,r.row=Math.floor((this.origin.y-o)/c+.001),r.col=Math.floor((l-this.origin.x)/a+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=r.ExtrapolateOptions.NONE){let i=this.lodAt(e.level);if(!i&&t===r.ExtrapolateOptions.POWER_OF_TWO){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return;const n=e.level-i.level,l=i.resolution*this.size[0]/2**n,o=i.resolution*this.size[1]/2**n;e.id=`${e.level}/${e.row}/${e.col}`,e.extent||(e.extent=(0,h.Ue)()),e.extent[0]=this.origin.x+e.col*l,e.extent[1]=this.origin.y-(e.row+1)*o,e.extent[2]=e.extent[0]+l,e.extent[3]=e.extent[1]+o}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const{resolution:i}=this.lodAt(t.level),r=i*this.size[0],n=i*this.size[1];return e[0]=this.origin.x+t.col*r,e[1]=this.origin.y-(t.row+1)*n,e[2]=e[0]+r,e[3]=e[1]+n,e}lodAt(e){return this._levelToLOD&&this._levelToLOD[e]||null}clone(){return r.fromJSON(this.write({}))}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};var F,x;(0,n._)([(0,c.Cb)({type:Number,json:{write:!0}})],b.prototype,"compressionQuality",void 0),(0,n._)([(0,c.Cb)({type:Number,json:{write:!0}})],b.prototype,"dpi",void 0),(0,n._)([(0,c.Cb)({type:String,json:{read:w.read,write:w.write,origins:{"web-scene":{read:!1,write:!1}}}})],b.prototype,"format",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"isWrappable",null),(0,n._)([(0,c.Cb)({type:y.Z,json:{write:!0}})],b.prototype,"origin",void 0),(0,n._)([(0,p.r)("origin")],b.prototype,"readOrigin",null),(0,n._)([(0,c.Cb)({type:[_.Z],value:null,json:{write:!0}})],b.prototype,"lods",null),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"minScale",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"maxScale",void 0),(0,n._)([(0,c.Cb)({readOnly:!0})],b.prototype,"scales",void 0),(0,n._)([(0,c.Cb)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],b.prototype,"size",void 0),(0,n._)([(0,p.r)("size",["rows","cols"])],b.prototype,"readSize",null),(0,n._)([(0,f.c)("size",{cols:{type:u.z8},rows:{type:u.z8}})],b.prototype,"writeSize",null),(0,n._)([(0,c.Cb)({type:m.Z,json:{write:!0}})],b.prototype,"spatialReference",void 0),b=r=(0,n._)([(0,d.j)("esri.layers.support.TileInfo")],b),F=b||(b={}),(x=F.ExtrapolateOptions||(F.ExtrapolateOptions={}))[x.NONE=0]="NONE",x[x.POWER_OF_TWO=1]="POWER_OF_TWO";const T=b},35671:(e,t,i)=>{i.d(t,{io:()=>g,AB:()=>h,gd:()=>m,Mu:()=>w,Q0:()=>y,YN:()=>u,UF:()=>d,O5:()=>v,os:()=>b,H7:()=>I,qN:()=>L,Pz:()=>C,Qc:()=>V,vP:()=>U});var r,n,l=i(20102),o=i(78286);(n=r||(r={})).VALUE_OUT_OF_RANGE="domain-validation-error::value-out-of-range",n.INVALID_CODED_VALUE="domain-validation-error::invalid-coded-value";var s=i(59266);const a=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],c=["field","normalizationField"];function u(e,t){if(null!=e&&null!=t)for(const i of Array.isArray(e)?e:[e])if(p(a,i,t),"visualVariables"in i&&i.visualVariables)for(const e of i.visualVariables)p(c,e,t)}function p(e,t,i){if(e)for(const r of e){const e=(0,o.hS)(r,t),n=e&&"function"!=typeof e&&i.get(e);n&&(0,o.RB)(r,n.name,t)}}function d(e,t){if(null!=e&&null!=t&&t.fields.length)if("startField"in e){const i=t.get(e.startField),r=t.get(e.endField);e.startField=i&&i.name||null,e.endField=r&&r.name||null}else{const i=t.get(e.startTimeField),r=t.get(e.endTimeField);e.startTimeField=i&&i.name||null,e.endTimeField=r&&r.name||null}}const f=new Set;function y(e,t){return e&&t?(f.clear(),m(f,e,t),Array.from(f).sort()):[]}function m(e,t,i){var r;if(i)if(null!=t&&null!=(r=t.fields)&&r.length)if(i.includes("*"))for(const{name:i}of t.fields)e.add(i);else for(const r of i)h(e,t,r);else{if(i.includes("*"))return e.clear(),void e.add("*");for(const t of i)e.add(t)}}function h(e,t,i){if("string"==typeof i)if(t){const r=t.get(i);r&&e.add(r.name)}else e.add(i)}async function g(e,t,i){var r;if(!i)return;const{arcadeUtils:n}=await(0,s.LC)(),l=n.extractFieldNames(i,null==t||null==(r=t.fields)?void 0:r.map((e=>e.name)));for(const i of l)h(e,t,i)}function v({displayField:e,fields:t}){return e||(t&&t.length?_(t,"name-or-title")||_(t,"unique-identifier")||_(t,"type-or-category")||function(e){for(const t of e){if(!t||!t.name)continue;const e=t.name.toLowerCase();if(e.indexOf("name")>-1||e.indexOf("title")>-1)return t.name}return null}(t):null)}function _(e,t){for(const i of e)if(i&&i.valueType&&i.valueType===t)return i.name;return null}async function w(e,t){const{labelingInfo:r,fieldsIndex:n}=t;r&&r.length&&await Promise.all(r.map((t=>async function(e,t,r){if(!r)return;const n=r.getLabelExpression(),o=r.where;if("arcade"===n.type)await g(e,t,n.expression);else{const i=n.expression.match(/{[^}]*}/g);i&&i.forEach((i=>{h(e,t,i.slice(1,-1))}))}await async function(e,t,r){if(r&&"1=1"!==r){const n=(await Promise.all([i.e(1534),i.e(5732)]).then(i.bind(i,41534))).WhereClause.create(r,t);if(!n.isStandardized)throw new l.Z("fieldUtils:collectFilterFields","Where clause is not standardized");m(e,t,n.fieldNames)}}(e,t,o)}(e,n,t))))}function b(e){const t=e.defaultValue;return void 0!==t&&A(e,t)?t:e.nullable?null:void 0}function F(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function x(e){return null===e||F(e)}const T="isInteger"in Number?Number.isInteger:e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e;function O(e){return null===e||T(e)}function S(e){return null!=e&&"string"==typeof e}function N(e){return null===e||S(e)}function E(){return!0}function A(e,t){let i;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":i=e.nullable?O:T;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":i=e.nullable?x:F;break;case"string":case"esriFieldTypeString":i=e.nullable?N:S;break;default:i=E}return 1===arguments.length?i:i(t)}const G=new Set(["integer","small-integer","single","double","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeSingle","esriFieldTypeDouble"]);function I(e){return null!=e&&G.has(e.type)}function L(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}var R,z;function C(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function V(e,t){return e.nullable&&null===t?null:I(e)&&!function(e,t){const i="string"==typeof e?P(e):e;return!!i&&(i.isInteger?T(t)&&t>=i.min&&t<=i.max:t>=i.min&&t<=i.max)}(e.type,Number(t))?R.OUT_OF_RANGE:A(e,t)?e.domain?function(e,t){switch(e.type){case"range":{const i="range"in e?e.range[0]:e.minValue,n="range"in e?e.range[1]:e.maxValue;if(+t<i||+t>n)return r.VALUE_OUT_OF_RANGE;break}case"coded-value":case"codedValue":if(null==e.codedValues||e.codedValues.every((e=>null==e||e.code!==t)))return r.INVALID_CODED_VALUE}return null}(e.domain,t):null:z.INVALID_TYPE}function P(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return D;case"esriFieldTypeInteger":case"integer":return Z;case"esriFieldTypeSingle":case"single":return M;case"esriFieldTypeDouble":case"double":return $}}!function(e){e.OUT_OF_RANGE="numeric-range-validation-error::out-of-range"}(R||(R={})),function(e){e.INVALID_TYPE="type-validation-error::invalid-type"}(z||(z={}));const D={min:-32768,max:32767,isInteger:!0},Z={min:-2147483648,max:2147483647,isInteger:!0},M={min:-34e37,max:12e37,isInteger:!1},$={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1};function U(e,t,i){switch(e){case r.INVALID_CODED_VALUE:return`Value ${i} is not in the coded domain - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case r.VALUE_OUT_OF_RANGE:return`Value ${i} is out of the range of valid values - field: ${t.name}, domain: ${JSON.stringify(t.domain)}`;case z.INVALID_TYPE:return`Value ${i} is not a valid value for the field type - field: ${t.name}, type: ${t.type}, nullable: ${t.nullable}`;case R.OUT_OF_RANGE:{const{min:e,max:r}=P(t.type);return`Value ${i} is out of range for the number type - field: ${t.name}, type: ${t.type}, value range is ${e} to ${r}`}}}},59266:(e,t,i)=>{i.d(t,{mz:()=>u,pp:()=>c,WW:()=>s,Yi:()=>a,LC:()=>o}),i(66577);var r=i(70586),n=i(82971);let l;function o(){return l||(l=(async()=>{const e=await Promise.all([i.e(9490),i.e(6690)]).then(i.bind(i,96690));return{arcade:e.arcade,arcadeUtils:e,Dictionary:e.Dictionary,Feature:e.arcadeFeature}})()),l}const s=(e,t,i)=>u.create(e,t,i,null,["$feature"]),a=(e,t,i)=>u.create(e,t,i,null,["$feature","$view"]),c=(e,t,i,r)=>u.create(e,t,i,r,["$feature","$view"]);class u{constructor(e,t,i,r,n,l,o,s){this.script=e,this.evaluate=n;const a=Array.isArray(o)?o:o.fields;this.fields=a,this._syntaxTree=r,this._arcade=t,this._arcadeDictionary=i,this._arcadeFeature=l,this._spatialReference=s,this._referencesGeometry=t.scriptTouchesGeometry(this._syntaxTree),this._referencesScale=this._arcade.referencesMember(this._syntaxTree,"scale")}static async create(e,t,i,l,s,a){const{arcade:c,Feature:p,Dictionary:d}=await o(),f=n.Z.fromJSON(t),y=c.parseScript(e,a),m=s.reduce(((e,t)=>({...e,[t]:null})),{});let h=null;(0,r.pC)(l)&&(h=new d(l),h.immutable=!0,m.$config=null);const g=c.scriptUsesGeometryEngine(y)&&c.enableGeometrySupport(),v=c.scriptUsesFeatureSet(y)&&c.enableFeatureSetSupport(),_=c.scriptIsAsync(y)&&c.enableAsyncSupport(),w={vars:m,spatialReference:f,useAsync:!!_},b=new d;b.immutable=!1,b.setField("scale",0);const F=c.compileScript(y,w);return await Promise.all([g,v,_]),new u(e,c,d,y,(e=>("$view"in e&&e.$view&&(b.setField("scale",e.$view.scale),e.$view=b),h&&(e.$config=h),F({vars:e,spatialReference:f}))),new p,i,f)}repurposeFeature(e){return e.geometry&&!e.geometry.spatialReference&&(e.geometry.spatialReference=this._spatialReference),this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry,e.attributes,{fields:this.fields}),this._arcadeFeature}repurposeAdapter(e){return this._arcadeFeature.repurposeFromAdapter(e,{fields:this.fields}),this._arcadeFeature}createDictionary(){return new this._arcadeDictionary}referencesMember(e){return this._arcade.referencesMember(this._syntaxTree,e)}referencesFunction(e){return this._arcade.referencesFunction(this._syntaxTree,e)}referencesGeometry(){return this._referencesGeometry}referencesScale(){return this._referencesScale}extractFieldLiterals(){return this._arcade.extractExpectedFieldLiterals(this._syntaxTree)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4588],{99514:(e,t,i)=>{i.d(t,{Z:()=>n});var r=i(35671);function o(e){return"oid"===e.type||"esriFieldTypeOID"===e.type}function s(e){return"global-id"===e.type||"esriFieldTypeGlobalID"===e.type}class n{constructor(e){if(this.fields=e,this._fieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this.dateFields=[],this.numericFields=[],this._requiredFields=null,!e)return;const t=[];for(const n of e){const e=n&&n.name;if(e){const l=a(e);this._fieldsMap.set(e,n),this._fieldsMap.set(l,n),t.push(l),"date"===(i=n).type||"esriFieldTypeDate"===i.type?(this.dateFields.push(n),this._dateFieldsSet.add(n)):(0,r.H7)(n)&&(this._numericFieldsSet.add(n),this.numericFields.push(n)),o(n)||s(n)||(n.editable=null==n.editable||!!n.editable,n.nullable=null==n.nullable||!!n.nullable)}}var i;t.sort(),this.uid=t.join(",")}destroy(){this._fieldsMap.clear()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)o(e)||s(e)||e.nullable||void 0!==(0,r.os)(e)||this._requiredFields.push(e)}return this._requiredFields}has(e){return null!=this.get(e)}get(e){return null!=e?this._fieldsMap.get(e)||this._fieldsMap.get(a(e)):void 0}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){const t=this.get(e);if(t)return t.name}}function a(e){return e.toLowerCase().trim()}},10158:(e,t,i)=>{i.d(t,{n:()=>D});var r,o=i(43697),s=i(35454),n=i(96674),a=i(5600),l=(i(67676),i(80442),i(90578)),p=i(36030),u=i(71715),d=i(52011),c=i(75215),y=i(63213),h=i(1231),m=i(42843),b=(i(66577),i(82971)),v=i(86973);let w=r=class extends n.wq{constructor(e){super(e),this.type="query-table"}clone(){var e;const{workspaceId:t,query:i,oidFields:o,spatialReference:s,geometryType:n}=this,a={workspaceId:t,query:i,oidFields:o,spatialReference:null!=(e=null==s?void 0:s.clone())?e:void 0,geometryType:n};return new r(a)}};var _;(0,o._)([(0,p.J)({queryTable:"query-table"})],w.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],w.prototype,"workspaceId",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],w.prototype,"query",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],w.prototype,"oidFields",void 0),(0,o._)([(0,a.Cb)({type:b.Z,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o._)([(0,p.J)(v.Mk)],w.prototype,"geometryType",void 0),w=r=(0,o._)([(0,d.j)("esri.layers.support.source.QueryTableDataSource")],w);let g=_=class extends n.wq{constructor(e){super(e),this.type="raster"}clone(){const{workspaceId:e,dataSourceName:t}=this;return new _({workspaceId:e,dataSourceName:t})}};var S;(0,o._)([(0,p.J)({raster:"raster"})],g.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],g.prototype,"dataSourceName",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],g.prototype,"workspaceId",void 0),g=_=(0,o._)([(0,d.j)("esri.layers.support.source.RasterDataSource")],g);let C=S=class extends n.wq{constructor(e){super(e),this.type="table"}clone(){const{workspaceId:e,gdbVersion:t,dataSourceName:i}=this;return new S({workspaceId:e,gdbVersion:t,dataSourceName:i})}};var f,j;(0,o._)([(0,p.J)({table:"table"})],C.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"workspaceId",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"gdbVersion",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],C.prototype,"dataSourceName",void 0),C=S=(0,o._)([(0,d.j)("esri.layers.support.source.TableDataSource")],C);const T=(0,s.wY)()({esriLeftInnerJoin:"left-inner-join",esriLeftOuterJoin:"left-outer-join"});let R=f=class extends n.wq{constructor(e){super(e),this.type="join-table"}readLeftTableSource(e,t,i){return x()(e,t,i)}castLeftTableSource(e){return(0,c.N7)(M(),e)}readRightTableSource(e,t,i){return x()(e,t,i)}castRightTableSource(e){return(0,c.N7)(M(),e)}clone(){var e,t;const{leftTableKey:i,rightTableKey:r,leftTableSource:o,rightTableSource:s,joinType:n}=this,a={leftTableKey:i,rightTableKey:r,leftTableSource:null!=(e=null==o?void 0:o.clone())?e:void 0,rightTableSource:null!=(t=null==s?void 0:s.clone())?t:void 0,joinType:n};return new f(a)}};(0,o._)([(0,p.J)({joinTable:"join-table"})],R.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],R.prototype,"leftTableKey",void 0),(0,o._)([(0,a.Cb)({type:String,json:{write:!0}})],R.prototype,"rightTableKey",void 0),(0,o._)([(0,a.Cb)({json:{write:!0}})],R.prototype,"leftTableSource",void 0),(0,o._)([(0,u.r)("leftTableSource")],R.prototype,"readLeftTableSource",null),(0,o._)([(0,l.p)("leftTableSource")],R.prototype,"castLeftTableSource",null),(0,o._)([(0,a.Cb)({json:{write:!0}})],R.prototype,"rightTableSource",void 0),(0,o._)([(0,u.r)("rightTableSource")],R.prototype,"readRightTableSource",null),(0,o._)([(0,l.p)("rightTableSource")],R.prototype,"castRightTableSource",null),(0,o._)([(0,p.J)(T)],R.prototype,"joinType",void 0),R=f=(0,o._)([(0,d.j)("esri.layers.support.source.JoinTableDataSource")],R);let F=null;function x(){return F||(F=(0,y.d)({types:M()})),F}let P=null;function M(){return P||(P={key:"type",base:null,typeMap:{"data-layer":D,"map-layer":m.R}}),P}const q={key:"type",base:null,typeMap:{"join-table":R,"query-table":w,raster:g,table:C}};let D=j=class extends n.wq{constructor(e){super(e),this.type="data-layer"}clone(){const{fields:e,dataSource:t}=this;return new j({fields:e,dataSource:t})}};(0,o._)([(0,p.J)({dataLayer:"data-layer"})],D.prototype,"type",void 0),(0,o._)([(0,a.Cb)({type:[h.Z],json:{write:!0}})],D.prototype,"fields",void 0),(0,o._)([(0,a.Cb)({types:q,json:{write:!0}})],D.prototype,"dataSource",void 0),D=j=(0,o._)([(0,d.j)("esri.layers.support.source.DataLayerSource")],D),D.from=(0,c.se)(D)},42843:(e,t,i)=>{i.d(t,{R:()=>u});var r,o=i(43697),s=i(96674),n=i(5600),a=(i(67676),i(80442),i(75215)),l=i(36030),p=i(52011);let u=r=class extends s.wq{constructor(e){super(e),this.type="map-layer"}clone(){const{mapLayerId:e,gdbVersion:t}=this;return new r({mapLayerId:e,gdbVersion:t})}};(0,o._)([(0,l.J)({mapLayer:"map-layer"})],u.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:a.z8,json:{write:!0}})],u.prototype,"mapLayerId",void 0),(0,o._)([(0,n.Cb)({type:String,json:{write:!0}})],u.prototype,"gdbVersion",void 0),u=r=(0,o._)([(0,p.j)("esri.layers.support.source.MapLayerSource")],u)},6388:(e,t,i)=>{i.d(t,{Z:()=>y});var r,o=i(43697),s=(i(66577),i(35454)),n=i(96674),a=i(22974),l=i(5600),p=(i(75215),i(52011)),u=i(6570);const d=new s.Xn({upperLeft:"upper-left",lowerLeft:"lower-left"});let c=r=class extends n.wq{constructor(e){super(e),this.extent=null,this.mode="view",this.originPosition="upper-left",this.tolerance=1}clone(){return new r((0,a.d9)({extent:this.extent,mode:this.mode,originPosition:this.originPosition,tolerance:this.tolerance}))}};(0,o._)([(0,l.Cb)({type:u.Z,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"extent",void 0),(0,o._)([(0,l.Cb)({type:["view","edit"],json:{write:!0}})],c.prototype,"mode",void 0),(0,o._)([(0,l.Cb)({type:String,json:{read:d.read,write:d.write}})],c.prototype,"originPosition",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:"view"===this.mode}}}}})],c.prototype,"tolerance",void 0),c=r=(0,o._)([(0,p.j)("esri.rest.support.QuantizationParameters")],c);const y=c},57444:(e,t,i)=>{i.d(t,{Z:()=>R});var r,o=i(43697),s=i(66577),n=i(92835),a=i(35454),l=i(96674),p=i(22974),u=i(70586),d=i(5600),c=i(90578),y=i(36030),h=i(52011),m=i(30556),b=i(75215),v=i(33955),w=i(10158),_=i(6388),g=i(58539),S=i(82971),C=i(13473);const f=new a.Xn({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),j=new a.Xn({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let T=r=class extends l.wq{constructor(e){super(e),this.aggregateIds=null,this.cacheHint=void 0,this.datumTransformation=null,this.distance=void 0,this.dynamicDataSource=void 0,this.formatOf3DObjects=null,this.gdbVersion=null,this.geometry=null,this.geometryPrecision=void 0,this.groupByFieldsForStatistics=null,this.having=null,this.historicMoment=null,this.maxAllowableOffset=void 0,this.maxRecordCountFactor=1,this.multipatchOption=null,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.outStatistics=null,this.parameterValues=null,this.pixelSize=null,this.quantizationParameters=null,this.rangeValues=null,this.relationParameter=null,this.resultType=null,this.returnCentroid=!1,this.returnDistinctValues=!1,this.returnExceededLimitFeatures=!0,this.returnGeometry=!1,this.returnQueryGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.sourceSpatialReference=null,this.spatialRelationship="intersects",this.start=void 0,this.sqlFormat=null,this.text=null,this.timeExtent=null,this.timeReferenceUnknownClient=!1,this.units=null,this.where=null}static from(e){return(0,b.TJ)(r,e)}castDatumTransformation(e){return"number"==typeof e||"object"==typeof e?e:null}writeHistoricMoment(e,t){t.historicMoment=e&&e.getTime()}writeParameterValues(e,t){if(e){const i={};for(const t in e){const r=e[t];Array.isArray(r)?i[t]=r.map((e=>e instanceof Date?e.getTime():e)):r instanceof Date?i[t]=r.getTime():i[t]=r}t.parameterValues=i}}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10,t.where="1=1"}writeWhere(e,t){t.where=e||"1=1"}clone(){return new r((0,p.d9)({aggregateIds:this.aggregateIds,cacheHint:this.cacheHint,datumTransformation:this.datumTransformation,distance:this.distance,gdbVersion:this.gdbVersion,geometry:this.geometry,geometryPrecision:this.geometryPrecision,groupByFieldsForStatistics:this.groupByFieldsForStatistics,having:this.having,historicMoment:(0,u.pC)(this.historicMoment)?new Date(this.historicMoment.getTime()):null,maxAllowableOffset:this.maxAllowableOffset,maxRecordCountFactor:this.maxRecordCountFactor,multipatchOption:this.multipatchOption,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,outStatistics:this.outStatistics,parameterValues:this.parameterValues,pixelSize:this.pixelSize,quantizationParameters:this.quantizationParameters,rangeValues:this.rangeValues,relationParameter:this.relationParameter,resultType:this.resultType,returnDistinctValues:this.returnDistinctValues,returnGeometry:this.returnGeometry,returnCentroid:this.returnCentroid,returnExceededLimitFeatures:this.returnExceededLimitFeatures,returnQueryGeometry:this.returnQueryGeometry,returnM:this.returnM,returnZ:this.returnZ,dynamicDataSource:this.dynamicDataSource,sourceSpatialReference:this.sourceSpatialReference,spatialRelationship:this.spatialRelationship,start:this.start,sqlFormat:this.sqlFormat,text:this.text,timeExtent:this.timeExtent,timeReferenceUnknownClient:this.timeReferenceUnknownClient,units:this.units,where:this.where}))}};T.MAX_MAX_RECORD_COUNT_FACTOR=5,(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"aggregateIds",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:!0}})],T.prototype,"cacheHint",void 0),(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"datumTransformation",void 0),(0,o._)([(0,c.p)("datumTransformation")],T.prototype,"castDatumTransformation",null),(0,o._)([(0,d.Cb)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],T.prototype,"distance",void 0),(0,o._)([(0,d.Cb)({type:w.n,json:{write:!0}})],T.prototype,"dynamicDataSource",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"formatOf3DObjects",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"gdbVersion",void 0),(0,o._)([(0,d.Cb)({types:s.qM,json:{read:v.im,write:!0}})],T.prototype,"geometry",void 0),(0,o._)([(0,d.Cb)({type:Number,json:{write:!0}})],T.prototype,"geometryPrecision",void 0),(0,o._)([(0,d.Cb)({type:[String],json:{write:!0}})],T.prototype,"groupByFieldsForStatistics",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"having",void 0),(0,o._)([(0,d.Cb)({type:Date})],T.prototype,"historicMoment",void 0),(0,o._)([(0,m.c)("historicMoment")],T.prototype,"writeHistoricMoment",null),(0,o._)([(0,d.Cb)({type:Number,json:{write:!0}})],T.prototype,"maxAllowableOffset",void 0),(0,o._)([(0,d.Cb)({type:Number,cast:e=>e<1?1:e>r.MAX_MAX_RECORD_COUNT_FACTOR?r.MAX_MAX_RECORD_COUNT_FACTOR:e,json:{write:{overridePolicy:e=>({enabled:e>1})}}})],T.prototype,"maxRecordCountFactor",void 0),(0,o._)([(0,d.Cb)({type:["xyFootprint"],json:{write:!0}})],T.prototype,"multipatchOption",void 0),(0,o._)([(0,d.Cb)({type:Number,json:{read:{source:"resultRecordCount"}}})],T.prototype,"num",void 0),(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"objectIds",void 0),(0,o._)([(0,d.Cb)({type:[String],json:{write:!0}})],T.prototype,"orderByFields",void 0),(0,o._)([(0,d.Cb)({type:[String],json:{write:!0}})],T.prototype,"outFields",void 0),(0,o._)([(0,d.Cb)({type:S.Z,json:{name:"outSR",write:!0}})],T.prototype,"outSpatialReference",void 0),(0,o._)([(0,d.Cb)({type:[g.Z],json:{write:{enabled:!0,overridePolicy(){return{enabled:(0,u.pC)(this.outStatistics)&&this.outStatistics.length>0}}}}})],T.prototype,"outStatistics",void 0),(0,o._)([(0,d.Cb)({json:{write:!0}})],T.prototype,"parameterValues",void 0),(0,o._)([(0,m.c)("parameterValues")],T.prototype,"writeParameterValues",null),(0,o._)([(0,d.Cb)({type:C.Z,json:{write:!0}})],T.prototype,"pixelSize",void 0),(0,o._)([(0,d.Cb)({type:_.Z,json:{write:!0}})],T.prototype,"quantizationParameters",void 0),(0,o._)([(0,d.Cb)({type:[Object],json:{write:!0}})],T.prototype,"rangeValues",void 0),(0,o._)([(0,d.Cb)({type:String,json:{read:{source:"relationParam"},write:{target:"relationParam",overridePolicy(){return{enabled:"relation"===this.spatialRelationship}}}}})],T.prototype,"relationParameter",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"resultType",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnCentroid",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnDistinctValues",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!0,write:!0}})],T.prototype,"returnExceededLimitFeatures",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:!0}})],T.prototype,"returnGeometry",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnQueryGeometry",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"returnM",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],T.prototype,"returnZ",void 0),(0,o._)([(0,d.Cb)({type:S.Z,json:{write:!0}})],T.prototype,"sourceSpatialReference",void 0),(0,o._)([(0,y.J)(f,{ignoreUnknown:!1,name:"spatialRel"})],T.prototype,"spatialRelationship",void 0),(0,o._)([(0,d.Cb)({type:Number,json:{read:{source:"resultOffset"}}})],T.prototype,"start",void 0),(0,o._)([(0,m.c)("start"),(0,m.c)("num")],T.prototype,"writeStart",null),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"sqlFormat",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:!0}})],T.prototype,"text",void 0),(0,o._)([(0,d.Cb)({type:n.Z,json:{write:!0}})],T.prototype,"timeExtent",void 0),(0,o._)([(0,d.Cb)({type:Boolean,json:{default:!1,write:!0}})],T.prototype,"timeReferenceUnknownClient",void 0),(0,o._)([(0,y.J)(j,{ignoreUnknown:!1}),(0,d.Cb)({json:{write:{overridePolicy(e){return{enabled:e&&this.distance>0}}}}})],T.prototype,"units",void 0),(0,o._)([(0,d.Cb)({type:String,json:{write:{overridePolicy(e){return{enabled:null!=e||this.start>0}}}}})],T.prototype,"where",void 0),(0,o._)([(0,m.c)("where")],T.prototype,"writeWhere",null),T=r=(0,o._)([(0,h.j)("esri.rest.support.Query")],T);const R=T},58539:(e,t,i)=>{i.d(t,{Z:()=>y});var r,o=i(43697),s=i(35454),n=i(96674),a=i(22974),l=i(5600),p=(i(75215),i(52011)),u=i(30556);const d=new s.Xn({count:"count",sum:"sum",min:"min",max:"max",avg:"avg",stddev:"stddev",var:"var",exceedslimit:"exceedslimit",percentile_cont:"percentile-continuous",percentile_disc:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate"});let c=r=class extends n.wq{constructor(e){super(e),this.maxPointCount=void 0,this.maxRecordCount=void 0,this.maxVertexCount=void 0,this.onStatisticField=null,this.outStatisticFieldName=null,this.statisticType=null,this.statisticParameters=null}writeStatisticParameters(e,t){"percentile-continuous"!==this.statisticType&&"percentile-discrete"!==this.statisticType||(t.statisticParameters=(0,a.d9)(e))}clone(){return new r({maxPointCount:this.maxPointCount,maxRecordCount:this.maxRecordCount,maxVertexCount:this.maxVertexCount,onStatisticField:this.onStatisticField,outStatisticFieldName:this.outStatisticFieldName,statisticType:this.statisticType,statisticParameters:(0,a.d9)(this.statisticParameters)})}};(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxPointCount",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxRecordCount",void 0),(0,o._)([(0,l.Cb)({type:Number,json:{write:!0}})],c.prototype,"maxVertexCount",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],c.prototype,"onStatisticField",void 0),(0,o._)([(0,l.Cb)({type:String,json:{write:!0}})],c.prototype,"outStatisticFieldName",void 0),(0,o._)([(0,l.Cb)({type:String,json:{read:{source:"statisticType",reader:d.read},write:{target:"statisticType",writer:d.write}}})],c.prototype,"statisticType",void 0),(0,o._)([(0,l.Cb)({type:Object})],c.prototype,"statisticParameters",void 0),(0,o._)([(0,u.c)("statisticParameters")],c.prototype,"writeStatisticParameters",null),c=r=(0,o._)([(0,p.j)("esri.rest.support.StatisticDefinition")],c);const y=c}}]);
|