@agrotools1/at-components 0.3.4 → 0.3.5
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-b6e32ab3.js +109 -0
- package/dist/APIKeyMixin-83218bd5.js +19 -0
- package/dist/Analysis-8c5616ab.js +31 -0
- package/dist/ArcGISCachedService-8da73861.js +47 -0
- package/dist/ArcGISService-1e7483eb.js +25 -0
- package/dist/AreaMeasurement2D-ee78c5ab.js +405 -0
- package/dist/AreaMeasurement3D-098fd9ea.js +488 -0
- package/dist/AttachmentInfo-1b2ece0a.js +34 -0
- package/dist/AttachmentQuery-470d5a03.js +18 -0
- package/dist/AttributeStore-f80857be.js +1707 -0
- package/dist/BaseDynamicLayerView2D-a5f201d7.js +63 -0
- package/dist/BingMapsLayer-4c95d39c.js +112 -0
- package/dist/Bitmap-d7c41f66.js +128 -0
- package/dist/BitmapContainer-af419f59.js +23 -0
- package/dist/BlendLayer-ced1717f.js +13 -0
- package/dist/BoundsStore-030e1112.js +63 -0
- package/dist/BufferObject-6f0ccf08.js +100 -0
- package/dist/BufferView-83825b1b.js +683 -0
- package/dist/BuildingSceneLayer-67d67dd9.js +535 -0
- package/dist/Button-b96d4e96.js +36 -0
- package/dist/CSVLayer-0d54cccb.js +208 -0
- package/dist/CSVSourceWorker-00c7e147.js +367 -0
- package/dist/CatalogDynamicGroupLayerView2D-e1b747eb.js +66 -0
- package/dist/CatalogFootprintLayerView2D-4d654b8c.js +76 -0
- package/dist/CatalogLayer-fdcebf46.js +262 -0
- package/dist/CatalogLayerView2D-d872dec4.js +52 -0
- package/dist/ClassBreaksDefinition-0f6902fe.js +18 -0
- package/dist/ColorMaterial.glsl-0f79d1d3.js +64 -0
- package/dist/ColorSet-1f170190.js +45 -0
- package/dist/ColorStop-81b2ebbf.js +29 -0
- package/dist/Container-5cca9103.js +521 -0
- package/dist/CustomParametersMixin-fa9fc8f5.js +12 -0
- package/dist/DefaultMaterial.glsl-ea170d90.js +42 -0
- package/dist/DefaultMaterial_COLOR_GAMMA-e9199fb6.js +653 -0
- package/dist/DefaultTheme-e76e0ce4.js +130 -0
- package/dist/DeleteForwardEditsParameters-114413db.js +18 -0
- package/dist/DimensionLayer-5caa9d6d.js +129 -0
- package/dist/DirectLineMeasurement3D-6d3a316a.js +449 -0
- package/dist/DistanceMeasurement2D-7090d647.js +303 -0
- package/dist/DoubleArray-40bc6f82.js +25 -0
- package/dist/Dropdown/Checklist/Dropdown.Checklist.d.ts +17 -17
- package/dist/Dropdown/Dropdown.core.d.ts +6 -4
- package/dist/Dropdown/Dropdown.types.d.ts +1 -1
- package/dist/EdgeProcessingWorker-94aed8c4.js +63 -0
- package/dist/EditBusLayer-dcf477a3.js +107 -0
- package/dist/ElevationInfo-a456026a.js +56 -0
- package/dist/ElevationLayer-6061b8f4.js +129 -0
- package/dist/ElevationQuery-ec17e2cc.js +598 -0
- package/dist/ElevationSamplerWorker-beaaeaeb.js +62 -0
- package/dist/ExportImageParameters-56040230.js +66 -0
- package/dist/ExportStrategy-7d1b4a0c.js +93 -0
- package/dist/ExportWMSImageParameters-0b3d33ed.js +33 -0
- package/dist/External-9a57bcf0.js +110 -0
- package/dist/FeatureCollectionSnappingSource-b589f9ce.js +130 -0
- package/dist/FeatureCommandQueue-d1572e0d.js +1244 -0
- package/dist/FeatureEffect-20d94762.js +39 -0
- package/dist/FeatureEffectLayer-017997f2.js +13 -0
- package/dist/FeatureFilter-73c8c240.js +27 -0
- package/dist/FeatureLayer-ecf9f4ea.js +693 -0
- package/dist/FeatureLayerBase-1ffc64a0.js +148 -0
- package/dist/FeatureLayerSource-0acdac77.js +444 -0
- package/dist/FeatureLayerView2D-6f0d2580.js +1967 -0
- package/dist/FeaturePipelineWorker-77d06d4f.js +3633 -0
- package/dist/FeatureReductionLayer-203415cc.js +225 -0
- package/dist/FeatureReductionSelection-4ba3cfda.js +22 -0
- package/dist/FeatureServiceSnappingSource-90c5e877.js +481 -0
- package/dist/FeatureServiceSnappingSourceWorker-9f33d320.js +747 -0
- package/dist/FeatureSet-29d82bc9.js +188 -0
- package/dist/FeatureStore-9d48217b.js +131 -0
- package/dist/FeatureTemplate-79cf9cb6.js +12 -0
- package/dist/FeatureType-30eece24.js +25 -0
- package/dist/FieldsIndex-7d8f3589.js +109 -0
- package/dist/Filter/components/Filter.types.d.ts +17 -0
- package/dist/Filter/index.d.ts +4 -0
- package/dist/Filter/tests/mocks.d.ts +6 -0
- package/dist/FormTemplate-18b193a8.js +350 -0
- package/dist/GeoJSONLayer-d2677013.js +236 -0
- package/dist/GeoJSONSourceWorker-4571c9d5.js +247 -0
- package/dist/GeoRSSLayer-320f17b2.js +73 -0
- package/dist/GeoRSSLayerView2D-4683eb47.js +140 -0
- package/dist/GeometryUtils-b855940e.js +403 -0
- package/dist/GraphicContainer-9bd07fb2.js +26 -0
- package/dist/GraphicManipulator-e96e9aa3.js +1499 -0
- package/dist/GraphicsLayer-964ed1f0.js +38 -0
- package/dist/GraphicsLayerView2D-83766b4b.js +114 -0
- package/dist/GraphicsSnappingSource-0bf5350b.js +273 -0
- package/dist/GraphicsView2D-3103ed12.js +620 -0
- package/dist/GroupLayer-2c099630.js +147 -0
- package/dist/GroupLayerView2D-abb8b6d5.js +98 -0
- package/dist/HUDMaterial.glsl-6e206016.js +65 -0
- package/dist/HighlightCounter-1d4774e1.js +41 -0
- package/dist/HighlightGraphicContainer-de26900b.js +18 -0
- package/dist/I3SBinaryReader-63c12e1b.js +310 -0
- package/dist/I3SLayerDefinitions-d0aa8265.js +55 -0
- package/dist/I3SUtil-277467e8.js +59 -0
- package/dist/IdentityManager-a1b54522.js +899 -0
- package/dist/ImageHistogramParameters-47cf0f1b.js +905 -0
- package/dist/ImageryLayer-89c92097.js +1799 -0
- package/dist/ImageryLayerView2D-e0c5549a.js +352 -0
- package/dist/ImageryTileLayer-c38364f3.js +2157 -0
- package/dist/ImageryTileLayerView2D-f659a87c.js +1110 -0
- package/dist/Indices-29975728.js +67 -0
- package/dist/Input/Input.core.d.ts +1 -1
- package/dist/Input/index.d.ts +1 -1
- package/dist/IntegratedMesh3DTilesLayer-8b851e87.js +112 -0
- package/dist/IntegratedMeshLayer-9ed738ba.js +141 -0
- package/dist/InteractiveAnalysisViewModel-c95e13c5.js +7397 -0
- package/dist/InterleavedLayout-f5e6ee23.js +163 -0
- package/dist/KMLLayer-3662a890.js +162 -0
- package/dist/KMLLayerView2D-3d172b6a.js +253 -0
- package/dist/KnowledgeGraphLayerView2D-086160b5.js +43 -0
- package/dist/LRUCache-948c7d75.js +32 -0
- package/dist/LabelClass-c0694878.js +135 -0
- package/dist/LabelMetric-39280634.js +400 -0
- package/dist/LaserlinePath.glsl-205f0e8a.js +64 -0
- package/dist/Laserlines.glsl-6f09c43e.js +65 -0
- package/dist/LayerFloorInfo-308449b6.js +15 -0
- package/dist/LayerView-2b3b1a70.js +206 -0
- package/dist/LercWorker-b007ee29.js +157 -0
- package/dist/LineOfSightLayer-99b48ebf.js +147 -0
- package/dist/LinkChartLayer-d69e2e36.js +1027 -0
- package/dist/List/components/List.d.ts +74 -0
- package/dist/List/components/List.types.d.ts +11 -0
- package/dist/List/index.d.ts +4 -0
- package/dist/List/tests/mocks.d.ts +7 -0
- package/dist/Lyr3DWorker-2fdd578b.js +82 -0
- package/dist/MagnifierPrograms-5042ccad.js +806 -0
- package/dist/MapImageLayer-f3e35db3.js +169 -0
- package/dist/MapImageLayerView2D-98cfaffb.js +146 -0
- package/dist/MapNotesLayer-6942570f.js +283 -0
- package/dist/MapNotesLayerView2D-b641bba4.js +161 -0
- package/dist/MapServiceLayerViewHelper-9111fb4f.js +288 -0
- package/dist/MeasurementWidgetContent-a66f382a.js +2642 -0
- package/dist/MediaLayer-585e1067.js +523 -0
- package/dist/MediaLayerView2D-74d90bf4.js +332 -0
- package/dist/MemCache-1532e921.js +227 -0
- package/dist/MemorySourceWorker-ba059303.js +222 -0
- package/dist/Mesh-43d631db.js +980 -0
- package/dist/MeshLocalVertexSpace-f9cc6881.js +19 -0
- package/dist/MultiOriginJSONSupport-ec8788e6.js +158 -0
- package/dist/OGCFeatureLayer-5e327659.js +211 -0
- package/dist/OGCFeatureLayerView2D-d0104fdc.js +82 -0
- package/dist/ObjectStack-2d389b76.js +21 -0
- package/dist/Octree-1dba17ba.js +495 -0
- package/dist/OpenStreetMapLayer-dc083119.js +30 -0
- package/dist/OperationalLayer-d43d80b1.js +44 -0
- package/dist/OrderByInfo-26301234.js +16 -0
- package/dist/OrderedLayer-36fe0e60.js +26 -0
- package/dist/OrientedImageryLayer-21689d88.js +216 -0
- package/dist/OverlayCompositing.glsl-f80836ca.js +65 -0
- package/dist/OverrideHelper-880a7e09.js +242 -0
- package/dist/PBFDecoderWorker-b5f6d890.js +213 -0
- package/dist/PointCloudLayer-899f6a49.js +197 -0
- package/dist/PointCloudUniqueValueRenderer-8a477087.js +115 -0
- package/dist/PointCloudWorker-4bea79e8.js +212 -0
- package/dist/PooledRBush-df73bc2a.js +272 -0
- package/dist/Popup-e01092b4.js +3990 -0
- package/dist/PortalLayer-daca6a23.js +126 -0
- package/dist/Program-8b1e5f48.js +694 -0
- package/dist/ProgramTemplate-e4360f44.js +35 -0
- package/dist/QueryEngine-ca1511e3.js +896 -0
- package/dist/QueryTask-c9fa71fa.js +119 -0
- package/dist/RasterSymbolizer-1644d7a7.js +3024 -0
- package/dist/RasterVFDisplayObject-7ec19876.js +581 -0
- package/dist/RasterWorker-2d320094.js +78 -0
- package/dist/RawBlockCache-86e6c5d3.js +185 -0
- package/dist/RealisticTree.glsl-65abf4e9.js +42 -0
- package/dist/RefreshableLayer-a0708abb.js +80 -0
- package/dist/RefreshableLayerView-2b6aca24.js +16 -0
- package/dist/Relationship-ef9ae528.js +64 -0
- package/dist/RelationshipQuery-8a39148b.js +22 -0
- package/dist/RenderingContext-e718bfed.js +889 -0
- package/dist/RibbonLine.glsl-e82fb3bb.js +65 -0
- package/dist/RouteLayer-06ecd24a.js +786 -0
- package/dist/RouteLayerView2D-26c96396.js +195 -0
- package/dist/SDFHelper-70cff23b.js +140 -0
- package/dist/SSAO.glsl-54f15911.js +43 -0
- package/dist/SSAOBlur.glsl-cbd829bc.js +42 -0
- package/dist/ScaleRangeLayer-dc6d9c0e.js +21 -0
- package/dist/SceneLayer-255b45af.js +542 -0
- package/dist/SceneLayerSnappingSource-8969a32e.js +218 -0
- package/dist/SceneLayerSnappingSourceWorker-17673240.js +112 -0
- package/dist/SceneLayerWorker-46a764a8.js +164 -0
- package/dist/SceneService-bbc3f4e5.js +215 -0
- package/dist/Scheduler-e3ad50f2.js +373 -0
- package/dist/Search/Search.d.ts +11 -0
- package/dist/Select/Multiple/Select.multiple.d.ts +1 -1
- package/dist/Select/Select.core.d.ts +1 -1
- package/dist/Select/index.d.ts +1 -1
- package/dist/ShadedColorMaterial.glsl-8e194f81.js +64 -0
- package/dist/SnappingOperation-d12c0cd0.js +48 -0
- package/dist/SourceLayerData-054d8bb6.js +116 -0
- package/dist/SpatialFilter-ba146c95.js +1701 -0
- package/dist/Stop-38c9a9d4.js +281 -0
- package/dist/StreamLayer-9d300b87.js +188 -0
- package/dist/StreamLayerView2D-d80b90e9.js +164 -0
- package/dist/StyleRepository-e8c44bab.js +2212 -0
- package/dist/SublayersOwner-469b921a.js +545 -0
- package/dist/SubtypeGroupLayer-e467307a.js +514 -0
- package/dist/SubtypeGroupLayerView2D-41ed7e6f.js +84 -0
- package/dist/TableConfig/TableConfig.d.ts +6 -6
- package/dist/Tabs/Tab/Tab.d.ts +3 -3
- package/dist/TechniqueInstance-9c0d4dcf.js +233 -0
- package/dist/TemporalLayer-011ac13a.js +23 -0
- package/dist/Texture-b28260ca.js +501 -0
- package/dist/TextureOnly.glsl-87d0e898.js +65 -0
- package/dist/Theme-bf54db6d.js +3426 -0
- package/dist/Tick-5be5a637.js +723 -0
- package/dist/TileContainer-09ca940a.js +31 -0
- package/dist/TileInfoTilemapCache-26485a76.js +38 -0
- package/dist/TileLayer-b0580f1d.js +194 -0
- package/dist/TileLayerView2D-e4561937.js +187 -0
- package/dist/TilemapCache-d2163c80.js +189 -0
- package/dist/TimeInfo-68d2df8b.js +42 -0
- package/dist/TimeOnly-bb600899.js +706 -0
- package/dist/Tooltip-927072f3.js +138 -0
- package/dist/TopFeaturesQuery-77f00fe7.js +32 -0
- package/dist/TurboLine-87dd880a.js +565 -0
- package/dist/UniqueValueRenderer-56a91680.js +1039 -0
- package/dist/UnknownLayer-6b7b3c5d.js +30 -0
- package/dist/UnknownTimeZone-e62caf07.js +15 -0
- package/dist/UnsupportedLayer-16a90c0a.js +31 -0
- package/dist/UpdateTracking2D-bf4e8a89.js +8566 -0
- package/dist/Util-6762e3c9.js +57 -0
- package/dist/VectorTileLayer-3c42b01b.js +544 -0
- package/dist/VectorTileLayerView2D-3af619aa.js +2108 -0
- package/dist/Version-9c75ca2b.js +33 -0
- package/dist/VertexArrayObject-e736d4c8.js +73 -0
- package/dist/VertexColor.glsl-69e78e7a.js +2683 -0
- package/dist/VertexSnappingCandidate-10823eb3.js +13 -0
- package/dist/VideoLayerView2D-68e687b0.js +124 -0
- package/dist/VoxelLayer-76005caf.js +631 -0
- package/dist/WFSLayer-398b281f.js +221 -0
- package/dist/WFSSourceWorker-7506acff.js +157 -0
- package/dist/WGLContainer-f2c4f5da.js +5426 -0
- package/dist/WMSLayer-6fbfc745.js +536 -0
- package/dist/WMSLayerView2D-63dda194.js +117 -0
- package/dist/WMTSLayer-6492359f.js +531 -0
- package/dist/WMTSLayerView2D-5daae3fe.js +142 -0
- package/dist/WebTileLayer-5f7595df.js +110 -0
- package/dist/WhereClause-a8fc45da.js +2766 -0
- package/dist/WorkerHandle-11931750.js +47 -0
- package/dist/WorkerTileHandler-b53b5efc.js +1539 -0
- package/dist/action-b5c3b319.js +198 -0
- package/dist/action-group-01e02696.js +145 -0
- package/dist/action-menu-e0ddae4e.js +1759 -0
- package/dist/apng-9d467a98.js +392 -0
- package/dist/arcade-71dc610e.js +229 -0
- package/dist/arcadeAsyncRuntime-146d9fb6.js +943 -0
- package/dist/arcadeUtils-f7ed3399.js +8741 -0
- package/dist/arcgis-knowledge-client-core-b8fef5b0.js +1218 -0
- package/dist/arcgis-knowledge-client-core-simd-d54c7150.js +1218 -0
- package/dist/arcgisLayers-8d42568b.js +152 -0
- package/dist/associatedFeatureServiceUtils-c50f28e9.js +92 -0
- package/dist/axisAngleDegrees-ea89c136.js +49 -0
- package/dist/basis_transcoder-39fbc6ae.js +1248 -0
- package/dist/calcite-action-264e28ab.js +22 -0
- package/dist/calcite-action-bar-6ec66445.js +303 -0
- package/dist/calcite-action-group-85d021dc.js +28 -0
- package/dist/calcite-button-8a5af2ce.js +228 -0
- package/dist/calcite-flow-9b5e43fd.js +128 -0
- package/dist/calcite-flow-item-0089f891.js +499 -0
- package/dist/calcite-icon-c20a8db7.js +16 -0
- package/dist/calcite-input-24e48df5.js +24 -0
- package/dist/calcite-label-9e4dcb66.js +79 -0
- package/dist/calcite-list-711dcec1.js +2135 -0
- package/dist/calcite-list-item-1a29c5f1.js +576 -0
- package/dist/calcite-list-item-group-b69dedb8.js +71 -0
- package/dist/calcite-loader-e8b209f6.js +14 -0
- package/dist/calcite-modal-5e518e4c.js +333 -0
- package/dist/calcite-notice-25463d4d.js +181 -0
- package/dist/calcite-option-113080c1.js +94 -0
- package/dist/calcite-scrim-423337f4.js +18 -0
- package/dist/calcite-select-cd1e7e86.js +231 -0
- package/dist/capabilities-e7ea2422.js +50 -0
- package/dist/chartCommon-beb757c5.js +256 -0
- package/dist/chartUtilsAm5-6eaf385e.js +2954 -0
- package/dist/clientSideDefaults-366deb67.js +39 -0
- package/dist/colorRamps-4ea8b8f7.js +38 -0
- package/dist/colorUtils-611a3fa1.js +164 -0
- package/dist/commonProperties-3f86f534.js +60 -0
- package/dist/computeTranslationToOriginAndRotation-db6fb1b6.js +60 -0
- package/dist/conditionalSlot-4bf2837a.js +27 -0
- package/dist/createConnection-0754c362.js +299 -0
- package/dist/dataUtils-ebb55aab.js +1421 -0
- package/dist/deduplicate-af05e046.js +89 -0
- package/dist/defaults-f025f8a3.js +31 -0
- package/dist/deleteForwardEdits-0b666266.js +13 -0
- package/dist/diffUtils-b887dbbc.js +90 -0
- package/dist/drapedUtils-82fba1a5.js +75 -0
- package/dist/earcut-da8e2a55.js +292 -0
- package/dist/edgeProcessing-d7499657.js +252 -0
- package/dist/editingSupport-4b7813cf.js +203 -0
- package/dist/editsZScale-4a6ee4aa.js +37 -0
- package/dist/elevationInfoUtils-c20557cb.js +126 -0
- package/dist/executeForIds-6a55aa95.js +14 -0
- package/dist/executeForTopCount-7ffc37ac.js +17 -0
- package/dist/executeForTopExtents-191307d3.js +17 -0
- package/dist/executeForTopIds-f644d448.js +17 -0
- package/dist/executeQueryJSON-c5616d7b.js +15 -0
- package/dist/executeQueryPBF-807fb886.js +152 -0
- package/dist/executeRelationshipQuery-d5a1463b.js +53 -0
- package/dist/executeTopFeaturesQuery-6bb737a8.js +18 -0
- package/dist/featureConversionUtils-8fd0a407.js +479 -0
- package/dist/featureLayerUtils-37c96c26.js +250 -0
- package/dist/featureLayerUtils-cd009ccc.js +142 -0
- package/dist/featureSetUtils-f54946cf.js +2530 -0
- package/dist/featuresetbase-5a262736.js +707 -0
- package/dist/featuresetgeom-b772f260.js +99 -0
- package/dist/featuresetstats-fecaae94.js +81 -0
- package/dist/featuresetstring-8d32b66d.js +95 -0
- package/dist/fetchService-41c786e9.js +33 -0
- package/dist/fieldProperties-0a31a020.js +33 -0
- package/dist/floatRGBA-bcce207e.js +20 -0
- package/dist/form-8bc80cb2.js +138 -0
- package/dist/geohashUtils-5b115834.js +85 -0
- package/dist/geojson-33ba4718.js +208 -0
- package/dist/geomasync-9ccbb40e.js +567 -0
- package/dist/geometryEngine-5d1edffb.js +192 -0
- package/dist/geometryEngineAsync-65f20167.js +217 -0
- package/dist/geometryEngineBase-4107554c.js +18463 -0
- package/dist/geometryEngineJSON-96ac95b3.js +46 -0
- package/dist/geometryEngineJSON-fecd2377.js +171 -0
- package/dist/geometryEngineWorker-3cc93f48.js +11 -0
- package/dist/geometryServiceUtils-99ffac76.js +28 -0
- package/dist/georeference-597e7b2a.js +291 -0
- package/dist/gif-24ef6c2c.js +323 -0
- package/dist/gltfexport-f5557b01.js +705 -0
- package/dist/groupLayerUtils-429ce1be.js +39 -0
- package/dist/heatmapUtils-582b52e1.js +45 -0
- package/dist/highlightReasons-6f0f9ef6.js +19 -0
- package/dist/hydrated-31a838fb.js +40 -0
- package/dist/i3s-3437a8f0.js +809 -0
- package/dist/icon-6764e79e.js +127 -0
- package/dist/imageBitmapUtils-d56cd963.js +23 -0
- package/dist/imageUtils-5fc5f2e1.js +69 -0
- package/dist/imageUtils-d0a1bdd3.js +89 -0
- package/dist/imageryUtils-31c938b0.js +43 -0
- package/dist/index-a8d87ec0.js +45604 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +26 -25
- package/dist/input-message-067fbc56.js +92 -0
- package/dist/input2-d25d1697.js +575 -0
- package/dist/interactive-79c8f5d7.js +80 -0
- package/dist/jsonContext-b5489a22.js +15 -0
- package/dist/jsonUtils-34961e68.js +86 -0
- package/dist/jsonUtils-65dc6fdf.js +476 -0
- package/dist/jsonUtils-980c608d.js +59 -0
- package/dist/kmlUtils-b1b9817a.js +112 -0
- package/dist/knowledgeGraphService-53d3ffbb.js +739 -0
- package/dist/knowledgegraph-bd84abd0.js +149 -0
- package/dist/labelUtils-333abe25.js +61 -0
- package/dist/labelingInfo-6d452fa4.js +46 -0
- package/dist/layersCreator-2cc797a3.js +151 -0
- package/dist/layersLoader-028db48b.js +197 -0
- package/dist/lazyLayerLoader-2dd5721b.js +10 -0
- package/dist/lclayout-44591238.js +773 -0
- package/dist/lengthUtils-7339106c.js +5 -0
- package/dist/lerc-wasm-49e10ccb.js +325 -0
- package/dist/libtess-asm-ac16428b.js +3673 -0
- package/dist/libtess-f4e34dcf.js +269 -0
- package/dist/lineSegment-0e4aefd8.js +76 -0
- package/dist/loadGLTFMesh-4afc2514.js +181 -0
- package/dist/loadable-a2fd544f.js +24 -0
- package/dist/loader-fbae5e8f.js +79 -0
- package/dist/lyr3DWorker-1fc30357.js +2108 -0
- package/dist/mapViewDeps-59a6c6c7.js +3052 -0
- package/dist/mediaLayerUtils-642a4077.js +35 -0
- package/dist/meshFeatureSet-91312223.js +126 -0
- package/dist/meshVertexSpaceUtils-48eddc77.js +58 -0
- package/dist/multidimensionalUtils-705f0902.js +290 -0
- package/dist/normalizeUtilsSync-71d587bd.js +181 -0
- package/dist/number-063f85f4.js +128 -0
- package/dist/objectResourceUtils-0e881546.js +1455 -0
- package/dist/observers-745d564e.js +30 -0
- package/dist/ogcFeatureUtils-80329692.js +206 -0
- package/dist/openCloseComponent-1c398ac3.js +37 -0
- package/dist/orientedBoundingBox-a29567df.js +447 -0
- package/dist/parser-65ddb097.js +488 -0
- package/dist/pbf-b0a9807c.js +215 -0
- package/dist/pbfQueryUtils-3cd28b30.js +422 -0
- package/dist/pe-wasm-fe3a1187.js +887 -0
- package/dist/persistable-36a3796e.js +89 -0
- package/dist/perspectiveUtils-b75aeded.js +42 -0
- package/dist/pieChart-bc276742.js +555 -0
- package/dist/plane-79192909.js +160 -0
- package/dist/popupUtils-022834aa.js +22 -0
- package/dist/popupUtils-4b2bd688.js +50 -0
- package/dist/portalItemUtils-052627b4.js +57 -0
- package/dist/portalLayers-3be98e63.js +312 -0
- package/dist/portalUtils-b665fd61.js +7 -0
- package/dist/programUtils-00a4e18d.js +59 -0
- package/dist/project-032d84cf.js +21 -0
- package/dist/projectPointToVector-3a48d9a2.js +14 -0
- package/dist/projectVectorToVector-4c6a3902.js +13 -0
- package/dist/quantityUtils-a39f9287.js +33 -0
- package/dist/quantizationUtils-4616cce9.js +68 -0
- package/dist/quat-5e906b75.js +104 -0
- package/dist/query-2ab99d18.js +89 -0
- package/dist/queryAttachments-15a42419.js +39 -0
- package/dist/queryEngineUtils-ff4789cd.js +21 -0
- package/dist/queryTopFeatures-5eb3ccc9.js +50 -0
- package/dist/queryZScale-62422052.js +12 -0
- package/dist/rasterProjectionHelper-b605f2ee.js +577 -0
- package/dist/rasterUtils-f2036a08.js +122 -0
- package/dist/rasterizingUtils-0c9cf9ce.js +46 -0
- package/dist/request-00229175.js +46 -0
- package/dist/requestImageUtils-90da2619.js +8 -0
- package/dist/resourceExtension-eadbfa3f.js +17 -0
- package/dist/resourceUtils-28b3c1e8.js +42 -0
- package/dist/resourceUtils-4e9ccf63.js +69 -0
- package/dist/resourceUtils-666fad8a.js +62 -0
- package/dist/saveAPIKeyUtils-1a4f92e5.js +8 -0
- package/dist/saveUtils-5b62c0b1.js +24 -0
- package/dist/scaleUtils-6153583e.js +23 -0
- package/dist/scrim-6e0e08c4.js +114 -0
- package/dist/serviceCapabilitiesUtils-96f8d393.js +64 -0
- package/dist/sourceUtils-5aee3b16.js +71 -0
- package/dist/sphere-512478f6.js +199 -0
- package/dist/statsWorker-183f2d29.js +37 -0
- package/dist/streamLayerUtils-a1e8e58a.js +31 -0
- package/dist/style.css +1 -1
- package/dist/styleUtils-49a8dabd.js +14 -0
- package/dist/styleUtils-52e000d6.js +75 -0
- package/dist/sublayerUtils-65a83d58.js +37 -0
- package/dist/substitute-0272cab6.js +52 -0
- package/dist/symbolColorUtils-261cba60.js +8 -0
- package/dist/symbolLayerUtils-e0203fd7.js +31 -0
- package/dist/symbologySnappingCandidates-eeda4ddf.js +221 -0
- package/dist/t9n-147b4f00.js +349 -0
- package/dist/testSVGPremultipliedAlpha-e3c11fd6.js +94 -0
- package/dist/timeSupport-3ddd7e4b.js +410 -0
- package/dist/triangle-28fd7dff.js +98 -0
- package/dist/unitConversionUtils-df3ffd70.js +17 -0
- package/dist/unitFormatUtils-d857519e.js +40 -0
- package/dist/uploadAssetErrors-18a6fad7.js +70 -0
- package/dist/uploadAssets-f2c89175.js +330 -0
- package/dist/utils-214b98cc.js +91 -0
- package/dist/utils-283fbef1.js +34 -0
- package/dist/utils-333b2280.js +2746 -0
- package/dist/utils-7202e24d.js +232 -0
- package/dist/utils-a7d5b733.js +419 -0
- package/dist/utils-cffde1b1.js +433 -0
- package/dist/utils-e4309923.js +79 -0
- package/dist/utils-e582955c.js +73 -0
- package/dist/utils3-d4b9a6af.js +75 -0
- package/dist/vec3-d9885b29.js +81 -0
- package/dist/vec42-d5675dd5.js +125 -0
- package/dist/versionUtils-2a4f90d3.js +161 -0
- package/dist/visualVariableUtils-d45d2e59.js +267 -0
- package/dist/webStyleSymbolUtils-5d8e6604.js +48 -0
- package/dist/webglDeps-c5e1e661.js +23 -0
- package/dist/wfsUtils-a004cee1.js +343 -0
- package/dist/workerHelper-a0956a07.js +11 -0
- package/dist/xyChart-e8a9ed1d.js +3335 -0
- package/package.json +1 -1
- package/dist/AGraphicContainer-0a4e0426.js +0 -109
- package/dist/APIKeyMixin-83e85532.js +0 -19
- package/dist/Analysis-c4011253.js +0 -31
- package/dist/ArcGISCachedService-1c6af1c1.js +0 -47
- package/dist/ArcGISService-1d880889.js +0 -25
- package/dist/AreaMeasurement2D-86006a71.js +0 -405
- package/dist/AreaMeasurement3D-1825243c.js +0 -488
- package/dist/AttachmentInfo-fa04c641.js +0 -34
- package/dist/AttachmentQuery-1450c2f7.js +0 -18
- package/dist/AttributeStore-02f947ea.js +0 -1707
- package/dist/BaseDynamicLayerView2D-eb11c757.js +0 -63
- package/dist/BingMapsLayer-7ad7d511.js +0 -112
- package/dist/Bitmap-14a020d8.js +0 -128
- package/dist/BitmapContainer-cc71fd24.js +0 -23
- package/dist/BlendLayer-e2f97659.js +0 -13
- package/dist/BoundsStore-8612892f.js +0 -63
- package/dist/BufferObject-bd932c2c.js +0 -100
- package/dist/BufferView-97ed14c7.js +0 -683
- package/dist/BuildingSceneLayer-3f5380c8.js +0 -535
- package/dist/Button-15031955.js +0 -36
- package/dist/CSVLayer-a76db6f4.js +0 -208
- package/dist/CSVSourceWorker-afe160ed.js +0 -367
- package/dist/CatalogDynamicGroupLayerView2D-be946494.js +0 -66
- package/dist/CatalogFootprintLayerView2D-14763204.js +0 -76
- package/dist/CatalogLayer-7d6228dd.js +0 -262
- package/dist/CatalogLayerView2D-13e32a42.js +0 -52
- package/dist/ClassBreaksDefinition-7040a7fc.js +0 -18
- package/dist/ColorMaterial.glsl-e56765f1.js +0 -64
- package/dist/ColorSet-4ff0a7b7.js +0 -45
- package/dist/ColorStop-1e154045.js +0 -29
- package/dist/Container-6e3b610b.js +0 -521
- package/dist/CustomParametersMixin-c01280c0.js +0 -12
- package/dist/DefaultMaterial.glsl-e7e23b90.js +0 -42
- package/dist/DefaultMaterial_COLOR_GAMMA-7fd21704.js +0 -653
- package/dist/DefaultTheme-3c5b433f.js +0 -130
- package/dist/DeleteForwardEditsParameters-7073c5e5.js +0 -18
- package/dist/DimensionLayer-f921dd3d.js +0 -129
- package/dist/DirectLineMeasurement3D-61d14af2.js +0 -449
- package/dist/DistanceMeasurement2D-b023b35c.js +0 -303
- package/dist/DoubleArray-1186b8b8.js +0 -25
- package/dist/Dropdown/Filter/Filter.types.d.ts +0 -17
- package/dist/Dropdown/Filter/test.mocks.d.ts +0 -6
- package/dist/Dropdown/List/Dropdown.List.d.ts +0 -73
- package/dist/Dropdown/List/List.types.d.ts +0 -11
- package/dist/Dropdown/List/test.mocks.d.ts +0 -7
- package/dist/EdgeProcessingWorker-cb6277ad.js +0 -63
- package/dist/EditBusLayer-9d740f8f.js +0 -107
- package/dist/ElevationInfo-581ff99d.js +0 -56
- package/dist/ElevationLayer-42b57d9b.js +0 -129
- package/dist/ElevationQuery-f6d0cf9f.js +0 -598
- package/dist/ElevationSamplerWorker-50d805bb.js +0 -62
- package/dist/ExportImageParameters-5b047f92.js +0 -66
- package/dist/ExportStrategy-b6c54d77.js +0 -93
- package/dist/ExportWMSImageParameters-ff5a3ac8.js +0 -33
- package/dist/External-695a389a.js +0 -110
- package/dist/FeatureCollectionSnappingSource-fdaed9e0.js +0 -130
- package/dist/FeatureCommandQueue-c2bd1a39.js +0 -1244
- package/dist/FeatureEffect-9ea1b3da.js +0 -39
- package/dist/FeatureEffectLayer-0fa169c4.js +0 -13
- package/dist/FeatureFilter-638c4cae.js +0 -27
- package/dist/FeatureLayer-2a419d3e.js +0 -693
- package/dist/FeatureLayerBase-7331e738.js +0 -148
- package/dist/FeatureLayerSource-733186fb.js +0 -444
- package/dist/FeatureLayerView2D-bc4994b6.js +0 -1967
- package/dist/FeaturePipelineWorker-5f68488c.js +0 -3633
- package/dist/FeatureReductionLayer-0c152478.js +0 -225
- package/dist/FeatureReductionSelection-f952512d.js +0 -22
- package/dist/FeatureServiceSnappingSource-4c02d5a3.js +0 -481
- package/dist/FeatureServiceSnappingSourceWorker-c2a1dc50.js +0 -747
- package/dist/FeatureSet-2c6b8e00.js +0 -188
- package/dist/FeatureStore-a26846c0.js +0 -131
- package/dist/FeatureTemplate-1b6b7e2d.js +0 -12
- package/dist/FeatureType-9e1f1a7d.js +0 -25
- package/dist/FieldsIndex-91711836.js +0 -109
- package/dist/FormTemplate-ae0cfb6e.js +0 -350
- package/dist/GeoJSONLayer-b2070c34.js +0 -236
- package/dist/GeoJSONSourceWorker-aecb5f9b.js +0 -247
- package/dist/GeoRSSLayer-3743b41f.js +0 -73
- package/dist/GeoRSSLayerView2D-098c24bc.js +0 -140
- package/dist/GeometryUtils-036c7f22.js +0 -403
- package/dist/GraphicContainer-ece3945e.js +0 -26
- package/dist/GraphicManipulator-bc92899f.js +0 -1499
- package/dist/GraphicsLayer-764f0324.js +0 -38
- package/dist/GraphicsLayerView2D-36908d0c.js +0 -114
- package/dist/GraphicsSnappingSource-2bb681c0.js +0 -273
- package/dist/GraphicsView2D-e9cf5cd6.js +0 -620
- package/dist/GroupLayer-5ea5b71b.js +0 -147
- package/dist/GroupLayerView2D-22ec9eaa.js +0 -98
- package/dist/HUDMaterial.glsl-80ab7d22.js +0 -65
- package/dist/HighlightCounter-36842e52.js +0 -41
- package/dist/HighlightGraphicContainer-10cb9671.js +0 -18
- package/dist/I3SBinaryReader-9dbdc661.js +0 -310
- package/dist/I3SLayerDefinitions-b56e2c87.js +0 -55
- package/dist/I3SUtil-5461dc89.js +0 -59
- package/dist/IdentityManager-bb063156.js +0 -899
- package/dist/ImageHistogramParameters-1f8e5179.js +0 -905
- package/dist/ImageryLayer-a807d3b3.js +0 -1799
- package/dist/ImageryLayerView2D-358a3267.js +0 -352
- package/dist/ImageryTileLayer-0f67f262.js +0 -2157
- package/dist/ImageryTileLayerView2D-2bc2bb67.js +0 -1110
- package/dist/Indices-0c5304f2.js +0 -67
- package/dist/IntegratedMesh3DTilesLayer-be69dca8.js +0 -112
- package/dist/IntegratedMeshLayer-3c070523.js +0 -141
- package/dist/InteractiveAnalysisViewModel-3005a4a6.js +0 -7397
- package/dist/InterleavedLayout-d37b99a2.js +0 -163
- package/dist/KMLLayer-2011c3c6.js +0 -162
- package/dist/KMLLayerView2D-5d17145f.js +0 -253
- package/dist/KnowledgeGraphLayerView2D-7172b91b.js +0 -43
- package/dist/LRUCache-39211cf9.js +0 -32
- package/dist/LabelClass-d1080628.js +0 -135
- package/dist/LabelMetric-ab56c6b3.js +0 -400
- package/dist/LaserlinePath.glsl-df8f92cc.js +0 -64
- package/dist/Laserlines.glsl-f7d93e3f.js +0 -65
- package/dist/LayerFloorInfo-3edeb9a2.js +0 -15
- package/dist/LayerView-1c58c8c6.js +0 -206
- package/dist/LercWorker-c7a2aca1.js +0 -157
- package/dist/LineOfSightLayer-3028e21f.js +0 -147
- package/dist/LinkChartLayer-988ae660.js +0 -1027
- package/dist/Lyr3DWorker-4c8c758f.js +0 -82
- package/dist/MagnifierPrograms-123961a3.js +0 -806
- package/dist/MapImageLayer-9241ad63.js +0 -169
- package/dist/MapImageLayerView2D-726e5c66.js +0 -146
- package/dist/MapNotesLayer-2d2db99b.js +0 -283
- package/dist/MapNotesLayerView2D-41f5790c.js +0 -161
- package/dist/MapServiceLayerViewHelper-8f5228ec.js +0 -288
- package/dist/MeasurementWidgetContent-504fd868.js +0 -2642
- package/dist/MediaLayer-e71ce661.js +0 -523
- package/dist/MediaLayerView2D-33c67404.js +0 -332
- package/dist/MemCache-413327b3.js +0 -227
- package/dist/MemorySourceWorker-b0e70dd0.js +0 -222
- package/dist/Mesh-98c4e050.js +0 -980
- package/dist/MeshLocalVertexSpace-7a7e4d4e.js +0 -19
- package/dist/MultiOriginJSONSupport-2fca3cc5.js +0 -158
- package/dist/OGCFeatureLayer-451fbd45.js +0 -211
- package/dist/OGCFeatureLayerView2D-d23b08d2.js +0 -82
- package/dist/ObjectStack-742b2ff3.js +0 -21
- package/dist/Octree-a3c8e90e.js +0 -495
- package/dist/OpenStreetMapLayer-9bb91f97.js +0 -30
- package/dist/OperationalLayer-fbfada66.js +0 -44
- package/dist/OrderByInfo-335eb561.js +0 -16
- package/dist/OrderedLayer-29b4ac64.js +0 -26
- package/dist/OrientedImageryLayer-aa2498e2.js +0 -216
- package/dist/OverlayCompositing.glsl-4b1e83c2.js +0 -65
- package/dist/OverrideHelper-74cc3959.js +0 -242
- package/dist/PBFDecoderWorker-fd40e0f9.js +0 -213
- package/dist/PointCloudLayer-64cdbbb2.js +0 -197
- package/dist/PointCloudUniqueValueRenderer-db9b3a98.js +0 -115
- package/dist/PointCloudWorker-a5eb5224.js +0 -212
- package/dist/PooledRBush-be6fe17a.js +0 -272
- package/dist/Popup-db250fe6.js +0 -3990
- package/dist/PortalLayer-a6ce110e.js +0 -126
- package/dist/Program-ecabc523.js +0 -694
- package/dist/ProgramTemplate-e5ce3b0f.js +0 -35
- package/dist/QueryEngine-87b2546b.js +0 -896
- package/dist/QueryTask-36400ec7.js +0 -119
- package/dist/RasterSymbolizer-cfd47847.js +0 -3024
- package/dist/RasterVFDisplayObject-d4c967ea.js +0 -581
- package/dist/RasterWorker-068ae23a.js +0 -78
- package/dist/RawBlockCache-9e8d4c35.js +0 -185
- package/dist/RealisticTree.glsl-adab8e44.js +0 -42
- package/dist/RefreshableLayer-eec34ca2.js +0 -80
- package/dist/RefreshableLayerView-ee06f08c.js +0 -16
- package/dist/Relationship-a7eb5489.js +0 -64
- package/dist/RelationshipQuery-4551bb04.js +0 -22
- package/dist/RenderingContext-9e8fac0d.js +0 -889
- package/dist/RibbonLine.glsl-5990bf5f.js +0 -65
- package/dist/RouteLayer-858bc482.js +0 -786
- package/dist/RouteLayerView2D-a70d519f.js +0 -195
- package/dist/SDFHelper-efca0a53.js +0 -140
- package/dist/SSAO.glsl-7670c1fc.js +0 -43
- package/dist/SSAOBlur.glsl-3523d6af.js +0 -42
- package/dist/ScaleRangeLayer-7f440b85.js +0 -21
- package/dist/SceneLayer-999bd23f.js +0 -542
- package/dist/SceneLayerSnappingSource-9420aaed.js +0 -218
- package/dist/SceneLayerSnappingSourceWorker-be67e552.js +0 -112
- package/dist/SceneLayerWorker-201939c2.js +0 -164
- package/dist/SceneService-318eff2f.js +0 -215
- package/dist/Scheduler-279ea0c3.js +0 -373
- package/dist/ShadedColorMaterial.glsl-bd2979d8.js +0 -64
- package/dist/SnappingOperation-5100da71.js +0 -48
- package/dist/SourceLayerData-50c2b980.js +0 -116
- package/dist/SpatialFilter-b6c6b2fc.js +0 -1701
- package/dist/Stop-196981da.js +0 -281
- package/dist/StreamLayer-37b818b8.js +0 -188
- package/dist/StreamLayerView2D-7f0f45bc.js +0 -164
- package/dist/StyleRepository-4e8fa398.js +0 -2212
- package/dist/SublayersOwner-90d10612.js +0 -545
- package/dist/SubtypeGroupLayer-959cabf8.js +0 -514
- package/dist/SubtypeGroupLayerView2D-95e63b42.js +0 -84
- package/dist/TechniqueInstance-bd190c26.js +0 -233
- package/dist/TemporalLayer-aacda167.js +0 -23
- package/dist/Texture-3618be49.js +0 -501
- package/dist/TextureOnly.glsl-fcca7034.js +0 -65
- package/dist/Theme-85608a9a.js +0 -3426
- package/dist/Tick-79e96104.js +0 -723
- package/dist/TileContainer-f1e7edd8.js +0 -31
- package/dist/TileInfoTilemapCache-2f882821.js +0 -38
- package/dist/TileLayer-db13a237.js +0 -194
- package/dist/TileLayerView2D-15af6be4.js +0 -187
- package/dist/TilemapCache-fc4b2c6c.js +0 -189
- package/dist/TimeInfo-39a9d4e1.js +0 -42
- package/dist/TimeOnly-b759457a.js +0 -706
- package/dist/Tooltip-0ba72b27.js +0 -138
- package/dist/TopFeaturesQuery-a11ecc39.js +0 -32
- package/dist/TurboLine-5e62d290.js +0 -565
- package/dist/UniqueValueRenderer-bf2f3234.js +0 -1039
- package/dist/UnknownLayer-2cf71578.js +0 -30
- package/dist/UnknownTimeZone-aabdcf56.js +0 -15
- package/dist/UnsupportedLayer-36650e4a.js +0 -31
- package/dist/UpdateTracking2D-b6d16b0c.js +0 -8566
- package/dist/Util-8f54c96b.js +0 -57
- package/dist/VectorTileLayer-ddcca4ec.js +0 -544
- package/dist/VectorTileLayerView2D-8176946a.js +0 -2108
- package/dist/Version-9eb299cd.js +0 -33
- package/dist/VertexArrayObject-d1a4262b.js +0 -73
- package/dist/VertexColor.glsl-fd9f70e0.js +0 -2683
- package/dist/VertexSnappingCandidate-70513010.js +0 -13
- package/dist/VideoLayerView2D-e08e1d57.js +0 -124
- package/dist/VoxelLayer-959702aa.js +0 -631
- package/dist/WFSLayer-4a41b206.js +0 -221
- package/dist/WFSSourceWorker-53d88982.js +0 -157
- package/dist/WGLContainer-e9e8616e.js +0 -5426
- package/dist/WMSLayer-8e44f55c.js +0 -536
- package/dist/WMSLayerView2D-415a1793.js +0 -117
- package/dist/WMTSLayer-804f4bed.js +0 -531
- package/dist/WMTSLayerView2D-96186a90.js +0 -142
- package/dist/WebTileLayer-7391ea01.js +0 -110
- package/dist/WhereClause-1816217e.js +0 -2766
- package/dist/WorkerHandle-25f67c67.js +0 -47
- package/dist/WorkerTileHandler-a7e508bc.js +0 -1539
- package/dist/action-3ce81e45.js +0 -198
- package/dist/action-group-f2d26c2b.js +0 -145
- package/dist/action-menu-015d91ab.js +0 -1759
- package/dist/apng-e5532475.js +0 -392
- package/dist/arcade-dbe2ca4a.js +0 -229
- package/dist/arcadeAsyncRuntime-78b83b41.js +0 -943
- package/dist/arcadeUtils-cb1066a6.js +0 -8741
- package/dist/arcgis-knowledge-client-core-7379d99e.js +0 -1218
- package/dist/arcgis-knowledge-client-core-simd-ea8b4d20.js +0 -1218
- package/dist/arcgisLayers-cd3494fd.js +0 -152
- package/dist/associatedFeatureServiceUtils-da8d377d.js +0 -92
- package/dist/axisAngleDegrees-19922758.js +0 -49
- package/dist/basis_transcoder-bf0490cc.js +0 -1248
- package/dist/calcite-action-0db4f61c.js +0 -22
- package/dist/calcite-action-bar-1b4c89cb.js +0 -303
- package/dist/calcite-action-group-3c8a934c.js +0 -28
- package/dist/calcite-button-1079a10c.js +0 -228
- package/dist/calcite-flow-c1e71a12.js +0 -128
- package/dist/calcite-flow-item-1097b48f.js +0 -499
- package/dist/calcite-icon-c88b4a67.js +0 -16
- package/dist/calcite-input-8c33ee84.js +0 -24
- package/dist/calcite-label-7fbfbe36.js +0 -79
- package/dist/calcite-list-93af4ae2.js +0 -2135
- package/dist/calcite-list-item-f0a6cda3.js +0 -576
- package/dist/calcite-list-item-group-107a313e.js +0 -71
- package/dist/calcite-loader-5194bf83.js +0 -14
- package/dist/calcite-modal-486280cc.js +0 -333
- package/dist/calcite-notice-a81274a8.js +0 -181
- package/dist/calcite-option-0020a955.js +0 -94
- package/dist/calcite-scrim-27d65e7f.js +0 -18
- package/dist/calcite-select-05f25c2a.js +0 -231
- package/dist/capabilities-238bde7d.js +0 -50
- package/dist/chartCommon-7eda170a.js +0 -256
- package/dist/chartUtilsAm5-fd8aeac2.js +0 -2954
- package/dist/clientSideDefaults-b91506af.js +0 -39
- package/dist/colorRamps-6027ea73.js +0 -38
- package/dist/colorUtils-3dd4b884.js +0 -164
- package/dist/commonProperties-bf4d305f.js +0 -60
- package/dist/computeTranslationToOriginAndRotation-ca5a9439.js +0 -60
- package/dist/conditionalSlot-80a4c6ff.js +0 -27
- package/dist/createConnection-70dd787a.js +0 -299
- package/dist/dataUtils-b632d3a2.js +0 -1421
- package/dist/deduplicate-e13aa9e2.js +0 -89
- package/dist/defaults-40a1a995.js +0 -31
- package/dist/deleteForwardEdits-b0182a08.js +0 -13
- package/dist/diffUtils-5f43e52a.js +0 -90
- package/dist/drapedUtils-416e5304.js +0 -75
- package/dist/earcut-235aa57d.js +0 -292
- package/dist/edgeProcessing-43d45a32.js +0 -252
- package/dist/editingSupport-7706f838.js +0 -203
- package/dist/editsZScale-49d8a8cd.js +0 -37
- package/dist/elevationInfoUtils-3fbfcf1f.js +0 -126
- package/dist/executeForIds-419ba6a3.js +0 -14
- package/dist/executeForTopCount-8a8ba5c7.js +0 -17
- package/dist/executeForTopExtents-9f24d5d0.js +0 -17
- package/dist/executeForTopIds-0bfdb55f.js +0 -17
- package/dist/executeQueryJSON-2a2e9e1b.js +0 -15
- package/dist/executeQueryPBF-f10de9ec.js +0 -152
- package/dist/executeRelationshipQuery-0680cb30.js +0 -53
- package/dist/executeTopFeaturesQuery-c553d696.js +0 -18
- package/dist/featureConversionUtils-83783887.js +0 -479
- package/dist/featureLayerUtils-545d260a.js +0 -250
- package/dist/featureLayerUtils-b18e6016.js +0 -142
- package/dist/featureSetUtils-0c7ba073.js +0 -2530
- package/dist/featuresetbase-aadfabb3.js +0 -707
- package/dist/featuresetgeom-a405018e.js +0 -99
- package/dist/featuresetstats-f6602402.js +0 -81
- package/dist/featuresetstring-834ea865.js +0 -95
- package/dist/fetchService-dac740ef.js +0 -33
- package/dist/fieldProperties-b024e721.js +0 -33
- package/dist/floatRGBA-46ee3e38.js +0 -20
- package/dist/form-0b2f0ac9.js +0 -138
- package/dist/geohashUtils-418d1ca6.js +0 -85
- package/dist/geojson-96d3353d.js +0 -208
- package/dist/geomasync-ff5b3734.js +0 -567
- package/dist/geometryEngine-8fcb3d59.js +0 -192
- package/dist/geometryEngineAsync-212f4b0f.js +0 -217
- package/dist/geometryEngineBase-4c2ff8b9.js +0 -18463
- package/dist/geometryEngineJSON-131b461e.js +0 -171
- package/dist/geometryEngineJSON-b43cf67f.js +0 -46
- package/dist/geometryEngineWorker-707ca480.js +0 -11
- package/dist/geometryServiceUtils-af23d0b5.js +0 -28
- package/dist/georeference-02bc532d.js +0 -291
- package/dist/gif-b072aa1c.js +0 -323
- package/dist/gltfexport-3362ea71.js +0 -705
- package/dist/groupLayerUtils-81545911.js +0 -39
- package/dist/heatmapUtils-b25824e4.js +0 -45
- package/dist/highlightReasons-5b8b2665.js +0 -19
- package/dist/hydrated-b0c62926.js +0 -40
- package/dist/i3s-32edc725.js +0 -809
- package/dist/icon-453c7f62.js +0 -127
- package/dist/imageBitmapUtils-51497e26.js +0 -23
- package/dist/imageUtils-1d1da6e6.js +0 -89
- package/dist/imageUtils-8c40eba6.js +0 -69
- package/dist/imageryUtils-0c00fbf3.js +0 -43
- package/dist/index-3b4c2147.js +0 -45568
- package/dist/input-message-32600f49.js +0 -92
- package/dist/input2-1c0831ed.js +0 -575
- package/dist/interactive-5824e097.js +0 -80
- package/dist/jsonContext-ec21ce85.js +0 -15
- package/dist/jsonUtils-012feb40.js +0 -476
- package/dist/jsonUtils-3979baa3.js +0 -59
- package/dist/jsonUtils-3eb7c689.js +0 -86
- package/dist/kmlUtils-4c198ea5.js +0 -112
- package/dist/knowledgeGraphService-a159d815.js +0 -739
- package/dist/knowledgegraph-eb0d44d4.js +0 -149
- package/dist/labelUtils-01b646c7.js +0 -61
- package/dist/labelingInfo-148dcd26.js +0 -46
- package/dist/layersCreator-4e94f616.js +0 -151
- package/dist/layersLoader-f4e3ab33.js +0 -197
- package/dist/lazyLayerLoader-eb51910e.js +0 -10
- package/dist/lclayout-4d303c41.js +0 -773
- package/dist/lengthUtils-6abaf27a.js +0 -5
- package/dist/lerc-wasm-0ae912df.js +0 -325
- package/dist/libtess-asm-91c97dcd.js +0 -3673
- package/dist/libtess-cba14731.js +0 -269
- package/dist/lineSegment-8f04aab4.js +0 -76
- package/dist/loadGLTFMesh-71542570.js +0 -181
- package/dist/loadable-e7c40a8a.js +0 -24
- package/dist/loader-6272e4b3.js +0 -79
- package/dist/lyr3DWorker-9ee4ee8b.js +0 -2108
- package/dist/mapViewDeps-b17a2e04.js +0 -3052
- package/dist/mediaLayerUtils-f0ccfd82.js +0 -35
- package/dist/meshFeatureSet-304dfa08.js +0 -126
- package/dist/meshVertexSpaceUtils-e7f774fa.js +0 -58
- package/dist/multidimensionalUtils-642f26da.js +0 -290
- package/dist/normalizeUtilsSync-b5f617e6.js +0 -181
- package/dist/number-3af512e3.js +0 -128
- package/dist/objectResourceUtils-d45057aa.js +0 -1455
- package/dist/observers-700e505d.js +0 -30
- package/dist/ogcFeatureUtils-440ed0bf.js +0 -206
- package/dist/openCloseComponent-1501c620.js +0 -37
- package/dist/orientedBoundingBox-80988e7f.js +0 -447
- package/dist/parser-6e351b85.js +0 -488
- package/dist/pbf-a85c52b3.js +0 -215
- package/dist/pbfQueryUtils-5f25f81f.js +0 -422
- package/dist/pe-wasm-e588110b.js +0 -887
- package/dist/persistable-ad01d0ca.js +0 -89
- package/dist/perspectiveUtils-ab58ddbb.js +0 -42
- package/dist/pieChart-d3793e8b.js +0 -555
- package/dist/plane-e103e8ed.js +0 -160
- package/dist/popupUtils-5f7c3e79.js +0 -50
- package/dist/popupUtils-b95ab60a.js +0 -22
- package/dist/portalItemUtils-3d59513a.js +0 -57
- package/dist/portalLayers-16b2f807.js +0 -312
- package/dist/portalUtils-3789afb0.js +0 -7
- package/dist/programUtils-c8d96b39.js +0 -59
- package/dist/project-7eaa59a4.js +0 -21
- package/dist/projectPointToVector-19151d97.js +0 -14
- package/dist/projectVectorToVector-d552535c.js +0 -13
- package/dist/quantityUtils-258bfdb4.js +0 -33
- package/dist/quantizationUtils-752e4d24.js +0 -68
- package/dist/quat-6dc51256.js +0 -104
- package/dist/query-da893693.js +0 -89
- package/dist/queryAttachments-df86b71d.js +0 -39
- package/dist/queryEngineUtils-ffc50ce5.js +0 -21
- package/dist/queryTopFeatures-5a58a12d.js +0 -50
- package/dist/queryZScale-39ffaf30.js +0 -12
- package/dist/rasterProjectionHelper-d13bc46d.js +0 -577
- package/dist/rasterUtils-22b15453.js +0 -122
- package/dist/rasterizingUtils-3388ddbf.js +0 -46
- package/dist/request-82a2415a.js +0 -46
- package/dist/requestImageUtils-2fca27f8.js +0 -8
- package/dist/resourceExtension-672d03cc.js +0 -17
- package/dist/resourceUtils-95b9964a.js +0 -42
- package/dist/resourceUtils-b1e50d5e.js +0 -69
- package/dist/resourceUtils-e8831103.js +0 -62
- package/dist/saveAPIKeyUtils-ee9b0447.js +0 -8
- package/dist/saveUtils-1323ad64.js +0 -24
- package/dist/scaleUtils-1a70f716.js +0 -23
- package/dist/scrim-c0a641cd.js +0 -114
- package/dist/serviceCapabilitiesUtils-33d4e1c0.js +0 -64
- package/dist/sourceUtils-e8c5db4e.js +0 -71
- package/dist/sphere-75cef429.js +0 -199
- package/dist/statsWorker-1f1bc582.js +0 -37
- package/dist/streamLayerUtils-c85a0eed.js +0 -31
- package/dist/styleUtils-05bc85a5.js +0 -75
- package/dist/styleUtils-7bd8d0a7.js +0 -14
- package/dist/sublayerUtils-feb77591.js +0 -37
- package/dist/substitute-c31da60c.js +0 -52
- package/dist/symbolColorUtils-3c385668.js +0 -8
- package/dist/symbolLayerUtils-2d2753b7.js +0 -31
- package/dist/symbologySnappingCandidates-00eeca39.js +0 -221
- package/dist/t9n-55800455.js +0 -349
- package/dist/testSVGPremultipliedAlpha-ec1f73c4.js +0 -94
- package/dist/timeSupport-a7623294.js +0 -410
- package/dist/triangle-c799f11b.js +0 -98
- package/dist/unitConversionUtils-05050e6d.js +0 -17
- package/dist/unitFormatUtils-2a84c371.js +0 -40
- package/dist/uploadAssetErrors-601b044e.js +0 -70
- package/dist/uploadAssets-5a835c8a.js +0 -330
- package/dist/utils-2dc379da.js +0 -79
- package/dist/utils-34b1ea70.js +0 -2746
- package/dist/utils-45c14202.js +0 -232
- package/dist/utils-484969fb.js +0 -91
- package/dist/utils-5aaff624.js +0 -433
- package/dist/utils-a94dc35d.js +0 -419
- package/dist/utils-e68cfebf.js +0 -34
- package/dist/utils-fc14cc83.js +0 -73
- package/dist/utils3-5745e839.js +0 -75
- package/dist/vec3-12b9e1d8.js +0 -81
- package/dist/vec42-a1569d60.js +0 -125
- package/dist/versionUtils-c4f3617a.js +0 -161
- package/dist/visualVariableUtils-bcb95edc.js +0 -267
- package/dist/webStyleSymbolUtils-9db5b81c.js +0 -48
- package/dist/webglDeps-05e0410a.js +0 -23
- package/dist/wfsUtils-7caaa2cc.js +0 -343
- package/dist/workerHelper-86e37deb.js +0 -11
- package/dist/xyChart-0673158d.js +0 -3335
|
@@ -1,1244 +0,0 @@
|
|
|
1
|
-
import { g as x, _ as S, h as qt, P as pe, j as jt, i as j, G as z, m as Q, B as Se, p as n, q as H, H as V, u as Kt, v as Zt, w as A, C as y, S as U, F as yt, x as Ri, y as Te, z as Z, A as Ve, D as je, E as Ke, I as He, L as st, M as _t, N as Xt, O as Yt, a as B, Q as Ii, R as Ci, T as Oi, V as Ei, X as Di, Y as Li, $ as Bi, a0 as ce, a1 as zt, a2 as Qt, a3 as rt, a4 as $t, a5 as Mt, a6 as Pt, a7 as D, a8 as Jt, a9 as ei, aa as at, ab as ki, ac as le, ad as Ft, ae as ot, af as ti, ag as Ni, ah as Ui, ai as Ye, aj as Hi, ak as Wi, al as Gi, am as qi, an as ji, ao as ii, ap as si, aq as ri, ar as ai, as as oi, at as ni, au as bt, av as li, aw as Ki, ax as Tt, ay as nt, az as ui, aA as lt, aB as Qe, aC as Zi, aD as Xi, aE as Yi, aF as Qi, aG as Ji, aH as es, aI as ts, aJ as is, aK as ss, aL as rs, aM as as, aN as os, aO as ns, aP as re, aQ as he, aR as ae, aS as $e, aT as ls, K as us, d as cs } from "./UpdateTracking2D-b6d16b0c.js";
|
|
2
|
-
import { t as ps } from "./utils-a94dc35d.js";
|
|
3
|
-
import { a as N, K as At, L as ds, d as Rt, u as hs, i as fs } from "./definitions-a00a3a6c.js";
|
|
4
|
-
import { E as xe, S as de, f as ut, m as F, c as E, y as R, M as L, d as ms, e as W, w as Ze, L as Oe } from "./Container-6e3b610b.js";
|
|
5
|
-
import { e as c, k2 as I, hN as ys, W as De, Q as It, s as ci, gY as bs, eV as Ct, iF as vt, cs as we, cw as vs, B as gs, j7 as xs } from "./index-3b4c2147.js";
|
|
6
|
-
import { C as X, F as Ot, L as _e, D as ct, B as pi, E as ws, U as We, _ as pt, G as fe, P as Et, O as Ss, I as Je } from "./enums-2c166c09.js";
|
|
7
|
-
import { h as Dt } from "./BufferObject-bd932c2c.js";
|
|
8
|
-
import { o as Vs } from "./VertexArrayObject-d1a4262b.js";
|
|
9
|
-
import { t as _s } from "./VertexElementDescriptor-d7c718c2.js";
|
|
10
|
-
import { a as di } from "./LabelMetric-ab56c6b3.js";
|
|
11
|
-
import { s as zs, i as hi, x as fi } from "./Program-ecabc523.js";
|
|
12
|
-
import { e as Ge, m as mi } from "./Texture-3618be49.js";
|
|
13
|
-
import { o as $s } from "./constants-5bd557fe.js";
|
|
14
|
-
import { c as Lt } from "./WGLContainer-e9e8616e.js";
|
|
15
|
-
import { m as Ms } from "./lengthUtils-6abaf27a.js";
|
|
16
|
-
let k = class {
|
|
17
|
-
constructor(e) {
|
|
18
|
-
this.registryName = e, this.postProcessingEnabled = !1, this.overrideStencilRef = null, this.drawPhase = xe.MAP | xe.HITTEST | xe.HIGHLIGHT | xe.DEBUG, this.symbologyPlane = de.FILL;
|
|
19
|
-
}
|
|
20
|
-
startup() {
|
|
21
|
-
}
|
|
22
|
-
shutdown(e) {
|
|
23
|
-
}
|
|
24
|
-
postProcess(e, t) {
|
|
25
|
-
}
|
|
26
|
-
}, yi = class extends qt {
|
|
27
|
-
};
|
|
28
|
-
c([x(0, y)], yi.prototype, "pos", void 0);
|
|
29
|
-
let Ps = class extends Te {
|
|
30
|
-
}, bi = class extends pe {
|
|
31
|
-
};
|
|
32
|
-
c([S(n)], bi.prototype, "dotSize", void 0);
|
|
33
|
-
let Le = class extends pe {
|
|
34
|
-
};
|
|
35
|
-
c([S(U)], Le.prototype, "locations", void 0), c([S(n)], Le.prototype, "pixelRatio", void 0), c([S(n)], Le.prototype, "tileZoomFactor", void 0);
|
|
36
|
-
const Fs = 1e-6;
|
|
37
|
-
class ye extends jt {
|
|
38
|
-
vertex(e) {
|
|
39
|
-
const t = new j(1, 0, 0, 0, -1, 0, 0, 1, 1).multiply(new z(e.pos.xy.divide(N), 1)), i = Q(this.draw.locations, t.xy), r = Se(this.instance.dotSize.divide(2), new n(1));
|
|
40
|
-
let a = new n(0);
|
|
41
|
-
a = a.add(H(i.a, new n(Fs)).multiply(2));
|
|
42
|
-
let o = r.add(this.instance.dotSize);
|
|
43
|
-
const l = this.view.displayViewScreenMat3.multiply(new z(e.pos.add(0.5), 1)), u = new V(l.xy, a, 1), p = this.instance.dotSize.divide(o), d = new n(-1).divide(r.divide(o));
|
|
44
|
-
return o = o.multiply(this.draw.pixelRatio.multiply(this.draw.tileZoomFactor)), { glPosition: u, glPointSize: o, color: i, ratio: p, invEdgeRatio: d };
|
|
45
|
-
}
|
|
46
|
-
fragment(e) {
|
|
47
|
-
const t = Kt(e.glPointCoord.subtract(0.5)).multiply(2), i = Zt(new n(0), new n(1), e.invEdgeRatio.multiply(t.subtract(e.ratio)).add(1)), r = new yt();
|
|
48
|
-
return r.glFragColor = e.color.multiply(i), r;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
c([S(bi)], ye.prototype, "instance", void 0), c([S(Le)], ye.prototype, "draw", void 0), c([S(Ri)], ye.prototype, "view", void 0), c([I(0, A(yi))], ye.prototype, "vertex", null), c([I(0, A(Ps))], ye.prototype, "fragment", null);
|
|
52
|
-
class vi extends je {
|
|
53
|
-
}
|
|
54
|
-
c([x(3, n)], vi.prototype, "inverseArea", void 0);
|
|
55
|
-
let Be = class extends pe {
|
|
56
|
-
};
|
|
57
|
-
c([S(Z.ofType(V, 2))], Be.prototype, "isActive", void 0), c([S(Z.ofType(V, 8))], Be.prototype, "colors", void 0), c([S(n)], Be.prototype, "dotValue", void 0);
|
|
58
|
-
let be = class extends pe {
|
|
59
|
-
};
|
|
60
|
-
c([S(U)], be.prototype, "dotTexture0", void 0), c([S(U)], be.prototype, "dotTexture1", void 0), c([S(n)], be.prototype, "tileZoomFactor", void 0), c([S(n)], be.prototype, "pixelRatio", void 0), c([S(n)], be.prototype, "tileDotsOverArea", void 0);
|
|
61
|
-
let ve = class extends Ke {
|
|
62
|
-
_dotThreshold(e, t, i) {
|
|
63
|
-
return e.divide(t).divide(i);
|
|
64
|
-
}
|
|
65
|
-
vertex(e) {
|
|
66
|
-
const t = new j(2 / N, 0, 0, 0, -2 / N, 0, -1, 1, 1).multiply(new z(e.pos, 1)), i = this.clip(e.id), r = new V(t.xy, i, 1), a = this.storage.getVVData(e.id).multiply(this.instance.isActive.get(0)).multiply(e.inverseArea), o = this.storage.getDataDrivenData0(e.id).multiply(this.instance.isActive.get(1)).multiply(e.inverseArea), l = this.draw.tileZoomFactor.multiply(N).divide(this.draw.pixelRatio), u = this._dotThreshold(a, this.instance.dotValue, this.draw.tileDotsOverArea), p = this._dotThreshold(o, this.instance.dotValue, this.draw.tileDotsOverArea), d = e.pos.add(0.5).divide(l);
|
|
67
|
-
return { glPosition: r, color: new V(0, 0, 0, 0), textureCoords: d, thresholds0: u, thresholds1: p };
|
|
68
|
-
}
|
|
69
|
-
fragment(e) {
|
|
70
|
-
const t = new yt(), i = Q(this.draw.dotTexture0, e.textureCoords), r = Q(this.draw.dotTexture1, e.textureCoords), a = e.thresholds0.subtract(i), o = e.thresholds1.subtract(r);
|
|
71
|
-
let l;
|
|
72
|
-
const u = He.fromColumns(this.instance.colors[0], this.instance.colors[1], this.instance.colors[2], this.instance.colors[3]), p = He.fromColumns(this.instance.colors[4], this.instance.colors[5], this.instance.colors[6], this.instance.colors[7]);
|
|
73
|
-
if (this.blending) {
|
|
74
|
-
const d = H(new n(0), a), h = H(new n(0), o), f = st(d, a).add(st(h, o)), m = H(f, new n(0)), v = new n(1).subtract(m), b = f.add(m), g = a.multiply(d).divide(b), w = o.multiply(h).divide(b), _ = u.multiply(g).add(p.multiply(w));
|
|
75
|
-
l = v.multiply(_);
|
|
76
|
-
} else {
|
|
77
|
-
const d = Se(_t(a), _t(o)), h = H(d, new n(0)), f = new n(1).subtract(h), m = H(d, a), v = H(d, o), b = u.multiply(m).add(p.multiply(v));
|
|
78
|
-
l = f.multiply(b);
|
|
79
|
-
}
|
|
80
|
-
return t.glFragColor = l, t;
|
|
81
|
-
}
|
|
82
|
-
hittest(e) {
|
|
83
|
-
return Xt(this.hittestRequest);
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
c([Ve], ve.prototype, "blending", void 0), c([S(Be)], ve.prototype, "instance", void 0), c([S(be)], ve.prototype, "draw", void 0), c([I(0, A(vi))], ve.prototype, "vertex", null), c([I(0, A(Te))], ve.prototype, "fragment", null);
|
|
87
|
-
const dt = { [X.BYTE]: 1, [X.UNSIGNED_BYTE]: 1, [X.SHORT]: 2, [X.UNSIGNED_SHORT]: 2, [X.INT]: 4, [X.UNSIGNED_INT]: 4, [X.FLOAT]: 4 };
|
|
88
|
-
let Ts = class {
|
|
89
|
-
constructor(e, t) {
|
|
90
|
-
this._boundPart = null;
|
|
91
|
-
const i = [];
|
|
92
|
-
for (const a of t.vertex) {
|
|
93
|
-
const o = Dt.createVertex(e, Ot.STATIC_DRAW, a);
|
|
94
|
-
i.push(o);
|
|
95
|
-
}
|
|
96
|
-
const r = [];
|
|
97
|
-
for (const a of t.index || []) {
|
|
98
|
-
const o = Dt.createIndex(e, Ot.STATIC_DRAW, a);
|
|
99
|
-
r.push(o);
|
|
100
|
-
}
|
|
101
|
-
this.groups = [];
|
|
102
|
-
for (const a of t.groups) {
|
|
103
|
-
let o;
|
|
104
|
-
if (a.index != null) {
|
|
105
|
-
if (!t.index)
|
|
106
|
-
throw new Error("No index data.");
|
|
107
|
-
const { BYTES_PER_ELEMENT: f } = t.index[a.index];
|
|
108
|
-
f === 2 ? o = X.UNSIGNED_SHORT : f === 4 && (o = X.UNSIGNED_INT);
|
|
109
|
-
}
|
|
110
|
-
const l = a.index != null ? r[a.index] : null, u = /* @__PURE__ */ new Map(), p = {}, d = {};
|
|
111
|
-
for (const f of a.attributes) {
|
|
112
|
-
const { name: m, count: v, type: b, offset: g, normalized: w, divisor: _, stride: P, vertex: T, location: C } = f, $ = `vertex-buffer-${T}`;
|
|
113
|
-
let K = p[$];
|
|
114
|
-
K || (K = p[$] = []);
|
|
115
|
-
const ue = new _s(m, v, b, g, P, w, _);
|
|
116
|
-
K.push(ue), u.set(m, C), d[$] = i[T];
|
|
117
|
-
}
|
|
118
|
-
const h = new Vs(e, u, p, d, l);
|
|
119
|
-
this.groups.push({ ...a, vertexArray: h, locations: u, layout: p, indexing: o });
|
|
120
|
-
}
|
|
121
|
-
this.parts = t.parts;
|
|
122
|
-
}
|
|
123
|
-
bind(e, t) {
|
|
124
|
-
this._boundPart = t;
|
|
125
|
-
const { group: i } = this.parts[this._boundPart], { vertexArray: r } = this.groups[i];
|
|
126
|
-
e.bindVAO(r);
|
|
127
|
-
}
|
|
128
|
-
draw(e) {
|
|
129
|
-
if (this._boundPart == null)
|
|
130
|
-
throw new Error("Mesh.bind() has not been called.");
|
|
131
|
-
const { start: t, count: i } = this.parts[this._boundPart], { group: r } = this.parts[this._boundPart], { indexing: a, primitive: o } = this.groups[r];
|
|
132
|
-
a ? e.drawElements(o, i, a, t * dt[a]) : e.drawArrays(o, t, i);
|
|
133
|
-
}
|
|
134
|
-
unbind(e) {
|
|
135
|
-
this._boundPart = null, e.bindVAO(null);
|
|
136
|
-
}
|
|
137
|
-
destroy() {
|
|
138
|
-
for (const { vertexArray: e } of this.groups)
|
|
139
|
-
e.dispose();
|
|
140
|
-
}
|
|
141
|
-
}, As = class gi extends Ts {
|
|
142
|
-
static create(e, t) {
|
|
143
|
-
const i = [];
|
|
144
|
-
let { stride: r, hash: a } = t.layout;
|
|
145
|
-
if (r == null) {
|
|
146
|
-
r = 0;
|
|
147
|
-
for (const { count: f, type: m, offset: v } of t.layout.attributes) {
|
|
148
|
-
if (v != null)
|
|
149
|
-
throw new Error("Stride cannot be computed automatically when attribute offsets are supplied explicitly.");
|
|
150
|
-
r += f * dt[m];
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
let o = 0, l = 0;
|
|
154
|
-
for (const { count: f, name: m, offset: v, type: b, normalized: g } of t.layout.attributes) {
|
|
155
|
-
v != null && (l = v);
|
|
156
|
-
const w = { name: m, location: o, vertex: 0, count: f, type: b, offset: l, stride: r, divisor: 0, normalized: g != null && g };
|
|
157
|
-
i.push(w), o++, l += f * dt[b];
|
|
158
|
-
}
|
|
159
|
-
const u = { attributes: i, primitive: t.primitive };
|
|
160
|
-
t.index != null && (u.index = 0);
|
|
161
|
-
let { count: p } = t;
|
|
162
|
-
if (p == null && (p = t.index ? t.index.length : t.vertex.byteLength / r, Math.floor(p) !== p))
|
|
163
|
-
throw new Error(`The byte length of vertex data must be an exact multiple of the stride, which is ${r}.`);
|
|
164
|
-
const d = { start: 0, count: p, group: 0, primitive: t.primitive }, h = { vertex: [t.vertex], parts: [d], groups: [u] };
|
|
165
|
-
return t.index != null && (h.index = [t.index]), a == null && (a = di(i)), new gi(e, h, { hash: a, attributes: i, stride: r });
|
|
166
|
-
}
|
|
167
|
-
constructor(e, t, i) {
|
|
168
|
-
super(e, t), this.layout = i;
|
|
169
|
-
}
|
|
170
|
-
bind(e, t = 0) {
|
|
171
|
-
super.bind(e, t);
|
|
172
|
-
}
|
|
173
|
-
}, Rs = class {
|
|
174
|
-
constructor() {
|
|
175
|
-
this._dotTextureSize = 0, this._dotTextures = null, this._dotMesh = null;
|
|
176
|
-
}
|
|
177
|
-
destroy() {
|
|
178
|
-
this._disposeTextures(), this._dotFBO && this._dotFBO.dispose(), this._dotMesh && this._dotMesh.destroy();
|
|
179
|
-
}
|
|
180
|
-
getFBO(e) {
|
|
181
|
-
if (this._dotFBO == null) {
|
|
182
|
-
const t = N, i = N, r = new Ge(t, i);
|
|
183
|
-
r.samplingMode = _e.NEAREST, r.wrapMode = ct.CLAMP_TO_EDGE;
|
|
184
|
-
const a = new zs(e, new hi(pi.DEPTH_STENCIL, t, i));
|
|
185
|
-
this._dotFBO = new fi(e, r, a);
|
|
186
|
-
}
|
|
187
|
-
return this._dotFBO;
|
|
188
|
-
}
|
|
189
|
-
getDotDensityMesh(e) {
|
|
190
|
-
if (this._dotMesh == null) {
|
|
191
|
-
const t = N, i = t * t, r = 2, a = new Int16Array(i * r);
|
|
192
|
-
for (let u = 0; u < t; u++)
|
|
193
|
-
for (let p = 0; p < t; p++)
|
|
194
|
-
a[r * (p + u * t)] = p, a[r * (p + u * t) + 1] = u;
|
|
195
|
-
const o = [{ count: 2, type: X.UNSIGNED_SHORT, name: "a_position", offset: 0 }], l = { hash: di(o), attributes: o, stride: 4 };
|
|
196
|
-
this._dotMesh = As.create(e, { primitive: ws.POINTS, vertex: a, count: i, layout: l });
|
|
197
|
-
}
|
|
198
|
-
return this._dotMesh;
|
|
199
|
-
}
|
|
200
|
-
getDotDensityTextures(e, t, i) {
|
|
201
|
-
if (this._dotTextureSize === t && this._seed === i || (this._disposeTextures(), this._dotTextureSize = t, this._seed = i), this._dotTextures === null) {
|
|
202
|
-
const r = new ys(i);
|
|
203
|
-
this._dotTextures = [this._allocDotDensityTexture(e, t, r), this._allocDotDensityTexture(e, t, r)];
|
|
204
|
-
}
|
|
205
|
-
return this._dotTextures;
|
|
206
|
-
}
|
|
207
|
-
_disposeTextures() {
|
|
208
|
-
if (this._dotTextures) {
|
|
209
|
-
for (let e = 0; e < this._dotTextures.length; e++)
|
|
210
|
-
this._dotTextures[e].dispose();
|
|
211
|
-
this._dotTextures = null;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
_allocDotDensityTexture(e, t, i) {
|
|
215
|
-
const r = new Float32Array(t * t * 4);
|
|
216
|
-
for (let o = 0; o < r.length; o++)
|
|
217
|
-
r[o] = i.getFloat();
|
|
218
|
-
const a = new Ge();
|
|
219
|
-
return a.dataType = We.FLOAT, a.samplingMode = _e.NEAREST, a.width = t, a.height = t, new mi(e, a, r);
|
|
220
|
-
}
|
|
221
|
-
}, Is = class extends k {
|
|
222
|
-
constructor() {
|
|
223
|
-
super(...arguments), this.shaders = { polygon: new ve(), point: new ye(), fill: new Yt() }, this.meshWriter = B.DotDensityMeshWriter, this._resources = /* @__PURE__ */ new Map();
|
|
224
|
-
}
|
|
225
|
-
render(e, t) {
|
|
226
|
-
ut(e) || F(e) ? this._renderPolygons(e, t) : this._renderDotDensity(e, t);
|
|
227
|
-
}
|
|
228
|
-
_renderPolygons(e, t) {
|
|
229
|
-
const { context: i, painter: r } = e;
|
|
230
|
-
r.setShader({ shader: this.shaders.fill, uniforms: { ...E(e, t.target), visualVariableColor: null, visualVariableOpacity: null }, defines: { ...R(e) }, optionalAttributes: { zoomRange: !1 }, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
231
|
-
}
|
|
232
|
-
_renderDotDensity(e, t) {
|
|
233
|
-
const { context: i, painter: r, requiredLevel: a } = e, o = t.instance.getInput(), l = this._getOrCreateResourcesRecord(i), u = l.getDotDensityTextures(i, N, o.seed), p = 1 / 2 ** (a - t.target.key.level), d = N, h = d * window.devicePixelRatio * d * window.devicePixelRatio, f = 1 / p * (1 / p), m = o.dotScale ? e.state.scale / o.dotScale : 1, v = o.dotValue * m * f;
|
|
234
|
-
r.setShader({ shader: this.shaders.polygon, uniforms: { ...E(e, t.target), instance: { isActive: o.isActive, colors: o.colors, dotValue: Math.max(1, v) }, draw: { dotTexture0: { unit: At, texture: u[0] }, dotTexture1: { unit: ds, texture: u[1] }, tileZoomFactor: p, pixelRatio: window.devicePixelRatio, tileDotsOverArea: h / (N * window.devicePixelRatio * N * window.devicePixelRatio) } }, defines: { ...R(e), blending: o.blending }, optionalAttributes: {}, useComputeBuffer: !1 }), r.setPipelineState(L(e));
|
|
235
|
-
const b = i.getViewport();
|
|
236
|
-
i.setViewport(0, 0, N, N);
|
|
237
|
-
const g = i.getBoundFramebufferObject(), w = l.getFBO(i);
|
|
238
|
-
i.bindFramebuffer(w), i.setClearColor(0, 0, 0, 0), r.setPipelineState({ color: { write: [!0, !0, !0, !0], blendMode: "composite" }, depth: !1, stencil: !1 }), r.updatePipelineState(i), i.clear(pt.COLOR_BUFFER_BIT), r.submitDraw(i, t), i.bindFramebuffer(g), i.setViewport(b.x, b.y, b.width, b.height);
|
|
239
|
-
const _ = l.getFBO(i).colorTexture;
|
|
240
|
-
r.setShader({ shader: this.shaders.point, uniforms: { view: ms(e, t.target), instance: { dotSize: o.dotSize }, draw: { locations: { unit: At, texture: _ }, tileZoomFactor: 1, pixelRatio: window.devicePixelRatio } }, defines: { ...R(e) }, optionalAttributes: {}, useComputeBuffer: !1 }), r.setPipelineState({ color: { write: [!0, !0, !0, !0], blendMode: "composite" }, depth: !1, stencil: !1 }), r.submitDrawMesh(i, l.getDotDensityMesh(i));
|
|
241
|
-
}
|
|
242
|
-
shutdown(e) {
|
|
243
|
-
var t;
|
|
244
|
-
super.shutdown(e), (t = this._resources.get(e)) == null || t.destroy(), this._resources.delete(e);
|
|
245
|
-
}
|
|
246
|
-
_getOrCreateResourcesRecord(e) {
|
|
247
|
-
let t = this._resources.get(e);
|
|
248
|
-
return t == null && (t = new Rs(), this._resources.set(e, t)), t;
|
|
249
|
-
}
|
|
250
|
-
}, Cs = class extends k {
|
|
251
|
-
constructor() {
|
|
252
|
-
super(...arguments), this.meshWriter = B.ComplexFillMeshWriter, this.shaders = { geometry: new Ii() };
|
|
253
|
-
}
|
|
254
|
-
render(e, t) {
|
|
255
|
-
const { context: i, painter: r } = e;
|
|
256
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey), localTileOffset: Ze(t.target) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
257
|
-
}
|
|
258
|
-
};
|
|
259
|
-
function Ae(s) {
|
|
260
|
-
const e = 1 / s;
|
|
261
|
-
return { antialiasing: e, blur: 0 + e };
|
|
262
|
-
}
|
|
263
|
-
let Os = class extends k {
|
|
264
|
-
constructor() {
|
|
265
|
-
super(...arguments), this.meshWriter = B.ComplexOutlineFillMeshWriter, this.shaders = { geometry: new Ci() };
|
|
266
|
-
}
|
|
267
|
-
render(e, t) {
|
|
268
|
-
const { context: i, painter: r, pixelRatio: a } = e;
|
|
269
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), antialiasingControls: Ae(a), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey), localTileOffset: Ze(t.target) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
270
|
-
}
|
|
271
|
-
}, Es = class extends k {
|
|
272
|
-
constructor() {
|
|
273
|
-
super(...arguments), this.meshWriter = B.FillMeshWriter, this.shaders = { geometry: new Yt() };
|
|
274
|
-
}
|
|
275
|
-
render(e, t) {
|
|
276
|
-
const { context: i, painter: r } = e;
|
|
277
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target) }, defines: R(e), optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
278
|
-
}
|
|
279
|
-
}, Ds = class extends k {
|
|
280
|
-
constructor() {
|
|
281
|
-
super(...arguments), this.meshWriter = B.OutlineFillMeshWriter, this.shaders = { geometry: new Oi() };
|
|
282
|
-
}
|
|
283
|
-
render(e, t) {
|
|
284
|
-
const { context: i, painter: r, pixelRatio: a } = e;
|
|
285
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), antialiasingControls: Ae(a) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
286
|
-
}
|
|
287
|
-
}, Ls = class extends k {
|
|
288
|
-
constructor() {
|
|
289
|
-
super(...arguments), this.meshWriter = B.PatternFillMeshWriter, this.shaders = { geometry: new Ei() };
|
|
290
|
-
}
|
|
291
|
-
render(e, t) {
|
|
292
|
-
const { context: i, painter: r } = e;
|
|
293
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey), localTileOffset: Ze(t.target) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
294
|
-
}
|
|
295
|
-
}, Bs = class extends k {
|
|
296
|
-
constructor() {
|
|
297
|
-
super(...arguments), this.meshWriter = B.PatternOutlineFillMeshWriter, this.shaders = { geometry: new Di() };
|
|
298
|
-
}
|
|
299
|
-
render(e, t) {
|
|
300
|
-
const { context: i, painter: r, pixelRatio: a } = e;
|
|
301
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), antialiasingControls: Ae(a), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey), localTileOffset: Ze(t.target) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
302
|
-
}
|
|
303
|
-
}, Bt = class {
|
|
304
|
-
constructor(e, t, i, r) {
|
|
305
|
-
this.dataType = e, this.samplingMode = t, this.pixelFormat = i, this.internalFormat = r;
|
|
306
|
-
}
|
|
307
|
-
};
|
|
308
|
-
function ks(s, e) {
|
|
309
|
-
const { textureFloat: t, colorBufferFloat: i } = s.capabilities, r = t == null ? void 0 : t.textureFloatLinear, a = i == null ? void 0 : i.textureFloat, o = i == null ? void 0 : i.textureHalfFloat, l = i == null ? void 0 : i.floatBlend, u = s.driverTest.floatBufferBlend.result;
|
|
310
|
-
if (!a && !o)
|
|
311
|
-
throw new De("heatmap:missing-color-buffer-float", "HeatmapRenderer requires the WebGL extension EXT_color_buffer_float or EXT_color_buffer_half_float or WEBGL_color_buffer_float.");
|
|
312
|
-
if (!(l && u || o))
|
|
313
|
-
throw new De("heatmap:missing-float-blend", "HeatmapRenderer requires the WebGL extension EXT_float_blend or EXT_color_buffer_half_float." + (u ? "" : " This device claims support for EXT_float_blend, but does not actually support it."));
|
|
314
|
-
const p = a && l && u, d = o, h = r, f = !!(i != null && i.R32F), m = !!(i != null && i.R16F);
|
|
315
|
-
if (p && h)
|
|
316
|
-
return h || e.warnOnce("Missing WebGL extension OES_texture_float_linear. Heatmap quality may be reduced."), new Bt(We.FLOAT, h ? _e.LINEAR : _e.NEAREST, f ? fe.RED : fe.RGBA, f ? Et.R32F : fe.RGBA);
|
|
317
|
-
if (d)
|
|
318
|
-
return new Bt(We.HALF_FLOAT, _e.LINEAR, m ? fe.RED : fe.RGBA, m ? Et.R16F : fe.RGBA);
|
|
319
|
-
throw new De("heatmap:missing-hardware-support", "HeatmapRenderer requires WebGL extensions that allow it to render and blend to float or half float textures.");
|
|
320
|
-
}
|
|
321
|
-
const Ns = () => ci.getLogger("esri.views.2d.engine.webgl.shaderGraph.techniques.heatmap.HeatmapResources");
|
|
322
|
-
let Us = class {
|
|
323
|
-
destroy() {
|
|
324
|
-
this._accumulateFramebuffer = It(this._accumulateFramebuffer), this._resolveGradientTexture = It(this._resolveGradientTexture), this._prevGradientHash = null, this._qualityProfile = null;
|
|
325
|
-
}
|
|
326
|
-
get initialized() {
|
|
327
|
-
return this._accumulateFramebuffer != null && this._resolveGradientTexture != null;
|
|
328
|
-
}
|
|
329
|
-
get accumulateFramebuffer() {
|
|
330
|
-
return this._accumulateFramebuffer;
|
|
331
|
-
}
|
|
332
|
-
get resolveGradientTexture() {
|
|
333
|
-
return this._resolveGradientTexture;
|
|
334
|
-
}
|
|
335
|
-
loadQualityProfile(e) {
|
|
336
|
-
if (this._qualityProfile == null) {
|
|
337
|
-
const t = ks(e, Ns());
|
|
338
|
-
this._qualityProfile = { ...t, defines: { usesHalfFloatPrecision: t.dataType !== We.FLOAT } };
|
|
339
|
-
}
|
|
340
|
-
return this._qualityProfile;
|
|
341
|
-
}
|
|
342
|
-
ensureAccumulateFBO(e, t, i) {
|
|
343
|
-
if (this._accumulateFramebuffer == null) {
|
|
344
|
-
const { dataType: r, samplingMode: a, pixelFormat: o, internalFormat: l } = this.loadQualityProfile(e), u = new Ge(t, i);
|
|
345
|
-
u.pixelFormat = o, u.internalFormat = l, u.dataType = r, u.samplingMode = a, u.wrapMode = ct.CLAMP_TO_EDGE;
|
|
346
|
-
const p = new hi(pi.DEPTH_STENCIL, t, i);
|
|
347
|
-
this._accumulateFramebuffer = new fi(e, u, p);
|
|
348
|
-
} else {
|
|
349
|
-
const { width: r, height: a } = this._accumulateFramebuffer;
|
|
350
|
-
r === t && a === i || this._accumulateFramebuffer.resize(t, i);
|
|
351
|
-
}
|
|
352
|
-
return this._accumulateFramebuffer;
|
|
353
|
-
}
|
|
354
|
-
ensureResolveGradientTexture(e, t, i) {
|
|
355
|
-
if (this._resolveGradientTexture == null) {
|
|
356
|
-
const r = new Ge();
|
|
357
|
-
r.wrapMode = ct.CLAMP_TO_EDGE, this._resolveGradientTexture = new mi(e, r);
|
|
358
|
-
} else
|
|
359
|
-
this._prevGradientHash !== t && (this._resolveGradientTexture.resize(i.length / 4, 1), this._resolveGradientTexture.setData(i), this._prevGradientHash = t);
|
|
360
|
-
return this._resolveGradientTexture;
|
|
361
|
-
}
|
|
362
|
-
};
|
|
363
|
-
function xi(s) {
|
|
364
|
-
return s ? 0.25 : 1;
|
|
365
|
-
}
|
|
366
|
-
let wi = class extends je {
|
|
367
|
-
};
|
|
368
|
-
c([x(5, y)], wi.prototype, "offset", void 0);
|
|
369
|
-
let Hs = class extends Te {
|
|
370
|
-
}, ht = class extends pe {
|
|
371
|
-
};
|
|
372
|
-
c([S(n)], ht.prototype, "radius", void 0), c([S(n)], ht.prototype, "isFieldActive", void 0);
|
|
373
|
-
let Pe = class extends Ke {
|
|
374
|
-
constructor() {
|
|
375
|
-
super(...arguments), this.usesHalfFloatPrecision = !1;
|
|
376
|
-
}
|
|
377
|
-
vertex(e) {
|
|
378
|
-
const { radius: t, isFieldActive: i } = this.kernelControls, r = e.offset, a = i.multiply(this.storage.getVVData(e.id).x).add(new n(1).subtract(i)), o = this.view.displayViewScreenMat3.multiply(new z(e.pos, 1)).add(this.view.displayViewMat3.multiply(new z(r, 0)).multiply(t)), l = this.clip(e.id);
|
|
379
|
-
return { glPosition: new V(o.xy, l, 1), offset: r, fieldValue: a, color: new V(0), ...this.maybeRunHittest(e, {}, null) };
|
|
380
|
-
}
|
|
381
|
-
fragment(e) {
|
|
382
|
-
const { offset: t, fieldValue: i } = e, r = Kt(t), a = H(r, new n(1)), o = new n(1).subtract(r.multiply(r)), l = o.multiply(o), u = a.multiply(l).multiply(i).multiply(new n(xi(this.usesHalfFloatPrecision)));
|
|
383
|
-
return this.getFragmentOutput(new V(u), e);
|
|
384
|
-
}
|
|
385
|
-
hittest(e) {
|
|
386
|
-
const { viewMat3: t, tileMat3: i } = this.view, r = t.multiply(i).multiply(new z(e.pos, 1));
|
|
387
|
-
return Li(r.xy, this.kernelControls.radius, this.hittestRequest.position);
|
|
388
|
-
}
|
|
389
|
-
};
|
|
390
|
-
c([Ve], Pe.prototype, "usesHalfFloatPrecision", void 0), c([S(ht)], Pe.prototype, "kernelControls", void 0), c([I(0, A(wi))], Pe.prototype, "vertex", null), c([I(0, A(Hs))], Pe.prototype, "fragment", null);
|
|
391
|
-
let Si = class extends qt {
|
|
392
|
-
};
|
|
393
|
-
c([x(0, y)], Si.prototype, "pos", void 0);
|
|
394
|
-
let Ws = class extends Bi {
|
|
395
|
-
}, ke = class extends pe {
|
|
396
|
-
};
|
|
397
|
-
c([S(U)], ke.prototype, "texture", void 0), c([S(y)], ke.prototype, "minAndInvRange", void 0), c([S(n)], ke.prototype, "normalization", void 0);
|
|
398
|
-
let Vi = class extends pe {
|
|
399
|
-
};
|
|
400
|
-
c([S(U)], Vi.prototype, "texture", void 0);
|
|
401
|
-
let ge = class extends jt {
|
|
402
|
-
constructor() {
|
|
403
|
-
super(...arguments), this.usesHalfFloatPrecision = !1;
|
|
404
|
-
}
|
|
405
|
-
vertex(e) {
|
|
406
|
-
return { glPosition: new V(e.pos.multiply(2).subtract(1), 1, 1), uv: e.pos };
|
|
407
|
-
}
|
|
408
|
-
fragment(e) {
|
|
409
|
-
const { accumulatedDensity: t, gradient: i } = this;
|
|
410
|
-
let r = Q(t.texture, e.uv).r.multiply(new n(xi(this.usesHalfFloatPrecision)));
|
|
411
|
-
r = r.multiply(t.normalization), r = r.subtract(t.minAndInvRange.x).multiply(t.minAndInvRange.y);
|
|
412
|
-
const a = Q(i.texture, new y(r, 0.5)), o = new yt();
|
|
413
|
-
return o.glFragColor = new V(a.rgb.multiply(a.a), a.a), o;
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
c([Ve], ge.prototype, "usesHalfFloatPrecision", void 0), c([S(ke)], ge.prototype, "accumulatedDensity", void 0), c([S(Vi)], ge.prototype, "gradient", void 0), c([I(0, A(Si))], ge.prototype, "vertex", null), c([I(0, A(Ws))], ge.prototype, "fragment", null);
|
|
417
|
-
let Gs = class extends k {
|
|
418
|
-
constructor() {
|
|
419
|
-
super(...arguments), this.meshWriter = B.HeatmapMeshWriter, this.shaders = { accumulate: new Pe(), resolve: new ge() }, this.postProcessingEnabled = !0, this._isBound = !1, this._resources = /* @__PURE__ */ new Map(), this.overrideStencilRef = _i;
|
|
420
|
-
}
|
|
421
|
-
shutdown(e) {
|
|
422
|
-
var t;
|
|
423
|
-
super.shutdown(e), (t = this._resources.get(e)) == null || t.destroy(), this._resources.delete(e), this._prevFBO = null, this._unbind();
|
|
424
|
-
}
|
|
425
|
-
render(e, t) {
|
|
426
|
-
const { context: i, painter: r, state: a } = e, o = t.instance.getInput(), { isFieldActive: l } = o, u = this._getOrCreateResourcesRecord(i), p = u.loadQualityProfile(i);
|
|
427
|
-
if (ut(e))
|
|
428
|
-
return;
|
|
429
|
-
F(e) || this._bind(e, u, o), r.setShader({ shader: this.shaders.accumulate, uniforms: { ...E(e, t.target), kernelControls: { radius: kt(o, a), isFieldActive: l ? 1 : 0 } }, defines: { ...R(e), ...p.defines }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) });
|
|
430
|
-
const d = F(e) ? js : zi;
|
|
431
|
-
r.setPipelineState(d), r.submitDraw(i, t);
|
|
432
|
-
}
|
|
433
|
-
postProcess(e, t) {
|
|
434
|
-
if (F(e) || ut(e))
|
|
435
|
-
return;
|
|
436
|
-
const { context: i, painter: r } = e, a = this._resources.get(i);
|
|
437
|
-
if (this._prevFBO == null || this._prevViewport == null || !(a != null && a.initialized))
|
|
438
|
-
return;
|
|
439
|
-
const { defines: o } = a.loadQualityProfile(i), { minDensity: l, maxDensity: u, radius: p } = t.getInput(), d = 8, h = 9, f = a.accumulateFramebuffer, m = a.resolveGradientTexture;
|
|
440
|
-
r.setShader({ shader: this.shaders.resolve, uniforms: { accumulatedDensity: { texture: { unit: d, texture: f.colorTexture }, minAndInvRange: [l, 1 / (u - l)], normalization: 3 / (p * p * Math.PI) }, gradient: { texture: { unit: h, texture: m } } }, defines: o, optionalAttributes: {}, useComputeBuffer: !1 }), i.bindFramebuffer(this._prevFBO), i.setViewport(0, 0, this._prevViewport.width, this._prevViewport.height), i.bindTexture(f.colorTexture, d), i.bindTexture(m, h), r.setPipelineState(Ks), r.submitDrawQuad(i), this._unbind();
|
|
441
|
-
}
|
|
442
|
-
_getOrCreateResourcesRecord(e) {
|
|
443
|
-
let t = this._resources.get(e);
|
|
444
|
-
return t == null && (t = new Us(), this._resources.set(e, t)), t;
|
|
445
|
-
}
|
|
446
|
-
_unbind() {
|
|
447
|
-
this._prevFBO = null, this._prevViewport = null, this._isBound = !1;
|
|
448
|
-
}
|
|
449
|
-
_bind(e, t, i) {
|
|
450
|
-
if (this._isBound)
|
|
451
|
-
return;
|
|
452
|
-
const { context: r, state: a, pixelRatio: o } = e, l = r.getBoundFramebufferObject(), u = r.getViewport();
|
|
453
|
-
this._prevFBO = l, this._prevViewport = u;
|
|
454
|
-
const { gradient: p, gradientHash: d } = i;
|
|
455
|
-
t.ensureResolveGradientTexture(r, d, p);
|
|
456
|
-
const { width: h, height: f } = u, m = qs(kt(i, a), o), v = h * m, b = f * m, g = t.ensureAccumulateFBO(r, v, b);
|
|
457
|
-
r.blitFramebuffer(l, g, 0, 0, l.width, l.height, 0, 0, g.width, g.height, pt.STENCIL_BUFFER_BIT, _e.NEAREST), r.bindFramebuffer(g), r.setViewport(0, 0, g.width, g.height), r.setColorMask(!0, !0, !0, !0), r.setClearColor(0, 0, 0, 0), r.clear(pt.COLOR_BUFFER_BIT), this._isBound = !0;
|
|
458
|
-
}
|
|
459
|
-
};
|
|
460
|
-
function qs(s, e) {
|
|
461
|
-
const t = e > 1.5 ? 0.25 : 0.5;
|
|
462
|
-
return s < 1 / (2 * t) ? 1 : t;
|
|
463
|
-
}
|
|
464
|
-
function _i(s) {
|
|
465
|
-
return s.key.level + 1;
|
|
466
|
-
}
|
|
467
|
-
const zi = { color: { write: [!0, !0, !0, !0], blendMode: "additive" }, depth: !1, stencil: { write: !1, test: { ref: _i, compare: Ss.GEQUAL, mask: 255, op: { fail: Je.KEEP, zFail: Je.KEEP, zPass: Je.REPLACE } } } }, js = { ...zi, stencil: !1 }, Ks = { color: { write: [!0, !0, !0, !0], blendMode: "composite" }, depth: !1, stencil: !1 };
|
|
468
|
-
function kt(s, e) {
|
|
469
|
-
const { referenceScale: t, radius: i } = s;
|
|
470
|
-
return i * (t !== 0 ? t / e.scale : 1);
|
|
471
|
-
}
|
|
472
|
-
let gt = class extends pe {
|
|
473
|
-
getVVRotationMat4(e) {
|
|
474
|
-
return ce(zt(e), He.identity(), () => {
|
|
475
|
-
const t = this._getNormalizedAngle(e).multiply($t), i = Mt(t), r = Pt(t);
|
|
476
|
-
return new He(r, i, 0, 0, i.multiply(new n(-1)), r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
getVVRotationMat3(e) {
|
|
480
|
-
return ce(zt(e), j.identity(), () => {
|
|
481
|
-
const t = this._getNormalizedAngle(e).multiply($t), i = Mt(t), r = Pt(t);
|
|
482
|
-
return new j(r, i, 0, i.multiply(new n(-1)), r, 0, 0, 0, 1);
|
|
483
|
-
});
|
|
484
|
-
}
|
|
485
|
-
_getNormalizedAngle(e) {
|
|
486
|
-
const t = Qt(this.rotationType, new n(rt.Arithmatic));
|
|
487
|
-
return ce(t, new n(90).subtract(e), e);
|
|
488
|
-
}
|
|
489
|
-
};
|
|
490
|
-
c([S(n)], gt.prototype, "rotationType", void 0);
|
|
491
|
-
const Zs = 360 / 254;
|
|
492
|
-
class G extends je {
|
|
493
|
-
}
|
|
494
|
-
c([x(3, V)], G.prototype, "color", void 0), c([x(4, y)], G.prototype, "offset", void 0), c([x(5, y)], G.prototype, "textureUV", void 0), c([x(6, n)], G.prototype, "fontSize", void 0), c([x(7, n)], G.prototype, "referenceSize", void 0), c([x(8, n)], G.prototype, "haloFontSize", void 0), c([x(9, V)], G.prototype, "haloColor", void 0), c([x(10, y)], G.prototype, "zoomRange", void 0), c([x(11, n)], G.prototype, "clipAngle", void 0), c([x(12, V)], G.prototype, "referenceSymbol", void 0);
|
|
495
|
-
let ft = class extends Jt {
|
|
496
|
-
};
|
|
497
|
-
c([x(13, y)], ft.prototype, "offsetNextVertex1", void 0), c([x(14, y)], ft.prototype, "offsetNextVertex2", void 0);
|
|
498
|
-
class Xs extends Te {
|
|
499
|
-
}
|
|
500
|
-
class O extends Ke {
|
|
501
|
-
constructor() {
|
|
502
|
-
super(...arguments), this.computeAttributes = { offset: ["offsetNextVertex1", "offsetNextVertex2"] }, this.isHaloPass = !1, this.isBackgroundPass = !1, this.isLabel = !1;
|
|
503
|
-
}
|
|
504
|
-
clipLabel(e, t, i) {
|
|
505
|
-
const r = t.multiply(Zs), a = ei(this.view.rotation.subtract(r)), o = at(new n(360).subtract(a), a);
|
|
506
|
-
let l = new n(0);
|
|
507
|
-
const u = ki(this.view.currentZoom.multiply(Rt)).divide(Rt), p = e.x, d = e.y, h = new n(1).subtract(H(p, u)).multiply(2), f = H(new n(90), o).multiply(2), m = new n(2).multiply(new n(1).subtract(H(u, d)));
|
|
508
|
-
return l = l.add(i.multiply(h)), l = l.add(i.multiply(f)), l = l.add(m), l;
|
|
509
|
-
}
|
|
510
|
-
vertex(e, t) {
|
|
511
|
-
const i = le(e.bitset, qi), r = new n(1).subtract(i);
|
|
512
|
-
let a = e.fontSize, o = a.divide(Ft);
|
|
513
|
-
const l = this.isHaloPass ? e.haloColor : this._getVertexColor(e), u = this.isLabel ? l.multiply(this.storage.getAnimationValue(e.id)) : l, p = this.view.displayViewScreenMat3.multiply(new z(e.pos, 1));
|
|
514
|
-
let d = e.offset, h = new n(1), f = j.identity();
|
|
515
|
-
if (this.isLabel) {
|
|
516
|
-
if (!e.referenceSymbol)
|
|
517
|
-
throw new Error("InternalError: Optional attribute 'referenceSymbol' expected for labels");
|
|
518
|
-
const P = e.referenceSymbol, T = P.xy, C = P.z, $ = this._unpackDirection(P.w), K = ot(this, e.id, C).divide(2), ue = $.multiply(K.add(hs));
|
|
519
|
-
d = d.add(T).add(ue);
|
|
520
|
-
} else
|
|
521
|
-
h = ot(this, e.id, e.referenceSize).divide(e.referenceSize), a = a.multiply(h), o = o.multiply(h), d = d.multiply(h), f = ti(this, e.id), d = f.multiply(new z(d, 0)).xy;
|
|
522
|
-
const m = le(e.bitset, ji), v = this._getViewRotationMatrix(m).multiply(new z(d, 0));
|
|
523
|
-
let b = this.isLabel ? this.clipLabel(e.zoomRange, e.clipAngle, m) : this.clip(e.id, e.zoomRange);
|
|
524
|
-
b = this.isBackgroundPass ? b.add(r.multiply(2)) : b.add(i.multiply(2));
|
|
525
|
-
const g = new V(p.xy.add(v.xy), b, 1), w = e.textureUV.divide(this.mosaicInfo.size);
|
|
526
|
-
let _ = new n(0);
|
|
527
|
-
return this.isHaloPass && (_ = e.haloFontSize.divide(o).divide(Ni)), { glPosition: g, color: u, size: o, textureUV: w, antialiasingWidth: new n(0.105 * Ft).divide(a).divide(this.view.pixelRatio), haloDistanceOffset: _, ...this.maybeRunHittest(e, t, { vvSizeAdjustment: h, vvRotation: f }) };
|
|
528
|
-
}
|
|
529
|
-
_getViewRotationMatrix(e) {
|
|
530
|
-
const t = this.view.displayViewMat3, i = this.view.displayMat3, r = new n(1).subtract(e);
|
|
531
|
-
return t.multiply(e).add(i.multiply(r));
|
|
532
|
-
}
|
|
533
|
-
fragment(e) {
|
|
534
|
-
const t = new n(0.25), i = new n(1).subtract(t), r = Q(this.mosaicInfo.texture, e.textureUV).a;
|
|
535
|
-
let a = i.subtract(e.haloDistanceOffset);
|
|
536
|
-
this.highlight && (a = a.divide(2));
|
|
537
|
-
const o = e.antialiasingWidth, l = Zt(a.subtract(o), a.add(o), r);
|
|
538
|
-
return this.getFragmentOutput(e.color.multiply(l), e);
|
|
539
|
-
}
|
|
540
|
-
hittest(e, t, { vvSizeAdjustment: i, vvRotation: r }) {
|
|
541
|
-
const a = r.multiply(new z(e.offset.multiply(i), 0)), o = r.multiply(new z(t.offsetNextVertex1.multiply(i), 0)), l = r.multiply(new z(t.offsetNextVertex2.multiply(i), 0)), { viewMat3: u, tileMat3: p } = this.view, d = u.multiply(p).multiply(new z(e.pos, 1)), h = d.add(p.multiply(a)).xy, f = d.add(p.multiply(o)).xy, m = d.add(p.multiply(l)).xy;
|
|
542
|
-
return Ui(this.hittestRequest.position, h.xy, f.xy, m.xy);
|
|
543
|
-
}
|
|
544
|
-
_unpackDirection(e) {
|
|
545
|
-
const t = new Ye(e), i = Hi(t, new Ye(2)), r = Wi(t, new Ye(3));
|
|
546
|
-
return new y(new n(i).subtract(1), new n(r).subtract(1));
|
|
547
|
-
}
|
|
548
|
-
_getVertexColor(e) {
|
|
549
|
-
let t = e.color;
|
|
550
|
-
if (this.visualVariableColor) {
|
|
551
|
-
const i = this.storage.getColorValue(e.id);
|
|
552
|
-
t = this.visualVariableColor.getColor(i, e.color, new Gi(!1));
|
|
553
|
-
}
|
|
554
|
-
if (this.visualVariableOpacity) {
|
|
555
|
-
const i = this.storage.getOpacityValue(e.id), r = this.visualVariableOpacity.getOpacity(i);
|
|
556
|
-
t = t.multiply(r);
|
|
557
|
-
}
|
|
558
|
-
return t;
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
c([D(ii)], O.prototype, "visualVariableColor", void 0), c([D(si)], O.prototype, "visualVariableOpacity", void 0), c([D(gt)], O.prototype, "visualVariableRotation", void 0), c([D(ri)], O.prototype, "visualVariableSizeMinMaxValue", void 0), c([D(ai)], O.prototype, "visualVariableSizeScaleStops", void 0), c([D(oi)], O.prototype, "visualVariableSizeStops", void 0), c([D(ni)], O.prototype, "visualVariableSizeUnitValue", void 0), c([S(bt)], O.prototype, "mosaicInfo", void 0), c([Ve], O.prototype, "isHaloPass", void 0), c([Ve], O.prototype, "isBackgroundPass", void 0), c([Ve], O.prototype, "isLabel", void 0), c([I(0, A(G)), I(1, A(ft))], O.prototype, "vertex", null), c([I(0, A(Xs))], O.prototype, "fragment", null);
|
|
562
|
-
let Ys = class extends k {
|
|
563
|
-
constructor() {
|
|
564
|
-
super(...arguments), this.meshWriter = B.LabelMeshWriter, this.shaders = { geometry: new O() }, this.drawPhase = xe.LABEL | xe.LABEL_ALPHA, this.symbologyPlane = de.TEXT;
|
|
565
|
-
}
|
|
566
|
-
render(e, t) {
|
|
567
|
-
const { context: i, painter: r } = e, a = R(e), o = { ...L(e) }, l = { shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey) }, defines: { ...a, isHaloPass: !1, isBackgroundPass: !0, isLabel: !0 }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: !1 };
|
|
568
|
-
r.setShader(l), r.setPipelineState(o), r.submitDraw(i, t), r.setShader({ ...l, defines: { ...a, isHaloPass: !0, isBackgroundPass: !1, isLabel: !0 } }), r.setPipelineState(o), r.submitDraw(i, t), r.setShader({ ...l, defines: { ...a, isHaloPass: !1, isBackgroundPass: !1, isLabel: !0 } }), r.setPipelineState(o), r.submitDraw(i, t);
|
|
569
|
-
}
|
|
570
|
-
}, Qs = class extends k {
|
|
571
|
-
constructor() {
|
|
572
|
-
super(...arguments), this.meshWriter = B.LineMeshWriter, this.shaders = { geometry: new li() }, this.symbologyPlane = de.LINE;
|
|
573
|
-
}
|
|
574
|
-
render(e, t) {
|
|
575
|
-
const { context: i, painter: r, pixelRatio: a } = e;
|
|
576
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), antialiasingControls: Ae(a) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
577
|
-
}
|
|
578
|
-
};
|
|
579
|
-
class Ne extends Ki {
|
|
580
|
-
}
|
|
581
|
-
c([x(9, n)], Ne.prototype, "accumulatedDistance", void 0), c([x(10, y)], Ne.prototype, "segmentDirection", void 0), c([x(11, V)], Ne.prototype, "tlbr", void 0);
|
|
582
|
-
class mt extends li {
|
|
583
|
-
_getLineWidthRatio(e, t) {
|
|
584
|
-
const i = new n($s), r = le(e.bitset, Yi);
|
|
585
|
-
return r.multiply(Se(t, new n(0.25))).add(new n(1).subtract(r)).divide(i);
|
|
586
|
-
}
|
|
587
|
-
_getSDFAlpha(e) {
|
|
588
|
-
const { halfWidth: t, normal: i, tlbr: r, patternSize: a, accumulatedDistance: o, lineWidthRatio: l } = e, u = a.x.multiply(new n(2)).multiply(l), p = Tt(o.divide(u)), d = new n(0.25).multiply(i.y).add(new n(0.5)), h = nt(r.xy, r.zw, new y(p, d)), f = ui(Q(this.mosaicInfo.texture, h)).subtract(new n(0.5)).multiply(t), m = lt(new n(0.5).subtract(f), new n(0), new n(1));
|
|
589
|
-
return new V(m);
|
|
590
|
-
}
|
|
591
|
-
_getPatternColor(e) {
|
|
592
|
-
const { halfWidth: t, normal: i, color: r, accumulatedDistance: a, patternSize: o, sampleAlphaOnly: l, tlbr: u } = e, p = o.y.multiply(new n(2).multiply(t).divide(o.x)), d = Tt(a.divide(p)), h = new n(0.5).multiply(i.y).add(new n(0.5)), f = nt(u.xy, u.zw, new y(h, d));
|
|
593
|
-
let m = Q(this.mosaicInfo.texture, f);
|
|
594
|
-
return this.visualVariableColor != null && (m = ce(Qe(l, new n(0.5)), new V(r.a), r)), m;
|
|
595
|
-
}
|
|
596
|
-
vertex(e, t) {
|
|
597
|
-
const { segmentDirection: i, tlbr: r, bitset: a } = e, o = Zi(this, e), l = e.accumulatedDistance.divide(this.view.displayZoomFactor).add(st(i, o.scaledOffset)), u = new y(r.z.subtract(r.x), r.w.subtract(r.y)), p = r.divide(this.mosaicInfo.size.xyxy), d = le(a, Qi), h = le(a, Ji), f = ce(Qe(d, new n(0.5)), this._getLineWidthRatio(e, o.scaledHalfWidth), new n(1));
|
|
598
|
-
return { ...o, tlbr: p, patternSize: u, accumulatedDistance: l, isSDF: d, sampleAlphaOnly: h, lineWidthRatio: f, ...this.maybeRunHittest(e, t, o.halfWidth) };
|
|
599
|
-
}
|
|
600
|
-
fragment(e) {
|
|
601
|
-
const { color: t, opacity: i, isSDF: r } = e, a = Xi(e, this.antialiasingControls.blur), o = ce(Qe(r, new n(0.5)), this._getSDFAlpha(e), this._getPatternColor(e)), l = t.multiply(i).multiply(a).multiply(o);
|
|
602
|
-
return this.getFragmentOutput(l, e);
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
c([S(bt)], mt.prototype, "mosaicInfo", void 0), c([I(0, A(Ne)), I(1, A(es))], mt.prototype, "vertex", null);
|
|
606
|
-
let Js = class extends k {
|
|
607
|
-
constructor() {
|
|
608
|
-
super(...arguments), this.meshWriter = B.TexturedLineMeshWriter, this.shaders = { geometry: new mt() }, this.symbologyPlane = de.LINE;
|
|
609
|
-
}
|
|
610
|
-
render(e, t) {
|
|
611
|
-
const { context: i, painter: r, pixelRatio: a } = e;
|
|
612
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), antialiasingControls: Ae(a), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
class ne extends je {
|
|
616
|
-
}
|
|
617
|
-
c([x(3, V)], ne.prototype, "color", void 0), c([x(4, V)], ne.prototype, "outlineColor", void 0), c([x(5, y)], ne.prototype, "offset", void 0), c([x(6, y)], ne.prototype, "textureUV", void 0), c([x(7, V)], ne.prototype, "sizing", void 0), c([x(8, n)], ne.prototype, "placementAngle", void 0), c([x(9, n)], ne.prototype, "sizeRatio", void 0), c([x(10, y)], ne.prototype, "zoomRange", void 0);
|
|
618
|
-
class Fe extends Jt {
|
|
619
|
-
}
|
|
620
|
-
c([x(12, y)], Fe.prototype, "offsetNextVertex1", void 0), c([x(13, y)], Fe.prototype, "offsetNextVertex2", void 0), c([x(14, y)], Fe.prototype, "textureUVNextVertex1", void 0), c([x(15, y)], Fe.prototype, "textureUVNextVertex2", void 0);
|
|
621
|
-
class er extends Te {
|
|
622
|
-
}
|
|
623
|
-
function oe(s, e, t, i) {
|
|
624
|
-
return e.multiply(s.x).add(t.multiply(s.y)).add(i.multiply(s.z));
|
|
625
|
-
}
|
|
626
|
-
function et(s) {
|
|
627
|
-
return s.multiply(s).divide(128);
|
|
628
|
-
}
|
|
629
|
-
class q extends Ke {
|
|
630
|
-
constructor() {
|
|
631
|
-
super(...arguments), this.computeAttributes = { offset: ["offsetNextVertex1", "offsetNextVertex2"], textureUV: ["textureUVNextVertex1", "textureUVNextVertex2"] };
|
|
632
|
-
}
|
|
633
|
-
vertex(e, t) {
|
|
634
|
-
const i = et(e.sizing.x), r = et(e.sizing.y), a = et(e.sizing.z), o = e.placementAngle, l = le(e.bitset, $e.bitset.isSDF), u = le(e.bitset, $e.bitset.isMapAligned), p = le(e.bitset, $e.bitset.scaleSymbolsProportionally), d = ts(e.bitset, $e.bitset.colorLocked), h = is(this, e.id), f = ss(this, e.id, e.color, d).multiply(h), m = this.view.displayViewScreenMat3.multiply(new z(e.pos.xy, 1)), v = ot(this, e.id, a).divide(a), b = i.multiply(v), g = e.offset.xy.multiply(v);
|
|
635
|
-
let w = r.multiply(p.multiply(v.subtract(1)).add(1));
|
|
636
|
-
w = at(w, Se(b.subtract(0.99), new n(0)));
|
|
637
|
-
const _ = Se(w, new n(1)), P = at(w, new n(1)), T = j.fromRotation(o.multiply(rs)), C = ti(this, e.id), $ = this._getViewRotationMatrix(u).multiply(C).multiply(T).multiply(new z(g.xy, 0)), K = this.clip(e.id, e.zoomRange), ue = new V(m.xy.add($.xy), K, 1), Re = e.textureUV.divide(this.mosaicInfo.size), Ie = e.outlineColor.multiply(P), Ce = le(e.bitset, $e.bitset.overrideOutlineColor), ze = e.sizeRatio.multiply(b).multiply(0.5);
|
|
638
|
-
return { glPosition: ue, color: f, textureUV: Re, outlineColor: Ie, outlineSize: _, distanceToPx: ze, isSDF: l, overrideOutlineColor: Ce, ...this.maybeRunHittest(e, t, { pos: e.pos, size: b, sizeCorrection: v, isMapAligned: u, outlineSize: _, distanceToPx: ze, isSDF: l }) };
|
|
639
|
-
}
|
|
640
|
-
fragment(e) {
|
|
641
|
-
const t = this._getColor(e.textureUV, e);
|
|
642
|
-
return this.getFragmentOutput(t, e);
|
|
643
|
-
}
|
|
644
|
-
hittest(e, t, i) {
|
|
645
|
-
return ce(as(i.size, this.hittestRequest.smallSymbolSizeThreshold), this._hittestSmallMarker(e, t, i), this._hittestMarker(e, t, i));
|
|
646
|
-
}
|
|
647
|
-
_getViewRotationMatrix(e) {
|
|
648
|
-
const t = this.view.displayViewMat3, i = this.view.displayMat3, r = new n(1).subtract(e);
|
|
649
|
-
return t.multiply(e).add(i.multiply(r));
|
|
650
|
-
}
|
|
651
|
-
_getViewScreenMatrix(e) {
|
|
652
|
-
const t = this.view.viewMat3.multiply(this.view.tileMat3), i = this.view.tileMat3, r = new n(1).subtract(e);
|
|
653
|
-
return t.multiply(e).add(i.multiply(r));
|
|
654
|
-
}
|
|
655
|
-
_getColor(e, t) {
|
|
656
|
-
return ce(Qt(t.isSDF, new n(1)), this._getSDFColor(e, t), this._getSpriteColor(e, t));
|
|
657
|
-
}
|
|
658
|
-
_getSpriteColor(e, t) {
|
|
659
|
-
return Q(this.mosaicInfo.texture, e).multiply(t.color);
|
|
660
|
-
}
|
|
661
|
-
_getSDFColor(e, t) {
|
|
662
|
-
const i = Q(this.mosaicInfo.texture, e), r = new n(0.5).subtract(ui(i)).multiply(t.distanceToPx).multiply(os), a = lt(new n(0.5).subtract(r), new n(0), new n(1)), o = t.color.multiply(a);
|
|
663
|
-
let l = t.outlineSize;
|
|
664
|
-
this.highlight && (l = Se(l, t.overrideOutlineColor.multiply(4)));
|
|
665
|
-
const u = l.multiply(0.5), p = ei(r).subtract(u), d = lt(new n(0.5).subtract(p), new n(0), new n(1)), h = nt(t.outlineColor, t.color, t.overrideOutlineColor).multiply(d);
|
|
666
|
-
return new n(1).subtract(h.a).multiply(o).add(h);
|
|
667
|
-
}
|
|
668
|
-
_hittestSmallMarker(e, t, i) {
|
|
669
|
-
const { position: r, distance: a, smallSymbolDistance: o } = this.hittestRequest, l = a.subtract(o), { viewMat3: u, tileMat3: p } = this.view, d = u.multiply(p).multiply(new z(i.pos, 1)).xy, h = i.size.multiply(0.5);
|
|
670
|
-
return ns(d, r).subtract(h).add(l);
|
|
671
|
-
}
|
|
672
|
-
_hittestMarker(e, t, i) {
|
|
673
|
-
const { pos: r, size: a, sizeCorrection: o, isMapAligned: l, outlineSize: u, isSDF: p, distanceToPx: d } = i, h = new z(e.offset.multiply(o), 0), f = new z(t.offsetNextVertex1.multiply(o), 0), m = new z(t.offsetNextVertex2.multiply(o), 0), { viewMat3: v, tileMat3: b } = this.view, g = v.multiply(b).multiply(new z(r, 1)), w = this._getViewScreenMatrix(l), _ = g.add(w.multiply(h)).xy, P = g.add(w.multiply(f)).xy, T = g.add(w.multiply(m)).xy, C = this.hittestRequest.position, $ = this.hittestRequest.distance, K = re(C.add(new y(he($), he($))), _, P, T), ue = re(C.add(new y(0, he($))), _, P, T), Re = re(C.add(new y($, he($))), _, P, T), Ie = re(C.add(new y(he($), 0)), _, P, T), Ce = re(C, _, P, T), ze = re(C.add(new y($, 0)), _, P, T), wt = re(C.add(new y(he($), $)), _, P, T), St = re(C.add(new y(0, $)), _, P, T), Vt = re(C.add(new y($, $)), _, P, T), ee = e.textureUV.divide(this.mosaicInfo.size), te = t.textureUVNextVertex1.divide(this.mosaicInfo.size), ie = t.textureUVNextVertex2.divide(this.mosaicInfo.size), se = { color: new V(1), outlineColor: new V(1), overrideOutlineColor: new n(1), outlineSize: u, distanceToPx: d, isSDF: p };
|
|
674
|
-
let M = new n(0);
|
|
675
|
-
return M = M.add(ae(K).multiply(this._getColor(oe(K, ee, te, ie), se).a)), M = M.add(ae(ue).multiply(this._getColor(oe(ue, ee, te, ie), se).a)), M = M.add(ae(Re).multiply(this._getColor(oe(Re, ee, te, ie), se).a)), M = M.add(ae(Ie).multiply(this._getColor(oe(Ie, ee, te, ie), se).a)), M = M.add(ae(Ce).multiply(this._getColor(oe(Ce, ee, te, ie), se).a)), M = M.add(ae(ze).multiply(this._getColor(oe(ze, ee, te, ie), se).a)), M = M.add(ae(wt).multiply(this._getColor(oe(wt, ee, te, ie), se).a)), M = M.add(ae(St).multiply(this._getColor(oe(St, ee, te, ie), se).a)), M = M.add(ae(Vt).multiply(this._getColor(oe(Vt, ee, te, ie), se).a)), H(M, new n(0.05)).multiply(Xt(this.hittestRequest));
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
c([D(ii)], q.prototype, "visualVariableColor", void 0), c([D(si)], q.prototype, "visualVariableOpacity", void 0), c([D(gt)], q.prototype, "visualVariableRotation", void 0), c([D(ri)], q.prototype, "visualVariableSizeMinMaxValue", void 0), c([D(ai)], q.prototype, "visualVariableSizeScaleStops", void 0), c([D(oi)], q.prototype, "visualVariableSizeStops", void 0), c([D(ni)], q.prototype, "visualVariableSizeUnitValue", void 0), c([S(bt)], q.prototype, "mosaicInfo", void 0), c([I(0, A(ne)), I(1, A(Fe))], q.prototype, "vertex", null), c([I(0, A(er))], q.prototype, "fragment", null);
|
|
679
|
-
let tr = class extends k {
|
|
680
|
-
constructor() {
|
|
681
|
-
super(...arguments), this.meshWriter = B.MarkerMeshWriter, this.shaders = { geometry: new q() }, this.symbologyPlane = de.MARKER;
|
|
682
|
-
}
|
|
683
|
-
render(e, t) {
|
|
684
|
-
const { context: i, painter: r } = e;
|
|
685
|
-
r.setShader({ shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey, !0) }, defines: { ...R(e) }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
686
|
-
}
|
|
687
|
-
};
|
|
688
|
-
class ir {
|
|
689
|
-
constructor() {
|
|
690
|
-
this.computeAttributes = {};
|
|
691
|
-
}
|
|
692
|
-
get locationsMap() {
|
|
693
|
-
const e = /* @__PURE__ */ new Map();
|
|
694
|
-
for (const t in this.locations)
|
|
695
|
-
e.set(t, this.locations[t].index);
|
|
696
|
-
return e;
|
|
697
|
-
}
|
|
698
|
-
get optionPropertyKeys() {
|
|
699
|
-
if (!this._optionPropertyKeys) {
|
|
700
|
-
const e = new Set(Object.keys(this.options));
|
|
701
|
-
this._optionPropertyKeys = e;
|
|
702
|
-
}
|
|
703
|
-
return this._optionPropertyKeys;
|
|
704
|
-
}
|
|
705
|
-
get _transformFeedbackBindings() {
|
|
706
|
-
return [];
|
|
707
|
-
}
|
|
708
|
-
get locationInfo() {
|
|
709
|
-
if (!this._locationInfo) {
|
|
710
|
-
const e = this.locationsMap, t = Array.from(e.entries()).map(([r, a]) => `${r}.${a}`).join("."), i = bs(t);
|
|
711
|
-
this._locationInfo = { hash: i, locations: e };
|
|
712
|
-
}
|
|
713
|
-
return this._locationInfo;
|
|
714
|
-
}
|
|
715
|
-
get renamedLocationsMap() {
|
|
716
|
-
const e = /* @__PURE__ */ new Map();
|
|
717
|
-
for (const [t, i] of this.locationsMap.entries())
|
|
718
|
-
e.set("a_" + t, i);
|
|
719
|
-
return e;
|
|
720
|
-
}
|
|
721
|
-
getShaderKey(e, t, i) {
|
|
722
|
-
const r = Object.keys(i).filter((o) => i[o]).map((o) => `${o}_${i[o].toString()}`).join("."), a = Object.keys(t).filter((o) => this.optionPropertyKeys.has(o)).join(".");
|
|
723
|
-
return `${e.hash}.${r}.${a}`;
|
|
724
|
-
}
|
|
725
|
-
getProgram(e, t, i, r) {
|
|
726
|
-
let a = "", o = "";
|
|
727
|
-
for (const l in i)
|
|
728
|
-
if (i[l]) {
|
|
729
|
-
const u = typeof i[l] == "boolean" ? `#define ${l}
|
|
730
|
-
` : `#define ${l} ${i[l]}
|
|
731
|
-
`;
|
|
732
|
-
a += u, o += u;
|
|
733
|
-
}
|
|
734
|
-
return a += this.vertexShader, o += this.fragmentShader, new ls(a, o, this.renamedLocationsMap, this.locationInfo, this._getUniformBindings(t), this._transformFeedbackBindings);
|
|
735
|
-
}
|
|
736
|
-
_getUniformBindings(e) {
|
|
737
|
-
const t = [];
|
|
738
|
-
for (const i in this.required) {
|
|
739
|
-
const r = this.required[i];
|
|
740
|
-
t.push({ uniformHydrated: null, shaderModulePath: i, uniformName: i, uniformType: r.type, uniformArrayElementType: Nt(r), uniformArrayLength: Ut(r) });
|
|
741
|
-
}
|
|
742
|
-
for (const i in e) {
|
|
743
|
-
const r = this.options[i];
|
|
744
|
-
if (e[i])
|
|
745
|
-
for (const a in r) {
|
|
746
|
-
const o = r[a];
|
|
747
|
-
t.push({ uniformHydrated: null, shaderModulePath: `${i}.${a}`, uniformName: a, uniformType: o.type, uniformArrayElementType: Nt(o), uniformArrayLength: Ut(o) });
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
return t;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
const Nt = (s) => {
|
|
754
|
-
var e;
|
|
755
|
-
return s.type === "array" ? (e = s.elementType) == null ? void 0 : e.type : void 0;
|
|
756
|
-
}, Ut = (s) => s.type === "array" ? s.size : void 0, sr = { hittestDist: n, hittestPos: y }, rr = { filterFlags: U, animation: U, visualVariableData: U, dataDriven0: U, dataDriven1: U, dataDriven2: U, gpgpu: U, size: n }, ar = { displayViewScreenMat3: j, displayViewMat3: j, displayMat3: j, viewMat3: j, tileMat3: j, displayZoomFactor: n, requiredZoomFactor: n, tileOffset: y, currentScale: n, currentZoom: n, metersPerSRUnit: n };
|
|
757
|
-
let or = class extends ir {
|
|
758
|
-
constructor() {
|
|
759
|
-
super(...arguments), this.vertexShader = Lt("materials/pie/pie.vert"), this.fragmentShader = Lt("materials/pie/pie.frag"), this.required = { ...rr, ...ar, outlineWidth: n, colors: Z, defaultColor: V, othersColor: V, outlineColor: V, donutRatio: n, sectorThreshold: n }, this.options = { hittestUniforms: sr, visualVariableSizeMinMaxValue: { minMaxValueAndSize: V }, visualVariableSizeScaleStops: { sizes: { ...Z.ofType(n, 8), type: "array", elementType: n, size: 8 }, values: { ...Z.ofType(n, 8), type: "array", elementType: n, size: 8 } }, visualVariableSizeStops: { sizes: { ...Z.ofType(n, 8), type: "array", elementType: n, size: 8 }, values: { ...Z.ofType(n, 8), type: "array", elementType: n, size: 8 } }, visualVariableSizeUnitValue: { unitValueToPixelsRatio: n }, visualVariableOpacity: { opacities: { ...Z.ofType(n, 8), type: "array", elementType: n, size: 8 }, opacityValues: { ...Z.ofType(n, 8), type: "array", elementType: n, size: 8 } } }, this.locations = { pos: { index: 0, type: y }, id: { index: 1, type: z }, bitset: { index: 2, type: n }, offset: { index: 3, type: y }, texCoords: { index: 4, type: y }, size: { index: 5, type: y }, referenceSize: { index: 6, type: n }, zoomRange: { index: 7, type: y } }, this.defines = { VV_SIZE_MIN_MAX_VALUE: "boolean", VV_SIZE_SCALE_STOPS: "boolean", VV_SIZE_FIELD_STOPS: "boolean", VV_SIZE_UNIT_VALUE: "boolean", VV_OPACITY: "boolean", HITTEST: "boolean", numberOfFields: "number", highlight: "boolean", inside: "boolean", outside: "boolean" };
|
|
760
|
-
}
|
|
761
|
-
setNumberOfFields(e) {
|
|
762
|
-
this.required.colors = { ...Z.ofType(V, e), type: "array", elementType: V, size: e };
|
|
763
|
-
}
|
|
764
|
-
}, nr = class extends k {
|
|
765
|
-
constructor() {
|
|
766
|
-
super(...arguments), this.meshWriter = B.PieChartMeshWriter, this.shaders = { geometry: new or() }, this.symbologyPlane = de.MARKER;
|
|
767
|
-
}
|
|
768
|
-
render(e, t) {
|
|
769
|
-
var m, v;
|
|
770
|
-
const { context: i, painter: r } = e, { instance: a, target: o } = t, l = this.shaders.geometry, u = a.getInput(), p = u.numberOfFields, d = F(e), h = E(e, o), f = R(e);
|
|
771
|
-
l.setNumberOfFields(p), r.setShader({ shader: l, uniforms: { ...W(e, t.target, u.geometry), ...h.storage, ...h.view, hittestUniforms: h.hittestRequest ? { hittestDist: (m = h.hittestRequest) == null ? void 0 : m.distance, hittestPos: (v = h.hittestRequest) == null ? void 0 : v.position } : null }, defines: { VV_SIZE_MIN_MAX_VALUE: !!u.geometry.visualVariableSizeMinMaxValue, VV_SIZE_SCALE_STOPS: !!u.geometry.visualVariableSizeScaleStops, VV_SIZE_FIELD_STOPS: !!u.geometry.visualVariableSizeStops, VV_SIZE_UNIT_VALUE: !!u.geometry.visualVariableSizeUnitValue, VV_OPACITY: !!u.geometry.visualVariableOpacity, HITTEST: d, highlight: h.highlight ? 1 : 0, ...f, numberOfFields: p }, optionalAttributes: {}, useComputeBuffer: d }), r.setPipelineState(L(e)), r.submitDraw(i, t);
|
|
772
|
-
}
|
|
773
|
-
}, lr = class extends k {
|
|
774
|
-
constructor() {
|
|
775
|
-
super(...arguments), this.meshWriter = B.TextMeshWriter, this.shaders = { geometry: new O() }, this.symbologyPlane = de.TEXT;
|
|
776
|
-
}
|
|
777
|
-
render(e, t) {
|
|
778
|
-
const { context: i, painter: r } = e, a = R(e), o = { shader: this.shaders.geometry, uniforms: { ...W(e, t.target, t.instance.getInput().geometry), ...E(e, t.target), mosaicInfo: r.textureManager.getMosaicInfo(i, t.textureKey) }, defines: { ...a, isHaloPass: !1, isBackgroundPass: !0, isLabel: !1 }, optionalAttributes: t.instance.optionalAttributes, useComputeBuffer: F(e) };
|
|
779
|
-
r.setShader(o), r.setPipelineState(L(e)), r.submitDraw(i, t), r.setShader({ ...o, defines: { ...a, isHaloPass: !0, isBackgroundPass: !1, isLabel: !1 } }), r.submitDraw(i, t), r.setShader({ ...o, defines: { ...a, isHaloPass: !1, isBackgroundPass: !1, isLabel: !1 } }), r.submitDraw(i, t);
|
|
780
|
-
}
|
|
781
|
-
};
|
|
782
|
-
const J = { fill: new Es("fill"), patternFill: new Ls("patternFill"), complexFill: new Cs("complexFill"), outlineFill: new Ds("outlineFill"), patternOutlineFill: new Bs("patternOutlineFill"), complexOutlineFill: new Os("complexOutlineFill"), marker: new tr("marker"), pieChart: new nr("pieChart"), line: new Qs("line"), texturedLine: new Js("texturedLine"), text: new lr("text"), label: new Ys("label"), heatmap: new Gs("heatmap"), dotDensity: new Is("dotDensity") };
|
|
783
|
-
function Ga() {
|
|
784
|
-
for (const s in J)
|
|
785
|
-
J[s].startup();
|
|
786
|
-
}
|
|
787
|
-
function qa(s) {
|
|
788
|
-
for (const e in J)
|
|
789
|
-
J[e].shutdown(s);
|
|
790
|
-
}
|
|
791
|
-
function qe(s, e) {
|
|
792
|
-
const t = s.slice(0, e), i = e - t.length;
|
|
793
|
-
for (let r = 0; r < i; r++) {
|
|
794
|
-
const a = t[t.length - 1];
|
|
795
|
-
t.push(a);
|
|
796
|
-
}
|
|
797
|
-
return t;
|
|
798
|
-
}
|
|
799
|
-
function ur(s) {
|
|
800
|
-
if (!s)
|
|
801
|
-
return [0, 0, 0, 0];
|
|
802
|
-
const { r: e, g: t, b: i, a: r } = s;
|
|
803
|
-
return [e * (r / 255), t * (r / 255), i * (r / 255), r];
|
|
804
|
-
}
|
|
805
|
-
const Ue = 8, $i = Ue - 2, Mi = () => ci.getLogger("esri.views.2d.layers.features.support.rendererUtils");
|
|
806
|
-
function Pi(s) {
|
|
807
|
-
return s.map((e) => cr(e) ? pr(e.clone()) : e);
|
|
808
|
-
}
|
|
809
|
-
function cr(s) {
|
|
810
|
-
return (s.type === "size" || s.type === "color" || s.type === "opacity") && s.stops != null;
|
|
811
|
-
}
|
|
812
|
-
function pr(s) {
|
|
813
|
-
return s.stops = fr(s.type, s.stops ?? []), s;
|
|
814
|
-
}
|
|
815
|
-
function me(s, e, t) {
|
|
816
|
-
return (1 - t) * s + t * e;
|
|
817
|
-
}
|
|
818
|
-
function dr(s, e) {
|
|
819
|
-
const [t, ...i] = e, r = i.pop(), a = i[0].value, o = i[i.length - 1].value, l = (o - a) / $i, u = [];
|
|
820
|
-
for (let p = a; p < o; p += l) {
|
|
821
|
-
let d = 0;
|
|
822
|
-
for (; p >= i[d].value; )
|
|
823
|
-
d++;
|
|
824
|
-
const h = i[d], f = e[d - 1], m = p - f.value, v = h.value === f.value ? 1 : m / (h.value - f.value);
|
|
825
|
-
if (s === "color") {
|
|
826
|
-
const b = i[d], g = e[d - 1], w = b.color.clone();
|
|
827
|
-
w.r = me(g.color.r, w.r, v), w.g = me(g.color.g, w.g, v), w.b = me(g.color.b, w.b, v), w.a = me(g.color.a, w.a, v), u.push({ value: p, color: w, label: b.label });
|
|
828
|
-
} else if (s === "size") {
|
|
829
|
-
const b = i[d], g = e[d - 1], w = Ct(b.size), _ = me(Ct(g.size), w, v);
|
|
830
|
-
u.push({ value: p, size: _, label: b.label });
|
|
831
|
-
} else {
|
|
832
|
-
const b = i[d], g = me(e[d - 1].opacity, b.opacity, v);
|
|
833
|
-
u.push({ value: p, opacity: g, label: b.label });
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
return [t, ...u, r];
|
|
837
|
-
}
|
|
838
|
-
function hr(s) {
|
|
839
|
-
const [e, ...t] = s, i = t.pop();
|
|
840
|
-
for (; t.length > $i; ) {
|
|
841
|
-
let r = 0, a = 0;
|
|
842
|
-
for (let o = 1; o < t.length; o++) {
|
|
843
|
-
const l = t[o - 1], u = t[o], p = Math.abs(u.value - l.value);
|
|
844
|
-
p > a && (a = p, r = o);
|
|
845
|
-
}
|
|
846
|
-
t.splice(r, 1);
|
|
847
|
-
}
|
|
848
|
-
return [e, ...t, i];
|
|
849
|
-
}
|
|
850
|
-
function fr(s, e) {
|
|
851
|
-
return e.length <= Ue ? e : (Mi().warn(`Found ${e.length} Visual Variable stops, but MapView only supports ${Ue}. Displayed stops will be simplified.`), e.length > 2 * Ue ? dr(s, e) : hr(e));
|
|
852
|
-
}
|
|
853
|
-
function mr() {
|
|
854
|
-
const { supportsColorBufferFloat: s, supportsColorBufferFloatBlend: e, supportsColorBufferHalfFloat: t } = vt();
|
|
855
|
-
return s && e || t;
|
|
856
|
-
}
|
|
857
|
-
function ja(s) {
|
|
858
|
-
if (!s)
|
|
859
|
-
return !0;
|
|
860
|
-
switch (s.type) {
|
|
861
|
-
case "dot-density":
|
|
862
|
-
break;
|
|
863
|
-
case "heatmap":
|
|
864
|
-
if (!mr()) {
|
|
865
|
-
const e = vt(), t = ["supportsColorBufferFloat", "supportsColorBufferFloatBlend", "supportsColorBufferHalfFloat"].filter((i) => !e[i]).join(", ");
|
|
866
|
-
return Mi().errorOnce(new De("webgl-missing-extension", `Missing WebGL2 requirements for Heatmap: ${t}`)), !1;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
return !0;
|
|
870
|
-
}
|
|
871
|
-
const yr = 1.25, Ee = 128, br = 128;
|
|
872
|
-
function vr(s) {
|
|
873
|
-
var a;
|
|
874
|
-
if (!((a = s.stops) != null && a.length))
|
|
875
|
-
return null;
|
|
876
|
-
const e = s.stops.sort((o, l) => o.value - l.value), t = qe(e, 8), i = t.map(({ value: o }) => o), r = t.map(({ color: o }) => ur(o));
|
|
877
|
-
return { values: i, colors: r };
|
|
878
|
-
}
|
|
879
|
-
function gr(s) {
|
|
880
|
-
var i;
|
|
881
|
-
if (!((i = s.stops) != null && i.length))
|
|
882
|
-
return null;
|
|
883
|
-
const e = s.stops.sort((r, a) => r.value - a.value), t = qe(e, 8);
|
|
884
|
-
return { opacityValues: t.map(({ value: r }) => r), opacities: t.map(({ opacity: r }) => r) };
|
|
885
|
-
}
|
|
886
|
-
function xr(s) {
|
|
887
|
-
return { rotationType: s.rotationType === "geographic" ? rt.Geographic : rt.Arithmatic };
|
|
888
|
-
}
|
|
889
|
-
function tt(s) {
|
|
890
|
-
var i;
|
|
891
|
-
if (!((i = s.stops) != null && i.length))
|
|
892
|
-
return null;
|
|
893
|
-
if (s.stops.some((r) => r.useMaxValue || r.useMinValue))
|
|
894
|
-
return (r, a) => {
|
|
895
|
-
const o = r.statisticsByLevel.get(a.key.level), l = s.stops.map((p) => {
|
|
896
|
-
var d, h;
|
|
897
|
-
return { value: p.useMaxValue ? ((d = o == null ? void 0 : o.get(s.field)) == null ? void 0 : d.maxValue) ?? 0 : p.useMinValue ? ((h = o == null ? void 0 : o.get(s.field)) == null ? void 0 : h.minValue) ?? 0 : p.value, size: p.size ? we(p.size) : fs };
|
|
898
|
-
}).sort((p, d) => p.value - d.value), u = qe(l, 8);
|
|
899
|
-
return { values: u.map(({ value: p }) => p), sizes: u.map(({ size: p }) => p) };
|
|
900
|
-
};
|
|
901
|
-
const e = s.stops.sort((r, a) => r.value - a.value), t = qe(e, 8);
|
|
902
|
-
return { values: t.map(({ value: r }) => r), sizes: t.map(({ size: r }) => we(r)) };
|
|
903
|
-
}
|
|
904
|
-
function wr(s) {
|
|
905
|
-
return (e) => {
|
|
906
|
-
const { state: t } = e;
|
|
907
|
-
return { unitValueToPixelsRatio: vs(t.spatialReference) / Ms[s.valueUnit] / t.resolution };
|
|
908
|
-
};
|
|
909
|
-
}
|
|
910
|
-
function Ht(s, e) {
|
|
911
|
-
const t = e.length;
|
|
912
|
-
if (s < e[0].value || t === 1)
|
|
913
|
-
return e[0].size;
|
|
914
|
-
for (let i = 1; i < t; i++)
|
|
915
|
-
if (s < e[i].value) {
|
|
916
|
-
const r = (s - e[i - 1].value) / (e[i].value - e[i - 1].value);
|
|
917
|
-
return e[i - 1].size + r * (e[i].size - e[i - 1].size);
|
|
918
|
-
}
|
|
919
|
-
return e[t - 1].size;
|
|
920
|
-
}
|
|
921
|
-
function Sr(s) {
|
|
922
|
-
const { minDataValue: e, maxDataValue: t, minSize: i, maxSize: r } = s;
|
|
923
|
-
if (typeof i == "object" && typeof r == "object")
|
|
924
|
-
return (a, o) => {
|
|
925
|
-
const l = a.state.scale, u = we(Ht(l, i.stops)), p = we(Ht(l, r.stops));
|
|
926
|
-
return { minMaxValueAndSize: [e, t, u, p] };
|
|
927
|
-
};
|
|
928
|
-
if (typeof i == "object" || typeof r == "object")
|
|
929
|
-
throw new Error("InternalError: Found a partial VisualVariableSizeMinMaxValue");
|
|
930
|
-
return { minMaxValueAndSize: [e, t, we(i), we(r)] };
|
|
931
|
-
}
|
|
932
|
-
const xt = { visualVariableColor: null, visualVariableOpacity: null, visualVariableRotation: null, visualVariableSizeStops: null, visualVariableSizeScaleStops: null, visualVariableSizeOutlineScaleStops: null, visualVariableSizeUnitValue: null, visualVariableSizeMinMaxValue: null };
|
|
933
|
-
function Fi(s, e = br, t = yr) {
|
|
934
|
-
if (s.visualVariableSizeMinMaxValue)
|
|
935
|
-
return s.visualVariableSizeMinMaxValue instanceof Function ? Ee : Math.max(s.visualVariableSizeMinMaxValue.minMaxValueAndSize[3] * t, e);
|
|
936
|
-
if (s.visualVariableSizeScaleStops) {
|
|
937
|
-
if (s.visualVariableSizeScaleStops instanceof Function)
|
|
938
|
-
return Ee;
|
|
939
|
-
const i = s.visualVariableSizeScaleStops.sizes;
|
|
940
|
-
return Math.max(i[i.length - 1] * t, e);
|
|
941
|
-
}
|
|
942
|
-
if (s.visualVariableSizeStops) {
|
|
943
|
-
if (s.visualVariableSizeStops instanceof Function)
|
|
944
|
-
return Ee;
|
|
945
|
-
const i = s.visualVariableSizeStops.sizes;
|
|
946
|
-
return Math.max(i[i.length - 1] * t, e);
|
|
947
|
-
}
|
|
948
|
-
return s.visualVariableSizeUnitValue ? 2 * Ee : 0;
|
|
949
|
-
}
|
|
950
|
-
function Ka(s) {
|
|
951
|
-
const e = { ...xt };
|
|
952
|
-
if (!s || !("visualVariables" in s) || !s.visualVariables)
|
|
953
|
-
return e;
|
|
954
|
-
for (const t of Pi(s.visualVariables))
|
|
955
|
-
switch (t.type) {
|
|
956
|
-
case "color":
|
|
957
|
-
e.visualVariableColor = vr(t);
|
|
958
|
-
break;
|
|
959
|
-
case "opacity":
|
|
960
|
-
e.visualVariableOpacity = gr(t);
|
|
961
|
-
break;
|
|
962
|
-
case "rotation":
|
|
963
|
-
e.visualVariableRotation = xr(t);
|
|
964
|
-
break;
|
|
965
|
-
case "size":
|
|
966
|
-
switch (Vr(t)) {
|
|
967
|
-
case "field-stops":
|
|
968
|
-
e.visualVariableSizeStops = tt(t);
|
|
969
|
-
break;
|
|
970
|
-
case "scale-stops":
|
|
971
|
-
t.target === "outline" ? e.visualVariableSizeOutlineScaleStops = tt(t) : e.visualVariableSizeScaleStops = tt(t);
|
|
972
|
-
break;
|
|
973
|
-
case "min-max":
|
|
974
|
-
e.visualVariableSizeMinMaxValue = Sr(t);
|
|
975
|
-
break;
|
|
976
|
-
case "unit-value":
|
|
977
|
-
e.visualVariableSizeUnitValue = wr(t);
|
|
978
|
-
}
|
|
979
|
-
break;
|
|
980
|
-
default:
|
|
981
|
-
console.error("Unable to handle VV type");
|
|
982
|
-
}
|
|
983
|
-
return e;
|
|
984
|
-
}
|
|
985
|
-
function Vr(s) {
|
|
986
|
-
if (typeof s.minDataValue == "number" && typeof s.maxDataValue == "number" && s.minSize != null && s.maxSize != null)
|
|
987
|
-
return "min-max";
|
|
988
|
-
if ((s.expression && s.expression === "view.scale" || s.valueExpression && s.valueExpression === "$view.scale") && Array.isArray(s.stops))
|
|
989
|
-
return "scale-stops";
|
|
990
|
-
if ((s.field != null || s.expression && s.expression !== "view.scale" || s.valueExpression && s.valueExpression !== "$view.scale") && (Array.isArray(s.stops) || "levels" in s && s.levels))
|
|
991
|
-
return "field-stops";
|
|
992
|
-
if ((s.field != null || s.expression && s.expression !== "view.scale" || s.valueExpression && s.valueExpression !== "$view.scale") && s.valueUnit != null)
|
|
993
|
-
return "unit-value";
|
|
994
|
-
throw new Error("InternalError: Found unknown sizeVV type");
|
|
995
|
-
}
|
|
996
|
-
function _r(s) {
|
|
997
|
-
return !!(s.visualVariableSizeMinMaxValue || s.visualVariableSizeScaleStops || s.visualVariableSizeStops || s.visualVariableSizeUnitValue || s.visualVariableSizeOutlineScaleStops);
|
|
998
|
-
}
|
|
999
|
-
function Za(s) {
|
|
1000
|
-
return !!s.visualVariableRotation;
|
|
1001
|
-
}
|
|
1002
|
-
function zr(s) {
|
|
1003
|
-
return s.minScale || s.maxScale ? { minScale: s.minScale ?? 0, maxScale: s.maxScale ?? 0 } : null;
|
|
1004
|
-
}
|
|
1005
|
-
function Y(s) {
|
|
1006
|
-
if (s == null)
|
|
1007
|
-
return null;
|
|
1008
|
-
if (Array.isArray(s)) {
|
|
1009
|
-
const [e, t, i, r] = s;
|
|
1010
|
-
return [e, t, i, 255 * r];
|
|
1011
|
-
}
|
|
1012
|
-
return typeof s == "string" ? s : { ...s, defaultValue: Y(s == null ? void 0 : s.defaultValue) };
|
|
1013
|
-
}
|
|
1014
|
-
async function Xa(s, e) {
|
|
1015
|
-
const { cimResourceManager: t, cimAnalyzer: i, scaleExpression: r } = e.schemaOptions;
|
|
1016
|
-
await Promise.all(us.fetchResources(s.symbol, t, []));
|
|
1017
|
-
const a = i.analyzeSymbolReference(s, !1), o = { scaleInfo: zr(s), scaleExpression: r }, l = [];
|
|
1018
|
-
for (const u of a)
|
|
1019
|
-
switch (u.type) {
|
|
1020
|
-
case "marker":
|
|
1021
|
-
l.push(...$r(u, e, o));
|
|
1022
|
-
break;
|
|
1023
|
-
case "fill":
|
|
1024
|
-
l.push(...Tr(u, e, o));
|
|
1025
|
-
break;
|
|
1026
|
-
case "line":
|
|
1027
|
-
l.push(...Rr(u, e, o));
|
|
1028
|
-
break;
|
|
1029
|
-
case "text":
|
|
1030
|
-
l.push(...Or(u, e, o));
|
|
1031
|
-
}
|
|
1032
|
-
return l;
|
|
1033
|
-
}
|
|
1034
|
-
function $r(s, e, t) {
|
|
1035
|
-
const { uniforms: i, schemaOptions: r } = e, { store: a } = r, o = s.isOutline ? { ...xt, visualVariableSizeScaleStops: i.visualVariableSizeOutlineScaleStops } : { visualVariableColor: i.visualVariableColor, visualVariableOpacity: i.visualVariableOpacity, visualVariableSizeMinMaxValue: i.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: i.visualVariableSizeScaleStops, visualVariableSizeStops: i.visualVariableSizeStops, visualVariableSizeUnitValue: i.visualVariableSizeUnitValue, visualVariableRotation: i.visualVariableRotation };
|
|
1036
|
-
return Mr(a.ensureInstance(J.marker, { geometry: o }, { zoomRange: !!t.scaleInfo }), s, i, t);
|
|
1037
|
-
}
|
|
1038
|
-
function Mr(s, e, t, { scaleInfo: i, scaleExpression: r }) {
|
|
1039
|
-
const a = _r(t);
|
|
1040
|
-
return [s.createMeshInfo({ params: { size: e.size, scaleX: e.scaleX, anchorX: e.anchorPoint.x, anchorY: e.anchorPoint.y, angle: e.rotation, color: Y(e.color) ?? [0, 0, 0, 0], colorLocked: e.colorLocked, frameHeight: e.frameHeight, widthRatio: e.widthRatio, scaleInfo: i, offsetX: e.offsetX, offsetY: e.offsetY, outlineColor: Y(e.outlineColor) ?? [0, 0, 0, 0], outlineSize: e.outlineWidth, referenceSize: e.referenceSize || ps.CIMVectorMarker.size, rotateClockwise: e.rotateClockwise, scaleFactor: r ?? 1, sizeRatio: e.sizeRatio, alignment: e.alignment, isAbsoluteAnchorPoint: e.isAbsoluteAnchorPoint, scaleSymbolsProportionally: e.scaleSymbolsProportionally, sprite: e.spriteRasterizationParam, hasSizeVV: a, placement: e.markerPlacement, effects: e.effects ? { type: "cim-effect-infos", effectInfos: e.effects } : null, transforms: e.transform, minPixelBuffer: Fi(t) } })];
|
|
1041
|
-
}
|
|
1042
|
-
function Pr(s, e, t) {
|
|
1043
|
-
const { uniforms: i, schemaOptions: r } = e, { store: a } = r;
|
|
1044
|
-
return Fr(a.ensureInstance(J.fill, { geometry: { visualVariableColor: s.colorLocked ? null : i.visualVariableColor, visualVariableOpacity: i.visualVariableOpacity } }, { zoomRange: !!t.scaleInfo }), s, t);
|
|
1045
|
-
}
|
|
1046
|
-
function Fr(s, e, { scaleInfo: t }) {
|
|
1047
|
-
return [s.createMeshInfo({ params: { color: Y(e.color) ?? [0, 0, 0, 0], scaleInfo: t, effects: e.effects ? { type: "cim-effect-infos", effectInfos: e.effects } : null } })];
|
|
1048
|
-
}
|
|
1049
|
-
function Tr(s, e, t) {
|
|
1050
|
-
if (!s.spriteRasterizationParam)
|
|
1051
|
-
return Pr(s, e, t);
|
|
1052
|
-
const { uniforms: i, schemaOptions: r } = e, { store: a } = r;
|
|
1053
|
-
return Ar(a.ensureInstance(J.complexFill, { geometry: { visualVariableColor: s.colorLocked ? null : i.visualVariableColor, visualVariableOpacity: i.visualVariableOpacity } }, { zoomRange: !!t.scaleInfo }), s, i.visualVariableColor != null, t);
|
|
1054
|
-
}
|
|
1055
|
-
function Ar(s, e, t, { scaleInfo: i }) {
|
|
1056
|
-
if (!e.spriteRasterizationParam)
|
|
1057
|
-
throw new Error("InternalError: Sprite should always be defined");
|
|
1058
|
-
const r = !!e.hasUnresolvedReplacementColor && (!t || e.colorLocked), a = e.sampleAlphaOnly && !r, o = e.spriteRasterizationParam;
|
|
1059
|
-
return [s.createMeshInfo({ params: { color: Y(e.color) ?? [0, 0, 0, 0], height: e.height, aspectRatio: e.scaleX, offsetX: e.offsetX, offsetY: e.offsetY, scaleX: 1, scaleY: 1, angle: e.angle, applyRandomOffset: e.applyRandomOffset, sampleAlphaOnly: a, scaleProportionally: o.resource.type === "CIMHatchFill", sprite: o, scaleInfo: i, effects: e.effects ? { type: "cim-effect-infos", effectInfos: e.effects } : null } })];
|
|
1060
|
-
}
|
|
1061
|
-
function Rr(s, e, t) {
|
|
1062
|
-
const { uniforms: i, schemaOptions: r } = e, { store: a } = r, o = s.isOutline ? { ...xt, visualVariableSizeScaleStops: i.visualVariableSizeOutlineScaleStops } : { visualVariableColor: s.colorLocked ? null : i.visualVariableColor, visualVariableOpacity: i.visualVariableOpacity, visualVariableSizeMinMaxValue: i.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: i.visualVariableSizeScaleStops, visualVariableSizeStops: i.visualVariableSizeStops, visualVariableSizeUnitValue: i.visualVariableSizeUnitValue }, l = { geometry: o }, u = !!(o.visualVariableSizeMinMaxValue || o.visualVariableSizeScaleStops || o.visualVariableSizeStops || o.visualVariableSizeUnitValue);
|
|
1063
|
-
return s.spriteRasterizationParam ? Cr(a.ensureInstance(J.texturedLine, l, { zoomRange: !!t.scaleInfo }), s, u, t) : Ir(a.ensureInstance(J.line, l, { zoomRange: !!t.scaleInfo }), s, u, t);
|
|
1064
|
-
}
|
|
1065
|
-
function Ti(s, e, { scaleInfo: t }) {
|
|
1066
|
-
return { params: { color: Y(s.color) ?? [0, 0, 0, 0], width: s.width, referenceWidth: s.referenceWidth, capType: s.cap, joinType: s.join, miterLimit: s.miterLimit, scaleInfo: t, hasSizeVV: e, effects: s.effects ? { type: "cim-effect-infos", effectInfos: s.effects } : null } };
|
|
1067
|
-
}
|
|
1068
|
-
function Ir(s, e, t, i) {
|
|
1069
|
-
if (e.spriteRasterizationParam)
|
|
1070
|
-
throw new Error("InternalError: Sprite should not be defined");
|
|
1071
|
-
return [s.createMeshInfo({ params: Ti(e, t, i).params })];
|
|
1072
|
-
}
|
|
1073
|
-
function Cr(s, e, t, i) {
|
|
1074
|
-
const { spriteRasterizationParam: r, scaleDash: a, sampleAlphaOnly: o } = e;
|
|
1075
|
-
if (!r)
|
|
1076
|
-
throw new Error("InternalError: Sprite should be defined");
|
|
1077
|
-
return [s.createMeshInfo({ params: { ...Ti(e, t, i).params, shouldScaleDash: a ?? !1, shouldSampleAlphaOnly: o, isSDF: r.resource.type !== "CIMPictureStroke", sprite: r } })];
|
|
1078
|
-
}
|
|
1079
|
-
function Or(s, e, t) {
|
|
1080
|
-
const { uniforms: i, schemaOptions: r } = e, { store: a } = r;
|
|
1081
|
-
return Er(a.ensureInstance(J.text, { geometry: { visualVariableColor: s.colorLocked ? null : i.visualVariableColor, visualVariableOpacity: i.visualVariableOpacity, visualVariableRotation: i.visualVariableRotation, visualVariableSizeMinMaxValue: i.visualVariableSizeMinMaxValue, visualVariableSizeScaleStops: i.visualVariableSizeScaleStops, visualVariableSizeStops: i.visualVariableSizeStops, visualVariableSizeUnitValue: i.visualVariableSizeUnitValue } }, { zoomRange: !!t.scaleInfo, referenceSymbol: !1, clipAngle: !1 }), s, i, t);
|
|
1082
|
-
}
|
|
1083
|
-
function Er(s, e, t, { scaleInfo: i, scaleExpression: r }) {
|
|
1084
|
-
return [s.createMeshInfo({ params: { boxBackgroundColor: Y(e.backgroundColor), boxBorderLineColor: Y(e.borderLineColor), boxBorderLineSize: e.borderLineWidth ?? 0, color: Y(e.color) ?? [0, 0, 0, 0], offsetX: e.offsetX, offsetY: e.offsetY, postAngle: e.angle, fontSize: e.size, referenceSize: e.referenceSize, decoration: e.decoration, haloColor: Y(e.outlineColor) ?? [0, 0, 0, 0], haloFontSize: e.outlineSize, lineWidth: e.lineWidth || 512, lineHeightRatio: 1, horizontalAlignment: e.horizontalAlignment ?? "center", verticalAlignment: e.verticalAlignment ?? "baseline", useCIMAngleBehavior: !1, glyphs: e.textRasterizationParam, scaleInfo: i, effects: e.effects ? { type: "cim-effect-infos", effectInfos: e.effects } : null, placement: e.markerPlacement, transforms: e.transform, scaleFactor: r ?? 1, minPixelBuffer: Fi(t), repeatLabel: null, repeatLabelDistance: null, allowOverrun: null, labelPosition: null, isLineLabel: !1 } })];
|
|
1085
|
-
}
|
|
1086
|
-
function Ya(s, e) {
|
|
1087
|
-
return { type: "simple", filters: e, capabilities: { maxTextureSize: vt().maxTextureSize }, bindings: Dr(s) };
|
|
1088
|
-
}
|
|
1089
|
-
function Xe(s) {
|
|
1090
|
-
switch (s) {
|
|
1091
|
-
case "opacity":
|
|
1092
|
-
return Oe.OPACITY;
|
|
1093
|
-
case "color":
|
|
1094
|
-
return Oe.COLOR;
|
|
1095
|
-
case "rotation":
|
|
1096
|
-
return Oe.ROTATION;
|
|
1097
|
-
case "size":
|
|
1098
|
-
return Oe.SIZE;
|
|
1099
|
-
default:
|
|
1100
|
-
return null;
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
function Dr(s) {
|
|
1104
|
-
if (!s)
|
|
1105
|
-
return [];
|
|
1106
|
-
switch (s.type) {
|
|
1107
|
-
case "simple":
|
|
1108
|
-
case "class-breaks":
|
|
1109
|
-
case "unique-value":
|
|
1110
|
-
case "dictionary":
|
|
1111
|
-
return Ai(s);
|
|
1112
|
-
case "dot-density":
|
|
1113
|
-
return Lr(s);
|
|
1114
|
-
case "pie-chart":
|
|
1115
|
-
return Br(s);
|
|
1116
|
-
case "heatmap":
|
|
1117
|
-
return kr(s);
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
function Lr(s) {
|
|
1121
|
-
const e = [];
|
|
1122
|
-
for (const t of s.attributes)
|
|
1123
|
-
e.push({ binding: e.length, expression: t.valueExpression, field: t.field });
|
|
1124
|
-
return e;
|
|
1125
|
-
}
|
|
1126
|
-
function Br(s) {
|
|
1127
|
-
const e = Ai(s);
|
|
1128
|
-
let t = 4;
|
|
1129
|
-
for (const i of s.attributes)
|
|
1130
|
-
e.push({ binding: t++, expression: i.valueExpression, field: i.field });
|
|
1131
|
-
return e;
|
|
1132
|
-
}
|
|
1133
|
-
function kr({ valueExpression: s, field: e }) {
|
|
1134
|
-
return s || e ? [{ binding: 0, expression: s, field: e }] : [];
|
|
1135
|
-
}
|
|
1136
|
-
function Ai(s) {
|
|
1137
|
-
var e;
|
|
1138
|
-
return !("visualVariables" in s) || !((e = s.visualVariables) != null && e.length) ? [] : Pi(s.visualVariables).map((t) => Gr(t)).filter(gs);
|
|
1139
|
-
}
|
|
1140
|
-
function Nr(s) {
|
|
1141
|
-
return s.valueExpression === "$view.scale" ? null : { binding: Xe(s.type), field: s.field, normalizationField: s.normalizationField, expression: s.valueExpression, valueRepresentation: s.valueRepresentation };
|
|
1142
|
-
}
|
|
1143
|
-
function Ur(s) {
|
|
1144
|
-
return { binding: Xe(s.type), field: s.field, normalizationField: s.normalizationField, expression: s.valueExpression };
|
|
1145
|
-
}
|
|
1146
|
-
function Hr(s) {
|
|
1147
|
-
return { binding: Xe(s.type), field: s.field, normalizationField: s.normalizationField, expression: s.valueExpression };
|
|
1148
|
-
}
|
|
1149
|
-
function Wr(s) {
|
|
1150
|
-
return { binding: Xe(s.type), expression: s.valueExpression, field: s.field };
|
|
1151
|
-
}
|
|
1152
|
-
function Gr(s) {
|
|
1153
|
-
switch (s.type) {
|
|
1154
|
-
case "size":
|
|
1155
|
-
return Nr(s);
|
|
1156
|
-
case "color":
|
|
1157
|
-
return Ur(s);
|
|
1158
|
-
case "opacity":
|
|
1159
|
-
return Hr(s);
|
|
1160
|
-
case "rotation":
|
|
1161
|
-
return Wr(s);
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
function it(s) {
|
|
1165
|
-
return s.some((e) => e.globalId);
|
|
1166
|
-
}
|
|
1167
|
-
function Me(s) {
|
|
1168
|
-
return s.filter((e) => !e.error).map((e) => e.objectId ?? e.globalId).filter((e) => e != null);
|
|
1169
|
-
}
|
|
1170
|
-
function Wt(s, e) {
|
|
1171
|
-
const t = new Set(s);
|
|
1172
|
-
for (const i of e.values())
|
|
1173
|
-
t.add(i);
|
|
1174
|
-
return t;
|
|
1175
|
-
}
|
|
1176
|
-
function Gt(s, e) {
|
|
1177
|
-
const t = new Set(s);
|
|
1178
|
-
for (const i of e.values())
|
|
1179
|
-
t.delete(i);
|
|
1180
|
-
return t;
|
|
1181
|
-
}
|
|
1182
|
-
class Qa {
|
|
1183
|
-
constructor(e) {
|
|
1184
|
-
this.updateTracking = new cs({ debugName: "FeatureCommandQueue" }), this._hasGlobalIds = !1, this._queueProcessor = new xs({ concurrency: 1, process: e.process });
|
|
1185
|
-
}
|
|
1186
|
-
destroy() {
|
|
1187
|
-
this.updateTracking.destroy(), this._queueProcessor.destroy(), this.clear();
|
|
1188
|
-
}
|
|
1189
|
-
clear() {
|
|
1190
|
-
this._queueProcessor.clear();
|
|
1191
|
-
}
|
|
1192
|
-
async push(e) {
|
|
1193
|
-
return this.updateTracking.addPromise(this._doPush(e));
|
|
1194
|
-
}
|
|
1195
|
-
async _doPush(e) {
|
|
1196
|
-
const t = this._queueProcessor, i = t.last(), r = [];
|
|
1197
|
-
switch (e.type) {
|
|
1198
|
-
case "update":
|
|
1199
|
-
if ((i == null ? void 0 : i.type) === e.type)
|
|
1200
|
-
return;
|
|
1201
|
-
r.push(t.push(e));
|
|
1202
|
-
break;
|
|
1203
|
-
case "edit": {
|
|
1204
|
-
const a = (i == null ? void 0 : i.type) === "processed-edit" ? i : null;
|
|
1205
|
-
a && t.popLast();
|
|
1206
|
-
const o = this._mergeEdits(a, e);
|
|
1207
|
-
for (const l of o)
|
|
1208
|
-
l && r.push(t.push(l));
|
|
1209
|
-
break;
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
await Promise.all(r);
|
|
1213
|
-
}
|
|
1214
|
-
_mergeEdits(e, t) {
|
|
1215
|
-
const { addedFeatures: i, deletedFeatures: r, updatedFeatures: a } = t.edits;
|
|
1216
|
-
if (this._hasGlobalIds = this._hasGlobalIds || it(i) || it(a) || it(r), this._hasGlobalIds)
|
|
1217
|
-
return [e, { type: "processed-edit", edits: { addOrModified: [...i, ...a], removed: r } }];
|
|
1218
|
-
const o = new Set(Me((e == null ? void 0 : e.edits.addOrModified) ?? [])), l = new Set(Me((e == null ? void 0 : e.edits.removed) ?? [])), u = /* @__PURE__ */ new Set([...Me(i), ...Me(a)]), p = new Set(Me(r));
|
|
1219
|
-
return [{ type: "processed-edit", edits: { addOrModified: Array.from(Wt(Gt(o, p), u)).map((d) => ({ objectId: d })), removed: Array.from(Wt(Gt(l, u), p)).map((d) => ({ objectId: d })) } }];
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
export {
|
|
1223
|
-
Ga as F,
|
|
1224
|
-
Ar as S,
|
|
1225
|
-
qa as T,
|
|
1226
|
-
Ir as a,
|
|
1227
|
-
Qa as b,
|
|
1228
|
-
Ka as c,
|
|
1229
|
-
ur as d,
|
|
1230
|
-
Fi as e,
|
|
1231
|
-
_r as f,
|
|
1232
|
-
Ai as g,
|
|
1233
|
-
J as h,
|
|
1234
|
-
Za as i,
|
|
1235
|
-
ja as m,
|
|
1236
|
-
Xa as n,
|
|
1237
|
-
Fr as p,
|
|
1238
|
-
zr as s,
|
|
1239
|
-
Ya as t,
|
|
1240
|
-
Mr as u,
|
|
1241
|
-
xt as x,
|
|
1242
|
-
Er as y,
|
|
1243
|
-
Cr as z
|
|
1244
|
-
};
|