@agrotools1/at-components 0.3.2 → 0.3.3
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/dist/AGraphicContainer-0a4e0426.js +109 -0
- package/dist/APIKeyMixin-83e85532.js +19 -0
- package/dist/Analysis-c4011253.js +31 -0
- package/dist/ArcGISCachedService-1c6af1c1.js +47 -0
- package/dist/ArcGISService-1d880889.js +25 -0
- package/dist/AreaMeasurement2D-86006a71.js +405 -0
- package/dist/AreaMeasurement3D-1825243c.js +488 -0
- package/dist/AttachmentInfo-fa04c641.js +34 -0
- package/dist/AttachmentQuery-1450c2f7.js +18 -0
- package/dist/AttributeStore-02f947ea.js +1707 -0
- package/dist/BaseDynamicLayerView2D-eb11c757.js +63 -0
- package/dist/BingMapsLayer-7ad7d511.js +112 -0
- package/dist/Bitmap-14a020d8.js +128 -0
- package/dist/BitmapContainer-cc71fd24.js +23 -0
- package/dist/BlendLayer-e2f97659.js +13 -0
- package/dist/BoundsStore-8612892f.js +63 -0
- package/dist/BufferObject-bd932c2c.js +100 -0
- package/dist/BufferView-97ed14c7.js +683 -0
- package/dist/BuildingSceneLayer-3f5380c8.js +535 -0
- package/dist/Button-15031955.js +36 -0
- package/dist/CSVLayer-a76db6f4.js +208 -0
- package/dist/CSVSourceWorker-afe160ed.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-be946494.js +66 -0
- package/dist/CatalogFootprintLayerView2D-14763204.js +76 -0
- package/dist/CatalogLayer-7d6228dd.js +262 -0
- package/dist/CatalogLayerView2D-13e32a42.js +52 -0
- package/dist/ClassBreaksDefinition-7040a7fc.js +18 -0
- package/dist/ColorMaterial.glsl-e56765f1.js +64 -0
- package/dist/ColorSet-4ff0a7b7.js +45 -0
- package/dist/ColorStop-1e154045.js +29 -0
- package/dist/Container-6e3b610b.js +521 -0
- package/dist/CustomParametersMixin-c01280c0.js +12 -0
- package/dist/DefaultMaterial.glsl-e7e23b90.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-7fd21704.js +653 -0
- package/dist/DefaultTheme-3c5b433f.js +130 -0
- package/dist/DeleteForwardEditsParameters-7073c5e5.js +18 -0
- package/dist/DimensionLayer-f921dd3d.js +129 -0
- package/dist/DirectLineMeasurement3D-61d14af2.js +449 -0
- package/dist/DistanceMeasurement2D-b023b35c.js +303 -0
- package/dist/DoubleArray-1186b8b8.js +25 -0
- package/dist/Dropdown/Checklist/Dropdown.Checklist.d.ts +59 -10
- package/dist/Dropdown/Checklist/draggable.d.ts +5 -4
- package/dist/Dropdown/Dropdown.core.d.ts +0 -13
- package/dist/Dropdown/Dropdown.types.d.ts +16 -0
- package/dist/Dropdown/Filter/Filter.types.d.ts +17 -0
- package/dist/Dropdown/Filter/test.mocks.d.ts +2 -2
- package/dist/Dropdown/List/Dropdown.List.d.ts +6 -21
- package/dist/Dropdown/List/List.types.d.ts +11 -0
- package/dist/Dropdown/List/test.mocks.d.ts +1 -1
- package/dist/EdgeProcessingWorker-cb6277ad.js +63 -0
- package/dist/EditBusLayer-9d740f8f.js +107 -0
- package/dist/ElevationInfo-581ff99d.js +56 -0
- package/dist/ElevationLayer-42b57d9b.js +129 -0
- package/dist/ElevationQuery-f6d0cf9f.js +598 -0
- package/dist/ElevationSamplerWorker-50d805bb.js +62 -0
- package/dist/ExportImageParameters-5b047f92.js +66 -0
- package/dist/ExportStrategy-b6c54d77.js +93 -0
- package/dist/ExportWMSImageParameters-ff5a3ac8.js +33 -0
- package/dist/External-695a389a.js +110 -0
- package/dist/FeatureCollectionSnappingSource-fdaed9e0.js +130 -0
- package/dist/FeatureCommandQueue-c2bd1a39.js +1244 -0
- package/dist/FeatureEffect-9ea1b3da.js +39 -0
- package/dist/FeatureEffectLayer-0fa169c4.js +13 -0
- package/dist/FeatureFilter-638c4cae.js +27 -0
- package/dist/FeatureLayer-2a419d3e.js +693 -0
- package/dist/FeatureLayerBase-7331e738.js +148 -0
- package/dist/FeatureLayerSource-733186fb.js +444 -0
- package/dist/FeatureLayerView2D-bc4994b6.js +1967 -0
- package/dist/FeaturePipelineWorker-5f68488c.js +3633 -0
- package/dist/FeatureReductionLayer-0c152478.js +225 -0
- package/dist/FeatureReductionSelection-f952512d.js +22 -0
- package/dist/FeatureServiceSnappingSource-4c02d5a3.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-c2a1dc50.js +747 -0
- package/dist/FeatureSet-2c6b8e00.js +188 -0
- package/dist/FeatureStore-a26846c0.js +131 -0
- package/dist/FeatureTemplate-1b6b7e2d.js +12 -0
- package/dist/FeatureType-9e1f1a7d.js +25 -0
- package/dist/FieldsIndex-91711836.js +109 -0
- package/dist/FormTemplate-ae0cfb6e.js +350 -0
- package/dist/GeoJSONLayer-b2070c34.js +236 -0
- package/dist/GeoJSONSourceWorker-aecb5f9b.js +247 -0
- package/dist/GeoRSSLayer-3743b41f.js +73 -0
- package/dist/GeoRSSLayerView2D-098c24bc.js +140 -0
- package/dist/GeometryUtils-036c7f22.js +403 -0
- package/dist/GraphicContainer-ece3945e.js +26 -0
- package/dist/GraphicManipulator-bc92899f.js +1499 -0
- package/dist/GraphicsLayer-764f0324.js +38 -0
- package/dist/GraphicsLayerView2D-36908d0c.js +114 -0
- package/dist/GraphicsSnappingSource-2bb681c0.js +273 -0
- package/dist/GraphicsView2D-e9cf5cd6.js +620 -0
- package/dist/GroupLayer-5ea5b71b.js +147 -0
- package/dist/GroupLayerView2D-22ec9eaa.js +98 -0
- package/dist/HUDMaterial.glsl-80ab7d22.js +65 -0
- package/dist/HighlightCounter-36842e52.js +41 -0
- package/dist/HighlightGraphicContainer-10cb9671.js +18 -0
- package/dist/I3SBinaryReader-9dbdc661.js +310 -0
- package/dist/I3SLayerDefinitions-b56e2c87.js +55 -0
- package/dist/I3SUtil-5461dc89.js +59 -0
- package/dist/IdentityManager-bb063156.js +899 -0
- package/dist/ImageHistogramParameters-1f8e5179.js +905 -0
- package/dist/ImageryLayer-a807d3b3.js +1799 -0
- package/dist/ImageryLayerView2D-358a3267.js +352 -0
- package/dist/ImageryTileLayer-0f67f262.js +2157 -0
- package/dist/ImageryTileLayerView2D-2bc2bb67.js +1110 -0
- package/dist/Indices-0c5304f2.js +67 -0
- package/dist/IntegratedMesh3DTilesLayer-be69dca8.js +112 -0
- package/dist/IntegratedMeshLayer-3c070523.js +141 -0
- package/dist/InteractiveAnalysisViewModel-3005a4a6.js +7397 -0
- package/dist/InterleavedLayout-d37b99a2.js +163 -0
- package/dist/KMLLayer-2011c3c6.js +162 -0
- package/dist/KMLLayerView2D-5d17145f.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-7172b91b.js +43 -0
- package/dist/LRUCache-39211cf9.js +32 -0
- package/dist/LabelClass-d1080628.js +135 -0
- package/dist/LabelMetric-ab56c6b3.js +400 -0
- package/dist/LaserlinePath.glsl-df8f92cc.js +64 -0
- package/dist/Laserlines.glsl-f7d93e3f.js +65 -0
- package/dist/LayerFloorInfo-3edeb9a2.js +15 -0
- package/dist/LayerView-1c58c8c6.js +206 -0
- package/dist/LercWorker-c7a2aca1.js +157 -0
- package/dist/LineOfSightLayer-3028e21f.js +147 -0
- package/dist/LinkChartLayer-988ae660.js +1027 -0
- package/dist/Lyr3DWorker-4c8c758f.js +82 -0
- package/dist/MagnifierPrograms-123961a3.js +806 -0
- package/dist/MapImageLayer-9241ad63.js +169 -0
- package/dist/MapImageLayerView2D-726e5c66.js +146 -0
- package/dist/MapNotesLayer-2d2db99b.js +283 -0
- package/dist/MapNotesLayerView2D-41f5790c.js +161 -0
- package/dist/MapServiceLayerViewHelper-8f5228ec.js +288 -0
- package/dist/MeasurementWidgetContent-504fd868.js +2642 -0
- package/dist/MediaLayer-e71ce661.js +523 -0
- package/dist/MediaLayerView2D-33c67404.js +332 -0
- package/dist/MemCache-413327b3.js +227 -0
- package/dist/MemorySourceWorker-b0e70dd0.js +222 -0
- package/dist/Mesh-98c4e050.js +980 -0
- package/dist/MeshLocalVertexSpace-7a7e4d4e.js +19 -0
- package/dist/MultiOriginJSONSupport-2fca3cc5.js +158 -0
- package/dist/OGCFeatureLayer-451fbd45.js +211 -0
- package/dist/OGCFeatureLayerView2D-d23b08d2.js +82 -0
- package/dist/ObjectStack-742b2ff3.js +21 -0
- package/dist/Octree-a3c8e90e.js +495 -0
- package/dist/OpenStreetMapLayer-9bb91f97.js +30 -0
- package/dist/OperationalLayer-fbfada66.js +44 -0
- package/dist/OrderByInfo-335eb561.js +16 -0
- package/dist/OrderedLayer-29b4ac64.js +26 -0
- package/dist/OrientedImageryLayer-aa2498e2.js +216 -0
- package/dist/OverlayCompositing.glsl-4b1e83c2.js +65 -0
- package/dist/OverrideHelper-74cc3959.js +242 -0
- package/dist/PBFDecoderWorker-fd40e0f9.js +213 -0
- package/dist/PointCloudLayer-64cdbbb2.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-db9b3a98.js +115 -0
- package/dist/PointCloudWorker-a5eb5224.js +212 -0
- package/dist/PooledRBush-be6fe17a.js +272 -0
- package/dist/Popup-db250fe6.js +3990 -0
- package/dist/PortalLayer-a6ce110e.js +126 -0
- package/dist/Program-ecabc523.js +694 -0
- package/dist/ProgramTemplate-e5ce3b0f.js +35 -0
- package/dist/QueryEngine-87b2546b.js +896 -0
- package/dist/QueryTask-36400ec7.js +119 -0
- package/dist/RasterSymbolizer-cfd47847.js +3024 -0
- package/dist/RasterVFDisplayObject-d4c967ea.js +581 -0
- package/dist/RasterWorker-068ae23a.js +78 -0
- package/dist/RawBlockCache-9e8d4c35.js +185 -0
- package/dist/RealisticTree.glsl-adab8e44.js +42 -0
- package/dist/RefreshableLayer-eec34ca2.js +80 -0
- package/dist/RefreshableLayerView-ee06f08c.js +16 -0
- package/dist/Relationship-a7eb5489.js +64 -0
- package/dist/RelationshipQuery-4551bb04.js +22 -0
- package/dist/RenderingContext-9e8fac0d.js +889 -0
- package/dist/RibbonLine.glsl-5990bf5f.js +65 -0
- package/dist/RouteLayer-858bc482.js +786 -0
- package/dist/RouteLayerView2D-a70d519f.js +195 -0
- package/dist/SDFHelper-efca0a53.js +140 -0
- package/dist/SSAO.glsl-7670c1fc.js +43 -0
- package/dist/SSAOBlur.glsl-3523d6af.js +42 -0
- package/dist/ScaleRangeLayer-7f440b85.js +21 -0
- package/dist/SceneLayer-999bd23f.js +542 -0
- package/dist/SceneLayerSnappingSource-9420aaed.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-be67e552.js +112 -0
- package/dist/SceneLayerWorker-201939c2.js +164 -0
- package/dist/SceneService-318eff2f.js +215 -0
- package/dist/Scheduler-279ea0c3.js +373 -0
- package/dist/Search/Search.d.ts +1 -1
- package/dist/Search/test.mocks.d.ts +1 -1
- package/dist/Search/utils.d.ts +1 -1
- package/dist/Select/Select.core.d.ts +1 -1
- package/dist/Select/Single/Select.single.d.ts +1 -0
- package/dist/Select/index.d.ts +1 -0
- package/dist/ShadedColorMaterial.glsl-bd2979d8.js +64 -0
- package/dist/SnappingOperation-5100da71.js +48 -0
- package/dist/SourceLayerData-50c2b980.js +116 -0
- package/dist/SpatialFilter-b6c6b2fc.js +1701 -0
- package/dist/Stop-196981da.js +281 -0
- package/dist/StreamLayer-37b818b8.js +188 -0
- package/dist/StreamLayerView2D-7f0f45bc.js +164 -0
- package/dist/StyleRepository-4e8fa398.js +2212 -0
- package/dist/SublayersOwner-90d10612.js +545 -0
- package/dist/SubtypeGroupLayer-959cabf8.js +514 -0
- package/dist/SubtypeGroupLayerView2D-95e63b42.js +84 -0
- package/dist/TableConfig/TableConfig.d.ts +14 -6
- package/dist/TableConfig/test/mocks.d.ts +1 -1
- package/dist/TechniqueInstance-bd190c26.js +233 -0
- package/dist/TemporalLayer-aacda167.js +23 -0
- package/dist/Texture-3618be49.js +501 -0
- package/dist/TextureOnly.glsl-fcca7034.js +65 -0
- package/dist/Theme-85608a9a.js +3426 -0
- package/dist/Tick-79e96104.js +723 -0
- package/dist/TileContainer-f1e7edd8.js +31 -0
- package/dist/TileInfoTilemapCache-2f882821.js +38 -0
- package/dist/TileLayer-db13a237.js +194 -0
- package/dist/TileLayerView2D-15af6be4.js +187 -0
- package/dist/TilemapCache-fc4b2c6c.js +189 -0
- package/dist/TimeInfo-39a9d4e1.js +42 -0
- package/dist/TimeOnly-b759457a.js +706 -0
- package/dist/Toggle/Toggle.d.ts +9 -0
- package/dist/Tooltip-0ba72b27.js +138 -0
- package/dist/TopFeaturesQuery-a11ecc39.js +32 -0
- package/dist/TurboLine-5e62d290.js +565 -0
- package/dist/UniqueValueRenderer-bf2f3234.js +1039 -0
- package/dist/UnknownLayer-2cf71578.js +30 -0
- package/dist/UnknownTimeZone-aabdcf56.js +15 -0
- package/dist/UnsupportedLayer-36650e4a.js +31 -0
- package/dist/UpdateTracking2D-b6d16b0c.js +8566 -0
- package/dist/Util-8f54c96b.js +57 -0
- package/dist/VectorTileLayer-ddcca4ec.js +544 -0
- package/dist/VectorTileLayerView2D-8176946a.js +2108 -0
- package/dist/Version-9eb299cd.js +33 -0
- package/dist/VertexArrayObject-d1a4262b.js +73 -0
- package/dist/VertexColor.glsl-fd9f70e0.js +2683 -0
- package/dist/VertexSnappingCandidate-70513010.js +13 -0
- package/dist/VideoLayerView2D-e08e1d57.js +124 -0
- package/dist/VoxelLayer-959702aa.js +631 -0
- package/dist/WFSLayer-4a41b206.js +221 -0
- package/dist/WFSSourceWorker-53d88982.js +157 -0
- package/dist/WGLContainer-e9e8616e.js +5426 -0
- package/dist/WMSLayer-8e44f55c.js +536 -0
- package/dist/WMSLayerView2D-415a1793.js +117 -0
- package/dist/WMTSLayer-804f4bed.js +531 -0
- package/dist/WMTSLayerView2D-96186a90.js +142 -0
- package/dist/WebTileLayer-7391ea01.js +110 -0
- package/dist/WhereClause-1816217e.js +2766 -0
- package/dist/WorkerHandle-25f67c67.js +47 -0
- package/dist/WorkerTileHandler-a7e508bc.js +1539 -0
- package/dist/action-3ce81e45.js +198 -0
- package/dist/action-group-f2d26c2b.js +145 -0
- package/dist/action-menu-015d91ab.js +1759 -0
- package/dist/apng-e5532475.js +392 -0
- package/dist/arcade-dbe2ca4a.js +229 -0
- package/dist/arcadeAsyncRuntime-78b83b41.js +943 -0
- package/dist/arcadeUtils-cb1066a6.js +8741 -0
- package/dist/arcgis-knowledge-client-core-7379d99e.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-ea8b4d20.js +1218 -0
- package/dist/arcgisLayers-cd3494fd.js +152 -0
- package/dist/associatedFeatureServiceUtils-da8d377d.js +92 -0
- package/dist/axisAngleDegrees-19922758.js +49 -0
- package/dist/basis_transcoder-bf0490cc.js +1248 -0
- package/dist/calcite-action-0db4f61c.js +22 -0
- package/dist/calcite-action-bar-1b4c89cb.js +303 -0
- package/dist/calcite-action-group-3c8a934c.js +28 -0
- package/dist/calcite-button-1079a10c.js +228 -0
- package/dist/calcite-flow-c1e71a12.js +128 -0
- package/dist/calcite-flow-item-1097b48f.js +499 -0
- package/dist/calcite-icon-c88b4a67.js +16 -0
- package/dist/calcite-input-8c33ee84.js +24 -0
- package/dist/calcite-label-7fbfbe36.js +79 -0
- package/dist/calcite-list-93af4ae2.js +2135 -0
- package/dist/calcite-list-item-f0a6cda3.js +576 -0
- package/dist/calcite-list-item-group-107a313e.js +71 -0
- package/dist/calcite-loader-5194bf83.js +14 -0
- package/dist/calcite-modal-486280cc.js +333 -0
- package/dist/calcite-notice-a81274a8.js +181 -0
- package/dist/calcite-option-0020a955.js +94 -0
- package/dist/calcite-scrim-27d65e7f.js +18 -0
- package/dist/calcite-select-05f25c2a.js +231 -0
- package/dist/capabilities-238bde7d.js +50 -0
- package/dist/chartCommon-7eda170a.js +256 -0
- package/dist/chartUtilsAm5-fd8aeac2.js +2954 -0
- package/dist/clientSideDefaults-b91506af.js +39 -0
- package/dist/colorRamps-6027ea73.js +38 -0
- package/dist/colorUtils-3dd4b884.js +164 -0
- package/dist/commonProperties-bf4d305f.js +60 -0
- package/dist/computeTranslationToOriginAndRotation-ca5a9439.js +60 -0
- package/dist/conditionalSlot-80a4c6ff.js +27 -0
- package/dist/createConnection-70dd787a.js +299 -0
- package/dist/dataUtils-b632d3a2.js +1421 -0
- package/dist/deduplicate-e13aa9e2.js +89 -0
- package/dist/defaults-40a1a995.js +31 -0
- package/dist/deleteForwardEdits-b0182a08.js +13 -0
- package/dist/diffUtils-5f43e52a.js +90 -0
- package/dist/drapedUtils-416e5304.js +75 -0
- package/dist/earcut-235aa57d.js +292 -0
- package/dist/edgeProcessing-43d45a32.js +252 -0
- package/dist/editingSupport-7706f838.js +203 -0
- package/dist/editsZScale-49d8a8cd.js +37 -0
- package/dist/elevationInfoUtils-3fbfcf1f.js +126 -0
- package/dist/executeForIds-419ba6a3.js +14 -0
- package/dist/executeForTopCount-8a8ba5c7.js +17 -0
- package/dist/executeForTopExtents-9f24d5d0.js +17 -0
- package/dist/executeForTopIds-0bfdb55f.js +17 -0
- package/dist/executeQueryJSON-2a2e9e1b.js +15 -0
- package/dist/executeQueryPBF-f10de9ec.js +152 -0
- package/dist/executeRelationshipQuery-0680cb30.js +53 -0
- package/dist/executeTopFeaturesQuery-c553d696.js +18 -0
- package/dist/featureConversionUtils-83783887.js +479 -0
- package/dist/featureLayerUtils-545d260a.js +250 -0
- package/dist/featureLayerUtils-b18e6016.js +142 -0
- package/dist/featureSetUtils-0c7ba073.js +2530 -0
- package/dist/featuresetbase-aadfabb3.js +707 -0
- package/dist/featuresetgeom-a405018e.js +99 -0
- package/dist/featuresetstats-f6602402.js +81 -0
- package/dist/featuresetstring-834ea865.js +95 -0
- package/dist/fetchService-dac740ef.js +33 -0
- package/dist/fieldProperties-b024e721.js +33 -0
- package/dist/floatRGBA-46ee3e38.js +20 -0
- package/dist/form-0b2f0ac9.js +138 -0
- package/dist/geohashUtils-418d1ca6.js +85 -0
- package/dist/geojson-96d3353d.js +208 -0
- package/dist/geomasync-ff5b3734.js +567 -0
- package/dist/geometryEngine-8fcb3d59.js +192 -0
- package/dist/geometryEngineAsync-212f4b0f.js +217 -0
- package/dist/geometryEngineBase-4c2ff8b9.js +18463 -0
- package/dist/geometryEngineJSON-131b461e.js +171 -0
- package/dist/geometryEngineJSON-b43cf67f.js +46 -0
- package/dist/geometryEngineWorker-707ca480.js +11 -0
- package/dist/geometryServiceUtils-af23d0b5.js +28 -0
- package/dist/georeference-02bc532d.js +291 -0
- package/dist/gif-b072aa1c.js +323 -0
- package/dist/gltfexport-3362ea71.js +705 -0
- package/dist/groupLayerUtils-81545911.js +39 -0
- package/dist/heatmapUtils-b25824e4.js +45 -0
- package/dist/highlightReasons-5b8b2665.js +19 -0
- package/dist/hydrated-b0c62926.js +40 -0
- package/dist/i3s-32edc725.js +809 -0
- package/dist/icon-453c7f62.js +127 -0
- package/dist/imageBitmapUtils-51497e26.js +23 -0
- package/dist/imageUtils-1d1da6e6.js +89 -0
- package/dist/imageUtils-8c40eba6.js +69 -0
- package/dist/imageryUtils-0c00fbf3.js +43 -0
- package/dist/index-3b4c2147.js +45568 -0
- package/dist/index.js +1 -1
- package/dist/input-message-32600f49.js +92 -0
- package/dist/input2-1c0831ed.js +575 -0
- package/dist/interactive-5824e097.js +80 -0
- package/dist/jsonContext-ec21ce85.js +15 -0
- package/dist/jsonUtils-012feb40.js +476 -0
- package/dist/jsonUtils-3979baa3.js +59 -0
- package/dist/jsonUtils-3eb7c689.js +86 -0
- package/dist/kmlUtils-4c198ea5.js +112 -0
- package/dist/knowledgeGraphService-a159d815.js +739 -0
- package/dist/knowledgegraph-eb0d44d4.js +149 -0
- package/dist/labelUtils-01b646c7.js +61 -0
- package/dist/labelingInfo-148dcd26.js +46 -0
- package/dist/layersCreator-4e94f616.js +151 -0
- package/dist/layersLoader-f4e3ab33.js +197 -0
- package/dist/lazyLayerLoader-eb51910e.js +10 -0
- package/dist/lclayout-4d303c41.js +773 -0
- package/dist/lengthUtils-6abaf27a.js +5 -0
- package/dist/lerc-wasm-0ae912df.js +325 -0
- package/dist/libtess-asm-91c97dcd.js +3673 -0
- package/dist/libtess-cba14731.js +269 -0
- package/dist/lineSegment-8f04aab4.js +76 -0
- package/dist/loadGLTFMesh-71542570.js +181 -0
- package/dist/loadable-e7c40a8a.js +24 -0
- package/dist/loader-6272e4b3.js +79 -0
- package/dist/lyr3DWorker-9ee4ee8b.js +2108 -0
- package/dist/mapViewDeps-b17a2e04.js +3052 -0
- package/dist/mediaLayerUtils-f0ccfd82.js +35 -0
- package/dist/meshFeatureSet-304dfa08.js +126 -0
- package/dist/meshVertexSpaceUtils-e7f774fa.js +58 -0
- package/dist/multidimensionalUtils-642f26da.js +290 -0
- package/dist/normalizeUtilsSync-b5f617e6.js +181 -0
- package/dist/number-3af512e3.js +128 -0
- package/dist/objectResourceUtils-d45057aa.js +1455 -0
- package/dist/observers-700e505d.js +30 -0
- package/dist/ogcFeatureUtils-440ed0bf.js +206 -0
- package/dist/openCloseComponent-1501c620.js +37 -0
- package/dist/orientedBoundingBox-80988e7f.js +447 -0
- package/dist/parser-6e351b85.js +488 -0
- package/dist/pbf-a85c52b3.js +215 -0
- package/dist/pbfQueryUtils-5f25f81f.js +422 -0
- package/dist/pe-wasm-e588110b.js +887 -0
- package/dist/persistable-ad01d0ca.js +89 -0
- package/dist/perspectiveUtils-ab58ddbb.js +42 -0
- package/dist/pieChart-d3793e8b.js +555 -0
- package/dist/plane-e103e8ed.js +160 -0
- package/dist/popupUtils-5f7c3e79.js +50 -0
- package/dist/popupUtils-b95ab60a.js +22 -0
- package/dist/portalItemUtils-3d59513a.js +57 -0
- package/dist/portalLayers-16b2f807.js +312 -0
- package/dist/portalUtils-3789afb0.js +7 -0
- package/dist/programUtils-c8d96b39.js +59 -0
- package/dist/project-7eaa59a4.js +21 -0
- package/dist/projectPointToVector-19151d97.js +14 -0
- package/dist/projectVectorToVector-d552535c.js +13 -0
- package/dist/quantityUtils-258bfdb4.js +33 -0
- package/dist/quantizationUtils-752e4d24.js +68 -0
- package/dist/quat-6dc51256.js +104 -0
- package/dist/query-da893693.js +89 -0
- package/dist/queryAttachments-df86b71d.js +39 -0
- package/dist/queryEngineUtils-ffc50ce5.js +21 -0
- package/dist/queryTopFeatures-5a58a12d.js +50 -0
- package/dist/queryZScale-39ffaf30.js +12 -0
- package/dist/rasterProjectionHelper-d13bc46d.js +577 -0
- package/dist/rasterUtils-22b15453.js +122 -0
- package/dist/rasterizingUtils-3388ddbf.js +46 -0
- package/dist/request-82a2415a.js +46 -0
- package/dist/requestImageUtils-2fca27f8.js +8 -0
- package/dist/resourceExtension-672d03cc.js +17 -0
- package/dist/resourceUtils-95b9964a.js +42 -0
- package/dist/resourceUtils-b1e50d5e.js +69 -0
- package/dist/resourceUtils-e8831103.js +62 -0
- package/dist/saveAPIKeyUtils-ee9b0447.js +8 -0
- package/dist/saveUtils-1323ad64.js +24 -0
- package/dist/scaleUtils-1a70f716.js +23 -0
- package/dist/scrim-c0a641cd.js +114 -0
- package/dist/serviceCapabilitiesUtils-33d4e1c0.js +64 -0
- package/dist/sourceUtils-e8c5db4e.js +71 -0
- package/dist/sphere-75cef429.js +199 -0
- package/dist/statsWorker-1f1bc582.js +37 -0
- package/dist/streamLayerUtils-c85a0eed.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-05bc85a5.js +75 -0
- package/dist/styleUtils-7bd8d0a7.js +14 -0
- package/dist/sublayerUtils-feb77591.js +37 -0
- package/dist/substitute-c31da60c.js +52 -0
- package/dist/symbolColorUtils-3c385668.js +8 -0
- package/dist/symbolLayerUtils-2d2753b7.js +31 -0
- package/dist/symbologySnappingCandidates-00eeca39.js +221 -0
- package/dist/t9n-55800455.js +349 -0
- package/dist/testSVGPremultipliedAlpha-ec1f73c4.js +94 -0
- package/dist/timeSupport-a7623294.js +410 -0
- package/dist/triangle-c799f11b.js +98 -0
- package/dist/unitConversionUtils-05050e6d.js +17 -0
- package/dist/unitFormatUtils-2a84c371.js +40 -0
- package/dist/uploadAssetErrors-601b044e.js +70 -0
- package/dist/uploadAssets-5a835c8a.js +330 -0
- package/dist/utils-2dc379da.js +79 -0
- package/dist/utils-34b1ea70.js +2746 -0
- package/dist/utils-45c14202.js +232 -0
- package/dist/utils-484969fb.js +91 -0
- package/dist/utils-5aaff624.js +433 -0
- package/dist/utils-a94dc35d.js +419 -0
- package/dist/utils-e68cfebf.js +34 -0
- package/dist/utils-fc14cc83.js +73 -0
- package/dist/utils3-5745e839.js +75 -0
- package/dist/vec3-12b9e1d8.js +81 -0
- package/dist/vec42-a1569d60.js +125 -0
- package/dist/versionUtils-c4f3617a.js +161 -0
- package/dist/visualVariableUtils-bcb95edc.js +267 -0
- package/dist/webStyleSymbolUtils-9db5b81c.js +48 -0
- package/dist/webglDeps-05e0410a.js +23 -0
- package/dist/wfsUtils-7caaa2cc.js +343 -0
- package/dist/workerHelper-86e37deb.js +11 -0
- package/dist/xyChart-0673158d.js +3335 -0
- package/package.json +1 -1
- package/dist/AGraphicContainer-232b465f.js +0 -109
- package/dist/APIKeyMixin-6c797b4c.js +0 -19
- package/dist/Analysis-fb0fc04a.js +0 -31
- package/dist/ArcGISCachedService-e0930844.js +0 -47
- package/dist/ArcGISService-81baed4d.js +0 -25
- package/dist/AreaMeasurement2D-1dbe17c7.js +0 -405
- package/dist/AreaMeasurement3D-3b80654b.js +0 -488
- package/dist/AttachmentInfo-e02ca554.js +0 -34
- package/dist/AttachmentQuery-1667a134.js +0 -18
- package/dist/AttributeStore-2f8bce1a.js +0 -1707
- package/dist/BaseDynamicLayerView2D-6ed632c7.js +0 -63
- package/dist/BingMapsLayer-1b540400.js +0 -112
- package/dist/Bitmap-625c3ae1.js +0 -128
- package/dist/BitmapContainer-ac2e261c.js +0 -23
- package/dist/BlendLayer-38d68343.js +0 -13
- package/dist/BoundsStore-f1942e67.js +0 -63
- package/dist/BufferObject-faafd842.js +0 -100
- package/dist/BufferView-c2f86567.js +0 -683
- package/dist/BuildingSceneLayer-95da2010.js +0 -535
- package/dist/Button-312c8286.js +0 -36
- package/dist/CSVLayer-68bdf977.js +0 -208
- package/dist/CSVSourceWorker-df47e4b9.js +0 -367
- package/dist/CatalogDynamicGroupLayerView2D-5ff99579.js +0 -66
- package/dist/CatalogFootprintLayerView2D-9f09a894.js +0 -76
- package/dist/CatalogLayer-6b5e756d.js +0 -262
- package/dist/CatalogLayerView2D-4f9ea89a.js +0 -52
- package/dist/ClassBreaksDefinition-d32b0ea5.js +0 -18
- package/dist/ColorMaterial.glsl-5fa4dda6.js +0 -64
- package/dist/ColorSet-59641c11.js +0 -45
- package/dist/ColorStop-d5b563ab.js +0 -29
- package/dist/Container-879e59ef.js +0 -521
- package/dist/CustomParametersMixin-c281d5e7.js +0 -12
- package/dist/DefaultMaterial.glsl-6cc65bf3.js +0 -42
- package/dist/DefaultMaterial_COLOR_GAMMA-14d3794c.js +0 -653
- package/dist/DefaultTheme-6f3c03ba.js +0 -130
- package/dist/DeleteForwardEditsParameters-127d0833.js +0 -18
- package/dist/DimensionLayer-031be560.js +0 -129
- package/dist/DirectLineMeasurement3D-342dea70.js +0 -449
- package/dist/DistanceMeasurement2D-a628b12a.js +0 -303
- package/dist/DoubleArray-61325dbc.js +0 -25
- package/dist/EdgeProcessingWorker-9baa9f38.js +0 -63
- package/dist/EditBusLayer-b7db2f6c.js +0 -107
- package/dist/ElevationInfo-016cc1c4.js +0 -56
- package/dist/ElevationLayer-ae7cbbb9.js +0 -129
- package/dist/ElevationQuery-96db182d.js +0 -598
- package/dist/ElevationSamplerWorker-ab27b576.js +0 -62
- package/dist/ExportImageParameters-d1792a7e.js +0 -66
- package/dist/ExportStrategy-a42be397.js +0 -93
- package/dist/ExportWMSImageParameters-853db12a.js +0 -33
- package/dist/External-a5c4899d.js +0 -110
- package/dist/FeatureCollectionSnappingSource-40da43c0.js +0 -130
- package/dist/FeatureCommandQueue-68735fa7.js +0 -1244
- package/dist/FeatureEffect-20b68d20.js +0 -39
- package/dist/FeatureEffectLayer-65d674f5.js +0 -13
- package/dist/FeatureFilter-0babb1a1.js +0 -27
- package/dist/FeatureLayer-bb266fef.js +0 -693
- package/dist/FeatureLayerBase-583207e8.js +0 -148
- package/dist/FeatureLayerSource-daea2938.js +0 -444
- package/dist/FeatureLayerView2D-a93360fa.js +0 -1967
- package/dist/FeaturePipelineWorker-f8bb9d01.js +0 -3633
- package/dist/FeatureReductionLayer-b540e503.js +0 -225
- package/dist/FeatureReductionSelection-75ac9c66.js +0 -22
- package/dist/FeatureServiceSnappingSource-8d342703.js +0 -481
- package/dist/FeatureServiceSnappingSourceWorker-97c5a3e7.js +0 -747
- package/dist/FeatureSet-769d2f68.js +0 -188
- package/dist/FeatureStore-cfee3322.js +0 -131
- package/dist/FeatureTemplate-1be6448a.js +0 -12
- package/dist/FeatureType-69365546.js +0 -25
- package/dist/FieldsIndex-fd635f39.js +0 -109
- package/dist/FormTemplate-8a69784e.js +0 -350
- package/dist/GeoJSONLayer-288dc230.js +0 -236
- package/dist/GeoJSONSourceWorker-2a406166.js +0 -247
- package/dist/GeoRSSLayer-b6cf0b9a.js +0 -73
- package/dist/GeoRSSLayerView2D-a2d897cc.js +0 -140
- package/dist/GeometryUtils-42ae242b.js +0 -403
- package/dist/GraphicContainer-f39e4cce.js +0 -26
- package/dist/GraphicManipulator-d94e3db2.js +0 -1499
- package/dist/GraphicsLayer-06f54c2b.js +0 -38
- package/dist/GraphicsLayerView2D-6b0c439f.js +0 -114
- package/dist/GraphicsSnappingSource-cdbd5c58.js +0 -273
- package/dist/GraphicsView2D-5c69cd54.js +0 -620
- package/dist/GroupLayer-d90d1469.js +0 -147
- package/dist/GroupLayerView2D-47ee20d3.js +0 -98
- package/dist/HUDMaterial.glsl-1f7c8dc7.js +0 -65
- package/dist/HighlightCounter-82aefa16.js +0 -41
- package/dist/HighlightGraphicContainer-5887470a.js +0 -18
- package/dist/I3SBinaryReader-bc4c80ba.js +0 -310
- package/dist/I3SLayerDefinitions-dcda247e.js +0 -55
- package/dist/I3SUtil-f0366135.js +0 -59
- package/dist/IdentityManager-488a6f1a.js +0 -899
- package/dist/ImageHistogramParameters-4dc64f39.js +0 -905
- package/dist/ImageryLayer-b486249a.js +0 -1799
- package/dist/ImageryLayerView2D-f1c342ad.js +0 -352
- package/dist/ImageryTileLayer-12ada40b.js +0 -2157
- package/dist/ImageryTileLayerView2D-f35352b1.js +0 -1110
- package/dist/Indices-d59209a8.js +0 -67
- package/dist/IntegratedMesh3DTilesLayer-be58f806.js +0 -112
- package/dist/IntegratedMeshLayer-7b709481.js +0 -141
- package/dist/InteractiveAnalysisViewModel-cc8c864a.js +0 -7397
- package/dist/InterleavedLayout-31a7340e.js +0 -163
- package/dist/KMLLayer-599771d7.js +0 -162
- package/dist/KMLLayerView2D-017f9a86.js +0 -253
- package/dist/KnowledgeGraphLayerView2D-2578f250.js +0 -43
- package/dist/LRUCache-d9e4b57a.js +0 -32
- package/dist/LabelClass-909af0e5.js +0 -135
- package/dist/LabelMetric-a3f892e4.js +0 -400
- package/dist/LaserlinePath.glsl-763a0501.js +0 -64
- package/dist/Laserlines.glsl-75db5218.js +0 -65
- package/dist/LayerFloorInfo-8abaffaa.js +0 -15
- package/dist/LayerView-2a8c8edc.js +0 -206
- package/dist/LercWorker-06fcacbd.js +0 -157
- package/dist/LineOfSightLayer-019d46c8.js +0 -147
- package/dist/LinkChartLayer-332a03e2.js +0 -1027
- package/dist/Lyr3DWorker-5d6064e5.js +0 -82
- package/dist/MagnifierPrograms-4170fe79.js +0 -806
- package/dist/MapImageLayer-d86788de.js +0 -169
- package/dist/MapImageLayerView2D-0b2dddf2.js +0 -146
- package/dist/MapNotesLayer-07a5011d.js +0 -283
- package/dist/MapNotesLayerView2D-37f2c3b3.js +0 -161
- package/dist/MapServiceLayerViewHelper-f4014bfb.js +0 -288
- package/dist/MeasurementWidgetContent-31e1b266.js +0 -2642
- package/dist/MediaLayer-cd8e19fe.js +0 -523
- package/dist/MediaLayerView2D-bd3bc699.js +0 -332
- package/dist/MemCache-6249a3f0.js +0 -227
- package/dist/MemorySourceWorker-074a99da.js +0 -222
- package/dist/Mesh-17dfbf3e.js +0 -980
- package/dist/MeshLocalVertexSpace-a0c9365a.js +0 -19
- package/dist/MultiOriginJSONSupport-677c0e5f.js +0 -158
- package/dist/OGCFeatureLayer-1db569c4.js +0 -211
- package/dist/OGCFeatureLayerView2D-3dacad79.js +0 -82
- package/dist/ObjectStack-5e8cdae7.js +0 -21
- package/dist/Octree-0cab1591.js +0 -495
- package/dist/OpenStreetMapLayer-4b9e6867.js +0 -30
- package/dist/OperationalLayer-96cb1405.js +0 -44
- package/dist/OrderByInfo-4cb60db9.js +0 -16
- package/dist/OrderedLayer-cbff4a31.js +0 -26
- package/dist/OrientedImageryLayer-301c702b.js +0 -216
- package/dist/OverlayCompositing.glsl-cdda5153.js +0 -65
- package/dist/OverrideHelper-f9ba3c94.js +0 -242
- package/dist/PBFDecoderWorker-eac75de9.js +0 -213
- package/dist/PointCloudLayer-ce8e5fd6.js +0 -197
- package/dist/PointCloudUniqueValueRenderer-ca506fdf.js +0 -115
- package/dist/PointCloudWorker-49b24336.js +0 -212
- package/dist/PooledRBush-af918d48.js +0 -272
- package/dist/Popup-e996c502.js +0 -3990
- package/dist/PortalLayer-60c1c36d.js +0 -126
- package/dist/Program-5b5c8288.js +0 -694
- package/dist/ProgramTemplate-62d54e1b.js +0 -35
- package/dist/QueryEngine-1b2a6d7d.js +0 -896
- package/dist/QueryTask-07de3621.js +0 -119
- package/dist/RasterSymbolizer-c6f76134.js +0 -3024
- package/dist/RasterVFDisplayObject-573f0530.js +0 -581
- package/dist/RasterWorker-f428c6b4.js +0 -78
- package/dist/RawBlockCache-0803fdd7.js +0 -185
- package/dist/RealisticTree.glsl-abb5883e.js +0 -42
- package/dist/RefreshableLayer-0d1a28eb.js +0 -80
- package/dist/RefreshableLayerView-19c8ff47.js +0 -16
- package/dist/Relationship-35bb85fc.js +0 -64
- package/dist/RelationshipQuery-1cb86efa.js +0 -22
- package/dist/RenderingContext-34f41421.js +0 -889
- package/dist/RibbonLine.glsl-88da820b.js +0 -65
- package/dist/RouteLayer-b6a064d9.js +0 -786
- package/dist/RouteLayerView2D-b14b84ae.js +0 -195
- package/dist/SDFHelper-49b28369.js +0 -140
- package/dist/SSAO.glsl-b5eba45c.js +0 -43
- package/dist/SSAOBlur.glsl-7377bef6.js +0 -42
- package/dist/ScaleRangeLayer-d06647e5.js +0 -21
- package/dist/SceneLayer-34617ffa.js +0 -542
- package/dist/SceneLayerSnappingSource-2115fd1b.js +0 -218
- package/dist/SceneLayerSnappingSourceWorker-5051ed2a.js +0 -112
- package/dist/SceneLayerWorker-416bda11.js +0 -164
- package/dist/SceneService-337f7bcd.js +0 -215
- package/dist/Scheduler-b0e8df04.js +0 -373
- package/dist/ShadedColorMaterial.glsl-8dd39e79.js +0 -64
- package/dist/SnappingOperation-726320a3.js +0 -48
- package/dist/SourceLayerData-b2da5f90.js +0 -116
- package/dist/SpatialFilter-0839066d.js +0 -1701
- package/dist/Stop-16e18837.js +0 -281
- package/dist/StreamLayer-a2c5ad69.js +0 -188
- package/dist/StreamLayerView2D-b1cb419c.js +0 -164
- package/dist/StyleRepository-55975dc1.js +0 -2212
- package/dist/SublayersOwner-dfd52113.js +0 -545
- package/dist/SubtypeGroupLayer-19990fdc.js +0 -514
- package/dist/SubtypeGroupLayerView2D-039eecec.js +0 -84
- package/dist/TechniqueInstance-f272ce92.js +0 -233
- package/dist/TemporalLayer-960c7904.js +0 -23
- package/dist/Texture-08e8abdd.js +0 -501
- package/dist/TextureOnly.glsl-adbd8e1e.js +0 -65
- package/dist/Theme-a0c472c9.js +0 -3426
- package/dist/Tick-ad80492f.js +0 -723
- package/dist/TileContainer-6b12d8e1.js +0 -31
- package/dist/TileInfoTilemapCache-b78dac78.js +0 -38
- package/dist/TileLayer-4db1b607.js +0 -194
- package/dist/TileLayerView2D-1f2d0b4c.js +0 -187
- package/dist/TilemapCache-671945d2.js +0 -189
- package/dist/TimeInfo-48493242.js +0 -42
- package/dist/TimeOnly-40ea9bb9.js +0 -706
- package/dist/Tooltip-9ecc3c9d.js +0 -138
- package/dist/TopFeaturesQuery-c0fd4e83.js +0 -32
- package/dist/TurboLine-cb0c9eaa.js +0 -565
- package/dist/UniqueValueRenderer-e4a27dfc.js +0 -1039
- package/dist/UnknownLayer-c3ba50b7.js +0 -30
- package/dist/UnknownTimeZone-832b690f.js +0 -15
- package/dist/UnsupportedLayer-0a89352f.js +0 -31
- package/dist/UpdateTracking2D-881e1d79.js +0 -8566
- package/dist/Util-b8d78341.js +0 -57
- package/dist/VectorTileLayer-43223ebe.js +0 -544
- package/dist/VectorTileLayerView2D-3d5f0721.js +0 -2108
- package/dist/Version-014efc62.js +0 -33
- package/dist/VertexArrayObject-4c6a6897.js +0 -73
- package/dist/VertexColor.glsl-e1468339.js +0 -2683
- package/dist/VertexSnappingCandidate-b3a3d14d.js +0 -13
- package/dist/VideoLayerView2D-f24c6919.js +0 -124
- package/dist/VoxelLayer-5ab46878.js +0 -631
- package/dist/WFSLayer-e8a081ca.js +0 -221
- package/dist/WFSSourceWorker-55c872f8.js +0 -157
- package/dist/WGLContainer-f4c4a8dc.js +0 -5426
- package/dist/WMSLayer-e9d5e4a6.js +0 -536
- package/dist/WMSLayerView2D-56144a1d.js +0 -117
- package/dist/WMTSLayer-c571ae0f.js +0 -531
- package/dist/WMTSLayerView2D-81b561e0.js +0 -142
- package/dist/WebTileLayer-cd295f56.js +0 -110
- package/dist/WhereClause-8bc4aa58.js +0 -2766
- package/dist/WorkerHandle-f8e580f2.js +0 -47
- package/dist/WorkerTileHandler-0f73a7f2.js +0 -1539
- package/dist/action-53058ddb.js +0 -198
- package/dist/action-group-ff2ef7e7.js +0 -145
- package/dist/action-menu-fefff035.js +0 -1759
- package/dist/apng-ac31a3d2.js +0 -392
- package/dist/arcade-ce9e8356.js +0 -229
- package/dist/arcadeAsyncRuntime-068150f3.js +0 -943
- package/dist/arcadeUtils-38c2028a.js +0 -8741
- package/dist/arcgis-knowledge-client-core-418d2890.js +0 -1218
- package/dist/arcgis-knowledge-client-core-simd-bf207cbd.js +0 -1218
- package/dist/arcgisLayers-f9b73e96.js +0 -152
- package/dist/associatedFeatureServiceUtils-f1895302.js +0 -92
- package/dist/axisAngleDegrees-abd6e971.js +0 -49
- package/dist/basis_transcoder-ba9d02db.js +0 -1248
- package/dist/calcite-action-07342a33.js +0 -22
- package/dist/calcite-action-bar-b8b194bf.js +0 -303
- package/dist/calcite-action-group-f93a5b76.js +0 -28
- package/dist/calcite-button-13172f9c.js +0 -228
- package/dist/calcite-flow-959098df.js +0 -128
- package/dist/calcite-flow-item-9141ea0e.js +0 -499
- package/dist/calcite-icon-1f1f741d.js +0 -16
- package/dist/calcite-input-99b0c89d.js +0 -24
- package/dist/calcite-label-5daa57c6.js +0 -79
- package/dist/calcite-list-543efc4b.js +0 -2135
- package/dist/calcite-list-item-a148ac57.js +0 -576
- package/dist/calcite-list-item-group-4da974f3.js +0 -71
- package/dist/calcite-loader-8b29a4cd.js +0 -14
- package/dist/calcite-modal-b64d2a9b.js +0 -333
- package/dist/calcite-notice-1527bc00.js +0 -181
- package/dist/calcite-option-5ea94a2a.js +0 -94
- package/dist/calcite-scrim-35fd270f.js +0 -18
- package/dist/calcite-select-a936a6d4.js +0 -231
- package/dist/capabilities-eb05cd14.js +0 -50
- package/dist/chartCommon-af447b81.js +0 -256
- package/dist/chartUtilsAm5-21243f3e.js +0 -2954
- package/dist/clientSideDefaults-0197b13d.js +0 -39
- package/dist/colorRamps-100595ab.js +0 -38
- package/dist/colorUtils-1a8cc2f8.js +0 -164
- package/dist/commonProperties-7d8f6b56.js +0 -60
- package/dist/computeTranslationToOriginAndRotation-466bc2c5.js +0 -60
- package/dist/conditionalSlot-55a86124.js +0 -27
- package/dist/createConnection-37afc89c.js +0 -299
- package/dist/dataUtils-efd5edf8.js +0 -1421
- package/dist/deduplicate-be0453c1.js +0 -89
- package/dist/defaults-3495cefd.js +0 -31
- package/dist/deleteForwardEdits-8ffa4b4e.js +0 -13
- package/dist/diffUtils-cccaeaa2.js +0 -90
- package/dist/drapedUtils-dfe3325a.js +0 -75
- package/dist/earcut-1a1bdd2c.js +0 -292
- package/dist/edgeProcessing-b0f5f4f0.js +0 -252
- package/dist/editingSupport-93603f8d.js +0 -203
- package/dist/editsZScale-8a2a7226.js +0 -37
- package/dist/elevationInfoUtils-96b1ac38.js +0 -126
- package/dist/executeForIds-48f5ccd3.js +0 -14
- package/dist/executeForTopCount-6ba38c5f.js +0 -17
- package/dist/executeForTopExtents-570aeb4a.js +0 -17
- package/dist/executeForTopIds-066c5e05.js +0 -17
- package/dist/executeQueryJSON-f5d65f6d.js +0 -15
- package/dist/executeQueryPBF-4ff20838.js +0 -152
- package/dist/executeRelationshipQuery-60c2686f.js +0 -53
- package/dist/executeTopFeaturesQuery-029eb564.js +0 -18
- package/dist/featureConversionUtils-8635d4bd.js +0 -479
- package/dist/featureLayerUtils-883379f8.js +0 -250
- package/dist/featureLayerUtils-89be3008.js +0 -142
- package/dist/featureSetUtils-3ba52dc3.js +0 -2530
- package/dist/featuresetbase-360521bb.js +0 -707
- package/dist/featuresetgeom-1c40fbf0.js +0 -99
- package/dist/featuresetstats-8b7ee0fc.js +0 -81
- package/dist/featuresetstring-502232ab.js +0 -95
- package/dist/fetchService-81224f29.js +0 -33
- package/dist/fieldProperties-1d23cc31.js +0 -33
- package/dist/floatRGBA-8dd8f77f.js +0 -20
- package/dist/form-81637afc.js +0 -138
- package/dist/geohashUtils-7a5a8250.js +0 -85
- package/dist/geojson-b271f3fc.js +0 -208
- package/dist/geomasync-4182a04e.js +0 -567
- package/dist/geometryEngine-170fd2fc.js +0 -192
- package/dist/geometryEngineAsync-ff5386c8.js +0 -217
- package/dist/geometryEngineBase-292b6d6f.js +0 -18463
- package/dist/geometryEngineJSON-15d3dac3.js +0 -46
- package/dist/geometryEngineJSON-c8044348.js +0 -171
- package/dist/geometryEngineWorker-19511bd8.js +0 -11
- package/dist/geometryServiceUtils-a348e7af.js +0 -28
- package/dist/georeference-72e12165.js +0 -291
- package/dist/gif-48b9a7df.js +0 -323
- package/dist/gltfexport-45261c80.js +0 -705
- package/dist/groupLayerUtils-f400995e.js +0 -39
- package/dist/heatmapUtils-81245e4b.js +0 -45
- package/dist/highlightReasons-23d6c956.js +0 -19
- package/dist/hydrated-e88a116e.js +0 -40
- package/dist/i3s-8b6deab9.js +0 -809
- package/dist/icon-422742c4.js +0 -127
- package/dist/imageBitmapUtils-12016538.js +0 -23
- package/dist/imageUtils-b38618d9.js +0 -89
- package/dist/imageUtils-c550215a.js +0 -69
- package/dist/imageryUtils-ac0e6068.js +0 -43
- package/dist/index-a450f76b.js +0 -45553
- package/dist/input-message-c606a089.js +0 -92
- package/dist/input2-8de5385e.js +0 -575
- package/dist/interactive-1bfa32d8.js +0 -80
- package/dist/jsonContext-70d89bc5.js +0 -15
- package/dist/jsonUtils-599f89fd.js +0 -86
- package/dist/jsonUtils-59cbda09.js +0 -476
- package/dist/jsonUtils-dbeb4b10.js +0 -59
- package/dist/kmlUtils-acfd0be5.js +0 -112
- package/dist/knowledgeGraphService-d0de6015.js +0 -739
- package/dist/knowledgegraph-1d25377f.js +0 -149
- package/dist/labelUtils-17e6e19c.js +0 -61
- package/dist/labelingInfo-7583b96a.js +0 -46
- package/dist/layersCreator-a7588c85.js +0 -151
- package/dist/layersLoader-503fa253.js +0 -197
- package/dist/lazyLayerLoader-14780aaf.js +0 -10
- package/dist/lclayout-b5aeb13b.js +0 -773
- package/dist/lengthUtils-15c44621.js +0 -5
- package/dist/lerc-wasm-57456401.js +0 -325
- package/dist/libtess-asm-08a80cbf.js +0 -3673
- package/dist/libtess-bcb513a0.js +0 -269
- package/dist/lineSegment-53f5f3d5.js +0 -76
- package/dist/loadGLTFMesh-561cd76a.js +0 -181
- package/dist/loadable-11e952cf.js +0 -24
- package/dist/loader-aafdf7c3.js +0 -79
- package/dist/lyr3DWorker-1876a7b0.js +0 -2108
- package/dist/mapViewDeps-c8de4ef9.js +0 -3052
- package/dist/mediaLayerUtils-236fdb9c.js +0 -35
- package/dist/meshFeatureSet-cf240f51.js +0 -126
- package/dist/meshVertexSpaceUtils-3647b869.js +0 -58
- package/dist/multidimensionalUtils-611e5cda.js +0 -290
- package/dist/normalizeUtilsSync-90304e5d.js +0 -181
- package/dist/number-d1e69c5f.js +0 -128
- package/dist/objectResourceUtils-237c5dab.js +0 -1455
- package/dist/observers-7ebedc04.js +0 -30
- package/dist/ogcFeatureUtils-f14754d3.js +0 -206
- package/dist/openCloseComponent-f7f72e31.js +0 -37
- package/dist/orientedBoundingBox-75e679bc.js +0 -447
- package/dist/parser-54b64f9a.js +0 -488
- package/dist/pbf-4b5a905e.js +0 -215
- package/dist/pbfQueryUtils-780daa49.js +0 -422
- package/dist/pe-wasm-7eeff6bc.js +0 -887
- package/dist/persistable-2afd8b64.js +0 -89
- package/dist/perspectiveUtils-78d50b08.js +0 -42
- package/dist/pieChart-f5575f34.js +0 -555
- package/dist/plane-ee1849b4.js +0 -160
- package/dist/popupUtils-5d826c7a.js +0 -50
- package/dist/popupUtils-8f261298.js +0 -22
- package/dist/portalItemUtils-07c1c29f.js +0 -57
- package/dist/portalLayers-199d1cb1.js +0 -312
- package/dist/portalUtils-f3c544f6.js +0 -7
- package/dist/programUtils-cd0377dc.js +0 -59
- package/dist/project-6d7a2904.js +0 -21
- package/dist/projectPointToVector-5800baf2.js +0 -14
- package/dist/projectVectorToVector-fdcb00cb.js +0 -13
- package/dist/quantityUtils-ab7a657b.js +0 -33
- package/dist/quantizationUtils-dde8a0c2.js +0 -68
- package/dist/quat-48b188ff.js +0 -104
- package/dist/query-581e35c7.js +0 -89
- package/dist/queryAttachments-191977a0.js +0 -39
- package/dist/queryEngineUtils-15b0748f.js +0 -21
- package/dist/queryTopFeatures-e6b8517a.js +0 -50
- package/dist/queryZScale-b9c83898.js +0 -12
- package/dist/rasterProjectionHelper-9e69c84d.js +0 -577
- package/dist/rasterUtils-76d2db45.js +0 -122
- package/dist/rasterizingUtils-730137a6.js +0 -46
- package/dist/request-3c238dd9.js +0 -46
- package/dist/requestImageUtils-6a0b710a.js +0 -8
- package/dist/resourceExtension-8e2ef6d4.js +0 -17
- package/dist/resourceUtils-49ebeb9f.js +0 -42
- package/dist/resourceUtils-b3c85655.js +0 -62
- package/dist/resourceUtils-b45c0ef9.js +0 -69
- package/dist/saveAPIKeyUtils-1146065e.js +0 -8
- package/dist/saveUtils-196e791e.js +0 -24
- package/dist/scaleUtils-7e908168.js +0 -23
- package/dist/scrim-56f6fa37.js +0 -114
- package/dist/serviceCapabilitiesUtils-266d7001.js +0 -64
- package/dist/sourceUtils-0d21eace.js +0 -71
- package/dist/sphere-8103ac36.js +0 -199
- package/dist/statsWorker-04df4d99.js +0 -37
- package/dist/streamLayerUtils-6b66a73a.js +0 -31
- package/dist/styleUtils-31e64784.js +0 -75
- package/dist/styleUtils-3951c967.js +0 -14
- package/dist/sublayerUtils-d60d357a.js +0 -37
- package/dist/substitute-77b7b80a.js +0 -52
- package/dist/symbolColorUtils-d97fe12d.js +0 -8
- package/dist/symbolLayerUtils-5f73a9b9.js +0 -31
- package/dist/symbologySnappingCandidates-bd284687.js +0 -221
- package/dist/t9n-2012740c.js +0 -349
- package/dist/testSVGPremultipliedAlpha-bb386a75.js +0 -94
- package/dist/timeSupport-2eb266be.js +0 -410
- package/dist/triangle-cac8dd7a.js +0 -98
- package/dist/unitConversionUtils-ad9151e0.js +0 -17
- package/dist/unitFormatUtils-3096fcbf.js +0 -40
- package/dist/uploadAssetErrors-b8ec890d.js +0 -70
- package/dist/uploadAssets-42d5e368.js +0 -330
- package/dist/utils-0ec1deff.js +0 -232
- package/dist/utils-25ac5b7c.js +0 -73
- package/dist/utils-3fc8cef0.js +0 -79
- package/dist/utils-59c058ba.js +0 -2746
- package/dist/utils-5a4ac69c.js +0 -419
- package/dist/utils-93ae7d8a.js +0 -34
- package/dist/utils-bba64d46.js +0 -91
- package/dist/utils-ce8900dc.js +0 -433
- package/dist/utils3-72b32be5.js +0 -75
- package/dist/vec3-0abe1464.js +0 -81
- package/dist/vec42-1641eab7.js +0 -125
- package/dist/versionUtils-6a805b25.js +0 -161
- package/dist/visualVariableUtils-7ae62b11.js +0 -267
- package/dist/webStyleSymbolUtils-038dca4c.js +0 -48
- package/dist/webglDeps-c2957fe0.js +0 -23
- package/dist/wfsUtils-a332128b.js +0 -343
- package/dist/workerHelper-2a48e790.js +0 -11
- package/dist/xyChart-131284db.js +0 -3335
|
@@ -1,1707 +0,0 @@
|
|
|
1
|
-
import { s as de, t as H, o as le, M as fe, d as _e } from "./LabelMetric-a3f892e4.js";
|
|
2
|
-
import { a as pe, n as me, b as m, c as ye, l as ge, s as be, k as xe, f as I } from "./UpdateTracking2D-881e1d79.js";
|
|
3
|
-
import { gY as W, B as A, bz as Ie, W as w, s as S, eG as we, jM as Se, X as Te, bV as ve, bZ as Ee, Y as Ae, u as Me, eT as Ce, an as k, aG as ze, by as Fe, aK as $e, bR as De, aO as b, ap as Be, c7 as Re, jN as Oe, a1 as Ve } from "./index-a450f76b.js";
|
|
4
|
-
import { p as Pe } from "./labelUtils-17e6e19c.js";
|
|
5
|
-
import { Z as X } from "./FieldsIndex-fd635f39.js";
|
|
6
|
-
import { m as M, n as J, a as q } from "./TimeOnly-40ea9bb9.js";
|
|
7
|
-
import { b as Ge, v as je, t as ke, n as Ne } from "./timeSupport-2eb266be.js";
|
|
8
|
-
import { r as O, p as K } from "./featureConversionUtils-8635d4bd.js";
|
|
9
|
-
import { e as C, t as We } from "./OptimizedGeometry-3b808152.js";
|
|
10
|
-
import { m as Le } from "./diffUtils-cccaeaa2.js";
|
|
11
|
-
import { l as V } from "./highlightReasons-23d6c956.js";
|
|
12
|
-
import { b as Ue, M as P } from "./definitions-a00a3a6c.js";
|
|
13
|
-
import { U as z } from "./enums-2c166c09.js";
|
|
14
|
-
const Ye = 1.25;
|
|
15
|
-
let D = class {
|
|
16
|
-
get length() {
|
|
17
|
-
return this._pos;
|
|
18
|
-
}
|
|
19
|
-
constructor(e, t) {
|
|
20
|
-
this._pos = 0;
|
|
21
|
-
const r = t ? this._roundToNearest(t, e.BYTES_PER_ELEMENT) : 40;
|
|
22
|
-
this._array = new ArrayBuffer(r), this._buffer = new e(this._array), this._ctor = e, this._i16View = new Int16Array(this._array);
|
|
23
|
-
}
|
|
24
|
-
_roundToNearest(e, t) {
|
|
25
|
-
const r = Math.round(e);
|
|
26
|
-
return t === 1 ? r : r + (t - r % t);
|
|
27
|
-
}
|
|
28
|
-
_ensureSize(e) {
|
|
29
|
-
if (this._pos + e >= this._buffer.length) {
|
|
30
|
-
const t = this._roundToNearest((this._array.byteLength + e * this._buffer.BYTES_PER_ELEMENT) * Ye, this._buffer.BYTES_PER_ELEMENT), r = new ArrayBuffer(t), s = new this._ctor(r);
|
|
31
|
-
s.set(this._buffer, 0), this._array = r, this._buffer = s, this._i16View = new Int16Array(this._array);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
ensureSize(e) {
|
|
35
|
-
this._ensureSize(e);
|
|
36
|
-
}
|
|
37
|
-
writeF32(e) {
|
|
38
|
-
this._ensureSize(1);
|
|
39
|
-
const t = this._pos;
|
|
40
|
-
return new Float32Array(this._array, 4 * this._pos, 1)[0] = e, this._pos++, t;
|
|
41
|
-
}
|
|
42
|
-
push(e) {
|
|
43
|
-
this._ensureSize(1);
|
|
44
|
-
const t = this._pos;
|
|
45
|
-
return this._buffer[this._pos++] = e, t;
|
|
46
|
-
}
|
|
47
|
-
writeFixed(e) {
|
|
48
|
-
this._buffer[this._pos++] = e;
|
|
49
|
-
}
|
|
50
|
-
setValue(e, t) {
|
|
51
|
-
this._buffer[e] = t;
|
|
52
|
-
}
|
|
53
|
-
i1616Add(e, t, r) {
|
|
54
|
-
this._i16View[2 * e] += t, this._i16View[2 * e + 1] += r;
|
|
55
|
-
}
|
|
56
|
-
getValue(e) {
|
|
57
|
-
return this._buffer[e];
|
|
58
|
-
}
|
|
59
|
-
getValueF32(e) {
|
|
60
|
-
return new Float32Array(this._array, 4 * e, 1)[0];
|
|
61
|
-
}
|
|
62
|
-
incr(e) {
|
|
63
|
-
if (this._buffer.length < e)
|
|
64
|
-
throw new Error("Increment index overflows the target buffer");
|
|
65
|
-
this._buffer[e]++;
|
|
66
|
-
}
|
|
67
|
-
decr(e) {
|
|
68
|
-
this._buffer[e]--;
|
|
69
|
-
}
|
|
70
|
-
writeRegion(e) {
|
|
71
|
-
this._ensureSize(e.length);
|
|
72
|
-
const t = this._pos;
|
|
73
|
-
return this._buffer.set(e, this._pos), this._pos += e.length, t;
|
|
74
|
-
}
|
|
75
|
-
writeManyFrom(e, t, r) {
|
|
76
|
-
this._ensureSize(r - t);
|
|
77
|
-
for (let s = t; s !== r; s++)
|
|
78
|
-
this.writeFixed(e._buffer[s]);
|
|
79
|
-
}
|
|
80
|
-
buffer() {
|
|
81
|
-
const e = this._array.slice(0, 4 * this._pos);
|
|
82
|
-
return this.destroy(), e;
|
|
83
|
-
}
|
|
84
|
-
toArray() {
|
|
85
|
-
return [...this._buffer];
|
|
86
|
-
}
|
|
87
|
-
seek(e) {
|
|
88
|
-
this._pos = e;
|
|
89
|
-
}
|
|
90
|
-
destroy() {
|
|
91
|
-
this._array = null, this._buffer = null;
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
const Ze = 6, He = 4;
|
|
95
|
-
let Xe = class {
|
|
96
|
-
constructor(e, t, r, s = 0) {
|
|
97
|
-
const i = Ze * s * Uint32Array.BYTES_PER_ELEMENT, n = He * s * r, o = r / 4, h = t.attributes.find((d) => d.name === "pos" || d.name === "position");
|
|
98
|
-
if (!h)
|
|
99
|
-
throw new Error("InternalError: Unable to find position attribute");
|
|
100
|
-
this.layout = { ...t, position: h }, this._indices = new D(Uint32Array, i), this._vertices = new D(Uint32Array, n), this._metrics = new D(Uint32Array, 0), this._metricCountOffset = this._metrics.push(0), this._strideInt = o, this._instanceId = e;
|
|
101
|
-
}
|
|
102
|
-
serialize(e) {
|
|
103
|
-
const t = this._indices.buffer(), r = this._vertices.buffer(), s = this._metrics.length ? this._metrics.buffer() : null;
|
|
104
|
-
return e.push(t, r), { instanceId: this._instanceId, layout: this.layout, indices: t, vertices: r, metrics: s };
|
|
105
|
-
}
|
|
106
|
-
get strideInt() {
|
|
107
|
-
return this._strideInt;
|
|
108
|
-
}
|
|
109
|
-
get vertexCount() {
|
|
110
|
-
return this._vertices.length / this._strideInt;
|
|
111
|
-
}
|
|
112
|
-
get indexCount() {
|
|
113
|
-
return this._indices.length;
|
|
114
|
-
}
|
|
115
|
-
get indexWriter() {
|
|
116
|
-
return this._indices;
|
|
117
|
-
}
|
|
118
|
-
get vertexWriter() {
|
|
119
|
-
return this._vertices;
|
|
120
|
-
}
|
|
121
|
-
get metricWriter() {
|
|
122
|
-
return this._metrics;
|
|
123
|
-
}
|
|
124
|
-
vertexEnsureSize(e) {
|
|
125
|
-
this._vertices.ensureSize(e);
|
|
126
|
-
}
|
|
127
|
-
indexEnsureSize(e) {
|
|
128
|
-
this._indices.ensureSize(e);
|
|
129
|
-
}
|
|
130
|
-
writeIndex(e) {
|
|
131
|
-
this._indices.push(e);
|
|
132
|
-
}
|
|
133
|
-
writeVertex(e) {
|
|
134
|
-
this._vertices.push(e);
|
|
135
|
-
}
|
|
136
|
-
writeVertexRegion(e) {
|
|
137
|
-
this._vertices.writeRegion(e);
|
|
138
|
-
}
|
|
139
|
-
writeVertexF32(e) {
|
|
140
|
-
this._vertices.writeF32(e);
|
|
141
|
-
}
|
|
142
|
-
writeMetric(e) {
|
|
143
|
-
this._metrics.incr(this._metricCountOffset), e.serialize(this._metrics);
|
|
144
|
-
}
|
|
145
|
-
}, Zt = class {
|
|
146
|
-
constructor(e, t = 0) {
|
|
147
|
-
this._id = e, this._sizeHint = t, this._entityRecordCountOffset = 0, this._entityCountOffset = 0, this._entityIdIndex = 0, this._entitySortKeyIndex = 0, this._instanceIdToVertexData = /* @__PURE__ */ new Map(), this._recordIndexStart = 0, this._recordIndexCount = 0, this._recordVertexStart = 0, this._recordVertexCount = 0, this._current = { metric: null, writer: null, start: 0, sortKey: 0, instanceId: 0, layoutHash: 0, indexStart: 0, vertexStart: 0, textureKey: 0, metricBoxLenPointer: 0 }, this._entities = new D(Uint32Array, this._sizeHint * de.byteSizeHint), this._entityCountOffset = this._entities.push(0);
|
|
148
|
-
}
|
|
149
|
-
get id() {
|
|
150
|
-
return this._id;
|
|
151
|
-
}
|
|
152
|
-
serialize() {
|
|
153
|
-
const e = new Array(), t = [], r = this._entities.buffer();
|
|
154
|
-
for (const s of this._instanceIdToVertexData.values())
|
|
155
|
-
t.push(s.serialize(e));
|
|
156
|
-
return { message: { data: t, entities: r }, transferList: e };
|
|
157
|
-
}
|
|
158
|
-
vertexCount() {
|
|
159
|
-
var e;
|
|
160
|
-
return ((e = this._current.writer) == null ? void 0 : e.vertexCount) ?? 0;
|
|
161
|
-
}
|
|
162
|
-
indexCount() {
|
|
163
|
-
var e;
|
|
164
|
-
return ((e = this._current.writer) == null ? void 0 : e.indexCount) ?? 0;
|
|
165
|
-
}
|
|
166
|
-
vertexEnsureSize(e) {
|
|
167
|
-
this._current.writer.vertexEnsureSize(e);
|
|
168
|
-
}
|
|
169
|
-
indexEnsureSize(e) {
|
|
170
|
-
this._current.writer.indexEnsureSize(e);
|
|
171
|
-
}
|
|
172
|
-
vertexWrite(e) {
|
|
173
|
-
this._current.writer.writeVertex(e);
|
|
174
|
-
}
|
|
175
|
-
vertexWriteRegion(e) {
|
|
176
|
-
this._current.writer.writeVertexRegion(e);
|
|
177
|
-
}
|
|
178
|
-
vertexWriteF32(e) {
|
|
179
|
-
this._current.writer.writeVertexF32(e);
|
|
180
|
-
}
|
|
181
|
-
recordBounds(e, t, r, s) {
|
|
182
|
-
}
|
|
183
|
-
indexWrite(e) {
|
|
184
|
-
this._current.writer.writeIndex(e);
|
|
185
|
-
}
|
|
186
|
-
metricStart(e) {
|
|
187
|
-
this._current.metric = e;
|
|
188
|
-
}
|
|
189
|
-
metricEnd() {
|
|
190
|
-
const e = this._current.writer;
|
|
191
|
-
this._current.metric.bounds.length && e.writeMetric(this._current.metric);
|
|
192
|
-
}
|
|
193
|
-
metricBoxWrite(e) {
|
|
194
|
-
this._current.metric.bounds.push(e);
|
|
195
|
-
}
|
|
196
|
-
entityStart(e, t = e) {
|
|
197
|
-
this._entityIdIndex = this._entities.push(e), this._entitySortKeyIndex = this._entities.writeF32(t), this._entityRecordCountOffset = this._entities.push(0);
|
|
198
|
-
}
|
|
199
|
-
entityRecordCount() {
|
|
200
|
-
return this._entities.getValue(this._entityRecordCountOffset);
|
|
201
|
-
}
|
|
202
|
-
entityEnd() {
|
|
203
|
-
this.entityRecordCount() === 0 ? this._entities.seek(this._entityIdIndex) : this._entities.incr(this._entityCountOffset);
|
|
204
|
-
}
|
|
205
|
-
recordCount() {
|
|
206
|
-
return this._entities.getValue(this._entityRecordCountOffset);
|
|
207
|
-
}
|
|
208
|
-
recordStart(e, t, r = 0) {
|
|
209
|
-
this._current.writer = this._getVertexWriter(e, t), this._current.indexStart = this._current.writer.indexCount, this._current.vertexStart = this._current.writer.vertexCount, this._current.instanceId = e, this._current.layoutHash = t.hash, this._current.textureKey = r;
|
|
210
|
-
}
|
|
211
|
-
recordEnd(e = 0) {
|
|
212
|
-
const t = this._current.vertexStart, r = this._current.writer.vertexCount - t;
|
|
213
|
-
if (!r)
|
|
214
|
-
return !1;
|
|
215
|
-
const s = this._current.indexStart, i = this._current.writer.indexCount - s;
|
|
216
|
-
return this._recordIndexStart = s, this._recordIndexCount = i, this._recordVertexStart = t, this._recordVertexCount = r, this._entities.incr(this._entityRecordCountOffset), H.write(this._entities, this._current.instanceId, this._current.textureKey, s, i, t, r, e), !0;
|
|
217
|
-
}
|
|
218
|
-
copyLast(e, t) {
|
|
219
|
-
const r = this._recordVertexStart + this._recordVertexCount;
|
|
220
|
-
this._entities.incr(this._entityRecordCountOffset), H.write(this._entities, this._current.instanceId, this._current.textureKey, this._recordIndexStart + this._recordIndexCount, this._recordIndexCount, r, this._recordVertexCount, 0);
|
|
221
|
-
const s = this._current.writer.indexWriter, i = this._current.writer.vertexWriter, n = this._recordIndexStart + this._recordIndexCount, o = this._recordVertexCount;
|
|
222
|
-
for (let p = this._recordIndexStart; p !== n; p++) {
|
|
223
|
-
const _ = s.getValue(p);
|
|
224
|
-
s.push(_ + o);
|
|
225
|
-
}
|
|
226
|
-
const h = this._current.writer.layout.stride / Uint32Array.BYTES_PER_ELEMENT, d = this._recordVertexStart * h, u = (this._recordVertexStart + this._recordVertexCount) * h;
|
|
227
|
-
for (let p = d; p !== u; p++) {
|
|
228
|
-
const _ = i.getValue(p);
|
|
229
|
-
i.push(_);
|
|
230
|
-
}
|
|
231
|
-
const c = this._current.writer.layout.position, l = c.packPrecisionFactor ?? 1, y = c.offset / Uint32Array.BYTES_PER_ELEMENT, f = e * l, g = t * l;
|
|
232
|
-
for (let p = r * h; p <= i.length; p += h)
|
|
233
|
-
i.i1616Add(p + y, f, g);
|
|
234
|
-
this.recordEnd();
|
|
235
|
-
}
|
|
236
|
-
copyLastFrom(e, t, r) {
|
|
237
|
-
const s = e._entities.getValue(e._entityIdIndex);
|
|
238
|
-
if (s !== this._entities.getValue(this._entityIdIndex)) {
|
|
239
|
-
const _ = e._entities.getValueF32(e._entitySortKeyIndex);
|
|
240
|
-
this.entityStart(s, _);
|
|
241
|
-
}
|
|
242
|
-
this.recordStart(e._current.instanceId, e._current.writer.layout, e._current.textureKey);
|
|
243
|
-
const i = this._current.writer.layout.stride / Uint32Array.BYTES_PER_ELEMENT, n = this._current.vertexStart, o = e._current.vertexStart - n, h = this._current.writer.indexWriter, d = this._current.writer.vertexWriter, u = e._current.writer.indexWriter, c = e._current.writer.vertexWriter;
|
|
244
|
-
for (let _ = e._current.indexStart; _ !== u.length; _++) {
|
|
245
|
-
const T = u.getValue(_);
|
|
246
|
-
h.push(T - o);
|
|
247
|
-
}
|
|
248
|
-
for (let _ = e._current.vertexStart * i; _ !== c.length; _++) {
|
|
249
|
-
const T = c.getValue(_);
|
|
250
|
-
d.push(T);
|
|
251
|
-
}
|
|
252
|
-
const l = this._current.writer.layout.position, y = l.packPrecisionFactor ?? 1, f = l.offset / Uint32Array.BYTES_PER_ELEMENT, g = t * y, p = r * y;
|
|
253
|
-
for (let _ = n * i; _ <= d.length; _ += i)
|
|
254
|
-
d.i1616Add(_ + f, g, p);
|
|
255
|
-
this.recordEnd();
|
|
256
|
-
}
|
|
257
|
-
_getVertexWriter(e, t) {
|
|
258
|
-
const { stride: r } = t, s = this._instanceIdToVertexData;
|
|
259
|
-
return s.has(e) || s.set(e, new Xe(e, t, r, this._sizeHint)), s.get(e);
|
|
260
|
-
}
|
|
261
|
-
};
|
|
262
|
-
function Je(a, e) {
|
|
263
|
-
let t;
|
|
264
|
-
if (typeof a == "string")
|
|
265
|
-
t = W(a + `-seed(${e})`);
|
|
266
|
-
else {
|
|
267
|
-
let r = 12;
|
|
268
|
-
t = a ^ e;
|
|
269
|
-
do
|
|
270
|
-
t = 107 * (t >> 8 ^ t) + r | 0;
|
|
271
|
-
while (--r != 0);
|
|
272
|
-
}
|
|
273
|
-
return (1 + t / (1 << 31)) / 2;
|
|
274
|
-
}
|
|
275
|
-
function qe(a) {
|
|
276
|
-
return Math.floor(Je(a, Ke) * Qe);
|
|
277
|
-
}
|
|
278
|
-
const Ke = 53290320, Qe = 10;
|
|
279
|
-
let E = class {
|
|
280
|
-
destroy() {
|
|
281
|
-
}
|
|
282
|
-
}, et = class extends E {
|
|
283
|
-
constructor(e) {
|
|
284
|
-
super(), this._value = e;
|
|
285
|
-
}
|
|
286
|
-
resize(e) {
|
|
287
|
-
}
|
|
288
|
-
read(e, t) {
|
|
289
|
-
return this._value;
|
|
290
|
-
}
|
|
291
|
-
readWithDefault(e, t, r) {
|
|
292
|
-
return this._value;
|
|
293
|
-
}
|
|
294
|
-
referencesScale() {
|
|
295
|
-
return !1;
|
|
296
|
-
}
|
|
297
|
-
referencesGeometry() {
|
|
298
|
-
return !1;
|
|
299
|
-
}
|
|
300
|
-
};
|
|
301
|
-
const tt = () => S.getLogger("esri.views.2d.engine.webgl.shaderGraph.techniques.mesh.MeshWriterInputEvaluator");
|
|
302
|
-
async function F(a, e, t = !1) {
|
|
303
|
-
const { defaultValue: r, valueExpressionInfo: s, value: i } = e;
|
|
304
|
-
if (s) {
|
|
305
|
-
const { expression: n } = s, o = await a.createComputedField({ expression: n }, t);
|
|
306
|
-
return o ? { ...e, computed: o, defaultValue: r } : null;
|
|
307
|
-
}
|
|
308
|
-
return { ...e, computed: new et(i), defaultValue: r };
|
|
309
|
-
}
|
|
310
|
-
async function Q(a, e) {
|
|
311
|
-
const { defaultValue: t, valueExpressionInfo: r } = e, { expression: s } = r, i = await a.createComputedField({ expression: s });
|
|
312
|
-
return i ? { ...e, computed: i, defaultValue: t } : null;
|
|
313
|
-
}
|
|
314
|
-
const ie = (a) => typeof a != "boolean" && typeof a != "number" && "valueExpressionInfo" in a, rt = (a) => a.some((e) => {
|
|
315
|
-
for (const t in e) {
|
|
316
|
-
const r = e[t];
|
|
317
|
-
if (ie(r))
|
|
318
|
-
return !0;
|
|
319
|
-
}
|
|
320
|
-
return !1;
|
|
321
|
-
});
|
|
322
|
-
let st = class ne {
|
|
323
|
-
static async create(e, t, r) {
|
|
324
|
-
const s = {}, i = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
|
|
325
|
-
for (const u in r.params) {
|
|
326
|
-
const c = r.params[u];
|
|
327
|
-
if (c != null && typeof c == "object")
|
|
328
|
-
if (Array.isArray(c)) {
|
|
329
|
-
if (typeof c[0] == "object")
|
|
330
|
-
throw new Error(`InternalError: Cannot handle ${u}. Nested array params are not supported`);
|
|
331
|
-
s[u] = c;
|
|
332
|
-
} else if ("valueExpressionInfo" in c) {
|
|
333
|
-
if (c.value) {
|
|
334
|
-
s[u] = c.value;
|
|
335
|
-
continue;
|
|
336
|
-
}
|
|
337
|
-
const l = await Q(e, c);
|
|
338
|
-
if (!l) {
|
|
339
|
-
s[u] = c.defaultValue;
|
|
340
|
-
continue;
|
|
341
|
-
}
|
|
342
|
-
i.set(u, l), s[u] = null;
|
|
343
|
-
} else
|
|
344
|
-
switch (c.type) {
|
|
345
|
-
case "cim-effect-infos":
|
|
346
|
-
if (c.effectInfos.some((l) => l.overrides.length)) {
|
|
347
|
-
n.set(u, { effects: await Promise.all(c.effectInfos.map(async (l) => {
|
|
348
|
-
const y = l.overrides.map((f) => F(e, f));
|
|
349
|
-
return { effect: l.effect, compiledOverrides: (await Promise.all(y)).filter(A) };
|
|
350
|
-
})) });
|
|
351
|
-
break;
|
|
352
|
-
}
|
|
353
|
-
s[u] = c.effectInfos.map((l) => l.effect);
|
|
354
|
-
break;
|
|
355
|
-
case "cim-marker-placement-info":
|
|
356
|
-
c.overrides.length && o.set(u, { placementInfo: c, compiledOverrides: (await Promise.all(c.overrides.map((l) => F(e, l)))).filter(A) }), s[u] = c.placement;
|
|
357
|
-
break;
|
|
358
|
-
case "text-rasterization-param": {
|
|
359
|
-
if (c.overrides.length) {
|
|
360
|
-
const y = c.overrides.map((f) => F(e, f, c.useLegacyLabelEvaluationRules));
|
|
361
|
-
h.set(u, { compiledOverrides: (await Promise.all(y)).filter(A), rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
|
|
362
|
-
continue;
|
|
363
|
-
}
|
|
364
|
-
const l = { type: "cim-rasterization-info", resource: c.resource };
|
|
365
|
-
s[u] = await t.fetchResourceImmediate(l) ?? null;
|
|
366
|
-
break;
|
|
367
|
-
}
|
|
368
|
-
case "sprite-rasterization-param": {
|
|
369
|
-
if (c.overrides.length) {
|
|
370
|
-
const y = c.overrides.map((f) => F(e, f));
|
|
371
|
-
h.set(u, { compiledOverrides: (await Promise.all(y)).filter(A), rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
|
|
372
|
-
continue;
|
|
373
|
-
}
|
|
374
|
-
if (c.resource.type === "animated") {
|
|
375
|
-
h.set(u, { compiledOverrides: [], rasterizationParam: c, objectIdToResourceId: /* @__PURE__ */ new Map() });
|
|
376
|
-
continue;
|
|
377
|
-
}
|
|
378
|
-
const l = { type: "cim-rasterization-info", resource: c.resource };
|
|
379
|
-
s[u] = await t.fetchResourceImmediate(l) ?? null;
|
|
380
|
-
break;
|
|
381
|
-
}
|
|
382
|
-
case "cim-marker-transform-param": {
|
|
383
|
-
const { params: l } = c;
|
|
384
|
-
if (rt(l)) {
|
|
385
|
-
const y = { compiledMarkerInfos: [] };
|
|
386
|
-
await Promise.all(l.map(async (f) => {
|
|
387
|
-
const g = { props: {} };
|
|
388
|
-
for (const p in f)
|
|
389
|
-
if (ie(f[p])) {
|
|
390
|
-
const _ = await Q(e, f[p]);
|
|
391
|
-
g.compiledExpressionMap || (g.compiledExpressionMap = /* @__PURE__ */ new Map());
|
|
392
|
-
const T = g.compiledExpressionMap;
|
|
393
|
-
_ && T.set(p, _);
|
|
394
|
-
} else
|
|
395
|
-
g.props[p] = f[p];
|
|
396
|
-
y.compiledMarkerInfos.push(g);
|
|
397
|
-
})), d.set(u, y);
|
|
398
|
-
} else
|
|
399
|
-
s[u] = { type: "cim-marker-transform-info", infos: l };
|
|
400
|
-
break;
|
|
401
|
-
}
|
|
402
|
-
default:
|
|
403
|
-
s[u] = c;
|
|
404
|
-
}
|
|
405
|
-
else
|
|
406
|
-
s[u] = c;
|
|
407
|
-
}
|
|
408
|
-
return new ne(r, s, i, n, o, h, d);
|
|
409
|
-
}
|
|
410
|
-
constructor(e, t, r, s, i, n, o) {
|
|
411
|
-
this.inputMeshParams = e, this._resolvedMeshParams = t, this._dynamicProperties = r, this._dynamicEffectProperties = s, this._dynamicPlacementProperties = i, this._dynamicAsyncProperties = n, this._dynamicTransformProperties = o, this.evaluator = (h) => h;
|
|
412
|
-
}
|
|
413
|
-
get hasDynamicProperties() {
|
|
414
|
-
return !!(this._dynamicProperties.size || this._dynamicAsyncProperties.size || this._dynamicEffectProperties.size || this._dynamicTransformProperties.size || this._dynamicPlacementProperties.size);
|
|
415
|
-
}
|
|
416
|
-
get evaluatedMeshParams() {
|
|
417
|
-
return this._evaluatedMeshParams || (this._evaluatedMeshParams = this.evaluator(this._resolvedMeshParams)), this._evaluatedMeshParams;
|
|
418
|
-
}
|
|
419
|
-
enqueueRequest(e, t, r) {
|
|
420
|
-
for (const s of this._dynamicAsyncProperties.values()) {
|
|
421
|
-
const i = Ie(s.rasterizationParam.resource);
|
|
422
|
-
s.rasterizationParam.resource.type === "animated" && s.rasterizationParam.resource.randomizeStartTime && (i.primitiveName = "__RESERVED__PRIMITIVE__NAME__", i.startGroup = qe(t.getObjectId() || 0));
|
|
423
|
-
for (const { primitiveName: o, propertyName: h, computed: d, defaultValue: u, valueExpressionInfo: c } of s.compiledOverrides)
|
|
424
|
-
try {
|
|
425
|
-
const l = s.rasterizationParam.resource.type === "animated" ? i.primitiveName : o;
|
|
426
|
-
le(i, l, h, d, t, r, u);
|
|
427
|
-
} catch (l) {
|
|
428
|
-
tt().errorOnce(new w("invalid-arcade-expression", `Encountered an error when evaluating the arcade expression '${c == null ? void 0 : c.expression}' (primitive: '${o}', property: '${h}')`, l));
|
|
429
|
-
}
|
|
430
|
-
const n = e.enqueueRequest({ type: "cim-rasterization-info", resource: i });
|
|
431
|
-
s.objectIdToResourceId.set(t.getObjectId(), n);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
evaluateMeshParams(e, t, r) {
|
|
435
|
-
for (const [s, i] of this._dynamicProperties.entries())
|
|
436
|
-
this._resolvedMeshParams[s] = i.computed.readWithDefault(t, r, i.defaultValue);
|
|
437
|
-
for (const [s, i] of this._dynamicPlacementProperties.entries())
|
|
438
|
-
for (const { computed: n, defaultValue: o, propertyName: h } of i.compiledOverrides) {
|
|
439
|
-
const d = n.readWithDefault(t, r, o);
|
|
440
|
-
i.placementInfo.placement[h] = d, this._resolvedMeshParams[s] = i.placementInfo.placement;
|
|
441
|
-
}
|
|
442
|
-
for (const [s, i] of this._dynamicEffectProperties.entries())
|
|
443
|
-
for (const n of i.effects) {
|
|
444
|
-
for (const { computed: o, defaultValue: h, propertyName: d } of n.compiledOverrides) {
|
|
445
|
-
const u = o.readWithDefault(t, r, h);
|
|
446
|
-
n.effect[d] = u;
|
|
447
|
-
}
|
|
448
|
-
this._resolvedMeshParams[s] = i.effects.map((o) => o.effect);
|
|
449
|
-
}
|
|
450
|
-
for (const [s, i] of this._dynamicTransformProperties.entries()) {
|
|
451
|
-
const n = { type: "cim-marker-transform-info", infos: [] };
|
|
452
|
-
for (const o of i.compiledMarkerInfos) {
|
|
453
|
-
const h = { ...o.props };
|
|
454
|
-
if (o.compiledExpressionMap)
|
|
455
|
-
for (const [d, u] of o.compiledExpressionMap) {
|
|
456
|
-
const c = u.computed.readWithDefault(t, r, u.defaultValue);
|
|
457
|
-
h[d] = typeof c == "number" || typeof c == "boolean" ? c : u.defaultValue;
|
|
458
|
-
}
|
|
459
|
-
n.infos.push(h);
|
|
460
|
-
}
|
|
461
|
-
this._resolvedMeshParams[s] = n;
|
|
462
|
-
}
|
|
463
|
-
for (const [s, i] of this._dynamicAsyncProperties.entries()) {
|
|
464
|
-
const n = i.objectIdToResourceId.get(t.getObjectId());
|
|
465
|
-
if (n == null)
|
|
466
|
-
continue;
|
|
467
|
-
const o = e.getResource(n);
|
|
468
|
-
this._resolvedMeshParams[s] = o;
|
|
469
|
-
}
|
|
470
|
-
return this._evaluatedMeshParams = this.evaluator(this._resolvedMeshParams), this.evaluatedMeshParams;
|
|
471
|
-
}
|
|
472
|
-
};
|
|
473
|
-
async function it(a, e, t, r, s, i, n) {
|
|
474
|
-
const o = pe[t], h = await st.create(a, e, s), d = new o.constructor(r, h, i, n);
|
|
475
|
-
return await d.loadDependencies(), d;
|
|
476
|
-
}
|
|
477
|
-
async function qt(a, e, t, r) {
|
|
478
|
-
return Promise.all(t.map((s) => it(a, e, s.meshWriterName, me(s.id), s.options, r, s.optionalAttributes)));
|
|
479
|
-
}
|
|
480
|
-
let nt = class {
|
|
481
|
-
}, Qt = class extends nt {
|
|
482
|
-
constructor(e) {
|
|
483
|
-
super(), this._fetcher = e, this._controller = new AbortController(), this._pendingIds = /* @__PURE__ */ new Set(), this._pendingRequests = [], this._resourceIdToResource = /* @__PURE__ */ new Map();
|
|
484
|
-
}
|
|
485
|
-
destory() {
|
|
486
|
-
this._controller.abort();
|
|
487
|
-
}
|
|
488
|
-
get _abortOptions() {
|
|
489
|
-
return { signal: this._controller.signal };
|
|
490
|
-
}
|
|
491
|
-
enqueueRequest(e) {
|
|
492
|
-
const t = fe(e.resource), r = W(JSON.stringify(t));
|
|
493
|
-
return this._pendingIds.has(r) || (this._pendingIds.add(r), this._pendingRequests.push({ ...e, resourceId: r })), r;
|
|
494
|
-
}
|
|
495
|
-
async fetchEnqueuedResources() {
|
|
496
|
-
const e = this._pendingRequests;
|
|
497
|
-
this._pendingIds.clear(), this._pendingRequests = [];
|
|
498
|
-
const t = await this._fetcher.fetch(e, this._abortOptions);
|
|
499
|
-
for (let r = 0; r < t.length; r++) {
|
|
500
|
-
const s = e[r].resourceId;
|
|
501
|
-
this._resourceIdToResource.set(s, t[r]);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
async fetchResourceImmediate(e) {
|
|
505
|
-
const t = await this._fetcher.fetch([e], this._abortOptions);
|
|
506
|
-
if (t.length !== 1)
|
|
507
|
-
throw new Error("FeaturePipelineResourceProxy: failed to fetch resources");
|
|
508
|
-
return t[0];
|
|
509
|
-
}
|
|
510
|
-
async fetchDictionaryResourceImmediate(e) {
|
|
511
|
-
const t = await this._fetcher.fetchDictionary([e], this._abortOptions);
|
|
512
|
-
if (t.length !== 1)
|
|
513
|
-
throw new Error("FeaturePipelineResourceProxy: failed to fetch dictionary resources");
|
|
514
|
-
return t[0];
|
|
515
|
-
}
|
|
516
|
-
getResource(e) {
|
|
517
|
-
return this._resourceIdToResource.get(e);
|
|
518
|
-
}
|
|
519
|
-
}, at = class extends E {
|
|
520
|
-
constructor(e) {
|
|
521
|
-
super(), this._field = e;
|
|
522
|
-
}
|
|
523
|
-
resize(e) {
|
|
524
|
-
throw new Error("Method not implemented.");
|
|
525
|
-
}
|
|
526
|
-
read(e, t) {
|
|
527
|
-
return e.readAttribute(this._field);
|
|
528
|
-
}
|
|
529
|
-
readWithDefault(e, t) {
|
|
530
|
-
return e.readAttribute(this._field);
|
|
531
|
-
}
|
|
532
|
-
referencesScale() {
|
|
533
|
-
return !1;
|
|
534
|
-
}
|
|
535
|
-
referencesGeometry() {
|
|
536
|
-
return !1;
|
|
537
|
-
}
|
|
538
|
-
};
|
|
539
|
-
function ee(a, e, t) {
|
|
540
|
-
var s;
|
|
541
|
-
if (a == null)
|
|
542
|
-
return null;
|
|
543
|
-
const r = e.readArcadeFeature();
|
|
544
|
-
e.contextTimeZone = (s = t.$view) == null ? void 0 : s.timeZone;
|
|
545
|
-
try {
|
|
546
|
-
return a.evaluate({ ...t, $feature: r }, a.services);
|
|
547
|
-
} catch (i) {
|
|
548
|
-
return S.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:", i), null;
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
function ae(a) {
|
|
552
|
-
return a == null || a === 1 / 0 || a === -1 / 0 || typeof a == "number" && isNaN(a);
|
|
553
|
-
}
|
|
554
|
-
function te(a, e, t, r) {
|
|
555
|
-
var n;
|
|
556
|
-
if (a == null)
|
|
557
|
-
return r ?? null;
|
|
558
|
-
const s = e.readArcadeFeature();
|
|
559
|
-
e.contextTimeZone = (n = t.$view) == null ? void 0 : n.timeZone;
|
|
560
|
-
const i = a.evaluate({ ...t, $feature: s }, a.services);
|
|
561
|
-
return ae(i) ? r ?? null : i;
|
|
562
|
-
}
|
|
563
|
-
let ot = class oe extends E {
|
|
564
|
-
static async create(e, t) {
|
|
565
|
-
const r = await we(e, t.spatialReference, t.fields), s = W(e);
|
|
566
|
-
return new oe(r, s);
|
|
567
|
-
}
|
|
568
|
-
constructor(e, t) {
|
|
569
|
-
super(), this._compiled = e, this._cacheKey = t;
|
|
570
|
-
}
|
|
571
|
-
resize(e) {
|
|
572
|
-
}
|
|
573
|
-
read(e, t) {
|
|
574
|
-
return this.referencesScale() || t.$view.timeZone !== "system" ? ee(this._compiled, e, t) : this._readCached(e, t);
|
|
575
|
-
}
|
|
576
|
-
readWithDefault(e, t, r) {
|
|
577
|
-
return this.referencesScale() || t.$view.timeZone !== "system" ? te(this._compiled, e, t, r) : this._readWithDefaultCached(e, t, r);
|
|
578
|
-
}
|
|
579
|
-
referencesScale() {
|
|
580
|
-
var e;
|
|
581
|
-
return ((e = this._compiled) == null ? void 0 : e.referencesScale()) ?? !1;
|
|
582
|
-
}
|
|
583
|
-
referencesGeometry() {
|
|
584
|
-
var e;
|
|
585
|
-
return ((e = this._compiled) == null ? void 0 : e.referencesGeometry()) ?? !1;
|
|
586
|
-
}
|
|
587
|
-
_readCached(e, t) {
|
|
588
|
-
if (e.setCache(this._cacheKey), e.hasCachedValue())
|
|
589
|
-
return e.getCachedValue();
|
|
590
|
-
const r = ee(this._compiled, e, t);
|
|
591
|
-
return e.setCachedValue(r), r;
|
|
592
|
-
}
|
|
593
|
-
_readWithDefaultCached(e, t, r) {
|
|
594
|
-
if (e.setCache(this._cacheKey), e.hasCachedValue())
|
|
595
|
-
return e.getCachedValue();
|
|
596
|
-
const s = te(this._compiled, e, t, r);
|
|
597
|
-
return e.setCachedValue(s), s;
|
|
598
|
-
}
|
|
599
|
-
};
|
|
600
|
-
function ht(a, e) {
|
|
601
|
-
if (a == null)
|
|
602
|
-
return "";
|
|
603
|
-
const t = e.domain;
|
|
604
|
-
if (t) {
|
|
605
|
-
if (t.type === "codedValue" || t.type === "coded-value") {
|
|
606
|
-
const s = a;
|
|
607
|
-
for (const i of t.codedValues)
|
|
608
|
-
if (i.code === s)
|
|
609
|
-
return i.name;
|
|
610
|
-
} else if (t.type === "range") {
|
|
611
|
-
const { max: s, min: i } = Se(e), n = +a;
|
|
612
|
-
if (i != null && s != null && i <= n && n <= s)
|
|
613
|
-
return t.name;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
let r = a;
|
|
617
|
-
return Te(e) ? r = ve(r, Ee("short-date")) : Ae(e) && (r = Me(+r)), r || "";
|
|
618
|
-
}
|
|
619
|
-
let ct = class he extends E {
|
|
620
|
-
static async create(e, t) {
|
|
621
|
-
const r = Pe(e);
|
|
622
|
-
return new he((s) => r.replaceAll(/{[^}]*}/g, (i) => {
|
|
623
|
-
const n = i.slice(1, -1), o = s.metadata.fieldsIndex.get(n);
|
|
624
|
-
if (o == null)
|
|
625
|
-
return i;
|
|
626
|
-
const h = s.readAttribute(n);
|
|
627
|
-
return h == null ? "" : ht(h, o);
|
|
628
|
-
}));
|
|
629
|
-
}
|
|
630
|
-
constructor(e) {
|
|
631
|
-
super(), this._evaluator = e;
|
|
632
|
-
}
|
|
633
|
-
resize(e) {
|
|
634
|
-
}
|
|
635
|
-
read(e, t) {
|
|
636
|
-
return this._evaluator(e);
|
|
637
|
-
}
|
|
638
|
-
readWithDefault(e, t, r) {
|
|
639
|
-
const s = this._evaluator(e);
|
|
640
|
-
return ae(s) ? r : s;
|
|
641
|
-
}
|
|
642
|
-
referencesScale() {
|
|
643
|
-
return !1;
|
|
644
|
-
}
|
|
645
|
-
referencesGeometry() {
|
|
646
|
-
return !1;
|
|
647
|
-
}
|
|
648
|
-
};
|
|
649
|
-
class ut extends E {
|
|
650
|
-
constructor(e, t) {
|
|
651
|
-
super(), this._field = e, this._normalizationInfo = t;
|
|
652
|
-
}
|
|
653
|
-
resize(e) {
|
|
654
|
-
throw new Error("Method not implemented.");
|
|
655
|
-
}
|
|
656
|
-
read(e, t) {
|
|
657
|
-
return this._readNormalized(e);
|
|
658
|
-
}
|
|
659
|
-
readWithDefault(e, t) {
|
|
660
|
-
return this._readNormalized(e);
|
|
661
|
-
}
|
|
662
|
-
referencesScale() {
|
|
663
|
-
return !1;
|
|
664
|
-
}
|
|
665
|
-
referencesGeometry() {
|
|
666
|
-
return !1;
|
|
667
|
-
}
|
|
668
|
-
_readNormalized(e) {
|
|
669
|
-
const t = e.readAttribute(this._field);
|
|
670
|
-
if (t == null)
|
|
671
|
-
return null;
|
|
672
|
-
const { normalizationField: r, normalizationTotal: s, normalizationType: i } = this._normalizationInfo, n = e.readAttribute(r);
|
|
673
|
-
switch (i ?? "esriNormalizeByField") {
|
|
674
|
-
case "esriNormalizeByField":
|
|
675
|
-
return n ? n ? t / n : void 0 : null;
|
|
676
|
-
case "esriNormalizeByLog":
|
|
677
|
-
return Math.log(t) * Math.LOG10E;
|
|
678
|
-
case "esriNormalizeByPercentOfTotal":
|
|
679
|
-
return s ? t / s * 100 : null;
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
let L = class B {
|
|
684
|
-
static fromBuffer(e, t) {
|
|
685
|
-
return new B(e, t);
|
|
686
|
-
}
|
|
687
|
-
static create(e, t = 4294967295) {
|
|
688
|
-
const r = new Uint32Array(Math.ceil(e / 32));
|
|
689
|
-
return new B(r, t);
|
|
690
|
-
}
|
|
691
|
-
constructor(e, t) {
|
|
692
|
-
this._mask = 0, this._buf = e, this._mask = t;
|
|
693
|
-
}
|
|
694
|
-
_getIndex(e) {
|
|
695
|
-
return Math.floor(e / 32);
|
|
696
|
-
}
|
|
697
|
-
has(e) {
|
|
698
|
-
const t = this._mask & e;
|
|
699
|
-
return !!(this._buf[this._getIndex(t)] & 1 << t % 32);
|
|
700
|
-
}
|
|
701
|
-
hasRange(e, t) {
|
|
702
|
-
let r = e, s = t;
|
|
703
|
-
for (; r % 32 && r !== s; ) {
|
|
704
|
-
if (this.has(r))
|
|
705
|
-
return !0;
|
|
706
|
-
r++;
|
|
707
|
-
}
|
|
708
|
-
for (; s % 32 && r !== s; ) {
|
|
709
|
-
if (this.has(r))
|
|
710
|
-
return !0;
|
|
711
|
-
s--;
|
|
712
|
-
}
|
|
713
|
-
if (r === s)
|
|
714
|
-
return !1;
|
|
715
|
-
for (let i = r / 32; i !== s / 32; i++)
|
|
716
|
-
if (this._buf[i])
|
|
717
|
-
return !0;
|
|
718
|
-
return !1;
|
|
719
|
-
}
|
|
720
|
-
set(e) {
|
|
721
|
-
const t = this._mask & e, r = this._getIndex(t), s = 1 << t % 32;
|
|
722
|
-
this._buf[r] |= s;
|
|
723
|
-
}
|
|
724
|
-
setRange(e, t) {
|
|
725
|
-
let r = e, s = t;
|
|
726
|
-
for (; r % 32 && r !== s; )
|
|
727
|
-
this.set(r++);
|
|
728
|
-
for (; s % 32 && r !== s; )
|
|
729
|
-
this.set(s--);
|
|
730
|
-
if (r !== s)
|
|
731
|
-
for (let i = r / 32; i !== s / 32; i++)
|
|
732
|
-
this._buf[i] = 4294967295;
|
|
733
|
-
}
|
|
734
|
-
unset(e) {
|
|
735
|
-
const t = this._mask & e, r = this._getIndex(t), s = 1 << t % 32;
|
|
736
|
-
this._buf[r] &= 4294967295 ^ s;
|
|
737
|
-
}
|
|
738
|
-
resize(e) {
|
|
739
|
-
const t = this._buf, r = new Uint32Array(Math.ceil(e / 32));
|
|
740
|
-
r.set(t), this._buf = r;
|
|
741
|
-
}
|
|
742
|
-
or(e) {
|
|
743
|
-
for (let t = 0; t < this._buf.length; t++)
|
|
744
|
-
this._buf[t] |= e._buf[t];
|
|
745
|
-
return this;
|
|
746
|
-
}
|
|
747
|
-
and(e) {
|
|
748
|
-
for (let t = 0; t < this._buf.length; t++)
|
|
749
|
-
this._buf[t] &= e._buf[t];
|
|
750
|
-
return this;
|
|
751
|
-
}
|
|
752
|
-
xor(e) {
|
|
753
|
-
for (let t = 0; t < this._buf.length; t++)
|
|
754
|
-
this._buf[t] ^= e._buf[t];
|
|
755
|
-
return this;
|
|
756
|
-
}
|
|
757
|
-
ior(e) {
|
|
758
|
-
for (let t = 0; t < this._buf.length; t++)
|
|
759
|
-
this._buf[t] |= ~e._buf[t];
|
|
760
|
-
return this;
|
|
761
|
-
}
|
|
762
|
-
iand(e) {
|
|
763
|
-
for (let t = 0; t < this._buf.length; t++)
|
|
764
|
-
this._buf[t] &= ~e._buf[t];
|
|
765
|
-
return this;
|
|
766
|
-
}
|
|
767
|
-
ixor(e) {
|
|
768
|
-
for (let t = 0; t < this._buf.length; t++)
|
|
769
|
-
this._buf[t] ^= ~e._buf[t];
|
|
770
|
-
return this;
|
|
771
|
-
}
|
|
772
|
-
any() {
|
|
773
|
-
for (let e = 0; e < this._buf.length; e++)
|
|
774
|
-
if (this._buf[e])
|
|
775
|
-
return !0;
|
|
776
|
-
return !1;
|
|
777
|
-
}
|
|
778
|
-
copy(e) {
|
|
779
|
-
for (let t = 0; t < this._buf.length; t++)
|
|
780
|
-
this._buf[t] = e._buf[t];
|
|
781
|
-
return this;
|
|
782
|
-
}
|
|
783
|
-
clone() {
|
|
784
|
-
return new B(this._buf.slice(), this._mask);
|
|
785
|
-
}
|
|
786
|
-
clear() {
|
|
787
|
-
for (let e = 0; e < this._buf.length; e++)
|
|
788
|
-
this._buf[e] = 0;
|
|
789
|
-
return this;
|
|
790
|
-
}
|
|
791
|
-
forEachSet(e) {
|
|
792
|
-
for (let t = 0; t < this._buf.length; t++) {
|
|
793
|
-
let r = this._buf[t], s = 32 * t;
|
|
794
|
-
if (r)
|
|
795
|
-
for (; r; )
|
|
796
|
-
1 & r && e(s), r >>>= 1, s++;
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
countSet() {
|
|
800
|
-
let e = 0;
|
|
801
|
-
return this.forEachSet((t) => {
|
|
802
|
-
e++;
|
|
803
|
-
}), e;
|
|
804
|
-
}
|
|
805
|
-
};
|
|
806
|
-
const G = () => S.getLogger("esri.views.2d.layers.features.support.whereUtils"), dt = { getAttribute: (a, e) => a.readAttribute(e) };
|
|
807
|
-
async function ce(a, e) {
|
|
808
|
-
try {
|
|
809
|
-
const t = await Ce(a, e);
|
|
810
|
-
if (!t.isStandardized) {
|
|
811
|
-
const r = new w("mapview - bad input", "Unable to apply filter's definition expression, as expression is not standardized.", t);
|
|
812
|
-
G().error(r);
|
|
813
|
-
}
|
|
814
|
-
return (r) => {
|
|
815
|
-
const s = r.readArcadeFeature();
|
|
816
|
-
try {
|
|
817
|
-
return t.testFeature(s, dt);
|
|
818
|
-
} catch {
|
|
819
|
-
return G().warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", a), !0;
|
|
820
|
-
}
|
|
821
|
-
};
|
|
822
|
-
} catch {
|
|
823
|
-
return G().warn("mapview-bad-where-clause", "Encountered an error when evaluating where clause", a), (r) => !0;
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
const re = () => S.getLogger("esri.views.2d.layers.features.support.ComputedAttributeStorage"), x = 4294967295;
|
|
827
|
-
function $(a, e, t) {
|
|
828
|
-
if (!(a.length > e))
|
|
829
|
-
for (; a.length <= e; )
|
|
830
|
-
a.push(t);
|
|
831
|
-
}
|
|
832
|
-
let rr = class {
|
|
833
|
-
constructor(e) {
|
|
834
|
-
this._numerics = [], this._strings = [], this._allocatedSize = 256, this._bitsets = [], this._instanceIds = [], this._bounds = [], this._dirtyBitset = this.getBitset(this.createBitset()), this.compilationOptions = e;
|
|
835
|
-
}
|
|
836
|
-
createBitset() {
|
|
837
|
-
const e = this._bitsets.length;
|
|
838
|
-
return this._bitsets.push(L.create(this._allocatedSize, m)), e + 1;
|
|
839
|
-
}
|
|
840
|
-
async createComputedField(e, t = !1) {
|
|
841
|
-
if (e.expression)
|
|
842
|
-
try {
|
|
843
|
-
if (!this.compilationOptions)
|
|
844
|
-
throw new Error("InternalError: Compilation options not defined");
|
|
845
|
-
return t ? ct.create(e.expression, this.compilationOptions) : await ot.create(e.expression, this.compilationOptions);
|
|
846
|
-
} catch (s) {
|
|
847
|
-
const i = new w("featurelayer", "Failed to compile arcade expression", { error: s, expression: e.expression });
|
|
848
|
-
return re().error(i), null;
|
|
849
|
-
}
|
|
850
|
-
if (e.normalizationType || e.normalizationField)
|
|
851
|
-
return new ut(e.field, e);
|
|
852
|
-
if (e.field)
|
|
853
|
-
return new at(e.field);
|
|
854
|
-
const r = new w("featurelayer", "Unable to create computed field. No expression or field found", { info: e });
|
|
855
|
-
return re().error(r), null;
|
|
856
|
-
}
|
|
857
|
-
async createWhereClause(e) {
|
|
858
|
-
return e ? ce(e, this.compilationOptions.fields) : null;
|
|
859
|
-
}
|
|
860
|
-
getBitset(e) {
|
|
861
|
-
return this._bitsets[e - 1];
|
|
862
|
-
}
|
|
863
|
-
getComputedNumeric(e, t) {
|
|
864
|
-
return this.getComputedNumericAtIndex(e & m, 0);
|
|
865
|
-
}
|
|
866
|
-
setComputedNumeric(e, t, r) {
|
|
867
|
-
return this.setComputedNumericAtIndex(e & m, r, 0);
|
|
868
|
-
}
|
|
869
|
-
getComputedString(e, t) {
|
|
870
|
-
return this.getComputedStringAtIndex(e & m, 0);
|
|
871
|
-
}
|
|
872
|
-
setComputedString(e, t, r) {
|
|
873
|
-
return this.setComputedStringAtIndex(e & m, 0, r);
|
|
874
|
-
}
|
|
875
|
-
getComputedNumericAtIndex(e, t) {
|
|
876
|
-
const r = e & m;
|
|
877
|
-
return this._ensureNumeric(t, r), this._numerics[t][r];
|
|
878
|
-
}
|
|
879
|
-
setComputedNumericAtIndex(e, t, r) {
|
|
880
|
-
const s = e & m;
|
|
881
|
-
this._ensureNumeric(t, s), this._numerics[t][s] = r;
|
|
882
|
-
}
|
|
883
|
-
getPackedChunkId(e) {
|
|
884
|
-
const t = e & m;
|
|
885
|
-
return this._ensureInstanceId(t), this._instanceIds[t];
|
|
886
|
-
}
|
|
887
|
-
setPackedChunkId(e, t) {
|
|
888
|
-
const r = e & m;
|
|
889
|
-
this._ensureInstanceId(r), this._instanceIds[r] = t;
|
|
890
|
-
}
|
|
891
|
-
getComputedStringAtIndex(e, t) {
|
|
892
|
-
const r = e & m;
|
|
893
|
-
return this._ensureString(t, r), this._strings[t][r];
|
|
894
|
-
}
|
|
895
|
-
setComputedStringAtIndex(e, t, r) {
|
|
896
|
-
const s = e & m;
|
|
897
|
-
this._ensureString(t, s), this._strings[t][s] = r;
|
|
898
|
-
}
|
|
899
|
-
getXMin(e) {
|
|
900
|
-
return this._bounds[4 * (e & m)];
|
|
901
|
-
}
|
|
902
|
-
getYMin(e) {
|
|
903
|
-
return this._bounds[4 * (e & m) + 1];
|
|
904
|
-
}
|
|
905
|
-
getXMax(e) {
|
|
906
|
-
return this._bounds[4 * (e & m) + 2];
|
|
907
|
-
}
|
|
908
|
-
getYMax(e) {
|
|
909
|
-
return this._bounds[4 * (e & m) + 3];
|
|
910
|
-
}
|
|
911
|
-
setBounds(e, t, r = !1) {
|
|
912
|
-
const s = e & m;
|
|
913
|
-
if (!r && !this._dirtyBitset.has(e))
|
|
914
|
-
return this._bounds[4 * s] !== x;
|
|
915
|
-
this._dirtyBitset.unset(e);
|
|
916
|
-
const i = t.readGeometryWorldSpace();
|
|
917
|
-
if ($(this._bounds, 4 * s + 4, 0), !i || !i.coords.length)
|
|
918
|
-
return this._bounds[4 * s] = x, this._bounds[4 * s + 1] = x, this._bounds[4 * s + 2] = x, this._bounds[4 * s + 3] = x, !1;
|
|
919
|
-
let n = 1 / 0, o = 1 / 0, h = -1 / 0, d = -1 / 0;
|
|
920
|
-
return i.forEachVertex((u, c) => {
|
|
921
|
-
n = Math.min(n, u), o = Math.min(o, c), h = Math.max(h, u), d = Math.max(d, c);
|
|
922
|
-
}), this._bounds[4 * s] = n, this._bounds[4 * s + 1] = o, this._bounds[4 * s + 2] = h, this._bounds[4 * s + 3] = d, !0;
|
|
923
|
-
}
|
|
924
|
-
getBounds(e, t) {
|
|
925
|
-
const r = this.getXMin(t), s = this.getYMin(t), i = this.getXMax(t), n = this.getYMax(t);
|
|
926
|
-
return k(e, r, s, i, n), r !== x;
|
|
927
|
-
}
|
|
928
|
-
_ensureNumeric(e, t) {
|
|
929
|
-
this._numerics[e] || (this._numerics[e] = []), $(this._numerics[e], t, 0);
|
|
930
|
-
}
|
|
931
|
-
_ensureInstanceId(e) {
|
|
932
|
-
$(this._instanceIds, e, 0);
|
|
933
|
-
}
|
|
934
|
-
_ensureString(e, t) {
|
|
935
|
-
this._strings[e] || (this._strings[e] = []), $(this._strings[e], t, null);
|
|
936
|
-
}
|
|
937
|
-
}, N = class {
|
|
938
|
-
getObjectId(e) {
|
|
939
|
-
return e.getObjectId();
|
|
940
|
-
}
|
|
941
|
-
getAttributes(e) {
|
|
942
|
-
return e.readAttributes();
|
|
943
|
-
}
|
|
944
|
-
getAttribute(e, t) {
|
|
945
|
-
return e.readAttribute(t);
|
|
946
|
-
}
|
|
947
|
-
getAttributeAsTimestamp(e, t) {
|
|
948
|
-
return e.readAttributeAsTimestamp(t);
|
|
949
|
-
}
|
|
950
|
-
cloneWithGeometry(e, t) {
|
|
951
|
-
return e;
|
|
952
|
-
}
|
|
953
|
-
getGeometry(e) {
|
|
954
|
-
return e.readGeometryWorldSpace();
|
|
955
|
-
}
|
|
956
|
-
getCentroid(e, t) {
|
|
957
|
-
return e.readCentroidForDisplay();
|
|
958
|
-
}
|
|
959
|
-
};
|
|
960
|
-
N.Shared = new N();
|
|
961
|
-
const v = 1, lt = 2;
|
|
962
|
-
class U {
|
|
963
|
-
constructor(e) {
|
|
964
|
-
this._geometryBounds = ze(), this._idToVisibility = /* @__PURE__ */ new Map(), this._serviceInfo = e;
|
|
965
|
-
}
|
|
966
|
-
static async create(e) {
|
|
967
|
-
const t = new U(e);
|
|
968
|
-
return await t.update(e.filterJSON, e.spatialReference), t;
|
|
969
|
-
}
|
|
970
|
-
get hash() {
|
|
971
|
-
return this._hash;
|
|
972
|
-
}
|
|
973
|
-
check(e) {
|
|
974
|
-
return this._applyFilter(e);
|
|
975
|
-
}
|
|
976
|
-
clear() {
|
|
977
|
-
const e = this._resetAllHiddenIds();
|
|
978
|
-
return this.update(), { show: e, hide: [] };
|
|
979
|
-
}
|
|
980
|
-
invalidate() {
|
|
981
|
-
this._idToVisibility.forEach((e, t) => {
|
|
982
|
-
this._idToVisibility.set(t, 0);
|
|
983
|
-
});
|
|
984
|
-
}
|
|
985
|
-
setKnownIds(e) {
|
|
986
|
-
for (const t of e)
|
|
987
|
-
this._idToVisibility.set(t, v);
|
|
988
|
-
}
|
|
989
|
-
setTrue(e) {
|
|
990
|
-
const t = [], r = [], s = new Set(e);
|
|
991
|
-
return this._idToVisibility.forEach((i, n) => {
|
|
992
|
-
const o = !!(this._idToVisibility.get(n) & v), h = s.has(n);
|
|
993
|
-
!o && h ? t.push(n) : o && !h && r.push(n), this._idToVisibility.set(n, h ? v | lt : 0);
|
|
994
|
-
}), { show: t, hide: r };
|
|
995
|
-
}
|
|
996
|
-
createQuery() {
|
|
997
|
-
const { geometry: e, spatialRel: t, where: r, timeExtent: s, objectIds: i } = this;
|
|
998
|
-
return Fe.fromJSON({ geometry: e, spatialRel: t, where: r, timeExtent: s, objectIds: i });
|
|
999
|
-
}
|
|
1000
|
-
async update(e, t) {
|
|
1001
|
-
this._hash = JSON.stringify(e);
|
|
1002
|
-
const r = await Ge(e, null, t);
|
|
1003
|
-
await Promise.all([this._setGeometryFilter(r), this._setIdFilter(r), this._setAttributeFilter(r), this._setTimeFilter(r)]);
|
|
1004
|
-
}
|
|
1005
|
-
async _setAttributeFilter(e) {
|
|
1006
|
-
if (!(e != null && e.where))
|
|
1007
|
-
return this._clause = null, void (this.where = null);
|
|
1008
|
-
this._clause = await ce(e.where, this._serviceInfo.fieldsIndex), this.where = e.where;
|
|
1009
|
-
}
|
|
1010
|
-
_setIdFilter(e) {
|
|
1011
|
-
this._idsToShow = (e == null ? void 0 : e.objectIds) && new Set(e.objectIds), this._idsToHide = (e == null ? void 0 : e.hiddenIds) && new Set(e.hiddenIds), this.objectIds = e == null ? void 0 : e.objectIds;
|
|
1012
|
-
}
|
|
1013
|
-
async _setGeometryFilter(e) {
|
|
1014
|
-
if (!(e != null && e.geometry))
|
|
1015
|
-
return this._spatialQueryOperator = null, this.geometry = null, void (this.spatialRel = null);
|
|
1016
|
-
const t = e.geometry, r = e.spatialRel || "esriSpatialRelIntersects", s = await je(r, t, this._serviceInfo.geometryType, this._serviceInfo.hasZ, this._serviceInfo.hasM);
|
|
1017
|
-
$e(this._geometryBounds, t), this._spatialQueryOperator = s, this.geometry = t, this.spatialRel = r;
|
|
1018
|
-
}
|
|
1019
|
-
_setTimeFilter(e) {
|
|
1020
|
-
if (this.timeExtent = this._timeOperator = null, e == null ? void 0 : e.timeExtent)
|
|
1021
|
-
if (this._serviceInfo.timeInfo)
|
|
1022
|
-
this.timeExtent = e.timeExtent, this._timeOperator = ke(this._serviceInfo.timeInfo, e.timeExtent, N.Shared);
|
|
1023
|
-
else {
|
|
1024
|
-
const t = new w("feature-layer-view:time-filter-not-available", "Unable to apply time filter, as layer doesn't have time metadata.", e.timeExtent);
|
|
1025
|
-
S.getLogger("esri.views.2d.layers.features.controllers.FeatureFilter").error(t);
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
_applyFilter(e) {
|
|
1029
|
-
return this._filterByGeometry(e) && this._filterById(e) && this._filterByTime(e) && this._filterByExpression(e);
|
|
1030
|
-
}
|
|
1031
|
-
_filterByExpression(e) {
|
|
1032
|
-
return !this.where || this._clause(e);
|
|
1033
|
-
}
|
|
1034
|
-
_filterById(e) {
|
|
1035
|
-
var t, r;
|
|
1036
|
-
return (!((t = this._idsToHide) != null && t.size) || !this._idsToHide.has(e.getObjectId())) && (!((r = this._idsToShow) != null && r.size) || this._idsToShow.has(e.getObjectId()));
|
|
1037
|
-
}
|
|
1038
|
-
_filterByGeometry(e) {
|
|
1039
|
-
if (!this.geometry)
|
|
1040
|
-
return !0;
|
|
1041
|
-
const t = e.readGeometryWorldSpace();
|
|
1042
|
-
return !!t && this._spatialQueryOperator(t);
|
|
1043
|
-
}
|
|
1044
|
-
_filterByTime(e) {
|
|
1045
|
-
return this._timeOperator == null || this._timeOperator(e);
|
|
1046
|
-
}
|
|
1047
|
-
_resetAllHiddenIds() {
|
|
1048
|
-
const e = [];
|
|
1049
|
-
return this._idToVisibility.forEach((t, r) => {
|
|
1050
|
-
t & v || (this._idToVisibility.set(r, v), e.push(r));
|
|
1051
|
-
}), e;
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
class ft {
|
|
1055
|
-
constructor(e) {
|
|
1056
|
-
this._options = e, this._fieldsIndex = "fieldsIndex" in e ? X.fromJSON(e.fieldsIndex) : new X(e.fields), e.spatialReference && (this._spatialReference = De.fromJSON(e.spatialReference)), this._arcadeSchema = { fields: this.fieldsIndex.fields, fieldsIndex: this.fieldsIndex, geometryType: this.geometryType, objectIdField: this.objectIdField, globalIdField: this._options.globalIdField, spatialReference: this._spatialReference, timeInfo: this._options.timeInfo, typeIdField: this._options.typeIdField ?? void 0, types: this._options.types ?? void 0, subtypeField: this._options.subtypeField, subtypes: this._options.subtypes ?? void 0 };
|
|
1057
|
-
}
|
|
1058
|
-
get fieldsIndex() {
|
|
1059
|
-
return this._fieldsIndex;
|
|
1060
|
-
}
|
|
1061
|
-
get geometryType() {
|
|
1062
|
-
return this._options.geometryType;
|
|
1063
|
-
}
|
|
1064
|
-
get timeInfo() {
|
|
1065
|
-
return this._options.timeInfo;
|
|
1066
|
-
}
|
|
1067
|
-
get objectIdField() {
|
|
1068
|
-
return this._options.objectIdField;
|
|
1069
|
-
}
|
|
1070
|
-
get globalIdField() {
|
|
1071
|
-
return this._options.globalIdField;
|
|
1072
|
-
}
|
|
1073
|
-
get arcadeSchema() {
|
|
1074
|
-
return this._arcadeSchema;
|
|
1075
|
-
}
|
|
1076
|
-
get spatialReference() {
|
|
1077
|
-
return this._spatialReference;
|
|
1078
|
-
}
|
|
1079
|
-
get timeReferenceUnknownClient() {
|
|
1080
|
-
return this._options.timeReferenceUnknownClient;
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
let nr = class ue extends ft {
|
|
1084
|
-
static create(e) {
|
|
1085
|
-
return new ue({ fields: [], objectIdField: "uid", geometryType: null, spatialReference: e, globalIdField: null, subtypeField: null, subtypes: null, timeInfo: null, typeIdField: null, types: null, timeReferenceUnknownClient: null });
|
|
1086
|
-
}
|
|
1087
|
-
};
|
|
1088
|
-
class _t {
|
|
1089
|
-
constructor(e) {
|
|
1090
|
-
this._valid = L.create(e), this._data = new Array(e);
|
|
1091
|
-
}
|
|
1092
|
-
has(e) {
|
|
1093
|
-
return this._valid.has(e);
|
|
1094
|
-
}
|
|
1095
|
-
set(e, t) {
|
|
1096
|
-
this._valid.set(e), this._data[e] = t;
|
|
1097
|
-
}
|
|
1098
|
-
get(e) {
|
|
1099
|
-
return this._data[e];
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
const R = b("featurelayer-simplify-thresholds") ?? [0.5, 0.5, 0.5, 0.5], pt = R[0], mt = R[1], yt = R[2], gt = R[3], Y = b("featurelayer-simplify-payload-size-factors") ?? [1, 2, 4], bt = Y[0], xt = Y[1], It = Y[2], wt = b("featurelayer-simplify-mobile-factor") ?? 2, St = b("esri-mobile"), se = 4294967295;
|
|
1103
|
-
function Tt(a, e, t) {
|
|
1104
|
-
if (!(a.length > e))
|
|
1105
|
-
for (; a.length <= e; )
|
|
1106
|
-
a.push(t);
|
|
1107
|
-
}
|
|
1108
|
-
class ar {
|
|
1109
|
-
constructor(e) {
|
|
1110
|
-
this.metadata = e, this.type = "FeatureSetReader", this._deleted = null, this._joined = [], this._objectIdToIndex = null, this._boundsBuffer = [], this._caches = /* @__PURE__ */ new Map(), this.arcadeDeclaredClass = "esri.arcade.Feature", this._contextTimeZone = null;
|
|
1111
|
-
}
|
|
1112
|
-
get isEmpty() {
|
|
1113
|
-
return this._deleted != null && this._deleted.countSet() === this.getSize();
|
|
1114
|
-
}
|
|
1115
|
-
getAreaSimplificationThreshold(e, t) {
|
|
1116
|
-
let r = 1;
|
|
1117
|
-
const s = St ? wt : 1;
|
|
1118
|
-
t > 4e6 ? r = It * s : t > 1e6 ? r = xt * s : t > 5e5 ? r = bt * s : t > 1e5 && (r = s);
|
|
1119
|
-
let i = 0;
|
|
1120
|
-
return e > 4e3 ? i = gt * r : e > 2e3 ? i = yt * r : e > 100 ? i = mt : e > 15 && (i = pt), i;
|
|
1121
|
-
}
|
|
1122
|
-
parseTimestampOffset(e) {
|
|
1123
|
-
return e;
|
|
1124
|
-
}
|
|
1125
|
-
getBounds(e) {
|
|
1126
|
-
if (Tt(this._boundsBuffer, 4 * this.getIndex() + 4, 0), this.getBoundsXMin() === se)
|
|
1127
|
-
return !1;
|
|
1128
|
-
if (this.getBoundsXMin() === 0) {
|
|
1129
|
-
const n = this.readGeometryWorldSpace();
|
|
1130
|
-
if (!n)
|
|
1131
|
-
return this.setBoundsXMin(se), !1;
|
|
1132
|
-
let o = 1 / 0, h = 1 / 0, d = -1 / 0, u = -1 / 0;
|
|
1133
|
-
return n.forEachVertex((c, l) => {
|
|
1134
|
-
o = Math.min(o, c), h = Math.min(h, l), d = Math.max(d, c), u = Math.max(u, l);
|
|
1135
|
-
}), this.setBoundsXMin(o), this.setBoundsYMin(h), this.setBoundsXMax(d), this.setBoundsYMax(u), k(e, o, h, d, u), !0;
|
|
1136
|
-
}
|
|
1137
|
-
const t = this.getBoundsXMin(), r = this.getBoundsYMin(), s = this.getBoundsXMax(), i = this.getBoundsYMax();
|
|
1138
|
-
return k(e, t, r, s, i), !0;
|
|
1139
|
-
}
|
|
1140
|
-
getBoundsXMin() {
|
|
1141
|
-
return this._boundsBuffer[4 * this.getIndex()];
|
|
1142
|
-
}
|
|
1143
|
-
setBoundsXMin(e) {
|
|
1144
|
-
this._boundsBuffer[4 * this.getIndex()] = e;
|
|
1145
|
-
}
|
|
1146
|
-
getBoundsYMin() {
|
|
1147
|
-
return this._boundsBuffer[4 * this.getIndex() + 1];
|
|
1148
|
-
}
|
|
1149
|
-
setBoundsYMin(e) {
|
|
1150
|
-
this._boundsBuffer[4 * this.getIndex() + 1] = e;
|
|
1151
|
-
}
|
|
1152
|
-
getBoundsXMax() {
|
|
1153
|
-
return this._boundsBuffer[4 * this.getIndex() + 2];
|
|
1154
|
-
}
|
|
1155
|
-
setBoundsXMax(e) {
|
|
1156
|
-
this._boundsBuffer[4 * this.getIndex() + 2] = e;
|
|
1157
|
-
}
|
|
1158
|
-
getBoundsYMax() {
|
|
1159
|
-
return this._boundsBuffer[4 * this.getIndex() + 3];
|
|
1160
|
-
}
|
|
1161
|
-
setBoundsYMax(e) {
|
|
1162
|
-
this._boundsBuffer[4 * this.getIndex() + 3] = e;
|
|
1163
|
-
}
|
|
1164
|
-
readAttributeAsTimestamp(e) {
|
|
1165
|
-
const t = this.readAttribute(e);
|
|
1166
|
-
return typeof t == "string" ? new Date(t).getTime() : typeof t == "number" || t == null ? t : null;
|
|
1167
|
-
}
|
|
1168
|
-
readAttribute(e, t = !1) {
|
|
1169
|
-
const r = this._readAttribute(e, t);
|
|
1170
|
-
if (r !== void 0)
|
|
1171
|
-
return r;
|
|
1172
|
-
for (const s of this._joined) {
|
|
1173
|
-
s.setIndex(this.getIndex());
|
|
1174
|
-
const i = s._readAttribute(e, t);
|
|
1175
|
-
if (i !== void 0)
|
|
1176
|
-
return i;
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
readAttributes() {
|
|
1180
|
-
const e = this._readAttributes();
|
|
1181
|
-
for (const t of this._joined) {
|
|
1182
|
-
t.setIndex(this.getIndex());
|
|
1183
|
-
const r = t._readAttributes();
|
|
1184
|
-
for (const s of Object.keys(r))
|
|
1185
|
-
e[s] = r[s];
|
|
1186
|
-
}
|
|
1187
|
-
return e;
|
|
1188
|
-
}
|
|
1189
|
-
joinAttributes(e) {
|
|
1190
|
-
this._joined.push(e);
|
|
1191
|
-
}
|
|
1192
|
-
removeIds(e) {
|
|
1193
|
-
if (this._objectIdToIndex == null) {
|
|
1194
|
-
const r = /* @__PURE__ */ new Map(), s = this.getCursor();
|
|
1195
|
-
for (; s.next(); ) {
|
|
1196
|
-
const i = s.getObjectId();
|
|
1197
|
-
Be(i), r.set(i, s.getIndex());
|
|
1198
|
-
}
|
|
1199
|
-
this._objectIdToIndex = r;
|
|
1200
|
-
}
|
|
1201
|
-
const t = this._objectIdToIndex;
|
|
1202
|
-
for (const r of e.values())
|
|
1203
|
-
t.has(r) && this._removeAtIndex(t.get(r));
|
|
1204
|
-
}
|
|
1205
|
-
readOptimizedFeatureWorldSpace() {
|
|
1206
|
-
const e = this.readGeometryWorldSpace(), t = this.readAttributes(), r = this.readCentroidWorldSpace(), s = new We(e, t, r);
|
|
1207
|
-
return s.objectId = this.getObjectId(), s.displayId = this.getDisplayId(), s;
|
|
1208
|
-
}
|
|
1209
|
-
readLegacyFeatureForDisplay() {
|
|
1210
|
-
const e = this.readCentroidForDisplay();
|
|
1211
|
-
return { attributes: this.readAttributes(), geometry: this.readLegacyGeometryForDisplay(), centroid: (e && { x: e.coords[0], y: e.coords[1] }) ?? null };
|
|
1212
|
-
}
|
|
1213
|
-
readLegacyFeatureWorldSpace() {
|
|
1214
|
-
const e = this.readCentroidWorldSpace();
|
|
1215
|
-
return { attributes: this.readAttributes(), geometry: this._readLegacyGeometryWorldSpace(), centroid: (e && { x: e.coords[0], y: e.coords[1] }) ?? null };
|
|
1216
|
-
}
|
|
1217
|
-
readLegacyGeometryForDisplay() {
|
|
1218
|
-
const e = this.readGeometryForDisplay();
|
|
1219
|
-
return O(e, this.geometryType, !1, !1);
|
|
1220
|
-
}
|
|
1221
|
-
readXForDisplay() {
|
|
1222
|
-
return this._readX();
|
|
1223
|
-
}
|
|
1224
|
-
readYForDisplay() {
|
|
1225
|
-
return this._readY();
|
|
1226
|
-
}
|
|
1227
|
-
readXWorldSpace() {
|
|
1228
|
-
const e = this._readX(), t = this.getInTransform();
|
|
1229
|
-
return t == null ? e : e * t.scale[0] + t.translate[0];
|
|
1230
|
-
}
|
|
1231
|
-
readYWorldSpace() {
|
|
1232
|
-
const e = this._readY(), t = this.getInTransform();
|
|
1233
|
-
return t == null ? e : t.translate[1] - e * t.scale[1];
|
|
1234
|
-
}
|
|
1235
|
-
readGeometryForDisplay() {
|
|
1236
|
-
const e = this._readGeometryDeltaDecoded(!0);
|
|
1237
|
-
if (!e) {
|
|
1238
|
-
const t = this._createGeometryFromServerCentroid();
|
|
1239
|
-
return t ? t.deltaDecode() : null;
|
|
1240
|
-
}
|
|
1241
|
-
return e;
|
|
1242
|
-
}
|
|
1243
|
-
readGeometryWorldSpace() {
|
|
1244
|
-
let e = this._readGeometry();
|
|
1245
|
-
if (e || (e = this._createGeometryFromServerCentroid()), !e)
|
|
1246
|
-
return null;
|
|
1247
|
-
const t = e.clone(), r = this.getInTransform();
|
|
1248
|
-
return r != null && K(t, t, this.hasZ, this.hasM, r), t;
|
|
1249
|
-
}
|
|
1250
|
-
readCentroidForDisplay() {
|
|
1251
|
-
const e = this.readGeometryForDisplay();
|
|
1252
|
-
return e ? this._computeDisplayCentroid(e) : this._readServerCentroid();
|
|
1253
|
-
}
|
|
1254
|
-
readCentroidWorldSpace() {
|
|
1255
|
-
const e = this.readGeometryForDisplay(), t = e ? this._computeDisplayCentroid(e) : this._readServerCentroid();
|
|
1256
|
-
if (!t)
|
|
1257
|
-
return null;
|
|
1258
|
-
const r = t.clone(), s = this.getInTransform();
|
|
1259
|
-
return s != null && K(r, r, this.hasZ, this.hasM, s), r;
|
|
1260
|
-
}
|
|
1261
|
-
setCache(e) {
|
|
1262
|
-
let t = this._caches.get(e);
|
|
1263
|
-
t == null && (t = new _t(this.getSize()), this._caches.set(e, t)), this._activeCache = t;
|
|
1264
|
-
}
|
|
1265
|
-
setCachedValue(e) {
|
|
1266
|
-
this._activeCache.set(this.getIndex(), e);
|
|
1267
|
-
}
|
|
1268
|
-
hasCachedValue() {
|
|
1269
|
-
return this._activeCache.has(this.getIndex());
|
|
1270
|
-
}
|
|
1271
|
-
getCachedValue() {
|
|
1272
|
-
return this._activeCache.get(this.getIndex());
|
|
1273
|
-
}
|
|
1274
|
-
_readGeometryDeltaDecoded(e) {
|
|
1275
|
-
const t = this._readGeometry(e);
|
|
1276
|
-
return this.geometryType !== "esriGeometryPoint" && t && this.getInTransform() ? t.deltaDecode() : t;
|
|
1277
|
-
}
|
|
1278
|
-
get contextTimeZone() {
|
|
1279
|
-
return this._contextTimeZone;
|
|
1280
|
-
}
|
|
1281
|
-
set contextTimeZone(e) {
|
|
1282
|
-
this._contextTimeZone = e;
|
|
1283
|
-
}
|
|
1284
|
-
readArcadeFeature() {
|
|
1285
|
-
return this;
|
|
1286
|
-
}
|
|
1287
|
-
hasField(e) {
|
|
1288
|
-
return this.fields.has(e) || this._joined.some((t) => t.hasField(e));
|
|
1289
|
-
}
|
|
1290
|
-
geometry() {
|
|
1291
|
-
const e = this.readGeometryWorldSpace(), t = O(e, this.geometryType, this.hasZ, this.hasM), r = Re(t);
|
|
1292
|
-
if (r) {
|
|
1293
|
-
if (!this.metadata.spatialReference)
|
|
1294
|
-
throw new Error("InternalError: Expected spatial reference to be defined");
|
|
1295
|
-
r.spatialReference = this.metadata.spatialReference;
|
|
1296
|
-
}
|
|
1297
|
-
return r;
|
|
1298
|
-
}
|
|
1299
|
-
autocastArcadeDate(e, t) {
|
|
1300
|
-
return t && t instanceof Date ? this.isUnknownDateTimeField(e) ? M.unknownDateJSToArcadeDate(t) : M.dateJSAndZoneToArcadeDate(t, this.contextTimeZone ?? Oe) : t;
|
|
1301
|
-
}
|
|
1302
|
-
isUnknownDateTimeField(e) {
|
|
1303
|
-
return this.metadata.fieldsIndex.getTimeZone(e) === Ve;
|
|
1304
|
-
}
|
|
1305
|
-
field(e) {
|
|
1306
|
-
let t = this.fields.get(e);
|
|
1307
|
-
if (t)
|
|
1308
|
-
switch (t.type) {
|
|
1309
|
-
case "date-only":
|
|
1310
|
-
case "esriFieldTypeDateOnly":
|
|
1311
|
-
return q.fromReader(this.readAttribute(e, !1));
|
|
1312
|
-
case "time-only":
|
|
1313
|
-
case "esriFieldTypeTimeOnly":
|
|
1314
|
-
return J.fromReader(this.readAttribute(e, !1));
|
|
1315
|
-
case "esriFieldTypeTimestampOffset":
|
|
1316
|
-
case "timestamp-offset":
|
|
1317
|
-
return M.fromReaderAsTimeStampOffset(this.readAttribute(e, !1));
|
|
1318
|
-
case "date":
|
|
1319
|
-
case "esriFieldTypeDate":
|
|
1320
|
-
return this.autocastArcadeDate(e, this.readAttribute(e, !0));
|
|
1321
|
-
default:
|
|
1322
|
-
return this.readAttribute(e, !1);
|
|
1323
|
-
}
|
|
1324
|
-
for (const r of this._joined)
|
|
1325
|
-
if (r.setIndex(this.getIndex()), t = r.fields.get(e), t)
|
|
1326
|
-
switch (t.type) {
|
|
1327
|
-
case "date-only":
|
|
1328
|
-
case "esriFieldTypeDateOnly":
|
|
1329
|
-
return q.fromReader(r._readAttribute(e, !1));
|
|
1330
|
-
case "time-only":
|
|
1331
|
-
case "esriFieldTypeTimeOnly":
|
|
1332
|
-
return J.fromReader(r._readAttribute(e, !1));
|
|
1333
|
-
case "esriFieldTypeTimestampOffset":
|
|
1334
|
-
case "timestamp-offset":
|
|
1335
|
-
return M.fromReaderAsTimeStampOffset(r._readAttribute(e, !1));
|
|
1336
|
-
case "date":
|
|
1337
|
-
case "esriFieldTypeDate":
|
|
1338
|
-
return this.autocastArcadeDate(e, r._readAttribute(e, !0));
|
|
1339
|
-
default:
|
|
1340
|
-
return this.readAttribute(e, !1);
|
|
1341
|
-
}
|
|
1342
|
-
throw new Error(`Field ${e} does not exist`);
|
|
1343
|
-
}
|
|
1344
|
-
setField(e, t) {
|
|
1345
|
-
throw new Error("Unable to update feature attribute values, feature is readonly");
|
|
1346
|
-
}
|
|
1347
|
-
keys() {
|
|
1348
|
-
return this.fields.fields.map((e) => e.name);
|
|
1349
|
-
}
|
|
1350
|
-
castToText(e = !1) {
|
|
1351
|
-
if (!e)
|
|
1352
|
-
return JSON.stringify(this.readLegacyFeatureForDisplay());
|
|
1353
|
-
const t = this.readLegacyFeatureForDisplay();
|
|
1354
|
-
if (!t)
|
|
1355
|
-
return JSON.stringify(null);
|
|
1356
|
-
const r = { geometry: t.geometry, attributes: { ...t.attributes ?? {} } };
|
|
1357
|
-
for (const s in r.attributes) {
|
|
1358
|
-
const i = r.attributes[s];
|
|
1359
|
-
i instanceof Date && (r.attributes[s] = i.getTime());
|
|
1360
|
-
}
|
|
1361
|
-
return JSON.stringify(r);
|
|
1362
|
-
}
|
|
1363
|
-
gdbVersion() {
|
|
1364
|
-
return null;
|
|
1365
|
-
}
|
|
1366
|
-
fullSchema() {
|
|
1367
|
-
return this.metadata.arcadeSchema;
|
|
1368
|
-
}
|
|
1369
|
-
castAsJson(e = null) {
|
|
1370
|
-
var t;
|
|
1371
|
-
return { attributes: this._readAttributes(), geometry: (e == null ? void 0 : e.keepGeometryType) === !0 ? this.geometry() : ((t = this.geometry()) == null ? void 0 : t.toJSON()) ?? null };
|
|
1372
|
-
}
|
|
1373
|
-
castAsJsonAsync(e = null, t = null) {
|
|
1374
|
-
return Promise.resolve(this.castAsJson(t));
|
|
1375
|
-
}
|
|
1376
|
-
_getExists() {
|
|
1377
|
-
return this._deleted == null || !this._deleted.has(this.getIndex());
|
|
1378
|
-
}
|
|
1379
|
-
_computeDisplayCentroid(e) {
|
|
1380
|
-
if (this.getInTransform() == null)
|
|
1381
|
-
return Ne(new C(), e, this.hasM, this.hasZ);
|
|
1382
|
-
const t = ye.fromOptimized(e, this.geometryType);
|
|
1383
|
-
t.yFactor *= -1;
|
|
1384
|
-
const r = ge(t);
|
|
1385
|
-
return r ? (r[1] *= -1, new C([], r)) : null;
|
|
1386
|
-
}
|
|
1387
|
-
copyInto(e) {
|
|
1388
|
-
e._joined = this._joined, e._deleted = this._deleted, e._objectIdToIndex = this._objectIdToIndex, e._boundsBuffer = this._boundsBuffer, e._activeCache = this._activeCache, e._caches = this._caches, e._contextTimeZone = this._contextTimeZone;
|
|
1389
|
-
}
|
|
1390
|
-
_readLegacyGeometryWorldSpace() {
|
|
1391
|
-
const e = this.readGeometryWorldSpace();
|
|
1392
|
-
return O(e, this.geometryType, !1, !1);
|
|
1393
|
-
}
|
|
1394
|
-
_createGeometryFromServerCentroid() {
|
|
1395
|
-
const e = this._readServerCentroid();
|
|
1396
|
-
if (!e)
|
|
1397
|
-
return null;
|
|
1398
|
-
const [t, r] = e.coords;
|
|
1399
|
-
return this._createQuantizedExtrudedGeometry(t, r);
|
|
1400
|
-
}
|
|
1401
|
-
_createQuantizedExtrudedGeometry(e, t) {
|
|
1402
|
-
return this.geometryType === "esriGeometryPolyline" ? this._createQuantizedExtrudedLine(e, t) : this._createQuantizedExtrudedQuad(e, t);
|
|
1403
|
-
}
|
|
1404
|
-
_createQuantizedExtrudedQuad(e, t) {
|
|
1405
|
-
return new C([5], [e - 1, t, 1, -1, 1, 1, -1, 1, -1, -1]);
|
|
1406
|
-
}
|
|
1407
|
-
_createQuantizedExtrudedLine(e, t) {
|
|
1408
|
-
return new C([2], [e - 1, t + 1, 1, -1]);
|
|
1409
|
-
}
|
|
1410
|
-
_removeAtIndex(e) {
|
|
1411
|
-
this._deleted == null && (this._deleted = L.create(this.getSize())), this._deleted.set(e);
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
const vt = (a, e) => a && ((...t) => e.warn("DEBUG:", ...t)) || (() => null), Et = !1;
|
|
1415
|
-
class At {
|
|
1416
|
-
constructor(e) {
|
|
1417
|
-
this.data = e, this._referenceCount = 0;
|
|
1418
|
-
}
|
|
1419
|
-
increment() {
|
|
1420
|
-
this._referenceCount += 1;
|
|
1421
|
-
}
|
|
1422
|
-
decrement() {
|
|
1423
|
-
this._referenceCount -= 1;
|
|
1424
|
-
}
|
|
1425
|
-
empty() {
|
|
1426
|
-
return this._referenceCount === 0;
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
class Mt {
|
|
1430
|
-
constructor() {
|
|
1431
|
-
this._freeIdsGenerationA = [], this._freeIdsGenerationB = [], this._idCounter = 1, this._freeIds = this._freeIdsGenerationA, this._objectIdToDisplayId = /* @__PURE__ */ new Map();
|
|
1432
|
-
}
|
|
1433
|
-
createIdForObjectId(e) {
|
|
1434
|
-
let t = this._objectIdToDisplayId.get(e);
|
|
1435
|
-
return t ? t.increment() : (t = new At(be(this._getFreeId(), !1)), t.increment(), this._objectIdToDisplayId.set(e, t)), t.data;
|
|
1436
|
-
}
|
|
1437
|
-
releaseIdForObjectId(e) {
|
|
1438
|
-
const t = this._objectIdToDisplayId.get(e);
|
|
1439
|
-
t && (t.decrement(), t.empty() && (this._objectIdToDisplayId.delete(e), this._freeIds.push(t.data)));
|
|
1440
|
-
}
|
|
1441
|
-
releaseAll() {
|
|
1442
|
-
for (const e of this._objectIdToDisplayId.values())
|
|
1443
|
-
this._freeIds.push(e.data);
|
|
1444
|
-
this._objectIdToDisplayId.clear();
|
|
1445
|
-
}
|
|
1446
|
-
incrementGeneration() {
|
|
1447
|
-
this._freeIds = this._freeIds === this._freeIdsGenerationA ? this._freeIdsGenerationB : this._freeIdsGenerationA;
|
|
1448
|
-
}
|
|
1449
|
-
_getFreeId() {
|
|
1450
|
-
return this._freeIds.length ? this._freeIds.pop() : this._idCounter++;
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
function Ct(a, e) {
|
|
1454
|
-
if (!a || !e)
|
|
1455
|
-
return a;
|
|
1456
|
-
switch (e) {
|
|
1457
|
-
case "radius":
|
|
1458
|
-
case "distance":
|
|
1459
|
-
return 2 * a;
|
|
1460
|
-
case "diameter":
|
|
1461
|
-
case "width":
|
|
1462
|
-
return a;
|
|
1463
|
-
case "area":
|
|
1464
|
-
return Math.sqrt(a);
|
|
1465
|
-
}
|
|
1466
|
-
return a;
|
|
1467
|
-
}
|
|
1468
|
-
const Z = () => S.getLogger("esri.views.layers.2d.features.support.AttributeStore"), j = vt(Et, Z()), zt = { sharedArrayBuffer: b("esri-shared-array-buffer"), atomics: b("esri-atomics") };
|
|
1469
|
-
class Ft {
|
|
1470
|
-
constructor(e, t, r) {
|
|
1471
|
-
this.size = 0, this.texelSize = 4, this.dirtyStart = 0, this.dirtyEnd = 0;
|
|
1472
|
-
const { pixelType: s, layout: i, textureOnly: n } = t;
|
|
1473
|
-
this.textureOnly = n || !1, this.pixelType = s, this.layout = i, this._resetRange(), this.size = e, this.isLocal = r, n || (this.data = this._initData(s, e));
|
|
1474
|
-
}
|
|
1475
|
-
get buffer() {
|
|
1476
|
-
var e;
|
|
1477
|
-
return (e = this.data) == null ? void 0 : e.buffer;
|
|
1478
|
-
}
|
|
1479
|
-
unsetComponentAllTexels(e, t) {
|
|
1480
|
-
const r = this.data;
|
|
1481
|
-
for (let s = 0; s < this.size * this.size; s++)
|
|
1482
|
-
r[s * this.texelSize + e] &= ~t;
|
|
1483
|
-
this.dirtyStart = 0, this.dirtyEnd = this.size * this.size - 1;
|
|
1484
|
-
}
|
|
1485
|
-
setComponentAllTexels(e, t) {
|
|
1486
|
-
const r = this.data;
|
|
1487
|
-
for (let s = 0; s < this.size * this.size; s++)
|
|
1488
|
-
r[s * this.texelSize + e] |= 255 & t;
|
|
1489
|
-
this.dirtyStart = 0, this.dirtyEnd = this.size * this.size - 1;
|
|
1490
|
-
}
|
|
1491
|
-
setComponent(e, t, r) {
|
|
1492
|
-
const s = this.data;
|
|
1493
|
-
for (const i of r)
|
|
1494
|
-
s[i * this.texelSize + e] |= t, this.dirtyStart = Math.min(this.dirtyStart, i), this.dirtyEnd = Math.max(this.dirtyEnd, i);
|
|
1495
|
-
}
|
|
1496
|
-
setComponentTexel(e, t, r) {
|
|
1497
|
-
this.data[r * this.texelSize + e] |= t, this.dirtyStart = Math.min(this.dirtyStart, r), this.dirtyEnd = Math.max(this.dirtyEnd, r);
|
|
1498
|
-
}
|
|
1499
|
-
unsetComponentTexel(e, t, r) {
|
|
1500
|
-
this.data[r * this.texelSize + e] &= ~t, this.dirtyStart = Math.min(this.dirtyStart, r), this.dirtyEnd = Math.max(this.dirtyEnd, r);
|
|
1501
|
-
}
|
|
1502
|
-
getData(e, t) {
|
|
1503
|
-
const r = I(e);
|
|
1504
|
-
return this.data[r * this.texelSize + t];
|
|
1505
|
-
}
|
|
1506
|
-
setData(e, t, r) {
|
|
1507
|
-
const s = I(e), i = 1 << t;
|
|
1508
|
-
this.layout & i ? this.data != null && (this.data[s * this.texelSize + t] = r, this.dirtyStart = Math.min(this.dirtyStart, s), this.dirtyEnd = Math.max(this.dirtyEnd, s)) : Z().error("mapview-attributes-store", "Tried to set a value for a texel's readonly component");
|
|
1509
|
-
}
|
|
1510
|
-
expand(e) {
|
|
1511
|
-
if (this.size = e, !this.textureOnly) {
|
|
1512
|
-
const t = this._initData(this.pixelType, e), r = this.data;
|
|
1513
|
-
t.set(r), this.data = t;
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
toMessage() {
|
|
1517
|
-
const e = this.dirtyStart, t = this.dirtyEnd, r = this.texelSize;
|
|
1518
|
-
if (e > t)
|
|
1519
|
-
return null;
|
|
1520
|
-
this._resetRange();
|
|
1521
|
-
const s = !this.isLocal, i = this.pixelType, n = this.layout, o = this.data;
|
|
1522
|
-
return { start: e, end: t, data: s && o.slice(e * r, (t + 1) * r) || null, pixelType: i, layout: n };
|
|
1523
|
-
}
|
|
1524
|
-
_initData(e, t) {
|
|
1525
|
-
const r = ArrayBuffer, s = _e(e), i = new s(new r(t * t * 4 * s.BYTES_PER_ELEMENT));
|
|
1526
|
-
for (let n = 0; n < i.length; n += 4)
|
|
1527
|
-
i[n + 1] = 255;
|
|
1528
|
-
return i;
|
|
1529
|
-
}
|
|
1530
|
-
_resetRange() {
|
|
1531
|
-
this.dirtyStart = 2147483647, this.dirtyEnd = 0;
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
class or {
|
|
1535
|
-
constructor(e) {
|
|
1536
|
-
this._client = e, this._filters = [], this._blocks = new Array(), this._attributeComputeInfo = null, this._abortController = new AbortController(), this._size = Ue, this._idsToHighlight = /* @__PURE__ */ new Map(), this._referencesScale = !1, this._referencesGeometry = !1, this._initialized = !1, this.version = 0, this._idGenerator = new Mt(), this._epoch = 1;
|
|
1537
|
-
}
|
|
1538
|
-
destroy() {
|
|
1539
|
-
this._abortController.abort();
|
|
1540
|
-
}
|
|
1541
|
-
_initialize() {
|
|
1542
|
-
if (this._blockDescriptors != null)
|
|
1543
|
-
return;
|
|
1544
|
-
const e = z.FLOAT;
|
|
1545
|
-
j(`Creating AttributeStore ${zt.sharedArrayBuffer ? "with" : "without"} shared memory`), this._blockDescriptors = [{ pixelType: z.UNSIGNED_BYTE, layout: 1 }, { pixelType: z.UNSIGNED_BYTE, layout: 15, textureOnly: !0 }, { pixelType: z.UNSIGNED_BYTE, layout: 15, textureOnly: !0 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }, { pixelType: e, layout: 15 }], this._blocks = this._blockDescriptors.map(() => null);
|
|
1546
|
-
}
|
|
1547
|
-
get referencesScale() {
|
|
1548
|
-
return this._referencesScale;
|
|
1549
|
-
}
|
|
1550
|
-
get referencesGeometry() {
|
|
1551
|
-
return this._referencesGeometry;
|
|
1552
|
-
}
|
|
1553
|
-
get _signal() {
|
|
1554
|
-
return this._abortController.signal;
|
|
1555
|
-
}
|
|
1556
|
-
get hasHighlight() {
|
|
1557
|
-
return this._idsToHighlight.size > 0;
|
|
1558
|
-
}
|
|
1559
|
-
createDisplayIdForObjectId(e) {
|
|
1560
|
-
return this._idGenerator.createIdForObjectId(e);
|
|
1561
|
-
}
|
|
1562
|
-
releaseDisplayIdForObjectId(e) {
|
|
1563
|
-
return this._idGenerator.releaseIdForObjectId(e);
|
|
1564
|
-
}
|
|
1565
|
-
incrementDisplayIdGeneration() {
|
|
1566
|
-
this._idGenerator.incrementGeneration();
|
|
1567
|
-
}
|
|
1568
|
-
releaseAllIds() {
|
|
1569
|
-
this._idGenerator.releaseAll();
|
|
1570
|
-
}
|
|
1571
|
-
async update(e, t, r, s, i = 0) {
|
|
1572
|
-
const n = Le(this._schema, e);
|
|
1573
|
-
if (this.version = i, n && (b("esri-2d-update-debug") && console.debug(`Version[${i}] AttributeStore.update`, { changed: n }), this._schema = e, this._attributeComputeInfo = null, this._initialize(), e != null))
|
|
1574
|
-
if (r && (this._filters = await Promise.all(e.filters.map((o) => o ? U.create({ geometryType: r.geometryType, hasM: !1, hasZ: !1, timeInfo: r.timeInfo, fieldsIndex: r.fieldsIndex, spatialReference: s ?? r.spatialReference, filterJSON: o }) : null))), e.type !== "subtype")
|
|
1575
|
-
this._attributeComputeInfo = { isSubtype: !1, map: /* @__PURE__ */ new Map() }, await Promise.all(e.bindings.map(async (o) => {
|
|
1576
|
-
const h = await this._bind(t, o);
|
|
1577
|
-
this._referencesGeometry = this._referencesGeometry || ((h == null ? void 0 : h.referencesGeometry()) ?? !1), this._referencesScale = this._referencesScale || ((h == null ? void 0 : h.referencesScale()) ?? !1);
|
|
1578
|
-
}));
|
|
1579
|
-
else {
|
|
1580
|
-
this._attributeComputeInfo = { isSubtype: !0, subtypeField: e.subtypeField, map: /* @__PURE__ */ new Map() }, this._referencesScale = !1, this._referencesGeometry = !1;
|
|
1581
|
-
for (const o in e.bindings) {
|
|
1582
|
-
const h = e.bindings[o];
|
|
1583
|
-
await Promise.all(h.map(async (d) => {
|
|
1584
|
-
const u = await this._bind(t, d, parseInt(o, 10));
|
|
1585
|
-
this._referencesGeometry = this._referencesGeometry || ((u == null ? void 0 : u.referencesGeometry()) ?? !1), this._referencesScale = this._referencesScale || ((u == null ? void 0 : u.referencesScale()) ?? !1);
|
|
1586
|
-
}));
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
setHighlight(e, t) {
|
|
1591
|
-
const r = this._getBlock(0);
|
|
1592
|
-
r.unsetComponentAllTexels(0, (1 << V.length) - 1);
|
|
1593
|
-
for (const { displayId: s, highlightFlags: i } of e) {
|
|
1594
|
-
if (s == null)
|
|
1595
|
-
continue;
|
|
1596
|
-
const n = I(s);
|
|
1597
|
-
r.setComponent(0, i, [n]);
|
|
1598
|
-
}
|
|
1599
|
-
this._idsToHighlight.clear();
|
|
1600
|
-
for (const { objectId: s, highlightFlags: i } of e)
|
|
1601
|
-
this._idsToHighlight.set(s, i);
|
|
1602
|
-
for (const { objectId: s, highlightFlags: i } of t)
|
|
1603
|
-
this._idsToHighlight.set(s, i);
|
|
1604
|
-
}
|
|
1605
|
-
setData(e, t, r, s) {
|
|
1606
|
-
const i = I(e);
|
|
1607
|
-
this._ensureSizeForTexel(i), this._getBlock(t).setData(e, r, s);
|
|
1608
|
-
}
|
|
1609
|
-
getData(e, t, r) {
|
|
1610
|
-
return this._getBlock(t).getData(e, r);
|
|
1611
|
-
}
|
|
1612
|
-
getHighlightFlags(e) {
|
|
1613
|
-
return this._idsToHighlight.get(e) || 0;
|
|
1614
|
-
}
|
|
1615
|
-
unsetAttributeData(e) {
|
|
1616
|
-
const t = I(e);
|
|
1617
|
-
this._getBlock(0).setData(t, 0, 0);
|
|
1618
|
-
}
|
|
1619
|
-
setAttributeData(e, t, r) {
|
|
1620
|
-
const s = I(e);
|
|
1621
|
-
this._ensureSizeForTexel(s), this._getBlock(0).setData(s, 0, this.getFilterFlags(t));
|
|
1622
|
-
const i = this._attributeComputeInfo, n = 1, o = 4;
|
|
1623
|
-
let h = null;
|
|
1624
|
-
i && (h = i.isSubtype ? i.map.get(t.readAttribute(i.subtypeField)) : i.map, h != null && h.size && h.forEach((d, u) => {
|
|
1625
|
-
var g;
|
|
1626
|
-
const c = u * n % o, l = Math.floor(u * n / o), y = this._getBlock(l + P.VV);
|
|
1627
|
-
let f = (g = d.field) == null ? void 0 : g.read(t, r);
|
|
1628
|
-
d.valueRepresentation && (f = Ct(f, d.valueRepresentation)), (f === null || isNaN(f) || f === 1 / 0 || f === -1 / 0) && (f = xe), y.setData(s, c, f);
|
|
1629
|
-
}));
|
|
1630
|
-
}
|
|
1631
|
-
get epoch() {
|
|
1632
|
-
return this._epoch;
|
|
1633
|
-
}
|
|
1634
|
-
async sendUpdates() {
|
|
1635
|
-
const e = this._blocks.map((r) => r != null ? r.toMessage() : null), t = this._getInitArgs();
|
|
1636
|
-
b("esri-2d-log-updating") && console.log("AttributeStore: _doSendUpdate.start"), await this._client.update({ initArgs: t, blockData: e, version: this.version, sendUpdateEpoch: this._epoch }, this._signal), this._epoch += 1, b("esri-2d-log-updating") && console.log("AttributeStore: _doSendUpdate.end");
|
|
1637
|
-
}
|
|
1638
|
-
_ensureSizeForTexel(e) {
|
|
1639
|
-
for (; e >= this._size * this._size; )
|
|
1640
|
-
if (this._expand())
|
|
1641
|
-
return;
|
|
1642
|
-
}
|
|
1643
|
-
async _bind(e, t, r) {
|
|
1644
|
-
const s = await e.createComputedField(t), { valueRepresentation: i } = t, n = this._attributeComputeInfo;
|
|
1645
|
-
if (n.isSubtype) {
|
|
1646
|
-
const o = n.map.get(r) ?? /* @__PURE__ */ new Map();
|
|
1647
|
-
o.set(t.binding, { field: s, valueRepresentation: i }), n.map.set(r, o);
|
|
1648
|
-
} else
|
|
1649
|
-
n.map.set(t.binding, { field: s, valueRepresentation: i });
|
|
1650
|
-
return s;
|
|
1651
|
-
}
|
|
1652
|
-
_getInitArgs() {
|
|
1653
|
-
return this._initialized ? null : (this._initialized = !0, this._getBlock(P.Animation), this._getBlock(P.GPGPU), { blockSize: this._size, blockDescriptors: this._blocks.map((e) => e != null ? { textureOnly: e.textureOnly, buffer: e.buffer, pixelType: e.pixelType } : null) });
|
|
1654
|
-
}
|
|
1655
|
-
_getBlock(e) {
|
|
1656
|
-
const t = this._blocks[e];
|
|
1657
|
-
if (t != null)
|
|
1658
|
-
return t;
|
|
1659
|
-
j(`Initializing AttributeBlock at index ${e}`);
|
|
1660
|
-
const r = new Ft(this._size, this._blockDescriptors[e], this._client.isLocal);
|
|
1661
|
-
return this._blocks[e] = r, this._initialized = !1, r;
|
|
1662
|
-
}
|
|
1663
|
-
_expand() {
|
|
1664
|
-
if (this._size < this._schema.capabilities.maxTextureSize) {
|
|
1665
|
-
const e = this._size <<= 1;
|
|
1666
|
-
j("Expanding block size to", e, this._blocks);
|
|
1667
|
-
for (const t of this._blocks)
|
|
1668
|
-
t == null || t.expand(e);
|
|
1669
|
-
return this._initialized = !1, this._size = e, 0;
|
|
1670
|
-
}
|
|
1671
|
-
return Z().error(new w("mapview-limitations", "Maximum number of onscreen features exceeded.")), -1;
|
|
1672
|
-
}
|
|
1673
|
-
isVisible(e) {
|
|
1674
|
-
return !!(this._getBlock(0).getData(e, 0) & 1 << V.length);
|
|
1675
|
-
}
|
|
1676
|
-
getFilterFlags(e) {
|
|
1677
|
-
let t = 0;
|
|
1678
|
-
for (let s = 0; s < this._filters.length; s++) {
|
|
1679
|
-
const i = !!(1 << s), n = this._filters[s];
|
|
1680
|
-
t |= (!i || n == null || n.check(e) ? 1 : 0) << s;
|
|
1681
|
-
}
|
|
1682
|
-
let r = 0;
|
|
1683
|
-
if (this._idsToHighlight.size) {
|
|
1684
|
-
const s = e.getObjectId();
|
|
1685
|
-
r = this.getHighlightFlags(s);
|
|
1686
|
-
}
|
|
1687
|
-
return t << V.length | r;
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
export {
|
|
1691
|
-
ar as M,
|
|
1692
|
-
Qt as a,
|
|
1693
|
-
or as b,
|
|
1694
|
-
it as c,
|
|
1695
|
-
U as d,
|
|
1696
|
-
Je as e,
|
|
1697
|
-
ft as f,
|
|
1698
|
-
ae as g,
|
|
1699
|
-
_t as h,
|
|
1700
|
-
qt as i,
|
|
1701
|
-
N as j,
|
|
1702
|
-
Zt as n,
|
|
1703
|
-
rr as p,
|
|
1704
|
-
et as r,
|
|
1705
|
-
nr as s,
|
|
1706
|
-
L as t
|
|
1707
|
-
};
|