@arcgis/core 4.34.0-next.43 → 4.34.0-next.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/0494e1212dd94d927287.js +1 -0
- package/assets/esri/core/workers/chunks/08840c4d3df711065571.js +1 -0
- package/assets/esri/core/workers/chunks/{42c5d957813080143e5a.js → 09268dc856c3d5ce178f.js} +1 -1
- package/assets/esri/core/workers/chunks/092cb42b88ecfb9c4a07.js +1 -0
- package/assets/esri/core/workers/chunks/0f20c0eec850a39620a1.js +1 -0
- package/assets/esri/core/workers/chunks/129144cbdb3fcbb87baf.js +1 -0
- package/assets/esri/core/workers/chunks/{b40845b45f8d7cd347a1.js → 17df0f766ee1e323d3fa.js} +1 -1
- package/assets/esri/core/workers/chunks/{cf474c055a85bdbfa8d0.js → 19f1bfe815896d4983af.js} +1 -1
- package/assets/esri/core/workers/chunks/2370ff6c3006691ac688.js +1 -0
- package/assets/esri/core/workers/chunks/28a5a7c6b3d6902146f6.js +1 -0
- package/assets/esri/core/workers/chunks/{bb23371335ac049861e6.js → 28a85997c9003cacdefb.js} +1 -1
- package/assets/esri/core/workers/chunks/2942ab268f24cea2e722.js +1 -0
- package/assets/esri/core/workers/chunks/{3a2cbfb03103c402c6c5.js → 2b75212c31145cc07d16.js} +1 -1
- package/assets/esri/core/workers/chunks/{5958598da96464128aed.js → 2f65081bfedeab44d6cb.js} +1 -1
- package/assets/esri/core/workers/chunks/33f3e3d05429f845c139.js +1 -0
- package/assets/esri/core/workers/chunks/{68a69d3fcad6febf55f6.js → 349da65a8793f7873366.js} +6 -6
- package/assets/esri/core/workers/chunks/379a4f664e77ad1fffe9.js +1 -0
- package/assets/esri/core/workers/chunks/45b450c045d5fadf71b6.js +1 -0
- package/assets/esri/core/workers/chunks/4622a3e64d3c4aafa56b.js +1 -0
- package/assets/esri/core/workers/chunks/{9aa84b86262fa8334bc4.js → 48514235c32917e43a3f.js} +44 -44
- package/assets/esri/core/workers/chunks/4c6862ad3af947c704f7.js +1 -0
- package/assets/esri/core/workers/chunks/4d544e3e19ce07c2c195.js +1 -0
- package/assets/esri/core/workers/chunks/{6759319f3fd2d03c446b.js → 5c556468e2a598ab793a.js} +1 -1
- package/assets/esri/core/workers/chunks/64c31c90e4c589ca2f04.js +1 -0
- package/assets/esri/core/workers/chunks/709dc98379f4ce18a0b5.js +1 -0
- package/assets/esri/core/workers/chunks/73140c5c0beda7ea3703.js +1 -0
- package/assets/esri/core/workers/chunks/7b560ac0be93c6aa9940.js +1 -0
- package/assets/esri/core/workers/chunks/{ff34fdda7899e784ac73.js → 7c7338af011b8f0d7218.js} +1 -1
- package/assets/esri/core/workers/chunks/838998bfda90f099c6e9.js +1 -0
- package/assets/esri/core/workers/chunks/84f3e1ce25c36e46fd2a.js +1 -0
- package/assets/esri/core/workers/chunks/863e87ac982d7727b435.js +1 -0
- package/assets/esri/core/workers/chunks/{c6da9ba188b627ab3b79.js → 8aa77a5e82c033512b45.js} +1 -1
- package/assets/esri/core/workers/chunks/{b1c2e5e0a70fb5d27da5.js → 8bab4c59c9b644224ecb.js} +1 -1
- package/assets/esri/core/workers/chunks/{f4b145feab275b268c2e.js → 8cc700da2ac58849a708.js} +1 -1
- package/assets/esri/core/workers/chunks/{28d71e1b866113650c75.js → 8e36693e5213c20158d7.js} +1 -1
- package/assets/esri/core/workers/chunks/{1acc620bfd2983d6853f.js → 8fae35af98c29bef8500.js} +1 -1
- package/assets/esri/core/workers/chunks/914eaed113dda727eb47.js +1 -0
- package/assets/esri/core/workers/chunks/98175b454e807b1a3c5f.js +1 -0
- package/assets/esri/core/workers/chunks/9a20be3b02c9d6349b8d.js +1 -0
- package/assets/esri/core/workers/chunks/9d30fed26e0d84ef893b.js +1 -0
- package/assets/esri/core/workers/chunks/a1ff4c252012d5026133.js +1 -0
- package/assets/esri/core/workers/chunks/{ddeaf688d72b2873c4ac.js → a2a13dd95238bb144479.js} +1 -1
- package/assets/esri/core/workers/chunks/a34d98abcf958a632b0f.js +1 -0
- package/assets/esri/core/workers/chunks/a3a23a56df4e5ee86bb2.js +1 -0
- package/assets/esri/core/workers/chunks/{5ae6e2b3557fe8730072.js → b287624909578d307e07.js} +1 -1
- package/assets/esri/core/workers/chunks/{5b91a49202129eedaf00.js → b4304673696fc0774bff.js} +1 -1
- package/assets/esri/core/workers/chunks/b45772b72f2b8f4fd53f.js +1 -0
- package/assets/esri/core/workers/chunks/c645009f3d2576494bfc.js +1 -0
- package/assets/esri/core/workers/chunks/ce569860b170700e9b31.js +1 -0
- package/assets/esri/core/workers/chunks/cf5db995ba88912cf6b7.js +1 -0
- package/assets/esri/core/workers/chunks/{b85dbefdb09bc6c99e0d.js → cff15600d0ec7b19dffb.js} +1 -1
- package/assets/esri/core/workers/chunks/{7e99fc78bd0f40a8ba81.js → d1c97fdcba6eb443cb1c.js} +1 -1
- package/assets/esri/core/workers/chunks/{615915e7c48f0a3d0060.js → d547b27ac750953a998f.js} +1 -1
- package/assets/esri/core/workers/chunks/d70e1b8b8bee88a7a5b8.js +353 -0
- package/assets/esri/core/workers/chunks/da396fdbd6f213042aa7.js +1 -0
- package/assets/esri/core/workers/chunks/dbc9bb3011f16ce33f71.js +1 -0
- package/assets/esri/core/workers/chunks/dd0f1e06b7df953ea223.js +1 -0
- package/assets/esri/core/workers/chunks/dd79d3aa6e1a8aee6881.js +1 -0
- package/assets/esri/core/workers/chunks/e1272db232194cbe102c.js +1 -0
- package/assets/esri/core/workers/chunks/{14b536e0c1de6c7422bc.js → e408ccee12bfe089c913.js} +1 -1
- package/assets/esri/core/workers/chunks/{7f2bdb8da5c9ffd7d05e.js → e58336aafe8c95bb6831.js} +1 -1
- package/assets/esri/core/workers/chunks/{30b9c131b69297ee186f.js → e59e09766b130a05c617.js} +1 -1
- package/assets/esri/core/workers/chunks/e65fc26f4384a328a753.js +1 -0
- package/assets/esri/core/workers/chunks/{e3f5afdf133c58b3d161.js → ea262087938335fed19f.js} +1 -1
- package/assets/esri/core/workers/chunks/eafc4da265469e9e5e0b.js +1 -0
- package/assets/esri/core/workers/chunks/{aaab7694eb333ad480f5.js → ec9fd49e0252797f7f6a.js} +1 -1
- package/assets/esri/core/workers/chunks/{655b8d24ffe5405f8ba1.js → f2a2d3cda4a3dc0a8caf.js} +1 -1
- package/assets/esri/core/workers/chunks/f67997250569069ee2ef.js +1 -0
- package/assets/esri/core/workers/chunks/fc3a6f2f99629e57dbbd.js +1 -0
- package/assets/esri/core/workers/chunks/ff9eef1940eaa3406223.js +1 -0
- package/assets/esri/libs/i3s/i3s.wasm +0 -0
- package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace.json +1 -1
- package/assets/esri/widgets/UtilityNetworkTrace/t9n/UtilityNetworkTrace_en.json +1 -1
- package/chunks/bundle.js +1 -1
- package/chunks/i3s.js +1 -1
- package/config.js +1 -1
- package/core/workers/registry.js +1 -1
- package/geometry/operators/json/generalizeOperator.js +5 -0
- package/geometry/operators/json/simplifyOperator.js +1 -1
- package/interfaces.d.ts +3 -3
- package/kernel.js +1 -1
- package/layers/ParquetLayer.js +1 -1
- package/layers/SceneLayer.js +1 -1
- package/layers/SubtypeGroupLayer.js +1 -1
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/sources/ParquetSource.js +1 -1
- package/layers/graphics/sources/geojson/GeoJSONSourceWorker.js +1 -1
- package/layers/graphics/sources/support/CSVSourceWorker.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +5 -0
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/mixins/TemporalSceneLayer.js +1 -1
- package/layers/support/fieldUtils.js +1 -1
- package/layers/support/parquetUtils.js +1 -1
- package/layers/support/rasterDatasets/multipartParser.js +1 -1
- package/layers/support/rasterDatasets/pixelReader.js +1 -1
- package/libs/parquet/parquet.js +1 -1
- package/networks/RulesTable.js +1 -1
- package/package.json +1 -1
- package/portal/schemas/definitions.js +1 -1
- package/rest/knowledgeGraph/wasmInterface/knowledgeWasmAccess.js +1 -1
- package/rest/support/AlgorithmicColorRamp.js +1 -1
- package/rest/support/MultipartColorRamp.js +1 -1
- package/smartMapping/statistics/support/statsWorker.js +1 -1
- package/support/revision.js +1 -1
- package/support/zipUtils.js +1 -1
- package/symbols/cim/CIMEffects.js +1 -1
- package/symbols/cim/CIMResourceManager.js +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/CIMSymbolHelper.js +1 -1
- package/symbols/cim/animationUtils.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/effects/CIMEffectHelper.js +1 -1
- package/symbols/cim/effects/EffectAddControlPoints.js +1 -1
- package/symbols/cim/effects/EffectArrow.js +1 -1
- package/symbols/cim/effects/EffectBuffer.js +1 -1
- package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
- package/symbols/cim/effects/EffectCut.js +1 -1
- package/symbols/cim/effects/EffectDashes.js +1 -1
- package/symbols/cim/effects/EffectDonut.js +1 -1
- package/symbols/cim/effects/EffectEnclosingPolygon.js +1 -1
- package/symbols/cim/effects/EffectJog.js +1 -1
- package/symbols/cim/effects/EffectMove.js +1 -1
- package/symbols/cim/effects/EffectOffset.js +1 -1
- package/symbols/cim/effects/EffectRadial.js +1 -1
- package/symbols/cim/effects/EffectReverse.js +1 -1
- package/symbols/cim/effects/EffectRotate.js +1 -1
- package/symbols/cim/effects/EffectScale.js +1 -1
- package/symbols/cim/effects/EffectSuppress.js +1 -1
- package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
- package/symbols/cim/effects/EffectWave.js +1 -1
- package/symbols/cim/fitVectorMarker.js +1 -1
- package/symbols/cim/placements/CIMMarkerPlacementHelper.js +1 -1
- package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
- package/symbols/cim/placements/PlacementAtExtremities.js +1 -1
- package/symbols/cim/placements/PlacementAtRatioPositions.js +1 -1
- package/symbols/cim/placements/PlacementInsidePolygon.js +1 -1
- package/symbols/cim/placements/PlacementOnLine.js +1 -1
- package/symbols/cim/placements/PlacementOnVertices.js +1 -1
- package/symbols/cim/placements/PlacementPolygonCenter.js +1 -1
- package/symbols/cim/utils.js +1 -1
- package/symbols/support/gfxUtils.js +1 -1
- package/symbols/support/symbolLayerUtils.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerMeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriter.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/projection.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextMeshWriter.js +1 -1
- package/views/2d/input/handlers/MouseWheelZoom.js +1 -1
- package/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +1 -1
- package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
- package/views/2d/layers/features/processor/TrackStrategy.js +1 -1
- package/views/2d/layers/features/sources/FeatureSource.js +1 -1
- package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementPathHelper.js +1 -1
- package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
- package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
- package/views/3d/layers/FlowSubView3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
- package/views/3d/support/GaussianSplatSortWorker.js +1 -1
- package/views/3d/support/GaussianSplatWorkerHandle.js +1 -1
- package/views/3d/support/flow/StreamlineResources3D.js +5 -0
- package/views/3d/support/flow/StreamlineResources3DOverlay.js +5 -0
- package/views/3d/support/flow/StreamlineResources3DShape.js +5 -0
- package/views/3d/support/flow/geometryUtils.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/output/Emissions.glsl.js +5 -5
- package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/intersectorUtilsConversions.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/SelectionManager.js +1 -1
- package/views/interactive/tooltip/tooltipCommonUtils.js +1 -1
- package/views/support/TextureCompressionWorker.js +1 -1
- package/webscene/spec-certification/compare.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/CatalogLayerList.js +1 -1
- package/widgets/CoordinateConversion/support/Format.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/ElevationProfile/ElevationProfileController.js +1 -1
- package/widgets/Feature/FeatureRelationship.js +1 -1
- package/widgets/Feature/FeatureViewModel.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/components/ImageViewerViewModel.js +1 -1
- package/widgets/Print.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
- package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
- package/widgets/support/SnappingControls.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationList.js +1 -1
- package/assets/esri/core/workers/chunks/016d421114118307d4dd.js +0 -1
- package/assets/esri/core/workers/chunks/03df4668002eb4cb4f98.js +0 -1
- package/assets/esri/core/workers/chunks/087ae1e3e767f0e678e5.js +0 -1
- package/assets/esri/core/workers/chunks/0b45566fad2cbb03fea1.js +0 -1
- package/assets/esri/core/workers/chunks/0d73afce787ee1e76b21.js +0 -1
- package/assets/esri/core/workers/chunks/21dd626a5b5ea6a7e18e.js +0 -1
- package/assets/esri/core/workers/chunks/24e76fa530fc0c495fb5.js +0 -1
- package/assets/esri/core/workers/chunks/2a26c3fc324d672ebe88.js +0 -1
- package/assets/esri/core/workers/chunks/345ed9ac44e47355803e.js +0 -1
- package/assets/esri/core/workers/chunks/3984ca7e05f30724adaf.js +0 -1
- package/assets/esri/core/workers/chunks/439128f23fa091633d2d.js +0 -1
- package/assets/esri/core/workers/chunks/489391ed1d443140617d.js +0 -1
- package/assets/esri/core/workers/chunks/6b73926feb5c5d957062.js +0 -1
- package/assets/esri/core/workers/chunks/774844eea928efa811f2.js +0 -1
- package/assets/esri/core/workers/chunks/7b82ed4cc475c782256b.js +0 -1
- package/assets/esri/core/workers/chunks/7ef29640de297a0cf744.js +0 -1
- package/assets/esri/core/workers/chunks/8867368ab9b005460f19.js +0 -353
- package/assets/esri/core/workers/chunks/8c3c752408fac3db05cf.js +0 -1
- package/assets/esri/core/workers/chunks/8ca95499e00ce8b0af9a.js +0 -1
- package/assets/esri/core/workers/chunks/98ac849cccc4d5316021.js +0 -1
- package/assets/esri/core/workers/chunks/9cd9b22354dbdf1b1df0.js +0 -1
- package/assets/esri/core/workers/chunks/a89c060ad302381aaf7d.js +0 -1
- package/assets/esri/core/workers/chunks/af98c7546be409303213.js +0 -1
- package/assets/esri/core/workers/chunks/b01a90ce699058307bc2.js +0 -1
- package/assets/esri/core/workers/chunks/c110941e87923ba47193.js +0 -1
- package/assets/esri/core/workers/chunks/c47227a626edc1e1ecf1.js +0 -1
- package/assets/esri/core/workers/chunks/c474800508e3ad5ce9d7.js +0 -1
- package/assets/esri/core/workers/chunks/d5d2d4df407cf078bb81.js +0 -1
- package/assets/esri/core/workers/chunks/d93b24e863379116b2aa.js +0 -1
- package/assets/esri/core/workers/chunks/da6f46211551a96dce19.js +0 -1
- package/assets/esri/core/workers/chunks/dd9be173cddc16a354ed.js +0 -1
- package/assets/esri/core/workers/chunks/e6d08230adb90b9a2a17.js +0 -1
- package/assets/esri/core/workers/chunks/eb7dd722e4cd7f83b3f5.js +0 -1
- package/assets/esri/core/workers/chunks/f1adf8ebc2c1b93857bf.js +0 -1
- package/assets/esri/core/workers/chunks/fb84fa28978a1820a725.js +0 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/mesh/loadGeometryEngine.js +0 -5
- package/views/3d/support/flow/StreamlinesResources3D.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6445],{4071:(e,t,r)=>{r.d(t,{$:()=>i,P:()=>n});const i={supportsDate:!1,supportsFixedInterval:!1,supportsAutoInterval:!1,supportsFixedBoundaries:!1,supportsStackBy:!1,supportsSplitBy:!1,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!1,supportedStatistics:void 0,supportedNormalizationTypes:void 0},n={analytics:{supportsCacheHint:!1},attachment:{supportsContentType:!1,supportsExifInfo:!1,supportsKeywords:!1,supportsName:!1,supportsSize:!1,supportsCacheHint:!1,supportsOrderByFields:!1,supportsResize:!1},data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsAsyncApplyEdits:!1,zDefault:void 0},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryBins:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1,supportsAsyncConvert3D:!1},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:i,query:{maxRecordCount:0,maxRecordCountFactor:0,maxUniqueIDCount:0,standardMaxRecordCount:0,supportsCacheHint:!1,supportsCentroid:!1,supportsCompactGeometry:!1,supportsCurrentUser:!1,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPaginationOnAggregatedQueries:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByAnonymous:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsReturnMesh:!1,supportsSqlExpression:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsTrueCurve:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsStatistics:!1,tileMaxRecordCount:0}}},4197:(e,t,r)=>{r.d(t,{cj:()=>a,jh:()=>n,l5:()=>o,xm:()=>s});var i=r(34275);function n(e,t=!1){return e<=i.y9?t?new Array(e).fill(0):new Array(e):new Float64Array(e)}function s(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=i.y9?Array.from(e):new Float64Array(e)}function o(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}},6797:(e,t,r)=>{r.d(t,{Mj:()=>d,Ui:()=>h,w2:()=>m});var i=r(65008),n=r(7762),s=r(88620);const o=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof i.A}function l(e){return e instanceof n.A?Object.keys(e.items):a(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof n.A?e.items[t]:e[t]}function p(e){return e?e.declaredClass:null}function c(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const i=l(e),n=l(t);if(0===i.length&&0===n.length)return;if(!i.length||!n.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=n.filter(e=>!i.includes(e)),d=i.filter(e=>!n.includes(e)),m=i.filter(r=>n.includes(r)&&u(e,r)!==u(t,r)).concat(s,d).sort(),h=p(e);if(h&&o.has(h)&&m.length)return{type:"complete",oldValue:e,newValue:t};let f;const y=a(e)&&a(t);for(const i of m){const n=u(e,i),s=u(t,i);let o;if((y||"function"!=typeof n&&"function"!=typeof s)&&n!==s&&(null!=n||null!=s)){if(r&&r[i]&&"function"==typeof r[i])o=r[i]?.(n,s);else if(n instanceof Date&&s instanceof Date){if(n.getTime()===s.getTime())continue;o={type:"complete",oldValue:n,newValue:s}}else o="object"==typeof n&&"object"==typeof s&&p(n)===p(s)?c(n,s):{type:"complete",oldValue:n,newValue:s};null!=o&&(null!=f?f.diff[i]=o:f={type:"partial",diff:{[i]:o}})}}return f}function d(e,t){return function(e,t){if(null==e)return!1;const r=t.split(".");let i=e;for(const e of r){if("complete"===i.type)return!0;if("partial"!==i.type)return!1;{const t=i.diff[e];if(!t)return!1;i=t}}return!0}(e,t)}function m(e,t){if(!e)return!1;if("partial"===e.type){const r=Object.keys(e.diff);return 1===r.length&&r[0]===t}return!1}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&p(e)!==p(t)?{type:"complete",oldValue:e,newValue:t}:c(e,t)}},13069:(e,t,r)=>{r.d(t,{AG:()=>a,lk:()=>n,vD:()=>o,yS:()=>s});const i="randomUUID"in crypto;function n(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function s(){return`{${n().toUpperCase()}}`}function o(){return`{${n()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},32730:(e,t,r)=>{r.d(t,{BI:()=>y,D3:()=>h,XJ:()=>f,lc:()=>m,mX:()=>b,rU:()=>g,tH:()=>F});var i=r(799);const n="__begin__",s="__end__",o=new RegExp(n,"ig"),a=new RegExp(s,"ig"),l=new RegExp("^"+n,"i"),u=new RegExp(s+"$","i"),p='"',c=p+" + ",d=" + "+p;function m(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=m(e.labelExpression),t.type="conventional"),t}function y(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return b(t.expression);case"arcade":return t.expression}return null}function g(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(_);return t?.[1].trim()||null}(t.expression);case"arcade":return F(t.expression)}return null}function b(e){let t;return e?(t=(0,i.HC)(e,e=>n+'$feature["'+e+'"]'+s),t=l.test(t)?t.replace(l,""):p+t,t=u.test(t)?t.replace(u,""):t+p,t=t.replaceAll(o,c).replaceAll(a,d)):t='""',t}const _=/^\s*\{([^}]+)\}\s*$/i,T=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,x=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function F(e){if(!e)return null;let t=T.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=x.exec(e),t?t[2]:null)}},41366:(e,t,r)=>{r.d(t,{K:()=>d,Q:()=>u});var i=r(31635),n=r(66552),s=r(53966),o=r(10107),a=(r(44208),r(87811),r(93223)),l=r(40608);const u=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),p="percent-of-total",c="field",d=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&p||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==p||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,o.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,a.e)(u,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},46140:(e,t,r)=>{r.d(t,{R:()=>n});var i=r(49186);let n=class e{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new e(this.major,this.minor,this._context)}static parse(t,r=""){const[n,s]=t.split("."),o=/^\s*\d+\s*$/;if(!n?.match||!o.test(n))throw new i.A((r&&r+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:t});if(!s?.match||!o.test(s))throw new i.A((r&&r+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:t});const a=parseInt(n,10),l=parseInt(s,10);return new e(a,l,r)}}},50498:(e,t,r)=>{r.d(t,{Ye:()=>c,gy:()=>p,yR:()=>d});var i=r(66552),n=r(5443),s=r(91075),o=r(48526),a=r(86738),l=r(39829),u=r(82799);const p=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:s.A,key:"type",typeMap:{extent:n.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}}},52106:(e,t,r)=>{r.d(t,{A:()=>T});var i,n=r(31635),s=r(13874),o=r(69540),a=r(51447),l=r(25482),u=r(53966),p=r(36708),c=r(24326),d=r(10107),m=(r(44208),r(87811),r(40608)),h=r(12195),f=r(65864),y=r(50498),g=r(54339),b=r(33910);function _(e){if(null==e)return null;const t={};for(const r in e){const i=e[r];i&&(t[r]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let T=class extends((0,o.O)(l.o)){static{i=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,c.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const r of[t,this.sourceLayer,this.layer])if(r&&"object"==typeof r){if("popupTemplate"in r&&r.popupTemplate)return r.popupTemplate;if(e&&"defaultPopupTemplate"in r&&null!=r.defaultPopupTemplate)return r.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=this.sourceLayer??this.layer;return e?(0,g.r)(this,e):null}getGlobalId(){const e=this.sourceLayer??this.layer;return e&&"globalIdField"in e&&e.globalIdField?this.getAttribute(e.globalIdField):null}toJSON(){return{aggregateGeometries:_(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const n={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(n.action=i),"attributes"===e&&(n.attributeName=i),this.layer.graphicChanged(n)}_watchMeshGeometryChanges(){this.addHandles([(0,p.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,p.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,n.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const i=(0,f.rS)(e[r]);i&&(t[r]=i)}return 0!==Object.keys(t).length?t:null}}})],T.prototype,"aggregateGeometries",null),(0,n.Cg)([(0,d.MZ)({value:null})],T.prototype,"attributes",null),(0,n.Cg)([(0,d.MZ)({value:null,types:y.yR,json:{read:f.rS}})],T.prototype,"geometry",null),(0,n.Cg)([(0,d.MZ)({type:Boolean})],T.prototype,"isAggregate",void 0),(0,n.Cg)([(0,d.MZ)({clonable:!1})],T.prototype,"layer",void 0),(0,n.Cg)([(0,d.MZ)({clonable:"reference"})],T.prototype,"origin",void 0),(0,n.Cg)([(0,d.MZ)({type:s.A,value:null})],T.prototype,"popupTemplate",null),(0,n.Cg)([(0,d.MZ)({clonable:"reference"})],T.prototype,"sourceLayer",void 0),(0,n.Cg)([(0,d.MZ)({value:null,types:b.Es})],T.prototype,"symbol",null),(0,n.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],T.prototype,"_version",void 0),(0,n.Cg)([(0,d.MZ)({type:Boolean,value:!0})],T.prototype,"visible",null),T=i=(0,n.Cg)([(0,m.$)("esri.Graphic")],T)},54339:(e,t,r)=>{function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function n(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>n})},55674:(e,t,r)=>{r.d(t,{Ad:()=>m,Gj:()=>y,QY:()=>d,lL:()=>g,xR:()=>h});var i=r(66131),n=r(49186),s=(r(44208),r(44729)),o=r(15032),a=r(65864),l=r(95466),u=r(43668),p=r(98623);const c=["geometry","scale","timeProperties"];function d(e,t){if(null!=t)for(const r of c)t.hasArcadeDependency(r)&&e.add(r);return e}function m(e,t){return f.create(e,t,null,["$feature","$view"])}function h(e,t,r){return f.create(e,t,r,["$feature","$view","$config"])}class f{static async create(e,t,r,i){const{arcade:s,Dictionary:o}=await(0,u.l)();let a;try{a=s.parseScript(e)}catch(t){throw new n.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const l=s.scriptUsesGeometryEngine(a);l&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,a,null,!1,l);const p={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},c=s.compileScript(a,p);let d=null;null!=r&&(d=new o(r),d.immutable=!0);const m=new o;return m.immutable=!1,m.setField("scale",0),new f(e,s,a,c,t,m,d,o)}constructor(e,t,r,i,n,s,o,a){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=n,this._viewDict=s,this._configDict=o,this._dictionaryCtor=a,this._dependencies=new Map,this._featureReader=new y,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class y{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new l.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,a.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===p.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return o.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??p.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},70328:(e,t,r)=>{r.d(t,{BI:()=>_,DC:()=>c,Ej:()=>m,Ie:()=>g,Jt:()=>b,Ne:()=>h,RF:()=>p,aI:()=>v,fA:()=>o,gE:()=>l,hZ:()=>y,iT:()=>d,is:()=>T,qv:()=>x,vI:()=>f,vY:()=>a,v_:()=>F,vt:()=>s,w1:()=>u});var i=r(5443),n=(r(19419),r(4197));function s(e=F){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,i,n,o,a=s()){return a[0]=e,a[1]=t,a[2]=r,a[3]=i,a[4]=n,a[5]=o,a}function a(e,t=s()){return function(e,t,r,i=s()){return y(i,x),function(e,t,r=0,i=t.length/3){let n=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<i;e++)n=Math.min(n,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=n,e[1]=s,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(i,e,t,r),i}(e,0,e.length/3,t)}function l(e,t=(0,n.jh)(24)){const[r,i,s,o,a,l]=e;return t[0]=r,t[1]=i,t[2]=s,t[3]=r,t[4]=i,t[5]=l,t[6]=r,t[7]=a,t[8]=s,t[9]=r,t[10]=a,t[11]=l,t[12]=o,t[13]=i,t[14]=s,t[15]=o,t[16]=i,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new i.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function m(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function f(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function y(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?y(e,x):s(x)}function b(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function _(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=n,e[5]=Number.POSITIVE_INFINITY,e}function T(e){return 6===e.length}function v(e,t,r){if(null==e||null==t)return e===t;if(!T(e)||!T(t))return!1;if(r){for(let i=0;i<e.length;i++)if(!r(e[i],t[i]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],F=[0,0,0,0,0,0];s()},73681:(e,t,r)=>{r.d(t,{n:()=>l});var i=r(49186),n=r(53966),s=r(46140),o=r(95466),a=r(55674);class l{static async from(e,t,r){const o=e.dictionary_version?s.R.parse(e.dictionary_version):null,p=new Set(e.itemsNames),c={};if(t)for(const e in t)c[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)c.hasOwnProperty(t.name)||(c[t.name]=t.value);const d=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))d.delete(e);d.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:d});const m=await(0,a.xR)(e.expression,null,c);if(!m)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const h=!o||!o.greaterEqual(4,0);h&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:o});const f=new u(r,h);return new l(h,p,m,f)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new o.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new o.A(t)}}class u extends a.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},95466:(e,t,r)=>{r.d(t,{A:()=>m});var i=r(49186),n=r(53966),s=r(91869),o=r(3330),a=r(12195),l=r(30524),u=r(98623),p=r(56400),c=r(96285);const d=new Map;class m{static fromJSON(e){return new m(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new m(e.fields??[],g(e))}static fromLayerJSON(e){return new m(e.fields??[],g(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const r=[];for(const e of this.fields){const t=e?.name,i=f(t);if(t&&i){const n=h(t);this._fieldsMap.set(t,e),this._fieldsMap.set(n,e),this._normalizedFieldsMap.set(i,e),r.push(`${n}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,l.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,l.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,l.te)(e)||(0,l.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}r.sort(),this.uid=r.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,l.te)(e)||(0,l.Xz)(e)||e.nullable||void 0!==(0,l.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(h(e))??this._normalizedFieldsMap.get(f(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(n.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):y.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?o.GB.instance:t===u.n$?c.mQ.utcInstance:(0,s.tE)(d,t,()=>c.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,l.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,a.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function h(e){return e.trim().toLowerCase()}function f(e){return(0,l.rS)(e)?.toLowerCase()??""}const y=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function g(e){const t=new Map;if(!e.fields)return t;const r=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:n}=e,s=(i?"startField"in i?i.startField:i.startTimeField:"")??"",o=(i?"endField"in i?i.endField:i.endTimeField:"")??"",a=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,p.ZS)(e.dateFieldsTimeReference):null,l=n?function(e){return"timeZone"in e}(n)?n.timeZone??a:n.dateFieldsTimeReference?(0,p.ZS)(n.dateFieldsTimeReference):a??u.n$:null,c=i?function(e){return"timeZone"in e}(i)?i.timeZone??a:i.timeReference?(0,p.ZS)(i.timeReference):a:null,d=new Map([[h(n?.creationDateField??""),l],[h(n?.editDateField??""),l],[h(s),c],[h(o),c]]);for(const{name:i,type:n}of e.fields)if(y.has(n))t.set(i,u.L5);else if("date"!==n&&"esriFieldTypeDate"!==n)t.set(i,null);else if(r)t.set(i,u.L5);else{const e=d.get(h(i??""))??a;t.set(i,e)}return t}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3549],{4197:(e,t,n)=>{n.d(t,{cj:()=>l,jh:()=>r,l5:()=>s,xm:()=>o});var i=n(34275);function r(e,t=!1){return e<=i.y9?t?new Array(e).fill(0):new Array(e):new Float64Array(e)}function o(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=i.y9?Array.from(e):new Float64Array(e)}function s(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function l(e){return[...e]}},6797:(e,t,n)=>{n.d(t,{Mj:()=>p,Ui:()=>h,w2:()=>f});var i=n(65008),r=n(7762),o=n(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof i.A}function a(e){return e instanceof r.A?Object.keys(e.items):l(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof r.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function m(e,t){const n=e.diff;if(n&&"function"==typeof n)return n(e,t);const i=a(e),r=a(t);if(0===i.length&&0===r.length)return;if(!i.length||!r.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=r.filter(e=>!i.includes(e)),p=i.filter(e=>!r.includes(e)),f=i.filter(n=>r.includes(n)&&u(e,n)!==u(t,n)).concat(o,p).sort(),h=c(e);if(h&&s.has(h)&&f.length)return{type:"complete",oldValue:e,newValue:t};let y;const d=l(e)&&l(t);for(const i of f){const r=u(e,i),o=u(t,i);let s;if((d||"function"!=typeof r&&"function"!=typeof o)&&r!==o&&(null!=r||null!=o)){if(n&&n[i]&&"function"==typeof n[i])s=n[i]?.(r,o);else if(r instanceof Date&&o instanceof Date){if(r.getTime()===o.getTime())continue;s={type:"complete",oldValue:r,newValue:o}}else s="object"==typeof r&&"object"==typeof o&&c(r)===c(o)?m(r,o):{type:"complete",oldValue:r,newValue:o};null!=s&&(null!=y?y.diff[i]=s:y={type:"partial",diff:{[i]:s}})}}return y}function p(e,t){return function(e,t){if(null==e)return!1;const n=t.split(".");let i=e;for(const e of n){if("complete"===i.type)return!0;if("partial"!==i.type)return!1;{const t=i.diff[e];if(!t)return!1;i=t}}return!0}(e,t)}function f(e,t){if(!e)return!1;if("partial"===e.type){const n=Object.keys(e.diff);return 1===n.length&&n[0]===t}return!1}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:m(e,t)}},13069:(e,t,n)=>{n.d(t,{AG:()=>l,lk:()=>r,vD:()=>s,yS:()=>o});const i="randomUUID"in crypto;function r(){if(i)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${r().toUpperCase()}}`}function s(){return`{${r()}}`}function l(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},32730:(e,t,n)=>{n.d(t,{BI:()=>d,D3:()=>h,XJ:()=>y,lc:()=>f,mX:()=>b,rU:()=>g,tH:()=>T});var i=n(799);const r="__begin__",o="__end__",s=new RegExp(r,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+r,"i"),u=new RegExp(o+"$","i"),c='"',m=c+" + ",p=" + "+c;function f(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function y(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=f(e.labelExpression),t.type="conventional"),t}function d(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return b(t.expression);case"arcade":return t.expression}return null}function g(e){const t=y(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(M);return t?.[1].trim()||null}(t.expression);case"arcade":return T(t.expression)}return null}function b(e){let t;return e?(t=(0,i.HC)(e,e=>r+'$feature["'+e+'"]'+o),t=a.test(t)?t.replace(a,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(s,m).replaceAll(l,p)):t='""',t}const M=/^\s*\{([^}]+)\}\s*$/i,F=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,_=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,x=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function T(e){if(!e)return null;let t=F.exec(e)||_.exec(e);return t?t[1]||t[3]:(t=x.exec(e),t?t[2]:null)}},41366:(e,t,n)=>{n.d(t,{K:()=>p,Q:()=>u});var i=n(31635),r=n(66552),o=n(53966),s=n(10107),l=(n(44208),n(87811),n(93223)),a=n(40608);const u=(0,r.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),c="percent-of-total",m="field",p=e=>{const t=e;let n=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,n=null!=this.normalizationTotal;return t||n?(e=t&&m||n&&c||null,t&&n&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==m&&e!==c||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],n.prototype,"normalizationField",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],n.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],n.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],n.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,l.e)(u,{name:"parameters.normalizationType"})],n.prototype,"normalizationType",null),n=(0,i.Cg)([(0,a.$)("esri.rest.support.NormalizationBinParametersMixin")],n),n}},41560:(e,t,n)=>{n.d(t,{Ch:()=>s,mW:()=>o});var i=n(34727),r=n(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,n){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:n,maxScale:i}of e.filters)t[0]=Math.max(t[0],c(n)),t[1]=Math.min(t[1],m(i));return t}(e);if(o&&((0,i.gg)(t,o[0])||(0,i.ZH)(n,o[1])))return"";const s=Array.from(l(e,t,n)),a=function(e,t,n){if(0===e.length)return!0;const r=c(e.at(0)?.minScale),o=m(e.at(-1)?.maxScale);if((0,i.ZH)(r,t)||(0,i.gg)(o,n))return!0;for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];if((0,i.ZH)(c(r.minScale),m(n.maxScale)))return!0}return!1}(s,t,n)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,r.IW)(e,t),"");return a&&"1=1"!==a?a:""}function*l(e,t,n){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)a(i.minScale,i.maxScale,t,n)&&(yield i)}}function a(e,t,n,r){return e=c(e),n=c(n),t=m(t),!(!(0,i.Sp)(n,e)&&(r??n)>e||(0,i.Hx)(t,n)||void 0!==r&&(0,i.Sp)(r,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function m(e){return e||0}},50498:(e,t,n)=>{n.d(t,{Ye:()=>m,gy:()=>c,yR:()=>p});var i=n(66552),r=n(5443),o=n(91075),s=n(48526),l=n(86738),a=n(39829),u=n(82799);const c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),m=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:o.A,key:"type",typeMap:{extent:r.A,multipoint:s.A,point:l.A,polyline:u.A,polygon:a.A}}},52106:(e,t,n)=>{n.d(t,{A:()=>F});var i,r=n(31635),o=n(13874),s=n(69540),l=n(51447),a=n(25482),u=n(53966),c=n(36708),m=n(24326),p=n(10107),f=(n(44208),n(87811),n(40608)),h=n(12195),y=n(65864),d=n(50498),g=n(54339),b=n(33910);function M(e){if(null==e)return null;const t={};for(const n in e){const i=e[n];i&&(t[n]=i.toJSON())}return 0!==Object.keys(t).length?t:null}let F=class extends((0,s.O)(a.o)){static{i=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,m.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,l.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new i({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const n of[t,this.sourceLayer,this.layer])if(n&&"object"==typeof n){if("popupTemplate"in n&&n.popupTemplate)return n.popupTemplate;if(e&&"defaultPopupTemplate"in n&&null!=n.defaultPopupTemplate)return n.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const n=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",n,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=this.sourceLayer??this.layer;return e?(0,g.r)(this,e):null}getGlobalId(){const e=this.sourceLayer??this.layer;return e&&"globalIdField"in e&&e.globalIdField?this.getAttribute(e.globalIdField):null}toJSON(){return{aggregateGeometries:M(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const n={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",n,n,e.action)}}_notifyLayer(e,t,n,i){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const r={graphic:this,property:e,oldValue:t,newValue:n};"origin-transform"===e&&(r.action=i),"attributes"===e&&(r.attributeName=i),this.layer.graphicChanged(r)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,r.Cg)([(0,p.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const n in e){const i=(0,y.rS)(e[n]);i&&(t[n]=i)}return 0!==Object.keys(t).length?t:null}}})],F.prototype,"aggregateGeometries",null),(0,r.Cg)([(0,p.MZ)({value:null})],F.prototype,"attributes",null),(0,r.Cg)([(0,p.MZ)({value:null,types:d.yR,json:{read:y.rS}})],F.prototype,"geometry",null),(0,r.Cg)([(0,p.MZ)({type:Boolean})],F.prototype,"isAggregate",void 0),(0,r.Cg)([(0,p.MZ)({clonable:!1})],F.prototype,"layer",void 0),(0,r.Cg)([(0,p.MZ)({clonable:"reference"})],F.prototype,"origin",void 0),(0,r.Cg)([(0,p.MZ)({type:o.A,value:null})],F.prototype,"popupTemplate",null),(0,r.Cg)([(0,p.MZ)({clonable:"reference"})],F.prototype,"sourceLayer",void 0),(0,r.Cg)([(0,p.MZ)({value:null,types:b.Es})],F.prototype,"symbol",null),(0,r.Cg)([(0,p.MZ)({clonable:!1,json:{read:!1,write:!1}})],F.prototype,"_version",void 0),(0,r.Cg)([(0,p.MZ)({type:Boolean,value:!0})],F.prototype,"visible",null),F=i=(0,r.Cg)([(0,f.$)("esri.Graphic")],F)},54339:(e,t,n)=>{function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const n=[];for(const i of t.fieldNames)n.push(e.attributes[i]??null);return JSON.stringify(n)}}}function r(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const n=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(n)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}n.d(t,{W:()=>i,r:()=>r})},70328:(e,t,n)=>{n.d(t,{BI:()=>M,DC:()=>m,Ej:()=>f,Ie:()=>g,Jt:()=>b,Ne:()=>h,RF:()=>c,aI:()=>_,fA:()=>s,gE:()=>a,hZ:()=>d,iT:()=>p,is:()=>F,qv:()=>x,vI:()=>y,vY:()=>l,v_:()=>T,vt:()=>o,w1:()=>u});var i=n(5443),r=(n(19419),n(4197));function o(e=T){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,n,i,r,s,l=o()){return l[0]=e,l[1]=t,l[2]=n,l[3]=i,l[4]=r,l[5]=s,l}function l(e,t=o()){return function(e,t,n,i=o()){return d(i,x),function(e,t,n=0,i=t.length/3){let r=e[0],o=e[1],s=e[2],l=e[3],a=e[4],u=e[5];for(let e=0;e<i;e++)r=Math.min(r,t[n+3*e]),o=Math.min(o,t[n+3*e+1]),s=Math.min(s,t[n+3*e+2]),l=Math.max(l,t[n+3*e]),a=Math.max(a,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=r,e[1]=o,e[2]=s,e[3]=l,e[4]=a,e[5]=u}(i,e,t,n),i}(e,0,e.length/3,t)}function a(e,t=(0,r.jh)(24)){const[n,i,o,s,l,a]=e;return t[0]=n,t[1]=i,t[2]=o,t[3]=n,t[4]=i,t[5]=a,t[6]=n,t[7]=l,t[8]=o,t[9]=n,t[10]=l,t[11]=a,t[12]=s,t[13]=i,t[14]=o,t[15]=s,t[16]=i,t[17]=a,t[18]=s,t[19]=l,t[20]=o,t[21]=s,t[22]=l,t[23]=a,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new i.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function m(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function y(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function d(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?d(e,x):o(x)}function b(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function M(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=r,e[5]=Number.POSITIVE_INFINITY,e}function F(e){return 6===e.length}function _(e,t,n){if(null==e||null==t)return e===t;if(!F(e)||!F(t))return!1;if(n){for(let i=0;i<e.length;i++)if(!n(e[i],t[i]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],T=[0,0,0,0,0,0];o()},95466:(e,t,n)=>{n.d(t,{A:()=>f});var i=n(49186),r=n(53966),o=n(91869),s=n(3330),l=n(12195),a=n(30524),u=n(98623),c=n(56400),m=n(96285);const p=new Map;class f{static fromJSON(e){return new f(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new f(e.fields??[],g(e))}static fromLayerJSON(e){return new f(e.fields??[],g(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const n=[];for(const e of this.fields){const t=e?.name,i=y(t);if(t&&i){const r=h(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(i,e),n.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,a.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,a.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,a.te)(e)||(0,a.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}n.sort(),this.uid=n.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,a.te)(e)||(0,a.Xz)(e)||e.nullable||void 0!==(0,a.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(h(e))??this._normalizedFieldsMap.get(y(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new i.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):d.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?s.GB.instance:t===u.n$?m.mQ.utcInstance:(0,o.tE)(p,t,()=>m.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,a.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,l.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function h(e){return e.trim().toLowerCase()}function y(e){return(0,a.rS)(e)?.toLowerCase()??""}const d=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function g(e){const t=new Map;if(!e.fields)return t;const n=!0===e.datesInUnknownTimezone,{timeInfo:i,editFieldsInfo:r}=e,o=(i?"startField"in i?i.startField:i.startTimeField:"")??"",s=(i?"endField"in i?i.endField:i.endTimeField:"")??"",l=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,c.ZS)(e.dateFieldsTimeReference):null,a=r?function(e){return"timeZone"in e}(r)?r.timeZone??l:r.dateFieldsTimeReference?(0,c.ZS)(r.dateFieldsTimeReference):l??u.n$:null,m=i?function(e){return"timeZone"in e}(i)?i.timeZone??l:i.timeReference?(0,c.ZS)(i.timeReference):l:null,p=new Map([[h(r?.creationDateField??""),a],[h(r?.editDateField??""),a],[h(o),m],[h(s),m]]);for(const{name:i,type:r}of e.fields)if(d.has(r))t.set(i,u.L5);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(i,null);else if(n)t.set(i,u.L5);else{const e=p.get(h(i??""))??l;t.set(i,e)}return t}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3549,4151,6731,7694],{4197:(e,t,r)=>{r.d(t,{cj:()=>a,jh:()=>i,l5:()=>s,xm:()=>o});var n=r(34275);function i(e,t=!1){return e<=n.y9?t?new Array(e).fill(0):new Array(e):new Float64Array(e)}function o(e){return((0,n.iu)(e)?e.byteLength/8:e.length)<=n.y9?Array.from(e):new Float64Array(e)}function s(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}},6797:(e,t,r)=>{r.d(t,{Mj:()=>d,Ui:()=>h,w2:()=>y});var n=r(65008),i=r(7762),o=r(88620);const s=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function a(e){return e instanceof n.A}function l(e){return e instanceof i.A?Object.keys(e.items):a(e)?(0,o.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof i.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function p(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const n=l(e),i=l(t);if(0===n.length&&0===i.length)return;if(!n.length||!i.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const o=i.filter(e=>!n.includes(e)),d=n.filter(e=>!i.includes(e)),y=n.filter(r=>i.includes(r)&&u(e,r)!==u(t,r)).concat(o,d).sort(),h=c(e);if(h&&s.has(h)&&y.length)return{type:"complete",oldValue:e,newValue:t};let f;const m=a(e)&&a(t);for(const n of y){const i=u(e,n),o=u(t,n);let s;if((m||"function"!=typeof i&&"function"!=typeof o)&&i!==o&&(null!=i||null!=o)){if(r&&r[n]&&"function"==typeof r[n])s=r[n]?.(i,o);else if(i instanceof Date&&o instanceof Date){if(i.getTime()===o.getTime())continue;s={type:"complete",oldValue:i,newValue:o}}else s="object"==typeof i&&"object"==typeof o&&c(i)===c(o)?p(i,o):{type:"complete",oldValue:i,newValue:o};null!=s&&(null!=f?f.diff[n]=s:f={type:"partial",diff:{[n]:s}})}}return f}function d(e,t){return function(e,t){if(null==e)return!1;const r=t.split(".");let n=e;for(const e of r){if("complete"===n.type)return!0;if("partial"!==n.type)return!1;{const t=n.diff[e];if(!t)return!1;n=t}}return!0}(e,t)}function y(e,t){if(!e)return!1;if("partial"===e.type){const r=Object.keys(e.diff);return 1===r.length&&r[0]===t}return!1}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:p(e,t)}},13069:(e,t,r)=>{r.d(t,{AG:()=>a,lk:()=>i,vD:()=>s,yS:()=>o});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function s(){return`{${i()}}`}function a(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},17311:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(31635),i=r(65008),o=r(4576),s=r(60999),a=r(7762),l=r(10107),u=(r(44208),r(53966),r(40608)),c=r(30524),p=r(43668);let d=class extends i.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,s.UT)(()=>(0,p.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??r.e(9926).then(r.bind(r,29926)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new a.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of r){const r=t.split("."),n=this.fieldsIndex.get(r.at(-1)??"");n&&e.add(n.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){const n=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(n)??""}async getTitles(e,t,r){const n=new Map,i=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:o}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:s,workingTitle:a}=this,l=a&&s;t.forEach(t=>{const r=t.getObjectId()??t.attributes[e.objectIdField],u=l?o({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:s,globalAttributes:this._createFormattedAttributes(e,t,i).global,layer:e,text:a}):"";n.set(r,u)})}catch{}return n}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(o.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const n=e.createQuery();n.where="1=1",n.outFields=[...this.requiredFields],n.objectIds=r;const i=await e.queryFeatures(n);if(i?.features.length===t.length)return i.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),n=e?.name??r.fieldName;r.fieldName=n,t.set(n.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const n=this.effectivePopupTemplate?.fieldInfos??[],i={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const r=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{i[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const o={...t.attributes,...i};return{global:this._featureUtils.formatAttributes({fieldInfos:n,attributes:o,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(0===e.indexOf("relationships/")||0===e.indexOf("expression/")))}};(0,n.Cg)([(0,l.MZ)({readOnly:!0})],d.prototype,"_arcadeTask",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"_featureUtils",void 0),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],d.prototype,"featureUtilsPromise",null),(0,n.Cg)([(0,l.MZ)({readOnly:!0})],d.prototype,"calculatedExpressions",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"displayField",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"effectivePopupTemplate",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"expressionsUsedInTitle",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"fieldInfoMap",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"fields",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"objectIdField",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"requiredFields",null),d=(0,n.Cg)([(0,u.$)("esri.layers.support.TitleCreator")],d)},32730:(e,t,r)=>{r.d(t,{BI:()=>m,D3:()=>h,XJ:()=>f,lc:()=>y,mX:()=>b,rU:()=>g,tH:()=>C});var n=r(799);const i="__begin__",o="__end__",s=new RegExp(i,"ig"),a=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i"),c='"',p=c+" + ",d=" + "+c;function y(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=y(e.labelExpression),t.type="conventional"),t}function m(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return b(t.expression);case"arcade":return t.expression}return null}function g(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return C(t.expression)}return null}function b(e){let t;return e?(t=(0,n.HC)(e,e=>i+'$feature["'+e+'"]'+o),t=l.test(t)?t.replace(l,""):c+t,t=u.test(t)?t.replace(u,""):t+c,t=t.replaceAll(s,p).replaceAll(a,d)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,F=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function C(e){if(!e)return null;let t=M.exec(e)||v.exec(e);return t?t[1]||t[3]:(t=F.exec(e),t?t[2]:null)}},37531:(e,t,r)=>{r.d(t,{dt:()=>d,GG:()=>g,UQ:()=>m,Sx:()=>c});var n=r(68197),i=r(60999),o=(r(44208),r(51850)),s=(r(76369),r(62046)),a=(r(2741),r(78888),r(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new a.q(1e3),new n.A([128,128,128]);var l=r(28975),u=r(33910);function c(e,t){if(!e)return null;let r=null;return(0,u.wk)(e)?r=function(e){const t=e.symbolLayers;if(!t)return null;let r=null;return t.forEach(e=>{"object"===e.type&&e.resource?.href||(r="water"===e.type?e.color:e.material?e.material.color:null)}),r?new n.A(r):null}(e):(0,u.$y)(e)&&(r="cim"===e.type?(0,s.Nk)(e):e.color?new n.A(e.color):null),r?p(r,t):null}function p(e,t){if(null==t||null==e)return e;const r=e.toRgba();return r[3]=r[3]*t,new n.A(r)}function d(e,t,r){e&&(t||null!=r)&&(t&&(t=new n.A(t)),(0,u.wk)(e)?function(e,t,r){const i=e.symbolLayers;if(!i)return;const o=(e,i=!1)=>{let o=t??e??null;return null!=r?.override&&(!o&&i&&(o=new n.A([255,255,255])),o&&(o.a=r.override)),p(o,r?.add)};i.forEach(e=>{if("water"===e.type)return void(e.color=p(e.color,r?.add));const t=null!=e.material?e.material.color:null,n=o(t,"icon"===e.type&&null!=e.resource?.href);null==e.material?e.material=new l.N({color:n}):e.material.color=n,"outline"in e&&e.outline?.color&&null!=r?.add&&(e.outline.color=p(e.outline.color,r.add)),"marker"in e&&null!=e.marker&&(e.marker.color=o(e.marker.color))})}(e,t,r):(0,u.$y)(e)&&function(e,t,r){t=t??e.color,null!=r?.override&&t&&(t.a=r.override),t&&(e.color=p(t,r?.add)),"outline"in e&&e.outline?.color&&(e.outline.color=p(e.outline.color,r?.add))}(e,t,r))}function y(e){for(const t of e)if("number"==typeof t)return t;return null}function h(e,t,r){for(let n=0;n<3;n++){const i=e[n];switch(i){case"symbol-value":{const e=r[n];return null!=e?e/t[n]:1}case"proportional":break;default:if(i&&t[n])return i/t[n]}}return null}function f(e,t,r,n){switch(e){case"proportional":return r*n;case"symbol-value":return null!=t?t:r;default:return e}}async function m(e,t){if(e&&t)return(0,u.wk)(e)?async function(e,t){const n=e.symbolLayers;n&&await(0,i.jJ)(n,async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){const r=t[2];"number"==typeof r&&(e.size=r)}(e,t);break;case"icon":case"line":case"text":!function(e,t){const r=y(t);null!=r&&(e.size=r)}(e,t);break;case"path":!function(e,t){const r=h(t,o.Un,[e.width,void 0,e.height]);null!=r&&(e.width=f(t[0],e.width,1,r),e.height=f(t[2],e.height,1,r))}(e,t);break;case"object":await async function(e,t){const{resourceSize:n,symbolSize:i}=await async function(e){const{computeObjectLayerResourceSize:t}=await r.e(5404).then(r.bind(r,95404)),n=await t(e,10),{width:i,height:o,depth:s}=e,a=[i,s,o];let l=1;for(let e=0;e<3;e++){const t=a[e];if(null!=t){l=t/n[e];break}}for(let e=0;e<3;e++)null==a[e]&&(a[e]=n[e]*l);return{resourceSize:n,symbolSize:a}}(e),o=h(t,n,i);null!=o&&(e.width=f(t[0],i[0],n[0],o),e.depth=f(t[1],i[1],n[1],o),e.height=f(t[2],i[2],n[2],o))}(e,t)}}(e,t))}(e,t):void((0,u.$y)(e)&&function(e,t){const r=y(t);if(null!=r)switch(e.type){case"simple-marker":e.size=r;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=r,e.height=r*t):(e.width=r*t,e.height=r);break}case"simple-line":e.width=r;break;case"text":e.font.size=r}}(e,t))}function g(e,t,r){if(e&&null!=t)if((0,u.wk)(e)){const n=e.symbolLayers;n&&n.forEach(e=>{if("object"===e.type)switch(r){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)})}else(0,u.$y)(e)&&("simple-marker"!==e.type&&"picture-marker"!==e.type&&"text"!==e.type||(e.angle+=t))}},41366:(e,t,r)=>{r.d(t,{K:()=>d,Q:()=>u});var n=r(31635),i=r(66552),o=r(53966),s=r(10107),a=(r(44208),r(87811),r(93223)),l=r(40608);const u=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),c="percent-of-total",p="field",d=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&p||r&&c||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==p&&e!==c||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,a.e)(u,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,n.Cg)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},41560:(e,t,r)=>{r.d(t,{Ch:()=>s,mW:()=>o});var n=r(34727),i=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function s(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],p(n));return t}(e);if(o&&((0,n.gg)(t,o[0])||(0,n.ZH)(r,o[1])))return"";const s=Array.from(a(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=c(e.at(0)?.minScale),o=p(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(c(i.minScale),p(r.maxScale)))return!0}return!1}(s,t,r)?"1=1":s.map(e=>e.where||"1=1").reduce((e,t)=>(0,i.IW)(e,t),"");return l&&"1=1"!==l?l:""}function*a(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)l(n.minScale,n.maxScale,t,r)&&(yield n)}}function l(e,t,r,i){return e=c(e),r=c(r),t=p(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function p(e){return e||0}},50498:(e,t,r)=>{r.d(t,{Ye:()=>p,gy:()=>c,yR:()=>d});var n=r(66552),i=r(5443),o=r(91075),s=r(48526),a=r(86738),l=r(39829),u=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:o.A,key:"type",typeMap:{extent:i.A,multipoint:s.A,point:a.A,polyline:u.A,polygon:l.A}}},52106:(e,t,r)=>{r.d(t,{A:()=>M});var n,i=r(31635),o=r(13874),s=r(69540),a=r(51447),l=r(25482),u=r(53966),c=r(36708),p=r(24326),d=r(10107),y=(r(44208),r(87811),r(40608)),h=r(12195),f=r(65864),m=r(50498),g=r(54339),b=r(33910);function w(e){if(null==e)return null;const t={};for(const r in e){const n=e[r];n&&(t[r]=n.toJSON())}return 0!==Object.keys(t).length?t:null}let M=class extends((0,s.O)(l.o)){static{n=this}constructor(e){super(e),this.isAggregate=!1,this.layer=null,this.origin=null,this.sourceLayer=null,this._version=0,Object.defineProperty(this,"uid",{value:(0,p.c)(),configurable:!0}),Object.defineProperty(this,"_lastMeshTransform",{value:{},configurable:!0,writable:!0,enumerable:!1}),arguments.length>1&&(0,a.eF)(u.A.getLogger(this),"Graphic",{version:"4.30"})}initialize(){this._watchMeshGeometryChanges()}set aggregateGeometries(e){const t=this._get("aggregateGeometries");JSON.stringify(t)!==JSON.stringify(e)&&this._set("aggregateGeometries",e)}set attributes(e){const t=this._get("attributes");t!==e&&(this._set("attributes",e),this._notifyLayer("attributes",t,e))}set geometry(e){const t=this._get("geometry");t!==e&&(this._set("geometry",e),"mesh"!==e?.type&&this._notifyLayer("geometry",t,e))}set popupTemplate(e){const t=this._get("popupTemplate");t!==e&&(this._set("popupTemplate",e),this._notifyLayer("popupTemplate",t,e))}set symbol(e){const t=this._get("symbol");t!==e&&(this._set("symbol",e),this._notifyLayer("symbol",t,e))}get version(){return this._version}set visible(e){const t=this._get("visible");t!==e&&(this._set("visible",e),this._notifyLayer("visible",t,e))}cloneShallow(){return new n({aggregateGeometries:this.aggregateGeometries,attributes:this.attributes,geometry:this.geometry,isAggregate:this.isAggregate,layer:this.layer,popupTemplate:this.popupTemplate,sourceLayer:this.sourceLayer,symbol:this.symbol,visible:this.visible,origin:this.origin})}getEffectivePopupTemplate(e=!1){if(this.popupTemplate)return this.popupTemplate;const t=this.origin&&"layer"in this.origin?this.origin.layer:null;for(const r of[t,this.sourceLayer,this.layer])if(r&&"object"==typeof r){if("popupTemplate"in r&&r.popupTemplate)return r.popupTemplate;if(e&&"defaultPopupTemplate"in r&&null!=r.defaultPopupTemplate)return r.defaultPopupTemplate}return null}getAttribute(e){return this.attributes?.[e]}setAttribute(e,t){if(this.attributes){const r=this.getAttribute(e);this.attributes[e]=t,this._notifyLayer("attributes",r,t,e)}else this.attributes={[e]:t}}getObjectId(){const e=this.sourceLayer??this.layer;return e?(0,g.r)(this,e):null}getGlobalId(){const e=this.sourceLayer??this.layer;return e&&"globalIdField"in e&&e.globalIdField?this.getAttribute(e.globalIdField):null}toJSON(){return{aggregateGeometries:w(this.aggregateGeometries),geometry:null!=this.geometry?this.geometry.toJSON():null,symbol:null!=this.symbol?this.symbol.toJSON():null,attributes:(0,h.W)(this.attributes)?this.attributes.toJSON():{...this.attributes},popupTemplate:this.popupTemplate?.toJSON()??null}}notifyMeshTransformChanged(e={}){const{geometry:t}=this;if("mesh"===t?.type){const r={origin:t.origin,transform:t.transform};this._notifyLayer("origin-transform",r,r,e.action)}}_notifyLayer(e,t,r,n){if(this._version++,!this.layer||!("graphicChanged"in this.layer))return;const i={graphic:this,property:e,oldValue:t,newValue:r};"origin-transform"===e&&(i.action=n),"attributes"===e&&(i.attributeName=n),this.layer.graphicChanged(i)}_watchMeshGeometryChanges(){this.addHandles([(0,c.z7)(()=>"mesh"===this.geometry?.type&&this.geometry.vertexSpace.origin?{localMatrix:this.geometry.transform?.localMatrix,origin:this.geometry.vertexSpace.origin}:void 0,({localMatrix:e,origin:t})=>{this._lastMeshTransform.localMatrix===e&&this._lastMeshTransform.origin===t||(this._lastMeshTransform.localMatrix=e,this._lastMeshTransform.origin=t,this.notifyMeshTransformChanged())}),(0,c.z7)(()=>"mesh"===this.geometry?.type?{vertexAttributes:this.geometry.vertexAttributes}:void 0,()=>{const e=this.geometry;"mesh"===e?.type&&e.vertexSpace.origin?(this._lastMeshTransform.localMatrix=e.transform?.localMatrix,this._lastMeshTransform.origin=e.vertexSpace.origin):(this._lastMeshTransform.localMatrix=void 0,this._lastMeshTransform.origin=void 0),this._notifyLayer("geometry",this.geometry,this.geometry)},{equals:(e,t)=>e===t,sync:!0})])}};(0,i.Cg)([(0,d.MZ)({value:null,json:{read:function(e){if(!e)return null;const t={};for(const r in e){const n=(0,f.rS)(e[r]);n&&(t[r]=n)}return 0!==Object.keys(t).length?t:null}}})],M.prototype,"aggregateGeometries",null),(0,i.Cg)([(0,d.MZ)({value:null})],M.prototype,"attributes",null),(0,i.Cg)([(0,d.MZ)({value:null,types:m.yR,json:{read:f.rS}})],M.prototype,"geometry",null),(0,i.Cg)([(0,d.MZ)({type:Boolean})],M.prototype,"isAggregate",void 0),(0,i.Cg)([(0,d.MZ)({clonable:!1})],M.prototype,"layer",void 0),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],M.prototype,"origin",void 0),(0,i.Cg)([(0,d.MZ)({type:o.A,value:null})],M.prototype,"popupTemplate",null),(0,i.Cg)([(0,d.MZ)({clonable:"reference"})],M.prototype,"sourceLayer",void 0),(0,i.Cg)([(0,d.MZ)({value:null,types:b.Es})],M.prototype,"symbol",null),(0,i.Cg)([(0,d.MZ)({clonable:!1,json:{read:!1,write:!1}})],M.prototype,"_version",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,value:!0})],M.prototype,"visible",null),M=n=(0,i.Cg)([(0,y.$)("esri.Graphic")],M)},54339:(e,t,r)=>{function n(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const n of t.fieldNames)r.push(e.attributes[n]??null);return JSON.stringify(r)}}}function i(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>n,r:()=>i})},62046:(e,t,r)=>{r.d(t,{Fe:()=>c,Nk:()=>o});var n=r(68197),i=r(93397);function o(e){const t=[];return s((0,i.lW)(e),t),t.length?new n.A((0,i.e6)(t[0])):null}function s(e,t){if(!e)return;let r;r="CIMTextSymbol"===e.type?e.symbol:e;const n="CIMPolygonSymbol"===e.type;if(r?.symbolLayers)for(const e of r.symbolLayers)if(!(e.colorLocked||n&&((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&a(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{s(e.symbol,t)});break;case"CIMSolidStroke":case"CIMSolidFill":a(t,e.color);break;case"CIMGradientFill":l(t,e);break;case"CIMHatchFill":s(e.lineSymbol,t)}}function a(e,t){for(const r of e)if(r.join(".")===t.join("."))return;e.push(t)}function l(e,t){const r=t.colorRamp?.type;switch(r){case"CIMMultipartColorRamp":t.colorRamp.colorRamps?.forEach(t=>{"CIMLinearContinuousColorRamp"===t.type&&u(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":u(e,t.colorRamp)}}function u(e,t){t&&(t.fromColor&&a(e,t.fromColor),t.toColor&&a(e,t.toColor))}function c(e,t,r){t instanceof n.A||(t=new n.A(t));const o=(0,i.lW)(e);o&&p(o,t,r)}function p(e,t,r){if(!e)return;let n;n="CIMTextSymbol"===e.type?e.symbol:e;const o="CIMPolygonSymbol"===n?.type;if(n?.symbolLayers)for(const e of n.symbolLayers){if(e.colorLocked)continue;if(o)if(r){const{layersToColor:t}=r;if(((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))&&"fill"===t||(0,i.jn)(e)&&"outline"===t)continue}else if((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))continue;const n=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=n;break;case"CIMVectorMarker":e.markerGraphics?.forEach(e=>{p(e.symbol,t,r)});break;case"CIMSolidStroke":case"CIMSolidFill":e.color=n;break;case"CIMGradientFill":d(e,t);break;case"CIMHatchFill":p(e.lineSymbol,t,r)}}}function d(e,t){const r=e.colorRamp?.type;switch(r){case"CIMMultipartColorRamp":e.colorRamp.colorRamps?.forEach(e=>{"CIMLinearContinuousColorRamp"===e.type&&y(e,t)});break;case"CIMLinearContinuousColorRamp":case"CIMPolarContinuousColorRamp":y(e.colorRamp,t)}}function y(e,t){if(e&&(e.fromColor&&(e.fromColor=t.toArray()),e.toColor)){const r=t.clone();r.a=0,e.toColor=r.toArray()}}},70328:(e,t,r)=>{r.d(t,{BI:()=>w,DC:()=>p,Ej:()=>y,Ie:()=>g,Jt:()=>b,Ne:()=>h,RF:()=>c,aI:()=>v,fA:()=>s,gE:()=>l,hZ:()=>m,iT:()=>d,is:()=>M,qv:()=>F,vI:()=>f,vY:()=>a,v_:()=>C,vt:()=>o,w1:()=>u});var n=r(5443),i=(r(19419),r(4197));function o(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function s(e,t,r,n,i,s,a=o()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=s,a}function a(e,t=o()){return function(e,t,r,n=o()){return m(n,F),function(e,t,r=0,n=t.length/3){let i=e[0],o=e[1],s=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),o=Math.min(o,t[r+3*e+1]),s=Math.min(s,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=i,e[1]=o,e[2]=s,e[3]=a,e[4]=l,e[5]=u}(n,e,t,r),n}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[r,n,o,s,a,l]=e;return t[0]=r,t[1]=n,t[2]=o,t[3]=r,t[4]=n,t[5]=l,t[6]=r,t[7]=a,t[8]=o,t[9]=r,t[10]=a,t[11]=l,t[12]=s,t[13]=n,t[14]=o,t[15]=s,t[16]=n,t[17]=l,t[18]=s,t[19]=a,t[20]=o,t[21]=s,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function d(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function y(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function h(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function f(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function m(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function g(e){return e?m(e,F):o(F)}function b(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function w(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function v(e,t,r){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const F=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];o()},81583:(e,t,r)=>{r.d(t,{L:()=>a,g:()=>s});var n=r(60999),i=r(7762),o=r(92474);async function s(e,t){return await e.load(),a(e,t)}async function a(e,t){const r=[],s=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?s(...t):i.A.isCollection(t)?t.forEach(e=>s(e)):(0,o.Zm)(t)&&r.push(t))};t(s);let a=null;if(await(0,n.Tj)(r,async e=>{const t=await(0,n.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||a||(a=t)}),a)throw a.error;return e}},85334:(e,t,r)=>{r.d(t,{$:()=>g,IB:()=>s,Iy:()=>v,N2:()=>b,RH:()=>M,ZD:()=>w});var n=r(68197),i=r(4576),o=r(4718);function s(e){return"r"in e&&"g"in e&&"b"in e}function a(e){return"h"in e&&"s"in e&&"v"in e}function l(e){return"l"in e&&"a"in e&&"b"in e}function u(e){return"l"in e&&"c"in e&&"h"in e}r(34727),r(87317),r(91829);const c=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],p=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function d(e,t){const r=[];let n,i;if(e[0].length!==t.length)throw new Error("dimensions do not match");const o=e.length,s=e[0].length;let a=0;for(n=0;n<o;n++){for(a=0,i=0;i<s;i++)a+=e[n][i]*t[i];r.push(a)}return r}function y(e){const t=[e.r/255,e.g/255,e.b/255].map(e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4),r=d(c,t);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function h(e){const t=d(p,[e.x/100,e.y/100,e.z/100]).map(e=>{const t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.min(1,Math.max(t,0))});return{r:Math.round(255*t[0]),g:Math.round(255*t[1]),b:Math.round(255*t[2])}}function f(e){const t=[e.x/95.047,e.y/100,e.z/108.883].map(e=>e>(6/29)**3?e**(1/3):1/3*(29/6)**2*e+4/29);return{l:116*t[1]-16,a:500*(t[0]-t[1]),b:200*(t[1]-t[2])}}function m(e){const t=e.l,r=[(t+16)/116+e.a/500,(t+16)/116,(t+16)/116-e.b/200].map(e=>e>6/29?e**3:3*(6/29)**2*(e-4/29));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function g(e){return s(e)?e:u(e)?function(e){return h(m(function(e){const t=e.l,r=e.c,n=e.h;return{l:t,a:r*Math.cos(n),b:r*Math.sin(n)}}(e)))}(e):l(e)?function(e){return h(m(e))}(e):function(e){return"x"in e&&"y"in e&&"z"in e}(e)?h(e):a(e)?function(e){const t=(e.h+360)%360/60,r=e.s/100,n=e.v/100*255,i=n*r,o=i*(1-Math.abs(t%2-1));let s;switch(Math.floor(t)){case 0:s={r:i,g:o,b:0};break;case 1:s={r:o,g:i,b:0};break;case 2:s={r:0,g:i,b:o};break;case 3:s={r:0,g:o,b:i};break;case 4:s={r:o,g:0,b:i};break;case 5:case 6:s={r:i,g:0,b:o};break;default:s={r:0,g:0,b:0}}return s.r=Math.round(s.r+n-i),s.g=Math.round(s.g+n-i),s.b=Math.round(s.b+n-i),s}(e):e}function b(e){return a(e)?e:function(e){const t=e.r,r=e.g,n=e.b,i=Math.max(t,r,n),o=i-Math.min(t,r,n);let s=i,a=0===o?0:i===t?(r-n)/o%6:i===r?(n-t)/o+2:(t-r)/o+4,l=0===o?0:o/s;return a<0&&(a+=6),a*=60,l*=100,s*=100/255,{h:a,s:l,v:s}}(g(e))}function w(e){return l(e)?e:function(e){return f(y(e))}(g(e))}function M(e){return u(e)?e:function(e){return function(e){const t=e.l,r=e.a,n=e.b,i=Math.sqrt(r*r+n*n);let o=Math.atan2(n,r);return o=o>0?o:o+2*Math.PI,{l:t,c:i,h:o}}(f(y(e)))}(g(e))}function v(e,t,r={}){if(0===e.length||t<=0)return[];if(1===(e=e.map(e=>"string"==typeof e?new n.A(e):e)).length||1===t){const r=[],n=e[0];for(let e=0;e<t;e++)r.push(n.clone());return r}if(r.shuffle&&(e=(0,i.k4)((0,o.o8)(e),r.seed)),e.length>=t){const r=[],n=(e.length-1)/(t-1);for(let i=0;i<t;i++){const t=Math.round(i*n);r.push(e[t].clone())}return r}return function(e,t,r={}){const n=[],o=e.length-1,s=Math.ceil((t-e.length)/o);e:for(let i=0;i<o;i++){const o=e[i],a=e[i+1];for(let i=1;i<=s;i++){const l=i/(s+1);if(n.push(C(o,a,l,r)),n.length+e.length===t)break e}}return[...e.map(e=>e.clone()),...(0,i.k4)(n,r.seed??1)]}(e,t,r)}const F=(e,t)=>{const r=Math.floor(10*t())-5;return Math.min(255,Math.max(0,e+r))};function C(e,t,r,o={}){const s=e.r,a=e.g,l=e.b,u=t.r,c=t.g,p=t.b,d=Math.round(s+(u-s)*r),y=Math.round(a+(c-a)*r),h=Math.round(l+(p-l)*r);if(!o.offset)return new n.A([d,y,h]);const f=(0,i.Mo)(o.seed);return new n.A([F(d,f),F(y,f),F(h,f)])}},95466:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(49186),i=r(53966),o=r(91869),s=r(3330),a=r(12195),l=r(30524),u=r(98623),c=r(56400),p=r(96285);const d=new Map;class y{static fromJSON(e){return new y(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new y(e.fields??[],g(e))}static fromLayerJSON(e){return new y(e.fields??[],g(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const r=[];for(const e of this.fields){const t=e?.name,n=f(t);if(t&&n){const i=h(t);this._fieldsMap.set(t,e),this._fieldsMap.set(i,e),this._normalizedFieldsMap.set(n,e),r.push(`${i}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,l.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,l.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,l.te)(e)||(0,l.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}r.sort(),this.uid=r.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,l.te)(e)||(0,l.Xz)(e)||e.nullable||void 0!==(0,l.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){if(!e)return;let t=this._fieldsMap.get(e);return t||(t=this._fieldsMap.get(h(e))??this._normalizedFieldsMap.get(f(e)),t&&this._fieldsMap.set(e,t),t)}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(i.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new n.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),u.n$):m.has(t.type)?u.L5:null:null}getLuxonTimeZone(e){const t=this.getTimeZone(e);return t?t===u.L5?s.GB.instance:t===u.n$?p.mQ.utcInstance:(0,o.tE)(d,t,()=>p.oh.create(t)):null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,l.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,a.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}function h(e){return e.trim().toLowerCase()}function f(e){return(0,l.rS)(e)?.toLowerCase()??""}const m=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function g(e){const t=new Map;if(!e.fields)return t;const r=!0===e.datesInUnknownTimezone,{timeInfo:n,editFieldsInfo:i}=e,o=(n?"startField"in n?n.startField:n.startTimeField:"")??"",s=(n?"endField"in n?n.endField:n.endTimeField:"")??"",a=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,c.ZS)(e.dateFieldsTimeReference):null,l=i?function(e){return"timeZone"in e}(i)?i.timeZone??a:i.dateFieldsTimeReference?(0,c.ZS)(i.dateFieldsTimeReference):a??u.n$:null,p=n?function(e){return"timeZone"in e}(n)?n.timeZone??a:n.timeReference?(0,c.ZS)(n.timeReference):a:null,d=new Map([[h(i?.creationDateField??""),l],[h(i?.editDateField??""),l],[h(o),p],[h(s),p]]);for(const{name:n,type:i}of e.fields)if(m.has(i))t.set(n,u.L5);else if("date"!==i&&"esriFieldTypeDate"!==i)t.set(n,null);else if(r)t.set(n,u.L5);else{const e=d.get(h(n??""))??a;t.set(n,e)}return t}},97483:(e,t,r)=>{r.r(t),r.d(t,{default:()=>ke});var n=r(31635),i=r(69540),o=r(7762),s=r(49186),a=r(81583),l=r(91869),u=r(92071),c=r(74887),p=r(36708),d=r(39516),y=r(10107),h=(r(44208),r(53966)),f=(r(87811),r(36005)),m=r(40608),g=r(4146),b=r(52136),w=r(18768),M=r(63074),v=r(69208),F=r(6455),C=r(47685),I=r(87796),T=r(16131),x=r(8303),A=r(54310),S=r(25036),_=r(82935),O=r(60694),Z=r(10873),j=r(15426),k=r(17036),E=r(30524),L=r(85334),P=r(90360),N=r(86162),R=r(92438),G=r(96576),q=r(93618),$=r(62046),z=r(37531);const D={key:"type",base:R.A,errorContext:"renderer",typeMap:{simple:G.A,"unique-value":q.A,"class-breaks":N.A}},V=(0,P.C)({types:D}),U=["#ed5151","#149ece","#a7c636","#9e559c","#fc921f","#ffde3e","#f789d8","#b7814a","#3caf99","#6b6bd6","#b54779","#7f7f7f"];var B=r(13874),J=r(4902),H=r(4718),Q=r(92474),Y=r(97768),W=r(93637),K=r(43937),X=r(89317),ee=r(38141),te=r(16930),re=r(99959);const ne=Symbol("isSubtypeGroupGraphicOriginSymbol");var ie;class oe extends re.A{static{ie=ne}constructor(e){super(),this[ie]=!0,this.type="subtype-group",this.sublayer=e}get layer(){return this.sublayer.parent}}var se=r(29005),ae=r(46499),le=r(39383),ue=r(17311),ce=r(61956),pe=r(30291),de=r(59868),ye=r(43440);const he=(0,k.p)();let fe=0;function me(e,t){let r=e.json.write;return"object"!=typeof r&&(r=e.json.write={}),r.ignoreOrigin=!0,t?.spatialOnly&&(r.layerContainerTypes=X.K),e}function ge(e){const t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=X.K),e?.target&&(t.write.target=e.target)),t}function be(e){switch(e){case"point":case"multipoint":return de.UK.clone();case"polyline":return de.A7.clone();case"polygon":case"multipatch":return de.Cx.clone();default:return null}}function we(e,t){return null==e?null:t.subtypes?.find(t=>t.code===e)}function Me(e,t){let r=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":r="point";break;case"esriGeometryPolyline":r="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":r="polygon";break;default:t.type,r=null}const n={},i=we(e,t);if(null!=i){const{defaultValues:e}=i;for(const t in e)n[t]=e[t]}return n[t.subtypeField]=e,new se.A({name:"New Feature",drawingTool:r,prototype:{attributes:n}})}let ve=class extends((0,u.P)((0,i.O)((0,J.sA)(Q.x_)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.graphicOrigin=new oe(this),this.id=`${Date.now().toString(16)}-subtype-sublayer-${fe++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.templates=null,this.title=null,this.visible=!0}load(e){return(0,E.yp)(this.renderer,this.fieldsIndex),Promise.resolve(this)}get _titleCreator(){const e=this._get("_titleCreator");return(0,Y.pR)(e),new ue.A({fieldsIndex:this.fieldsIndex,objectIdField:this.objectIdField,displayField:this.parent?.displayField??"",fields:this.fields,effectivePopupTemplate:this.popupTemplate??this.defaultPopupTemplate})}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}get featureTitleFields(){return[...this._titleCreator.requiredFields]}writeFieldOverrides(e,t,r){const{fields:n,parent:i}=this;let o;if(n){o=[];let e=0;n.forEach(({name:t,alias:r,editable:n,visible:s})=>{if(!s)return;const a=i?.fields?.find(e=>e.name===t);if(!a)return;const l={name:t};let u=!1;r!==a.alias&&(l.alias=r,u=!0),n!==a.editable&&(l.editable=n,u=!0),o.push(l),u&&e++}),0===e&&o.length===n.length&&(o=null)}else o=(0,H.o8)(e);o?.length&&(0,W.sM)(r,o,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:r}=this,n=e?.fields;if(!e||!n?.length)return null;const{subtypes:i,subtypeField:o}=e,s=i?.find(e=>e.code===r),a=s?.defaultValues,l=s?.domains,u=[];for(const e of n){const n=e.clone(),{name:i}=n,s=t?.find(e=>e.name===i);if(n.visible=!t?.length||!!s,s){const{alias:e,editable:t}=s;e&&(n.alias=e),!1===t&&(n.editable=!1)}const c=a?.[i]??null;n.defaultValue=i===o?r:c;const p=l?.[i]??null;n.domain=i===o?null:p?"inherited"===p.type?n.domain:p.clone():null,u.push(n)}return u}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(h.A.getLogger(this).error(Ie("globalIdField")),null)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||h.A.getLogger(this).error(Ie("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){(0,E.yp)(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?function(e){return new G.A({symbol:be(e)})}(e.geometryType):null}readRendererFromService(e,t,r){if("Table"===t.type)return null;const n=t.drawingInfo?.renderer,i=V(n,t,r);let o;const{subtypeCode:s}=this;if(null!=s&&function(e,t){return!(!t||"unique-value"!==e?.type||null==e.field||e.field.toLowerCase()!==t.toLowerCase()||e.field2||e.field3||e.valueExpression)}(i,t.subtypeField)){const e=i.uniqueValueInfos?.find(({value:e})=>(e="number"==typeof e?String(e):e)===String(s));e&&(o=new G.A({symbol:e.symbol}))}else"simple"!==i?.type||i.visualVariables?.length||(o=i);return o}readRenderer(e,t,r){const n=t?.layerDefinition?.drawingInfo?.renderer;if(!n)return;const i=n.visualVariables?.some(e=>"rotationInfo"!==e.type);return i?void 0:V(n,t,r)||void 0}get spatialReference(){return this.parent?.spatialReference??te.A.WGS84}get subtypeField(){return this.parent?.subtypeField}readTemplatesFromService(e,t){return[Me(this.subtypeCode,t)]}readTitleFromService(e,t){const r=we(this.subtypeCode,t);return null!=r?r.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:r}=this;if(!r)throw Ie("addAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return r.addAttachment(e,t)}async updateAttachment(e,t,r){const{parent:n}=this;if(!n)throw Ie("updateAttachment");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return n.updateAttachment(e,t,r)}async deleteAttachments(e,t){const{parent:r}=this;if(!r)throw Ie("deleteAttachments");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new s.A("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return r.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw Ie("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:r,fields:n,title:i}=this;if(r){const{displayField:e,editFieldsInfo:o,objectIdField:s}=r;t={displayField:e,editFieldsInfo:o,fields:n,objectIdField:s,title:i}}return(0,pe.tn)(t,e)}createQuery(){if(!this.parent)throw Ie("createQuery");const e=(0,j.VZ)(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=(0,d.mA)(t,this.parent.definitionExpression),e}getFeatureTitle(e,t){return this._titleCreator.getTitle(this,e,t)}getFeatureTitles(e,t){return this._titleCreator.getTitles(this,e,t)}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){const t=(0,j.pc)(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){const r=await this.load();if(!r.parent)throw Ie("queryAttachments");const n=e.clone();return n.where=Ce(n.where,r.parent.subtypeField,r.subtypeCode),r.parent.queryAttachments(e,t)}async queryFeatureCount(e,t){const r=await this.load();if(!r.parent)throw Ie("queryFeatureCount");return r.parent.queryFeatureCount(Fe(r.parent,r,e),t)}async queryFeatures(e,t){const r=await this.load();if(!r.parent)throw Ie("queryFeatures");return r.parent.queryFeatures(Fe(r.parent,r,e),t)}async queryObjectIds(e,t){const r=await this.load();if(!r.parent)throw Ie("queryObjectIds");return r.parent.queryObjectIds(Fe(r.parent,r,e),t)}async queryRelatedFeatures(e,t){const r=await this.load();if(!r.parent)throw Ie("queryRelatedFeatures");return r.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){const r=await this.load();if(!r.parent)throw Ie("queryRelatedFeaturesCount");return r.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};(0,n.Cg)([(0,y.MZ)({clonable:!1,readOnly:!0})],ve.prototype,"_titleCreator",null),(0,n.Cg)([(0,y.MZ)({type:ye.A,json:ge({name:"attributeTableInfo"})})],ve.prototype,"attributeTableTemplate",void 0),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"capabilities",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"effectiveCapabilities",null),(0,n.Cg)([(0,y.MZ)({json:ge()})],ve.prototype,"charts",void 0),(0,n.Cg)([(0,y.MZ)({type:Boolean,nonNullable:!0,json:ge({name:"enableEditing"})})],ve.prototype,"editingEnabled",void 0),(0,n.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],ve.prototype,"effectiveEditingEnabled",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"elevationInfo",null),(0,n.Cg)([(0,y.MZ)({clonable:!1,readOnly:!0})],ve.prototype,"featureTitleFields",null),(0,n.Cg)([(0,y.MZ)({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],ve.prototype,"fieldOverrides",void 0),(0,n.Cg)([(0,K.K)("fieldOverrides")],ve.prototype,"writeFieldOverrides",null),(0,n.Cg)([(0,y.MZ)({...he.fields,readOnly:!0,json:{read:!1}})],ve.prototype,"fields",null),(0,n.Cg)([(0,y.MZ)(he.fieldsIndex)],ve.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"floorInfo",null),(0,n.Cg)([(0,y.MZ)({type:ee.A,json:ge({name:"formInfo"})})],ve.prototype,"formTemplate",void 0),(0,n.Cg)([(0,y.MZ)({readOnly:!0,clonable:!1})],ve.prototype,"graphicOrigin",void 0),(0,n.Cg)([(0,y.MZ)({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],ve.prototype,"id",void 0),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"isTable",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"geometryType",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"globalIdField",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"type",void 0),(0,n.Cg)([(0,y.MZ)(me((0,H.o8)(Z.kF)))],ve.prototype,"labelsVisible",void 0),(0,n.Cg)([(0,y.MZ)({type:[ae.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:le.w},write:{ignoreOrigin:!0,layerContainerTypes:X.K}}})],ve.prototype,"labelingInfo",void 0),(0,n.Cg)([(0,y.MZ)({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:X.K}}})],ve.prototype,"layerType",void 0),(0,n.Cg)([(0,y.MZ)(me((0,H.o8)(Z.fV)))],ve.prototype,"legendEnabled",void 0),(0,n.Cg)([(0,y.MZ)({type:["show","hide"]})],ve.prototype,"listMode",void 0),(0,n.Cg)([(0,y.MZ)((()=>{const e=(0,H.o8)(Z.hn);return e.json.origins.service.read=!1,me(e,{spatialOnly:!0})})())],ve.prototype,"minScale",void 0),(0,n.Cg)([(0,y.MZ)((()=>{const e=(0,H.o8)(Z.hG);return e.json.origins.service.read=!1,me(e,{spatialOnly:!0})})())],ve.prototype,"maxScale",void 0),(0,n.Cg)([(0,y.MZ)({readOnly:!0})],ve.prototype,"effectiveScaleRange",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"objectIdField",null),(0,n.Cg)([(0,y.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0,json:ge({spatialOnly:!0})})],ve.prototype,"opacity",void 0),(0,n.Cg)([(0,y.MZ)({clonable:!1})],ve.prototype,"parent",void 0),(0,n.Cg)([(0,y.MZ)(me((0,H.o8)(Z.M6)))],ve.prototype,"popupEnabled",void 0),(0,n.Cg)([(0,y.MZ)({type:B.A,json:ge({name:"popupInfo"})})],ve.prototype,"popupTemplate",void 0),(0,n.Cg)([(0,y.MZ)({readOnly:!0})],ve.prototype,"defaultPopupTemplate",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"relationships",null),(0,n.Cg)([(0,y.MZ)({types:D,json:ge({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],ve.prototype,"renderer",null),(0,n.Cg)([(0,f.w)("service","renderer",["drawingInfo.renderer","subtypeField","type"])],ve.prototype,"readRendererFromService",null),(0,n.Cg)([(0,f.w)("renderer",["layerDefinition.drawingInfo.renderer"])],ve.prototype,"readRenderer",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"spatialReference",null),(0,n.Cg)([(0,y.MZ)({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],ve.prototype,"subtypeCode",void 0),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"subtypeField",null),(0,n.Cg)([(0,y.MZ)({type:[se.A],json:ge({name:"layerDefinition.templates"})})],ve.prototype,"templates",void 0),(0,n.Cg)([(0,f.w)("service","templates",["geometryType","subtypeField","subtypes","type"])],ve.prototype,"readTemplatesFromService",null),(0,n.Cg)([(0,y.MZ)({type:String,json:ge()})],ve.prototype,"title",void 0),(0,n.Cg)([(0,f.w)("service","title",["subtypes"])],ve.prototype,"readTitleFromService",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],ve.prototype,"url",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0})],ve.prototype,"userHasUpdateItemPrivileges",null),(0,n.Cg)([(0,y.MZ)({type:Boolean,nonNullable:!0,json:ge({name:"visibility",spatialOnly:!0})})],ve.prototype,"visible",void 0),ve=(0,n.Cg)([(0,m.$)("esri.layers.support.SubtypeSublayer")],ve);const Fe=(e,t,r)=>{if(!r)return t.createQuery();const n=ce.A.from(r);return n.where=Ce(n.where,e.subtypeField,t.subtypeCode),n},Ce=(e,t,r)=>{const n=new RegExp(`${t}\\s*=\\s*\\d+`),i=`${t}=${r}`,o=e??"";return n.test(o)?o.replace(n,i):(0,d.mA)(i,o)},Ie=e=>new s.A("subtype-sublayer:parent-missing",`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`);var Te=r(96184),xe=r(91908),Ae=r(54218);const Se="SubtypeGroupLayer";function _e(e,t){return new s.A("layer:unsupported",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' ${t}`,{layer:e})}function Oe(e,t){const r=[];for(const n of e){const e=new ve;e.read(n,t),r.push(e)}return r}const Ze=(0,k.p)();let je=class extends((0,I.j)((0,F.FJ)((0,C.w6)((0,M.dM)((0,_.e)((0,S.j)((0,A.J)((0,w.b)((0,T.q)((0,x.A)((0,u.P)((0,v.d)((0,b.p)((0,i.O)(g.A))))))))))))))){constructor(...e){super(...e),this._sublayerLookup=new Map,this.fields=null,this.fieldsIndex=null,this.outFields=null,this.sublayers=new(o.A.ofType(ve)),this.useUniqueColorsForSublayers=!0,this.supportedSourceTypes=new Set(["Feature Layer","Table"]),this.timeInfo=null,this.title="Layer",this.type="subtype-group",this._debouncedSaveOperations=(0,c.sg)(async(e,t,n)=>{const{save:i,saveAs:o}=await r.e(5740).then(r.bind(r,33359));switch(e){case 0:return i(this,t);case 1:return o(this,n,t)}}),this.addHandles((0,p.wB)(()=>this.sublayers,(e,t)=>this._handleSublayersChange(e,t),p.OH))}destroy(){this.source?.destroy()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(c.QP).then(async()=>{if(!this.url)throw new s.A("subtype-grouplayer:missing-url-or-source","SubtypeGroupLayer must be created with either a url or a portal item");if(null==this.layerId)throw new s.A("subtype-grouplayer:missing-layerid","layerId is required for a SubtypeGroupLayer created with url");this._initLayerProperties(await this.createGraphicsSource(t))}).then(()=>(0,j.VA)(this,"load",e));return this.addResolvingPromise(r),Promise.resolve(this)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return(0,j.C$)(this)}get operationalLayerType(){return this.isTable?"SubtypeGroupTable":"SubtypeGroupLayer"}set source(e){this._get("source")!==e&&this._set("source",e)}readTitleFromService(e,{name:t}){return this.url?(0,O.yG)(this.url,t):t}async addAttachment(e,t){const r=await(0,j.Xl)(this,e,t,Se);return this.lastEditsEventDate=new Date,r}async updateAttachment(e,t,r){const n=await(0,j.bt)(this,e,t,r,Se);return this.lastEditsEventDate=new Date,n}async applyEdits(e,t){return(0,j.ct)(this,e,t)}async createGraphicsSource(e){const{default:t}=await(0,c.qr)(Promise.all([r.e(708),r.e(364),r.e(8628),r.e(2593),r.e(9062)]).then(r.bind(r,72593)),e);return new t({layer:this,supportedSourceTypes:this.supportedSourceTypes}).load({signal:e})}createQuery(){const e=(0,j.VZ)(this),t=this.sublayers.map(e=>e.subtypeCode);return e.where=(0,d.mA)(`${this.subtypeField} IN (${t.join(",")})`,this.definitionExpression),e}async deleteAttachments(e,t){const r=await(0,j.mm)(this,e,t,Se);return this.lastEditsEventDate=new Date,r}async fetchRecomputedExtents(e){return(0,j.WP)(this,e,Se)}findSublayerForFeature(e){const t=this.fieldsIndex.get(this.subtypeField),r=e.attributes[t.name];return this.findSublayerForSubtypeCode(r)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains){const t=(0,j.pc)(this,e);if(t)return t}const r=(0,j.Nv)(this,t?.feature);if(r){const t=r.domains?.[e];return"inherited"===t?.type?this._getLayerDomain(e):t}return this._getLayerDomain(e)}loadAll(){return(0,a.g)(this,e=>{e(this.sublayers)})}async queryAttachments(e,t){return(0,j.lV)(this,e,t,Se)}async queryFeatures(e,t){const r=await this.load(),n=ce.A.from(e)??r.createQuery(),i=n.outFields??[];i.includes(this.subtypeField)||(i.push(this.subtypeField),n.outFields=i);const o=await r.source.queryFeatures(n,t);if(o?.features)for(const e of o.features){const t=this.findSublayerForFeature(e);e.origin=t?.graphicOrigin,e.layer=e.sourceLayer=this.findSublayerForFeature(e)}return o}async queryObjectIds(e,t){return(await(0,j.sg)(this,e,t,Se)).filter(Ae.Et)}async queryFeatureCount(e,t){return(0,j.Ye)(this,e,t,Se)}async queryExtent(e,t){return(0,j.B5)(this,e,t,Se)}async queryRelatedFeatures(e,t){return(0,j.hM)(this,e,t,Se)}async queryRelatedFeaturesCount(e,t){return(0,j.S2)(this,e,t,Se)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}write(e,t){const{origin:r,layerContainerType:n,messages:i}=t;if(this.isTable){if("web-scene"===r||"web-map"===r&&"tables"!==n)return i?.push(_e(this,"using a table source cannot be written to web scenes and web maps")),null}else if(this.loaded&&"web-map"===r&&"tables"===n)return i?.push(_e(this,"using a non-table source cannot be written to tables in web maps")),null;return this.sublayers?.length?super.write(e,t):(i?.push(new s.A("web-document-write:invalid-property",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' has invalid value for 'sublayers' property. 'sublayers' collection should contain at least one sublayer`,{layer:this})),null)}serviceSupportsSpatialReference(e){return!!this.loaded&&(0,xe.D)(this,e)}async getFeatureTitle(e,t){const r=this.findSublayerForFeature(e);return r?await r.getFeatureTitle(e,t):this._getFeatureTitleForUnknownSublayer(e)}async getFeatureTitles(e,t){const r=new Map,n=new Map,i=[n];e.forEach(e=>{const t=this.findSublayerForFeature(e);if(t)(0,l.tE)(r,t,()=>[]).push(e);else{const t=e.getObjectId()??e.attributes[this.objectIdField];n.set(t,this._getFeatureTitleForUnknownSublayer(e))}});const o=await Promise.all(Array.from(r).map(([e,r])=>e.getFeatureTitles(r,t)));return o.forEach(e=>i.push(e)),new Map(i.flatMap(e=>[...e]))}get featureTitleFields(){const e=new Set;for(const t of this.sublayers){const r=t.featureTitleFields;for(const t of r)e.add(t)}return[...e]}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}_initLayerProperties(e){this._set("source",e);const{sourceJSON:t}=e;if(t&&(this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})),!this.subtypes?.length)throw new s.A("subtype-grouplayer:missing-subtypes","SubtypeGroupLayer must be created using a layer with subtypes");this._verifyFields(),(0,E.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,j.jp)(this)}_verifyFields(){const e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("SubtypeGroupLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||-1!==e.search(/\/FeatureServer\//i)||this.fields?.some(e=>"geometry"===e.type)||console.log("SubtypeGroupLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_handleSublayersChange(e,t){t&&(t.forEach(e=>{e.parent=null}),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach(e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),this.addHandles([e.on("after-add",({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)}),e.on("after-remove",({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)})],"sublayers-owner"))}_getFeatureTitleForUnknownSublayer(e){const{displayField:t,fieldsIndex:r,objectIdField:n}=this;if(t&&r.has(t))return e.attributes[r.get(t).name]??"";const i=e.getObjectId();return null!=i?i.toString():n&&r.has(n)?e.attributes[r.get(n).name]??"":""}};(0,n.Cg)([(0,y.MZ)({readOnly:!0})],je.prototype,"createQueryVersion",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0})],je.prototype,"editingEnabled",null),(0,n.Cg)([(0,y.MZ)({readOnly:!0})],je.prototype,"effectiveEditingEnabled",null),(0,n.Cg)([(0,y.MZ)({...Ze.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],je.prototype,"fields",void 0),(0,n.Cg)([(0,y.MZ)(Ze.fieldsIndex)],je.prototype,"fieldsIndex",void 0),(0,n.Cg)([(0,y.MZ)(Z.id)],je.prototype,"id",void 0),(0,n.Cg)([(0,y.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],je.prototype,"listMode",void 0),(0,n.Cg)([(0,y.MZ)({type:["SubtypeGroupLayer","SubtypeGroupTable"],json:{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{"web-document":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}},"portal-item":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}}}}})],je.prototype,"operationalLayerType",null),(0,n.Cg)([(0,y.MZ)(Ze.outFields)],je.prototype,"outFields",void 0),(0,n.Cg)([(0,y.MZ)({clonable:!1})],je.prototype,"source",null),(0,n.Cg)([(0,y.MZ)({type:o.A.ofType(ve),json:{origins:{service:{read:{source:"subtypes",reader(e,t,r){let n=null;if(this.useUniqueColorsForSublayers){const i=function(e,t){const r=e.drawingInfo?.renderer,n=r?V(r,e,t):null;if("simple"===n?.type)return(0,z.Sx)(n.symbol,null)?n.symbol.clone():null}(t,r);n=i?function(e,t){return(0,L.Iy)(U,e,{offset:!0,shuffle:!0}).reverse().map(e=>{const r=t.clone();return"cim"===r.type?(0,$.Fe)(r,e):(0,z.dt)(r,e),new G.A({symbol:r})})}(e.length,i):null}const i=e.map(({code:e},i)=>{const o=new ve({subtypeCode:e});o.read(t,r);const s=n?.[i];return s&&o.read({drawingInfo:{renderer:s.toJSON()}},r),o});return new(o.A.ofType(ve))(i)}}}},read:{source:["layers","tables"],reader(e,t,r){let n;return"SubtypeGroupLayer"===t.layerType&&t.layers?.length?n=Oe(t.layers,r):"SubtypeGroupTable"===t.layerType&&t.tables?.length&&(n=Oe(t.tables,r)),new(o.A.ofType(ve))(n)}},write:{ignoreOrigin:!0,writer(e,t,r,n){const i=[];for(const t of e){const e=t.write({},n);i.push(e)}this.isTable?t.tables=i:t.layers=i}}}})],je.prototype,"sublayers",void 0),(0,n.Cg)([(0,y.MZ)()],je.prototype,"useUniqueColorsForSublayers",void 0),(0,n.Cg)([(0,y.MZ)({type:Te.A})],je.prototype,"timeInfo",void 0),(0,n.Cg)([(0,y.MZ)({json:{origins:{"portal-item":{write:{enabled:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],je.prototype,"title",void 0),(0,n.Cg)([(0,f.w)("service","title",["name"])],je.prototype,"readTitleFromService",null),(0,n.Cg)([(0,y.MZ)({json:{read:!1}})],je.prototype,"type",void 0),(0,n.Cg)([(0,y.MZ)({clonable:!1,readOnly:!0})],je.prototype,"featureTitleFields",null),je=(0,n.Cg)([(0,m.$)("esri.layers.SubtypeGroupLayer")],je);const ke=je},99959:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(31635),i=(r(53966),r(44208),r(87811),r(49186),r(40608));let o=class{};o=(0,n.Cg)([(0,i.$)("esri.graphic.GraphicOrigin")],o)}}]);
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"widgetLabel":"Utility Network Trace","widgetDescription":"A widget to perform traces in a Utility Network.","globalStrings":{"selectTerminalPlaceholder":"Select terminals","locateFeature":"Locate","zoomToFeature":"Zoom to","clearResults":"Discard","nonSpatialObject":"Nonspatial object"},"inputsStrings":{"headerTabInputs":"Inputs","headerStartingPoint":"Starting points","startingPointHint":"Add starting points for the trace.","headerBarrier":"Barriers","barrierButton":"Barrier","barrierPointHint":"Add barriers for the trace.","barrierFilter":"Filter barrier","addPointOption":"Add point","addPointHint":"Click the map to add a point.","removeAllPoints":"Remove all","selectTraces":"Select traces","addNonspatialOption":"Add nonspatial object","addNonspatialHint":"Click a feature on the map and navigate to a nonspatial object."},"tracingStrings":{"traceOperation":"Trace types","runTrace":"Run"},"resultsStrings":{"headerFeatureInfo":"Feature Info","headerTabResults":"Results","resultsListOptions":"Options","ellipsesOptions":"Options","displayAttribute":"Display attribute","sortBy":"Sort by","startOverButton":"Clear all","startOverValidation":"Are you sure? All the trace Inputs and Results will be lost.","highlightTrace":"Show graphics","noSelectionResults":"Records cannot be selected. Enable to show graphics instead.","viewFeatures":"Records","selectFeatures":"Select records","graphicColor":"Color","functionHeader":"Functions","noValue":"No value","resultAreaHeader":"Show result area","resultAreaBuffer":"Buffer","noFeaturesInMap":"No records are listed because they are missing from the map."},"alertsStrings":{"startingPointAlertHeader":"Starting point missing","startingPointAlert":"Add a starting point to run this trace.","selectTraceAlertHeader":"Trace type not selected","selectTraceAlert":"Select a trace type to run.","NoRunAlertHeader":"No results available","noResultsInfo":"Go to the Inputs tab to select a trace type, add a starting point, and click Run to view the results.","traceExecuting":"Trace in progress...","genericResultHeader":"Trace result","genericErrorHeader":"An error occurred","noAssetsFoundHeader":"Cannot add point","noAssetFound":"The point must intersect with a feature on the map.","
|
|
1
|
+
{"widgetLabel":"Utility Network Trace","widgetDescription":"A widget to perform traces in a Utility Network.","globalStrings":{"selectTerminalPlaceholder":"Select terminals","locateFeature":"Locate","zoomToFeature":"Zoom to","clearResults":"Discard","nonSpatialObject":"Nonspatial object"},"inputsStrings":{"headerTabInputs":"Inputs","headerStartingPoint":"Starting points","startingPointHint":"Add starting points for the trace.","headerBarrier":"Barriers","barrierButton":"Barrier","barrierPointHint":"Add barriers for the trace.","barrierFilter":"Filter barrier","addPointOption":"Add point","addPointHint":"Click the map to add a point.","removeAllPoints":"Remove all","selectTraces":"Select traces","addNonspatialOption":"Add nonspatial object","addNonspatialHint":"Click a feature on the map and navigate to a nonspatial object."},"tracingStrings":{"traceOperation":"Trace types","runTrace":"Run"},"resultsStrings":{"headerFeatureInfo":"Feature Info","headerTabResults":"Results","resultsListOptions":"Options","ellipsesOptions":"Options","displayAttribute":"Display attribute","sortBy":"Sort by","startOverButton":"Clear all","startOverValidation":"Are you sure? All the trace Inputs and Results will be lost.","highlightTrace":"Show graphics","noSelectionResults":"Records cannot be selected. Enable to show graphics instead.","viewFeatures":"Records","selectFeatures":"Select records","graphicColor":"Color","functionHeader":"Functions","noValue":"No value","resultAreaHeader":"Show result area","resultAreaBuffer":"Buffer","noFeaturesInMap":"No records are listed because they are missing from the map."},"alertsStrings":{"startingPointAlertHeader":"Starting point missing","startingPointAlert":"Add a starting point to run this trace.","selectTraceAlertHeader":"Trace type not selected","selectTraceAlert":"Select a trace type to run.","NoRunAlertHeader":"No results available","noResultsInfo":"Go to the Inputs tab to select a trace type, add a starting point, and click Run to view the results.","traceExecuting":"Trace in progress...","genericResultHeader":"Trace result","genericErrorHeader":"An error occurred","noAssetsFoundHeader":"Cannot add point","noAssetFound":"The point must intersect with a feature on the map.","noPopupConfigured":"Popup not configured on layer.","clearResultsAlert":"Are you sure? All the results for this trace will be discarded.","noTraceSupported":"A Utility Network cannot be found or tracing is not supported. Provide a valid Utility Network with shared Trace Configurations.","noUserExtension":"The account logged in is missing a license for the ArcGIS Utility Network user type extension.","noTerminalDefinedHeader":"Terminal missing","noTerminalDefined":"At least one terminal must be selected."},"attributeStrings":{"traceId":"Trace Id","traceName":"Trace name","traceDescription":"Trace description","startingPoints":"Starting points","barriers":"Barriers","username":"User","version":"Version","date":"Date","elementCount":"Count of records","functionResult":"Trace functions","areaStatistic":"Area statistic","globalid":"Global Id","terminalid":"Terminal Id","x":"x","y":"y"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"widgetLabel":"Utility Network Trace","widgetDescription":"A widget to perform traces in a Utility Network.","globalStrings":{"selectTerminalPlaceholder":"Select terminals","locateFeature":"Locate","zoomToFeature":"Zoom to","clearResults":"Discard","nonSpatialObject":"Nonspatial object"},"inputsStrings":{"headerTabInputs":"Inputs","headerStartingPoint":"Starting points","startingPointHint":"Add starting points for the trace.","headerBarrier":"Barriers","barrierButton":"Barrier","barrierPointHint":"Add barriers for the trace.","barrierFilter":"Filter barrier","addPointOption":"Add point","addPointHint":"Click the map to add a point.","removeAllPoints":"Remove all","selectTraces":"Select traces","addNonspatialOption":"Add nonspatial object","addNonspatialHint":"Click a feature on the map and navigate to a nonspatial object."},"tracingStrings":{"traceOperation":"Trace types","runTrace":"Run"},"resultsStrings":{"headerFeatureInfo":"Feature Info","headerTabResults":"Results","resultsListOptions":"Options","ellipsesOptions":"Options","displayAttribute":"Display attribute","sortBy":"Sort by","startOverButton":"Clear all","startOverValidation":"Are you sure? All the trace Inputs and Results will be lost.","highlightTrace":"Show graphics","noSelectionResults":"Records cannot be selected. Enable to show graphics instead.","viewFeatures":"Records","selectFeatures":"Select records","graphicColor":"Color","functionHeader":"Functions","noValue":"No value","resultAreaHeader":"Show result area","resultAreaBuffer":"Buffer","noFeaturesInMap":"No records are listed because they are missing from the map."},"alertsStrings":{"startingPointAlertHeader":"Starting point missing","startingPointAlert":"Add a starting point to run this trace.","selectTraceAlertHeader":"Trace type not selected","selectTraceAlert":"Select a trace type to run.","NoRunAlertHeader":"No results available","noResultsInfo":"Go to the Inputs tab to select a trace type, add a starting point, and click Run to view the results.","traceExecuting":"Trace in progress...","genericResultHeader":"Trace result","genericErrorHeader":"An error occurred","noAssetsFoundHeader":"Cannot add point","noAssetFound":"The point must intersect with a feature on the map.","
|
|
1
|
+
{"widgetLabel":"Utility Network Trace","widgetDescription":"A widget to perform traces in a Utility Network.","globalStrings":{"selectTerminalPlaceholder":"Select terminals","locateFeature":"Locate","zoomToFeature":"Zoom to","clearResults":"Discard","nonSpatialObject":"Nonspatial object"},"inputsStrings":{"headerTabInputs":"Inputs","headerStartingPoint":"Starting points","startingPointHint":"Add starting points for the trace.","headerBarrier":"Barriers","barrierButton":"Barrier","barrierPointHint":"Add barriers for the trace.","barrierFilter":"Filter barrier","addPointOption":"Add point","addPointHint":"Click the map to add a point.","removeAllPoints":"Remove all","selectTraces":"Select traces","addNonspatialOption":"Add nonspatial object","addNonspatialHint":"Click a feature on the map and navigate to a nonspatial object."},"tracingStrings":{"traceOperation":"Trace types","runTrace":"Run"},"resultsStrings":{"headerFeatureInfo":"Feature Info","headerTabResults":"Results","resultsListOptions":"Options","ellipsesOptions":"Options","displayAttribute":"Display attribute","sortBy":"Sort by","startOverButton":"Clear all","startOverValidation":"Are you sure? All the trace Inputs and Results will be lost.","highlightTrace":"Show graphics","noSelectionResults":"Records cannot be selected. Enable to show graphics instead.","viewFeatures":"Records","selectFeatures":"Select records","graphicColor":"Color","functionHeader":"Functions","noValue":"No value","resultAreaHeader":"Show result area","resultAreaBuffer":"Buffer","noFeaturesInMap":"No records are listed because they are missing from the map."},"alertsStrings":{"startingPointAlertHeader":"Starting point missing","startingPointAlert":"Add a starting point to run this trace.","selectTraceAlertHeader":"Trace type not selected","selectTraceAlert":"Select a trace type to run.","NoRunAlertHeader":"No results available","noResultsInfo":"Go to the Inputs tab to select a trace type, add a starting point, and click Run to view the results.","traceExecuting":"Trace in progress...","genericResultHeader":"Trace result","genericErrorHeader":"An error occurred","noAssetsFoundHeader":"Cannot add point","noAssetFound":"The point must intersect with a feature on the map.","noPopupConfigured":"Popup not configured on layer.","clearResultsAlert":"Are you sure? All the results for this trace will be discarded.","noTraceSupported":"A Utility Network cannot be found or tracing is not supported. Provide a valid Utility Network with shared Trace Configurations.","noUserExtension":"The account logged in is missing a license for the ArcGIS Utility Network user type extension.","noTerminalDefinedHeader":"Terminal missing","noTerminalDefined":"At least one terminal must be selected."},"attributeStrings":{"traceId":"Trace Id","traceName":"Trace name","traceDescription":"Trace description","startingPoints":"Starting points","barriers":"Barriers","username":"User","version":"Version","date":"Date","elementCount":"Count of records","functionResult":"Trace functions","areaStatistic":"Area statistic","globalid":"Global Id","terminalid":"Terminal Id","x":"x","y":"y"}}
|
package/chunks/bundle.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
let e;function t(t){const r=e.__externref_table_alloc();return e.__wbindgen_export_2.set(r,t),r}function r(r,n){try{return r.apply(this,n)}catch(_){const r=t(_);e.__wbindgen_exn_store(r)}}Symbol.dispose||(Symbol.dispose=Symbol("Symbol.dispose"));const n="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&n.decode();let _=null;function i(){return null!==_&&0!==_.byteLength||(_=new Uint8Array(e.memory.buffer)),_}function o(e,t){return e>>>=0,n.decode(i().subarray(e,e+t))}let s=0;const a="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},c="function"==typeof a.encodeInto?function(e,t){return a.encodeInto(e,t)}:function(e,t){const r=a.encode(e);return t.set(r),{read:e.length,written:r.length}};function u(e,t,r){if(void 0===r){const r=a.encode(e),n=t(r.length,1)>>>0;return i().subarray(n,n+r.length).set(r),s=r.length,n}let n=e.length,_=t(n,1)>>>0;const o=i();let u=0;for(;u<n;u++){const t=e.charCodeAt(u);if(t>127)break;o[_+u]=t}if(u!==n){0!==u&&(e=e.slice(u)),_=r(_,n,n=u+3*e.length,1)>>>0;const t=i().subarray(_+u,_+n);u+=c(e,t).written,_=r(_,n,u,1)>>>0}return s=u,_}let g=null;function l(){return(null===g||!0===g.buffer.detached||void 0===g.buffer.detached&&g.buffer!==e.memory.buffer)&&(g=new DataView(e.memory.buffer)),g}function w(e){return null==e}const b="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{e.__wbindgen_export_6.get(t.dtor)(t.a,t.b)});function d(t,r,n,_){const i={a:t,b:r,cnt:1,dtor:n},o=(...t)=>{i.cnt++;const r=i.a;i.a=0;try{return _(r,i.b,...t)}finally{0===--i.cnt?(e.__wbindgen_export_6.get(i.dtor)(r,i.b),b.unregister(i)):i.a=r}};return o.original=i,b.register(o,i,i),o}function f(e,t){return e>>>=0,i().subarray(e/1,e/1+t)}function p(){e.enableTracing()}let y=null;function h(){return null!==y&&0!==y.byteLength||(y=new Float64Array(e.memory.buffer)),y}function m(e,t){return e>>>=0,h().subarray(e/8,e/8+t)}let F=null;function q(){return null!==F&&0!==F.byteLength||(F=new Uint32Array(e.memory.buffer)),F}function v(e,t){return e>>>=0,q().subarray(e/4,e/4+t)}function T(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`)}function k(t,r){t>>>=0;const n=l(),_=[];for(let i=t;i<t+4*r;i+=4)_.push(e.__wbindgen_export_2.get(n.getUint32(i,!0)));return e.__externref_drop_slice(t,r),_}function z(e,t){const r=t(8*e.length,8)>>>0;return h().set(e,r/8),s=e.length,r}function R(e,r){const n=r(4*e.length,4)>>>0;for(let _=0;_<e.length;_++){const r=t(e[_]);l().setUint32(n+4*_,r,!0)}return s=e.length,n}function O(e,t){const r=t(1*e.length,1)>>>0;return i().set(e,r/1),s=e.length,r}let S=null;function x(){return null!==S&&0!==S.byteLength||(S=new Uint16Array(e.memory.buffer)),S}function A(e,t){const r=t(2*e.length,2)>>>0;return x().set(e,r/2),s=e.length,r}function M(t,r,n){e.closure83_externref_shim(t,r,n)}function j(t,r,n,_){e.closure9_externref_shim(t,r,n,_)}const I=Object.freeze({Point:0,0:"Point",Polygon:1,1:"Polygon",Polyline:2,2:"Polyline",Multipoint:3,3:"Multipoint"}),C=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],L="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_columndescriptor_free(t>>>0,1));class U{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,L.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_columndescriptor_free(t,0)}[Symbol.dispose](){this.free()}name(){let t,r;try{const n=e.columndescriptor_name(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}physicalType(){let t,r;try{const n=e.columndescriptor_physicalType(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}logicalType(){const t=e.columndescriptor_logicalType(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}encodings(){const t=e.columndescriptor_encodings(this.__wbg_ptr);var r=k(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),r}pageEncodings(){const t=e.columndescriptor_pageEncodings(this.__wbg_ptr);let r;return 0!==t[0]&&(r=k(t[0],t[1]).slice(),e.__wbindgen_free(t[0],4*t[1],4)),r}numValues(){return e.columndescriptor_numValues(this.__wbg_ptr)}compression(){let t,r;try{const n=e.columndescriptor_compression(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}compressedSize(){return e.columndescriptor_compressedSize(this.__wbg_ptr)}uncompressedSize(){return e.columndescriptor_uncompressedSize(this.__wbg_ptr)}nullCount(){const t=e.columndescriptor_nullCount(this.__wbg_ptr);return 0===t[0]?void 0:t[1]}distinctCount(){const t=e.columndescriptor_distinctCount(this.__wbg_ptr);return 0===t[0]?void 0:t[1]}minValue(){return e.columndescriptor_minValue(this.__wbg_ptr)}maxValue(){return e.columndescriptor_maxValue(this.__wbg_ptr)}}const W="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_fieldmetadata_free(t>>>0,1));class E{static __wrap(e){e>>>=0;const t=Object.create(E.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_fieldmetadata_free(t,0)}[Symbol.dispose](){this.free()}get id(){return e.__wbg_get_fieldmetadata_id(this.__wbg_ptr)}set id(t){e.__wbg_set_fieldmetadata_id(this.__wbg_ptr,t)}get name(){let t,r;try{const n=e.fieldmetadata_name(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}get type(){const t=e.fieldmetadata_esri_type(this.__wbg_ptr);return C[t]}get physicalType(){const t=e.fieldmetadata_physical_type(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}get logicalType(){const t=e.fieldmetadata_logical_type(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}}const D="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_geometryinfo_free(t>>>0,1));class B{static __wrap(e){e>>>=0;const t=Object.create(B.prototype);return t.__wbg_ptr=e,D.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_geometryinfo_free(t,0)}[Symbol.dispose](){this.free()}static new(t,r,n,_,i){T(_,J);var o=_.__destroy_into_raw();const a=R(i,e.__wbindgen_malloc),c=s,u=e.geometryinfo_new(t,r,n,o,a,c);return B.__wrap(u)}}const P="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_multiscalegeometryfield_free(t>>>0,1));class G{static __wrap(e){e>>>=0;const t=Object.create(G.prototype);return t.__wbg_ptr=e,P.register(t,t.__wbg_ptr,t),t}static __unwrap(e){return e instanceof G?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_multiscalegeometryfield_free(t,0)}[Symbol.dispose](){this.free()}get level(){return e.__wbg_get_multiscalegeometryfield_level(this.__wbg_ptr)}set level(t){e.__wbg_set_multiscalegeometryfield_level(this.__wbg_ptr,t)}static new(t,r,n,_){const i=u(r,e.__wbindgen_malloc,e.__wbindgen_realloc),o=s,a=z(n,e.__wbindgen_malloc),c=s,g=z(_,e.__wbindgen_malloc),l=s,w=e.multiscalegeometryfield_new(t,i,o,a,c,g,l);return G.__wrap(w)}has_field(t){const r=u(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s;return 0!==e.multiscalegeometryfield_has_field(this.__wbg_ptr,r,n)}}const V="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_pageencodingdescriptor_free(t>>>0,1));class X{static __wrap(e){e>>>=0;const t=Object.create(X.prototype);return t.__wbg_ptr=e,V.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_pageencodingdescriptor_free(t,0)}[Symbol.dispose](){this.free()}pageType(){let t,r;try{const n=e.pageencodingdescriptor_pageType(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}encoding(){let t,r;try{const n=e.pageencodingdescriptor_encoding(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}count(){return e.pageencodingdescriptor_count(this.__wbg_ptr)}}const Y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_parquetchunk_free(t>>>0,1));class Z{static __wrap(e){e>>>=0;const t=Object.create(Z.prototype);return t.__wbg_ptr=e,Y.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_parquetchunk_free(t,0)}[Symbol.dispose](){this.free()}size(){return e.parquetchunk_size(this.__wbg_ptr)>>>0}isEmpty(t){return 0!==e.parquetchunk_isEmpty(this.__wbg_ptr,t)}rowId(t){return e.parquetchunk_rowId(this.__wbg_ptr,t)}readX(t){const r=e.parquetchunk_readX(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}readY(t){const r=e.parquetchunk_readY(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}readCoords(t){const r=e.parquetchunk_readCoords(this.__wbg_ptr,t);let n;return 0!==r[0]&&(n=m(r[0],r[1]).slice(),e.__wbindgen_free(r[0],8*r[1],8)),n}readLengths(t){const r=e.parquetchunk_readLengths(this.__wbg_ptr,t);let n;return 0!==r[0]&&(n=v(r[0],r[1]).slice(),e.__wbindgen_free(r[0],4*r[1],4)),n}transformGeometry(t,r,n,_,i,o){T(t,Q);const s=e.parquetchunk_transformGeometry(this.__wbg_ptr,t.__wbg_ptr,r,n,_,i,o);return 16777215===s?void 0:0!==s}boundsXMin(t){const r=e.parquetchunk_boundsXMin(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}boundsYMin(t){const r=e.parquetchunk_boundsYMin(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}boundsXMax(t){const r=e.parquetchunk_boundsXMax(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}boundsYMax(t){const r=e.parquetchunk_boundsYMax(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}readAttribute(t,r){return e.parquetchunk_readAttribute(this.__wbg_ptr,t,r)}}const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_parquetfile_free(t>>>0,1));class H{static __wrap(e){e>>>=0;const t=Object.create(H.prototype);return t.__wbg_ptr=e,N.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_parquetfile_free(t,0)}[Symbol.dispose](){this.free()}static fromUrl(t,r,n,_){const i=u(t,e.__wbindgen_malloc,e.__wbindgen_realloc),o=s;let a=0;w(_)||(T(_,B),a=_.__destroy_into_raw());return e.parquetfile_fromUrl(i,o,r,n,a)}static fromBinary(t,r){const n=O(t,e.__wbindgen_malloc),_=s;let i=0;w(r)||(T(r,B),i=r.__destroy_into_raw());return e.parquetfile_fromBinary(n,_,i)}version(){return e.parquetfile_version(this.__wbg_ptr)}numRows(){return e.parquetfile_numRows(this.__wbg_ptr)>>>0}numFields(){return e.parquetfile_numFields(this.__wbg_ptr)>>>0}numColumns(){return e.parquetfile_numColumns(this.__wbg_ptr)>>>0}createdBy(){const t=e.parquetfile_createdBy(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}keyValueMetadata(t){const r=u(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s,_=e.parquetfile_keyValueMetadata(this.__wbg_ptr,r,n);let i;return 0!==_[0]&&(i=o(_[0],_[1]).slice(),e.__wbindgen_free(_[0],1*_[1],1)),i}keys(){const t=e.parquetfile_keys(this.__wbg_ptr);let r;return 0!==t[0]&&(r=k(t[0],t[1]).slice(),e.__wbindgen_free(t[0],4*t[1],4)),r}attributeIdFor(t){const r=u(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s;return e.parquetfile_attributeIdFor(this.__wbg_ptr,r,n)}fields(){const t=e.parquetfile_fields(this.__wbg_ptr);var r=k(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),r}rowGroups(){const t=e.parquetfile_rowGroups(this.__wbg_ptr);var r=k(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),r}ensureFields(t){const r=A(t,e.__wbindgen_malloc),n=s;return e.parquetfile_ensureFields(this.__wbg_ptr,r,n)}readFirstChunk(t){const r=A(t,e.__wbindgen_malloc),n=s;return e.parquetfile_readFirstChunk(this.__wbg_ptr,r,n)}readAllChunks(t,r,n){const _=A(t,e.__wbindgen_malloc),i=s;return e.parquetfile_readAllChunks(this.__wbg_ptr,_,i,r,n)}queryZChunks(t,r,n,_){const i=A(r,e.__wbindgen_malloc),o=s;return e.parquetfile_queryZChunks(this.__wbg_ptr,t,i,o,n,_)}queryXZChunks(t,r,n){return e.parquetfile_queryXZChunks(this.__wbg_ptr,t,r,n)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_primarygeometryfield_free(t>>>0,1));class J{static __wrap(e){e>>>=0;const t=Object.create(J.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_primarygeometryfield_free(t,0)}[Symbol.dispose](){this.free()}static fromNative(t){const r=u(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s,_=e.primarygeometryfield_fromNative(r,n);return J.__wrap(_)}static fromWkb(t){const r=u(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s,_=e.primarygeometryfield_fromWkb(r,n);return J.__wrap(_)}static fromLocation(t,r){const n=u(t,e.__wbindgen_malloc,e.__wbindgen_realloc),_=s,i=u(r,e.__wbindgen_malloc,e.__wbindgen_realloc),o=s,a=e.primarygeometryfield_fromLocation(n,_,i,o);return J.__wrap(a)}}const K="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_quantizedgeometrybuffer_free(t>>>0,1));class Q{static __wrap(e){e>>>=0;const t=Object.create(Q.prototype);return t.__wbg_ptr=e,K.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,K.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_quantizedgeometrybuffer_free(t,0)}[Symbol.dispose](){this.free()}static new(){const t=e.quantizedgeometrybuffer_new();return Q.__wrap(t)}readCoordsUnsafe(){return e.quantizedgeometrybuffer_readCoordsUnsafe(this.__wbg_ptr)}readLengthsUnsafe(){return e.quantizedgeometrybuffer_readLengthsUnsafe(this.__wbg_ptr)}}const ee="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_rangeproviderjs_free(t>>>0,1));class te{static __wrap(e){e>>>=0;const t=Object.create(te.prototype);return t.__wbg_ptr=e,ee.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_rangeproviderjs_free(t,0)}[Symbol.dispose](){this.free()}static new(t,r){const n=e.rangeproviderjs_new(t,r);return te.__wrap(n)}static withFetch(){const t=e.rangeproviderjs_withFetch();return te.__wrap(t)}}const re="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_rowgroup_free(t>>>0,1));class ne{static __wrap(e){e>>>=0;const t=Object.create(ne.prototype);return t.__wbg_ptr=e,re.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,re.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_rowgroup_free(t,0)}[Symbol.dispose](){this.free()}}async function _e(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(r){if("application/wasm"==e.headers.get("Content-Type"))throw r;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",r)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}function ie(){const n={wbg:{}};return n.wbg.__wbg_aborted_c078e36031795a9a=function(e){return e.aborted},n.wbg.__wbg_apply_36be6a55257c99bf=function(){return r(function(e,t,r){return e.apply(t,r)},arguments)},n.wbg.__wbg_buffer_609cc3eee51ed158=function(e){return e.buffer},n.wbg.__wbg_call_672a4d21634d4a24=function(){return r(function(e,t){return e.call(t)},arguments)},n.wbg.__wbg_call_7cccdd69e0791ae2=function(){return r(function(e,t,r){return e.call(t,r)},arguments)},n.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,r){let n,_;try{n=t,_=r,console.error(o(t,r))}finally{e.__wbindgen_free(n,_,1)}},n.wbg.__wbg_fieldmetadata_new=function(e){return E.__wrap(e)},n.wbg.__wbg_get_67b2ba62fc30de12=function(){return r(function(e,t){return Reflect.get(e,t)},arguments)},n.wbg.__wbg_length_8cfd2c6409af88ad=function(e){return e.length},n.wbg.__wbg_length_a446193dc22c12f8=function(e){return e.length},n.wbg.__wbg_multiscalegeometryfield_unwrap=function(e){return G.__unwrap(e)},n.wbg.__wbg_new_23a2665fac83c611=function(e,t){try{var r={a:e,b:t},n=(e,t)=>{const n=r.a;r.a=0;try{return j(n,r.b,e,t)}finally{r.a=n}};return new Promise(n)}finally{r.a=r.b=0}},n.wbg.__wbg_new_8a6f238a6ece86ea=function(){return new Error},n.wbg.__wbg_new_9fee97a409b32b68=function(e){return new Uint16Array(e)},n.wbg.__wbg_new_a12002a7f91c75be=function(e){return new Uint8Array(e)},n.wbg.__wbg_newnoargs_105ed471475aaf50=function(e,t){return new Function(o(e,t))},n.wbg.__wbg_newwithbyteoffsetandlength_f1dead44d1fc7212=function(e,t,r){return new Uint32Array(e,t>>>0,r>>>0)},n.wbg.__wbg_newwithbyteoffsetandlength_f254047f7e80e7ff=function(e,t,r){return new Int16Array(e,t>>>0,r>>>0)},n.wbg.__wbg_newwithlength_c4c419ef0bc8a1f8=function(e){return new Array(e>>>0)},n.wbg.__wbg_pageencodingdescriptor_new=function(e){return X.__wrap(e)},n.wbg.__wbg_parquetchunk_new=function(e){return Z.__wrap(e)},n.wbg.__wbg_parquetfile_new=function(e){return H.__wrap(e)},n.wbg.__wbg_queueMicrotask_98e746b9f850fe3d=function(e){queueMicrotask(e)},n.wbg.__wbg_queueMicrotask_c847cc8372bec908=function(e){return e.queueMicrotask},n.wbg.__wbg_resolve_4851785c9c5f573d=function(e){return Promise.resolve(e)},n.wbg.__wbg_rowgroup_new=function(e){return ne.__wrap(e)},n.wbg.__wbg_set_37837023f3d740e8=function(e,t,r){e[t>>>0]=r},n.wbg.__wbg_set_65595bdd868b3009=function(e,t,r){e.set(t,r>>>0)},n.wbg.__wbg_set_f4f1f0daa30696fc=function(e,t,r){e.set(t,r>>>0)},n.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,r){const n=u(r.stack,e.__wbindgen_malloc,e.__wbindgen_realloc),_=s;l().setInt32(t+4,_,!0),l().setInt32(t+0,n,!0)},n.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07=function(){const e="undefined"==typeof global?null:global;return w(e)?0:t(e)},n.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0=function(){const e="undefined"==typeof globalThis?null:globalThis;return w(e)?0:t(e)},n.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819=function(){const e="undefined"==typeof self?null:self;return w(e)?0:t(e)},n.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40=function(){const e="undefined"==typeof window?null:window;return w(e)?0:t(e)},n.wbg.__wbg_then_44b73946d2fb3e7d=function(e,t){return e.then(t)},n.wbg.__wbg_then_48b406749878a531=function(e,t,r){return e.then(t,r)},n.wbg.__wbg_valueOf_fdbb54fcdfe33477=function(e){return e.valueOf()},n.wbg.__wbindgen_bigint_from_i64=function(e){return e},n.wbg.__wbindgen_cb_drop=function(e){const t=e.original;if(1==t.cnt--)return t.a=0,!0;return!1},n.wbg.__wbindgen_closure_wrapper1681=function(e,t,r){return d(e,t,84,M)},n.wbg.__wbindgen_init_externref_table=function(){const t=e.__wbindgen_export_2,r=t.grow(4);t.set(0,void 0),t.set(r+0,void 0),t.set(r+1,null),t.set(r+2,!0),t.set(r+3,!1)},n.wbg.__wbindgen_is_function=function(e){return"function"==typeof e},n.wbg.__wbindgen_is_undefined=function(e){return void 0===e},n.wbg.__wbindgen_memory=function(){return e.memory},n.wbg.__wbindgen_number_get=function(e,t){const r="number"==typeof t?t:void 0;l().setFloat64(e+8,w(r)?0:r,!0),l().setInt32(e+0,!w(r),!0)},n.wbg.__wbindgen_number_new=function(e){return e},n.wbg.__wbindgen_string_new=function(e,t){return o(e,t)},n.wbg.__wbindgen_throw=function(e,t){throw new Error(o(e,t))},n.wbg.__wbindgen_uint8_array_new=function(t,r){var n=f(t,r).slice();e.__wbindgen_free(t,1*r,1);return n},n}function oe(t,r){return e=t.exports,ae.__wbindgen_wasm_module=r,g=null,y=null,S=null,F=null,_=null,e.__wbindgen_start(),e}function se(t){if(void 0!==e)return e;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module:t}=t):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const r=ie();t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t));return oe(new WebAssembly.Instance(t,r),t)}async function ae(t){if(void 0!==e)return e;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module_or_path:t}=t):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const r=ie();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));const{instance:n,module:_}=await _e(await t,r);return oe(n,_)}export{U as ColumnDescriptor,E as FieldMetadata,B as GeometryInfo,I as GeometryType,G as MultiscaleGeometryField,X as PageEncodingDescriptor,Z as ParquetChunk,H as ParquetFile,J as PrimaryGeometryField,Q as QuantizedGeometryBuffer,te as RangeProviderJs,ne as RowGroup,ae as default,p as enableTracing,se as initSync};
|
|
5
|
+
let e;function t(t){const r=e.__externref_table_alloc();return e.__wbindgen_export_2.set(r,t),r}function r(r,n){try{return r.apply(this,n)}catch(_){const r=t(_);e.__wbindgen_exn_store(r)}}Symbol.dispose||(Symbol.dispose=Symbol("Symbol.dispose"));const n="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&n.decode();let _=null;function i(){return null!==_&&0!==_.byteLength||(_=new Uint8Array(e.memory.buffer)),_}function o(e,t){return e>>>=0,n.decode(i().subarray(e,e+t))}let s=0;const a="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},u="function"==typeof a.encodeInto?function(e,t){return a.encodeInto(e,t)}:function(e,t){const r=a.encode(e);return t.set(r),{read:e.length,written:r.length}};function c(e,t,r){if(void 0===r){const r=a.encode(e),n=t(r.length,1)>>>0;return i().subarray(n,n+r.length).set(r),s=r.length,n}let n=e.length,_=t(n,1)>>>0;const o=i();let c=0;for(;c<n;c++){const t=e.charCodeAt(c);if(t>127)break;o[_+c]=t}if(c!==n){0!==c&&(e=e.slice(c)),_=r(_,n,n=c+3*e.length,1)>>>0;const t=i().subarray(_+c,_+n);c+=u(e,t).written,_=r(_,n,c,1)>>>0}return s=c,_}let g=null;function l(){return(null===g||!0===g.buffer.detached||void 0===g.buffer.detached&&g.buffer!==e.memory.buffer)&&(g=new DataView(e.memory.buffer)),g}function w(e){return null==e}const b="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{e.__wbindgen_export_6.get(t.dtor)(t.a,t.b)});function d(t,r,n,_){const i={a:t,b:r,cnt:1,dtor:n},o=(...t)=>{i.cnt++;const r=i.a;i.a=0;try{return _(r,i.b,...t)}finally{0===--i.cnt?(e.__wbindgen_export_6.get(i.dtor)(r,i.b),b.unregister(i)):i.a=r}};return o.original=i,b.register(o,i,i),o}function f(e,t){return e>>>=0,i().subarray(e/1,e/1+t)}function p(){e.enableTracing()}let y=null;function h(){return null!==y&&0!==y.byteLength||(y=new Float64Array(e.memory.buffer)),y}function m(e,t){return e>>>=0,h().subarray(e/8,e/8+t)}let F=null;function q(){return null!==F&&0!==F.byteLength||(F=new Uint32Array(e.memory.buffer)),F}function v(e,t){return e>>>=0,q().subarray(e/4,e/4+t)}function k(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`)}function T(t,r){t>>>=0;const n=l(),_=[];for(let i=t;i<t+4*r;i+=4)_.push(e.__wbindgen_export_2.get(n.getUint32(i,!0)));return e.__externref_drop_slice(t,r),_}function z(e,t){const r=t(8*e.length,8)>>>0;return h().set(e,r/8),s=e.length,r}function R(e,r){const n=r(4*e.length,4)>>>0;for(let _=0;_<e.length;_++){const r=t(e[_]);l().setUint32(n+4*_,r,!0)}return s=e.length,n}function O(e,t){const r=t(1*e.length,1)>>>0;return i().set(e,r/1),s=e.length,r}let A=null;function S(){return null!==A&&0!==A.byteLength||(A=new Uint16Array(e.memory.buffer)),A}function x(e,t){const r=t(2*e.length,2)>>>0;return S().set(e,r/2),s=e.length,r}function j(t,r,n){e.closure83_externref_shim(t,r,n)}function C(t,r,n,_){e.closure9_externref_shim(t,r,n,_)}const M=Object.freeze({Point:0,0:"Point",Polygon:1,1:"Polygon",Polyline:2,2:"Polyline",Multipoint:3,3:"Multipoint"}),I=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],L="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_columndescriptor_free(t>>>0,1));class U{static __wrap(e){e>>>=0;const t=Object.create(U.prototype);return t.__wbg_ptr=e,L.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,L.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_columndescriptor_free(t,0)}[Symbol.dispose](){this.free()}name(){let t,r;try{const n=e.columndescriptor_name(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}physicalType(){let t,r;try{const n=e.columndescriptor_physicalType(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}logicalType(){const t=e.columndescriptor_logicalType(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}encodings(){const t=e.columndescriptor_encodings(this.__wbg_ptr);var r=T(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),r}pageEncodings(){const t=e.columndescriptor_pageEncodings(this.__wbg_ptr);let r;return 0!==t[0]&&(r=T(t[0],t[1]).slice(),e.__wbindgen_free(t[0],4*t[1],4)),r}numValues(){return e.columndescriptor_numValues(this.__wbg_ptr)}compression(){let t,r;try{const n=e.columndescriptor_compression(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}compressedSize(){return e.columndescriptor_compressedSize(this.__wbg_ptr)}uncompressedSize(){return e.columndescriptor_uncompressedSize(this.__wbg_ptr)}nullCount(){const t=e.columndescriptor_nullCount(this.__wbg_ptr);return 0===t[0]?void 0:t[1]}distinctCount(){const t=e.columndescriptor_distinctCount(this.__wbg_ptr);return 0===t[0]?void 0:t[1]}minValue(){return e.columndescriptor_minValue(this.__wbg_ptr)}maxValue(){return e.columndescriptor_maxValue(this.__wbg_ptr)}}const W="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_fieldmetadata_free(t>>>0,1));class D{static __wrap(e){e>>>=0;const t=Object.create(D.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_fieldmetadata_free(t,0)}[Symbol.dispose](){this.free()}get id(){return e.__wbg_get_fieldmetadata_id(this.__wbg_ptr)}set id(t){e.__wbg_set_fieldmetadata_id(this.__wbg_ptr,t)}get name(){let t,r;try{const n=e.fieldmetadata_name(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}get type(){const t=e.fieldmetadata_esri_type(this.__wbg_ptr);return I[t]}get physicalType(){const t=e.fieldmetadata_physical_type(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}get logicalType(){const t=e.fieldmetadata_logical_type(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}}const E="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_geometryinfo_free(t>>>0,1));class B{static __wrap(e){e>>>=0;const t=Object.create(B.prototype);return t.__wbg_ptr=e,E.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_geometryinfo_free(t,0)}[Symbol.dispose](){this.free()}static new(t,r,n,_,i){k(_,J);var o=_.__destroy_into_raw();const a=R(i,e.__wbindgen_malloc),u=s,c=e.geometryinfo_new(t,r,n,o,a,u);return B.__wrap(c)}}const P="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_multiscalegeometryfield_free(t>>>0,1));class G{static __wrap(e){e>>>=0;const t=Object.create(G.prototype);return t.__wbg_ptr=e,P.register(t,t.__wbg_ptr,t),t}static __unwrap(e){return e instanceof G?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_multiscalegeometryfield_free(t,0)}[Symbol.dispose](){this.free()}get level(){return e.__wbg_get_multiscalegeometryfield_level(this.__wbg_ptr)}set level(t){e.__wbg_set_multiscalegeometryfield_level(this.__wbg_ptr,t)}static new(t,r,n,_){const i=c(r,e.__wbindgen_malloc,e.__wbindgen_realloc),o=s,a=z(n,e.__wbindgen_malloc),u=s,g=z(_,e.__wbindgen_malloc),l=s,w=e.multiscalegeometryfield_new(t,i,o,a,u,g,l);return G.__wrap(w)}has_field(t){const r=c(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s;return 0!==e.multiscalegeometryfield_has_field(this.__wbg_ptr,r,n)}}const V="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_pageencodingdescriptor_free(t>>>0,1));class X{static __wrap(e){e>>>=0;const t=Object.create(X.prototype);return t.__wbg_ptr=e,V.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_pageencodingdescriptor_free(t,0)}[Symbol.dispose](){this.free()}pageType(){let t,r;try{const n=e.pageencodingdescriptor_pageType(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}encoding(){let t,r;try{const n=e.pageencodingdescriptor_encoding(this.__wbg_ptr);return t=n[0],r=n[1],o(n[0],n[1])}finally{e.__wbindgen_free(t,r,1)}}count(){return e.pageencodingdescriptor_count(this.__wbg_ptr)}}const Y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_parquetchunk_free(t>>>0,1));class Z{static __wrap(e){e>>>=0;const t=Object.create(Z.prototype);return t.__wbg_ptr=e,Y.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_parquetchunk_free(t,0)}[Symbol.dispose](){this.free()}size(){return e.parquetchunk_size(this.__wbg_ptr)>>>0}isEmpty(t){return 0!==e.parquetchunk_isEmpty(this.__wbg_ptr,t)}rowId(t){return e.parquetchunk_rowId(this.__wbg_ptr,t)}readX(t){const r=e.parquetchunk_readX(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}readY(t){const r=e.parquetchunk_readY(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}readCoords(t){const r=e.parquetchunk_readCoords(this.__wbg_ptr,t);let n;return 0!==r[0]&&(n=m(r[0],r[1]).slice(),e.__wbindgen_free(r[0],8*r[1],8)),n}readLengths(t){const r=e.parquetchunk_readLengths(this.__wbg_ptr,t);let n;return 0!==r[0]&&(n=v(r[0],r[1]).slice(),e.__wbindgen_free(r[0],4*r[1],4)),n}transformGeometry(t,r,n,_,i,o){k(t,Q);const s=e.parquetchunk_transformGeometry(this.__wbg_ptr,t.__wbg_ptr,r,n,_,i,o);return 16777215===s?void 0:0!==s}boundsXMin(t){const r=e.parquetchunk_boundsXMin(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}boundsYMin(t){const r=e.parquetchunk_boundsYMin(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}boundsXMax(t){const r=e.parquetchunk_boundsXMax(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}boundsYMax(t){const r=e.parquetchunk_boundsYMax(this.__wbg_ptr,t);return 0===r[0]?void 0:r[1]}readAttribute(t,r){return e.parquetchunk_readAttribute(this.__wbg_ptr,t,r)}}const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_parquetfile_free(t>>>0,1));class H{static __wrap(e){e>>>=0;const t=Object.create(H.prototype);return t.__wbg_ptr=e,N.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_parquetfile_free(t,0)}[Symbol.dispose](){this.free()}static fromUrl(t,r,n,_){const i=c(t,e.__wbindgen_malloc,e.__wbindgen_realloc),o=s;let a=0;w(_)||(k(_,B),a=_.__destroy_into_raw());return e.parquetfile_fromUrl(i,o,r,n,a)}static fromBinary(t,r){const n=O(t,e.__wbindgen_malloc),_=s;let i=0;w(r)||(k(r,B),i=r.__destroy_into_raw());return e.parquetfile_fromBinary(n,_,i)}version(){return e.parquetfile_version(this.__wbg_ptr)}numRows(){return e.parquetfile_numRows(this.__wbg_ptr)>>>0}numFields(){return e.parquetfile_numFields(this.__wbg_ptr)>>>0}numColumns(){return e.parquetfile_numColumns(this.__wbg_ptr)>>>0}createdBy(){const t=e.parquetfile_createdBy(this.__wbg_ptr);let r;return 0!==t[0]&&(r=o(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),r}keyValueMetadata(t){const r=c(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s,_=e.parquetfile_keyValueMetadata(this.__wbg_ptr,r,n);let i;return 0!==_[0]&&(i=o(_[0],_[1]).slice(),e.__wbindgen_free(_[0],1*_[1],1)),i}keys(){const t=e.parquetfile_keys(this.__wbg_ptr);let r;return 0!==t[0]&&(r=T(t[0],t[1]).slice(),e.__wbindgen_free(t[0],4*t[1],4)),r}attributeIdFor(t){const r=c(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s;return e.parquetfile_attributeIdFor(this.__wbg_ptr,r,n)}fields(){const t=e.parquetfile_fields(this.__wbg_ptr);var r=T(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),r}rowGroups(){const t=e.parquetfile_rowGroups(this.__wbg_ptr);var r=T(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),r}ensureFields(t){const r=x(t,e.__wbindgen_malloc),n=s;return e.parquetfile_ensureFields(this.__wbg_ptr,r,n)}readFirstChunk(t){const r=x(t,e.__wbindgen_malloc),n=s;return e.parquetfile_readFirstChunk(this.__wbg_ptr,r,n)}readChunk(t,r,n,_,i){const o=x(n,e.__wbindgen_malloc),a=s;return e.parquetfile_readChunk(this.__wbg_ptr,t,r,o,a,_,i)}readAllChunks(t,r,n){const _=x(t,e.__wbindgen_malloc),i=s;return e.parquetfile_readAllChunks(this.__wbg_ptr,_,i,r,n)}queryZChunks(t,r,n,_){const i=x(r,e.__wbindgen_malloc),o=s;return e.parquetfile_queryZChunks(this.__wbg_ptr,t,i,o,n,_)}queryXZChunks(t,r,n){return e.parquetfile_queryXZChunks(this.__wbg_ptr,t,r,n)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_primarygeometryfield_free(t>>>0,1));class J{static __wrap(e){e>>>=0;const t=Object.create(J.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_primarygeometryfield_free(t,0)}[Symbol.dispose](){this.free()}static fromNative(t){const r=c(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s,_=e.primarygeometryfield_fromNative(r,n);return J.__wrap(_)}static fromWkb(t){const r=c(t,e.__wbindgen_malloc,e.__wbindgen_realloc),n=s,_=e.primarygeometryfield_fromWkb(r,n);return J.__wrap(_)}static fromLocation(t,r){const n=c(t,e.__wbindgen_malloc,e.__wbindgen_realloc),_=s,i=c(r,e.__wbindgen_malloc,e.__wbindgen_realloc),o=s,a=e.primarygeometryfield_fromLocation(n,_,i,o);return J.__wrap(a)}}const K="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_quantizedgeometrybuffer_free(t>>>0,1));class Q{static __wrap(e){e>>>=0;const t=Object.create(Q.prototype);return t.__wbg_ptr=e,K.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,K.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_quantizedgeometrybuffer_free(t,0)}[Symbol.dispose](){this.free()}static new(){const t=e.quantizedgeometrybuffer_new();return Q.__wrap(t)}readCoordsUnsafe(){return e.quantizedgeometrybuffer_readCoordsUnsafe(this.__wbg_ptr)}readLengthsUnsafe(){return e.quantizedgeometrybuffer_readLengthsUnsafe(this.__wbg_ptr)}}const ee="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_rangeproviderjs_free(t>>>0,1));class te{static __wrap(e){e>>>=0;const t=Object.create(te.prototype);return t.__wbg_ptr=e,ee.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_rangeproviderjs_free(t,0)}[Symbol.dispose](){this.free()}static new(t,r){const n=e.rangeproviderjs_new(t,r);return te.__wrap(n)}static withFetch(){const t=e.rangeproviderjs_withFetch();return te.__wrap(t)}}const re="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_rowgroup_free(t>>>0,1));class ne{static __wrap(e){e>>>=0;const t=Object.create(ne.prototype);return t.__wbg_ptr=e,re.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,re.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_rowgroup_free(t,0)}[Symbol.dispose](){this.free()}columnDescriptorForAttribute(t){const r=e.rowgroup_columnDescriptorForAttribute(this.__wbg_ptr,t);return U.__wrap(r)}}async function _e(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(r){if("application/wasm"==e.headers.get("Content-Type"))throw r;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",r)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}function ie(){const n={wbg:{}};return n.wbg.__wbg_aborted_c078e36031795a9a=function(e){return e.aborted},n.wbg.__wbg_apply_36be6a55257c99bf=function(){return r(function(e,t,r){return e.apply(t,r)},arguments)},n.wbg.__wbg_buffer_609cc3eee51ed158=function(e){return e.buffer},n.wbg.__wbg_call_672a4d21634d4a24=function(){return r(function(e,t){return e.call(t)},arguments)},n.wbg.__wbg_call_7cccdd69e0791ae2=function(){return r(function(e,t,r){return e.call(t,r)},arguments)},n.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,r){let n,_;try{n=t,_=r,console.error(o(t,r))}finally{e.__wbindgen_free(n,_,1)}},n.wbg.__wbg_fieldmetadata_new=function(e){return D.__wrap(e)},n.wbg.__wbg_get_67b2ba62fc30de12=function(){return r(function(e,t){return Reflect.get(e,t)},arguments)},n.wbg.__wbg_length_8cfd2c6409af88ad=function(e){return e.length},n.wbg.__wbg_length_a446193dc22c12f8=function(e){return e.length},n.wbg.__wbg_multiscalegeometryfield_unwrap=function(e){return G.__unwrap(e)},n.wbg.__wbg_new_23a2665fac83c611=function(e,t){try{var r={a:e,b:t},n=(e,t)=>{const n=r.a;r.a=0;try{return C(n,r.b,e,t)}finally{r.a=n}};return new Promise(n)}finally{r.a=r.b=0}},n.wbg.__wbg_new_8a6f238a6ece86ea=function(){return new Error},n.wbg.__wbg_new_9fee97a409b32b68=function(e){return new Uint16Array(e)},n.wbg.__wbg_new_a12002a7f91c75be=function(e){return new Uint8Array(e)},n.wbg.__wbg_newnoargs_105ed471475aaf50=function(e,t){return new Function(o(e,t))},n.wbg.__wbg_newwithbyteoffsetandlength_f1dead44d1fc7212=function(e,t,r){return new Uint32Array(e,t>>>0,r>>>0)},n.wbg.__wbg_newwithbyteoffsetandlength_f254047f7e80e7ff=function(e,t,r){return new Int16Array(e,t>>>0,r>>>0)},n.wbg.__wbg_newwithlength_c4c419ef0bc8a1f8=function(e){return new Array(e>>>0)},n.wbg.__wbg_pageencodingdescriptor_new=function(e){return X.__wrap(e)},n.wbg.__wbg_parquetchunk_new=function(e){return Z.__wrap(e)},n.wbg.__wbg_parquetfile_new=function(e){return H.__wrap(e)},n.wbg.__wbg_queueMicrotask_98e746b9f850fe3d=function(e){queueMicrotask(e)},n.wbg.__wbg_queueMicrotask_c847cc8372bec908=function(e){return e.queueMicrotask},n.wbg.__wbg_resolve_4851785c9c5f573d=function(e){return Promise.resolve(e)},n.wbg.__wbg_rowgroup_new=function(e){return ne.__wrap(e)},n.wbg.__wbg_set_37837023f3d740e8=function(e,t,r){e[t>>>0]=r},n.wbg.__wbg_set_65595bdd868b3009=function(e,t,r){e.set(t,r>>>0)},n.wbg.__wbg_set_f4f1f0daa30696fc=function(e,t,r){e.set(t,r>>>0)},n.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,r){const n=c(r.stack,e.__wbindgen_malloc,e.__wbindgen_realloc),_=s;l().setInt32(t+4,_,!0),l().setInt32(t+0,n,!0)},n.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07=function(){const e="undefined"==typeof global?null:global;return w(e)?0:t(e)},n.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0=function(){const e="undefined"==typeof globalThis?null:globalThis;return w(e)?0:t(e)},n.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819=function(){const e="undefined"==typeof self?null:self;return w(e)?0:t(e)},n.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40=function(){const e="undefined"==typeof window?null:window;return w(e)?0:t(e)},n.wbg.__wbg_then_44b73946d2fb3e7d=function(e,t){return e.then(t)},n.wbg.__wbg_then_48b406749878a531=function(e,t,r){return e.then(t,r)},n.wbg.__wbg_valueOf_fdbb54fcdfe33477=function(e){return e.valueOf()},n.wbg.__wbindgen_array_new=function(){return[]},n.wbg.__wbindgen_array_push=function(e,t){e.push(t)},n.wbg.__wbindgen_bigint_from_i64=function(e){return e},n.wbg.__wbindgen_cb_drop=function(e){const t=e.original;if(1==t.cnt--)return t.a=0,!0;return!1},n.wbg.__wbindgen_closure_wrapper1683=function(e,t,r){return d(e,t,84,j)},n.wbg.__wbindgen_init_externref_table=function(){const t=e.__wbindgen_export_2,r=t.grow(4);t.set(0,void 0),t.set(r+0,void 0),t.set(r+1,null),t.set(r+2,!0),t.set(r+3,!1)},n.wbg.__wbindgen_is_function=function(e){return"function"==typeof e},n.wbg.__wbindgen_is_undefined=function(e){return void 0===e},n.wbg.__wbindgen_memory=function(){return e.memory},n.wbg.__wbindgen_number_get=function(e,t){const r="number"==typeof t?t:void 0;l().setFloat64(e+8,w(r)?0:r,!0),l().setInt32(e+0,!w(r),!0)},n.wbg.__wbindgen_number_new=function(e){return e},n.wbg.__wbindgen_string_new=function(e,t){return o(e,t)},n.wbg.__wbindgen_throw=function(e,t){throw new Error(o(e,t))},n.wbg.__wbindgen_uint8_array_new=function(t,r){var n=f(t,r).slice();e.__wbindgen_free(t,1*r,1);return n},n}function oe(t,r){return e=t.exports,ae.__wbindgen_wasm_module=r,g=null,y=null,A=null,F=null,_=null,e.__wbindgen_start(),e}function se(t){if(void 0!==e)return e;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module:t}=t):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const r=ie();t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t));return oe(new WebAssembly.Instance(t,r),t)}async function ae(t){if(void 0!==e)return e;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module_or_path:t}=t):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const r=ie();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));const{instance:n,module:_}=await _e(await t,r);return oe(n,_)}export{U as ColumnDescriptor,D as FieldMetadata,B as GeometryInfo,M as GeometryType,G as MultiscaleGeometryField,X as PageEncodingDescriptor,Z as ParquetChunk,H as ParquetFile,J as PrimaryGeometryField,Q as QuantizedGeometryBuffer,te as RangeProviderJs,ne as RowGroup,ae as default,p as enableTracing,se as initSync};
|
package/chunks/i3s.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
var r,e=(r="undefined"!=typeof document?document.currentScript?.src:void 0,function(e={}){var t,n,a=e,o=new Promise((r,e)=>{t=r,n=e}),i="object"==typeof window,s="undefined"!=typeof WorkerGlobalScope;"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&process.type;var u,c,l=Object.assign({},a),f=(r,e)=>{throw e},d="";function p(r){return a.locateFile?a.locateFile(r,d):d+r}(i||s)&&(s?d=self.location.href:"undefined"!=typeof document&&document.currentScript&&(d=document.currentScript.src),r&&(d=r),d=d.startsWith("blob:")?"":d.substr(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1),s&&(c=r=>{var e=new XMLHttpRequest;return e.open("GET",r,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),u=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)});var v=a.print||console.log.bind(console),h=a.printErr||console.error.bind(console);Object.assign(a,l),l=null,a.arguments&&a.arguments,a.thisProgram&&a.thisProgram;var m,y,g,_,w,b,A,T,C,P=a.wasmBinary,E=!1;function W(){var r=m.buffer;a.HEAP8=y=new Int8Array(r),a.HEAP16=_=new Int16Array(r),a.HEAPU8=g=new Uint8Array(r),a.HEAPU16=w=new Uint16Array(r),a.HEAP32=b=new Int32Array(r),a.HEAPU32=A=new Uint32Array(r),a.HEAPF32=T=new Float32Array(r),a.HEAPF64=C=new Float64Array(r)}var F=[],k=[],j=[];function R(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)x(a.preRun.shift());rr(F)}function S(){rr(k)}function $(){if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)U(a.postRun.shift());rr(j)}function x(r){F.unshift(r)}function I(r){k.unshift(r)}function U(r){j.unshift(r)}var O=0,H=null;function V(r){O++,a.monitorRunDependencies?.(O)}function D(r){if(O--,a.monitorRunDependencies?.(O),0==O&&H){var e=H;H=null,e()}}function M(r){a.onAbort?.(r),h(r="Aborted("+r+")"),E=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw n(e),e}var B,N="data:application/octet-stream;base64,",z=r=>r.startsWith(N);function G(){var r="i3s.wasm";return z(r)?r:p(r)}function L(r){if(r==B&&P)return new Uint8Array(P);if(c)return c(r);throw"both async and sync fetching of the wasm failed"}async function q(r){if(!P)try{var e=await u(r);return new Uint8Array(e)}catch{}return L(r)}async function X(r,e){try{var t=await q(r);return await WebAssembly.instantiate(t,e)}catch(n){h(`failed to asynchronously prepare wasm: ${n}`),M(n)}}async function J(r,e,t){if(!r&&"function"==typeof WebAssembly.instantiateStreaming&&!z(e)&&"function"==typeof fetch)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(a){h(`wasm streaming compile failed: ${a}`),h("falling back to ArrayBuffer instantiation")}return X(e,t)}function K(){return{env:Ne,wasi_snapshot_preview1:Ne}}async function Q(){function r(r,e){return Be=r.exports,m=Be.memory,W(),Z=Be.__indirect_function_table,I(Be.__wasm_call_ctors),D(),Be}function e(e){r(e.instance)}V();var t=K();if(a.instantiateWasm)try{return a.instantiateWasm(t,r)}catch(i){h(`Module.instantiateWasm callback failed with error: ${i}`),n(i)}B??=G();try{var o=await J(P,B,t);return e(o),o}catch(i){return void n(i)}}class Y{name="ExitStatus";constructor(r){this.message=`Program terminated with exit(${r})`,this.status=r}}var Z,rr=r=>{for(;r.length>0;)r.shift()(a)},er=a.noExitRuntime||!0,tr=[],nr=r=>{var e=tr[r];return e||(r>=tr.length&&(tr.length=r+1),tr[r]=e=Z.get(r)),e},ar=(r,e)=>nr(r)(e);class or{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){A[this.ptr+4>>2]=r}get_type(){return A[this.ptr+4>>2]}set_destructor(r){A[this.ptr+8>>2]=r}get_destructor(){return A[this.ptr+8>>2]}set_caught(r){r=r?1:0,y[this.ptr+12]=r}get_caught(){return 0!=y[this.ptr+12]}set_rethrown(r){r=r?1:0,y[this.ptr+13]=r}get_rethrown(){return 0!=y[this.ptr+13]}init(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)}set_adjusted_ptr(r){A[this.ptr+16>>2]=r}get_adjusted_ptr(){return A[this.ptr+16>>2]}}var ir=(r,e,t)=>{throw new or(r).init(e,t),r},sr=()=>M(""),ur={},cr=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function lr(r){return this.fromWireType(A[r>>2])}var fr,dr,pr,vr={},hr={},mr={},yr=r=>{throw new fr(r)},gr=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&yr("Mismatched type converter count");for(var a=0;a<r.length;++a)Pr(r[a],n[a])}r.forEach(r=>mr[r]=e);var a=new Array(e.length),o=[],i=0;e.forEach((r,e)=>{hr.hasOwnProperty(r)?a[e]=hr[r]:(o.push(r),vr.hasOwnProperty(r)||(vr[r]=[]),vr[r].push(()=>{a[e]=hr[r],++i===o.length&&n(a)}))}),0===o.length&&n(a)},_r=r=>{var e=ur[r];delete ur[r];var t=e.rawConstructor,n=e.rawDestructor,a=e.fields,o=a.map(r=>r.getterReturnType).concat(a.map(r=>r.setterArgumentType));gr([r],o,r=>{var o={};return a.forEach((e,t)=>{var n=e.fieldName,i=r[t],s=e.getter,u=e.getterContext,c=r[t+a.length],l=e.setter,f=e.setterContext;o[n]={read:r=>i.fromWireType(s(u,r)),write:(r,e)=>{var t=[];l(f,r,c.toWireType(t,e)),cr(t)}}}),[{name:e.name,fromWireType:r=>{var e={};for(var t in o)e[t]=o[t].read(r);return n(r),e},toWireType:(r,e)=>{for(var a in o)if(!(a in e))throw new TypeError(`Missing field: "${a}"`);var i=t();for(a in o)o[a].write(i,e[a]);return null!==r&&r.push(n,i),i},argPackAdvance:Er,readValueFromPointer:lr,destructorFunction:n}]})},wr=(r,e,t,n,a)=>{},br=()=>{for(var r=new Array(256),e=0;e<256;++e)r[e]=String.fromCharCode(e);dr=r},Ar=r=>{for(var e="",t=r;g[t];)e+=dr[g[t++]];return e},Tr=r=>{throw new pr(r)};function Cr(r,e,t={}){var n=e.name;if(r||Tr(`type "${n}" must have a positive integer typeid pointer`),hr.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;Tr(`Cannot register type '${n}' twice`)}if(hr[r]=e,delete mr[r],vr.hasOwnProperty(r)){var a=vr[r];delete vr[r],a.forEach(r=>r())}}function Pr(r,e,t={}){return Cr(r,e,t)}var Er=8,Wr=(r,e,t,n)=>{Pr(r,{name:e=Ar(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},argPackAdvance:Er,readValueFromPointer:function(r){return this.fromWireType(g[r])},destructorFunction:null})},Fr=[],kr=[],jr=r=>{r>9&&0===--kr[r+1]&&(kr[r]=void 0,Fr.push(r))},Rr=()=>kr.length/2-5-Fr.length,Sr=()=>{kr.push(0,1,void 0,1,null,1,!0,1,!1,1),a.count_emval_handles=Rr},$r={toValue:r=>(r||Tr("Cannot use deleted val. handle = "+r),kr[r]),toHandle:r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Fr.pop()||kr.length;return kr[e]=r,kr[e+1]=1,e}}}},xr={name:"emscripten::val",fromWireType:r=>{var e=$r.toValue(r);return jr(r),e},toWireType:(r,e)=>$r.toHandle(e),argPackAdvance:Er,readValueFromPointer:lr,destructorFunction:null},Ir=r=>Pr(r,xr),Ur=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(T[r>>2])};case 8:return function(r){return this.fromWireType(C[r>>3])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}},Or=(r,e,t)=>{Pr(r,{name:e=Ar(e),fromWireType:r=>r,toWireType:(r,e)=>e,argPackAdvance:Er,readValueFromPointer:Ur(e,t),destructorFunction:null})},Hr=(r,e)=>Object.defineProperty(e,"name",{value:r});function Vr(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}function Dr(r,e,t,n,a,o){var i=e.length;i<2&&Tr("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var s=Vr(e),u="void"!==e[0].name,c=i-2,l=new Array(c),f=[],d=[];return Hr(r,function(...r){var t;d.length=0,f.length=1,f[0]=a;for(var o=0;o<c;++o)l[o]=e[o+2].toWireType(d,r[o]),f.push(l[o]);function i(r){if(s)cr(d);else for(var n=2;n<e.length;n++){var a=1===n?t:l[n-2];null!==e[n].destructorFunction&&e[n].destructorFunction(a)}if(u)return e[0].fromWireType(r)}return i(n(...f))})}var Mr,Br=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||Tr(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},Nr=(r,e,t)=>{a.hasOwnProperty(r)?((void 0===t||void 0!==a[r].overloadTable&&void 0!==a[r].overloadTable[t])&&Tr(`Cannot register public name '${r}' twice`),Br(a,r,r),a[r].overloadTable.hasOwnProperty(t)&&Tr(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),a[r].overloadTable[t]=e):(a[r]=e,a[r].argCount=t)},zr=(r,e)=>{for(var t=[],n=0;n<r;n++)t.push(A[e+4*n>>2]);return t},Gr=(r,e,t)=>{a.hasOwnProperty(r)||yr("Replacing nonexistent public symbol"),void 0!==a[r].overloadTable&&void 0!==t?a[r].overloadTable[t]=e:(a[r]=e,a[r].argCount=t)},Lr=(r,e,t)=>(r=r.replace(/p/g,"i"),(0,a["dynCall_"+r])(e,...t)),qr=(r,e,t=[])=>r.includes("j")?Lr(r,e,t):nr(e)(...t),Xr=(r,e)=>(...t)=>qr(r,e,t),Jr=(r,e)=>{function t(){return r.includes("j")?Xr(r,e):nr(e)}r=Ar(r);var n=t();return"function"!=typeof n&&Tr(`unknown function pointer with signature ${r}: ${e}`),n},Kr=(r,e)=>{var t=Hr(e,function(r){this.name=e,this.message=r;var t=new Error(r).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))});return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},t},Qr=r=>{var e=Ge(r),t=Ar(e);return qe(e),t},Yr=(r,e)=>{var t=[],n={};function a(r){n[r]||hr[r]||(mr[r]?mr[r].forEach(a):(t.push(r),n[r]=!0))}throw e.forEach(a),new Mr(`${r}: `+t.map(Qr).join([", "]))},Zr=r=>{const e=(r=r.trim()).indexOf("(");return-1!==e?r.substr(0,e):r},re=(r,e,t,n,a,o,i,s)=>{var u=zr(e,t);r=Ar(r),r=Zr(r),a=Jr(n,a),Nr(r,function(){Yr(`Cannot call ${r} due to unbound types`,u)},e-1),gr([],u,t=>{var n=[t[0],null].concat(t.slice(1));return Gr(r,Dr(r,n,null,a,o),e-1),[]})},ee=(r,e,t)=>{switch(e){case 1:return t?r=>y[r]:r=>g[r];case 2:return t?r=>_[r>>1]:r=>w[r>>1];case 4:return t?r=>b[r>>2]:r=>A[r>>2];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}},te=(r,e,t,n,a)=>{e=Ar(e);var o=r=>r;if(0===n){var i=32-8*t;o=r=>r<<i>>>i}var s=e.includes("unsigned"),u=(r,e)=>{};Pr(r,{name:e,fromWireType:o,toWireType:s?function(r,e){return u(e,this.name),e>>>0}:function(r,e){return u(e,this.name),e},argPackAdvance:Er,readValueFromPointer:ee(e,t,0!==n),destructorFunction:null})},ne=(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function a(r){var e=A[r>>2],t=A[r+4>>2];return new n(y.buffer,t,e)}Pr(r,{name:t=Ar(t),fromWireType:a,argPackAdvance:Er,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},ae=(r,e,t,n)=>{if(!(n>0))return 0;for(var a=t,o=t+n-1,i=0;i<r.length;++i){var s=r.charCodeAt(i);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&r.charCodeAt(++i)),s<=127){if(t>=o)break;e[t++]=s}else if(s<=2047){if(t+1>=o)break;e[t++]=192|s>>6,e[t++]=128|63&s}else if(s<=65535){if(t+2>=o)break;e[t++]=224|s>>12,e[t++]=128|s>>6&63,e[t++]=128|63&s}else{if(t+3>=o)break;e[t++]=240|s>>18,e[t++]=128|s>>12&63,e[t++]=128|s>>6&63,e[t++]=128|63&s}}return e[t]=0,t-a},oe=(r,e,t)=>ae(r,g,e,t),ie=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e},se="undefined"!=typeof TextDecoder?new TextDecoder:void 0,ue=(r,e=0,t=NaN)=>{for(var n=e+t,a=e;r[a]&&!(a>=n);)++a;if(a-e>16&&r.buffer&&se)return se.decode(r.subarray(e,a));for(var o="";e<a;){var i=r[e++];if(128&i){var s=63&r[e++];if(192!=(224&i)){var u=63&r[e++];if((i=224==(240&i)?(15&i)<<12|s<<6|u:(7&i)<<18|s<<12|u<<6|63&r[e++])<65536)o+=String.fromCharCode(i);else{var c=i-65536;o+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else o+=String.fromCharCode((31&i)<<6|s)}else o+=String.fromCharCode(i)}return o},ce=(r,e)=>r?ue(g,r,e):"",le=(r,e)=>{Pr(r,{name:e=Ar(e),fromWireType(r){for(var e,t=A[r>>2],n=r+4,a=n,o=0;o<=t;++o){var i=n+o;if(o==t||0==g[i]){var s=ce(a,i-a);void 0===e?e=s:(e+=String.fromCharCode(0),e+=s),a=i+1}}return qe(r),e},toWireType(r,e){var t;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||Tr("Cannot pass non-string to std::string"),t=n?ie(e):e.length;var a=Le(4+t+1),o=a+4;if(A[a>>2]=t,n)oe(e,o,t+1);else if(n)for(var i=0;i<t;++i){var s=e.charCodeAt(i);s>255&&(qe(o),Tr("String has UTF-16 code units that do not fit in 8 bits")),g[o+i]=s}else for(i=0;i<t;++i)g[o+i]=e[i];return null!==r&&r.push(qe,a),a},argPackAdvance:Er,readValueFromPointer:lr,destructorFunction(r){qe(r)}})},fe="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,de=(r,e)=>{for(var t=r,n=t>>1,a=n+e/2;!(n>=a)&&w[n];)++n;if((t=n<<1)-r>32&&fe)return fe.decode(g.subarray(r,t));for(var o="",i=0;!(i>=e/2);++i){var s=_[r+2*i>>1];if(0==s)break;o+=String.fromCharCode(s)}return o},pe=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,a=(t-=2)<2*r.length?t/2:r.length,o=0;o<a;++o){var i=r.charCodeAt(o);_[e>>1]=i,e+=2}return _[e>>1]=0,e-n},ve=r=>2*r.length,he=(r,e)=>{for(var t=0,n="";!(t>=e/4);){var a=b[r+4*t>>2];if(0==a)break;if(++t,a>=65536){var o=a-65536;n+=String.fromCharCode(55296|o>>10,56320|1023&o)}else n+=String.fromCharCode(a)}return n},me=(r,e,t)=>{if(t??=2147483647,t<4)return 0;for(var n=e,a=n+t-4,o=0;o<r.length;++o){var i=r.charCodeAt(o);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&r.charCodeAt(++o)),b[e>>2]=i,(e+=4)+4>a)break}return b[e>>2]=0,e-n},ye=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n>=55296&&n<=57343&&++t,e+=4}return e},ge=(r,e,t)=>{var n,a,o,i;t=Ar(t),2===e?(n=de,a=pe,i=ve,o=r=>w[r>>1]):4===e&&(n=he,a=me,i=ye,o=r=>A[r>>2]),Pr(r,{name:t,fromWireType:r=>{for(var t,a=A[r>>2],i=r+4,s=0;s<=a;++s){var u=r+4+s*e;if(s==a||0==o(u)){var c=n(i,u-i);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),i=u+e}}return qe(r),t},toWireType:(r,n)=>{"string"!=typeof n&&Tr(`Cannot pass non-string to C++ string type ${t}`);var o=i(n),s=Le(4+o+e);return A[s>>2]=o/e,a(n,s+4,o+e),null!==r&&r.push(qe,s),s},argPackAdvance:Er,readValueFromPointer:lr,destructorFunction(r){qe(r)}})},_e=(r,e,t,n,a,o)=>{ur[r]={name:Ar(e),rawConstructor:Jr(t,n),rawDestructor:Jr(a,o),fields:[]}},we=(r,e,t,n,a,o,i,s,u,c)=>{ur[r].fields.push({fieldName:Ar(e),getterReturnType:t,getter:Jr(n,a),getterContext:o,setterArgumentType:i,setter:Jr(s,u),setterContext:c})},be=(r,e)=>{Pr(r,{isVoid:!0,name:e=Ar(e),argPackAdvance:0,fromWireType:()=>{},toWireType:(r,e)=>{}})},Ae=(r,e,t)=>g.copyWithin(r,e,e+t),Te=0,Ce=()=>{er=!1,Te=0},Pe=r=>{r>9&&(kr[r+1]+=1)},Ee={},We=r=>{var e=Ee[r];return void 0===e?Ar(r):e},Fe=r=>$r.toHandle(We(r)),ke=(r,e)=>{var t=hr[r];return void 0===t&&Tr(`${e} has unknown type ${Qr(r)}`),t},je=(r,e)=>{var t=(r=ke(r,"_emval_take_value")).readValueFromPointer(e);return $r.toHandle(t)},Re=()=>2147483648,Se=(r,e)=>Math.ceil(r/e)*e,$e=r=>{var e=(r-m.buffer.byteLength+65535)/65536|0;try{return m.grow(e),W(),1}catch(t){}},xe=r=>{var e=g.length;r>>>=0;var t=Re();if(r>t)return!1;for(var n=1;n<=4;n*=2){var a=e*(1+.2/n);a=Math.min(a,r+100663296);var o=Math.min(t,Se(Math.max(r,a),65536));if($e(o))return!0}return!1},Ie=r=>52;function Ue(r,e,t,n,a){return 70}var Oe=[null,[],[]],He=(r,e)=>{var t=Oe[r];0===e||10===e?((1===r?v:h)(ue(t)),t.length=0):t.push(e)},Ve=(r,e,t,n)=>{for(var a=0,o=0;o<t;o++){var i=A[e>>2],s=A[e+4>>2];e+=8;for(var u=0;u<s;u++)He(r,g[i+u]);a+=s}return A[n>>2]=a,0},De=()=>er||Te>0,Me=r=>{De()||(a.onExit?.(r),E=!0),f(r,new Y(r))};fr=a.InternalError=class extends Error{constructor(r){super(r),this.name="InternalError"}},br(),pr=a.BindingError=class extends Error{constructor(r){super(r),this.name="BindingError"}},Sr(),Mr=a.UnboundTypeError=Kr(Error,"UnboundTypeError");var Be,Ne={__call_sighandler:ar,__cxa_throw:ir,_abort_js:sr,_embind_finalize_value_object:_r,_embind_register_bigint:wr,_embind_register_bool:Wr,_embind_register_emval:Ir,_embind_register_float:Or,_embind_register_function:re,_embind_register_integer:te,_embind_register_memory_view:ne,_embind_register_std_string:le,_embind_register_std_wstring:ge,_embind_register_value_object:_e,_embind_register_value_object_field:we,_embind_register_void:be,_emscripten_memcpy_js:Ae,_emscripten_runtime_keepalive_clear:Ce,_emval_decref:jr,_emval_incref:Pe,_emval_new_cstring:Fe,_emval_take_value:je,emscripten_resize_heap:xe,fd_close:Ie,fd_seek:Ue,fd_write:Ve,proc_exit:Me};Q();var ze,Ge=r=>(Ge=Be.__getTypeName)(r),Le=r=>(Le=Be.malloc)(r),qe=r=>(qe=Be.free)(r);function Xe(){function r(){ze||(ze=!0,a.calledRun=!0,E||(S(),t(a),a.onRuntimeInitialized?.(),$()))}O>0||(R(),O>0||(a.setStatus?(a.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>a.setStatus(""),1),r()},1)):r()))}if(a.dynCall_vij=(r,e,t,n)=>(a.dynCall_vij=Be.dynCall_vij)(r,e,t,n),a.dynCall_jiji=(r,e,t,n,o)=>(a.dynCall_jiji=Be.dynCall_jiji)(r,e,t,n,o),H=function r(){ze||Xe(),ze||(H=r)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return Xe(),o});export{e as default};
|
|
5
|
+
var r,e=(r="undefined"!=typeof document?document.currentScript?.src:void 0,function(e={}){var t,n,a=e,o=new Promise((r,e)=>{t=r,n=e}),i="object"==typeof window,u="undefined"!=typeof WorkerGlobalScope;"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&process.type;var s,c,f=Object.assign({},a),l=(r,e)=>{throw e},d="";function v(r){return a.locateFile?a.locateFile(r,d):d+r}(i||u)&&(u?d=self.location.href:"undefined"!=typeof document&&document.currentScript&&(d=document.currentScript.src),r&&(d=r),d=d.startsWith("blob:")?"":d.substr(0,d.replace(/[?#].*/,"").lastIndexOf("/")+1),u&&(c=r=>{var e=new XMLHttpRequest;return e.open("GET",r,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),s=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)});var p=a.print||console.log.bind(console),h=a.printErr||console.error.bind(console);Object.assign(a,f),f=null,a.arguments&&a.arguments,a.thisProgram&&a.thisProgram;var m,g,y,_,w,b,A,T,C,P=a.wasmBinary,E=!1;function W(){var r=m.buffer;a.HEAP8=g=new Int8Array(r),a.HEAP16=_=new Int16Array(r),a.HEAPU8=y=new Uint8Array(r),a.HEAPU16=w=new Uint16Array(r),a.HEAP32=b=new Int32Array(r),a.HEAPU32=A=new Uint32Array(r),a.HEAPF32=T=new Float32Array(r),a.HEAPF64=C=new Float64Array(r)}var k=[],F=[],j=[];function R(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)x(a.preRun.shift());rr(k)}function S(){rr(F)}function $(){if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)U(a.postRun.shift());rr(j)}function x(r){k.unshift(r)}function I(r){F.unshift(r)}function U(r){j.unshift(r)}var O=0,H=null;function V(r){O++,a.monitorRunDependencies?.(O)}function D(r){if(O--,a.monitorRunDependencies?.(O),0==O&&H){var e=H;H=null,e()}}function M(r){a.onAbort?.(r),h(r="Aborted("+r+")"),E=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw n(e),e}var N,B="data:application/octet-stream;base64,",z=r=>r.startsWith(B);function G(){var r="i3s.wasm";return z(r)?r:v(r)}function L(r){if(r==N&&P)return new Uint8Array(P);if(c)return c(r);throw"both async and sync fetching of the wasm failed"}async function q(r){if(!P)try{var e=await s(r);return new Uint8Array(e)}catch{}return L(r)}async function X(r,e){try{var t=await q(r);return await WebAssembly.instantiate(t,e)}catch(n){h(`failed to asynchronously prepare wasm: ${n}`),M(n)}}async function J(r,e,t){if(!r&&"function"==typeof WebAssembly.instantiateStreaming&&!z(e)&&"function"==typeof fetch)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(a){h(`wasm streaming compile failed: ${a}`),h("falling back to ArrayBuffer instantiation")}return X(e,t)}function K(){return{env:Be,wasi_snapshot_preview1:Be}}async function Q(){function r(r,e){return Ne=Xe(Ne=r.exports),m=Ne.memory,W(),Z=Ne.__indirect_function_table,I(Ne.__wasm_call_ctors),D(),Ne}function e(e){r(e.instance)}V();var t=K();if(a.instantiateWasm)try{return a.instantiateWasm(t,r)}catch(i){h(`Module.instantiateWasm callback failed with error: ${i}`),n(i)}N??=G();try{var o=await J(P,N,t);return e(o),o}catch(i){return void n(i)}}class Y{name="ExitStatus";constructor(r){this.message=`Program terminated with exit(${r})`,this.status=r}}var Z,rr=r=>{for(;r.length>0;)r.shift()(a)},er=a.noExitRuntime||!0,tr=[],nr=r=>{var e=tr[r];return e||(r>=tr.length&&(tr.length=r+1),tr[r]=e=Z.get(r)),e};function ar(r,e){return nr(r>>>=0)(e)}class or{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){A[this.ptr+4>>>2>>>0]=r}get_type(){return A[this.ptr+4>>>2>>>0]}set_destructor(r){A[this.ptr+8>>>2>>>0]=r}get_destructor(){return A[this.ptr+8>>>2>>>0]}set_caught(r){r=r?1:0,g[this.ptr+12>>>0]=r}get_caught(){return 0!=g[this.ptr+12>>>0]}set_rethrown(r){r=r?1:0,g[this.ptr+13>>>0]=r}get_rethrown(){return 0!=g[this.ptr+13>>>0]}init(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)}set_adjusted_ptr(r){A[this.ptr+16>>>2>>>0]=r}get_adjusted_ptr(){return A[this.ptr+16>>>2>>>0]}}function ir(r,e,t){throw e>>>=0,t>>>=0,new or(r>>>=0).init(e,t),r}var ur=()=>M(""),sr={},cr=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function fr(r){return this.fromWireType(A[r>>>2>>>0])}var lr,dr={},vr={},pr={},hr=r=>{throw new lr(r)},mr=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&hr("Mismatched type converter count");for(var a=0;a<r.length;++a)Pr(r[a],n[a])}r.forEach(r=>pr[r]=e);var a=new Array(e.length),o=[],i=0;e.forEach((r,e)=>{vr.hasOwnProperty(r)?a[e]=vr[r]:(o.push(r),dr.hasOwnProperty(r)||(dr[r]=[]),dr[r].push(()=>{a[e]=vr[r],++i===o.length&&n(a)}))}),0===o.length&&n(a)},gr=function(r){var e=sr[r>>>=0];delete sr[r];var t=e.rawConstructor,n=e.rawDestructor,a=e.fields,o=a.map(r=>r.getterReturnType).concat(a.map(r=>r.setterArgumentType));mr([r],o,r=>{var o={};return a.forEach((e,t)=>{var n=e.fieldName,i=r[t],u=e.getter,s=e.getterContext,c=r[t+a.length],f=e.setter,l=e.setterContext;o[n]={read:r=>i.fromWireType(u(s,r)),write:(r,e)=>{var t=[];f(l,r,c.toWireType(t,e)),cr(t)}}}),[{name:e.name,fromWireType:r=>{var e={};for(var t in o)e[t]=o[t].read(r);return n(r),e},toWireType:(r,e)=>{for(var a in o)if(!(a in e))throw new TypeError(`Missing field: "${a}"`);var i=t();for(a in o)o[a].write(i,e[a]);return null!==r&&r.push(n,i),i},argPackAdvance:Er,readValueFromPointer:fr,destructorFunction:n}]})};function yr(r,e,t,n,a){}var _r,wr,br=()=>{for(var r=new Array(256),e=0;e<256;++e)r[e]=String.fromCharCode(e);_r=r},Ar=r=>{for(var e="",t=r;y[t>>>0];)e+=_r[y[t++>>>0]];return e},Tr=r=>{throw new wr(r)};function Cr(r,e,t={}){var n=e.name;if(r||Tr(`type "${n}" must have a positive integer typeid pointer`),vr.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;Tr(`Cannot register type '${n}' twice`)}if(vr[r]=e,delete pr[r],dr.hasOwnProperty(r)){var a=dr[r];delete dr[r],a.forEach(r=>r())}}function Pr(r,e,t={}){return Cr(r,e,t)}var Er=8;function Wr(r,e,t,n){Pr(r>>>=0,{name:e=Ar(e>>>=0),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},argPackAdvance:Er,readValueFromPointer:function(r){return this.fromWireType(y[r>>>0])},destructorFunction:null})}var kr=[],Fr=[];function jr(r){(r>>>=0)>9&&0===--Fr[r+1]&&(Fr[r]=void 0,kr.push(r))}var Rr=()=>Fr.length/2-5-kr.length,Sr=()=>{Fr.push(0,1,void 0,1,null,1,!0,1,!1,1),a.count_emval_handles=Rr},$r={toValue:r=>(r||Tr("Cannot use deleted val. handle = "+r),Fr[r]),toHandle:r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=kr.pop()||Fr.length;return Fr[e]=r,Fr[e+1]=1,e}}}},xr={name:"emscripten::val",fromWireType:r=>{var e=$r.toValue(r);return jr(r),e},toWireType:(r,e)=>$r.toHandle(e),argPackAdvance:Er,readValueFromPointer:fr,destructorFunction:null};function Ir(r){return Pr(r>>>=0,xr)}var Ur=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(T[r>>>2>>>0])};case 8:return function(r){return this.fromWireType(C[r>>>3>>>0])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}},Or=function(r,e,t){t>>>=0,Pr(r>>>=0,{name:e=Ar(e>>>=0),fromWireType:r=>r,toWireType:(r,e)=>e,argPackAdvance:Er,readValueFromPointer:Ur(e,t),destructorFunction:null})},Hr=(r,e)=>Object.defineProperty(e,"name",{value:r});function Vr(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}function Dr(r,e,t,n,a,o){var i=e.length;i<2&&Tr("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var u=Vr(e),s="void"!==e[0].name,c=i-2,f=new Array(c),l=[],d=[];return Hr(r,function(...r){var t;d.length=0,l.length=1,l[0]=a;for(var o=0;o<c;++o)f[o]=e[o+2].toWireType(d,r[o]),l.push(f[o]);function i(r){if(u)cr(d);else for(var n=2;n<e.length;n++){var a=1===n?t:f[n-2];null!==e[n].destructorFunction&&e[n].destructorFunction(a)}if(s)return e[0].fromWireType(r)}return i(n(...l))})}var Mr,Nr=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||Tr(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},Br=(r,e,t)=>{a.hasOwnProperty(r)?((void 0===t||void 0!==a[r].overloadTable&&void 0!==a[r].overloadTable[t])&&Tr(`Cannot register public name '${r}' twice`),Nr(a,r,r),a[r].overloadTable.hasOwnProperty(t)&&Tr(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),a[r].overloadTable[t]=e):(a[r]=e,a[r].argCount=t)},zr=(r,e)=>{for(var t=[],n=0;n<r;n++)t.push(A[e+4*n>>>2>>>0]);return t},Gr=(r,e,t)=>{a.hasOwnProperty(r)||hr("Replacing nonexistent public symbol"),void 0!==a[r].overloadTable&&void 0!==t?a[r].overloadTable[t]=e:(a[r]=e,a[r].argCount=t)},Lr=(r,e,t)=>(r=r.replace(/p/g,"i"),(0,a["dynCall_"+r])(e,...t)),qr=(r,e,t=[])=>{if(r.includes("j"))return Lr(r,e,t);var n=nr(e)(...t);return"p"==r[0]?n>>>0:n},Xr=(r,e)=>(...t)=>qr(r,e,t),Jr=(r,e)=>{function t(){return r.includes("j")||r.includes("p")?Xr(r,e):nr(e)}r=Ar(r);var n=t();return"function"!=typeof n&&Tr(`unknown function pointer with signature ${r}: ${e}`),n},Kr=(r,e)=>{var t=Hr(e,function(r){this.name=e,this.message=r;var t=new Error(r).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))});return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},t},Qr=r=>{var e=Ge(r),t=Ar(e);return qe(e),t},Yr=(r,e)=>{var t=[],n={};function a(r){n[r]||vr[r]||(pr[r]?pr[r].forEach(a):(t.push(r),n[r]=!0))}throw e.forEach(a),new Mr(`${r}: `+t.map(Qr).join([", "]))},Zr=r=>{const e=(r=r.trim()).indexOf("(");return-1!==e?r.substr(0,e):r};function re(r,e,t,n,a,o,i,u){r>>>=0,n>>>=0,a>>>=0,o>>>=0;var s=zr(e,t>>>=0);r=Ar(r),r=Zr(r),a=Jr(n,a),Br(r,function(){Yr(`Cannot call ${r} due to unbound types`,s)},e-1),mr([],s,t=>{var n=[t[0],null].concat(t.slice(1));return Gr(r,Dr(r,n,null,a,o),e-1),[]})}var ee=(r,e,t)=>{switch(e){case 1:return t?r=>g[r>>>0]:r=>y[r>>>0];case 2:return t?r=>_[r>>>1>>>0]:r=>w[r>>>1>>>0];case 4:return t?r=>b[r>>>2>>>0]:r=>A[r>>>2>>>0];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}};function te(r,e,t,n,a){r>>>=0,t>>>=0,e=Ar(e>>>=0);var o=r=>r;if(0===n){var i=32-8*t;o=r=>r<<i>>>i}var u=e.includes("unsigned"),s=(r,e)=>{};Pr(r,{name:e,fromWireType:o,toWireType:u?function(r,e){return s(e,this.name),e>>>0}:function(r,e){return s(e,this.name),e},argPackAdvance:Er,readValueFromPointer:ee(e,t,0!==n),destructorFunction:null})}function ne(r,e,t){t>>>=0;var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][e];function a(r){var e=A[r>>>2>>>0],t=A[r+4>>>2>>>0];return new n(g.buffer,t,e)}Pr(r>>>=0,{name:t=Ar(t),fromWireType:a,argPackAdvance:Er,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})}var ae=(r,e,t,n)=>{if(!(n>0))return 0;for(var a=t>>>=0,o=t+n-1,i=0;i<r.length;++i){var u=r.charCodeAt(i);if(u>=55296&&u<=57343&&(u=65536+((1023&u)<<10)|1023&r.charCodeAt(++i)),u<=127){if(t>=o)break;e[t++>>>0]=u}else if(u<=2047){if(t+1>=o)break;e[t++>>>0]=192|u>>6,e[t++>>>0]=128|63&u}else if(u<=65535){if(t+2>=o)break;e[t++>>>0]=224|u>>12,e[t++>>>0]=128|u>>6&63,e[t++>>>0]=128|63&u}else{if(t+3>=o)break;e[t++>>>0]=240|u>>18,e[t++>>>0]=128|u>>12&63,e[t++>>>0]=128|u>>6&63,e[t++>>>0]=128|63&u}}return e[t>>>0]=0,t-a},oe=(r,e,t)=>ae(r,y,e,t),ie=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e},ue="undefined"!=typeof TextDecoder?new TextDecoder:void 0,se=(r,e=0,t=NaN)=>{for(var n=(e>>>=0)+t,a=e;r[a]&&!(a>=n);)++a;if(a-e>16&&r.buffer&&ue)return ue.decode(r.subarray(e,a));for(var o="";e<a;){var i=r[e++];if(128&i){var u=63&r[e++];if(192!=(224&i)){var s=63&r[e++];if((i=224==(240&i)?(15&i)<<12|u<<6|s:(7&i)<<18|u<<12|s<<6|63&r[e++])<65536)o+=String.fromCharCode(i);else{var c=i-65536;o+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else o+=String.fromCharCode((31&i)<<6|u)}else o+=String.fromCharCode(i)}return o},ce=(r,e)=>(r>>>=0)?se(y,r,e):"";function fe(r,e){Pr(r>>>=0,{name:e=Ar(e>>>=0),fromWireType(r){for(var e,t=A[r>>>2>>>0],n=r+4,a=n,o=0;o<=t;++o){var i=n+o;if(o==t||0==y[i>>>0]){var u=ce(a,i-a);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),a=i+1}}return qe(r),e},toWireType(r,e){var t;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int8Array||Tr("Cannot pass non-string to std::string"),t=n?ie(e):e.length;var a=Le(4+t+1),o=a+4;if(A[a>>>2>>>0]=t,n)oe(e,o,t+1);else if(n)for(var i=0;i<t;++i){var u=e.charCodeAt(i);u>255&&(qe(o),Tr("String has UTF-16 code units that do not fit in 8 bits")),y[o+i>>>0]=u}else for(i=0;i<t;++i)y[o+i>>>0]=e[i];return null!==r&&r.push(qe,a),a},argPackAdvance:Er,readValueFromPointer:fr,destructorFunction(r){qe(r)}})}var le="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,de=(r,e)=>{for(var t=r,n=t>>1,a=n+e/2;!(n>=a)&&w[n>>>0];)++n;if((t=n<<1)-r>32&&le)return le.decode(y.subarray(r>>>0,t>>>0));for(var o="",i=0;!(i>=e/2);++i){var u=_[r+2*i>>>1>>>0];if(0==u)break;o+=String.fromCharCode(u)}return o},ve=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,a=(t-=2)<2*r.length?t/2:r.length,o=0;o<a;++o){var i=r.charCodeAt(o);_[e>>>1>>>0]=i,e+=2}return _[e>>>1>>>0]=0,e-n},pe=r=>2*r.length,he=(r,e)=>{for(var t=0,n="";!(t>=e/4);){var a=b[r+4*t>>>2>>>0];if(0==a)break;if(++t,a>=65536){var o=a-65536;n+=String.fromCharCode(55296|o>>10,56320|1023&o)}else n+=String.fromCharCode(a)}return n},me=(r,e,t)=>{if(e>>>=0,t??=2147483647,t<4)return 0;for(var n=e,a=n+t-4,o=0;o<r.length;++o){var i=r.charCodeAt(o);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&r.charCodeAt(++o)),b[e>>>2>>>0]=i,(e+=4)+4>a)break}return b[e>>>2>>>0]=0,e-n},ge=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n>=55296&&n<=57343&&++t,e+=4}return e},ye=function(r,e,t){var n,a,o,i;r>>>=0,e>>>=0,t=Ar(t>>>=0),2===e?(n=de,a=ve,i=pe,o=r=>w[r>>>1>>>0]):4===e&&(n=he,a=me,i=ge,o=r=>A[r>>>2>>>0]),Pr(r,{name:t,fromWireType:r=>{for(var t,a=A[r>>>2>>>0],i=r+4,u=0;u<=a;++u){var s=r+4+u*e;if(u==a||0==o(s)){var c=n(i,s-i);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),i=s+e}}return qe(r),t},toWireType:(r,n)=>{"string"!=typeof n&&Tr(`Cannot pass non-string to C++ string type ${t}`);var o=i(n),u=Le(4+o+e);return A[u>>>2>>>0]=o/e,a(n,u+4,o+e),null!==r&&r.push(qe,u),u},argPackAdvance:Er,readValueFromPointer:fr,destructorFunction(r){qe(r)}})};function _e(r,e,t,n,a,o){e>>>=0,t>>>=0,n>>>=0,a>>>=0,o>>>=0,sr[r>>>=0]={name:Ar(e),rawConstructor:Jr(t,n),rawDestructor:Jr(a,o),fields:[]}}function we(r,e,t,n,a,o,i,u,s,c){e>>>=0,t>>>=0,n>>>=0,a>>>=0,o>>>=0,i>>>=0,u>>>=0,s>>>=0,c>>>=0,sr[r>>>=0].fields.push({fieldName:Ar(e),getterReturnType:t,getter:Jr(n,a),getterContext:o,setterArgumentType:i,setter:Jr(u,s),setterContext:c})}var be=function(r,e){Pr(r>>>=0,{isVoid:!0,name:e=Ar(e>>>=0),argPackAdvance:0,fromWireType:()=>{},toWireType:(r,e)=>{}})};function Ae(r,e,t){return r>>>=0,e>>>=0,t>>>=0,y.copyWithin(r>>>0,e>>>0,e+t>>>0)}var Te=0,Ce=()=>{er=!1,Te=0};function Pe(r){(r>>>=0)>9&&(Fr[r+1]+=1)}var Ee={},We=r=>{var e=Ee[r];return void 0===e?Ar(r):e};function ke(r){return r>>>=0,$r.toHandle(We(r))}var Fe=(r,e)=>{var t=vr[r];return void 0===t&&Tr(`${e} has unknown type ${Qr(r)}`),t};function je(r,e){e>>>=0;var t=(r=Fe(r>>>=0,"_emval_take_value")).readValueFromPointer(e);return $r.toHandle(t)}var Re=()=>4294901760,Se=(r,e)=>Math.ceil(r/e)*e,$e=r=>{var e=(r-m.buffer.byteLength+65535)/65536|0;try{return m.grow(e),W(),1}catch(t){}};function xe(r){r>>>=0;var e=y.length,t=Re();if(r>t)return!1;for(var n=1;n<=4;n*=2){var a=e*(1+.2/n);a=Math.min(a,r+100663296);var o=Math.min(t,Se(Math.max(r,a),65536));if($e(o))return!0}return!1}var Ie=r=>52;function Ue(r,e,t,n,a){return 70}var Oe=[null,[],[]],He=(r,e)=>{var t=Oe[r];0===e||10===e?((1===r?p:h)(se(t)),t.length=0):t.push(e)};function Ve(r,e,t,n){e>>>=0,t>>>=0,n>>>=0;for(var a=0,o=0;o<t;o++){var i=A[e>>>2>>>0],u=A[e+4>>>2>>>0];e+=8;for(var s=0;s<u;s++)He(r,y[i+s>>>0]);a+=u}return A[n>>>2>>>0]=a,0}var De=()=>er||Te>0,Me=r=>{De()||(a.onExit?.(r),E=!0),l(r,new Y(r))};lr=a.InternalError=class extends Error{constructor(r){super(r),this.name="InternalError"}},br(),wr=a.BindingError=class extends Error{constructor(r){super(r),this.name="BindingError"}},Sr(),Mr=a.UnboundTypeError=Kr(Error,"UnboundTypeError");var Ne,Be={__call_sighandler:ar,__cxa_throw:ir,_abort_js:ur,_embind_finalize_value_object:gr,_embind_register_bigint:yr,_embind_register_bool:Wr,_embind_register_emval:Ir,_embind_register_float:Or,_embind_register_function:re,_embind_register_integer:te,_embind_register_memory_view:ne,_embind_register_std_string:fe,_embind_register_std_wstring:ye,_embind_register_value_object:_e,_embind_register_value_object_field:we,_embind_register_void:be,_emscripten_memcpy_js:Ae,_emscripten_runtime_keepalive_clear:Ce,_emval_decref:jr,_emval_incref:Pe,_emval_new_cstring:ke,_emval_take_value:je,emscripten_resize_heap:xe,fd_close:Ie,fd_seek:Ue,fd_write:Ve,proc_exit:Me};Q();var ze,Ge=r=>(Ge=Ne.__getTypeName)(r),Le=r=>(Le=Ne.malloc)(r),qe=r=>(qe=Ne.free)(r);function Xe(r){var e=r=>e=>r(e)>>>0,t=r=>()=>r()>>>0;return(r=Object.assign({},r)).__getTypeName=e(r.__getTypeName),r.malloc=e(r.malloc),r._emscripten_stack_alloc=e(r._emscripten_stack_alloc),r.emscripten_stack_get_current=t(r.emscripten_stack_get_current),r}function Je(){function r(){ze||(ze=!0,a.calledRun=!0,E||(S(),t(a),a.onRuntimeInitialized?.(),$()))}O>0||(R(),O>0||(a.setStatus?(a.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>a.setStatus(""),1),r()},1)):r()))}if(a.dynCall_vij=(r,e,t,n)=>(a.dynCall_vij=Ne.dynCall_vij)(r,e,t,n),a.dynCall_jiji=(r,e,t,n,o)=>(a.dynCall_jiji=Ne.dynCall_jiji)(r,e,t,n,o),H=function r(){ze||Je(),ze||(H=r)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return Je(),o});export{e as default};
|
package/config.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
4
|
*/
|
|
5
|
-
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="4.34.0-next.
|
|
5
|
+
import"./core/has.js";import{deepMerge as e}from"./core/object.js";const s={apiKey:void 0,apiKeys:{scopes:[]},applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(e(s,globalThis.esriConfig,!0),delete s.has),!s.assetsPath){{const e="4.34.0-next.45";s.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}/assets`}s.defaultAssetsPath=s.assetsPath}export{s as default};
|