@arcgis/core 5.2.0-next.75 → 5.2.0-next.76
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/arcgisGlobal.d.ts +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/013c9cc198736a72f7f2.js +1 -0
- package/assets/esri/core/workers/chunks/0194244a3f437ad74045.js +1 -0
- package/assets/esri/core/workers/chunks/{4dcd4a052b40047a9230.js → 08cac27df6c216ae1995.js} +1 -1
- package/assets/esri/core/workers/chunks/08ec5461af74356e7570.js +1 -0
- package/assets/esri/core/workers/chunks/0909816f13d25cacf250.js +1 -0
- package/assets/esri/core/workers/chunks/0933203eee15ea50e123.js +1 -0
- package/assets/esri/core/workers/chunks/{5e1d84e97de0e662aaa9.js → 1142f8e9c80207d6bdae.js} +1 -1
- package/assets/esri/core/workers/chunks/16929524565a677db4dc.js +1 -0
- package/assets/esri/core/workers/chunks/16a04fc184728d66e6e1.js +1 -0
- package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +1 -0
- package/assets/esri/core/workers/chunks/1a467da4c0b33f655199.js +1 -0
- package/assets/esri/core/workers/chunks/1ef28d4457c8c943ad19.js +1 -0
- package/assets/esri/core/workers/chunks/{2b93888e61ca638490cf.js → 20b54e7872d967f3be32.js} +1 -1
- package/assets/esri/core/workers/chunks/{5f31b375971ab067121e.js → 21f763694a41968ac21a.js} +1 -1
- package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +1 -0
- package/assets/esri/core/workers/chunks/257f1e8316877f611e11.js +1 -0
- package/assets/esri/core/workers/chunks/270ed3070d118edb3f37.js +1 -0
- package/assets/esri/core/workers/chunks/2e7c830b5b1fe406169f.js +1 -0
- package/assets/esri/core/workers/chunks/315031323e11a18154e3.js +1 -0
- package/assets/esri/core/workers/chunks/393f79843d5a78c1cc37.js +1 -0
- package/assets/esri/core/workers/chunks/3b5c5356353f1a2303a0.js +1 -0
- package/assets/esri/core/workers/chunks/{99e3aa4832ed87474ab4.js → 44857a76be2c0ac65bb9.js} +1 -1
- package/assets/esri/core/workers/chunks/{3e2b4e734aa20a308f3e.js → 46e56fac44e0fd26ba1d.js} +1 -1
- package/assets/esri/core/workers/chunks/{4491dc227c28e2ab4f8e.js → 484b251fbcbffcb58323.js} +1 -1
- package/assets/esri/core/workers/chunks/48e2d0bfb62e1f4f2ad9.js +1 -0
- package/assets/esri/core/workers/chunks/4945d6b0ca1812864185.js +1 -0
- package/assets/esri/core/workers/chunks/{7f2f2a92dce3f68e579b.js → 4b54444c04fbd6f42c18.js} +1 -1
- package/assets/esri/core/workers/chunks/4c82f5f23004f905a18f.js +1 -0
- package/assets/esri/core/workers/chunks/4f8ce5887102971bfa34.js +2 -0
- package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js → 532e3a59888e4cc13bd3.js} +2 -2
- package/assets/esri/core/workers/chunks/53eed0941a39b56cc034.js +1 -0
- package/assets/esri/core/workers/chunks/56e6d8c4a9ed893ce951.js +1 -0
- package/assets/esri/core/workers/chunks/57159bcac86d660dcceb.js +1 -0
- package/assets/esri/core/workers/chunks/58026fc30d8a0ded4102.js +1 -0
- package/assets/esri/core/workers/chunks/59598023c0aea62a6297.js +1 -0
- package/assets/esri/core/workers/chunks/5bf2ce280ea35ea4c96b.js +1 -0
- package/assets/esri/core/workers/chunks/5fd2aa0be03dfb494efa.js +1 -0
- package/assets/esri/core/workers/chunks/619aa1381296172ff47b.js +1 -0
- package/assets/esri/core/workers/chunks/62f37d1075390a177ae9.js +1 -0
- package/assets/esri/core/workers/chunks/65d1e338612e59063eba.js +1 -0
- package/assets/esri/core/workers/chunks/680dd7b7638465eb33de.js +1 -0
- package/assets/esri/core/workers/chunks/6c740c411b085d2d08c4.js +1 -0
- package/assets/esri/core/workers/chunks/{b14961a9f1f40028f141.js → 6c982779d6d47ec99899.js} +1 -1
- package/assets/esri/core/workers/chunks/{0eb35e09765fd74eb698.js → 6e45ecf359bce3417f5d.js} +1 -1
- package/assets/esri/core/workers/chunks/{a52c88e2d837b525ff6c.js → 71ee7c51d2c60a180f1e.js} +1 -1
- package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js → 755b2d883fba90c4e688.js} +2 -2
- package/assets/esri/core/workers/chunks/{6b783f440c4a5d36e879.js → 75fc0b1db8e2e3fd2458.js} +1 -1
- package/assets/esri/core/workers/chunks/79429c8be5da85713200.js +1 -0
- package/assets/esri/core/workers/chunks/7b470d6ad182548b9e95.js +1 -0
- package/assets/esri/core/workers/chunks/7d8eb4dbea1916320f74.js +1 -0
- package/assets/esri/core/workers/chunks/83e54166ba634ec2bd89.js +1717 -0
- package/assets/esri/core/workers/chunks/87eaed6fdabd482d142e.js +1 -0
- package/assets/esri/core/workers/chunks/88d5541679e77117bf03.js +1 -0
- package/assets/esri/core/workers/chunks/894ebc64b698e5d7604b.js +1 -0
- package/assets/esri/core/workers/chunks/{67f54586156d1ab80257.js → 8b980c6b92cc4ea68ede.js} +1 -1
- package/assets/esri/core/workers/chunks/{4046bd65d7d0677f4600.js → 8d9a7fa14489897780d3.js} +1 -1
- package/assets/esri/core/workers/chunks/8e225dd0319672103561.js +1 -0
- package/assets/esri/core/workers/chunks/9199300ffd225a1bbef1.js +1 -0
- package/assets/esri/core/workers/chunks/{5ba3a30b7cbfa9e3aa62.js → 94b9a61b4dbb83425a78.js} +1 -1
- package/assets/esri/core/workers/chunks/98613fded899c59f34a4.js +1 -0
- package/assets/esri/core/workers/chunks/{6743d726e45e7b660505.js → 9c3e6325dc60bcaf44d7.js} +1 -1
- package/assets/esri/core/workers/chunks/9e1392a0c608a13ab036.js +1 -0
- package/assets/esri/core/workers/chunks/{7a24cc0f3b4eff2bdb8e.js → 9e2e4d197a7a57c2a691.js} +1 -1
- package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js → a014c17fc210620da738.js} +2 -2
- package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js → a19be304219808268039.js} +2 -2
- package/assets/esri/core/workers/chunks/{53d165b4f30fd64e5d8a.js → a4e4fa4dd1a122bbf7cd.js} +1 -1
- package/assets/esri/core/workers/chunks/a5240c8a47842138f31f.js +1 -0
- package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +1 -0
- package/assets/esri/core/workers/chunks/a7727a2377470d586ff9.js +1 -0
- package/assets/esri/core/workers/chunks/a91c1d782346a9c7e1ef.js +1 -0
- package/assets/esri/core/workers/chunks/{6cd6d0cfd313f0475d98.js → ac59218847e5ef4c4160.js} +1 -1
- package/assets/esri/core/workers/chunks/ac87be2210f868524996.js +1 -0
- package/assets/esri/core/workers/chunks/aed16c3e26652960ad3f.js +1 -0
- package/assets/esri/core/workers/chunks/{43713bc6f7eea07259d0.js → b084829a3fd709dc47a8.js} +1 -1
- package/assets/esri/core/workers/chunks/{05f6887805d92da03122.js → b24fc7eeda580ef020d2.js} +1 -1
- package/assets/esri/core/workers/chunks/b37a20c5c4a4686257d4.js +1 -0
- package/assets/esri/core/workers/chunks/{43a65cab888d43954564.js → b4abf82b8ac974a55ae1.js} +1 -1
- package/assets/esri/core/workers/chunks/b950ddafba8125c84a5b.js +1 -0
- package/assets/esri/core/workers/chunks/bab5f4b2424b487b87ac.js +1 -0
- package/assets/esri/core/workers/chunks/{0d3b2d9a19383bb63f0a.js → bad2c7219e95750906e1.js} +1 -1
- package/assets/esri/core/workers/chunks/bbc6b270d2032189107c.js +1 -0
- package/assets/esri/core/workers/chunks/bc6e488f5fbd50f9f3d0.js +1 -0
- package/assets/esri/core/workers/chunks/bd7d87d175ba933ab2ce.js +1 -0
- package/assets/esri/core/workers/chunks/{1c49c9472167a2e0c923.js → c17dda6fadb8bfad0d51.js} +1 -1
- package/assets/esri/core/workers/chunks/c1e5ffe9a251be5a0744.js +1 -0
- package/assets/esri/core/workers/chunks/ca6652c6304ad0e37e8f.js +1 -0
- package/assets/esri/core/workers/chunks/{762be5d3e6aeaea33f74.js → cef02ed3942c010da2e8.js} +1 -1
- package/assets/esri/core/workers/chunks/d520d407043bc52e5410.js +1 -0
- package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +1 -0
- package/assets/esri/core/workers/chunks/dbdd96e558936955acdb.js +1 -0
- package/assets/esri/core/workers/chunks/de927b1460bc384f5b87.js +1 -0
- package/assets/esri/core/workers/chunks/de9a1cce70581920f248.js +1 -0
- package/assets/esri/core/workers/chunks/dff932682d6386a861ce.js +1 -0
- package/assets/esri/core/workers/chunks/{2c31648a4b95275516ee.js → e227eb44cd139fe2bc1b.js} +1 -1
- package/assets/esri/core/workers/chunks/e4e5a171a4874c5af4a4.js +1 -0
- package/assets/esri/core/workers/chunks/{ddb92c815d17c67a45e6.js → e5d114f2b57d2b8e2f1c.js} +1 -1
- package/assets/esri/core/workers/chunks/e89e6eea380ca2c13b64.js +1 -0
- package/assets/esri/core/workers/chunks/e9d352d030dcad1619a6.js +1 -0
- package/assets/esri/core/workers/chunks/{3de6e54b6ed0feae1940.js → eae51e827f629ab37207.js} +1 -1
- package/assets/esri/core/workers/chunks/eee1fd629619021ea279.js +1 -0
- package/assets/esri/core/workers/chunks/{b6cd165d0e58598f28a5.js → ef47a5da641cb0d33fdf.js} +1 -1
- package/assets/esri/core/workers/chunks/f35e749bb5be39880cbe.js +1 -0
- package/assets/esri/core/workers/chunks/{3dff36f6de181d9dcdc5.js → f40e4433e7608d0962a6.js} +1 -1
- package/assets/esri/core/workers/chunks/{d1c7c877edc6948f3801.js → f4aa6e90200f61e623e5.js} +1 -1
- package/assets/esri/core/workers/chunks/{36ec5b84e551ab08b24a.js → ff578f0ca68d652fece5.js} +1 -1
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/assets/esri/libs/text/pkg/bundle_bg.wasm +0 -0
- package/chunks/HeatmapDensity.glsl.js +5 -5
- package/chunks/bundle2.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/config.js +1 -1
- package/geometry/geometryEngine.js +1 -1
- package/geometry/support/centroid.js +1 -1
- package/geometry/support/extentUtils.js +1 -1
- package/geometry/support/frustum.js +1 -1
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/projectionSupport.js +1 -1
- package/layers/graphics/sources/support/sourceUtils.js +1 -1
- package/package.json +2 -2
- package/support/revision.js +1 -1
- package/symbols/cim/animationUtils.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/effects/EffectCircularSector.js +1 -1
- package/views/2d/engine/BitmapTile.js +1 -1
- package/views/2d/engine/flow/styles/Imagery.js +1 -1
- package/views/2d/engine/flow/styles/Particles.js +1 -1
- package/views/2d/engine/flow/styles/Streamlines.js +1 -1
- package/views/2d/engine/imagery/RasterTile.js +1 -1
- package/views/2d/engine/imagery/RasterVFTile.js +1 -1
- package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
- package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
- package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileRendererHelper3D.js +1 -1
- package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
- package/views/2d/engine/webgl/Painter.js +1 -1
- package/views/2d/engine/webgl/RenderingDevice.js +1 -1
- package/views/2d/engine/webgl/TileContainer.js +1 -1
- package/views/2d/engine/webgl/TiledDisplayObject.js +1 -1
- package/views/2d/engine/webgl/animations/infos.js +1 -1
- package/views/2d/engine/webgl/animations/instructions.js +1 -1
- package/views/2d/engine/webgl/normalizedTileUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/GraphShaderModule.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/graph/ShaderGraphContext.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedLineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/clip/ClipTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityPointShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/flow/FlowTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BitmapShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/BlendShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ComplexFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/FillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/GradientStrokeShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/HeatmapAccumulateShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/PatternFillShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TexturedLineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/Tile.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileDebugInfoShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileInfo.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/TileStencilShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ViewInfo.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/BaseRasterColorizerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/MagDirShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/ScalarShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderCircle.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderIcon.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderOutline.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/vector-tiles/VTLShaderText.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileDebugInfoTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/tile/TileStencilTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/utility/DebugOverlayTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueCircle.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueFill.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueLine.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/types.js +2 -0
- package/views/2d/engine/webgl/shaderGraph/uniformBufferUtils.js +2 -0
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/support/DisplayGL.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
- package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
- package/views/3d/layers/MediaLayerView3D.js +1 -1
- package/views/3d/layers/VectorTileLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
- package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
- package/views/3d/support/GaussianSplatSortWorker.js +1 -1
- package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
- package/views/3d/support/flow/geometryUtils.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/renderInfoUtils/line.js +1 -1
- package/views/3d/support/renderInfoUtils/polygon.js +1 -1
- package/views/3d/terrain/DrapedZ.js +2 -0
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/terrain/TileCompositor.js +1 -1
- package/views/3d/webgl/RenderCamera.js +1 -1
- package/views/3d/webgl/RenderNode.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +2 -2
- package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +2 -2
- package/views/3d/webgl-engine/lib/PositionReader.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
- package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFields.js +1 -1
- package/views/3d/webgl-engine/lib/screenPolygonOverlapUtils.js +1 -1
- package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensity.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/HeatmapDensityTechnique.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/webgl/RenderingContext.js +1 -1
- package/views/webgl/UniformBufferLayout.js +1 -1
- package/views/webgl/UniformBufferObject.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +20 -6
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +100 -0
- package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.js +2 -0
- package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/multipleChoiceInputUtils.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
- package/widgets/UtilityNetworkTrace/support/ResultAreaHandler.js +1 -1
- package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +0 -1
- package/assets/esri/core/workers/chunks/0823961e5d0bdedbf8cf.js +0 -2
- package/assets/esri/core/workers/chunks/0aedeb837399d3f92e4a.js +0 -1
- package/assets/esri/core/workers/chunks/0bf644f93c180a2bc2f8.js +0 -705
- package/assets/esri/core/workers/chunks/0daaa89de339e8ea4b81.js +0 -1
- package/assets/esri/core/workers/chunks/1119a33245138e7b3914.js +0 -1
- package/assets/esri/core/workers/chunks/12234a63d3fa4bc25e7e.js +0 -1
- package/assets/esri/core/workers/chunks/1cf8fb704c48ac3d3b15.js +0 -1
- package/assets/esri/core/workers/chunks/2435ef7d11f8dbb920b7.js +0 -256
- package/assets/esri/core/workers/chunks/2791f3fe16ca5ee2f39a.js +0 -1
- package/assets/esri/core/workers/chunks/27f574acf52f2c8bc2c9.js +0 -1
- package/assets/esri/core/workers/chunks/2d45daacec0d5ed38782.js +0 -1
- package/assets/esri/core/workers/chunks/2ea3ca68cfa4d34e8f3b.js +0 -1
- package/assets/esri/core/workers/chunks/2f81047790c4890ae625.js +0 -1
- package/assets/esri/core/workers/chunks/3235e14fedb19dd94807.js +0 -1
- package/assets/esri/core/workers/chunks/32f5112c848efec6c33b.js +0 -1
- package/assets/esri/core/workers/chunks/3bc2943035391b44d4cf.js +0 -29
- package/assets/esri/core/workers/chunks/3c32471785bc8570e41c.js +0 -1
- package/assets/esri/core/workers/chunks/4295822fa6ef743c76f1.js +0 -1
- package/assets/esri/core/workers/chunks/42d5ed44111bea77ec71.js +0 -1462
- package/assets/esri/core/workers/chunks/46873badbd6ce8ff4e1e.js +0 -1
- package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.js +0 -1
- package/assets/esri/core/workers/chunks/4b5bd0c9a55ea2998601.js +0 -1
- package/assets/esri/core/workers/chunks/4c2794687aea172775a0.js +0 -1
- package/assets/esri/core/workers/chunks/4d9bde9f66817a92ceca.js +0 -1
- package/assets/esri/core/workers/chunks/4fe2cca405180af23364.js +0 -1
- package/assets/esri/core/workers/chunks/519af918050b47f93516.js +0 -1
- package/assets/esri/core/workers/chunks/5600fc334d20c4f0c83d.js +0 -1
- package/assets/esri/core/workers/chunks/5627f562dea8bae2f346.js +0 -1
- package/assets/esri/core/workers/chunks/5bf4ab72b9634b06cc5d.js +0 -1
- package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +0 -1
- package/assets/esri/core/workers/chunks/6f58cb9dffe8016397a2.js +0 -1
- package/assets/esri/core/workers/chunks/6fc3553c52af6ace926d.js +0 -1
- package/assets/esri/core/workers/chunks/7aaa051b51a8e34bbfb0.js +0 -1
- package/assets/esri/core/workers/chunks/7dc5aedc964eacd1be5a.js +0 -1
- package/assets/esri/core/workers/chunks/7f91e45156bbe88f9a62.js +0 -1
- package/assets/esri/core/workers/chunks/8a48a6760c33ed50b650.js +0 -1
- package/assets/esri/core/workers/chunks/8d21e2dabc5165f1c8ca.js +0 -1
- package/assets/esri/core/workers/chunks/903e1cd8b76eff19ebdf.js +0 -1
- package/assets/esri/core/workers/chunks/917c11cb40a7742d7f98.js +0 -1
- package/assets/esri/core/workers/chunks/91d133c04ca764d74934.js +0 -1
- package/assets/esri/core/workers/chunks/92c4464b67fce6cea134.js +0 -1
- package/assets/esri/core/workers/chunks/947f1ea4dbc3e3419ecc.js +0 -1
- package/assets/esri/core/workers/chunks/9482a6d7baa24bbf5693.js +0 -1
- package/assets/esri/core/workers/chunks/96cec8a02ca96175d602.js +0 -1
- package/assets/esri/core/workers/chunks/9902fcd2070c8eb6d043.js +0 -1
- package/assets/esri/core/workers/chunks/9b76c8974424a1908e86.js +0 -1
- package/assets/esri/core/workers/chunks/9be6827e5756031a56c1.js +0 -1
- package/assets/esri/core/workers/chunks/9cff18e6f751d1b3085e.js +0 -1
- package/assets/esri/core/workers/chunks/a101152066dd56259619.js +0 -1
- package/assets/esri/core/workers/chunks/a2a2c7e274fb32fecffa.js +0 -1
- package/assets/esri/core/workers/chunks/a3bf8aa81ee398da5b52.js +0 -1
- package/assets/esri/core/workers/chunks/a7a7d3289d4ca95f545f.js +0 -1
- package/assets/esri/core/workers/chunks/abb6c76d5dba3559a68e.js +0 -1
- package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +0 -1
- package/assets/esri/core/workers/chunks/b1a175b3b2d1a7ddde8e.js +0 -1
- package/assets/esri/core/workers/chunks/b78f509fd8e95f728178.js +0 -1
- package/assets/esri/core/workers/chunks/b858adff7043683fe41c.js +0 -1
- package/assets/esri/core/workers/chunks/be1d2c3a61e6447fbbc7.js +0 -1
- package/assets/esri/core/workers/chunks/c02ae1d40c1fe95ae6c5.js +0 -1
- package/assets/esri/core/workers/chunks/c1189316d24fb4cdb2a0.js +0 -1
- package/assets/esri/core/workers/chunks/c53b2be005721591e29b.js +0 -1
- package/assets/esri/core/workers/chunks/c82ab4f0908290e70ee9.js +0 -1
- package/assets/esri/core/workers/chunks/cc5ec6e99aa09342c704.js +0 -1
- package/assets/esri/core/workers/chunks/cd892c9603710d6130a9.js +0 -1
- package/assets/esri/core/workers/chunks/d021775cf747556660a5.js +0 -1
- package/assets/esri/core/workers/chunks/d633e98b0dfa0490e4de.js +0 -1
- package/assets/esri/core/workers/chunks/d79ce047afbc034f6008.js +0 -1
- package/assets/esri/core/workers/chunks/d8eca13c127b443141b7.js +0 -1
- package/assets/esri/core/workers/chunks/dbc9249dae41096d750d.js +0 -1
- package/assets/esri/core/workers/chunks/eb1a86159dbc098f06fe.js +0 -1
- package/assets/esri/core/workers/chunks/ec1841e6e498d54012eb.js +0 -1
- package/assets/esri/core/workers/chunks/ed1de8b7406269e217b9.js +0 -29
- package/assets/esri/core/workers/chunks/ee9eb381e675d2d01260.js +0 -1
- package/assets/esri/core/workers/chunks/f2ab8e49c7f17f488aa8.js +0 -1
- package/assets/esri/core/workers/chunks/f43a0edf58941e2ac78e.js +0 -1
- package/assets/esri/core/workers/chunks/f78acff510ca615d42e4.js +0 -1
- package/assets/esri/core/workers/chunks/f7a5c4d22a24e1ac433c.js +0 -1
- package/chunks/geometryEngineBase.js +0 -2
- package/geometry/geometryAdapters/json.js +0 -2
- package/geometry/geometryEngineJSON.js +0 -2
- /package/assets/esri/core/workers/chunks/{0823961e5d0bdedbf8cf.js.LICENSE.txt → 4f8ce5887102971bfa34.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{186bedc377cc97731ca2.js.LICENSE.txt → 532e3a59888e4cc13bd3.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ad1d06a91121ebfe9162.js.LICENSE.txt → 755b2d883fba90c4e688.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d03e7be74c57c3dbf003.js.LICENSE.txt → a014c17fc210620da738.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{8302bffd28cc6720e0fe.js.LICENSE.txt → a19be304219808268039.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1687],{31687(e,t,_){_.r(t),_.d(t,{Face:()=>n,GlyphData:()=>r,GlyphRect:()=>s,default:()=>R,enableTracing:()=>i,initSync:()=>W});class n{static __wrap(e){e>>>=0;const t=Object.create(n.prototype);return t.__wbg_ptr=e,o.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,o.unregister(this),e}free(){const e=this.__destroy_into_raw();A.__wbg_face_free(e,0)}baseline(){return A.face_baseline(this.__wbg_ptr)}face_height(){return A.face_face_height(this.__wbg_ptr)}midline(){return A.face_midline(this.__wbg_ptr)}paintCurves(e,t){const _=A.face_paintCurves(this.__wbg_ptr,e,t);return 0===_?void 0:s.__wrap(_)}static parse(e){const t=d(e,A.__wbindgen_malloc),_=O,r=A.face_parse(t,_);if(r[2])throw y(r[1]);return n.__wrap(r[0])}static parseWoff2(e){const t=d(e,A.__wbindgen_malloc),_=O,r=A.face_parseWoff2(t,_);if(r[2])throw y(r[1]);return n.__wrap(r[0])}shape(e,t,_){const n=h(e,A.__wbindgen_malloc,A.__wbindgen_realloc),r=O,s=function(e,t){const _=t(4*e.length,4)>>>0;return(null!==f&&0!==f.byteLength||(f=new Uint32Array(A.memory.buffer)),f).set(e,_/4),O=e.length,_}(t,A.__wbindgen_malloc),i=O,a=A.face_shape(this.__wbg_ptr,n,r,s,i,_);var o=function(e,t){e>>>=0;const _=
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1687],{31687(e,t,_){_.r(t),_.d(t,{Face:()=>n,GlyphData:()=>r,GlyphRect:()=>s,default:()=>R,enableTracing:()=>i,initSync:()=>W});class n{static __wrap(e){e>>>=0;const t=Object.create(n.prototype);return t.__wbg_ptr=e,o.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,o.unregister(this),e}free(){const e=this.__destroy_into_raw();A.__wbg_face_free(e,0)}baseline(){return A.face_baseline(this.__wbg_ptr)}face_height(){return A.face_face_height(this.__wbg_ptr)}midline(){return A.face_midline(this.__wbg_ptr)}paintCurves(e,t){const _=A.face_paintCurves(this.__wbg_ptr,e,t);return 0===_?void 0:s.__wrap(_)}static parse(e){const t=d(e,A.__wbindgen_malloc),_=O,r=A.face_parse(t,_);if(r[2])throw y(r[1]);return n.__wrap(r[0])}static parseWoff2(e){const t=d(e,A.__wbindgen_malloc),_=O,r=A.face_parseWoff2(t,_);if(r[2])throw y(r[1]);return n.__wrap(r[0])}shape(e,t,_){const n=h(e,A.__wbindgen_malloc,A.__wbindgen_realloc),r=O,s=function(e,t){const _=t(4*e.length,4)>>>0;return(null!==f&&0!==f.byteLength||(f=new Uint32Array(A.memory.buffer)),f).set(e,_/4),O=e.length,_}(t,A.__wbindgen_malloc),i=O,a=A.face_shape(this.__wbg_ptr,n,r,s,i,_);var o=function(e,t){e>>>=0;const _=l(),n=[];for(let r=e;r<e+4*t;r+=4)n.push(A.__wbindgen_externrefs.get(_.getUint32(r,!0)));return A.__externref_drop_slice(e,t),n}(a[0],a[1]).slice();return A.__wbindgen_free(a[0],4*a[1],4),o}units_per_em(){return A.face_units_per_em(this.__wbg_ptr)}}Symbol.dispose&&(n.prototype[Symbol.dispose]=n.prototype.free);class r{static __wrap(e){e>>>=0;const t=Object.create(r.prototype);return t.__wbg_ptr=e,g.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,g.unregister(this),e}free(){const e=this.__destroy_into_raw();A.__wbg_glyphdata_free(e,0)}get cluster(){return A.__wbg_get_glyphdata_cluster(this.__wbg_ptr)>>>0}get glyphId(){return A.__wbg_get_glyphdata_glyphId(this.__wbg_ptr)>>>0}get isNewline(){return 0!==A.__wbg_get_glyphdata_isNewline(this.__wbg_ptr)}get isWhitespace(){return 0!==A.__wbg_get_glyphdata_isWhitespace(this.__wbg_ptr)}get unsafeToBreak(){return 0!==A.__wbg_get_glyphdata_unsafeToBreak(this.__wbg_ptr)}get xAdvance(){return A.__wbg_get_glyphdata_xAdvance(this.__wbg_ptr)}get xOffset(){return A.__wbg_get_glyphdata_xOffset(this.__wbg_ptr)}get yAdvance(){return A.__wbg_get_glyphdata_yAdvance(this.__wbg_ptr)}get yOffset(){return A.__wbg_get_glyphdata_yOffset(this.__wbg_ptr)}set cluster(e){A.__wbg_set_glyphdata_cluster(this.__wbg_ptr,e)}set glyphId(e){A.__wbg_set_glyphdata_glyphId(this.__wbg_ptr,e)}set isNewline(e){A.__wbg_set_glyphdata_isNewline(this.__wbg_ptr,e)}set isWhitespace(e){A.__wbg_set_glyphdata_isWhitespace(this.__wbg_ptr,e)}set unsafeToBreak(e){A.__wbg_set_glyphdata_unsafeToBreak(this.__wbg_ptr,e)}set xAdvance(e){A.__wbg_set_glyphdata_xAdvance(this.__wbg_ptr,e)}set xOffset(e){A.__wbg_set_glyphdata_xOffset(this.__wbg_ptr,e)}set yAdvance(e){A.__wbg_set_glyphdata_yAdvance(this.__wbg_ptr,e)}set yOffset(e){A.__wbg_set_glyphdata_yOffset(this.__wbg_ptr,e)}}Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free);class s{static __wrap(e){e>>>=0;const t=Object.create(s.prototype);return t.__wbg_ptr=e,c.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,c.unregister(this),e}free(){const e=this.__destroy_into_raw();A.__wbg_glyphrect_free(e,0)}get xMax(){return A.__wbg_get_glyphrect_xMax(this.__wbg_ptr)}get xMin(){return A.__wbg_get_glyphrect_xMin(this.__wbg_ptr)}get yMax(){return A.__wbg_get_glyphrect_yMax(this.__wbg_ptr)}get yMin(){return A.__wbg_get_glyphrect_yMin(this.__wbg_ptr)}set xMax(e){A.__wbg_set_glyphrect_xMax(this.__wbg_ptr,e)}set xMin(e){A.__wbg_set_glyphrect_xMin(this.__wbg_ptr,e)}set yMax(e){A.__wbg_set_glyphrect_yMax(this.__wbg_ptr,e)}set yMin(e){A.__wbg_set_glyphrect_yMin(this.__wbg_ptr,e)}}function i(){A.enableTracing()}function a(){return{__proto__:null,"./bundle_bg.js":{__proto__:null,__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw new Error(p(e,t))},__wbg_beginPath_b4ec56dc6dbd28c7:function(e){e.beginPath()},__wbg_bezierCurveTo_323ad38efdd2d2c3:function(e,t,_,n,r,s,i){e.bezierCurveTo(t,_,n,r,s,i)},__wbg_closePath_e5e5448e0c6d7cb8:function(e){e.closePath()},__wbg_error_a6fa202b58aa1cd3:function(e,t){let _,n;try{_=e,n=t,console.error(p(e,t))}finally{A.__wbindgen_free(_,n,1)}},__wbg_fill_2c322ff4553d5c98:function(e){e.fill()},__wbg_glyphdata_new:function(e){return r.__wrap(e)},__wbg_lineTo_62087e32d7b9fd2d:function(e,t,_){e.lineTo(t,_)},__wbg_moveTo_f00e8eaf1df9d778:function(e,t,_){e.moveTo(t,_)},__wbg_new_227d7c05414eb861:function(){return new Error},__wbg_quadraticCurveTo_a662d850a3bdca89:function(e,t,_,n,r){e.quadraticCurveTo(t,_,n,r)},__wbg_stack_3b0d974bbf31e44f:function(e,t){const _=h(t.stack,A.__wbindgen_malloc,A.__wbindgen_realloc),n=O;l().setInt32(e+4,n,!0),l().setInt32(e+0,_,!0)},__wbindgen_cast_0000000000000001:function(e,t){return p(e,t)},__wbindgen_init_externref_table:function(){const e=A.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}}}}Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);const o="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>A.__wbg_face_free(e>>>0,1)),g="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>A.__wbg_glyphdata_free(e>>>0,1)),c="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>A.__wbg_glyphrect_free(e>>>0,1));let b=null;function l(){return(null===b||!0===b.buffer.detached||void 0===b.buffer.detached&&b.buffer!==A.memory.buffer)&&(b=new DataView(A.memory.buffer)),b}function p(e,t){return function(e,t){return v+=t,v>=x&&(m=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),m.decode(),v=t),m.decode(u().subarray(e,e+t))}(e>>>=0,t)}let f=null,w=null;function u(){return null!==w&&0!==w.byteLength||(w=new Uint8Array(A.memory.buffer)),w}function d(e,t){const _=t(1*e.length,1)>>>0;return u().set(e,_/1),O=e.length,_}function h(e,t,_){if(void 0===_){const _=M.encode(e),n=t(_.length,1)>>>0;return u().subarray(n,n+_.length).set(_),O=_.length,n}let n=e.length,r=t(n,1)>>>0;const s=u();let i=0;for(;i<n;i++){const t=e.charCodeAt(i);if(t>127)break;s[r+i]=t}if(i!==n){0!==i&&(e=e.slice(i)),r=_(r,n,n=i+3*e.length,1)>>>0;const t=u().subarray(r+i,r+n);i+=M.encodeInto(e,t).written,r=_(r,n,i,1)>>>0}return O=i,r}function y(e){const t=A.__wbindgen_externrefs.get(e);return A.__externref_table_dealloc(e),t}let m=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});m.decode();const x=2146435072;let v=0;const M=new TextEncoder;"encodeInto"in M||(M.encodeInto=function(e,t){const _=M.encode(e);return t.set(_),{read:e.length,written:_.length}});let A,O=0;function T(e,t){return A=e.exports,b=null,f=null,w=null,A.__wbindgen_start(),A}function W(e){if(void 0!==A)return A;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module:e}=e):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const t=a();return e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e)),T(new WebAssembly.Instance(e,t))}async function R(e){if(void 0!==A)return A;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const t=a();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:_,module:n}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(!e.ok||!function(e){switch(e){case"basic":case"cors":case"default":return!0}return!1}(e.type)||"application/wasm"===e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const _=await e.arrayBuffer();return await WebAssembly.instantiate(_,t)}{const _=await WebAssembly.instantiate(e,t);return _ instanceof WebAssembly.Instance?{instance:_,module:e}:_}}(await e,t);return T(_)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3367],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},47609(e,t,r){r.d(t,{A:()=>i});var n=r(66395);class i extends n.A{constructor(e){super({__proto__:null,url:e}),this.declaredClass="esri.arcade.Portal"}get url(){return this.field("url")}}},66395(e,t,r){r.d(t,{A:()=>l});var n=r(66131),i=r(6800),s=r(85935),o=r(78878),a=r(91075);class l{constructor(e){this.declaredClass="esri.arcade.Dictionary",this.plain=!1,this.immutable=!0,e instanceof l?this.attributes=e.attributes:null==e?this.attributes=Object.create(null):null!=Object.getPrototypeOf(e)?this.attributes={__proto__:null,...e}:this.attributes=e}static createMutable(e){const t=new l(e);return t.immutable=!1,t}static containerEntry(e,t){return new l({__proto__:null,key:e,value:t})}static textFormatting(){return l.createMutable({__proto__:null,newline:"\n",tab:"\t",singlequote:"'",doublequote:'"',forwardslash:"/",backwardslash:"\\"})}field(e){const t=e.toLowerCase(),r=this.attributes[e];if(void 0!==r)return r;for(const e in this.attributes)if(e.toLowerCase()===t)return this.attributes[e];throw new s.D$("FieldNotFound",null,{key:e})}setField(e,t){if(this.immutable)throw new s.D$("Immutable",null);if((0,o.i)(t))throw new s.D$("NoFunctionInDictionary",null);const r=e.toLowerCase();if(t instanceof Date&&(t=n.lY.dateJSToArcadeDate(t)),void 0===this.attributes[e]){for(const e in this.attributes)if(e.toLowerCase()===r)return void(this.attributes[e]=t);this.attributes[e]=t}else this.attributes[e]=t}eraseField(e){if(this.immutable)throw new s.D$("Immutable",null);if(e in this.attributes)return void delete this.attributes[e];const t=e.toLowerCase();for(const e in this.attributes)if(e.toLowerCase()===t)return void delete this.attributes[e]}hasField(e){const t=e.toLowerCase();if(void 0!==this.attributes[e])return!0;for(const e in this.attributes)if(e.toLowerCase()===t)return!0;return!1}keys(){const e=[];for(const t in this.attributes)e.push(t);return e.sort((e,t)=>e.toLowerCase()<t.toLowerCase()?-1:1)}values(){return this.keys().map(e=>this.attributes[e])}entryCount(){return Object.keys(this.attributes).length}isEmpty(){return this.entryCount()<=0}castToText(e=!1){return(0,o.c)(this.attributes,{useNumbersForDates:e})}castAsJson(){const e=Object.create(null);for(const t in this.attributes){const r=this.attributes[t];void 0!==r&&(e[t]=(0,o.a)(r))}return e}async castAsJsonAsync(e=null){const t=Object.create(null),r=[];for(const i in this.attributes){const s=this.attributes[i];void 0!==s&&((0,o.b)(s)||s instanceof a.A||s instanceof n.lY?t[i]=(0,o.a)(s):r.push((0,o.d)(s,e).then(e=>{t[i]=e})))}return r.length>0&&await Promise.all(r),t}deepClone(){const e=new l;e.immutable=!1;for(const t of this.keys())e.setField(t,(0,i.G)(this.field(t)));return e}}},92400(e,t,r){r.d(t,{CU:()=>a,UQ:()=>o,fF:()=>i,o6:()=>s});var n=r(17676);class i{constructor(){}}function s(e,t,r){if(e instanceof i&&!(e instanceof a)){const n=new a;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,l,u)=>{u=u.map(t=>t instanceof i&&!(t instanceof a)?s(t,e,o):t);const c=this.call(r,{args:u});return(0,n.$X)(c)?c.then(e=>s(e,r,o)):c})}}class a extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},7320(e,t,r){r.d(t,{A:()=>s});var n=r(93818),i=r(86738);class s extends n.A{constructor(e,t,r,n,i,s){super(),this._elements=e,this._spRef=t,this._hasZ=r,this._hasM=n,this._cacheId=i,this._partId=s,this._lazyPt=[]}hasZ(){return this._hasZ}hasM(){return this._hasM}get(e){if(void 0===this._lazyPt[e]){const t=this._elements[e];if(void 0===t)return;const r=new i.A(t[0],t[1],this._spRef);this._hasZ&&(r.z=t[2]),this._hasM&&(r.m=this._hasZ?t[3]:t[2]),r.cache._arcadeCacheId=this._cacheId.toString()+"-"+this._partId.toString()+"-"+e.toString(),this._lazyPt[e]=r}return this._lazyPt[e]}equalityTest(e){return e===this||null!==e&&e instanceof s!=0&&e.getUniqueHash()===this.getUniqueHash()}getUniqueHash(){return this._cacheId.toString()+"-"+this._partId.toString()}}},48938(e,t,r){r.d(t,{X:()=>i});var n=r(85935);function i(e){if("string"==typeof e)return e.toLowerCase();if("name"in e)return e.name.toLowerCase();if("string"!=typeof e.value)throw new n.D$("InvalidIdentifier",null);return e.value.toLowerCase()}const s=Object.freeze({aborted:!1});r.d(t,["_",0,s])},6800(e,t,r){r.d(t,{G:()=>a,y:()=>s});var n=r(78878),i=r(54218);function s(e){o=e}let o;function a(e){return null==e?null:(0,n.e)(e)?e.clone():(0,n.b)(e)?e:(0,n.f)(e)?e.clone():(0,n.g)(e)?e.toArray().map(e=>a(e)):(0,i.cy)(e)?e.map(e=>a(e)):(0,n.h)(e)?o.createFromArcadeFeature(e):(0,n.j)(e)||(0,n.k)(e)?e:(0,n.l)(e)||(0,n.m)(e)?e.deepClone():((0,n.n)(e)||(0,n.o)(e)||(0,n.p)(e)||(0,n.i)(e),e)}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>p,Qi:()=>y,eB:()=>m,eg:()=>h,f0:()=>d,ke:()=>l,nE:()=>u,rX:()=>f});var n=r(66131),i=r(44729),s=r(15032),o=r(20437),a=r(92647);function l(e){return o.A.fromJSON(e.toJSON())}function u(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function p(e){return e instanceof a.c9}function f(e){return e instanceof n.lY}function d(e){return e instanceof i.n}function h(e){return e instanceof s.k}function y(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},s={key:r,value:e[r]};return i(n,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const a=s.push(t)-1,l=Object.keys(t).sort(n?.(t));for(o="",i=0;i<l.length;i++){const r=l[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return s.splice(a,1),"{"+o+"}"}(e)}function m(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},80672(e,t,r){r.d(t,{Iq:()=>a,RI:()=>o,VQ:()=>u,wI:()=>l});var n=r(47609),i=r(84952),s=r(20655);function o(e,t){return null==t?a(e):new s.A({url:t.url})}function a(e){return e.services?.portal??s.A.getDefault()}function l(e){const t=a(e);return new n.A(t.url)}function u(e,t){const r=e.url;return!!r&&(0,i.ut)(r,t.restUrl)}},3367(e,t,r){r.d(t,{B:()=>S,P:()=>g,g:()=>b,r:()=>v});var n=r(48938),i=r(66395),s=r(85935),o=r(78878),a=r(80672),l=r(49186),u=r(53966),c=r(91869),p=r(45475),f=r(67090),d=r(62791),h=r(14942),y=r(54218);class g{constructor(e,t){this.portal=e,this._debugLog=t}async translate(e){this.portal.loaded||await this.portal.load();const t=this.portal.helperServices?.aiUtilityServices;if(null==t)return{success:!1};const r=t.api?.text_translate;if(null==r)return{success:!1};const n=t.url+r;try{return e.requestSource??="arcade",{success:!0,results:(await(0,p.T)(n,e,{authMode:"no-prompt"})).map(e=>e.toJSON())}}catch(e){return null!=this._debugLog&&(e instanceof Error||e instanceof l.A)&&this._debugLog(`TranslateText error: ${e.message}`),u.A.getLogger("esri.arcade.functions.aiServices").error(e),{success:!1}}}}class m{constructor(e,t,r){this._parameters=e,this._maxTotalContentSize=t,this._maxContentsLength=r,this._requests=[],this._normalizedContents=new Map,this._contentsTotalSize=0}tryAdd(e){const t=new Set(e.filter(e=>!this._normalizedContents.has(e.text)).map(e=>e.text));if(this._requests.length+t.size>this._maxContentsLength)return null;let r=0;for(const e of t)r+=e.length;if((r+this._contentsTotalSize)*(this._parameters.outputCultures.length??1)>this._maxTotalContentSize)return null;const n=this._requests.length;for(const{key:t,text:r}of e)(0,c.tE)(this._normalizedContents,r,()=>[]).push({batchIdx:n,key:t});return this._requests.push(e),this._contentsTotalSize+=r,n}async send(e){const t=[],r=[];let n=0;for(const[e,i]of this._normalizedContents)t.push(new f.k({key:String(n++),text:e})),r.push(i);const i=new d.F(this._parameters);i.input=t;const s=await e.translate(i);if(!s.success)return Array.from(this._requests,()=>s);const o=Array.from(this._requests,()=>({success:!0,results:[]}));for(const e of s.results){const t=Number(e.key);for(const n of r[t])o[n.batchIdx].results.push({...e,key:n.key})}return o}}function b(e){const t=[...new Set(e.outputCultures)].sort(),r=e.inputCulture??null,n=e.portalUrl,i=e.provider;return JSON.stringify([t,r,n,i])}async function w(e,t,r){try{return(await e.yieldFor(r))[t]}catch{return{success:!1}}}class S{constructor(e,t,{maxTotalContentSize:r=5e4,maxContentsLength:n=1e3}={}){this._executor=e,this._service=t,this._openBatches=new Map,this._maxTotalContentSize=r,this._maxContentsLength=n}create(e){return{translate:async t=>{const r=b(t),{input:n,outputCultures:i,inputCulture:s,provider:o,portalUrl:a}=t;if(null==i)return{success:!1};if(null==n||n.every(e=>0===e.text.length))return{success:!1};const l=this._openBatches.get(r);if(null!=l){const t=l.data.tryAdd(n);if(null!=t)return await w(e,t,l);l.send()}const u=new m({outputCultures:i,inputCulture:s,provider:o,portalUrl:a},this._maxTotalContentSize,this._maxContentsLength),c=u.tryAdd(n);if(null!=c){const t=this._executor.openBatch(u,{open:e=>{this._openBatches.set(r,e)},execute:e=>e.send(this._service),close:e=>{this._openBatches.get(r)===e&&this._openBatches.delete(r)}});return await w(e,c,t)}return await this._service.translate(t)}}}}function v(e){"async"===e.mode&&(e.functions[(0,n.X)("TranslateText")]=function(t,r){return e.standardFunctionAsync(t,r,async(e,t,r)=>{if((0,o.E)(r,2,3,t),!(0,y.Kg)(r[0])&&!(0,y.cy)(r[0])&&!(0,o.g)(r[0]))throw new s.D$("InvalidParameter",t);const n=(0,o.Q)(r[0]);if(!(0,y.Kg)(r[1])&&!(0,y.cy)(r[1])&&!(0,o.g)(r[1]))throw new s.D$("InvalidParameter",t);const l=(0,o.Q)(r[1]);let u=null;if(r.length>=3){if(!(0,y.Kg)(r[2]))throw new s.D$("InvalidParameter",t);u=r[2]}const c=n.map((e,t)=>new f.k({key:String(t),text:e})),p=(0,a.Iq)(e),m=new d.F({outputCultures:l,input:c,inputCulture:u,portalUrl:p.restUrl.replace(/\/sharing\/rest$/,"")}),w=new Map;let S;if(null!=e.lrucache){const t=e.lrucache;S??=b(m),m.input=m.input?.filter(e=>{const r=t.getCachedTranslation(S,e.text);return null==r||(w.set(e.key,{...r,key:e.key}),!1)})}if(m.input?.length){const t=e.services?.translation??new g(p,e.console),r=await t.translate(m);if(!r.success)return new i.A({__proto__:null,success:!1});for(const t of r.results){const r=m.input?.find(e=>e.key===t.key)?.text;if(null==r)throw new s.D$("NeverReach",null);w.set(t.key,t),null!=e.lrucache&&(S??=b(m),e.lrucache.setCachedTranslation(S,r,{detectedLanguage:t.detectedLanguage,translations:t.translations}))}}const v=Array.from(c,e=>{const t=h.s.fromJSON(w.get(e.key));if(null==t)throw new s.D$("NeverReach",null);const r=Object.create(null);for(const e of t.translations)r[e.to]=e.text;return new i.A({__proto__:null,key:t.key,text:e.text,detectedLanguage:new i.A({__proto__:null,language:t.detectedLanguage,score:t.detectedLanguageScore}),translation:new i.A(r)})});return new i.A({__proto__:null,success:!0,results:v})})})}const T=Object.freeze(Object.defineProperty({__proto__:null,BatchTranslationServiceFactory:S,PortalTranslationService:g,getTranslateParametersKey:b,registerFunctions:v},Symbol.toStringTag,{value:"Module"}));r.d(t,["A",0,T])},78878(e,t,r){r.d(t,{$:()=>Ie,A:()=>Oe,B:()=>V,E:()=>H,F:()=>j,G:()=>J,H:()=>Te,I:()=>N,J:()=>ye,K:()=>Ne,L:()=>Ae,M:()=>xe,N:()=>he,O:()=>k,P:()=>W,Q:()=>Fe,R:()=>C,S:()=>D,T:()=>je,U:()=>de,V:()=>ne,W:()=>ee,X:()=>Le,Y:()=>Je,Z:()=>Re,_:()=>Ge,a:()=>Me,a0:()=>ge,a1:()=>_,a3:()=>ue,a4:()=>Pe,a5:()=>Ze,a6:()=>we,a7:()=>me,a8:()=>be,b:()=>M,c:()=>ae,d:()=>ke,e:()=>B,f:()=>L,g:()=>Y,h:()=>R,i:()=>Z,j:()=>z,k:()=>G,l:()=>E,m:()=>q,n:()=>$,o:()=>K,p:()=>O,q:()=>U,r:()=>Q,t:()=>ce,u:()=>P,v:()=>fe,w:()=>le,y:()=>se,z:()=>oe});var n=r(66131),i=r(99719),s=r(85935),o=r(92400),a=r(93818),l=r(7320),u=r(33325),c=r(14607),p=r(44729),f=r(15032),d=r(91075),h=r(48526),y=r(86738),g=r(39829),m=r(82799),b=r(95108),w=r(73444),S=r(54218),v=r(92647),T=r(94128);class C{constructor(e){this.value=e}}class N{constructor(e){this.value=e}}const A={type:"VOID"},x=Symbol("BREAK"),F=Symbol("CONTINUE");function _(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function Z(e){return e instanceof o.fF}function O(e){return e instanceof i.x}function M(e){return!!((0,S.Kg)(e)||(0,S.Et)(e)||B(e)||U(e)||Q(e)||(0,S.Lm)(e)||null===e||e===A)}function k(e,t){return void 0===e?t:e}function D(e){if(null==e)return"";if((0,S.cy)(e))return"Array";if(Y(e))return"Array";if(B(e))return"Date";if(Q(e))return"Time";if(U(e))return"DateOnly";if((0,S.Kg)(e))return"String";if((0,S.Lm)(e))return"Boolean";if((0,S.Et)(e))return"Number";if(q(e))return"Attachment";if($(e))return"Portal";if(E(e))return"Dictionary";if(K(e))return"KnowledgeGraph";if(O(e))return"Module";if(R(e))return"Feature";if(L(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return Z(e)?"Function":G(e)?"FeatureSet":z(e)?"FeatureSetCollection":J(e)?"Voxel":j(e)?"Pixel":e===A?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function P(e){return e===A}function L(e){return e instanceof d.A}function I(e){return e instanceof y.A}function R(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function J(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function G(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function E(e){return"esri.arcade.Dictionary"===e?.declaredClass}function $(e){return"esri.arcade.Portal"===e?.declaredClass}function q(e){return"esri.arcade.Attachment"===e?.declaredClass}function V(e){return E(e)||R(e)||J(e)||j(e)}function z(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function K(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function Y(e){return e instanceof a.A}function B(e){return e instanceof n.lY}function U(e){return e instanceof p.n}function Q(e){return e instanceof f.k}function X(e){return null!=e&&"object"==typeof e}function H(e,t,r,n){if(e.length<t||e.length>r)throw new s.D$("WrongNumberOfParameters",n)}function W(e){return null==e||P(e)||""===e}function ee(e){return e<0?-Math.round(-e):Math.round(e)}function te(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=_(t,"‰",""),t=_(t,"¤",""),(0,c.GP)(e,{pattern:t}))}function re(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ne(t),{locale:(0,w.JK)(),numberingSystem:"latn"})}function ne(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function ie(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function se(e,t,r){if(null===e){if(null===t||t===A)return ie(null,null,r);if((0,S.Et)(t))return ie(0,t,r);if((0,S.Kg)(t))return ie(0,fe(t),r);if((0,S.Lm)(t))return ie(0,fe(t),r);if(B(t))return ie(0,t.toNumber(),r);if(Q(t))return ie(e,t.toNumber(),r);if(U(t))return ie(e,t.toNumber(),r)}if(e===A){if(null===t||t===A)return ie(null,null,r);if((0,S.Et)(t))return ie(0,t,r);if((0,S.Kg)(t))return ie(0,fe(t),r);if((0,S.Lm)(t))return ie(0,fe(t),r);if(B(t))return ie(0,t.toNumber(),r);if(Q(t))return ie(e,t.toNumber(),r);if(U(t))return ie(e,t.toNumber(),r)}else if((0,S.Et)(e)){if((0,S.Et)(t))return ie(e,t,r);if((0,S.Lm)(t))return ie(e,fe(t),r);if(null===t||t===A)return ie(e,0,r);if((0,S.Kg)(t))return ie(e,fe(t),r);if(B(t))return ie(e,t.toNumber(),r);if(Q(t))return ie(e,t.toNumber(),r);if(U(t))return ie(e,t.toNumber(),r)}else if((0,S.Kg)(e)){if((0,S.Kg)(t))return ie(le(e),le(t),r);if(B(t))return ie(fe(e),t.toNumber(),r);if(Q(t))return ie(fe(e),t.toNumber(),r);if(U(t))return ie(fe(e),t.toNumber(),r);if((0,S.Et)(t))return ie(fe(e),t,r);if(null===t||t===A)return ie(fe(e),0,r);if((0,S.Lm)(t))return ie(fe(e),fe(t),r)}else if(B(e)){if(B(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),ie(e.toNumber(),t.toNumber(),r);if(null===t||t===A)return ie(e.toNumber(),0,r);if((0,S.Et)(t))return ie(e.toNumber(),t,r);if((0,S.Lm)(t))return ie(e.toNumber(),fe(t),r);if((0,S.Kg)(t))return ie(e.toNumber(),fe(t),r);if(Q(t))throw new s.D$("CannotCompareDateAndTime",null);if(U(t))return ie(e.toNumber(),t.toNumber(),r)}else if((0,S.Lm)(e)){if((0,S.Lm)(t))return ie(e,t,r);if((0,S.Et)(t))return ie(fe(e),fe(t),r);if(B(t))return ie(fe(e),t.toNumber(),r);if(Q(t))return ie(fe(e),t.toNumber(),r);if(U(t))return ie(fe(e),t.toNumber(),r);if(null===t||t===A)return ie(fe(e),0,r);if((0,S.Kg)(t))return ie(fe(e),fe(t),r)}else if(U(e)){if(B(t))return ie(e.toNumber(),t.toNumber(),r);if(null===t||t===A)return ie(e.toNumber(),0,r);if((0,S.Et)(t))return ie(e.toNumber(),t,r);if((0,S.Lm)(t))return ie(e.toNumber(),fe(t),r);if((0,S.Kg)(t))return ie(e.toNumber(),fe(t),r);if(Q(t))throw new s.D$("CannotCompareDateAndTime",null);if(U(t))return ie(e.toNumber(),t.toNumber(),r)}else if(Q(e)){if(B(t))throw new s.D$("CannotCompareDateAndTime",null);if(null===t||t===A)return ie(e.toNumber(),0,r);if((0,S.Et)(t))return ie(e.toNumber(),t,r);if((0,S.Lm)(t))return ie(e.toNumber(),fe(t),r);if((0,S.Kg)(t))return ie(e.toNumber(),fe(t),r);if(Q(t))return ie(e.toNumber(),t.toNumber(),r);if(U(t))throw new s.D$("CannotCompareDateAndTime",null)}return!!oe(e,t)&&("<="===r||">="===r)}function oe(e,t){if(e===t)return!0;if(null===e&&t===A||null===t&&e===A)return!0;if(B(e)&&B(t))return e.equals(t);if(Q(e)&&Q(t))return e.equals(t);if(U(e)&&U(t))return e.equals(t);if(Y(e))return e.equalityTest(t);if(I(e)&&I(t)){const r=e.cache._arcadeCacheId,n=t.cache._arcadeCacheId;if(null!=r)return r===n}if(X(e)&&X(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ae(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,S.Lm)(i)||(0,S.Et)(i)||(0,S.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):L(i)?r+=JSON.stringify(n)+":"+ce(i):Q(i)||U(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:Y(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+ce(i,null,t):B(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,S.Kg)(e))return e;if(null===e)return"";if((0,S.Et)(e))return te(e,t);if((0,S.Lm)(e))return e.toString();if(B(e))return re(e,t);if(Q(e))return e.toFormat(t);if(U(e))return e.toFormat(t);if(L(e))return JSON.stringify(e.toJSON());if((0,S.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=pe(e[r]);return"["+t.join(",")+"]"}if(Y(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=pe(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():Z(e)?"object, Function":e===A?"":O(e)?"object, Module":""}function ue(e){const t=[];if(Y(e)){for(let r=0;r<e.length();r++)t[r]=fe(e.get(r));return t}if(!(0,S.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=fe(e[r]);return t}function ce(e,t,r=!1){if((0,S.Kg)(e))return e;if(null===e)return"";if((0,S.Et)(e))return te(e,t);if((0,S.Lm)(e))return e.toString();if(B(e))return re(e,t);if(Q(e))return e.toFormat(t);if(U(e))return e.toFormat(t);if(L(e))return"extent"===e.type?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+ve(e.spatialReference)+"}":ve(e.toJSON(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0);if((0,S.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=pe(e[n],r);return"["+t.join(",")+"]"}if(Y(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=pe(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):Z(e)?"object, Function":P(e)?"":O(e)?"object, Module":""}function pe(e,t=!1){if(null===e)return"null";if((0,S.Lm)(e)||(0,S.Kg)(e))return JSON.stringify(e);if((0,S.Et)(e))return e.toString();if(L(e))return ce(e,null,t);if(Y(e))return ce(e,null,t);if((0,S.cy)(e))return ce(e,null,t);if(B(e))return t?JSON.stringify(e.getTime()):JSON.stringify(re(e,""));if(Q(e))return JSON.stringify(e.toString());if(U(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===A)return"null";return"null"}function fe(e,t){return(0,S.Et)(e)?e:null===e||""===e?0:B(e)||U(e)||Q(e)?NaN:(0,S.Lm)(e)?e?1:0:(0,S.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,S.Kg)(e)?(t=_(t,"‰",""),t=_(t,"¤",""),(0,c.qg)(e,{pattern:t})):e===A?0:Number(e)}function de(e,t){if(B(e))return e;if((0,S.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let s=v.c9.fromISO(e,{zone:i});return s.isValid||r.test(e)&&(e=e.replace(r,"T$1"),s=v.c9.fromISO(e,{zone:t}),s.isValid)?s:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function he(e){return(0,S.Lm)(e)?e:(0,S.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,S.Et)(e)&&0!==e&&!isNaN(e)}function ye(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function ge(e){if(null==e)return null;if("point"===e.type)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if("polygon"===e.type){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if("polyline"===e.type){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return"multipoint"===e.type?0===e.points.length?null:e:"extent"===e.type?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function me(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(B(t))r=t.toNumber();else if(U(t))r=t.toString();else if(Q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=fe(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function be(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function we(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,a=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(a=n)}if(null===a)throw new s.D$("FieldNotFound",null,{key:e});let l=t.typeIdField,u="id",c=t.types;if(t.subtypeField&&(l=t.subtypeField,u="code",c=t.subtypes??[]),null===n&&r&&l)n=r.hasField(l)?r.field(l):null;else if(l&&null!==n){let e=!1;for(const t of c||[])if(n===t[u]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[u],e=!0;break}e||(n=null,r&&l&&(n=r.hasField(l)?r.field(l):null))}return null!=n&&c.some(e=>e[u]===n&&(i=e.domains?.[a.name],i&&"inherited"===i.type&&(i=Se(a.name,t),o=!0),!0)),o||i||(i=Se(e,t)),{field:a,domain:i}}function Se(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ve(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},s={key:r,value:e[r]};return i(n,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const a=s.push(t)-1,l=Object.keys(t).sort(n?.(t));for(o="",i=0;i<l.length;i++){const r=l[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return s.splice(a,1),"{"+o+"}"}(e)}function Te(e){const t=[];for(const r of e)R(r)?t.push(r.geometry()):t.push(r);return t}function Ce(e,t){if(!I(t))throw new s.D$("InvalidParameter",null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function Ne(e,t){if((0,S.cy)(e)||Y(e)){let r=!1,n=!1,i=[],o=t;if((0,S.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(o=e[0].spatialReference,r=e[0].hasZ,n=e[0].hasM)}else if(e instanceof l.A)i=e._elements,i.length>0&&(r=e.hasZ(),n=e.hasM(),o=e.get(0).spatialReference);else{if(!Y(e))throw new s.D$("InvalidParameter",null);for(const t of e.toArray())Ce(i,t);i.length>0&&(o=e.get(0).spatialReference,r=!0===e.get(0).hasZ,n=!0===e.get(0).hasM)}return 0===i.length?null:((0,b.$3)(i)||(i=i.slice().reverse()),new g.A({rings:[i],spatialReference:o,hasZ:r,hasM:n}))}return e}function Ae(e,t){if((0,S.cy)(e)||Y(e)){let r=!1,n=!1,i=[],s=t;if((0,S.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,r=!0===e[0].hasZ,n=!0===e[0].hasM)}else if(e instanceof l.A)i=e._elements,i.length>0&&(r=e.hasZ(),n=e.hasM(),s=e.get(0).spatialReference);else if(Y(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,r=!0===e.get(0).hasZ,n=!0===e.get(0).hasM)}return 0===i.length?null:new m.A({paths:[i],spatialReference:s,hasZ:r,hasM:n})}return e}function xe(e,t){if((0,S.cy)(e)||Y(e)){let r=!1,n=!1,i=[],s=t;if((0,S.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,r=!0===e[0].hasZ,n=!0===e[0].hasM)}else if(e instanceof l.A)i=e._elements,i.length>0&&(r=e.hasZ(),n=e.hasM(),s=e.get(0).spatialReference);else if(Y(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,r=!0===e.get(0).hasZ,n=!0===e.get(0).hasM)}return 0===i.length?null:new h.A({points:i,spatialReference:s,hasZ:r,hasM:n})}return e}function Fe(e,t=!0){if(null==e)return[];if((0,S.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if(Y(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(M(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let _e=0;function Ze(){return _e++,_e%100==0?(_e=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Oe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Me(e){return null==e?null:(0,S.Lm)(e)||(0,S.Et)(e)||(0,S.Kg)(e)?e:L(e)?e.toJSON():Y(e)?e.toArray().map(e=>Me(e)):Array.isArray(e)?e.map(e=>Me(e)):(0,S.$P)(e)?e:B(e)?e.toJSDate():Q(e)?e.toString():U(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ke(e,t=null){if(Y(e)&&(e=e.toArray()),null==e)return null;if(M(e)||L(e)||(0,S.$P)(e)||B(e))return Me(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||M(i)||L(i)||(0,S.$P)(i)||B(i))n.push(Me(i));else{const e=n.push(null)-1;r.push(ke(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function De(e){return Pe(e)?e.parent:e}function Pe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Le(e,t,r){const n=De(e.fullSchema());return null===n?null:n.fields?we(t,n,e,r):null}function Ie(e){const t=De(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Re(e,t,r,n){const i=De(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const s=we(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return me(s,r)}function Je(e,t,r,n){const i=De(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return be(we(t,i,e,n),r)}function je(e){return e?.timeZone??"system"}function Ge(e){const t=De(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Ee=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:N,ReturnResult:C,absRound:ee,arcadeVersion:"1.36",autoCastArrayOfPointsToMultiPoint:xe,autoCastArrayOfPointsToPolygon:Ne,autoCastArrayOfPointsToPolyline:Ae,autoCastFeatureToGeometry:Te,binaryOperator:Oe,breakResult:x,castAsJson:Me,castAsJsonAsync:ke,castRecordToText:ae,continueResult:F,defaultTimeZone:je,defaultUndefined:k,equalityTest:oe,featureDomainCodeLookup:Je,featureDomainValueLookup:Re,featureFullDomain:Le,featureSchema:Ge,featureSubtypes:Ie,fixNullGeometry:ge,fixSpatialReference:ye,getDomain:we,getDomainCode:be,getDomainValue:me,getType:D,greaterThanLessThan:se,isArray:S.cy,isAttachment:q,isBoolean:S.Lm,isDate:B,isDateOnly:U,isDictionary:E,isDictionaryLike:V,isEmpty:W,isFeature:R,isFeatureSet:G,isFeatureSetCollection:z,isFunctionParameter:Z,isGeometry:L,isGraphic:T.D,isImmutableArray:Y,isInteger:S.Fq,isJsDate:S.$P,isKnowledgeGraph:K,isModule:O,isNumber:S.Et,isPixel:j,isPortal:$,isSimpleType:M,isString:S.Kg,isSubtypeGrouplayer:function(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass},isSubtypeSublayer:Pe,isTime:Q,isVoid:P,isVoxel:J,multiReplace:_,pcCheck:H,standardiseDateFormat:ne,tick:Ze,toBoolean:he,toDate:de,toNumber:fe,toNumberArray:ue,toString:le,toStringArray:Fe,toStringExplicit:ce,voidOperation:A},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,x,"D",0,F,"s",0,Ee,"x",0,A])},14607(e,t,r){r.d(t,{B:()=>u,GP:()=>a,qg:()=>c});var n=r(799),i=r(73444);const s={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in s;if(!t){const r=e.split("-");r.length>1&&r[0]in s&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=s[e];return{decimal:r,group:n,pattern:o}}function a(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,s=t.split(";"),o=s[0];if((t=s[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const a=l,u=o.match(a);if(!u)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(a,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let s=r.places;i?s=r.places.slice(i+1):+s>=0||(s=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(s))));const o=String(Math.abs(e)).split("."),a=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>a.length&&(o[1]=a.padEnd(Number(e),"0")),+s<a.length&&(o[1]=a.slice(0,Math.max(0,Number(s))))}else o[1]&&o.pop();const l=n[0].replace(",","");let u=l.indexOf("0");-1!==u&&(u=l.length-u,u>o[0].length&&(o[0]=o[0].padStart(u,"0")),l.includes("#")||(o[0]=o[0].slice(-u)));let c,p,f=n[0].lastIndexOf(",");if(-1!==f){c=n[0].length-f-1;const e=n[0].slice(0,f);f=e.lastIndexOf(","),-1!==f&&(p=e.length-f-1)}const d=[];for(let e=o[0];e;){const t=e.length-c;d.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",p&&(c=p,p=void 0)}return o[0]=d.reverse().join(r.group||","),o.join(r.decimal||".")}(e,u[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const l=/[#0,]*[#0](?:\.0*#*)?/;function u(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,s=t.decimal;let a=1;if(r.includes("%"))a/=100;else if(r.includes("‰"))a/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const u=r.split(";");1===u.length&&u.push("-"+u[0]);const c=f(u,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(l,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:s,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==a&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const l=n[0].split(",");return l.length>1&&(r.groupSize=l.pop().length,l.length>1&&(r.groupSize2=l.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=p(e),r=f(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+f(e.exponent,t=>t?"([eE]"+p({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:s,factor:a}}function c(e,t){const r=u(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function p(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",f(e.signed,e=>e?"[-+]":"",!0)+f(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const f=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return d(n.join("|"),Boolean(r))},d=(e,t)=>"("+(t?"?:":"")+e+")"},48526(e,t,r){r.d(t,{A:()=>g});var n,i=r(5482),s=r(4576),o=r(4718),a=r(91429),l=r(5443),u=r(91075),c=r(86738),p=r(16930),f=r(90634),d=r(47610),h=r(56993),y=r(43937);let g=n=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:n,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:n??=!0,r??=!0;break;case 3:n??=!0!==r,r??=!n;break;default:n??=!1,r??=!1}return i??=p.A.WGS84,{...e,hasM:r,hasZ:n,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,f.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:i}=this;return new n({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:i})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,r=e.spatialReference;return null!=t==(null!=r)&&!(null!=t&&null!=r&&!t.equals(r))&&(0,s.aI)(this.points,e.points,d.v6)}addPoint(e){return(0,h.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let n=2;return this.hasZ&&(r.z=t[2],n=3),this.hasM&&(r.m=t[n]),new c.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new c.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,h.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],g.prototype,"points",void 0),(0,i.Cg)([(0,y.K)("points")],g.prototype,"writePoints",null),g=n=(0,i.Cg)([(0,a.$K)("esri.geometry.Multipoint")],g),g.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,r){r.d(t,{A:()=>h});var n,i=r(5482),s=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),c=r(16930),p=r(90634),f=r(56993),d=r(43937);let h=n=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:n,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:n??=!0,r??=!0;break;case 3:n??=!0!==r,r??=!n;break;default:n??=!1,r??=!1}return i??=c.A.WGS84,{...e,hasM:r,hasZ:n,paths:t,spatialReference:i}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,s.o8)(e)}get extent(){const e=(0,p.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const n=[];for(let t=0,r=e.length;t<r;t++)n[t]=e[t].toArray();t[r]=n}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new n;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],n=this.hasZ,i=this.hasM;return n&&!i?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):i&&!n?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):n&&i?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,n=t.map(e=>new u.A(e,r));return this.notifyChange("paths"),n}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const n=this.paths[e];if(r&&(t<0||t>n.length))return!1;if(!r&&(t<0||t>=n.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],h.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],h.prototype,"curvePaths",void 0),(0,i.Cg)([(0,d.K)("curvePaths")],h.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],h.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],h.prototype,"paths",void 0),(0,i.Cg)([(0,d.K)("paths")],h.prototype,"writePaths",null),h=n=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],h),h.prototype.toJSON.isDefaultToJSON=!0},73444(e,t,r){r.d(t,{JK:()=>l,Ml:()=>g,QC:()=>p,lR:()=>c,oQ:()=>h});var n=r(36563);let i;r(44208);const s=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return s??e??t??"en"}function l(){return void 0===i&&(i=a()),i}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function p(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const d=[];function h(e){return d.push(e),(0,n.hA)(()=>{d.splice(d.indexOf(e),1)})}new Map;const y=[];function g(e){return y.push(e),(0,n.hA)(()=>y.splice(y.indexOf(e),1))}function m(){const e=a();i!==e&&([...y].forEach(t=>t(e)),i=e,[...d].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",m),o&&new MutationObserver(()=>{m()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),s=r(25482),o=r(91429);let a=n=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(5482),s=r(4718),o=r(91429),a=r(39357),l=r(76357),u=r(93223);let c=class extends l.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>u});var n=r(5482),i=r(66552),s=r(25482),o=r(91429),a=r(93223);const l=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},20437(e,t,r){r.d(t,{A:()=>h});var n,i=r(5482),s=r(66552),o=r(25482),a=r(91429),l=r(56507),u=r(8631),c=r(98453),p=r(36005),f=r(93223);const d=new s.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let h=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?d.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],h.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],h.prototype,"description",void 0),(0,i.Cg)([(0,p.w)("description")],h.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],h.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],h.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"nullable",void 0),(0,i.Cg)([(0,f.e)(c.m)],h.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],h.prototype,"valueType",void 0),(0,i.Cg)([(0,p.w)("valueType",["description"])],h.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],h.prototype,"visible",void 0),h=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],h)},41628(e,t,r){r.d(t,{A:()=>l});var n,i=r(5482),s=r(91429),o=r(76357),a=r(93223);let l=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],l)},8631(e,t,r){r.d(t,{r:()=>f,g:()=>p});var n,i=r(53177),s=r(76357),o=r(5482),a=r(91429),l=r(93223);let u=class extends s.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=n=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var c=r(41628);const p={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function f(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])},67090(e,t,r){r.d(t,{k:()=>a});var n=r(5482),i=r(25482),s=r(10107),o=r(64108);let a=class extends i.o{constructor(e){super(e)}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"key",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"text",void 0),a=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateContent")],a)},62791(e,t,r){r.d(t,{F:()=>l});var n=r(5482),i=r(25482),s=r(10107),o=r(64108),a=r(67090);let l=class extends i.o{constructor(e){super(e),this.outputCultures=null,this.input=null,this.portalUrl="https://www.arcgis.com",this.provider="default",this.inputCulture=null,this.requestSource=null}};(0,n.Cg)([(0,s.MZ)({type:[String],json:{write:!0}})],l.prototype,"outputCultures",void 0),(0,n.Cg)([(0,s.MZ)({type:[a.k],json:{write:!0}})],l.prototype,"input",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],l.prototype,"portalUrl",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0,default:"default"}})],l.prototype,"provider",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"inputCulture",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],l.prototype,"requestSource",void 0),l=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateParameters")],l)},14942(e,t,r){r.d(t,{s:()=>l});var n=r(5482),i=r(25482),s=r(10107),o=r(64108);let a=class extends i.o{};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"text",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"to",void 0),a=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateResult.Translation")],a);let l=class extends i.o{constructor(e){super(e),this.detectedLanguage="en",this.detectedLanguageScore=-1}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"key",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{read:{source:"detectedLanguage.language"},write:{target:"detectedLanguage.language"}}})],l.prototype,"detectedLanguage",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{read:{source:"detectedLanguage.score"},write:{target:"detectedLanguage.score"}}})],l.prototype,"detectedLanguageScore",void 0),(0,n.Cg)([(0,s.MZ)({type:[a],json:{write:!0}})],l.prototype,"translations",void 0),l=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateResult")],l)},45475(e,t,r){r.d(t,{T:()=>o});var n=r(11254),i=r(2272),s=r(14942);async function o(e,t,r){const o=JSON.stringify(t.toJSON()),a={};"https://www.arcgis.com"!==t.portalUrl&&(a.portal=t.portalUrl),null!=t.requestSource&&(a.request_source=t.requestSource),a.token=await(0,i.gf)(t.portalUrl,null,{signal:r?.signal,prompt:"no-prompt"!==r?.authMode});const l=(0,i.Dl)(e),u=(0,i.jV)(l.query,{...r,query:a,body:o,method:"post",authMode:"anonymous"});return(await(0,n.A)(l.path,u)).data.results.map(e=>s.s.fromJSON(e))}},2272(e,t,r){r.d(t,{Dl:()=>u,gf:()=>p,jV:()=>l,lF:()=>c});var n=r(92602),i=r(70333),s=r(4718),o=r(84952),a=r(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,s.o8)(e)}function c(e,t,r){const n={};for(const i in e){if("declaredClass"===i)continue;const s=e[i];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))n[i]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(r?.[i]);n[i]=t?e:JSON.stringify(e)}else n[i]=t?s:JSON.stringify(s);else n[i]=s}return n}async function p(e,t,s){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&n.A.request.useIdentity&&await Promise.all([r.e(7632),r.e(5683),r.e(148)]).then(r.bind(r,50148));const l=await i.id.getCredential(e,s);return l?.token}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3367],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},47609(e,t,r){r.d(t,{A:()=>i});var n=r(66395);class i extends n.A{constructor(e){super({__proto__:null,url:e}),this.declaredClass="esri.arcade.Portal"}get url(){return this.field("url")}}},66395(e,t,r){r.d(t,{A:()=>l});var n=r(66131),i=r(6800),s=r(85935),o=r(78878),a=r(91075);class l{constructor(e){this.declaredClass="esri.arcade.Dictionary",this.plain=!1,this.immutable=!0,e instanceof l?this.attributes=e.attributes:null==e?this.attributes=Object.create(null):null!=Object.getPrototypeOf(e)?this.attributes={__proto__:null,...e}:this.attributes=e}static createMutable(e){const t=new l(e);return t.immutable=!1,t}static containerEntry(e,t){return new l({__proto__:null,key:e,value:t})}static textFormatting(){return l.createMutable({__proto__:null,newline:"\n",tab:"\t",singlequote:"'",doublequote:'"',forwardslash:"/",backwardslash:"\\"})}field(e){const t=e.toLowerCase(),r=this.attributes[e];if(void 0!==r)return r;for(const e in this.attributes)if(e.toLowerCase()===t)return this.attributes[e];throw new s.D$("FieldNotFound",null,{key:e})}setField(e,t){if(this.immutable)throw new s.D$("Immutable",null);if((0,o.i)(t))throw new s.D$("NoFunctionInDictionary",null);const r=e.toLowerCase();if(t instanceof Date&&(t=n.lY.dateJSToArcadeDate(t)),void 0===this.attributes[e]){for(const e in this.attributes)if(e.toLowerCase()===r)return void(this.attributes[e]=t);this.attributes[e]=t}else this.attributes[e]=t}eraseField(e){if(this.immutable)throw new s.D$("Immutable",null);if(e in this.attributes)return void delete this.attributes[e];const t=e.toLowerCase();for(const e in this.attributes)if(e.toLowerCase()===t)return void delete this.attributes[e]}hasField(e){const t=e.toLowerCase();if(void 0!==this.attributes[e])return!0;for(const e in this.attributes)if(e.toLowerCase()===t)return!0;return!1}keys(){const e=[];for(const t in this.attributes)e.push(t);return e.sort((e,t)=>e.toLowerCase()<t.toLowerCase()?-1:1)}values(){return this.keys().map(e=>this.attributes[e])}entryCount(){return Object.keys(this.attributes).length}isEmpty(){return this.entryCount()<=0}castToText(e=!1){return(0,o.c)(this.attributes,{useNumbersForDates:e})}castAsJson(){const e=Object.create(null);for(const t in this.attributes){const r=this.attributes[t];void 0!==r&&(e[t]=(0,o.a)(r))}return e}async castAsJsonAsync(e=null){const t=Object.create(null),r=[];for(const i in this.attributes){const s=this.attributes[i];void 0!==s&&((0,o.b)(s)||s instanceof a.A||s instanceof n.lY?t[i]=(0,o.a)(s):r.push((0,o.d)(s,e).then(e=>{t[i]=e})))}return r.length>0&&await Promise.all(r),t}deepClone(){const e=new l;e.immutable=!1;for(const t of this.keys())e.setField(t,(0,i.G)(this.field(t)));return e}}},92400(e,t,r){r.d(t,{CU:()=>a,UQ:()=>o,fF:()=>i,o6:()=>s});var n=r(17676);class i{constructor(){}}function s(e,t,r){if(e instanceof i&&!(e instanceof a)){const n=new a;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,l,u)=>{u=u.map(t=>t instanceof i&&!(t instanceof a)?s(t,e,o):t);const c=this.call(r,{args:u});return(0,n.$X)(c)?c.then(e=>s(e,r,o)):c})}}class a extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},7320(e,t,r){r.d(t,{A:()=>s});var n=r(93818),i=r(86738);class s extends n.A{constructor(e,t,r,n,i,s){super(),this._elements=e,this._spRef=t,this._hasZ=r,this._hasM=n,this._cacheId=i,this._partId=s,this._lazyPt=[]}hasZ(){return this._hasZ}hasM(){return this._hasM}get(e){if(void 0===this._lazyPt[e]){const t=this._elements[e];if(void 0===t)return;const r=new i.A(t[0],t[1],this._spRef);this._hasZ&&(r.z=t[2]),this._hasM&&(r.m=this._hasZ?t[3]:t[2]),r.cache._arcadeCacheId=this._cacheId.toString()+"-"+this._partId.toString()+"-"+e.toString(),this._lazyPt[e]=r}return this._lazyPt[e]}equalityTest(e){return e===this||null!==e&&e instanceof s!=0&&e.getUniqueHash()===this.getUniqueHash()}getUniqueHash(){return this._cacheId.toString()+"-"+this._partId.toString()}}},48938(e,t,r){r.d(t,{X:()=>i});var n=r(85935);function i(e){if("string"==typeof e)return e.toLowerCase();if("name"in e)return e.name.toLowerCase();if("string"!=typeof e.value)throw new n.D$("InvalidIdentifier",null);return e.value.toLowerCase()}const s=Object.freeze({aborted:!1});r.d(t,["_",0,s])},6800(e,t,r){r.d(t,{G:()=>a,y:()=>s});var n=r(78878),i=r(54218);function s(e){o=e}let o;function a(e){return null==e?null:(0,n.e)(e)?e.clone():(0,n.b)(e)?e:(0,n.f)(e)?e.clone():(0,n.g)(e)?e.toArray().map(e=>a(e)):(0,i.cy)(e)?e.map(e=>a(e)):(0,n.h)(e)?o.createFromArcadeFeature(e):(0,n.j)(e)||(0,n.k)(e)?e:(0,n.l)(e)||(0,n.m)(e)?e.deepClone():((0,n.n)(e)||(0,n.o)(e)||(0,n.p)(e)||(0,n.i)(e),e)}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>p,Qi:()=>y,eB:()=>m,eg:()=>h,f0:()=>d,ke:()=>l,nE:()=>u,rX:()=>f});var n=r(66131),i=r(44729),s=r(15032),o=r(20437),a=r(92647);function l(e){return o.A.fromJSON(e.toJSON())}function u(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function p(e){return e instanceof a.c9}function f(e){return e instanceof n.lY}function d(e){return e instanceof i.n}function h(e){return e instanceof s.k}function y(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},s={key:r,value:e[r]};return i(n,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const a=s.push(t)-1,l=Object.keys(t).sort(n?.(t));for(o="",i=0;i<l.length;i++){const r=l[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return s.splice(a,1),"{"+o+"}"}(e)}function m(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},80672(e,t,r){r.d(t,{Iq:()=>a,RI:()=>o,VQ:()=>u,wI:()=>l});var n=r(47609),i=r(84952),s=r(20655);function o(e,t){return null==t?a(e):new s.A({url:t.url})}function a(e){return e.services?.portal??s.A.getDefault()}function l(e){const t=a(e);return new n.A(t.url)}function u(e,t){const r=e.url;return!!r&&(0,i.ut)(r,t.restUrl)}},3367(e,t,r){r.d(t,{B:()=>S,P:()=>g,g:()=>b,r:()=>v});var n=r(48938),i=r(66395),s=r(85935),o=r(78878),a=r(80672),l=r(49186),u=r(53966),c=r(91869),p=r(45475),f=r(67090),d=r(62791),h=r(14942),y=r(54218);class g{constructor(e,t){this.portal=e,this._debugLog=t}async translate(e){this.portal.loaded||await this.portal.load();const t=this.portal.helperServices?.aiUtilityServices;if(null==t)return{success:!1};const r=t.api?.text_translate;if(null==r)return{success:!1};const n=t.url+r;try{return e.requestSource??="arcade",{success:!0,results:(await(0,p.T)(n,e,{authMode:"no-prompt"})).map(e=>e.toJSON())}}catch(e){return null!=this._debugLog&&(e instanceof Error||e instanceof l.A)&&this._debugLog(`TranslateText error: ${e.message}`),u.A.getLogger("esri.arcade.functions.aiServices").error(e),{success:!1}}}}class m{constructor(e,t,r){this._parameters=e,this._maxTotalContentSize=t,this._maxContentsLength=r,this._requests=[],this._normalizedContents=new Map,this._contentsTotalSize=0}tryAdd(e){const t=new Set(e.filter(e=>!this._normalizedContents.has(e.text)).map(e=>e.text));if(this._requests.length+t.size>this._maxContentsLength)return null;let r=0;for(const e of t)r+=e.length;if((r+this._contentsTotalSize)*(this._parameters.outputCultures.length??1)>this._maxTotalContentSize)return null;const n=this._requests.length;for(const{key:t,text:r}of e)(0,c.tE)(this._normalizedContents,r,()=>[]).push({batchIdx:n,key:t});return this._requests.push(e),this._contentsTotalSize+=r,n}async send(e){const t=[],r=[];let n=0;for(const[e,i]of this._normalizedContents)t.push(new f.k({key:String(n++),text:e})),r.push(i);const i=new d.F(this._parameters);i.input=t;const s=await e.translate(i);if(!s.success)return Array.from(this._requests,()=>s);const o=Array.from(this._requests,()=>({success:!0,results:[]}));for(const e of s.results){const t=Number(e.key);for(const n of r[t])o[n.batchIdx].results.push({...e,key:n.key})}return o}}function b(e){const t=[...new Set(e.outputCultures)].sort(),r=e.inputCulture??null,n=e.portalUrl,i=e.provider;return JSON.stringify([t,r,n,i])}async function w(e,t,r){try{return(await e.yieldFor(r))[t]}catch{return{success:!1}}}class S{constructor(e,t,{maxTotalContentSize:r=5e4,maxContentsLength:n=1e3}={}){this._executor=e,this._service=t,this._openBatches=new Map,this._maxTotalContentSize=r,this._maxContentsLength=n}create(e){return{translate:async t=>{const r=b(t),{input:n,outputCultures:i,inputCulture:s,provider:o,portalUrl:a}=t;if(null==i)return{success:!1};if(null==n||n.every(e=>0===e.text.length))return{success:!1};const l=this._openBatches.get(r);if(null!=l){const t=l.data.tryAdd(n);if(null!=t)return await w(e,t,l);l.send()}const u=new m({outputCultures:i,inputCulture:s,provider:o,portalUrl:a},this._maxTotalContentSize,this._maxContentsLength),c=u.tryAdd(n);if(null!=c){const t=this._executor.openBatch(u,{open:e=>{this._openBatches.set(r,e)},execute:e=>e.send(this._service),close:e=>{this._openBatches.get(r)===e&&this._openBatches.delete(r)}});return await w(e,c,t)}return await this._service.translate(t)}}}}function v(e){"async"===e.mode&&(e.functions[(0,n.X)("TranslateText")]=function(t,r){return e.standardFunctionAsync(t,r,async(e,t,r)=>{if((0,o.E)(r,2,3,t),!(0,y.Kg)(r[0])&&!(0,y.cy)(r[0])&&!(0,o.g)(r[0]))throw new s.D$("InvalidParameter",t);const n=(0,o.Q)(r[0]);if(!(0,y.Kg)(r[1])&&!(0,y.cy)(r[1])&&!(0,o.g)(r[1]))throw new s.D$("InvalidParameter",t);const l=(0,o.Q)(r[1]);let u=null;if(r.length>=3){if(!(0,y.Kg)(r[2]))throw new s.D$("InvalidParameter",t);u=r[2]}const c=n.map((e,t)=>new f.k({key:String(t),text:e})),p=(0,a.Iq)(e),m=new d.F({outputCultures:l,input:c,inputCulture:u,portalUrl:p.restUrl.replace(/\/sharing\/rest$/,"")}),w=new Map;let S;if(null!=e.lrucache){const t=e.lrucache;S??=b(m),m.input=m.input?.filter(e=>{const r=t.getCachedTranslation(S,e.text);return null==r||(w.set(e.key,{...r,key:e.key}),!1)})}if(m.input?.length){const t=e.services?.translation??new g(p,e.console),r=await t.translate(m);if(!r.success)return new i.A({__proto__:null,success:!1});for(const t of r.results){const r=m.input?.find(e=>e.key===t.key)?.text;if(null==r)throw new s.D$("NeverReach",null);w.set(t.key,t),null!=e.lrucache&&(S??=b(m),e.lrucache.setCachedTranslation(S,r,{detectedLanguage:t.detectedLanguage,translations:t.translations}))}}const v=Array.from(c,e=>{const t=h.s.fromJSON(w.get(e.key));if(null==t)throw new s.D$("NeverReach",null);const r=Object.create(null);for(const e of t.translations)r[e.to]=e.text;return new i.A({__proto__:null,key:t.key,text:e.text,detectedLanguage:new i.A({__proto__:null,language:t.detectedLanguage,score:t.detectedLanguageScore}),translation:new i.A(r)})});return new i.A({__proto__:null,success:!0,results:v})})})}const T=Object.freeze(Object.defineProperty({__proto__:null,BatchTranslationServiceFactory:S,PortalTranslationService:g,getTranslateParametersKey:b,registerFunctions:v},Symbol.toStringTag,{value:"Module"}));r.d(t,["A",0,T])},78878(e,t,r){r.d(t,{$:()=>Ie,A:()=>Oe,B:()=>V,E:()=>H,F:()=>j,G:()=>J,H:()=>Te,I:()=>N,J:()=>ye,K:()=>Ne,L:()=>Ae,M:()=>xe,N:()=>he,O:()=>k,P:()=>W,Q:()=>Fe,R:()=>C,S:()=>D,T:()=>je,U:()=>de,V:()=>ne,W:()=>ee,X:()=>Le,Y:()=>Je,Z:()=>Re,_:()=>Ge,a:()=>Me,a0:()=>ge,a1:()=>_,a3:()=>ue,a4:()=>Pe,a5:()=>Ze,a6:()=>we,a7:()=>me,a8:()=>be,b:()=>M,c:()=>ae,d:()=>ke,e:()=>B,f:()=>L,g:()=>Y,h:()=>R,i:()=>Z,j:()=>z,k:()=>G,l:()=>E,m:()=>q,n:()=>$,o:()=>K,p:()=>O,q:()=>U,r:()=>Q,t:()=>ce,u:()=>P,v:()=>fe,w:()=>le,y:()=>se,z:()=>oe});var n=r(66131),i=r(99719),s=r(85935),o=r(92400),a=r(93818),l=r(7320),u=r(33325),c=r(14607),p=r(44729),f=r(15032),d=r(91075),h=r(48526),y=r(86738),g=r(39829),m=r(82799),b=r(95108),w=r(73444),S=r(54218),v=r(92647),T=r(94128);class C{constructor(e){this.value=e}}class N{constructor(e){this.value=e}}const A={type:"VOID"},x=Symbol("BREAK"),F=Symbol("CONTINUE");function _(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function Z(e){return e instanceof o.fF}function O(e){return e instanceof i.x}function M(e){return!!((0,S.Kg)(e)||(0,S.Et)(e)||B(e)||U(e)||Q(e)||(0,S.Lm)(e)||null===e||e===A)}function k(e,t){return void 0===e?t:e}function D(e){if(null==e)return"";if((0,S.cy)(e))return"Array";if(Y(e))return"Array";if(B(e))return"Date";if(Q(e))return"Time";if(U(e))return"DateOnly";if((0,S.Kg)(e))return"String";if((0,S.Lm)(e))return"Boolean";if((0,S.Et)(e))return"Number";if(q(e))return"Attachment";if($(e))return"Portal";if(E(e))return"Dictionary";if(K(e))return"KnowledgeGraph";if(O(e))return"Module";if(R(e))return"Feature";if(L(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return Z(e)?"Function":G(e)?"FeatureSet":z(e)?"FeatureSetCollection":J(e)?"Voxel":j(e)?"Pixel":e===A?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function P(e){return e===A}function L(e){return e instanceof d.A}function I(e){return e instanceof y.A}function R(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function J(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function G(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function E(e){return"esri.arcade.Dictionary"===e?.declaredClass}function $(e){return"esri.arcade.Portal"===e?.declaredClass}function q(e){return"esri.arcade.Attachment"===e?.declaredClass}function V(e){return E(e)||R(e)||J(e)||j(e)}function z(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function K(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function Y(e){return e instanceof a.A}function B(e){return e instanceof n.lY}function U(e){return e instanceof p.n}function Q(e){return e instanceof f.k}function X(e){return null!=e&&"object"==typeof e}function H(e,t,r,n){if(e.length<t||e.length>r)throw new s.D$("WrongNumberOfParameters",n)}function W(e){return null==e||P(e)||""===e}function ee(e){return e<0?-Math.round(-e):Math.round(e)}function te(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=_(t,"‰",""),t=_(t,"¤",""),(0,c.GP)(e,{pattern:t}))}function re(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ne(t),{locale:(0,w.JK)(),numberingSystem:"latn"})}function ne(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function ie(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function se(e,t,r){if(null===e){if(null===t||t===A)return ie(null,null,r);if((0,S.Et)(t))return ie(0,t,r);if((0,S.Kg)(t))return ie(0,fe(t),r);if((0,S.Lm)(t))return ie(0,fe(t),r);if(B(t))return ie(0,t.toNumber(),r);if(Q(t))return ie(e,t.toNumber(),r);if(U(t))return ie(e,t.toNumber(),r)}if(e===A){if(null===t||t===A)return ie(null,null,r);if((0,S.Et)(t))return ie(0,t,r);if((0,S.Kg)(t))return ie(0,fe(t),r);if((0,S.Lm)(t))return ie(0,fe(t),r);if(B(t))return ie(0,t.toNumber(),r);if(Q(t))return ie(e,t.toNumber(),r);if(U(t))return ie(e,t.toNumber(),r)}else if((0,S.Et)(e)){if((0,S.Et)(t))return ie(e,t,r);if((0,S.Lm)(t))return ie(e,fe(t),r);if(null===t||t===A)return ie(e,0,r);if((0,S.Kg)(t))return ie(e,fe(t),r);if(B(t))return ie(e,t.toNumber(),r);if(Q(t))return ie(e,t.toNumber(),r);if(U(t))return ie(e,t.toNumber(),r)}else if((0,S.Kg)(e)){if((0,S.Kg)(t))return ie(le(e),le(t),r);if(B(t))return ie(fe(e),t.toNumber(),r);if(Q(t))return ie(fe(e),t.toNumber(),r);if(U(t))return ie(fe(e),t.toNumber(),r);if((0,S.Et)(t))return ie(fe(e),t,r);if(null===t||t===A)return ie(fe(e),0,r);if((0,S.Lm)(t))return ie(fe(e),fe(t),r)}else if(B(e)){if(B(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),ie(e.toNumber(),t.toNumber(),r);if(null===t||t===A)return ie(e.toNumber(),0,r);if((0,S.Et)(t))return ie(e.toNumber(),t,r);if((0,S.Lm)(t))return ie(e.toNumber(),fe(t),r);if((0,S.Kg)(t))return ie(e.toNumber(),fe(t),r);if(Q(t))throw new s.D$("CannotCompareDateAndTime",null);if(U(t))return ie(e.toNumber(),t.toNumber(),r)}else if((0,S.Lm)(e)){if((0,S.Lm)(t))return ie(e,t,r);if((0,S.Et)(t))return ie(fe(e),fe(t),r);if(B(t))return ie(fe(e),t.toNumber(),r);if(Q(t))return ie(fe(e),t.toNumber(),r);if(U(t))return ie(fe(e),t.toNumber(),r);if(null===t||t===A)return ie(fe(e),0,r);if((0,S.Kg)(t))return ie(fe(e),fe(t),r)}else if(U(e)){if(B(t))return ie(e.toNumber(),t.toNumber(),r);if(null===t||t===A)return ie(e.toNumber(),0,r);if((0,S.Et)(t))return ie(e.toNumber(),t,r);if((0,S.Lm)(t))return ie(e.toNumber(),fe(t),r);if((0,S.Kg)(t))return ie(e.toNumber(),fe(t),r);if(Q(t))throw new s.D$("CannotCompareDateAndTime",null);if(U(t))return ie(e.toNumber(),t.toNumber(),r)}else if(Q(e)){if(B(t))throw new s.D$("CannotCompareDateAndTime",null);if(null===t||t===A)return ie(e.toNumber(),0,r);if((0,S.Et)(t))return ie(e.toNumber(),t,r);if((0,S.Lm)(t))return ie(e.toNumber(),fe(t),r);if((0,S.Kg)(t))return ie(e.toNumber(),fe(t),r);if(Q(t))return ie(e.toNumber(),t.toNumber(),r);if(U(t))throw new s.D$("CannotCompareDateAndTime",null)}return!!oe(e,t)&&("<="===r||">="===r)}function oe(e,t){if(e===t)return!0;if(null===e&&t===A||null===t&&e===A)return!0;if(B(e)&&B(t))return e.equals(t);if(Q(e)&&Q(t))return e.equals(t);if(U(e)&&U(t))return e.equals(t);if(Y(e))return e.equalityTest(t);if(I(e)&&I(t)){const r=e.cache._arcadeCacheId,n=t.cache._arcadeCacheId;if(null!=r)return r===n}if(X(e)&&X(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ae(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,S.Lm)(i)||(0,S.Et)(i)||(0,S.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):L(i)?r+=JSON.stringify(n)+":"+ce(i):Q(i)||U(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:Y(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+ce(i,null,t):B(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,S.Kg)(e))return e;if(null===e)return"";if((0,S.Et)(e))return te(e,t);if((0,S.Lm)(e))return e.toString();if(B(e))return re(e,t);if(Q(e))return e.toFormat(t);if(U(e))return e.toFormat(t);if(L(e))return JSON.stringify(e.toJSON());if((0,S.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=pe(e[r]);return"["+t.join(",")+"]"}if(Y(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=pe(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():Z(e)?"object, Function":e===A?"":O(e)?"object, Module":""}function ue(e){const t=[];if(Y(e)){for(let r=0;r<e.length();r++)t[r]=fe(e.get(r));return t}if(!(0,S.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=fe(e[r]);return t}function ce(e,t,r=!1){if((0,S.Kg)(e))return e;if(null===e)return"";if((0,S.Et)(e))return te(e,t);if((0,S.Lm)(e))return e.toString();if(B(e))return re(e,t);if(Q(e))return e.toFormat(t);if(U(e))return e.toFormat(t);if(L(e))return"extent"===e.type?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+ve(e.spatialReference)+"}":ve(e.toJSON(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0);if((0,S.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=pe(e[n],r);return"["+t.join(",")+"]"}if(Y(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=pe(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):Z(e)?"object, Function":P(e)?"":O(e)?"object, Module":""}function pe(e,t=!1){if(null===e)return"null";if((0,S.Lm)(e)||(0,S.Kg)(e))return JSON.stringify(e);if((0,S.Et)(e))return e.toString();if(L(e))return ce(e,null,t);if(Y(e))return ce(e,null,t);if((0,S.cy)(e))return ce(e,null,t);if(B(e))return t?JSON.stringify(e.getTime()):JSON.stringify(re(e,""));if(Q(e))return JSON.stringify(e.toString());if(U(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===A)return"null";return"null"}function fe(e,t){return(0,S.Et)(e)?e:null===e||""===e?0:B(e)||U(e)||Q(e)?NaN:(0,S.Lm)(e)?e?1:0:(0,S.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,S.Kg)(e)?(t=_(t,"‰",""),t=_(t,"¤",""),(0,c.qg)(e,{pattern:t})):e===A?0:Number(e)}function de(e,t){if(B(e))return e;if((0,S.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let s=v.c9.fromISO(e,{zone:i});return s.isValid||r.test(e)&&(e=e.replace(r,"T$1"),s=v.c9.fromISO(e,{zone:t}),s.isValid)?s:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function he(e){return(0,S.Lm)(e)?e:(0,S.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,S.Et)(e)&&0!==e&&!isNaN(e)}function ye(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function ge(e){if(null==e)return null;if("point"===e.type)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if("polygon"===e.type){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if("polyline"===e.type){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return"multipoint"===e.type?0===e.points.length?null:e:"extent"===e.type?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function me(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(B(t))r=t.toNumber();else if(U(t))r=t.toString();else if(Q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=fe(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function be(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function we(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,a=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(a=n)}if(null===a)throw new s.D$("FieldNotFound",null,{key:e});let l=t.typeIdField,u="id",c=t.types;if(t.subtypeField&&(l=t.subtypeField,u="code",c=t.subtypes??[]),null===n&&r&&l)n=r.hasField(l)?r.field(l):null;else if(l&&null!==n){let e=!1;for(const t of c||[])if(n===t[u]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[u],e=!0;break}e||(n=null,r&&l&&(n=r.hasField(l)?r.field(l):null))}return null!=n&&c.some(e=>e[u]===n&&(i=e.domains?.[a.name],i&&"inherited"===i.type&&(i=Se(a.name,t),o=!0),!0)),o||i||(i=Se(e,t)),{field:a,domain:i}}function Se(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ve(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},s={key:r,value:e[r]};return i(n,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const a=s.push(t)-1,l=Object.keys(t).sort(n?.(t));for(o="",i=0;i<l.length;i++){const r=l[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return s.splice(a,1),"{"+o+"}"}(e)}function Te(e){const t=[];for(const r of e)R(r)?t.push(r.geometry()):t.push(r);return t}function Ce(e,t){if(!I(t))throw new s.D$("InvalidParameter",null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function Ne(e,t){if((0,S.cy)(e)||Y(e)){let r=!1,n=!1,i=[],o=t;if((0,S.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(o=e[0].spatialReference,r=e[0].hasZ,n=e[0].hasM)}else if(e instanceof l.A)i=e._elements,i.length>0&&(r=e.hasZ(),n=e.hasM(),o=e.get(0).spatialReference);else{if(!Y(e))throw new s.D$("InvalidParameter",null);for(const t of e.toArray())Ce(i,t);i.length>0&&(o=e.get(0).spatialReference,r=!0===e.get(0).hasZ,n=!0===e.get(0).hasM)}return 0===i.length?null:((0,b.$3)(i)||(i=i.slice().reverse()),new g.A({rings:[i],spatialReference:o,hasZ:r,hasM:n}))}return e}function Ae(e,t){if((0,S.cy)(e)||Y(e)){let r=!1,n=!1,i=[],s=t;if((0,S.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,r=!0===e[0].hasZ,n=!0===e[0].hasM)}else if(e instanceof l.A)i=e._elements,i.length>0&&(r=e.hasZ(),n=e.hasM(),s=e.get(0).spatialReference);else if(Y(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,r=!0===e.get(0).hasZ,n=!0===e.get(0).hasM)}return 0===i.length?null:new m.A({paths:[i],spatialReference:s,hasZ:r,hasM:n})}return e}function xe(e,t){if((0,S.cy)(e)||Y(e)){let r=!1,n=!1,i=[],s=t;if((0,S.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,r=!0===e[0].hasZ,n=!0===e[0].hasM)}else if(e instanceof l.A)i=e._elements,i.length>0&&(r=e.hasZ(),n=e.hasM(),s=e.get(0).spatialReference);else if(Y(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,r=!0===e.get(0).hasZ,n=!0===e.get(0).hasM)}return 0===i.length?null:new h.A({points:i,spatialReference:s,hasZ:r,hasM:n})}return e}function Fe(e,t=!0){if(null==e)return[];if((0,S.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if(Y(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(M(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let _e=0;function Ze(){return _e++,_e%100==0?(_e=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Oe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Me(e){return null==e?null:(0,S.Lm)(e)||(0,S.Et)(e)||(0,S.Kg)(e)?e:L(e)?e.toJSON():Y(e)?e.toArray().map(e=>Me(e)):Array.isArray(e)?e.map(e=>Me(e)):(0,S.$P)(e)?e:B(e)?e.toJSDate():Q(e)?e.toString():U(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ke(e,t=null){if(Y(e)&&(e=e.toArray()),null==e)return null;if(M(e)||L(e)||(0,S.$P)(e)||B(e))return Me(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||M(i)||L(i)||(0,S.$P)(i)||B(i))n.push(Me(i));else{const e=n.push(null)-1;r.push(ke(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function De(e){return Pe(e)?e.parent:e}function Pe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Le(e,t,r){const n=De(e.fullSchema());return null===n?null:n.fields?we(t,n,e,r):null}function Ie(e){const t=De(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Re(e,t,r,n){const i=De(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const s=we(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return me(s,r)}function Je(e,t,r,n){const i=De(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return be(we(t,i,e,n),r)}function je(e){return e?.timeZone??"system"}function Ge(e){const t=De(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Ee=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:N,ReturnResult:C,absRound:ee,arcadeVersion:"1.36",autoCastArrayOfPointsToMultiPoint:xe,autoCastArrayOfPointsToPolygon:Ne,autoCastArrayOfPointsToPolyline:Ae,autoCastFeatureToGeometry:Te,binaryOperator:Oe,breakResult:x,castAsJson:Me,castAsJsonAsync:ke,castRecordToText:ae,continueResult:F,defaultTimeZone:je,defaultUndefined:k,equalityTest:oe,featureDomainCodeLookup:Je,featureDomainValueLookup:Re,featureFullDomain:Le,featureSchema:Ge,featureSubtypes:Ie,fixNullGeometry:ge,fixSpatialReference:ye,getDomain:we,getDomainCode:be,getDomainValue:me,getType:D,greaterThanLessThan:se,isArray:S.cy,isAttachment:q,isBoolean:S.Lm,isDate:B,isDateOnly:U,isDictionary:E,isDictionaryLike:V,isEmpty:W,isFeature:R,isFeatureSet:G,isFeatureSetCollection:z,isFunctionParameter:Z,isGeometry:L,isGraphic:T.D,isImmutableArray:Y,isInteger:S.Fq,isJsDate:S.$P,isKnowledgeGraph:K,isModule:O,isNumber:S.Et,isPixel:j,isPortal:$,isSimpleType:M,isString:S.Kg,isSubtypeGrouplayer:function(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass},isSubtypeSublayer:Pe,isTime:Q,isVoid:P,isVoxel:J,multiReplace:_,pcCheck:H,standardiseDateFormat:ne,tick:Ze,toBoolean:he,toDate:de,toNumber:fe,toNumberArray:ue,toString:le,toStringArray:Fe,toStringExplicit:ce,voidOperation:A},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,x,"D",0,F,"s",0,Ee,"x",0,A])},14607(e,t,r){r.d(t,{B:()=>u,GP:()=>a,qg:()=>c});var n=r(799),i=r(73444);const s={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in s;if(!t){const r=e.split("-");r.length>1&&r[0]in s&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=s[e];return{decimal:r,group:n,pattern:o}}function a(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,s=t.split(";"),o=s[0];if((t=s[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const a=l,u=o.match(a);if(!u)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(a,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let s=r.places;i?s=r.places.slice(i+1):+s>=0||(s=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(s))));const o=String(Math.abs(e)).split("."),a=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>a.length&&(o[1]=a.padEnd(Number(e),"0")),+s<a.length&&(o[1]=a.slice(0,Math.max(0,Number(s))))}else o[1]&&o.pop();const l=n[0].replace(",","");let u=l.indexOf("0");-1!==u&&(u=l.length-u,u>o[0].length&&(o[0]=o[0].padStart(u,"0")),l.includes("#")||(o[0]=o[0].slice(-u)));let c,p,f=n[0].lastIndexOf(",");if(-1!==f){c=n[0].length-f-1;const e=n[0].slice(0,f);f=e.lastIndexOf(","),-1!==f&&(p=e.length-f-1)}const d=[];for(let e=o[0];e;){const t=e.length-c;d.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",p&&(c=p,p=void 0)}return o[0]=d.reverse().join(r.group||","),o.join(r.decimal||".")}(e,u[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const l=/[#0,]*[#0](?:\.0*#*)?/;function u(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,s=t.decimal;let a=1;if(r.includes("%"))a/=100;else if(r.includes("‰"))a/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const u=r.split(";");1===u.length&&u.push("-"+u[0]);const c=f(u,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(l,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:s,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==a&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const l=n[0].split(",");return l.length>1&&(r.groupSize=l.pop().length,l.length>1&&(r.groupSize2=l.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=p(e),r=f(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+f(e.exponent,t=>t?"([eE]"+p({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:s,factor:a}}function c(e,t){const r=u(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function p(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",f(e.signed,e=>e?"[-+]":"",!0)+f(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const f=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return d(n.join("|"),Boolean(r))},d=(e,t)=>"("+(t?"?:":"")+e+")"},48526(e,t,r){r.d(t,{A:()=>g});var n,i=r(5482),s=r(4576),o=r(4718),a=r(91429),l=r(5443),u=r(91075),c=r(86738),p=r(16930),f=r(90634),d=r(47610),h=r(56993),y=r(43937);let g=n=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:n,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:n??=!0,r??=!0;break;case 3:n??=!0!==r,r??=!n;break;default:n??=!1,r??=!1}return i??=p.A.WGS84,{...e,hasM:r,hasZ:n,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,f.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:i}=this;return new n({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:i})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,r=e.spatialReference;return null!=t==(null!=r)&&!(null!=t&&null!=r&&!t.equals(r))&&(0,s.aI)(this.points,e.points,d.v6)}addPoint(e){return(0,h.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let n=2;return this.hasZ&&(r.z=t[2],n=3),this.hasM&&(r.m=t[n]),new c.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new c.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,h.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],g.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],g.prototype,"points",void 0),(0,i.Cg)([(0,y.K)("points")],g.prototype,"writePoints",null),g=n=(0,i.Cg)([(0,a.$K)("esri.geometry.Multipoint")],g),g.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,r){r.d(t,{A:()=>h});var n,i=r(5482),s=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),c=r(16930),p=r(90634),f=r(56993),d=r(43937);let h=n=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:n,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:n??=!0,r??=!0;break;case 3:n??=!0!==r,r??=!n;break;default:n??=!1,r??=!1}return i??=c.A.WGS84,{...e,hasM:r,hasZ:n,paths:t,spatialReference:i}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,s.o8)(e)}get extent(){const e=(0,p.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const n=[];for(let t=0,r=e.length;t<r;t++)n[t]=e[t].toArray();t[r]=n}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new n;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],n=this.hasZ,i=this.hasM;return n&&!i?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):i&&!n?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):n&&i?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,n=t.map(e=>new u.A(e,r));return this.notifyChange("paths"),n}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,f.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const n=this.paths[e];if(r&&(t<0||t>n.length))return!1;if(!r&&(t<0||t>=n.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],h.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],h.prototype,"curvePaths",void 0),(0,i.Cg)([(0,d.K)("curvePaths")],h.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],h.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],h.prototype,"paths",void 0),(0,i.Cg)([(0,d.K)("paths")],h.prototype,"writePaths",null),h=n=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],h),h.prototype.toJSON.isDefaultToJSON=!0},73444(e,t,r){r.d(t,{JK:()=>l,Ml:()=>g,QC:()=>p,lR:()=>c,oQ:()=>h});var n=r(36563);let i;r(44208);const s=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function a(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return s??e??t??"en"}function l(){return void 0===i&&(i=a()),i}const u=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=l()){return f(e)?.language}function p(e=l()){const t=f(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function f(e=l()){return u.exec(e)?.groups}const d=[];function h(e){return d.push(e),(0,n.hA)(()=>{d.splice(d.indexOf(e),1)})}new Map;const y=[];function g(e){return y.push(e),(0,n.hA)(()=>y.splice(y.indexOf(e),1))}function m(){const e=a();i!==e&&([...y].forEach(t=>t(e)),i=e,[...d].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",m),o&&new MutationObserver(()=>{m()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),s=r(25482),o=r(91429);let a=n=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(5482),s=r(4718),o=r(91429),a=r(39357),l=r(76357),u=r(93223);let c=class extends l.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>u});var n=r(5482),i=r(66552),s=r(25482),o=r(91429),a=r(93223);const l=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},20437(e,t,r){r.d(t,{A:()=>h});var n,i=r(5482),s=r(66552),o=r(25482),a=r(91429),l=r(56507),u=r(8631),c=r(98453),p=r(36005),f=r(93223);const d=new s.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let h=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?d.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],h.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],h.prototype,"description",void 0),(0,i.Cg)([(0,p.w)("description")],h.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],h.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],h.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],h.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"nullable",void 0),(0,i.Cg)([(0,f.e)(c.m)],h.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],h.prototype,"valueType",void 0),(0,i.Cg)([(0,p.w)("valueType",["description"])],h.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],h.prototype,"visible",void 0),h=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],h)},41628(e,t,r){r.d(t,{A:()=>l});var n,i=r(5482),s=r(91429),o=r(76357),a=r(93223);let l=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],l)},8631(e,t,r){r.d(t,{r:()=>f,g:()=>p});var n,i=r(53177),s=r(76357),o=r(5482),a=r(91429),l=r(93223);let u=class extends s.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=n=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var c=r(41628);const p={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function f(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])},67090(e,t,r){r.d(t,{k:()=>a});var n=r(5482),i=r(25482),s=r(10107),o=r(64108);let a=class extends i.o{constructor(e){super(e)}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"key",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"text",void 0),a=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateContent")],a)},62791(e,t,r){r.d(t,{F:()=>l});var n=r(5482),i=r(25482),s=r(10107),o=r(64108),a=r(67090);let l=class extends i.o{constructor(e){super(e),this.outputCultures=null,this.input=null,this.portalUrl="https://www.arcgis.com",this.provider="default",this.inputCulture=null,this.requestSource=null}};(0,n.Cg)([(0,s.MZ)({type:[String],json:{write:!0}})],l.prototype,"outputCultures",void 0),(0,n.Cg)([(0,s.MZ)({type:[a.k],json:{write:!0}})],l.prototype,"input",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],l.prototype,"portalUrl",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0,default:"default"}})],l.prototype,"provider",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"inputCulture",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{read:!1,write:!1}})],l.prototype,"requestSource",void 0),l=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateParameters")],l)},14942(e,t,r){r.d(t,{s:()=>l});var n=r(5482),i=r(25482),s=r(10107),o=r(64108);let a=class extends i.o{};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"text",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"to",void 0),a=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateResult.Translation")],a);let l=class extends i.o{constructor(e){super(e),this.detectedLanguage="en",this.detectedLanguageScore=-1}};(0,n.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"key",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{read:{source:"detectedLanguage.language"},write:{target:"detectedLanguage.language"}}})],l.prototype,"detectedLanguage",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{read:{source:"detectedLanguage.score"},write:{target:"detectedLanguage.score"}}})],l.prototype,"detectedLanguageScore",void 0),(0,n.Cg)([(0,s.MZ)({type:[a],json:{write:!0}})],l.prototype,"translations",void 0),l=(0,n.Cg)([(0,o.$)("esri.rest.support.TranslateResult")],l)},45475(e,t,r){r.d(t,{T:()=>o});var n=r(11254),i=r(2272),s=r(14942);async function o(e,t,r){const o=JSON.stringify(t.toJSON()),a={};"https://www.arcgis.com"!==t.portalUrl&&(a.portal=t.portalUrl),null!=t.requestSource&&(a.request_source=t.requestSource),a.token=await(0,i.gf)(t.portalUrl,null,{signal:r?.signal,prompt:"no-prompt"!==r?.authMode});const l=(0,i.Dl)(e),u=(0,i.jV)(l.query,{...r,query:a,body:o,method:"post",authMode:"anonymous"});return(await(0,n.A)(l.path,u)).data.results.map(e=>s.s.fromJSON(e))}},2272(e,t,r){r.d(t,{Dl:()=>u,gf:()=>p,jV:()=>l,lF:()=>c});var n=r(92602),i=r(70333),s=r(4718),o=r(84952),a=r(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,s.o8)(e)}function c(e,t,r){const n={};for(const i in e){if("declaredClass"===i)continue;const s=e[i];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))n[i]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(r?.[i]);n[i]=t?e:JSON.stringify(e)}else n[i]=t?s:JSON.stringify(s);else n[i]=s}return n}async function p(e,t,s){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&n.A.request.useIdentity&&await Promise.all([r.e(7632),r.e(4943),r.e(148)]).then(r.bind(r,50148));const l=await i.id.getCredential(e,s);return l?.token}}}]);
|